/* ============ SELF-HOSTED FONTS (GDPR-compliant, no external requests) ============ */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-regular-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-regular-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/instrument-serif-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ TOKENS ============ */
:root {
  --cream: #FAF7F2;
  --cream-deep: #F5F1EA;
  --cream-deeper: #EEE8DD;
  --teal: #1A5C5E;
  --teal-soft: #2A7274;
  --terra: #C4654A;
  --ink: #1D1D1B;
  --muted: #6B6862;
  --line: #E4DED1;
  --grey: #C9C4BA;
  --shadow-soft: 0 1px 0 rgba(29,29,27,0.04), 0 8px 24px rgba(29,29,27,0.04);
  --shadow-lift: 0 1px 0 rgba(29,29,27,0.04), 0 18px 40px rgba(29,29,27,0.08);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 72px;
  --safe-t: env(safe-area-inset-top);
  --safe-b: env(safe-area-inset-bottom);
  --safe-l: env(safe-area-inset-left);
  --safe-r: env(safe-area-inset-right);
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-left: var(--safe-l);
  padding-right: var(--safe-r);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea, button { font-family: inherit; }
::selection { background: var(--teal); color: var(--cream); }

/* ============ GRAIN OVERLAY ============ */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ TYPOGRAPHY ============ */
.serif { font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.005em; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--terra);
}
h1, h2, h3, h4 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); line-height: 1.05; }
h1 { font-size: clamp(48px, 8.4vw, 120px); }
h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.06; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
p { margin: 0; color: var(--ink); }
.muted { color: var(--muted); }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .container { padding: 0 22px; } }
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 84px 0; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  height: 52px; min-height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 500; font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: var(--teal); color: var(--cream);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 10px 24px rgba(26,92,94,0.18);
}
.btn-primary:hover { background: #154A4C; transform: translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 16px 32px rgba(26,92,94,0.24); }
.btn-primary:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed; transform: none !important; box-shadow: none;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; color: var(--teal);
  padding: 14px 4px;
  min-height: 44px;
  position: relative;
}
.link-arrow .arr { transition: transform .35s var(--ease); }
.link-arrow:hover .arr { transform: translateX(6px); }
.link-arrow::after {
  content: ""; position: absolute; left: 4px; right: 28px; bottom: 10px;
  height: 1px; background: currentColor; opacity: 0; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease), opacity .25s var(--ease);
}
.link-arrow:hover::after { opacity: 1; transform: scaleX(1); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 28px;
  padding-top: calc(18px + var(--safe-t));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  box-shadow: 0 1px 0 rgba(29,29,27,0.04), 0 12px 30px rgba(29,29,27,0.05);
  border-bottom: 1px solid rgba(228, 222, 209, 0.6);
  background: rgba(250, 247, 242, 0.88);
}
.nav .logo { display: inline-flex; align-items: center; height: 28px; }
.nav .logo svg { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  position: relative; padding: 12px 2px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 8px;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative;
  z-index: 110;
}
.hamburger span {
  position: absolute;
  width: 22px; height: 1.4px; background: var(--ink);
  transition: transform .4s var(--ease), top .3s var(--ease), opacity .25s var(--ease);
}
.hamburger span:nth-child(1) { top: 17px; }
.hamburger span:nth-child(2) { top: 25px; }
body.menu-open .hamburger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  z-index: 99;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
  padding-top: var(--safe-t); padding-bottom: var(--safe-b);
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobile-menu a {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 48px; line-height: 1.15; color: var(--ink);
  padding: 8px 24px;
  min-height: 44px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
}
.mobile-menu a:hover { color: var(--teal); }
body.menu-open .mobile-menu a {
  opacity: 1; transform: translateY(0);
}
body.menu-open .mobile-menu a:nth-child(1) { transition-delay: .08s; }
body.menu-open .mobile-menu a:nth-child(2) { transition-delay: .16s; }
body.menu-open .mobile-menu a:nth-child(3) { transition-delay: .24s; }
body.menu-open .mobile-menu a:nth-child(4) { transition-delay: .32s; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .accent { color: var(--terra); }
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 44px;
}
.hero-ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-art {
  position: relative;
  height: 480px;
  width: 100%;
}
.hero-art svg.shape {
  position: absolute;
  will-change: transform;
}
.hero-art .s1 { top: 6%; left: 8%; width: 240px; animation: float1 12s var(--ease) infinite; }
.hero-art .s2 { top: 14%; right: 4%; width: 200px; animation: float2 14s var(--ease) infinite; }
.hero-art .s3 { bottom: 6%; left: 18%; width: 260px; animation: float3 16s var(--ease) infinite; }
.hero-art .s4 { bottom: 10%; right: 12%; width: 180px; animation: float1 18s var(--ease) infinite reverse; }
.hero-art .s5 { top: 38%; left: 38%; width: 180px; animation: float2 20s var(--ease) infinite reverse; }

@keyframes float1 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(14px,-18px) rotate(4deg); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(-16px,12px) rotate(-3deg); } }
@keyframes float3 { 0%,100% { transform: translate(0,0) rotate(0); } 50% { transform: translate(10px,-10px) rotate(2deg); } }

@media (max-width: 980px) {
  .hero { padding-top: calc(var(--nav-h) + 30px); }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-art {
    position: absolute; inset: 0;
    z-index: 0; opacity: 0.55;
    height: 100%;
  }
  .hero-content { position: relative; z-index: 1; }
  .hero-art .s1 { top: 4%; left: -8%; width: 200px; }
  .hero-art .s2 { top: 8%; right: -12%; width: 180px; }
  .hero-art .s3 { bottom: 8%; left: -6%; width: 200px; }
  .hero-art .s4 { bottom: 14%; right: -10%; width: 160px; }
  .hero-art .s5 { top: 40%; left: 50%; width: 140px; }
}
@media (max-width: 480px) {
  .hero-ctas { gap: 8px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .link-arrow { padding-left: 6px; }
}

/* ============ SECTION HEADER ============ */
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 72px;
}
.section-head h2 { max-width: 12ch; }
@media (max-width: 768px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .45s var(--ease), border-color .35s var(--ease), box-shadow .45s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(26,92,94,0.05), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: var(--shadow-lift); }
.card:hover::after { opacity: 1; }
.card .icon {
  width: 44px; height: 44px;
  color: var(--teal);
  margin-bottom: 12px;
}
.card h3 { font-size: 28px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.55; flex: 1; }
.card .link-arrow { margin-top: 8px; padding-left: 0; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 32px 28px 26px; min-height: 0; }
}

/* ============ APPROACH ============ */
.approach-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.approach-steps::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 1px; background: var(--line);
  z-index: 0;
}
.step { position: relative; padding-top: 0; z-index: 1; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.step.visible { opacity: 1; transform: translateY(0); }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  margin-bottom: 22px;
  position: relative;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.step.visible .step-num { background: var(--teal); color: var(--cream); }
.step h3 { font-size: 28px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }

@media (max-width: 860px) {
  .approach-steps { grid-template-columns: 1fr; gap: 36px; }
  .approach-steps::before {
    top: 26px; bottom: 26px; left: 26px; right: auto;
    width: 1px; height: auto;
  }
  .step { padding-left: 76px; min-height: 52px; }
  .step-num { position: absolute; top: 0; left: 0; margin-bottom: 0; }
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--cream-deep);
  border-left: 4px solid var(--teal);
  padding: 88px 64px;
  border-radius: 0 22px 22px 0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.cta-banner h2 { font-size: clamp(34px, 4.6vw, 58px); }
.cta-banner p { color: var(--muted); margin-top: 16px; max-width: 50ch; }
.cta-banner .btn-wrap { display: flex; justify-content: flex-end; }
@media (max-width: 860px) {
  .cta-banner { padding: 56px 28px; grid-template-columns: 1fr; gap: 28px; border-radius: 0 16px 16px 0; }
  .cta-banner .btn-wrap { justify-content: flex-start; }
}

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact-info p.intro { color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 36px; max-width: 38ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ink); }
.contact-list li .ico { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.contact-list a { transition: color .25s var(--ease); }
.contact-list a:hover { color: var(--teal); }

/* form */
.form { display: flex; flex-direction: column; gap: 28px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 22px 0 10px;
  color: var(--ink);
  font-size: 16px; /* prevent iOS zoom */
  outline: none;
  transition: border-color .3s var(--ease);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236B6862' stroke-width='1.5'><path d='M3 6l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 14px;
  padding-right: 28px;
  color: var(--ink);
}
.field select:invalid { color: var(--muted); }
.field label {
  position: absolute;
  left: 0; top: 22px;
  color: var(--muted);
  font-size: 16px;
  pointer-events: none;
  transition: top .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--teal); }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field.has-value label,
.field.is-focused label {
  top: 2px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal);
}

/* consent checkbox */
.consent {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: var(--muted); line-height: 1.55;
  padding: 4px 0;
  min-height: 44px;
  cursor: pointer;
}
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.consent input[type="checkbox"]:hover { border-color: var(--teal); }
.consent input[type="checkbox"]:checked {
  background: var(--teal); border-color: var(--teal);
}
.consent input[type="checkbox"]:checked::after {
  content: ""; position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid var(--cream);
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg);
}
.consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
.consent a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: #154A4C; }

.form .btn { align-self: flex-start; margin-top: 8px; }
.form-success {
  display: none;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(26,92,94,0.08);
  border: 1px solid rgba(26,92,94,0.18);
  color: var(--teal);
  font-size: 15px;
}
.form.sent .form-row, .form.sent .btn, .form.sent .consent { display: none; }
.form.sent .form-success { display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form .btn { width: 100%; align-self: stretch; }
}

/* ============ LEGAL PAGES ============ */
.legal {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 120px;
}
.legal .container { max-width: 820px; }
.legal h1 {
  font-size: clamp(44px, 6vw, 76px);
  margin-bottom: 14px;
}
.legal .eyebrow { margin-bottom: 28px; }
.legal h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  margin-top: 56px;
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.legal h3 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 36px;
  margin-bottom: 10px;
}
.legal p, .legal address, .legal li {
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.7;
  font-style: normal;
}
.legal p { margin-bottom: 14px; }
.legal address { margin-bottom: 14px; white-space: pre-line; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #154A4C; }
.legal .placeholder {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(196,101,74,0.1);
  border: 1px dashed rgba(196,101,74,0.5);
  border-radius: 4px;
  color: var(--terra);
  font-size: 0.95em;
  font-weight: 500;
  font-family: 'DM Sans', monospace;
}
.legal .divider {
  height: 1px; background: var(--line);
  margin: 64px 0 0;
}
.legal .lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  padding-bottom: calc(36px + var(--safe-b));
  background: var(--cream);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px;
}
.footer-grid .logo svg { height: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: center; }
.footer-links a {
  font-size: 14px; color: var(--muted);
  transition: color .25s var(--ease);
  padding: 8px 2px;
  min-height: 44px;
  display: inline-flex; align-items: center;
}
.footer-links a:hover { color: var(--teal); }
.copyright { color: var(--muted); font-size: 13.5px; text-align: right; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .footer-grid .logo { justify-content: center; display: flex; }
  .copyright { text-align: center; }
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .40s; }

/* ============ A11Y / MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-stagger > *, .step { opacity: 1 !important; transform: none !important; }
  .hero-art svg.shape { animation: none !important; }
}

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