/* =====================================================================
   Wayne Commerce — styles
   Typography & tokens mirror the original design system (Aktiv Grotesk VF)
   ===================================================================== */

@font-face {
  font-family: "Aktiv Grotesk VF";
  src: url("https://framerusercontent.com/assets/tdJon95dAbkVwAbKotlHOrttLPc.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}
@font-face {
  font-family: "Aktiv Grotesk VF Placeholder";
  src: local("Arial");
  ascent-override: 97.43%;
  descent-override: 27.65%;
  line-gap-override: 0%;
  size-adjust: 102.33%;
}
/* Wordmark face — the same display serif used for the Legora logotype, applied
   here to the Wayne Commerce name in the navbar and footer only. */
@font-face {
  font-family: "Wordmark Serif";
  src: url("https://framerusercontent.com/assets/fR0d7ps1P039mpwaNgnimyXixc.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --font: "Aktiv Grotesk VF", "Aktiv Grotesk VF Placeholder", sans-serif;
  --font-wordmark: "Wordmark Serif", Georgia, "Times New Roman", serif;
  --bg: #fafaf9;
  --ink: #0d1016;
  --ink-soft: #343434;
  --gray: #68655e;
  --gray-2: #8f8d8a;
  --gray-3: #6b6b6b;
  --light: #e6e6e6;
  --sand: #e1dfda;
  --border: #d0cdc8;
  --border-dark: #343434;
  --green: #0a0a0a;
  --green-deep: #000000;
  --white: #ffffff;
  --ease: cubic-bezier(0.625, 0.05, 0, 1);
  --container: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, h5 { margin: 0; }

/* ---------- Typography presets ---------- */
.h1 { font-size: 3.75rem; line-height: 1.05; letter-spacing: -0.04em; font-weight: 400; font-variation-settings: "wght" 450; }
.h3 { font-size: 2.75rem; line-height: 1.05; letter-spacing: -0.03em; font-weight: 400; font-variation-settings: "wght" 450; text-wrap: balance; }
.h4 { font-size: 2.25rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 400; font-variation-settings: "wght" 450; }
.h5 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; font-weight: 400; font-variation-settings: "wght" 450; }
.lead { font-size: 1rem; line-height: 1.4; font-variation-settings: "wght" 440; }
.small { font-size: 0.88rem; line-height: 1.4; font-variation-settings: "wght" 440; }
.xs { font-size: 12px; line-height: 1.4; font-variation-settings: "wght" 400; }
.caption { font-size: 13px; line-height: 1.3; }
.caption--muted { color: var(--gray-3); }

@media (max-width: 746px) {
  .h1 { font-size: 3rem; }
  .h3 { font-size: 2rem; }
  .h4 { font-size: 1.75rem; }
  .small, .lead, .xs { font-size: 14px; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.section { padding: 30px 24px; display: flex; flex-direction: column; align-items: center; }
.section-header { display: flex; flex-direction: column; gap: 30px; width: 100%; }
.section-header .lead { max-width: 640px; }
.section-header--center { align-items: center; text-align: center; padding: 0 30px; }
.section-header--center .lead { max-width: 560px; }

.spacer { width: 100%; height: 200px; pointer-events: none; user-select: none; }
.spacer--s { height: 30px; }
.spacer--m { height: 60px; }
.spacer--l { height: 90px; }
.spacer--xl { height: 120px; }
.spacer--xxl { height: 200px; }
@media (max-width: 1024px) { .spacer--xxl { height: 160px; } .spacer--xl { height: 104px; } .spacer--l { height: 72px; } }
@media (max-width: 746px) { .spacer--xxl { height: 120px; } .spacer--xl { height: 90px; } .spacer--l { height: 60px; } .spacer--m { height: 30px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0; padding: 5px; border-radius: 48px;
  white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.btn__label { padding: 0 10px; font-size: .88rem; line-height: 1.4; font-variation-settings: "wght" 440; }
.btn__icon {
  width: 30px; height: 30px; border-radius: 48px; display: grid; place-items: center;
  background: var(--white); color: var(--ink); transition: transform .35s var(--ease);
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-deep); }
.btn--secondary { background: var(--light); color: var(--ink); }
.btn--secondary:hover { background: #dcdcdc; }
.btn:hover .btn__icon { transform: translateX(2px); }

/* Arrow link "↳ Read more" */
.arrow-link { display: inline-flex; align-items: center; color: var(--gray); transition: color .3s var(--ease); cursor: pointer; }
.arrow-link__space { opacity: 0; width: .35em; }
.arrow-link:hover { color: var(--ink); }
.arrow-link--dark { color: var(--ink); }
.arrow-link--dark:hover { color: var(--gray); }
.arrow-link--light { color: rgba(255,255,255,.6); }
.arrow-link--light:hover { color: var(--white); }
.arrow-link--gray { color: var(--gray-2); }
.arrow-link--gray:hover { color: var(--white); }
.arrow-link--h4 .arrow-link__space { width: .3em; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100; height: 72px;
  padding: 15px 9px; color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), backdrop-filter .4s;
}
.navbar__inner { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 1710px; margin: 0 auto; position: relative; }
.navbar__left, .navbar__right { display: flex; align-items: center; flex: 1 0 0; }
.navbar__right { justify-content: flex-end; gap: 10px; }
.navlink { display: flex; align-items: center; height: 40px; padding: 10px 15px; font-size: .88rem; font-variation-settings: "wght" 440; border-radius: 16px 16px 0 0; opacity: 1; transition: opacity .25s; }
.navlink:hover { opacity: .65; }
.wordmark {
  font-family: var(--font-wordmark); font-size: 21px; letter-spacing: .005em; text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; height: 40px; padding: 0 10px;
}
.navbar.scrolled { background: rgba(250,250,249,.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--ink); }
.navbar.scrolled .btn--primary { color: var(--white); }
.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.burger span { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: 10px 16px 24px; background: rgba(250,250,249,.96); backdrop-filter: blur(16px); color: var(--ink); }
.mobile-menu a { padding: 12px 0; font-size: 1.25rem; border-bottom: 1px solid var(--border); }
.navbar.menu-open .mobile-menu { display: flex; }
.navbar.menu-open { background: rgba(250,250,249,.96); color: var(--ink); height: auto; }

@media (max-width: 1024px) {
  .navbar__left, .navbar__right .navlink { display: none; }
  .navbar__inner { justify-content: space-between; }
  .burger { display: flex; }
  .wordmark { padding-left: 6px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; width: 100%; min-height: 100vh; height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 30px 30px 60px; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 13%, rgba(0,0,0,.1) 72%, rgba(0,0,0,.5) 100%); }
.hero__container { position: relative; z-index: 2; width: 100%; max-width: 1728px; display: flex; flex-direction: column; gap: 90px; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; color: var(--white); }
.hero__title { text-align: center; text-wrap: balance; width: 100%; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(24px); will-change: transform, opacity; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero__title .w.in { opacity: 1; transform: none; }
.hero__stack { display: flex; align-items: center; gap: 15px; }
.hero__sub { white-space: pre; }
@media (max-width: 746px) {
  .hero { padding: 30px 15px 60px; }
  .hero__stack { flex-direction: column; gap: 30px; }
  .hero__sub { white-space: normal; text-align: center; }
}

/* Generic appear animation (initial load) */
[data-appear] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease) var(--delay, 0s), transform .8s var(--ease) var(--delay, 0s); will-change: transform, opacity; }
[data-appear].in { opacity: 1; transform: none; }
/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- cOS section ---------- */
.cos { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.cos__container { width: 100%; max-width: var(--container); display: flex; flex-direction: column; align-items: center; }
.cos__stack { width: 100%; padding: 0 30px; }
.cos__grid { display: flex; gap: 60px; width: 100%; }
.cos__left { flex: 1 0 0; }
.cos__left .lead { max-width: 560px; }
.cos__right { flex: 1 0 0; display: flex; justify-content: flex-end; }
@media (max-width: 746px) { .cos__grid { flex-direction: column; gap: 30px; } .cos__right { justify-content: flex-start; } .cos__stack { padding: 0 16px; } }

/* Scroll-driven sticky stage */
.scrollvideo { position: relative; width: 100%; max-width: 1728px; height: 400vh; }
.scrollvideo__sticky { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; background: #ececec; }
.scrollvideo__progress { position: absolute; left: 0; bottom: 0; z-index: 8; padding: 0 0 30px 24px; }
.progress-pill { height: 30px; padding: 0 12px; border-radius: 32px; background: rgba(0,0,0,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; }
.progress-track { width: 80px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.4); overflow: hidden; position: relative; }
.progress-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; border-radius: 5px; background: #fff; transform: translateX(-80px); will-change: transform; }

/* ---- 3D glass stack (cOS layers) ---- */
.stack-scene {
  position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #d6d6d6 0%, #e6e6e6 38%, #f3f3f3 72%, #fbfbfb 100%);
  perspective: 3400px; perspective-origin: 50% 38%;
}
.stack-cam { position: absolute; left: 50%; top: 57%; width: 0; height: 0; transform-style: preserve-3d; }
.stack-stage { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(var(--rz, 45deg)); }
.stack-group { position: absolute; left: 0; top: 0; transform-style: preserve-3d; --fin: 0; }
.slab {
  position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: var(--h);
  transform-style: preserve-3d; will-change: transform;
}
.slice {
  position: absolute; inset: 0; border-radius: var(--r);
  transform: translateZ(calc(var(--t) * var(--k)));
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(228,228,228,.12);
}
.slice--bottom {
  border: 2px solid rgba(18,18,18, calc(.82 - .6 * var(--fin)));
  background: rgba(110,110,110, calc(.2 - .12 * var(--fin)));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}
.slice--top {
  border: 1.5px solid rgba(255,255,255,.95);
  background: linear-gradient(135deg, rgba(255,255,255,.8) 0%, rgba(206,206,206,.64) 52%, rgba(228,228,228,.72) 100%);
  box-shadow: inset 0 0 calc(var(--w) * .05) rgba(255,255,255,.75), inset 0 0 0 1px rgba(0,0,0,.06);
}
.slab__label {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-size: var(--fs); line-height: 1.1; letter-spacing: -.01em; color: #151515; white-space: nowrap;
  font-variation-settings: "wght" 450;
  filter: blur(var(--blur, 0px)); opacity: var(--lo, 1);
}
.tile .slice--top { background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(222,222,222,.78)); }
.tile .slab__label { white-space: normal; padding: 0 8%; }
.plate--lid .slice--top { background: linear-gradient(135deg, rgba(255,255,255,.9) 0%, rgba(225,225,225,.8) 55%, rgba(240,240,240,.86) 100%); }
.plate--lid .slice { background: rgba(245,245,245,.2); }
.slab__label--brand { font-size: calc(var(--fs) * 3.2); letter-spacing: -.04em; opacity: var(--brand, 0); filter: none; color: #5d5d5d; }
.enclosure .slice { border: 1.5px solid rgba(255,255,255,.85); background: rgba(255,255,255,.1); opacity: var(--fin); }
.enclosure .slice--bottom, .enclosure .slice--top { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.14); box-shadow: none; }
.stack-shadow {
  position: absolute; left: calc(var(--w) / -2); top: calc(var(--w) / -2); width: var(--w); height: var(--w);
  border-radius: 12%; background: rgba(0,0,0,.28); filter: blur(calc(var(--w) * .07));
  transform: translate3d(3%, 3%, -2px); opacity: 0;
}

/* ---- Layer pills ---- */
.cos-nav { position: absolute; top: 0; left: 0; z-index: 7; padding: 90px 24px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: 100%; }
.pill {
  display: flex; flex-direction: column; width: var(--cw, auto); max-width: calc(100vw - 48px);
  padding: 10px 10px 10px 15px; border-radius: 24px; color: var(--white); overflow: hidden;
  background: rgba(0,0,0,.5); backdrop-filter: blur(27.5px); -webkit-backdrop-filter: blur(27.5px);
  transition: width .55s var(--ease), padding .55s var(--ease), background-color .3s var(--ease);
}
.pill:hover { background: rgba(0,0,0,.58); }
.pill__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pill__label { font-size: .88rem; line-height: 1.4; font-variation-settings: "wght" 440; white-space: nowrap; transition: color .4s var(--ease), padding .55s var(--ease); }
.pill__icon { width: 20px; height: 20px; flex: none; border-radius: 48px; background: rgba(255,255,255,.25); display: grid; place-items: center; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.pill__icon i { width: 10px; height: 10px; position: relative; display: block; }
.pill__icon i::before, .pill__icon i::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.pill__icon i::before { width: 8px; height: 1.2px; }
.pill__icon i::after { width: 1.2px; height: 8px; }
.pill__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.pill__body > div { min-height: 0; overflow: hidden; }
.pill__desc { padding: 10px 10px 5px; font-size: 1rem; line-height: 1.4; font-variation-settings: "wght" 440; opacity: 0; transition: opacity .3s var(--ease); width: 450px; max-width: calc(100vw - 78px); }
.pill.open { width: 480px; padding: 15px; }
.pill.open .pill__label { color: rgba(255,255,255,.72); padding-left: 10px; }
.pill.open .pill__icon { opacity: 0; transform: scale(.5) rotate(90deg); }
.pill.open .pill__body { grid-template-rows: 1fr; }
.pill.open .pill__desc { opacity: 1; transition-delay: .15s; }
@media (max-width: 746px) {
  .cos-nav { padding: 84px 15px 15px; }
  .cos-nav.has-open .pill:not(.open) { display: none; }
  .pill.open { width: calc(100vw - 30px); }
  .pill__desc { font-size: 14px; }
  .scrollvideo__progress { padding: 0 0 20px 15px; }
  .stack-cam { top: 68%; }
}

/* ---------- Innovation cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, minmax(50px, 1fr)); gap: 40px 32px; width: 100%; }
.card { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.card__media { aspect-ratio: .8; width: 100%; overflow: hidden; position: relative; background: var(--light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__text { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.card__headline { color: var(--ink); }
.card__text .small:not(.arrow-link) { max-width: 480px; }
.card:hover .arrow-link { color: var(--ink); }
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 746px) { .cards-grid { grid-template-columns: 1fr; } }

/* ---------- Carousel ---------- */
.carousel { position: relative; width: 100%; overflow: visible; }
.carousel__controls { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 60px; }
.carousel__arrow { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); transition: opacity .3s; }
.carousel__arrow:hover { opacity: .6; }
.carousel__dots { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; gap: 5px; padding: 10px; border-radius: 99px; background: var(--light); }
.dot { position: relative; width: 5px; height: 5px; border-radius: 99px; background: rgba(13,16,22,.25); overflow: hidden; cursor: pointer; transition: width .5s var(--ease); }
.dot.active { width: 24px; }
.dot__fill { position: absolute; inset: 0; border-radius: 99px; background: var(--ink); transform-origin: left center; transform: scaleX(0); }
.dot.active .dot__fill { animation: dotfill 5s linear forwards; }
.carousel.paused .dot.active .dot__fill { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carousel__viewport { position: relative; width: 100%; overflow: visible; }
.carousel__track { display: flex; align-items: flex-start; gap: 60px; transform: translate3d(0,0,0); transition: transform .5s var(--ease); will-change: transform; }
.slide { position: relative; flex: 0 0 252px; width: 252px; display: flex; flex-direction: column; gap: 15px; cursor: pointer; transition: flex-basis .5s var(--ease), width .5s var(--ease); will-change: width, flex-basis; user-select: none; }
.slide.active { flex-basis: 470.4px; width: 470.4px; cursor: default; }
.slide__media { aspect-ratio: .8; width: 100%; overflow: hidden; position: relative; padding: 15px; }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slide__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(rgba(0,0,0,.4) 0%, rgba(67,81,112,.2) 15%, rgba(0,0,0,0) 100%); }
.slide__label { position: relative; z-index: 3; color: var(--white); white-space: pre; }
.slide__text { display: flex; flex-direction: column; gap: 30px; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; height: 0; overflow: hidden; }
.slide.active .slide__text { opacity: 1; transform: none; pointer-events: auto; height: auto; overflow: visible; transition-delay: .15s; }
@media (max-width: 746px) {
  .slide { flex-basis: 200px; width: 200px; }
  .slide.active { flex-basis: min(320px, calc(100vw - 48px)); width: min(320px, calc(100vw - 48px)); }
  .carousel__track { gap: 24px; }
  .carousel__controls { margin-bottom: 30px; }
}

/* ---------- ROI ---------- */
.roi { position: relative; width: 100%; height: 100vh; max-height: 1080px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; overflow: hidden; color: var(--white); }
.roi__text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.roi__eyebrow { margin-bottom: 10px; }
.roi__eyebrow .small { color: rgba(255,255,255,.6); }
.roi__text .h4 { max-width: 800px; text-wrap: balance; }
.roi__text .arrow-link { margin-top: 15px; }
.roi__media { position: absolute; inset: -1px 0 0 0; z-index: 1; }
.roi__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 75%); }
.roi__video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vision ---------- */
.vision { background: var(--sand); width: 100%; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; }
.vision__container { width: 100%; max-width: var(--container); }
.vision__stack { display: flex; gap: 15px; width: 100%; align-items: stretch; }
.vision__left { flex: 1 0 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.vision__founders { width: 75%; display: flex; gap: 20px; margin-top: 60px; }
.founder { flex: 1 0 0; display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.founder__photo { aspect-ratio: 1; width: 100%; border-radius: 6px; overflow: hidden; background: var(--border); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.founder:hover .founder__photo img { transform: scale(1.04); }
.founder:hover .caption:not(.caption--muted) { text-decoration: underline; text-underline-offset: .2em; }
.vision__caption { display: flex; flex-direction: column; gap: 2px; }
.vision__right { flex: 1 0 0; display: flex; flex-direction: column; align-items: flex-end; gap: 48px; }
.vision__text { display: flex; gap: 15px; width: 100%; }
.vision__col { flex: 1 0 0; padding-right: 8px; display: flex; flex-direction: column; gap: 1em; color: var(--ink-soft); }
.vision__image { aspect-ratio: 1.25; width: 100%; border-radius: 2px; overflow: hidden; }
.vision__image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) {
  .vision__stack { flex-direction: column; gap: 60px; }
  .vision__founders { width: 80%; margin-top: 40px; }
}
@media (max-width: 746px) { .vision__text { flex-direction: column; } .vision__founders { width: 100%; } }

/* ---------- Security ---------- */
.security { background: var(--ink); color: var(--white); width: 100%; padding: 30px 24px 90px; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.security__left { width: 100%; }
.security__text { display: flex; flex-direction: column; gap: 60px; padding-right: 60px; }
.security__headline { max-width: 860px; text-wrap: balance; display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
.security__sub { color: var(--light); max-width: 33%; text-wrap: balance; }
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; border: 1px solid var(--border-dark); }
.cert { aspect-ratio: 1; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--border-dark); }
.cert:last-child { border-right: 0; }
.cert__text { display: flex; flex-direction: column; gap: 5px; }
.cert__text .xs { color: var(--light); }
.cert__badge { width: 48px; height: 48px; color: var(--white); }
.cert__badge svg { width: 100%; height: 100%; font-family: var(--font); }
@media (max-width: 1024px) {
  .security__sub { max-width: 60%; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .cert { aspect-ratio: auto; min-height: 220px; border-bottom: 1px solid var(--border-dark); }
  .cert:nth-child(3n) { border-right: 0; }
  .cert:last-child { border-right: 1px solid var(--border-dark); }
}
@media (max-width: 746px) {
  .security__text { padding-right: 0; gap: 30px; }
  .security__sub { max-width: 100%; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert, .cert:last-child, .cert:nth-child(3n) { border-right: 0; }
  .cert { min-height: 0; gap: 24px; }
}

/* ---------- CTA ---------- */
.cta-section { width: 100%; padding: 200px 30px; display: flex; justify-content: center; align-items: center; background: var(--bg); }
.cta { width: 100%; max-width: 1080px; background: var(--green-deep); border-radius: 15px; padding: 15px; display: flex; gap: 15px; align-items: center; color: var(--white); overflow: hidden; position: relative; }
.cta__left { flex: 1 0 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; gap: 30px; }
.cta__text { display: flex; flex-direction: column; gap: 30px; }
.cta__text .h4 { max-width: 80%; }
.cta__text .xs { max-width: 70%; text-wrap: balance; }
.cta__illustration { flex: 1 0 0; aspect-ratio: 1; border-radius: 5px; overflow: hidden; }
.cta__illustration img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cta:hover .cta__illustration img { transform: scale(1.03); }
@media (max-width: 746px) {
  .cta-section { padding: 90px 16px; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta__left { padding: 15px 0; width: 100%; }
  .cta__text .h4, .cta__text .xs { max-width: 100%; }
  .cta__illustration { width: 100%; flex: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--white); color: var(--green); width: 100%; min-height: 800px; padding: 30px 24px; display: flex; flex-direction: column; align-items: center; gap: 60px; overflow: hidden; }
.footer__top { display: flex; gap: 60px; width: 100%; max-width: var(--container); }
.footer__col { width: 240px; display: flex; flex-direction: column; gap: 15px; }
.footer__links { display: flex; flex-direction: column; gap: 5px; }
.footer__links a, .footer__group a { font-size: .88rem; font-variation-settings: "wght" 440; }
.footer__links a:hover, .footer__group a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.footer__logo { flex: 1 0 0; width: 100%; max-width: var(--container); display: flex; justify-content: center; align-items: center; padding: 0 0 60px; }
.footer__wordmark { font-family: var(--font-wordmark); font-size: clamp(40px, 8.6vw, 148px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap; }
.footer__wordmark[data-reveal] { transform: translateY(10px); }
.footer__bottom { display: flex; justify-content: space-between; width: 100%; max-width: var(--container); gap: 15px; }
.footer__group { display: flex; gap: 15px; align-items: center; font-size: .88rem; }
@media (max-width: 1024px) {
  .footer { min-height: 0; gap: 0; padding: 30px 16px; }
  .footer__top { flex-direction: column; gap: 0; }
  .footer__col { width: 100%; gap: 0; }
  .footer__col .footer__label { padding: 15px 0; }
  .footer__links { gap: 15px; padding: 0 0 30px; }
  .footer__logo { order: 0; padding: 90px 0 60px; }
  .footer__bottom { flex-direction: column; }
  .footer__group { flex-direction: column; align-items: flex-start; gap: 5px; padding-bottom: 20px; }
  .footer__group:last-child { align-items: center; width: 100%; padding: 60px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  [data-appear], [data-reveal], .hero__title .w { opacity: 1 !important; transform: none !important; }
}

.cta__left .btn { align-self: flex-start; }
