/* ============================================================
   ITKIN LAW — design system
   Navy #122F4F · Gold #B09151 · Ivory #F5F1E8
   Display: Marcellus · Body: Onest · Accent italic: Newsreader
   ============================================================ */

:root {
  --navy-950: #071527;
  --navy-900: #0B1F35;
  --navy-800: #122F4F;   /* brand */
  --navy-700: #1B3C60;
  --navy-600: #29537F;
  --gold-300: #D9BE85;
  --gold-400: #C9AA6B;
  --gold-500: #B09151;   /* brand */
  --gold-600: #8F7440;
  --ivory: #F5F1E8;
  --ivory-dim: #E7E0D0;
  --ink: #16202C;
  --ink-soft: #455364;
  --line-gold: rgba(176, 145, 81, 0.35);
  --line-ivory: rgba(245, 241, 232, 0.14);

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Onest", "Helvetica Neue", sans-serif;
  --font-accent: "Newsreader", Georgia, serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--navy-900); }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ivory-dim);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--gold-500); color: var(--navy-950); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ivory); line-height: 1.12; }
.light h1, .light h2, .light h3, .light h4 { color: var(--navy-800); }

.display-xl { font-size: clamp(2.3rem, 4.6vw, 3.9rem); letter-spacing: 0.01em; }
.display-lg { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
.display-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-400);
}
.eyebrow::before { content: ""; width: 3rem; height: 1px; background: var(--gold-500); }

.lede {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ivory-dim);
}
.light .lede { color: var(--ink-soft); }

/* ---------- layout ---------- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.container--wide { width: min(1400px, 94vw); margin-inline: auto; }
section { position: relative; }
.section-pad { padding: clamp(5rem, 10vw, 8.5rem) 0; }

.light { background: var(--ivory); color: var(--ink-soft); }
.light ::selection { background: var(--navy-800); color: var(--ivory); }

/* roman numeral section index */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2.5rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-500);
  opacity: 0.85;
}
.sec-head .sec-title { max-width: 18ch; }
.sec-head .sec-sub { grid-column: 2; max-width: 58ch; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--gold-500);
  color: var(--navy-950); background: var(--gold-500);
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  overflow: hidden;
}
.btn:hover { background: var(--gold-300); border-color: var(--gold-300); transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(176,145,81,0.55); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line-ivory); }
.btn--ghost:hover { background: rgba(245,241,232,0.06); border-color: var(--gold-400); color: var(--gold-300); box-shadow: none; }
.light .btn--ghost { color: var(--navy-800); border-color: rgba(18,47,79,0.3); }
.light .btn--ghost:hover { background: rgba(18,47,79,0.05); }
.btn .arr { transition: transform 0.35s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-400); padding-bottom: 0.3rem;
  background: linear-gradient(currentColor, currentColor) bottom left / 0% 1px no-repeat;
  transition: background-size 0.4s var(--ease-out);
}
.text-link:hover { background-size: 100% 1px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}
.site-header.scrolled {
  height: 68px;
  background: rgba(7, 21, 39, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-ivory);
}
.site-header .container--wide { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.9rem; }
.brand img { height: 54px; width: auto; transition: height 0.4s ease; }
.site-header.scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ivory-dim);
  padding: 0.4rem 0;
  background: linear-gradient(var(--gold-400), var(--gold-400)) bottom left / 0% 1px no-repeat;
  transition: color 0.3s, background-size 0.4s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-300); background-size: 100% 1px; }
.nav a.btn { padding: 0.75rem 1.5rem; background: var(--gold-500); color: var(--navy-950); }
.nav a.btn:hover { background: var(--gold-300); border-color: var(--gold-300); }

.nav-toggle { display: none; z-index: 130; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ivory);
  transition: transform 0.35s var(--ease-out), opacity 0.3s, top 0.35s var(--ease-out);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.nav-practices { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: flex-start; align-items: center; gap: 1.15rem;
    padding: calc(var(--header-h) + 0.5rem) 1.6rem 3rem;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
  }
  .nav > a { font-size: 1.05rem; flex-shrink: 0; }
  .nav .btn { margin-top: 0.4rem; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }

  /* all practice areas inside the mobile menu */
  .nav-practices {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.6rem;
    width: min(30rem, 100%); flex-shrink: 0;
    padding: 1.15rem 0 0.35rem; margin-top: 0.35rem;
    border-top: 1px solid var(--line-ivory);
    text-align: left;
  }
  .nav-practices-label {
    grid-column: 1 / -1;
    font-size: 0.62rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold-400); margin-bottom: 0.35rem;
  }
  .nav .nav-practices a {
    font-size: 0.82rem; letter-spacing: 0.08em; text-transform: none;
    color: rgba(231,224,208,0.78); padding: 0.32rem 0;
  }
  .nav .nav-practices a:hover { color: var(--gold-300); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 4rem) 0 clamp(4rem, 9vh, 7rem);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(75deg, rgba(7,21,39,0.94) 0%, rgba(7,21,39,0.72) 42%, rgba(7,21,39,0.25) 75%, rgba(7,21,39,0.45) 100%),
    linear-gradient(to top, rgba(7,21,39,0.9), transparent 45%);
}
.hero .container--wide { display: grid; gap: 2.5rem; }
.hero-kicker { display: flex; align-items: center; gap: 1rem; color: var(--gold-400); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; }
.hero-kicker::before { content: ""; width: 3.4rem; height: 1px; background: var(--gold-500); }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold-300); }
.hero .lede { max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  padding-top: 2.2rem; border-top: 1px solid var(--line-ivory);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(231,224,208,0.62);
}
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: 0.02em; color: var(--gold-300); }

.scroll-cue {
  position: absolute; right: 4vw; bottom: 2.4rem;
  writing-mode: vertical-rl; font-size: 0.68rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(231,224,208,0.5); display: flex; align-items: center; gap: 0.9rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 3.4rem; background: linear-gradient(var(--gold-500), transparent); animation: cueDrop 2.2s var(--ease-out) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* hero entrance */
.hero [data-hero] { opacity: 0; transform: translateY(28px); }
.loaded .hero [data-hero] { animation: heroUp 1.1s var(--ease-out) forwards; }
.loaded .hero [data-hero="1"] { animation-delay: 0.15s; }
.loaded .hero [data-hero="2"] { animation-delay: 0.3s; }
.loaded .hero [data-hero="3"] { animation-delay: 0.48s; }
.loaded .hero [data-hero="4"] { animation-delay: 0.64s; }
.loaded .hero [data-hero="5"] { animation-delay: 0.82s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.loaded .hero-media img { animation: heroZoom 2.4s var(--ease-out) forwards; }
@keyframes heroZoom { from { transform: scale(1.16); } to { transform: scale(1.08); } }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line-gold);
  background: var(--navy-950);
  padding: 1.1rem 0;
}
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track a {
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(231,224,208,0.55); white-space: nowrap; display: flex; align-items: center; gap: 3.5rem;
  transition: color 0.3s;
}
.marquee-track a:hover { color: var(--gold-300); }
.marquee-track a::after { content: "✦"; color: var(--gold-500); font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- practice area cards ---------- */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 1000px) { .pa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pa-grid { grid-template-columns: 1fr; } }

.pa-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 380px; padding: 1.8rem; overflow: hidden;
  background: var(--navy-800);
  border: 1px solid rgba(18,47,79,0.0);
  isolation: isolate;
}
.pa-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), filter 0.9s var(--ease-out); filter: saturate(0.85); }
.pa-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(7,21,39,0.95) 12%, rgba(7,21,39,0.35) 55%, rgba(7,21,39,0.15));
  transition: background 0.5s;
}
.pa-card:hover img { transform: scale(1.06); filter: saturate(1); }
.pa-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.pa-card:hover h3 { color: var(--gold-300); }
.pa-card p { font-size: 0.95rem; line-height: 1.6; color: rgba(231,224,208,0.78); max-width: 34ch; }
.pa-card .pa-idx {
  position: absolute; top: 1.4rem; left: 1.8rem;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.2em; color: var(--gold-400);
}
.pa-card .pa-more { margin-top: 1.1rem; }
.pa-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.pa-card:hover::after { transform: scaleX(1); }

/* ---------- split feature (about teaser) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; }
.split-media::after {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: -1;
  border: 1px solid var(--line-gold);
}
.split-media .badge {
  position: absolute; right: -1rem; bottom: -1rem;
  background: var(--navy-800); border: 1px solid var(--line-gold);
  padding: 1.2rem 1.5rem; text-align: center;
}
.light .split-media .badge { background: var(--navy-800); }
.split-media .badge strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-300); line-height: 1; }
.split-media .badge small { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(231,224,208,0.7); }

.checklist { display: grid; gap: 0.9rem; margin-top: 1.8rem; }
.checklist li { display: flex; gap: 0.9rem; align-items: baseline; }
.checklist li::before { content: "—"; color: var(--gold-500); flex-shrink: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--navy-900); border-block: 1px solid var(--line-gold); }
.stat + .stat { box-shadow: -1px 0 0 var(--line-gold); }
.stat { background: var(--navy-900); padding: 2.6rem 2rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--gold-300); line-height: 1.05; }
.stat strong span { font: inherit; color: inherit; letter-spacing: inherit; }
.stat > span { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(231,224,208,0.6); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3.5vw, 3rem); counter-reset: step; }
@media (max-width: 800px) { .process { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1.6rem; border-top: 1px solid rgba(18,47,79,0.22); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -0.85rem; left: 0; padding-right: 1rem; background: var(--ivory);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-600);
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.98rem; }

/* ---------- quote ---------- */
.quote { max-width: 860px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--font-accent); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.5; color: var(--ivory);
}
.quote blockquote::before { content: "“"; display: block; font-size: 4.5rem; line-height: 0.6; color: var(--gold-500); margin-bottom: 1.4rem; }
.quote cite { display: block; margin-top: 1.8rem; font-style: normal; font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-400); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid rgba(18,47,79,0.18); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-800);
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-600); }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 2rem; height: 2rem; border: 1px solid var(--line-gold);
  display: grid; place-items: center; font-size: 1.1rem; color: var(--gold-600);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: rgba(176,145,81,0.12); }
.faq .faq-a { padding: 0 0 1.6rem; max-width: 65ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.cta-band .container { display: grid; gap: 1.6rem; justify-items: center; }
.cta-band h2 { max-width: 20ch; text-wrap: balance; }
.cta-band .bg { position: absolute; inset: 0; z-index: -2; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,21,39,0.88); }
.cta-band .sub { max-width: 54ch; }
.cta-phone { font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-300); letter-spacing: 0.04em; }
.cta-phone:hover { color: var(--gold-400); }

/* ---------- page hero (interior) ---------- */
.page-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
}
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(80deg, rgba(7,21,39,0.95) 25%, rgba(7,21,39,0.6)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(231,224,208,0.55); margin-bottom: 1.6rem; }
.breadcrumbs a:hover { color: var(--gold-300); }
.breadcrumbs .sep { color: var(--gold-500); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { max-width: 56ch; margin-top: 1.4rem; }

/* ---------- article / practice detail ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }
.article h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--navy-800); margin: 2.6rem 0 1rem; }
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 1.1rem; }
.article ul { margin: 0 0 1.3rem 1.1rem; }
.article ul li { margin-bottom: 0.45rem; padding-left: 0.4rem; }
.article ul li::marker { content: "— "; color: var(--gold-600); }

.rail { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; display: grid; gap: 1.4rem; }
.rail-card { background: var(--navy-800); padding: 1.9rem; color: var(--ivory-dim); }
.rail-card h3 { font-size: 1.15rem; margin-bottom: 0.7rem; }
.rail-card p { font-size: 0.92rem; margin-bottom: 1.3rem; }
.rail-card .btn { width: 100%; justify-content: center; }
.rail-nav { border: 1px solid rgba(18,47,79,0.18); padding: 1.6rem 1.9rem; }
.rail-nav h4 { font-size: 0.76rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.rail-nav a { display: block; padding: 0.5rem 0; font-size: 0.95rem; color: var(--ink-soft); border-bottom: 1px solid rgba(18,47,79,0.09); transition: color 0.25s, padding-left 0.3s var(--ease-out); }
.rail-nav a:hover { color: var(--gold-600); padding-left: 0.4rem; }
.rail-nav a[aria-current="page"] { color: var(--navy-800); font-weight: 600; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.9rem; align-content: start; }
.contact-line { display: grid; gap: 0.25rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(18,47,79,0.14); }
.contact-line small { font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-600); }
.contact-line a, .contact-line span { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-800); }
.contact-line a:hover { color: var(--gold-600); }

.form { display: grid; gap: 1.2rem; background: var(--navy-800); padding: clamp(1.8rem, 4vw, 2.8rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-400); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem;
  background: rgba(245,241,232,0.05); border: 1px solid var(--line-ivory);
  color: var(--ivory); font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s, background 0.3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-400) 50%), linear-gradient(135deg, var(--gold-400) 50%, transparent 50%); background-position: calc(100% - 1.3rem) 1.35rem, calc(100% - 1rem) 1.35rem; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: rgba(245,241,232,0.09); }
.form .fine { font-size: 0.8rem; color: rgba(231,224,208,0.55); line-height: 1.6; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- insights / blog ---------- */
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .post-grid, .post-grid--3 { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1.8rem 1.9rem;
  background: #fff; border: 1px solid rgba(18,47,79,0.12);
  transition: border-color 0.3s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.post-card:hover { border-color: var(--gold-500); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(18,47,79,0.35); }
.post-cat { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-600); }
.post-card h2 { font-size: 1.25rem; color: var(--navy-800); line-height: 1.25; transition: color 0.3s; }
.post-card:hover h2 { color: var(--gold-600); }
.post-card p { font-size: 0.92rem; line-height: 1.6; }
.post-meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.74rem; letter-spacing: 0.08em; color: rgba(69,83,100,0.75); }
.post-body .lede-p { font-family: var(--font-accent); font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.5rem; }
.post-body .disclaimer { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(18,47,79,0.14); font-size: 0.82rem; color: rgba(69,83,100,0.8); }
.post-body a { color: var(--gold-600); text-decoration: underline; text-decoration-color: rgba(176,145,81,0.4); text-underline-offset: 3px; }
.post-body a:hover { color: var(--navy-800); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line-gold); padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.8rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 0.68rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1.1rem; }
.site-footer a { font-size: 0.88rem; color: rgba(231,224,208,0.72); display: inline-block; padding: 0.28rem 0; transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-300); }
.footer-brand img { height: 52px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; color: rgba(231,224,208,0.6); }
.footer-legal { border-top: 1px solid var(--line-ivory); padding-top: 1.8rem; display: grid; gap: 0.8rem; font-size: 0.78rem; color: rgba(231,224,208,0.45); }
.footer-legal .row2 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ---------- mobile sticky CTA bar ---------- */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  background: rgba(7,21,39,0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-gold);
}
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.mobile-cta a:first-child { color: var(--ivory); border-right: 1px solid var(--line-ivory); }
.mobile-cta a:last-child { background: var(--gold-500); color: var(--navy-950); }
@media (max-width: 760px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 52px; }
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-line { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out), opacity 0.6s; }
.reveal-line.in { clip-path: inset(0 0 0 0); }

/* ---------- misc ---------- */
.gold-rule { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); border: 0; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero [data-hero] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none; }
}
