@font-face {
  font-family: TildaSans;
  src: url("assets/TildaSans-VF-ab6ccb2aa6.woff2") format("woff2");
  font-weight: 250 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --container-max: 1160px;
  --gutter: 40px;
  --section-space: clamp(56px, 7vw, 104px);
  --group-space: clamp(36px, 4.5vw, 64px);
  --media-space: clamp(24px, 3.3vw, 48px);
  --header-height: 88px;
  --ink: #171717;
  --muted: #929292;
  --coral: #fa886b;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --scene-ease: cubic-bezier(.22, 1, .36, 1);
  font-family: TildaSans, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  font-weight: 300;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, h1, h2, h3, p, figure, blockquote { margin: 0; }
button { color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
strong { font-weight: 500; }
::selection { background: #ffb79e; color: #171717; }
:focus-visible { outline: 2px solid #e56845; outline-offset: 6px; }
[hidden] { display: none !important; }
.container {
  width: min(var(--container-max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  min-width: 0;
}
.section { padding-block: var(--section-space); }
h2 { font-size: clamp(36px, 4.2vw, 58px); font-weight: 470; line-height: 1.12; letter-spacing: -.04em; text-wrap: balance; }
.display-heading { font-size: clamp(42px, 6.1vw, 88px); font-weight: 560; line-height: 1.01; letter-spacing: -.055em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 14px 20px; color: #fff; background: #171717; z-index: 100; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 5; width: 100%; background: #fff; box-shadow: 0 1px 0 rgb(23 23 23 / .07); }
.header-inner { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.wordmark { font-size: 22px; font-weight: 600; line-height: 1; letter-spacing: -.025em; flex-shrink: 0; }
.button {
  --glass-top: rgb(255 194 169 / .78);
  --glass-bottom: rgb(250 136 107 / .72);
  --glass-gloss: rgb(255 255 255 / .48);
  --glass-shadow: rgb(146 67 42 / .19);
  position: relative;
  isolation: isolate;
  min-height: 60px;
  padding: 18px 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--glass-top), var(--glass-bottom));
  color: #2b211c;
  border: 1px solid rgb(255 255 255 / .76);
  border-bottom-color: rgb(176 96 67 / .22);
  border-radius: 20px;
  box-shadow: 0 8px 24px -12px var(--glass-shadow), inset 0 1px 1px rgb(255 255 255 / .85), inset 0 -1px 1px rgb(255 255 255 / .2);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.button::before { content: ""; position: absolute; inset: 1px; border-radius: inherit; z-index: -1; pointer-events: none; background: linear-gradient(168deg, var(--glass-gloss), transparent 49%, rgb(255 255 255 / .05) 75%); opacity: .8; transition: opacity .2s ease; }
.button::after { content: ""; position: absolute; top: 1px; left: 16%; right: 16%; height: 1px; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .9), transparent); pointer-events: none; }
.button:hover { transform: translateY(-2px); border-top-color: #fff; box-shadow: 0 12px 28px -12px var(--glass-shadow), inset 0 1px 1px #fff, inset 0 -1px 1px rgb(255 255 255 / .25); }
.button:hover::before { opacity: 1; }
.button:active { transform: translateY(0) scale(.985); box-shadow: 0 3px 10px -6px var(--glass-shadow), inset 0 1px 3px rgb(90 40 20 / .12); }
.button--header, .button--outline { --glass-top: rgb(255 255 255 / .78); --glass-bottom: rgb(245 242 240 / .46); --glass-gloss: rgb(255 255 255 / .7); --glass-shadow: rgb(38 29 24 / .13); color: #333; border-bottom-color: rgb(60 42 31 / .14); }
.button--header { border-radius: 14px; min-height: 40px; padding: 10px 24px; font-size: 14px; }
.button--dark { --glass-top: rgb(69 56 51 / .82); --glass-bottom: rgb(26 25 24 / .88); --glass-gloss: rgb(255 255 255 / .18); --glass-shadow: rgb(37 22 15 / .28); color: #fff; border-color: rgb(255 255 255 / .4); min-width: 250px; }

.hero { background: radial-gradient(ellipse at 77% 44%, #fff1e9 0%, #fffbf8 34%, #fff 69%); }
.hero__inner { isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; min-height: max(660px, calc(100svh - var(--header-height))); padding-block: clamp(28px, 4vw, 60px); }
.hero__copy { grid-area: 1 / 1 / 2 / 2; z-index: 2; min-width: 0; padding-right: clamp(14px, 3.5vw, 50px); }
.hero__heading { font-weight: 620; line-height: 1.06; letter-spacing: -.05em; transform-origin: left center; }
.hero__statement { display: block; max-width: 11em; font-size: clamp(28px, 3.55vw, 48px); text-wrap: pretty; }
.hero__name { display: block; width: fit-content; padding-block: .055em .09em; font-size: clamp(103px, 16.8vw, 226px); line-height: .72; letter-spacing: -.045em; font-weight: 710; }
.hero__light { display: flex; align-items: center; gap: .28em; width: fit-content; font-size: clamp(25px, 3.5vw, 46px); white-space: nowrap; }
.hero .ai-badge { width: 1.85em; height: auto; }
.hero__copy p { max-width: 380px; font-size: 17px; font-weight: 400; line-height: 1.55; color: #535353; margin: 22px 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__copy .button--hero { width: 220px; max-width: 100%; min-height: 56px; padding: 16px 24px; border-radius: 18px; color: #211a17; font-weight: 600; }
.hero__next { font-weight: 600; color: #5e4238; text-decoration: underline; text-decoration-color: #cea897; text-underline-offset: 5px; padding-block: 8px; }
.hero__next:hover { color: #9b412d; }
.hero__scene { grid-area: 1 / 2 / 2 / 3; min-width: 0; width: 100%; pointer-events: none; }
.hero__art { position: relative; aspect-ratio: 1; background: #f7dfd1; border-radius: clamp(17px, 2.7vw, 38px); overflow: hidden; box-shadow: 0 28px 60px -40px #6b493f80; }
.hero__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__seal { position: absolute; display: grid; place-items: center; top: 5%; right: 5%; width: clamp(46px, 5.7vw, 78px); aspect-ratio: 1; border: 1px solid #fff9; border-radius: 50%; background: #fff9; box-shadow: 0 4px 14px #542a2417; }
.hero__symbol { display: block; width: 82%; height: auto; }

/* Short, progressive-enhancement brand sequence. Only transforms and opacity
   move during the hand-off; no filters, video, canvas, or animation library. */
html.intro-pending { overflow: hidden; }
.brand-intro { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; isolation: isolate; color: #333; }
.intro-pending .brand-intro { display: grid !important; }
.brand-intro__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, #fff5ef, #fff 70%); }
.brand-intro__stage { display: grid; justify-items: center; gap: 28px; text-align: center; }
.brand-intro__emblem { position: relative; width: 180px; height: 180px; animation: intro-arrive .9s cubic-bezier(.16, 1, .3, 1) both; }
.brand-intro__tile { position: absolute; inset: 0; border-radius: 42px; background: linear-gradient(145deg, #ffd2c4, #ffa282 55%, #fa886b); box-shadow: 0 24px 64px -36px #a24f37; }
.brand-intro__mark { position: relative; display: block; width: 180px; height: 180px; transform-origin: 50% 50%; }
.brand-intro__ring { stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 160px 160px; animation: intro-ring .8s cubic-bezier(.65, 0, .35, 1) .1s both; }
.brand-intro__wave { transform-box: fill-box; transform-origin: center; animation: intro-wave .6s var(--ease) .25s both; }
.brand-intro__stem { transform-box: fill-box; transform-origin: bottom; animation: intro-stem .5s var(--ease) .42s both; }
.brand-intro__name { position: relative; font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; animation: intro-name .6s var(--ease) .35s both; }
.brand-intro__name span { display: block; width: 32px; height: 3px; margin: 18px auto 0; border-radius: 2px; background: var(--coral); }
.brand-intro__skip { position: absolute; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); padding: 10px 14px; border: 1px solid rgb(255 255 255 / .8); border-radius: 12px; background: linear-gradient(145deg, #ffffffc7, #f4efeb80); box-shadow: 0 4px 16px -10px #43302740, inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #6a615c; font-size: 13px; font-weight: 400; }
.brand-intro__skip:hover { background: #fff; color: #171717; }
.intro-pending .site-header { opacity: 0; transform: translateY(-10px); }
.intro-pending .hero__scene { opacity: 0; }
.intro-pending .hero__symbol { opacity: 0; }
.intro-pending .hero__copy > * { opacity: 0; transform: translateY(16px); }
.intro-revealing .brand-intro__veil { opacity: 0; transition: opacity .8s ease; }
.intro-revealing .brand-intro__tile { opacity: 0; transform: scale(.8); transition: opacity .35s ease, transform .6s var(--ease); }
.intro-revealing .brand-intro__name { animation: none; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .35s ease; }
.intro-pending.intro-revealing .site-header { opacity: 1; transform: none; transition: opacity .7s ease .1s, transform .7s var(--ease) .1s; }
.intro-pending.intro-revealing .hero__scene { opacity: 1; transition: opacity .75s ease; }
.intro-pending.intro-revealing .hero__copy > * { opacity: 1; transform: none; transition: opacity .65s ease, transform .75s var(--ease); }
.intro-pending.intro-revealing .hero__copy > .hero__heading { transition-delay: .1s; }
.intro-pending.intro-revealing .hero__copy > p { transition-delay: .18s; }
.intro-pending.intro-revealing .hero__copy > .hero__actions { transition-delay: .24s; }
.intro-pending.intro-no-flight.intro-revealing .hero__symbol { opacity: 1; transition: opacity .8s ease; }
.intro-pending.intro-revealing .hero__image { animation: artwork-arrival .9s var(--ease) both; }
@keyframes artwork-arrival { from { scale: 1.035; } to { scale: 1; } }
@keyframes intro-arrive { from { opacity: 0; transform: translateY(20px) rotate(-8deg) scale(.84); } to { opacity: 1; transform: none; } }
@keyframes intro-ring { to { stroke-dashoffset: 0; } }
@keyframes intro-wave { from { opacity: 0; transform: translateY(10px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes intro-stem { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: scaleY(1); } }
@keyframes intro-name { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .brand-intro__name { font-size: 26px; }
  .brand-intro__skip { right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .intro-pending .brand-intro { display: none !important; }
  .intro-pending .site-header, .intro-pending .hero__scene, .intro-pending .hero__symbol, .intro-pending .hero__copy > * { opacity: 1; transform: none; }
  .intro-pending.intro-revealing .hero__image { animation: none; }
}


.story { background: linear-gradient(#fff, #fbf1eb 24%, #fbf1eb 92%, #fffaf6); }
.story h2 { max-width: 1000px; }
.story__layout { margin-top: var(--group-space); }
.story__steps { display: grid; gap: var(--group-space); }
.story__step { display: grid; gap: 20px; min-width: 0; }
.story__copy { min-width: 0; }
.story__number { margin-bottom: 10px; color: #784a3d; font-size: 14px; font-weight: 650; }
.story__copy h3 { margin-bottom: 12px; font-size: clamp(30px, 4vw, 52px); line-height: 1; font-weight: 640; letter-spacing: -.04em; }
.story__copy h3 + p, .examples__lead { max-width: 540px; color: #514640; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }
.story__panel { position: relative; min-width: 0; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; padding: clamp(8px, 1vw, 16px); border: 1px solid #e4d8d0; border-radius: clamp(14px, 2vw, 28px); background: #fff; }
.story__panel > :is(img, video) { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 10px; }
.story__sample { width: 100%; height: 100%; display: grid; align-content: center; gap: clamp(12px, 2.2vw, 28px); padding: clamp(15px, 4vw, 56px); border-radius: clamp(10px, 1.6vw, 21px); background: linear-gradient(140deg, #f5dacc, #fff4ea); }
.story__sample :is(figcaption, p, dt) { font-size: clamp(13px, 1.4vw, 17px); font-weight: 600; color: #784a3d; }
.story__sample blockquote { max-width: 470px; font-size: clamp(19px, 3.15vw, 40px); font-weight: 620; line-height: 1.13; letter-spacing: -.04em; }
.story__sample dl { display: grid; gap: clamp(8px, 1.5vw, 18px); margin: 0; }
.story__sample dl > div { padding-block-start: 7px; border-top: 1px solid #dec4b5; }
.story__sample dd { margin: 4px 0 0; font-size: clamp(17px, 2.6vw, 34px); line-height: 1.1; }
.story__sample dl > div:last-child dd { font-weight: 660; }
.video-toggle { position: absolute; bottom: clamp(10px, 2vw, 18px); right: clamp(10px, 2vw, 18px); min-height: 38px; padding: 6px 12px; font-size: 13px; font-weight: 550; border: 1px solid #e8d6cc; border-radius: 12px; background: #fff5ef; }
.story__link { display: inline-block; margin-top: 12px; padding: 5px 0; color: #793821; font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; border: 0; background: none; }
.story__link:hover { color: #a9442f; }
.story__stage { position: sticky; top: calc(var(--header-height) + clamp(18px, 5svh, 52px)); align-self: start; min-width: 0; }
.story__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.story__nav a { padding: 10px 5px; text-align: center; color: #66544b; border-bottom: 2px solid #d9c6ba; font-size: 15px; font-weight: 550; }
.story__nav a[aria-current="step"] { color: #733021; border-color: #c45d45; }
.story[data-story-sticky] .story__layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(28px, 5vw, 80px); }
.story[data-story-sticky] .story__steps { gap: 0; }
.story[data-story-sticky] .story__step { align-content: center; min-height: clamp(292px, 39svh, 384px); border-bottom: 1px solid #e8d6cb; scroll-margin-top: max(0px, calc(39svh - var(--header-height) - 22px)); }
.story[data-story-sticky] .story__copy { padding-block: 22px; }
.story__step.is-current .story__number { color: #9b3f2b; }

@media (min-width: 800px) {
  .story:not([data-story-sticky]) .story__step { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
}
@media (max-width: 799px) {
  .story__panel:has(.story__sample) { aspect-ratio: auto; }
}

.examples { background: #fffaf6; }
.examples__lead { margin-top: 18px; }
.examples__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.examples__actions .story__link { margin-top: 0; }
.gallery { padding-block: var(--media-space) 24px; }
.gallery__window { overflow: hidden; width: 100%; background: #e9dbcf; border-radius: clamp(15px, 2.6vw, 34px); }
.gallery__track { display: flex; transition: transform .55s var(--scene-ease); }
.gallery__slide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); flex: 0 0 100%; min-width: 0; min-height: clamp(300px, 39vw, 490px); color: #302017; background: #eddbca; }
.gallery__slide--audit { color: #fff3e9; background: #241f23; }
.gallery__slide--plants { color: #1c2920; background: #dbe5d9; }
.gallery__copy { display: grid; gap: clamp(13px, 2vw, 26px); align-content: center; padding: clamp(21px, 5vw, 76px); }
.gallery__copy h3 { font-size: clamp(32px, 5.15vw, 74px); line-height: .98; letter-spacing: -.055em; font-weight: 640; text-wrap: balance; }
.gallery__copy p { max-width: 30ch; font-size: clamp(16px, 1.7vw, 22px); line-height: 1.45; }
.gallery__copy .gallery__category { font-size: 14px; font-weight: 650; }
.gallery__art { position: relative; min-height: 0; }
.gallery__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.gallery__dots { padding-top: 20px; }
.dot { width: 9px; height: 9px; border: 0; border-radius: 8px; background: #c2c2c2; padding: 0; transition: background .2s, scale .25s var(--scene-ease); position: relative; }
.dot::before { content: ""; position: absolute; inset: -9px; }
.dot:hover { background: #777; }
.dot[aria-current="true"] { background: #ab4936; scale: 1.5 1; }
.functions { text-align: center; }
.functions > h2 { max-width: 900px; margin-inline: auto; }
.functions__controls { display: flex; gap: 12px; justify-content: flex-end; margin-block: 40px 20px; }
.functions__controls .button { min-height: 44px; padding: 10px 20px; }
.functions__viewport { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #bbb transparent; padding-bottom: 22px; text-align: left; }
.function-card { flex: 0 0 365px; min-width: 0; max-width: 100%; scroll-snap-align: start; background: #f1f1f1; }
.function-card img { width: 100%; aspect-ratio: 1.42; object-fit: cover; }
.function-card__copy { padding: 25px 25px 30px; }
.function-card h3 { font-size: 24px; font-weight: 500; line-height: 1.25; margin-bottom: 12px; }
.function-card p { font-size: 17px; line-height: 1.55; }
.function-card:focus-visible { outline-offset: -4px; }

.service, .education .section { padding-block: 0; text-align: center; }
.faq { padding-top: calc(var(--group-space) / 2); }
.faq > h2 { text-align: center; margin-bottom: var(--media-space); }
.faq__list { border-top: 1px solid #d5d5d5; }
.faq-item { border-bottom: 1px solid #d5d5d5; }
.faq-question { width: 100%; padding: 30px 0; font-size: 25px; font-weight: 400; line-height: 1.3; display: flex; gap: 30px; justify-content: space-between; align-items: center; background: none; border: none; text-align: left; }
.faq-plus { position: relative; width: 28px; height: 28px; flex-shrink: 0; transition: transform .35s ease; }
.faq-plus::before, .faq-plus::after { position: absolute; content: ""; background: currentColor; top: 13px; left: 2px; width: 24px; height: 1px; }
.faq-plus::after { transform: rotate(90deg); }
.faq-question[aria-expanded="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows .35s ease, opacity .35s ease, visibility .35s; }
.faq-answer > div { overflow: hidden; min-height: 0; }
.faq-answer p { padding-bottom: 30px; max-width: 860px; font-size: 20px; line-height: 1.6; }
.faq-question[aria-expanded="true"] { color: #d36b4f; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.final-cta { background: radial-gradient(ellipse at 86% 17%, #ffbba0, #f9eee8 68%); padding-block: clamp(36px, 4vw, 56px); }
.final-cta h2 { max-width: 780px; font-size: clamp(28px, 4vw, 56px); font-weight: 660; line-height: 1.08; text-wrap: balance; }
.final-cta .button { min-width: min(200px, 100%); min-height: 50px; margin-top: clamp(18px, 2vw, 26px); padding: 12px 24px; }
.site-footer { background: #171717; color: #fff; padding-block: clamp(32px, 4vw, 52px); }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #ffa282; }
.video-dialog { border: none; padding: 20px; width: min(1100px,calc(100% - 32px)); max-height: calc(100svh - 32px); background: #171717; color: #fff; }
.video-dialog::backdrop { background: rgba(0,0,0,.8); }
.video-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; }
.video-dialog__header h2 { font-size: 22px; font-weight: 400; }
.video-dialog__close { font-size: 32px; line-height: 1; width: 40px; height: 40px; border: 1px solid #ffffff40; border-radius: 12px; background: linear-gradient(145deg, #ffffff24, #ffffff0a); box-shadow: inset 0 1px 0 #ffffff33; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; }
.video-dialog video { width: 100%; max-height: calc(100svh - 140px); aspect-ratio: 16/9; background: #000; }
.video-dialog__error { padding: 15px; font-size: 16px; }

@media (prefers-reduced-motion: no-preference) {
  .story__stage .story__panel:not([hidden]) { animation: story-frame-in .52s var(--scene-ease) both; }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: .18s; }
  ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: var(--scene-ease); }

  @supports (animation-timeline: view()) {
    :is([data-reveal], .landing-page main h2, .story:not([data-story-sticky]) .story__panel):not(:focus-within) { animation: chapter-entry linear both; animation-timeline: view(); animation-range: entry 0% entry 92%; }
    [data-reveal="title"], .landing-page main h2 { --chapter-lift: 42px; }
    [data-reveal="media"], .story:not([data-story-sticky]) .story__panel { --chapter-lift: 34px; --chapter-scale: .96; }
  }
}

@keyframes chapter-entry {
  from { opacity: .58; translate: 0 var(--chapter-lift, 22px); scale: var(--chapter-scale, 1); }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes story-frame-in {
  from { opacity: .3; transform: translateY(18px) scale(.965); }
  to { opacity: 1; transform: none; }
}

/* The sticky header keeps both guides on the shared container edges as the page scrolls. */
.show-grid .header-inner { position: relative; }
.show-grid .header-inner::after { content: ""; position: absolute; inset: 0 0 auto; height: 100dvh; border-inline: 1px solid #e32727; pointer-events: none; }

@media (max-width: 1199px) {
  :root { --header-height: 80px; }
  .hero__inner { min-height: max(610px, calc(100svh - var(--header-height))); }
}
@media (max-width: 1023px) {
  :root { --gutter: 24px; }
  .hero__copy p { font-size: 17px; }
  .function-card { flex-basis: 320px; }
}
@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; row-gap: 12px; padding-block: 34px 10px; }
  .hero__copy { padding-right: 0; }
  .hero__statement { font-size: clamp(26px, 6.9vw, 40px); }
  .hero__name { font-size: clamp(108px, 31vw, 190px); }
  .hero__light { font-size: clamp(24px, 6.2vw, 36px); }
  .hero__copy p { margin-block: 18px 22px; }
  .hero__scene { grid-area: 2 / 1 / 3 / 2; width: min(100%, 520px); justify-self: center; }
  .gallery__slide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .faq-question { font-size: 22px; }
}
@media (max-width: 650px) {
  .wordmark { font-size: 20px; }
  .button { min-height: 56px; padding: 17px 44px; font-size: 16px; }
  .button--header { min-height: 35px; padding: 8px 17px; font-size: 13px; }
  .display-heading { font-size: 42px; }
  h2 { font-size: 36px; }
  .gallery__slide { grid-template-columns: 1fr; grid-template-rows: 1fr 220px; }
  .functions__controls { margin-top: 30px; }
  .functions__viewport { gap: 18px; }
  .function-card { flex-basis: 285px; }
  .function-card__copy { padding: 22px; }
  .function-card p { font-size: 16px; }
  .faq-question { font-size: 21px; gap: 20px; padding-block: 24px; }
  .faq-plus { width: 24px; height: 24px; }
  .faq-plus::before, .faq-plus::after { width: 20px; top: 11px; }
  .faq-answer p { font-size: 18px; padding-bottom: 24px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .footer-nav { flex-direction: column; }
  .video-dialog { padding: 12px; }
  .video-dialog__header h2 { font-size: 18px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .wordmark { font-size: 18px; }
  .header-inner { gap: 12px; }
  .button--header { padding-inline: 13px; }
  .display-heading { font-size: 36px; }
  .function-card { flex-basis: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .gallery__track { transition-property: none; }
}
