/* The Future of Money — site styles */

/* Self-hosted fonts (SIL Open Font License), latin subset */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/inter-latin.woff2") format("woff2"); }

:root {
  --ink: #0C1A27;
  --ink-2: #1B2C3D;
  --ink-soft: #4A5867;
  --ivory: #F6F4EE;
  --paper: #FFFFFF;
  --stone: #E7E2D7;
  --line: #DCD6C9;
  --jade: #0F6E5C;
  --jade-dark: #0A5546;
  --jade-tint: #E3EFEB;
  --brass: #B08D57;
  --brass-soft: #D9C4A0;
  --brass-text: #86663A; /* brass deep enough for small text on light backgrounds (WCAG AA) */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 1px 2px rgba(12, 26, 39, .06), 0 12px 32px -12px rgba(12, 26, 39, .18);
}

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must win over component display rules (e.g. .form uses display: grid) */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--jade); text-underline-offset: 3px; }
a:hover { color: var(--jade-dark); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--jade); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--brass-soft); }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lead, .hero .lead, .page-hero .lead { color: #C4CCD4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  font: 500 .95rem/1 var(--sans); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--jade); color: #fff; }
.btn-primary:hover { background: var(--jade-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost { border-color: rgba(246, 244, 238, .3); color: var(--ivory); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--jade);
}
.text-link:hover .arrow { transform: translateX(3px); }
.text-link .arrow { transition: transform .2s; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.brand-word .dot { color: var(--jade); }
.brand-word .tld { font-family: var(--sans); font-weight: 500; font-size: 1.08rem; letter-spacing: 0; color: var(--brass); }
.on-dark .brand, .hero .brand, .page-hero .brand { color: var(--ivory); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--jade); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 11px 18px; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink);
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--ivory);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; justify-content: center; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head h2 { margin: 0; }
.section-head .lead { margin: 8px 0 0; }

.bg-paper { background: var(--paper); }
.bg-stone { background: var(--stone); }
.on-dark { background: var(--ink); color: var(--ivory); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--brass-soft); }
.hero .lead { margin: 26px 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { justify-self: end; width: 100%; max-width: 420px; aspect-ratio: 1; }
.hero-art .ring { transform-origin: 50% 50%; animation: spin 90s linear infinite; }
.hero-art .ring-2 { animation-duration: 140s; animation-direction: reverse; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(246, 244, 238, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 244, 238, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-hero { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(64px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: 22px; }
.breadcrumb { font-size: .85rem; color: #9AA6B2; margin-bottom: 28px; }
.breadcrumb a { color: #C4CCD4; text-decoration: none; }
.breadcrumb a:hover { color: var(--ivory); }

/* Pillars (home) */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pillar:hover { border-color: var(--brass-soft); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar-num { font-family: var(--serif); font-size: .95rem; color: var(--brass-text); margin-bottom: 28px; }
.pillar h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.pillar p { color: var(--ink-soft); }
.pillar ul { list-style: none; padding: 0; margin: 12px 0 32px; border-top: 1px solid var(--line); }
.pillar li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .96rem; display: flex; gap: 12px; }
.pillar li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; background: var(--jade); transform: rotate(45deg); }
.pillar .text-link { margin-top: auto; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--paper); padding: clamp(26px, 3vw, 36px); }
.card-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--jade-tint); color: var(--jade); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); font-size: .93rem; }
.card li { margin-bottom: 4px; }

/* Split / feature */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split-sticky { position: sticky; top: 120px; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.on-dark .feature-list li { border-color: rgba(246, 244, 238, .14); }
.feature-list .num { font-family: var(--serif); color: var(--brass-text); font-size: 1.1rem; padding-top: 2px; }
.feature-list h3 { font-size: 1.25rem; margin-bottom: 6px; }
.feature-list p { margin: 0; color: var(--ink-soft); }
.on-dark .feature-list p { color: #AEB8C2; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.audience-item { border-top: 2px solid var(--ink); padding-top: 20px; }
.audience-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.audience-item p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--brass); line-height: 1; margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: 20px; left: 72px; right: 28px; height: 1px; background: rgba(246, 244, 238, .18); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.25rem; }
.step p { color: #AEB8C2; font-size: .96rem; margin: 0; }

/* Hong Kong band */
.hk { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--paper); padding: 26px; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }
.fact span { font-size: .93rem; color: var(--ink-soft); }

/* Regulatory note */
.reg-note {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--jade-tint); border-left: 3px solid var(--jade);
  padding: 22px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem;
}
.reg-note svg { flex: none; width: 22px; height: 22px; color: var(--jade); margin-top: 2px; }
.reg-note p { margin: 0; }

/* CTA band */
.cta-band { background: var(--jade); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(56px, 7vw, 88px) 0; }
.cta-inner h2 { margin: 0; max-width: 20ch; }
.cta-inner p { margin: 10px 0 0; color: #D2E6E0; max-width: 52ch; }
.cta-band .btn-light { background: var(--ivory); color: var(--ink); }
.cta-band .btn-light:hover { background: #fff; color: var(--ink); }

/* Detail service blocks (inner pages) */
.service-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service-block .tag { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); margin-bottom: 14px; display: block; }
.service-block p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checks li { display: flex; gap: 12px; font-size: .96rem; }
.checks li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .62em; background: var(--jade); transform: rotate(45deg); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.value h3 { font-size: 1.4rem; }
.value p { color: var(--ink-soft); margin: 0; }
.value-mark { width: 36px; height: 36px; margin-bottom: 20px; color: var(--jade); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--jade); box-shadow: 0 0 0 3px rgba(15, 110, 92, .15); }
.consent { display: flex; gap: 12px; font-size: .9rem; color: var(--ink-soft); align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--jade); width: 18px; height: 18px; flex: none; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; font-size: .95rem; color: var(--jade-dark); margin: 0; min-height: 1.5em; }

.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-card h3 { font-size: 1.3rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-text); margin-top: 22px; }
.contact-card dd { margin: 6px 0 0; }

/* Prose (privacy etc.) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: #AEB8C2; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 72px 0 56px; }
.footer-top h4 { color: var(--ivory); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 10px; }
.site-footer a { color: #C4CCD4; text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-about p { max-width: 34ch; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(246, 244, 238, .12); padding: 26px 0 36px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; color: #8592A0; }
.footer-bottom p { margin: 0; max-width: 80ch; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art .ring { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .pillars, .split, .hk, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .step:nth-child(2)::after { display: none; }
  .values { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .facts, .checks, .form { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* Photography */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-shade {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(12, 26, 39, .95) 0%, rgba(12, 26, 39, .85) 40%, rgba(12, 26, 39, .35) 100%);
}
.hero-shade-strong { background: linear-gradient(90deg, rgba(12, 26, 39, .95) 0%, rgba(12, 26, 39, .88) 50%, rgba(12, 26, 39, .6) 100%); }
.hero.has-photo .hero-inner { grid-template-columns: minmax(0, 760px); min-height: min(78vh, 760px); }
.page-hero.has-photo .container { min-height: 460px; display: flex; flex-direction: column; justify-content: center; }

.photo-band { margin: 0; position: relative; height: clamp(280px, 42vw, 560px); overflow: hidden; background: var(--ink); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 60px 0 22px; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivory); background: linear-gradient(transparent, rgba(12, 26, 39, .7));
}
.photo-band figcaption span { display: block; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.media-figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 6; background: var(--stone); }
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
.split-media { align-items: center; }

@media (max-width: 900px) {
  .hero-shade, .hero-shade-strong { background: rgba(12, 26, 39, .84); }
  .hero.has-photo .hero-inner { min-height: 0; }
  .page-hero.has-photo .container { min-height: 0; }
  .media-figure { aspect-ratio: 4 / 3; }
}

/* Logo */
.brand img { display: block; height: 34px; width: auto; }
.footer-about .brand img { height: 46px; }
@media (max-width: 640px) {
  .brand img { height: 26px; }
  .footer-about .brand img { height: 38px; }
}

/* Utilities (replace inline styles so the CSP needs no 'unsafe-inline') */
.label-optional { font-weight: 400; }
.hero-actions-spaced { margin-top: 32px; }

/* Form validation */
.field-error { font-size: .86rem; color: #A33A2B; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: .8rem; color: var(--ink-soft); align-self: flex-end; }
.field [aria-invalid="true"] { border-color: #A33A2B; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163, 58, 43, .15); }
.consent + .field-error { grid-column: 1 / -1; margin-top: -10px; }
.on-dark .feature-list .num { color: var(--brass); }

/* Contact form: spam trap and confirmation */
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-sent { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--jade); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.form-sent h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.form-sent p { color: var(--ink-soft); margin: 0; }
.form-sent:focus { outline: none; }
.btn:disabled { opacity: .7; cursor: progress; }
