/* ==========================================================================
   Forrest Robinson, PLLC — site.css
   Atlantic atelier: ivory, dusk coral, sea gold. Cormorant + Figtree.
   No framework. No build step.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/figtree-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --atlantic: #102534;
  --atlantic-2: #1a3a4a;
  --ivory: #f7f1e7;
  --linen: #fbf7f0;
  --sand: #e8dcc8;
  --coral: #c46a4e;
  --coral-deep: #9a4e38;
  --coral-pale: #ecd4c8;
  --gold: #c4a36a;
  --gold-2: #d4b87e;
  --seaglass: #5b8a7d;
  --seaglass-pale: #c9d8d2;
  --muted: #6b6660;

  --bg: var(--ivory);
  --bg-elev: var(--linen);
  --fg: var(--atlantic);
  --fg-soft: var(--muted);
  --accent: var(--gold);
  --accent-strong: #9a7c42;
  --warm: var(--coral);
  --warm-strong: var(--coral-deep);
  --rule: rgba(16, 37, 52, 0.12);
  --rule-strong: rgba(16, 37, 52, 0.28);
  --band-bg: var(--atlantic);
  --band-fg: var(--ivory);
  --band-accent: var(--gold-2);
  --band-rule: rgba(247, 241, 231, 0.14);
  --shadow: 0 1px 0 rgba(16, 37, 52, 0.04), 0 22px 44px -26px rgba(16, 37, 52, 0.38);

  --tint-sand: #efe6d6;
  --tint-coral: #f3e6de;
  --tint-sea: #e6eeea;

  --c-family: var(--coral);
  --c-firm: var(--atlantic-2);
  --c-irs: var(--seaglass);
  --c-family-soft: rgba(196, 106, 78, 0.11);
  --c-firm-soft: rgba(26, 58, 74, 0.10);
  --c-irs-soft: rgba(91, 138, 125, 0.12);

  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --w-max: 1180px;
  --w-prose: 70ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10181d;
    --bg-elev: #162228;
    --fg: #f3eadc;
    --fg-soft: #a8a097;
    --accent: var(--gold-2);
    --accent-strong: #e0c288;
    --warm: #d9795a;
    --warm-strong: #e8957a;
    --rule: rgba(243, 234, 220, 0.12);
    --rule-strong: rgba(243, 234, 220, 0.28);
    --band-bg: #0c1c26;
    --band-fg: #f3eadc;
    --band-accent: var(--gold-2);
    --band-rule: rgba(243, 234, 220, 0.14);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 22px 44px -26px rgba(0, 0, 0, 0.75);
    --tint-sand: #1a1d18;
    --tint-coral: #1f1916;
    --tint-sea: #151c1a;
    --c-family: #d9795a;
    --c-firm: #8fb4c4;
    --c-irs: #7fafa0;
    --c-family-soft: rgba(217, 121, 90, 0.12);
    --c-firm-soft: rgba(143, 180, 196, 0.12);
    --c-irs-soft: rgba(127, 175, 160, 0.12);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--warm); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.15rem); }
h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
::selection { background: var(--coral-pale); color: var(--atlantic); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--atlantic); color: var(--ivory);
  padding: 0.5rem 0.9rem; border-radius: var(--radius); z-index: 100;
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) { body::before { mix-blend-mode: screen; opacity: 0.055; } }
body > * { position: relative; z-index: 1; }

.container { width: min(100% - 2 * var(--gutter), var(--w-max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section, .page-hero { position: relative; isolation: isolate; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section:not(.band):not(.tint) + .section:not(.band):not(.rule-top):not(.tint) { padding-top: 0; }
.rule-top { border-top: 1px solid var(--rule); }

.tint { position: relative; }
.tint--sand { background: var(--tint-sand); }
.tint--coral { background: var(--tint-coral); }
.tint--sea { background: var(--tint-sea); }
.tint .card, .tint .team-card, .tint .insight-card, .tint .contact-card, .tint .faq, .tint .form-card { background: var(--bg-elev); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
.sticky { position: static; }
@media (min-width: 880px) { .sticky { position: sticky; top: 6rem; } }

.eyebrow {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 650;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-strong);
  margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.85; }
.eyebrow--plain::before { display: none; }
.eyebrow--warm { color: var(--warm); }
.eyebrow--sea { color: var(--seaglass); }
.lede { font-size: clamp(1.15rem, 1.8vw, 1.38rem); line-height: 1.5; color: var(--fg); max-width: 62ch; }
.lede--serif { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.soft { color: var(--fg-soft); }
.small { font-size: 0.9rem; }
.measure { max-width: var(--w-prose); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.6rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; font-family: var(--serif); font-size: 1.28rem; letter-spacing: -0.01em; }
.brand-mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border: 1.25px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2.35px var(--bg), inset 0 0 0 3.1px color-mix(in srgb, var(--gold) 45%, transparent);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.05em;
  padding-top: 0.08em;
  text-decoration: none;
}
.brand-mark .f { color: var(--fg); }
.brand-mark .r { color: var(--gold); }
.brand small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); margin-top: 0.14rem; font-weight: 600; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.7rem; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.94rem; color: var(--fg); position: relative; padding-block: 0.3rem; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right 0.3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--accent-strong); }
.nav-cta {
  display: none; text-decoration: none; font-size: 0.82rem; font-weight: 650;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.55rem 0.95rem; border: 1px solid var(--rule-strong); border-radius: 999px;
}
.nav-cta:hover { border-color: var(--fg); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--rule-strong); background: transparent; color: var(--fg); border-radius: var(--radius); cursor: pointer; }
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
.mobile-menu { display: none; border-top: 1px solid var(--rule); padding: 1rem 0 1.5rem; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.mobile-menu a:not(.nav-cta) { display: block; padding: 0.75rem 0; text-decoration: none; font-family: var(--serif); font-size: 1.55rem; border-bottom: 1px solid var(--rule); }
.mobile-menu a[aria-current="page"] { color: var(--accent-strong); }
.mobile-menu .nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1.15rem; padding: 0.7rem 1.15rem;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 650;
  letter-spacing: 0.06em; white-space: nowrap;
}
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.88rem 1.4rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.94rem; font-weight: 650; letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--atlantic); color: var(--ivory); border-color: var(--atlantic); }
.btn-primary:hover { background: var(--atlantic-2); border-color: var(--atlantic-2); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--fg); }
.band .btn-primary { background: var(--gold-2); color: var(--atlantic); border-color: var(--gold-2); }
.band .btn-primary:hover { background: var(--ivory); border-color: var(--ivory); }
.band .btn-ghost { color: var(--band-fg); border-color: var(--band-rule); }
.band .btn-ghost:hover { border-color: var(--band-fg); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; font-weight: 650; font-size: 0.95rem; color: var(--accent-strong); }
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9.6rem) clamp(4rem, 9vw, 7rem);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(110% 80% at 88% 8%, rgba(196, 106, 78, 0.13), transparent 58%),
    radial-gradient(80% 70% at 4% 96%, rgba(91, 138, 125, 0.14), transparent 58%),
    var(--bg);
}
.hero-art {
  position: absolute; inset: -8% -8% -8% 26%; z-index: 0; pointer-events: none; opacity: 0.58;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
}
.hero-art picture, .hero-art img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-color-scheme: dark) {
  .hero { background: radial-gradient(110% 80% at 88% 8%, rgba(217, 121, 90, 0.10), transparent 58%), radial-gradient(80% 70% at 4% 96%, rgba(127, 175, 160, 0.10), transparent 58%), var(--bg); }
  .hero-art { opacity: 0.42; }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 28ch; margin-bottom: 1.25rem; font-size: clamp(2.05rem, 5.6vw, 4.6rem); }
.hero h1 em { font-style: italic; color: var(--warm); }
@media (max-width: 720px) {
  .hero h1 { max-width: none; font-size: clamp(1.85rem, 8vw, 2.45rem); }
}
.hero .lede { margin-top: 0.5rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: 0.85rem; color: var(--fg-soft); }
.hero-meta strong { color: var(--fg); font-weight: 650; }

.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 16ch; }

.card {
  background: var(--bg-elev); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.card h3 { margin: 0; }
.card p { color: var(--fg-soft); }
.card .icon { width: 3rem; height: 3rem; padding: 0.62rem; border-radius: 50%; color: var(--card-c, var(--accent-strong)); background: var(--card-c-soft, transparent); }
.card .icon svg { width: 100%; height: 100%; }
.card .num { font-family: var(--serif); font-size: 0.98rem; color: var(--card-c, var(--accent-strong)); letter-spacing: 0.08em; }
.card .link-arrow { color: var(--card-c, var(--accent-strong)); }
.card-foot { margin-top: auto; padding-top: 0.5rem; }
.card--family { --card-c: var(--c-family); --card-c-soft: var(--c-family-soft); }
.card--firm { --card-c: var(--c-firm); --card-c-soft: var(--c-firm-soft); }
.card--irs { --card-c: var(--c-irs); --card-c-soft: var(--c-irs-soft); }
.card:hover { border-color: color-mix(in srgb, var(--card-c, var(--gold)) 42%, transparent); }

.tag { display: inline-flex; align-items: center; font-size: 0.7rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.62rem; border-radius: 999px; border: 1px solid var(--rule-strong); color: var(--fg-soft); }
.tag--accent { border-color: var(--accent); color: var(--accent-strong); }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--bg-elev); color: var(--fg); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(1.25rem, 3vw, 2rem); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: var(--fg); }
.stat:nth-child(2n) { border-right: 0; }
@media (min-width: 760px) { .stat { border-bottom: 0; } .stat:nth-child(2n) { border-right: 1px solid var(--rule); } .stat:last-child { border-right: 0; } }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.15rem, 4vw, 3.15rem); line-height: 1; letter-spacing: -0.02em; color: var(--fg); }
.stat b sup { font-size: 0.42em; vertical-align: top; color: var(--warm); top: 0.18em; position: relative; }
.stat span { display: block; margin-top: 0.6rem; font-size: 0.88rem; color: var(--fg-soft); }

.band { background: var(--band-bg); color: var(--band-fg); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--band-accent); }
.band .lede, .band .prose p:not(.soft), .band .prose li { color: var(--band-fg); }
.band .soft, .band .card p { color: color-mix(in srgb, var(--band-fg) 72%, transparent); }
.band .card { background: rgba(255, 255, 255, 0.035); border-color: var(--band-rule); box-shadow: none; }
.band a { text-decoration-color: var(--band-accent); }
.band .link-arrow { color: var(--band-accent); }
.band .pull em, .band h1 em, .band h2 em { color: var(--band-accent); }
.band .stats { color: var(--fg); }
.band .stat b { color: var(--fg); }
.band .stat span { color: var(--fg-soft); }
.band-art { position: absolute; inset: -10% -5%; opacity: 0.13; pointer-events: none; }
.band-art picture, .band-art img { width: 100%; height: 100%; object-fit: cover; }
.band--coral { --band-bg: #6e3829; --band-accent: var(--coral-pale); }
.band--sea { --band-bg: #2c4a44; --band-accent: var(--seaglass-pale); }
@media (prefers-color-scheme: dark) {
  .band--coral { --band-bg: #3a2119; }
  .band--sea { --band-bg: #1a2c28; }
}

.list-rule { list-style: none; padding: 0; margin: 0; }
.list-rule li { padding: 1.25rem 0; border-top: 1px solid var(--rule); display: grid; gap: 0.35rem 1.5rem; }
.list-rule li:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .list-rule li { grid-template-columns: 13rem 1fr; } }
.list-rule .k { font-family: var(--serif); font-size: 1.2rem; }
.list-rule .v { color: var(--fg-soft); }

.menu { list-style: none; margin: 0; padding: 0; }
.menu li { border-top: 1px solid var(--rule); }
.menu li:last-child { border-bottom: 1px solid var(--rule); }
.menu a {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1.35rem 0; text-decoration: none;
}
.menu .n { font-family: var(--serif); color: var(--warm); font-size: 1.05rem; }
.menu h3 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.menu p { margin: 0.35rem 0 0; color: var(--fg-soft); font-size: 0.95rem; grid-column: 2; }
.menu .go { color: var(--accent-strong); font-size: 0.85rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.menu a:hover h3 { color: var(--warm); }

.team-card {
  background: var(--bg-elev); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem); box-shadow: var(--shadow);
  display: grid; gap: 1.25rem; text-decoration: none;
}
.team-card:hover { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.medal {
  width: 4.6rem; height: 4.6rem; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--serif); font-size: 1.7rem; letter-spacing: -0.02em;
  color: var(--ivory); background: var(--atlantic);
  box-shadow: 0 0 0 4px var(--bg-elev), 0 0 0 5.5px var(--gold);
}
.medal img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.team-card h3 { margin: 0 0 0.2rem; }
.team-card .role { color: var(--warm); font-size: 0.86rem; font-weight: 650; letter-spacing: 0.04em; }
.team-card p { color: var(--fg-soft); }

.portrait {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow);
  aspect-ratio: 5 / 6; display: grid; place-items: center; padding: 12%;
  background: var(--tint-sand) url("../img/tides-dusk.svg") center / cover no-repeat;
  position: relative;
}
.portrait::before { content: ""; position: absolute; inset: 0; background: var(--tint-sand); opacity: 0.5; }
.portrait .medal, .medal--lg {
  position: relative; width: min(11.5rem, 72%); height: auto; aspect-ratio: 1;
  font-size: 3rem; box-shadow: 0 0 0 6px var(--tint-sand), 0 0 0 7.5px var(--gold);
}

.insight-card {
  display: grid; gap: 0.85rem; padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-elev);
  box-shadow: var(--shadow); text-decoration: none;
}
.insight-card:hover { border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.insight-card time { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); font-weight: 650; }
.insight-card h3 { margin: 0; }
.insight-card p { color: var(--fg-soft); margin: 0; }

.faq { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-elev); overflow: hidden; }
.faq + .faq { margin-top: 0.7rem; }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 1.3rem;
  font-family: var(--serif); font-size: 1.28rem; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 1.3rem 1.25rem; color: var(--fg-soft); margin: 0; }

.prose { max-width: var(--w-prose); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.25rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--fg); }
.prose li { margin-bottom: 0.4em; }
.prose .meta { color: var(--fg-soft); font-size: 0.9rem; }
.notice { border-left: 2px solid var(--warm); padding: 0.75rem 1.1rem; background: color-mix(in srgb, var(--warm) 8%, transparent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.92rem; color: var(--fg-soft); }
.notice strong { color: var(--fg); }

.pull { font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 24ch; text-wrap: balance; }
.pull em { font-style: italic; color: var(--warm); }
.pull-by { margin-top: 1.5rem; font-family: var(--sans); font-style: normal; font-size: 0.9rem; color: var(--fg-soft); display: flex; align-items: center; gap: 0.75rem; }
.pull-by::before { content: ""; width: 1.75rem; height: 1px; background: var(--warm); }

.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-elev); box-shadow: var(--shadow); display: grid; gap: 0.75rem; align-content: start; position: relative; }
.contact-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--card-c, var(--gold)); border-radius: var(--radius) 0 0 var(--radius); }
.contact-card h3 { margin: 0; }
.contact-card p { color: var(--fg-soft); font-size: 0.95rem; }
.email { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.55rem); letter-spacing: -0.01em; text-decoration: none; border-bottom: 1px solid var(--warm); display: inline-block; line-height: 1.2; word-break: break-all; }
.email:hover { border-color: currentColor; }
.phone { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.8rem); text-decoration: none; letter-spacing: -0.02em; }

.form-card { padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--bg-elev); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 0.4rem; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }
input, textarea, select {
  font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--rule-strong);
  border-radius: var(--radius); padding: 0.75rem 0.85rem; width: 100%; letter-spacing: 0; text-transform: none; font-weight: 400;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

.map-link {
  display: block; margin-top: 1.5rem; padding: 1.2rem 1.3rem;
  border: 1px dashed var(--rule-strong); border-radius: var(--radius); text-decoration: none;
}
.map-link:hover { border-color: var(--gold); }
.map-link strong { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; margin-bottom: 0.25rem; }

.cta { text-align: left; }
.cta h2 { max-width: 18ch; }
.cta .actions { margin-top: 2.25rem; }

.site-footer { border-top: 1px solid var(--rule); padding: 3.5rem 0 2.5rem; font-size: 0.9rem; color: var(--fg-soft); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer h4 { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; color: var(--fg); font-family: var(--serif); font-size: 1.2rem; text-decoration: none; margin-bottom: 1rem; }
.site-footer .footer-brand:hover { color: var(--fg); text-decoration: none; }
.footer-brand .brand-mark { width: 2.5rem; height: 2.5rem; font-size: 1.22rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); display: grid; gap: 1rem; font-size: 0.8rem; }
@media (min-width: 820px) { .footer-bottom { grid-template-columns: 1fr auto; align-items: start; } }
.disclaimer { max-width: 82ch; line-height: 1.55; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn svg, .link-arrow svg, .nav-links a::after { transition: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound .big { font-family: var(--serif); font-size: clamp(5rem, 18vw, 12rem); line-height: 0.9; color: var(--accent-strong); letter-spacing: -0.04em; }

@media print {
  .site-header, .site-footer .footer-grid, .nav-toggle, .hero-art, body::before { display: none !important; }
  body { background: #fff; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
