/* ==========================================================================
   YBR Trade — Yellow Brick Road
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Marcellus";
  src: url("../fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  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: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  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;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #faf7f1;
  --cream-2: #f3ecdf;
  --paper: #fffdf9;
  --sand: #e8dcc6;
  --ink: #3a3129;
  --ink-soft: #6b5f53;
  --gold: #dda54e;
  --gold-light: #ecc685;
  --gold-deep: #8a5d17;
  --night: #2a231e;
  --night-2: #352d27;
  --on-night: #f4ecdf;
  --on-night-soft: #c9bcaa;

  --serif: "Marcellus", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);
  --radius: 18px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
.lead, .about-copy p { text-wrap: pretty; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-light); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.nw { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 16px; }

.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 22px;
}
.eyebrow::before { content: ""; display: inline-block; vertical-align: middle; width: 28px; height: 2px; margin: -2px 12px 0 0; border-radius: 2px; background: var(--gold); }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 18ch; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bg);
  font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(42, 35, 30, .45); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { --bg: var(--gold); --fg: var(--night); }
.btn--gold:hover { --bg: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(58, 49, 41, .25); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(250, 247, 241, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: rgba(232, 220, 198, .9); box-shadow: 0 8px 30px -22px rgba(42, 35, 30, .5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--sand); background: var(--paper); }
.lang-switch a { font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 6px 11px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); transition: background-color .2s, color .2s; }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--ink); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--sand); background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(24px, 3vw, 40px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(236, 198, 133, .32), rgba(236, 198, 133, 0));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--gold-deep); }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-stages { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 56px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink-soft); }
.hero-stages .sep { display: inline-flex; gap: 3px; }
.hero-stages .sep i { width: 12px; height: 6px; border-radius: 2px; background: var(--gold); opacity: .55; }
.hero-stages .sep i:nth-child(2) { opacity: .8; }
.hero-art { position: relative; justify-self: center; width: min(100%, 500px); }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-art .arc { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.2s var(--ease) .2s forwards; }
.hero-art .brick { opacity: 0; transform-box: fill-box; transform-origin: center; animation: brick-in .6s var(--ease) forwards; animation-delay: calc(var(--d) * 1s + .3s); }
.hero-art .heart { opacity: 0; transform-box: fill-box; transform-origin: center; animation: heart-in .9s var(--ease) 1.6s forwards, beat 3.6s ease-in-out 2.6s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes brick-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes heart-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 8% { transform: scale(1.12); } 16% { transform: scale(1); } 24% { transform: scale(1.08); } 32% { transform: scale(1); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-copy p + p { margin-top: 20px; }
.about-copy p { color: var(--ink-soft); font-size: 1.12rem; }
.about-copy p:first-child { color: var(--ink); font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 88px); }
.pillar { padding: 30px 28px 32px; border-top: 2px solid var(--gold); background: linear-gradient(180deg, rgba(236, 198, 133, .14), rgba(236, 198, 133, 0) 70%); border-radius: 0 0 var(--radius) var(--radius); }
.pillar h3 { font-size: 1.55rem; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- The Road (dark) ---------- */
.road-section { background: var(--night); color: var(--on-night); overflow: hidden; }
.road-section::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 820px; height: 820px; transform: translateX(-50%);
  border-radius: 50%; border: 1px solid rgba(221, 165, 78, .16); pointer-events: none;
}
.road-section .eyebrow { color: var(--gold); }
.road-section .lead { color: var(--on-night-soft); }
.road-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.road-head .section-title { max-width: 20ch; }
.road-head .lead { margin-top: 22px; }
.road { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.road-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.road-svg .road-base { stroke: rgba(221, 165, 78, .16); stroke-width: 2; fill: none; }
.road-svg .road-line { stroke: var(--gold); stroke-width: 7; stroke-dasharray: 15 5; fill: none; }
.road-svg .road-mask { stroke: #fff; stroke-width: 14; fill: none; }
.stage { position: relative; display: grid; grid-template-columns: 1fr 220px 1fr; align-items: center; }
.stage + .stage { margin-top: clamp(32px, 5vw, 64px); }
.stage-card { grid-column: 1; grid-row: 1; background: var(--night-2); border: 1px solid rgba(244, 236, 223, .08); border-radius: var(--radius); padding: clamp(28px, 3.2vw, 44px); }
.stage--right .stage-card { grid-column: 3; }
.stage-marker { grid-column: 2; grid-row: 1; justify-self: start; margin-left: 30%; width: 22px; height: 22px; border-radius: 50%; background: var(--night); border: 2px solid rgba(221, 165, 78, .5); position: relative; z-index: 1; transition: background-color .4s, border-color .4s, box-shadow .4s; }
.stage--right .stage-marker { margin-left: 62%; }
.stage-marker.is-lit { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 8px rgba(221, 165, 78, .16); }
.stage-num { font-family: var(--sans); font-weight: 700; font-size: .85rem; color: var(--gold); letter-spacing: .14em; }
.stage-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 8px 0 14px; color: var(--on-night); }
.stage-card p { color: var(--on-night-soft); }
.road-end { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 72px); }
.road-heart { width: 44px; height: 44px; color: rgba(221, 165, 78, .3); transition: color .5s, transform .5s var(--ease); position: relative; z-index: 1; }
.road-heart.is-lit { color: var(--gold); transform: scale(1.12); }

/* ---------- Services ---------- */
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.services-head .lead { max-width: 44ch; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 72px); }
.service {
  position: relative; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 22px 40px -28px rgba(42, 35, 30, .45); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(236, 198, 133, .22); color: var(--gold-deep); margin-bottom: 6px; }
.service-icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.4rem; }
.service p { color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.service--cta { background: var(--ink); border-color: var(--ink); color: var(--cream); text-decoration: none; justify-content: space-between; }
.service--cta h3 { color: var(--cream); }
.service--cta p { color: var(--gold-light); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.service--cta p svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service--cta:hover { border-color: var(--ink); }
.service--cta:hover p svg { transform: translateX(4px); }

/* ---------- Approach ---------- */
.approach { background: var(--cream-2); }
.approach-head { max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(56px, 7vw, 88px); position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 22px);
  opacity: .45; border-radius: 3px;
}
.step { position: relative; }
.step-num { width: 60px; height: 60px; border-radius: 50%; background: var(--cream-2); border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: var(--gold-deep); position: relative; }
.step h3 { font-size: 1.6rem; margin: 26px 0 10px; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Markets ---------- */
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.markets-copy .lead { margin-top: 24px; }
.market-list { margin-top: 40px; display: grid; gap: 4px; }
.market-list li { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 20px 0; border-top: 1px solid var(--sand); }
.market-list li:last-child { border-bottom: 1px solid var(--sand); }
.market-list .dot { width: 12px; height: 12px; margin-top: 9px; border-radius: 3px; background: var(--gold); transform: rotate(45deg); }
.market-list h3 { font-size: 1.35rem; }
.market-list p { grid-column: 2; color: var(--ink-soft); font-size: 1rem; }
.markets-art svg { width: 100%; height: auto; }
.markets-art .ring { fill: none; stroke: var(--gold); }
.markets-art .node { fill: var(--gold); }
.markets-art .node-halo { fill: var(--gold); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .18; } 50% { transform: scale(1.7); opacity: 0; } }

/* ---------- Contact ---------- */
.contact { background: var(--cream-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-copy .lead { margin-top: 24px; }
.contact-card { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--night); color: var(--on-night); }
.contact-card .name { font-family: var(--serif); font-size: 1.5rem; }
.contact-card .role { color: var(--on-night-soft); font-size: .95rem; }
.contact-card ul { margin-top: 20px; display: grid; gap: 12px; }
.contact-card a, .contact-card li { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-night); font-weight: 500; }
.contact-card a:hover { color: var(--gold-light); }
.contact-card svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.form { background: var(--paper); border: 1px solid var(--sand); border-radius: calc(var(--radius) + 6px); padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -44px rgba(42, 35, 30, .5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--sand); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #d8c7a8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(221, 165, 78, .18); }
.field.has-error input, .field.has-error textarea { border-color: #b4472f; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin: 4px 0 24px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.consent a { color: var(--ink); }
.consent.has-error { color: #b4472f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin-top: 18px; font-size: .95rem; padding: 14px 16px; border-radius: 12px; display: none; }
.form-status.is-success { display: block; background: rgba(103, 140, 84, .12); color: #3f5e31; }
.form-status.is-error { display: block; background: rgba(180, 71, 47, .1); color: #8f3522; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-soft); padding-block: 72px 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.site-footer dt { color: var(--on-night-soft); opacity: .75; }
.site-footer dd { margin: 0; color: var(--on-night); }
.footer-links { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--on-night); }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(244, 236, 223, .1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(56px, 8vw, 104px); }
.legal .container { max-width: calc(780px + var(--gutter) * 2); }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); }
.legal .updated { color: var(--ink-soft); margin-top: 14px; }
.legal h2 { font-size: 1.6rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p { margin-top: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.legal a { color: var(--gold-deep); }
.legal .back { display: inline-flex; margin-top: 56px; }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.not-found img { width: 110px; margin: 0 auto 28px; }
.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.not-found p { color: var(--ink-soft); margin: 16px 0 32px; }
.not-found .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 24px;
    background: var(--cream); border-bottom: 1px solid var(--sand); padding: 20px var(--gutter) 28px;
    box-shadow: 0 30px 40px -30px rgba(42, 35, 30, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--sand); }
  .nav-links a::after { display: none; }
  .nav-actions { justify-content: space-between; }
  .header-inner > .lang-switch { margin-left: auto; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; justify-self: start; width: min(48%, 220px); margin-bottom: -12px; }
  .about-grid, .markets-grid, .contact-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .markets-art { max-width: 460px; margin-inline: auto; }

  .stage { grid-template-columns: 56px 1fr; }
  .stage-card, .stage--right .stage-card { grid-column: 2; }
  .stage-marker, .stage--right .stage-marker { grid-column: 1; margin-left: 0; justify-self: center; }
  .road-end { justify-content: flex-start; padding-left: 6px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .services-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 36px 1fr; }
  .stage-marker { width: 18px; height: 18px; }
  .road-end { padding-left: 0; }
  .road-heart { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
