/* OOME DESIGN TOKENS — change the complete palette here. */
:root{--base-ink:#253026;--base-muted:#626e5c;--base-line:#dcded4;--inverse-line:#ffffff26;--inverse-border:#ffffff70;--shadow-color:#2530260b;--hero-top:#14201644;--hero-mid:#14201638;--hero-bottom:#14201688;--image-shade:#152116b8;--backdrop:#14201699;--focus:#98ac56;--inverse-muted:#c1c7b7;--paper:#faf9f5;--white:#fff;--sage:#eeeee5;--ink:#253026;--muted:#626e5c;--dark:#253026;--cream:#f7f4e8;--line:#dcded4;--accent:#dee5b6;--overlay:rgba(20,32,22,.44);--shadow:0 12px 32px var(--shadow-color);--serif:'Domine',Georgia,serif;--sans:'Inter',Arial,sans-serif;--content:1152px;--radius:32px;--space:clamp(72px,8.3vw,128px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.7 var(--sans);-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:5px}button{border:0}h1,h2,h3,h4,p,figure{margin:0}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;line-height:1.13;letter-spacing:-.045em}h2{font-size:clamp(35px,4.25vw,60px)}h3{font-size:30px}p{color:var(--muted)}.container{max-width:var(--content);margin:auto;width:calc(100% - 96px)}.section{padding:var(--space) 0}.tone-paper{background:var(--paper)}.tone-white{background:var(--white)}.tone-sage{background:var(--sage)}.tone-dark{background:var(--dark);color:var(--cream)}.eyebrow{font-size:10px;font-weight:500;letter-spacing:.13em;color:var(--muted);margin-bottom:22px}.section-heading{max-width:850px;margin-bottom:56px}.lead{font-size:17px;line-height:1.8;margin-top:25px;max-width:760px}.nav{position:absolute;z-index:5;top:0;left:0;width:100%;padding:25px 4%;display:flex;align-items:center;justify-content:space-between;color:var(--cream);border-bottom:1px solid var(--inverse-line)}.logo{font-size:41px;font-weight:500;letter-spacing:-.09em;line-height:1}.logo span{font-size:10px;vertical-align:top;display:inline-block;margin:7px 0 0 5px;letter-spacing:0}.nav nav{display:flex;gap:36px;font-size:12px}.nav-cta{font-size:12px;border:1px solid var(--inverse-border);border-radius:99px;padding:10px 18px}.nav-cta span{margin-left:20px}.hero{min-height:760px;height:100svh;position:relative;display:grid;place-items:center;color:var(--cream);overflow:hidden}.hero-poster,.hero video,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{background:linear-gradient(180deg,var(--hero-top),var(--hero-mid) 40%,var(--hero-bottom))}.hero-content{position:relative;text-align:center;padding:120px 24px;max-width:1100px}.hero .eyebrow{color:var(--cream);font-size:11px;margin-bottom:30px}.hero h1{font-size:clamp(48px,6.7vw,96px);line-height:1.1;letter-spacing:-.055em}.hero-content>p:not(.eyebrow){color:var(--cream);font-size:16px;line-height:1.8;margin:30px 0}.button{border-radius:99px;background:var(--ink);color:var(--cream);display:inline-flex;gap:45px;align-items:center;padding:14px 24px;font-size:12px}.button.light{background:var(--cream);color:var(--ink)}.hero-bottom{position:absolute;bottom:32px;width:92%;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.13em}.hero-bottom button{background:none;color:inherit;border:1px solid var(--inverse-border);border-radius:99px;padding:8px 16px;letter-spacing:0;font-size:11px}.section-index{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.13em;color:var(--muted);margin-bottom:28px}.media{position:relative;border-radius:var(--radius);overflow:hidden;isolation:isolate;background:var(--sage);min-height:400px}.media img{position:absolute;inset:-32px 0;width:100%;height:calc(100% + 64px);object-fit:cover;transform:translateY(var(--shift,0px));will-change:transform}.media:has(figcaption):after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 35%,var(--image-shade));z-index:0}.media figcaption{position:absolute;bottom:38px;left:40px;right:35px;z-index:1;color:var(--cream);font:400 clamp(25px,3vw,42px)/1.25 var(--serif);letter-spacing:-.03em}.wide{aspect-ratio:1.9}.metrics-row{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin-top:48px;border-top:1px solid var(--line);padding-top:27px}.metric h3{font-size:clamp(36px,4.5vw,58px);margin-bottom:12px}.metric-title{font-size:13px;color:var(--ink);margin-bottom:6px}.metric p:not(.metric-title){font-size:11px}.feature-image{aspect-ratio:2.15}.image-note{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.1em;margin-top:18px;color:var(--muted)}.image-note span:last-child{font-size:22px}.split{display:grid;grid-template-columns:1.3fr 1fr;gap:28px}.split .media{min-height:520px}.split figcaption{font-size:29px;left:30px;bottom:30px}.metric-stack{display:grid;gap:24px}.metric-stack .metric{background:var(--sage);border:1px solid var(--line);border-radius:var(--radius);padding:34px}.metric-stack h3{font-size:43px}.metric-stack p:not(.metric-title){font-size:13px}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 36px}.chips button{border:1px solid var(--line);border-radius:99px;background:var(--white);padding:12px 21px;font-size:12px;display:flex;gap:25px;align-items:center;transition:background .2s,color .2s}.chips button[aria-selected=true]{background:var(--ink);color:var(--cream);border-color:var(--ink)}.tab-panel{padding:42px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);min-height:310px}.panel-heading{display:flex;justify-content:space-between;gap:20px}.panel-heading h3{font-size:34px;margin-bottom:14px}.panel-heading .eyebrow{margin-bottom:12px}.panel-heading p{font-size:14px}.panel-symbol{font-size:68px;color:var(--muted);line-height:1}.panel-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;border-top:1px solid var(--line);margin-top:30px;padding-top:27px}.panel-metrics h4{font-size:30px;margin-bottom:7px}.panel-metrics p{font-size:11px}.cards{display:grid;grid-template-columns:repeat(2,1fr);gap:26px}.card{padding:34px;background:var(--sage);border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;min-height:280px}.card-top{display:flex;justify-content:space-between;align-items:start}.card-top>span{font-size:10px;color:var(--muted)}.card h3{font-size:27px;margin:0 0 17px;letter-spacing:-.035em}.card>p{font-size:13px;max-width:430px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:30px;padding-top:19px}.card-bottom>span{font-size:8px;letter-spacing:.08em;color:var(--muted)}.card-bottom strong{font:400 22px var(--serif);letter-spacing:-.03em}.quote{background:var(--dark);color:var(--cream);border-radius:40px;padding:55px 65px;position:relative;overflow:hidden}.quote-mark{font:70px var(--serif);line-height:1;color:var(--accent)}blockquote{font:400 clamp(26px,3.1vw,42px)/1.45 var(--serif);letter-spacing:-.025em;margin:0 0 35px;max-width:850px}.quote figcaption{font-size:12px}.quote small{display:block;color:var(--inverse-muted);font-size:10px;margin-top:3px}.quote-flower{position:absolute;bottom:32px;right:45px;color:var(--accent);font-size:65px}.section:has(.quote){padding-top:0}footer{padding:90px 0 30px}.footer-top{display:flex;justify-content:space-between;align-items:center}.footer-top .eyebrow{color:var(--inverse-muted)}.footer-top h2{font-size:clamp(38px,4.3vw,60px);margin-bottom:30px}.footer-logo{font-size:130px}.footer-logo span{font-size:15px;margin-top:25px}.footer-links{display:grid;grid-template-columns:2fr 1fr 1fr;border-top:1px solid var(--inverse-line);margin-top:70px;padding:32px 0 48px;gap:30px}.footer-links>div{display:flex;flex-direction:column;align-items:start;gap:9px}.footer-links span{font-size:9px;letter-spacing:.12em;color:var(--inverse-muted);margin-bottom:7px}.footer-links button{background:none;color:var(--cream);padding:0;font-size:12px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--inverse-line);padding-top:24px;font-size:9px;color:var(--inverse-muted)}.skip{position:fixed;top:-100px;z-index:20;background:var(--white);padding:12px}.skip:focus{top:10px}dialog{max-width:500px;width:calc(100% - 40px);padding:40px;border:1px solid var(--line);border-radius:28px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:var(--backdrop)}dialog h2{font-size:34px}dialog p:not(.eyebrow){margin:24px 0;font-size:14px}.dialog-close:not(.button){position:absolute;right:16px;top:8px;background:none;font-size:28px}code{font-size:12px}@media(min-width:1700px){:root{--base-ink:#253026;--base-muted:#626e5c;--base-line:#dcded4;--inverse-line:#ffffff26;--inverse-border:#ffffff70;--shadow-color:#2530260b;--hero-top:#14201644;--hero-mid:#14201638;--hero-bottom:#14201688;--image-shade:#152116b8;--backdrop:#14201699;--focus:#98ac56;--inverse-muted:#c1c7b7;--content:1250px}}@media(max-width:760px){.container{width:calc(100% - 40px)}.nav{padding:20px}.nav nav{display:none}.logo{font-size:34px}.nav-cta{font-size:10px;padding:8px 13px}.hero{min-height:670px}.hero-content{padding:120px 20px}.hero-content>p:not(.eyebrow){font-size:14px}.hero-content br:not(h1 br){display:none}.hero-bottom>span{display:none}.hero-bottom{bottom:24px;font-size:8px}.section-heading{margin-bottom:35px}.lead{font-size:15px;margin-top:20px}.eyebrow{font-size:9px;margin-bottom:18px}.media{border-radius:24px;min-height:380px}.media figcaption{left:25px;bottom:27px;right:22px;font-size:29px}.wide{aspect-ratio:1}.metrics-row{grid-template-columns:1fr;gap:25px;margin-top:30px}.metric h3{font-size:40px}.metrics-row .metric{border-bottom:1px solid var(--line);padding-bottom:22px}.metrics-row .metric:last-child{border:0;padding-bottom:0}.feature-image{aspect-ratio:1.1}.split{grid-template-columns:1fr;gap:20px}.split .media{min-height:430px}.metric-stack{gap:18px}.metric-stack .metric{padding:28px;border-radius:24px}.metric-stack h3{font-size:36px}.chips{gap:8px;margin-bottom:25px}.chips button{padding:10px 14px;font-size:11px;gap:15px}.tab-panel{padding:25px;border-radius:24px}.panel-heading h3{font-size:28px}.panel-heading p{font-size:13px}.panel-symbol{font-size:35px}.panel-metrics{grid-template-columns:repeat(2,1fr);gap:25px}.panel-metrics h4{font-size:26px}.cards{grid-template-columns:1fr;gap:18px}.card{padding:26px;min-height:260px;border-radius:24px}.card h3{font-size:26px}.card-bottom strong{font-size:20px}.quote{padding:35px 28px;border-radius:28px}.quote-flower{font-size:35px;right:25px;bottom:20px}blockquote{font-size:27px;margin-bottom:30px}.quote-mark{font-size:50px}footer{padding-top:65px}.footer-top{align-items:start}.footer-logo{font-size:65px;margin-top:35px}.footer-logo span{font-size:9px;margin-top:10px}.footer-top h2{font-size:35px}.footer-links{grid-template-columns:repeat(2,1fr);margin-top:45px}.footer-links>div:first-child{grid-column:1/-1}.footer-bottom{flex-wrap:wrap;font-size:8px}.section-index{font-size:8px}.image-note{font-size:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.media img{transform:none;will-change:auto}*{transition:none!important}}

/* Section tone overrides keep every section reusable on a dark fill. */
.section.tone-dark{--ink:var(--cream);--muted:var(--inverse-muted);--line:var(--inverse-line)}
.section.tone-dark .metric-stack,.section.tone-dark .tab-panel,.section.tone-dark .cards,.section.tone-dark .chips{--ink:var(--base-ink);--muted:var(--base-muted);--line:var(--base-line)}

/* Constrain media independently of aspect-ratio and minimum-height sizing. */
.container,.section-heading,.split>*{min-width:0}
.media{width:100%;max-width:100%;min-width:0}
.media figcaption{overflow-wrap:break-word}
.logo:has(img){display:block;flex:none;width:112px;line-height:0}
.logo img{display:block;width:100%;height:auto;filter:brightness(0) invert(1)}
@media(max-width:760px){
 .logo:has(img){width:94px}
 .wide{aspect-ratio:auto;min-height:0;height:clamp(340px,110vw,520px)}
 .feature-image{aspect-ratio:auto;min-height:0;height:clamp(340px,100vw,480px)}
 .split .media{aspect-ratio:auto;height:430px;min-height:0}
 .media figcaption{font-size:clamp(23px,6.8vw,29px);left:24px;right:24px}
 .footer-top>div{min-width:0}
}

.logo.footer-logo:has(img){width:clamp(120px,24vw,330px)}
.menu-toggle{display:none}
@media(max-width:1180px){
 .nav{gap:16px}
 .nav-cta{margin-left:auto;order:1}
 .menu-toggle{order:2;display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:10px;background:transparent;color:inherit;flex:none}
 .menu-toggle span{display:block;width:24px;height:1px;background:currentColor;transition:transform .2s,opacity .2s}
 .menu-toggle[aria-expanded=true] span:first-child{transform:translateY(6px) rotate(45deg)}
 .menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
 .menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-6px) rotate(-45deg)}
 .nav nav{display:none;position:absolute;top:100%;left:20px;right:20px;flex-direction:column;gap:0;background:var(--cream);color:var(--base-ink);padding:12px 24px;border-radius:20px;box-shadow:var(--shadow)}
 .nav nav.is-open{display:flex}
 .nav nav a{display:block;padding:13px 0;font-size:14px}
}
@media(max-width:400px){.nav{gap:8px}.nav-cta{padding:8px 10px}.logo.footer-logo:has(img){width:100px}.footer-top{gap:14px}.footer-top h2{font-size:30px}}

/* Separate image and caption layers create a gentle floating depth on scroll. */
.parallax img{inset:-52px 0;height:calc(100% + 104px)}
.parallax figcaption{transform:translate3d(0,var(--text-shift,0px),0);will-change:transform}
.panel-metrics>div{min-width:0}.panel-metrics p{overflow-wrap:break-word}
@media(prefers-reduced-motion:reduce){.parallax img,.parallax figcaption{transform:none;will-change:auto}}

.nav{border-bottom:0}
.hero-bottom .hero-motion{width:44px;height:44px;padding:0;display:grid;place-items:center;font-size:20px;letter-spacing:0;border-radius:50%}
.footer-links button[data-store="instagram"],.footer-links button[data-store="linkedin"]{display:inline-flex;align-items:center;gap:9px}
.footer-links svg{width:17px;height:17px;flex:none}.text-link{display:inline-flex;align-items:center;gap:7px;font-weight:500;text-decoration:none}.text-link:hover{color:var(--focus)}
.quote-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:40px}.quote-track::-webkit-scrollbar{display:none}.quote-track .quote{flex:0 0 100%;min-width:0;scroll-snap-align:start}.quote-controls{display:flex;justify-content:flex-end;align-items:center;gap:16px;margin-top:20px}.quote-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:20px}.quote-position{font-size:11px;color:var(--muted)}
.popup-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:25px}.pending-link{font-size:12px;padding:10px 14px;background:var(--sage);border-radius:12px}dialog .button.dialog-close{position:static}
body[data-page="about"] .nav{position:relative;background:var(--dark)}body[data-page="about"] #about{padding-top:100px}body[data-page="about"] .lead+.text-link{margin-top:24px}
@media(max-width:760px){.quote-track{border-radius:28px}}

body[data-page="about"] #about h1{font-size:clamp(38px,5vw,68px)}

button.nav-cta{background:transparent;color:inherit}

.split-reverse{grid-template-columns:1fr 1.3fr}.split-reverse .media{order:2}.split-reverse .metric-stack{order:1}
.footer-links .social-link{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:var(--cream)}
#philosophy.section{padding-top:var(--space)}
.quote-carousel{position:relative;padding-inline:56px}
.quote-controls{display:block;margin-top:20px;text-align:center}
.quote-position{font:500 9px/1.7 var(--sans);letter-spacing:.13em;color:var(--muted)}
.quote-controls button{position:absolute;top:calc((100% - 36px)/2);transform:translateY(-50%)}
.quote-controls button[data-quote-step="-1"]{left:0}.quote-controls button[data-quote-step="1"]{right:0}
.quote-carousel:not(:has(.quote-controls)){padding-inline:0}
@media(max-width:760px){.split-reverse{grid-template-columns:1fr}.split-reverse .media{order:2}.split-reverse .metric-stack{order:1}.quote-carousel{padding-inline:34px}.quote-controls button{width:28px;height:40px;font-size:18px;border:0;background:transparent}.quote-track .quote{padding:30px 22px}.quote-track blockquote{font-size:clamp(21px,5.2vw,27px)}}

.quote-track{gap:24px}
.quote-controls{margin-top:10px}
.quote-controls button{border:0;background:transparent;border-radius:0;top:calc((100% - 25px)/2)}

:root{--hero-readable-shade:rgba(12,22,16,.24)}
body.hero-intro .hero-content,body.hero-intro .hero-bottom,body.hero-intro .nav>:not(.logo){opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s}
body.hero-intro .hero-shade{opacity:.35;transition:opacity .8s ease}
body.hero-intro .hero-shade::after{content:'';position:absolute;inset:0;background:var(--hero-readable-shade);opacity:0;transition:opacity .8s ease}
body.hero-revealed .hero-content,body.hero-revealed .hero-bottom,body.hero-revealed .nav>:not(.logo){opacity:1;visibility:visible}
body.hero-revealed .hero-shade,body.hero-revealed .hero-shade::after{opacity:1}
@media(prefers-reduced-motion:reduce){body.hero-intro .hero-content,body.hero-intro .hero-bottom,body.hero-intro .nav>:not(.logo),body.hero-intro .hero-shade,body.hero-intro .hero-shade::after{transition:none}}

/* ── Marketing copy additions ─────────────────────────────────────────────── */
.nav nav{gap:clamp(18px,2.2vw,36px)}
.hero-content>p+p:not(.eyebrow){margin-top:-10px}
.hero-content>p:not(.eyebrow){max-width:720px;margin-left:auto;margin-right:auto}
@media(max-width:520px){.hero h1{font-size:clamp(30px,9.6vw,44px)}}
.section-closing{font:400 clamp(22px,2.4vw,32px)/1.25 var(--serif);letter-spacing:-.03em;color:var(--ink);margin:44px 0 0;max-width:760px}
.section-cta{margin-top:40px}
.metric h3.metric-name,.metric-stack h3.metric-name{font-size:clamp(26px,2.8vw,34px);line-height:1.1}
.cards-plain .card{min-height:0}
.cards-plain .card p{margin-bottom:0}
.footer-text{max-width:560px;margin:0 0 30px;font-size:15px;line-height:1.8;color:var(--inverse-muted)}
.footer-links--2{grid-template-columns:2fr 1fr}
.panel-metrics h4{font-size:clamp(22px,2.2vw,28px)}
@media(min-width:761px){
  .panel-metrics[data-count="3"]{grid-template-columns:repeat(3,1fr)}
  .cards.cards-3{grid-template-columns:repeat(3,1fr)}
}
@media(min-width:761px) and (max-width:1100px){.cards.cards-3{grid-template-columns:repeat(2,1fr)}}

/* ── Standard body size (matches .lead) for all running text ── */
:root{--body-size:17px}
.hero-content>p:not(.eyebrow),.metric p:not(.metric-title),.metric-stack p:not(.metric-title),.metric-title,.panel-heading p,.panel-metrics p,.card>p,.footer-text,dialog p:not(.eyebrow),.section-closing{font-size:var(--body-size)}
.panel-metrics p{line-height:1.6}
@media(max-width:760px){:root{--body-size:15px}.hero-content>p:not(.eyebrow){font-size:var(--body-size)}}

/* ── Hero: dark green until the video arrives (no poster flash) ── */
.hero{background:#142016}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.hero-actions .button{gap:12px}
.hero-trailer{background:transparent;color:var(--cream);border:1px solid var(--inverse-border)}
.hero-trailer:hover{background:#ffffff1f}
.play-icon{font-size:10px}

/* ── Trailer dialog ── */
dialog.video-dialog{max-width:none;width:92vw;height:90vh;padding:0;border:0;border-radius:20px;background:#000;overflow:hidden}
.video-dialog::backdrop{background:rgba(10,18,12,.88)}
.video-frame,.video-frame iframe{width:100%;height:100%;border:0;display:block}
.video-close{position:absolute;top:12px;right:16px;z-index:2;width:44px;height:44px;border-radius:50%;background:#000000a0;color:#fff;font-size:30px;line-height:1;border:1px solid #ffffff55}

/* ── Hero video carousel: crossfade + controls ── */
.hero .hero-vid{opacity:0;transition:opacity 1.2s ease}
.hero .hero-vid.is-active{opacity:1}
.hero-controls{display:flex;align-items:center;gap:10px}
.hero-bottom .hero-controls .hero-motion{font-size:24px;line-height:1}
@media(prefers-reduced-motion:reduce){.hero .hero-vid{transition:none!important}}

/* ── Hero lead line: 2x body size ── */
.hero-content>p:not(.eyebrow):first-of-type{font-size:calc(var(--body-size) * 2);line-height:1.4;max-width:860px}
.hero-content>p:not(.eyebrow):first-of-type+p{margin-top:0}

/* ── Mobile: hero lead scales with the title; title gets the room ── */
@media(max-width:760px){.hero-content>p:not(.eyebrow):first-of-type{font-size:clamp(17px,4.9vw,30px);line-height:1.35}}
@media(max-width:520px){.hero-content{padding-left:14px;padding-right:14px}.hero h1{font-size:clamp(30px,10vw,48px)}}

/* ── Hero background shade: 30% darker (alpha x1.3) ── */
:root{--hero-top:#14201659;--hero-mid:#1420164a;--hero-bottom:#142016b0;--hero-readable-shade:rgba(12,22,16,.31)}

/* Dialogs take focus themselves on open, so no ring on the close button (keyboard Tab still shows it) */
dialog:focus,dialog:focus-visible{outline:none}

/* ── FeatureDevice: text beside a portrait phone image ── */
.device-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(40px,6vw,88px);align-items:center}
.device-reverse{grid-template-columns:.85fr 1.15fr}
.device-reverse .device-figure{order:-1}
.device-copy .section-heading{margin-bottom:36px}
.device-copy .section-cta{margin:0 0 40px}
.device-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px;border-top:1px solid var(--line);padding-top:27px}
.device-figure{margin:0;display:flex;flex-direction:column;align-items:center}
.device-figure img{display:block;width:auto;max-width:100%;max-height:min(78vh,720px);height:auto;object-fit:contain}
.device-figure figcaption{margin-top:18px;text-align:center;font-size:var(--body-size);color:var(--muted)}
@media(max-width:900px){
  .device-layout,.device-reverse{grid-template-columns:1fr;gap:40px}
  .device-reverse .device-figure{order:0}
  .device-figure img{width:min(300px,72%);max-height:none}
}

/* ── Phone image parallax: moves ~1.6x the usual image drift ── */
.device-figure img{transform:translateY(calc(var(--shift,0px) * 1.6));will-change:transform}
@media(max-width:900px){.device-figure img{transform:translateY(var(--shift,0px))}}
@media(prefers-reduced-motion:reduce){.device-figure img{transform:none;will-change:auto}}

/* ── Tabs: optional image at the right of the panel, full panel height ── */
.tab-panel.has-image{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,34%);padding:0;overflow:hidden}
.tab-panel.has-image .panel-main{padding:42px}
.panel-image{margin:0;display:flex;justify-content:center;min-height:100%;position:relative}
.panel-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.panel-image-top img{object-position:center top}
@media(max-width:760px){
  .tab-panel.has-image{grid-template-columns:1fr}
  .tab-panel.has-image .panel-main{padding:25px}
  .panel-image{min-height:260px}
}
