:root {
  --orange: #E8650A;
  --orange-dark: #B94E05;
  --ink: #0b0b0b;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --paper-2: #f6f3ef;
  --text: #1b1b1b;
  --muted: #5f5a55;
  --line: #e6e0d9;
  --radius: 10px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--text); background: var(--paper); }
img, svg { max-width: 100%; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { overflow-wrap: anywhere; font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 30px; color: var(--orange); flex: none; }
.site-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; }
.site-header nav a { color: #ddd; text-decoration: none; font-weight: 500; font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: #fff; }
.site-header nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--orange); }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hero .lead { color: #cfcac4; }
.hero-raven { width: 100%; max-width: 380px; justify-self: center; color: var(--orange); }
.eyebrow { letter-spacing: .06em; font-size: .78rem; font-weight: 600; color: var(--orange); margin-bottom: .8em; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: 1.2rem; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Buttons */
.btn { display: inline-block; max-width: 100%; overflow-wrap: anywhere; text-align: center; background: var(--orange); color: #111; font-weight: 600; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--orange); cursor: pointer; font: 600 1rem var(--sans); }
.btn:hover { background: #ff7a1f; border-color: #ff7a1f; color: #111; }
.btn.ghost { background: transparent; color: #fff; border-color: #555; }
.btn.ghost:hover { border-color: var(--orange); color: #fff; }

/* Sections */
.page-head { background: var(--ink); color: #fff; padding: 48px 0 44px; border-bottom: 4px solid var(--orange); }
.page-head .lead { color: #cfcac4; margin-bottom: 0; }
.page-head .btn { margin-top: 1em; }
.section { padding-top: 56px; padding-bottom: 72px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }

/* Cards */
.cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { overflow-wrap: anywhere; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; border-top: 4px solid var(--orange); }
.card h2, .card h3, .card h4 { margin: 0 0 .5em; font-family: var(--serif); font-size: 1.3rem; }
.card h2 a, .card h3 a, .card h4 a { color: var(--text); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover, .card h4 a:hover { color: var(--orange-dark); }

/* Card groups */
.group-title { margin: 40px 0 0; font-size: 1.4rem; font-family: var(--serif); }
.group-title:first-of-type { margin-top: 24px; }
.card { position: relative; display: flex; flex-direction: column; padding-bottom: 18px; }
.card p { margin-bottom: .8em; }
.card-links { margin-top: auto; margin-bottom: 0 !important; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.card.is-soon { border-top-color: #b9b1a8; background: #faf8f5; }
.card-raven { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; }
.card h2, .card h3, .card h4, .card > p:first-of-type { padding-right: 30px; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-dark); background: #fdeee2; border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

/* Form */
.form { display: grid; gap: 18px; max-width: 620px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { font: 400 1rem var(--sans); padding: 12px 14px; border: 1px solid #cfc8c0; border-radius: 8px; background: #fff; color: var(--text); width: 100%; }
.form input:focus, .form textarea:focus { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 8px; padding: 14px 18px; margin-bottom: 22px; max-width: 620px; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice.ok { background: #eef7ee; border: 1px solid #b9dcb9; }
.notice.err { background: #fdf0ec; border: 1px solid #efc0b0; }

/* Footer */
.site-footer { background: var(--ink); color: #ddd; padding: 36px 0 20px; }
.site-footer .muted { color: #9a948d; margin: 8px 0 0; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #2a2a2a; margin-bottom: 16px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: #ddd; text-decoration: none; }
.foot-links a:hover { color: var(--orange); }

@media (max-width: 720px) {
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-raven { max-width: 200px; order: -1; justify-self: start; }
  .bar { justify-content: center; }
  .section { padding-top: 40px; padding-bottom: 52px; }
}
