:root {
  --ink: #17212b;
  --ink-soft: #273541;
  --paper: #f6f3ed;
  --paper-deep: #ece7de;
  --white: #ffffff;
  --gold: #b88b4a;
  --gold-light: #d6bd92;
  --red: #8c2831;
  --text: #28313a;
  --muted: #69747c;
  --line: #d9d3c9;
  --success: #245d45;
  --danger: #8f2f35;
  --shadow: 0 24px 60px rgba(23, 33, 43, 0.12);
  --max: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 2000;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--gold);
  border-radius: 4px;
}
.skip-link:focus { transform: none; }

.loading-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  color: var(--ink);
}
.loading-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.55rem;
}
.noscript-message { margin: 2rem; padding: 1rem; border: 1px solid var(--danger); background: #fff; }

.site-frame { min-height: 100vh; display: flex; flex-direction: column; }
.utility-bar { background: #101820; color: #dce2e6; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.utility-inner, .header-inner, .content-width, .footer-inner { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.utility-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-inner a { color: var(--gold-light); text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(246,243,237,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(23,33,43,.12); }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 56px; height: 56px; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .03em; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.18rem; letter-spacing: .04em; }
.brand-tag { margin-top: .38rem; color: var(--muted); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: .2rem; }
.nav-link { position: relative; padding: .8rem .85rem; text-decoration: none; color: var(--ink); font-size: .84rem; font-weight: 650; letter-spacing: .035em; }
.nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .5rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-register { margin-left: .5rem; border: 1px solid var(--ink); padding-inline: 1rem; }
.nav-register::after { display: none; }
.nav-register:hover { background: var(--ink); color: var(--white); }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem; color: var(--ink); }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 26px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -8px; }
.menu-lines::after { position: absolute; top: 8px; }

main { flex: 1; }
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 83% 28%, rgba(184,139,74,.24), transparent 21rem), linear-gradient(115deg, transparent 0 64%, rgba(255,255,255,.035) 64% 65%, transparent 65%); pointer-events: none; }
.hero-inner {
    position: relative;
    width: min(var(--max), calc(100% - 3rem));
    margin-inline: auto;
    padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}

.hero-kicker, .eyebrow { color: var(--gold-light); text-transform: uppercase; letter-spacing: .17em; font-weight: 700; font-size: .76rem; }
.hero-title {
    max-width: 900px;
    margin: .75rem 0 1rem;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.9rem, 3vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}
.hero-summary {
    max-width: 700px;
    margin: 0;
    color: #dce2e5;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.7;
}
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .78rem 1.15rem; border: 1px solid transparent; text-decoration: none; font-weight: 750; font-size: .82rem; letter-spacing: .055em; text-transform: uppercase; transition: .2s ease; }
.button-primary { background: var(--gold); color: #111820; }
.button-primary:hover { background: #d1ad73; transform: translateY(-1px); }
.button-outline { border-color: rgba(255,255,255,.5); color: var(--white); }
.button-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--ink-soft); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.hero-aside { border-top: 1px solid rgba(255,255,255,.35); padding-top: 1.25rem; }
.hero-aside-label { color: var(--gold-light); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
.hero-aside-value { margin: .45rem 0 1.25rem; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.hero-aside-link { display: inline-flex; gap: .55rem; align-items: center; color: var(--white); font-size: .82rem; font-weight: 700; text-underline-offset: .25rem; }

.page-intro { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.page-intro-inner { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-title { max-width: 900px; margin: .6rem 0 1rem; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: 1.05; letter-spacing: -.035em; }
.page-lede { max-width: 760px; margin: 0; font-size: 1.1rem; color: #4b5760; }

.section { padding: clamp(3.8rem, 8vw, 7rem) 0; }
.section-white { background: var(--white); }
.section-ink { background: var(--ink); color: var(--white); }
.section-grid { display: grid; grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr); gap: clamp(2.4rem, 8vw, 7.5rem); }
.section-label { margin: 0; color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; }
.section-ink .section-label { color: var(--gold-light); }
.section-heading { margin: 0 0 1.5rem; max-width: 830px; color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; }
.section-ink .section-heading { color: var(--white); }
.prose { max-width: 830px; }
.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--red); font-weight: 700; text-underline-offset: .2rem; }
.section-ink .prose a { color: var(--gold-light); }

.status-card { background: var(--white); border-left: 4px solid var(--gold); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.8rem); }
.status-date { display: inline-block; margin-bottom: .8rem; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
.status-card h3 { margin: 0 0 1rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 400; line-height: 1.2; }

.document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.document-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: .2s ease; }
.document-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 38px rgba(23,33,43,.09); }
.document-meta { color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: .68rem; font-weight: 800; }
.document-title { margin: .7rem 0 1rem; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.document-action { color: var(--red); font-weight: 800; font-size: .78rem; letter-spacing: .055em; text-transform: uppercase; }
.document-empty { padding: 1.5rem; border: 1px dashed #b8b0a5; background: rgba(255,255,255,.5); color: var(--muted); }

.callout { padding: clamp(2rem, 5vw, 3.3rem); background: var(--paper-deep); border: 1px solid var(--line); }
.callout h3 { margin: 0 0 .85rem; font-family: var(--serif); color: var(--ink); font-size: 2rem; font-weight: 400; }
.callout p { margin: 0 0 1.4rem; max-width: 730px; }

.counsel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.counsel-card { padding: 1.8rem; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.045); }
.counsel-card h3 { margin: 0 0 .8rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.counsel-card p { margin: 0 0 1rem; color: #d4dadd; }
.counsel-card a { color: var(--gold-light); font-weight: 700; }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .36fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.registration-form { padding: clamp(1.35rem, 4vw, 2.5rem); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.15rem 1.25rem; }
.field { display: grid; gap: .42rem; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { color: var(--ink); font-weight: 760; font-size: .86rem; }
.required-mark { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .72rem .8rem; border: 1px solid #aaa69f; border-radius: 0; background: var(--white); color: var(--text); outline: none; }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184,139,74,.22); }
.field-help { color: var(--muted); font-size: .78rem; }
.choice-group { display: flex; flex-wrap: wrap; gap: .8rem 1.35rem; min-height: 48px; align-items: center; }
.choice { display: inline-flex; align-items: center; gap: .45rem; }
.choice input { width: auto; min-height: auto; accent-color: var(--red); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-consent { margin: 1.5rem 0 1rem; padding: 1rem 1.1rem; background: var(--paper); border-left: 3px solid var(--gold); font-size: .86rem; color: #4e5960; }
.form-status { display: none; margin: 1rem 0; padding: .9rem 1rem; font-weight: 650; }
.form-status.is-visible { display: block; }
.form-status.success { background: #e6f1eb; color: var(--success); border: 1px solid #a8cdb8; }
.form-status.error { background: #f8e9e9; color: var(--danger); border: 1px solid #deb4b7; }
.turnstile-wrap { margin-top: 1.25rem; min-height: 70px; }
.form-submit-row { margin-top: 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: .78rem; }

.sidebar-card { position: sticky; top: 126px; padding: 1.5rem; border-top: 3px solid var(--gold); background: var(--ink); color: var(--white); }
.sidebar-card h2 { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.sidebar-card p { margin: 0 0 .75rem; color: #dce1e4; }
.sidebar-card a { color: var(--gold-light); }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { padding: 1.8rem; background: var(--white); border: 1px solid var(--line); }
.contact-card h2 { margin: 0 0 1rem; color: var(--ink); font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.contact-lines { display: grid; gap: .4rem; }
.contact-lines p { margin: 0; }
.contact-lines a { color: var(--red); font-weight: 700; }

.site-footer { background: #101820; color: #c7ced3; }
.footer-inner { padding: 3.6rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.1fr .7fr .7fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-brand { font-family: var(--serif); color: var(--white); font-size: 1.55rem; }
.footer-copy { max-width: 480px; margin-top: .8rem; color: #aab4ba; font-size: .9rem; }
.footer-heading { margin: 0 0 .8rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; }
.footer-list { display: grid; gap: .48rem; font-size: .88rem; }
.footer-list a { color: #d9dfe2; text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; color: #8f9ba2; font-size: .75rem; }

@media (max-width: 920px) {
  .menu-button { display: block; }
  .main-nav { position: fixed; left: 0; right: 0; top: 130px; display: none; flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(23,33,43,.12); }
  .main-nav.is-open { display: flex; }
  .nav-link { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav-register { margin: .65rem 0 0; border: 1px solid var(--ink); padding: .85rem 1rem; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-aside { max-width: 520px; }
  .section-grid { grid-template-columns: 1fr; gap: 1rem; }
  .form-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .utility-inner, .header-inner, .content-width, .footer-inner, .hero-inner, .page-intro-inner { width: min(100% - 2rem, var(--max)); }
  .utility-inner { min-height: 32px; font-size: .66rem; }
  .utility-hide-mobile { display: none; }
  .header-inner { min-height: 78px; }
  .brand-mark { width: 45px; height: 45px; }
  .brand-name { font-size: 1rem; }
  .brand-tag { display: none; }
  .main-nav { top: 110px; }
  .hero-title { font-size: clamp(2.3rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .document-grid, .counsel-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
