/* Sophy & Andrew's — site styles
   Palette: deep harbour navy, warm Island ivory, brass hardware accents. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #13263D;
  --navy-2: #0C1A2B;
  --navy-3: #1B3352;
  --ivory: #F7F4EE;
  --stone: #EEE8DD;
  --white: #FFFFFF;
  --ink: #111C29;
  --muted: #5A6472;
  --line: #E1D9CC;
  --line-dark: rgba(247, 244, 238, .14);
  --brass: #C9A05A;
  --brass-soft: #E3C78F;
  --brass-ink: #8A621D;
  --on-dark: #F4EFE6;
  --on-dark-muted: #AEB8C5;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 28, 41, .04), 0 12px 32px -12px rgba(17, 28, 41, .14);
  --shadow-lg: 0 2px 4px rgba(17, 28, 41, .05), 0 32px 64px -24px rgba(12, 26, 43, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* Chinese typography */
html[lang^="zh"] {
  --serif: "Fraunces", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html[lang^="zh"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--on-dark); padding: 10px 16px; border-radius: 6px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px));
}
@media (min-width: 760px) { .wrap { padding-inline: 40px; } }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  color: inherit;
  text-wrap: balance;
  font-variation-settings: "opsz" 96, "SOFT" 30;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.1rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.06; letter-spacing: -0.02em; }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 450; font-variation-settings: "opsz" 36; }
h1 em, h2 em { font-style: italic; font-weight: 350; color: var(--brass-ink); }
html[lang^="zh"] h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.18; letter-spacing: 0.01em; font-weight: 600; }
html[lang^="zh"] h2 { line-height: 1.25; letter-spacing: 0.01em; font-weight: 600; }
html[lang^="zh"] h3 { font-weight: 600; letter-spacing: 0.01em; }
html[lang^="zh"] h1 em, html[lang^="zh"] h2 em { font-style: normal; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 .75rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang^="zh"] .eyebrow { letter-spacing: .14em; font-size: .8rem; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--muted); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-brass { background: var(--brass); color: var(--navy-2); }
.btn-brass:hover { background: var(--brass-soft); box-shadow: 0 10px 30px -10px rgba(201, 160, 90, .7); }
.btn-navy { background: var(--navy); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-3); }
.btn-line { border-color: rgba(244, 239, 230, .35); color: var(--on-dark); }
.btn-line:hover { border-color: var(--on-dark); background: rgba(244, 239, 230, .06); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(17, 28, 41, .35); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand svg { width: 42px; height: 42px; }
.brand-text { display: grid; gap: 4px; }
.brand-text strong { font: 500 1.22rem/1 var(--serif); letter-spacing: -0.005em; font-variation-settings: "opsz" 48; white-space: nowrap; }
.brand-text span { font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
html[lang^="zh"] .brand-text span { letter-spacing: .12em; font-size: .68rem; }
.nav { display: none; margin-left: auto; gap: 30px; }
.nav a { position: relative; text-decoration: none; font: 500 .94rem/1 var(--sans); color: var(--ink); opacity: .78; padding-block: 8px; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang-switch {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font: 600 .82rem/1 var(--sans); color: var(--navy);
  transition: border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--navy); background: var(--white); }
.header-cta { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header-tools { margin-left: 8px; }
  .header-cta { display: inline-flex; }
}
@media (max-width: 400px) { .brand-text span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(201, 160, 90, .12), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(27, 51, 82, .9), transparent 70%),
    var(--navy);
  color: var(--on-dark);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(244, 239, 230, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 230, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 80%);
  mask-image: linear-gradient(105deg, transparent 30%, #000 80%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; padding-block: clamp(64px, 9vw, 128px) clamp(72px, 9vw, 120px); }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.hero .eyebrow { color: var(--brass-soft); }
.hero h1 { margin-top: 26px; }
.hero h1 em { color: var(--brass-soft); }
.hero .lede { color: var(--on-dark-muted); margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; list-style: none; color: var(--on-dark-muted); font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 160, 90, .18); }

.sheet {
  position: relative; width: 100%; max-width: 560px; justify-self: center;
  border: 1px solid rgba(201, 160, 90, .45); border-radius: 4px;
  background: linear-gradient(180deg, rgba(12, 26, 43, .25), rgba(12, 26, 43, .55));
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  padding: 22px 22px 0;
}
.sheet::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(201, 160, 90, .18); border-radius: 2px; pointer-events: none; }
.sheet-drawing { color: var(--brass); }
.sheet-drawing .l1 { stroke: var(--brass-soft); }
.sheet-drawing .l2 { stroke: rgba(227, 199, 143, .45); }
.sheet-drawing .l3 { stroke: rgba(227, 199, 143, .22); }
.sheet-drawing .fill { fill: var(--navy-2); }
.sheet-drawing text { fill: rgba(227, 199, 143, .8); font: 500 10px/1 var(--mono); letter-spacing: .08em; }
.titleblock {
  display: grid; grid-template-columns: 1.4fr 1fr .7fr; margin: 18px -22px 0;
  border-top: 1px solid rgba(201, 160, 90, .45);
  font: 500 .66rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted);
}
.titleblock div { padding: 12px 16px; display: grid; gap: 4px; }
.titleblock div + div { border-left: 1px solid rgba(201, 160, 90, .3); }
.titleblock b { color: var(--on-dark); font-weight: 500; letter-spacing: .06em; }
html[lang^="zh"] .titleblock { letter-spacing: .04em; }

/* ---------- Trust strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--ivory); }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item { padding: 30px 0; display: grid; gap: 6px; }
@media (min-width: 900px) {
  .strip-item { padding: 38px 28px; }
  .strip-item:first-child { padding-left: 0; }
  .strip-item + .strip-item { border-left: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .strip-item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.strip-item strong { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--serif); color: var(--navy); font-variation-settings: "opsz" 72; }
html[lang^="zh"] .strip-item strong { font-weight: 600; }
.strip-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-alt { background: var(--stone); }
.section-dark { background: var(--navy); color: var(--on-dark); }
.section-dark .eyebrow { color: var(--brass-soft); }
.section-dark .lede { color: var(--on-dark-muted); }
.section-dark h2 em { color: var(--brass-soft); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); }
@media (min-width: 960px) {
  .section-head.split-head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
  .section-head.split-head .lede { justify-self: end; }
}
.section-head h2 { margin-top: 2px; }

/* ---------- Services ---------- */
.services { display: grid; gap: 20px; counter-reset: svc; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 30px; min-width: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-num { font: 500 .78rem/1 var(--mono); color: var(--brass-ink); letter-spacing: .1em; }
.service-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line); }
.service-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); font-size: 1rem; }
.service ul { list-style: none; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.service li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: .95rem; line-height: 1.45; }
.service li::before { content: ""; width: 10px; height: 1px; margin-top: .72em; background: var(--brass); }

/* ---------- Audience ---------- */
.audience { display: grid; gap: 20px; }
@media (min-width: 860px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.aud {
  position: relative; overflow: hidden;
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  display: grid; gap: 14px; align-content: start;
}
.aud-tag { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.aud p { color: var(--muted); }
.aud.is-dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.aud.is-dark p { color: var(--on-dark-muted); }
.aud.is-dark .aud-tag { color: var(--brass-soft); }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; position: relative; display: grid; gap: 14px; align-content: start; padding: 34px 0; border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) {
  .step { padding: 40px 32px 0 0; }
  .step + .step { padding-left: 32px; border-left: 1px solid var(--line-dark); }
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font: 300 3.4rem/1 var(--serif); font-variation-settings: "opsz" 144;
  color: transparent; -webkit-text-stroke: 1px var(--brass);
}
.step h3 { color: var(--on-dark); }
.step p { color: var(--on-dark-muted); font-size: 1rem; }

/* ---------- Seasons ---------- */
.seasons { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.season { background: var(--white); padding: 32px 28px; display: grid; gap: 16px; align-content: start; }
.season-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.season-months { font: 500 .72rem/1 var(--mono); letter-spacing: .1em; color: var(--brass-ink); }
.season ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: .97rem; }
.season li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; line-height: 1.45; }
.season li::before { content: "—"; color: var(--brass); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.05fr 1fr; gap: 88px; } }
.about-copy { display: grid; gap: 22px; }
.about-copy h2 { margin-top: 4px; }
.about-copy p { color: var(--muted); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 .88rem/1 var(--sans); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.promise-num { font: 300 2.2rem/1 var(--serif); color: var(--brass-ink); font-variation-settings: "opsz" 144; }
.promise h3 { font-size: 1.3rem; margin-bottom: 8px; }
.promise p { color: var(--muted); font-size: 1rem; }
.facts { margin-top: 10px; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; font-size: .92rem; padding: 22px 24px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); }
.facts dt { font: 600 .7rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }

/* ---------- Area ---------- */
.area-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }
.area-copy { display: grid; gap: 22px; }
.towns { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.towns li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: 500 .92rem/1 var(--sans); }
.towns li.home { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.counties { display: grid; gap: 16px; }
.county { display: grid; gap: 10px; padding: 28px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.county-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.county-head span { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.county p { color: var(--muted); font-size: .97rem; }
.county.is-home { border-color: var(--brass); box-shadow: inset 3px 0 0 var(--brass); }
.county.is-home .county-head span { color: var(--brass-ink); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 88px; } }
.faq-intro { display: grid; gap: 22px; align-content: start; }
@media (min-width: 980px) { .faq-intro { position: sticky; top: 120px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font: 450 1.2rem/1.35 var(--serif); font-variation-settings: "opsz" 36;
}
html[lang^="zh"] .faq summary { font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.5px 11px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--white); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact::before {
  content: ""; position: absolute; right: -200px; top: -200px; width: 640px; height: 640px; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 160, 90, .16), transparent 65%);
}
.contact-grid { display: grid; gap: 56px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 88px; } }
.contact-copy { display: grid; gap: 24px; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 8px; color: var(--on-dark-muted); }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks li::before {
  content: ""; width: 18px; height: 18px; margin-top: .25em; border-radius: 50%; border: 1px solid var(--brass);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23E3C78F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.contact-cards { display: grid; gap: 14px; }
.ccard {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 20px;
  padding: 26px 28px; border-radius: var(--radius); text-decoration: none;
  background: rgba(244, 239, 230, .04); border: 1px solid var(--line-dark);
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
a.ccard:hover { border-color: var(--brass); background: rgba(244, 239, 230, .07); transform: translateY(-2px); }
.ccard span { grid-column: 1; font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); }
.ccard strong { grid-column: 1; font: 400 clamp(1.35rem, 2.6vw, 1.9rem)/1.15 var(--serif); color: var(--on-dark); overflow-wrap: anywhere; font-variation-settings: "opsz" 72; }
.ccard small { grid-column: 1; color: var(--on-dark-muted); font-size: .9rem; }
.ccard .arrow { grid-column: 2; grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.ccard .arrow svg { width: 18px; height: 18px; stroke: var(--on-dark); fill: none; stroke-width: 1.6; }
a.ccard:hover .arrow { background: var(--brass); border-color: var(--brass); }
a.ccard:hover .arrow svg { stroke: var(--navy-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: var(--on-dark-muted); font-size: .92rem; padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 18px; align-content: start; max-width: 380px; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand-text span { color: var(--on-dark-muted); }
.site-footer h4 { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
  background: rgba(12, 26, 43, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; text-decoration: none; font: 600 .88rem/1 var(--sans); color: var(--on-dark); }
.mobile-bar a:first-child { background: var(--brass); color: var(--navy-2); }
.mobile-bar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1080px) { .mobile-bar { display: none; } }
@media (max-width: 1079px) { .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Brand mark */
.mark .mb { fill: currentColor; }
.mark .mr { stroke: var(--brass); }
.mark .mc { fill: var(--brass); }
.mark .mg { fill: var(--ivory); }
.site-footer .mark .mg { fill: var(--navy-2); }
