:root {
  --forest: #263735;
  --teal: #43605d;
  --ochre: #bd955d;
  --ochre-d: #a07a45;
  --sage: #d5d0b0;
  --cream: #f7f4ec;
  --ink: #1d2927;
  --muted: #5d6a67;
  --line: rgba(38, 55, 53, .14);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --accent: "Cormorant Garamond", Georgia, serif;
  --wrap: 1180px;
  --tri: polygon(50% 0, 100% 100%, 0 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .55em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
em { font-family: var(--accent); font-style: italic; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; }
input, textarea, button { font: inherit; }
input, textarea, select { font-size: 16px; }
button, a, [role="button"] { touch-action: manipulation; }
button { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.wrap { padding-block: clamp(60px, 8vw, 100px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 700 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ochre-d); margin-bottom: 1.2rem; }
.kicker::before { content: ""; width: 14px; height: 14px; background: currentColor; clip-path: var(--tri); }
.kicker.light { color: var(--ochre); }
.sub { color: var(--muted); max-width: 58ch; font-size: 1.05rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 1px solid transparent; font-weight: 600; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ochre); color: var(--forest); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; background: var(--ochre); transform-origin: 0 50%; transform: scaleX(0); }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: calc(72px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); color: #fff; background: linear-gradient(180deg, rgba(38,55,53,.8), rgba(38,55,53,0)); transition: background-color 250ms ease; }
.nav.solid { background: rgba(38, 55, 53, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand img { height: 62px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .85; transition: opacity 150ms ease; }
.nav-end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 2px; }
.lang button { background: none; border: 0; color: #fff; font-size: .76rem; font-weight: 700; padding: 6px 9px; min-height: 30px; opacity: .6; transition: opacity 160ms ease, color 160ms ease; }
.lang button[aria-pressed="true"] { opacity: 1; color: var(--ochre); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; transition: transform 200ms var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Triangles */
.tri { position: absolute; display: block; clip-path: var(--tri); pointer-events: none; will-change: translate; }
.t1 { --o: .9; width: 90px; height: 90px; background: var(--ochre); left: 6%; top: 18%; opacity: .9; }
.t2 { --o: .55; width: 150px; height: 150px; background: var(--teal); left: 38%; top: 10%; opacity: .55; }
.t3 { --o: .7; width: 60px; height: 60px; background: var(--sage); left: 3%; bottom: 14%; opacity: .7; transform: rotate(180deg); }
.t4 { --o: .85; width: 220px; height: 220px; background: var(--ochre); right: -40px; bottom: -50px; opacity: .85; transform: rotate(18deg); }
.t5 { --o: .5; width: 180px; height: 180px; background: var(--teal); right: 6%; top: -50px; opacity: .5; transform: rotate(180deg); }
.t6 { --o: .8; width: 90px; height: 90px; background: var(--ochre); right: 22%; bottom: -30px; opacity: .8; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; background: var(--forest); color: #fff; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; padding: 130px 0 90px max(20px, calc((100vw - var(--wrap)) / 2)); padding-right: 24px; }
.eyebrow { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .76rem; color: var(--ochre); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.6rem); max-width: 11ch; margin-bottom: .4em; }
.hero h1 em { color: var(--ochre); font-size: 1.08em; display: inline-block; }
.lead { font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 44ch; color: rgba(255,255,255,.85); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero-fig { position: relative; z-index: 1; margin: 0; align-self: stretch; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); overflow: hidden; background: var(--teal); min-height: 420px; }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; }
.hero-fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(38,55,53,.55), transparent 40%); }
.hero-inner > * { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--ease-out) forwards; }
.hero-inner > :nth-child(1) { animation-delay: 80ms; }
.hero-inner > :nth-child(2) { animation-delay: 150ms; }
.hero-inner > :nth-child(3) { animation-delay: 230ms; }
.hero-inner > :nth-child(4) { animation-delay: 310ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-fig { animation: figIn 1100ms var(--ease-io) both; }
@keyframes figIn { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }

/* Stats */
.stats { background: var(--ochre); color: var(--forest); padding: clamp(40px, 5vw, 64px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 6px 22px; border-left: 1px solid rgba(38,55,53,.25); }
.stat:first-child { border: 0; padding-left: 0; }
.stat b { display: block; font: 800 clamp(2rem, 4.4vw, 3.6rem)/1.05 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .4rem; font-size: .84rem; font-weight: 600; }

/* About */
.split { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.facet { margin: 0; aspect-ratio: 4/5; overflow: hidden; background: var(--teal); clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 92%); }
.facet img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; }
.split-text p { color: #3b4946; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 1.6rem 0 0; }
.chips li { font: 700 .76rem/1 var(--sans); letter-spacing: .08em; color: var(--forest); border: 1.5px solid var(--forest); padding: 10px 14px; }

/* Values band */
.band { position: relative; background: var(--forest); color: #fff; clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 calc(100% - 5vw)); margin: -2.5vw 0; padding-block: calc(clamp(72px, 10vw, 130px) + 5vw); }
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 70px); margin-top: 2.6rem; align-items: start; }
.tablist { display: grid; gap: 4px; }
.tablist button { text-align: left; background: none; border: 0; border-left: 3px solid rgba(255,255,255,.18); color: rgba(255,255,255,.62); padding: 16px 20px; font-weight: 600; font-size: 1.02rem; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.tablist button[aria-selected="true"] { color: #fff; border-left-color: var(--ochre); background: rgba(255,255,255,.07); }
.panels { display: grid; }
.tabpanel { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out), visibility 0s 280ms; }
.tabpanel.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tabpanel p { color: rgba(255,255,255,.82); margin: 0; font-size: 1.04rem; }
.tabpanel figure { margin: 0; aspect-ratio: 1; overflow: hidden; clip-path: polygon(50% 0, 100% 25%, 100% 100%, 0 100%, 0 25%); background: var(--teal); transition: clip-path 600ms var(--ease-io); }
.tabpanel:not(.active) figure { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
.tabpanel img { width: 100%; height: 100%; object-fit: cover; }

/* Menus: stairs */
.menus { padding-top: calc(clamp(60px, 8vw, 100px) + 3vw); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; align-items: end; margin-top: 3rem; }
.step { position: relative; height: var(--h); overflow: hidden; color: #fff; display: flex; align-items: flex-end; background: var(--teal); border-right: 3px solid var(--cream); transition: transform 300ms var(--ease-out); }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 700ms var(--ease-out); }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38,55,53,0) 30%, rgba(38,55,53,.94)); }
.step div { position: relative; z-index: 1; padding: 28px; }
.step span { font: italic 600 1.6rem var(--accent); color: var(--ochre); }
.step p { margin: 0; font-size: .92rem; color: rgba(255,255,255,.85); }
.step.feat { border: 0; }
.step.feat::before { content: ""; position: absolute; z-index: 2; top: 0; right: 0; width: 70px; height: 70px; background: var(--ochre); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.special { display: grid; grid-template-columns: 220px 1fr; background: var(--sage); margin-top: 3px; align-items: stretch; }
.special img { width: 100%; height: 100%; object-fit: cover; min-height: 140px; }
.special div { padding: 28px 32px; align-self: center; }
.special h3 { margin-bottom: .3em; }
.special p { margin: 0; color: #3b4946; }

/* Quality */
.dark2 { background: var(--teal); color: #fff; }
#quality { clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); margin-top: -4vw; padding-top: calc(clamp(72px, 10vw, 130px) + 2vw); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); }
.duo .num { font: italic 600 4rem/1 var(--accent); color: var(--ochre); display: block; margin-bottom: .6rem; }
.duo p { color: rgba(255,255,255,.82); }

/* Advantages */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.a { display: flex; align-items: center; gap: 18px; padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff0; transition: background-color 220ms ease; }
.a i { flex: none; width: 30px; height: 30px; background: var(--ochre); clip-path: var(--tri); transition: transform 300ms var(--ease-out); }
.a b { font-weight: 600; font-size: 1.02rem; line-height: 1.35; }

/* Brochure */
.brochure { position: relative; overflow: hidden; background: var(--sage); padding: clamp(36px, 6vw, 64px); margin-block: 0; }
.brochure > div { position: relative; z-index: 1; max-width: 560px; }
.brochure p { color: #3b4946; }
.brochure h3 { font-size: 1.8rem; }

/* Gallery rail */
.rail { display: flex; gap: 14px; margin-top: 2.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(20px, calc((100% - var(--wrap)) / 2)) 24px; scroll-padding-inline: max(20px, calc((100% - var(--wrap)) / 2)); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail img { flex: 0 0 min(340px, 76vw); height: 420px; object-fit: cover; scroll-snap-align: start; background: var(--teal); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px)); transition: transform 300ms var(--ease-out); }
.rail img:nth-child(even) { margin-top: 36px; height: 384px; }

/* Contact */
.contact-sec { background: var(--forest); }
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.mega { font-size: clamp(2.6rem, 6.4vw, 5rem); }
address { font-style: normal; color: rgba(255,255,255,.82); margin-top: 2rem; }
address a { text-decoration: none; font-weight: 600; font-size: 1.15rem; }
.form { background: var(--cream); color: var(--ink); padding: clamp(24px, 4vw, 38px); display: grid; gap: 16px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%); }
.form h3 { margin: 0; color: var(--forest); }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--forest); }
.form input, .form textarea { width: 100%; border: 1.5px solid rgba(38,55,53,.28); padding: 13px 14px; background: #fff; color: var(--ink); font-weight: 400; text-transform: none; letter-spacing: 0; transition: border-color 150ms ease, box-shadow 150ms ease; }
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--ochre-d); box-shadow: 0 0 0 3px rgba(189,149,93,.28); }
.form textarea { resize: vertical; }
.form .btn { border: 0; }
.form-note { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--ochre-d); }

.footer { background: #1b2a28; color: rgba(255,255,255,.65); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px max(20px, calc((100% - var(--wrap)) / 2)) calc(26px + env(safe-area-inset-bottom)); font-size: .86rem; }
.footer img { height: 60px; width: auto; }
.footer p { margin: 0; }
.totop { color: #fff; text-decoration: none; font-weight: 600; }

/* Reveals */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .facet img, .js .hero-fig img { transition: scale 1600ms var(--ease-out); }
.js .facet.reveal:not(.in) img { scale: 1.3; }
.js .facet.reveal.in img { scale: 1.15; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #cca46c; }
  .btn-ghost:hover { background: rgba(255,255,255,.22); }
  .nav-links a:hover { opacity: 1; }
  .lang button:hover { opacity: 1; }
  .tablist button:hover { color: #fff; }
  .step:hover img { scale: 1.07; }
  .a:hover { background: rgba(189,149,93,.12); }
  .a:hover i { transform: rotate(180deg); }
  .rail img:hover { transform: translateY(-6px); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .js .hero-fig, .hero-fig { position: absolute; inset: 0; clip-path: none; opacity: .28; }
  .hero-inner { padding: 130px 20px 90px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .facet { aspect-ratio: 4/3; }
  .tabs { grid-template-columns: 1fr; }
  .tablist { grid-auto-flow: column; overflow-x: auto; scrollbar-width: none; gap: 0; }
  .tablist button { white-space: nowrap; border-left: 0; border-bottom: 3px solid rgba(255,255,255,.18); }
  .tablist button[aria-selected="true"] { border-bottom-color: var(--ochre); }
  .steps { grid-template-columns: 1fr; gap: 3px; }
  .step { height: 260px !important; border-right: 0; }
  .duo { grid-template-columns: 1fr; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links { position: fixed; inset: calc(72px + env(safe-area-inset-top)) 0 auto 0; margin: 0; flex-direction: column; gap: 0; background: var(--forest); padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav-links a { padding: 16px 0; font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.1); opacity: 1; }
  .nav.menu-open { background: var(--forest); }
}
@media (max-width: 560px) {
  .tabpanel { grid-template-columns: 1fr; }
  .tabpanel figure { aspect-ratio: 4/3; }
  .adv { grid-template-columns: 1fr; }
  .special { grid-template-columns: 1fr; }
  .special img { height: 160px; }
  .stat { padding: 6px 14px; }
  .t2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .tabpanel { transform: none; }
  .js .facet.reveal:not(.in) img { scale: 1.15; }
}

/* ================= Motion ================= */

/* Opening sequence */
.intro { display: none; position: fixed; inset: 0; z-index: 100; background: var(--forest); place-items: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path 800ms var(--ease-io); }
.intro-on .intro { display: grid; }
.intro-on { overflow: hidden; }
.intro.out { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
.intro-mark { position: relative; display: grid; place-items: center; width: 220px; height: 220px; }
.intro-mark img { position: relative; height: 130px; width: auto; opacity: 0; scale: .9; animation: introLogo 900ms var(--ease-out) 350ms forwards; }
.it { position: absolute; width: 54px; height: 54px; clip-path: var(--tri); opacity: 0; }
.it.a { background: var(--ochre); left: 0; top: 6px; animation: introA 1000ms var(--ease-out) 80ms forwards; }
.it.b { background: var(--teal); right: 2px; top: 26px; width: 80px; height: 80px; animation: introB 1000ms var(--ease-out) 160ms forwards; }
.it.c { background: var(--sage); left: 40px; bottom: 0; width: 34px; height: 34px; animation: introC 1000ms var(--ease-out) 240ms forwards; }
@keyframes introLogo { to { opacity: 1; scale: 1; } }
@keyframes introA { from { transform: translate(-60px, -40px) rotate(-120deg) scale(.4); } to { opacity: .95; transform: none; } }
@keyframes introB { from { transform: translate(60px, -30px) rotate(140deg) scale(.4); } to { opacity: .7; transform: rotate(180deg); } }
@keyframes introC { from { transform: translate(-20px, 60px) rotate(90deg) scale(.4); } to { opacity: .9; transform: rotate(180deg); } }
.intro-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--ochre); transform-origin: 0 50%; transform: scaleX(0); animation: introBar 1500ms linear forwards; }
@keyframes introBar { to { transform: scaleX(1); } }

/* Hero choreography (starts when .ready lands) */
.js .hero-inner > :not(h1) { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js.ready .hero-inner > :not(h1) { opacity: 1; transform: none; }
.js.ready .hero-inner > .eyebrow { transition-delay: 80ms; }
.js.ready .hero-inner > .lead { transition-delay: 560ms; }
.js.ready .hero-inner > .hero-cta { transition-delay: 680ms; }
.js .hero-fig { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path 1200ms var(--ease-io) 100ms; }
.js.ready .hero-fig { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.js .hero-fig img { scale: 1.4; transition: scale 2000ms var(--ease-out) 100ms; }
.js.ready .hero-fig img { scale: 1.14; }
.js .tri { opacity: 0; scale: .3; transition: opacity 700ms ease, scale 1000ms var(--ease-out); transition-delay: calc(var(--n, 0) * 110ms + 450ms); }
.js.ready .hero .tri, .js .brochure.in .tri { opacity: var(--o); scale: 1; }
.t2 { --n: 1; } .t3 { --n: 2; } .t4 { --n: 3; } .t6 { --n: 1; }
.js .stats .stat b { display: block; }

/* Headline words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(110%); transition: transform 850ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-split].in .wi, .js.ready .hero [data-split] .wi { transform: none; }
.js .hero [data-split] .wi { transition-delay: calc(var(--i, 0) * 90ms + 200ms); }

/* Kicker triangle spins in */
.js .kicker::before { scale: 0; rotate: -200deg; transition: scale 600ms var(--ease-out), rotate 800ms var(--ease-out); }
.js .kicker.in::before { scale: 1; rotate: 0deg; }

/* Staggered groups */
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity 650ms var(--ease-out) calc(var(--i, 0) * 80ms), transform 650ms var(--ease-out) calc(var(--i, 0) * 80ms), background-color 220ms ease; }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js .chips[data-stagger] > * { transform: scale(.85); }
.js .step { transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1000ms var(--ease-io) calc(var(--i, 0) * 140ms), opacity 400ms ease calc(var(--i, 0) * 140ms); }
.js .steps.in .step { clip-path: inset(0); }
.js .rail[data-stagger] > img { transform: translateX(70px) scale(.94); transition: opacity 700ms var(--ease-out) calc(var(--i, 0) * 90ms), transform 800ms var(--ease-out) calc(var(--i, 0) * 90ms), translate 300ms var(--ease-out); }
.js .rail[data-stagger].in > img { transform: none; }
.js .adv.in .a i { animation: spinIn 700ms var(--ease-out) calc(var(--i, 0) * 80ms + 150ms) both; }
.js .adv .a i { transform: none; }
@keyframes spinIn { from { rotate: -180deg; scale: .3; } to { rotate: 0deg; scale: 1; } }

/* Stats shimmer line */
.stat { position: relative; }
.js .stat::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -14px; height: 2px; background: var(--forest); transform-origin: 0 50%; transform: scaleX(0); transition: transform 900ms var(--ease-io) calc(var(--d, 0ms) + 300ms); }
.js .stat.in::after { transform: scaleX(1); }
.stat:first-child::after { left: 0; }

/* Marquee strip */
.strip { background: var(--forest); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255,255,255,.08); }
.strip-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marq 40s linear infinite; }
.strip span { font: italic 600 clamp(1.5rem, 3vw, 2.3rem) var(--accent); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(213,208,176,.65); }
.strip i { width: 14px; height: 14px; background: var(--ochre); clip-path: var(--tri); flex: none; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Tab panel text rises in after the swap */
.tabpanel p { transition: opacity 400ms var(--ease-out) 90ms, transform 400ms var(--ease-out) 90ms; transform: translateY(10px); opacity: 0; }
.tabpanel.active p { transform: none; opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .nav-links a { position: relative; }
  .nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: 0 50%; transition: transform 220ms var(--ease-out); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .strip:hover .strip-track { animation-play-state: paused; }
  .js .rail[data-stagger].in > img:hover { translate: 0 -6px; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .js .hero-inner > :not(h1) { transform: none; }
  .js .hero-fig { clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); transition: none; }
  .js .hero-fig img { scale: 1.14; transition: none; }
  .js .tri { opacity: var(--o); scale: 1; transition: none; }
  .js [data-split] .wi { transform: none; }
  .js .kicker::before { scale: 1; rotate: 0deg; }
  .js [data-stagger] > * { transform: none; transition: opacity 300ms ease; }
  .js .step { clip-path: none; transition: opacity 300ms ease; }
  .js .rail[data-stagger] > img { transform: none; }
  .js .adv.in .a i { animation: none; }
}
