/* PaperChase Labs, 1109 elevation layer.
   Quiet, type-led lab. Phosphor stays the instrument colour; gold sheen is the signature.
   Loaded after the Astro bundles so it only refines; no markup is removed. */
:root{
  --lab-gold-1:#f6e2a8; --lab-gold-2:#d4a94e; --lab-gold-3:#8a6420; --lab-gold-4:#fff4cf;
  --lab-sheen:linear-gradient(100deg,#a87b2c 0%,#d4a94e 22%,#fff4cf 38%,#e6c372 52%,#b8893a 70%,#f1d58c 86%,#a87b2c 100%);
  --lab-sheen-soft:linear-gradient(100deg,rgba(212,169,78,.0),rgba(246,226,168,.55),rgba(212,169,78,.0));
  --lab-glass:rgba(16,14,11,.58);
  --lab-glass-line:rgba(246,226,168,.14);
  --lab-serif:"Cormorant Garamond","Cormorant Fallback","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --lab-sans:Archivo,"Archivo Fallback","Helvetica Neue",Arial,sans-serif;
  --lab-mute:#a3acb3;           /* AA on #0c0a08: 8.4:1 */
}

/* ---- constellation + grain layers (drawn by labs-1109.js) ---- */
body{isolation:isolate}
.lab-sky{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.55}
.lab-sky canvas{width:100%;height:100%;display:block}
.lab-grain{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.05;
  background-image:radial-gradient(rgba(255,255,255,.6) .5px,transparent .6px);background-size:3px 3px}
header.site-bar{z-index:30}

/* ---- type: serif editorial headlines, mono instrument text ---- */
main h1, main h2, .hero-title, .walk-title, .cred-headline{
  font-family:var(--lab-serif)!important;font-weight:500!important;letter-spacing:-.01em!important;
  font-feature-settings:"liga","dlig","onum";
}
main h1{line-height:1.02!important}
main h2{line-height:1.08!important}
main h1{font-size:clamp(2.2rem,4.6vw,4.2rem)!important}
.hero-title{font-size:clamp(2.35rem,6.2vw,5.4rem)!important}
main h2{font-size:clamp(1.85rem,3.6vw,3.1rem)!important}
.lab-gold, .lab-sheen-text{
  background:var(--lab-sheen);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;
  color:transparent!important;-webkit-text-fill-color:transparent;animation:lab-sheen 9s ease-in-out infinite;
  text-shadow:none!important;
}
@keyframes lab-sheen{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.section-title{text-decoration:none!important;color:transparent!important;background:var(--lab-sheen);background-size:200% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:.32em!important;font-size:12px!important}
.section-title::before{content:"";display:inline-block;width:2.2em;height:1px;margin-right:.8em;vertical-align:.3em;background:var(--lab-sheen)}

/* ---- glass header ---- */
.site-bar, .journey-header, .site-header{
  background:rgba(12,10,8,.62)!important;-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid transparent!important;border-image:var(--lab-sheen-soft) 1!important;
}
.site-bar{position:sticky!important;top:0}
.site-nav a, .site-bar nav a, .journey-header, .site-header nav a{min-height:44px;display:inline-flex!important;align-items:center;font-size:11px!important;color:#d9dde0!important}
.site-nav a:hover, .site-bar nav a:hover{color:var(--lab-gold-1)!important}
.site-nav a[aria-current=page]{color:var(--lab-gold-1)!important;text-decoration:none!important;box-shadow:inset 0 -1px 0 var(--lab-gold-2)}
.lab-nav-cta{border:1px solid rgba(212,169,78,.55);padding:0 .9rem!important;color:var(--lab-gold-1)!important;
  background:linear-gradient(180deg,rgba(246,226,168,.10),rgba(138,100,32,.06))}
.lab-brandmark{border-radius:6px;filter:drop-shadow(0 0 8px rgba(212,169,78,.35))}

/* ---- glass + sheen on frames and cards ---- */
.codec-frame{background:linear-gradient(180deg,rgba(24,20,15,.72),rgba(14,12,9,.62))!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-color:rgba(79,209,122,.42)!important;
  box-shadow:0 0 0 1px rgba(12,10,8,.9),0 0 0 3px rgba(79,209,122,.08),0 30px 60px -40px rgba(0,0,0,.9),inset 0 1px 0 rgba(246,226,168,.07)!important}
.codec-frame:hover{border-color:rgba(246,226,168,.55)!important}
.lab-ladder article .text-2xl, .lab-price{background:var(--lab-sheen);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}

/* ---- primary / ghost buttons ---- */
.lab-btn{display:inline-flex;align-items:center;justify-content:center;gap:.6em;min-height:48px;padding:0 1.35rem;
  font:600 12px/1 var(--font-mono);letter-spacing:.22em;text-transform:uppercase;text-decoration:none;white-space:normal;text-align:center}
.lab-btn-gold{color:#120e07!important;background:var(--lab-sheen);background-size:200% 100%;border:1px solid rgba(255,244,207,.55);
  box-shadow:0 10px 30px -12px rgba(212,169,78,.55),inset 0 1px 0 rgba(255,255,255,.45);transition:background-position .6s,box-shadow .3s}
.lab-btn-gold:hover{background-position:100% 0;box-shadow:0 14px 38px -10px rgba(212,169,78,.75),inset 0 1px 0 rgba(255,255,255,.5)}
.lab-btn-ghost{color:var(--color-ink)!important;border:1px solid rgba(234,234,234,.28);background:rgba(12,10,8,.35);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.lab-btn-ghost:hover{border-color:var(--lab-gold-2);color:var(--lab-gold-1)!important}
.walk-btn, .cred-btn{min-height:48px}
.walk-btn-fill, .cred-btn-primary{background:var(--lab-sheen)!important;background-size:200% 100%!important;color:#120e07!important;border-color:rgba(255,244,207,.55)!important}

/* ---- home hero: editorial statement on a transparency layer ---- */
.hero{min-height:calc(100svh - 64px)!important}
.hero::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(180deg,rgba(12,10,8,.15) 0%,rgba(12,10,8,0) 30%,rgba(12,10,8,.55) 62%,rgba(12,10,8,.94) 100%),
             radial-gradient(120% 70% at 12% 100%,rgba(12,10,8,.75),transparent 60%)}
.hero-copy{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"kicker" "title" "lede" "ctas"!important;
  padding:6rem clamp(1.1rem,4vw,3rem) clamp(1.6rem,5vh,3.2rem)!important;background:none!important;row-gap:.9rem!important}
.hero-kicker{font-size:12px!important;letter-spacing:.42em!important;color:var(--lab-gold-1)!important}
.hero-title{max-width:14ch!important;text-shadow:0 2px 30px rgba(5,5,5,.9)!important}
.lab-hero-lede{grid-area:lede;margin:0;max-width:46ch;font-size:clamp(16px,1.25vw,18px);line-height:1.55;color:#eceae4;text-shadow:0 1px 16px #050505}
.lab-hero-ctas{grid-area:ctas;display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:.35rem}
.hero-enter{grid-area:auto!important}
.lab-hero-note{flex-basis:100%;margin:.2rem 0 0;font-size:12px;letter-spacing:.08em;color:var(--lab-mute)}

/* Diamond Head stays in frame on phones and tablets: the plate takes the upper part of the hero,
   framed on the crater (left third of the image), and fades into the copy below. */
@media (max-width:900px){
  .hero{background:#0c0a08!important}
  .hero-plate{inset:0 0 auto 0!important;height:68%!important;object-position:34% 50%!important}
  .hero::after{background:linear-gradient(180deg,rgba(12,10,8,.05) 0%,rgba(12,10,8,0) 38%,rgba(12,10,8,.72) 56%,#0c0a08 68%,#0c0a08 100%)!important}
}
/* generic inner-page hero refinement */
.page-hero h1{max-width:16ch}

/* ---- ladder (accelerators) ---- */
.lab-ladder{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr)}
@media (min-width:700px){.lab-ladder{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.lab-ladder{grid-template-columns:repeat(3,minmax(0,1fr))}}
.lab-ladder>article>.relative{height:100%}
.lab-rung{font:600 11px/1 var(--font-mono);letter-spacing:.3em;color:var(--lab-gold-1)}
.lab-retired-note{display:none}

/* ---- network strip + contact ---- */
.lab-network{position:relative;margin:2.5rem 0 0;padding:2rem clamp(1rem,3vw,2rem);border:1px solid var(--lab-glass-line);
  background:linear-gradient(180deg,rgba(24,20,15,.6),rgba(12,10,8,.4));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);overflow:hidden}
.lab-network::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--lab-sheen)}
.lab-network-head{display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;justify-content:space-between;margin-bottom:1.4rem}
.lab-network-kicker{margin:0;font:600 12px/1.4 var(--font-mono);letter-spacing:.32em;text-transform:uppercase}
.lab-network ul{list-style:none;margin:0;padding:0;display:grid;gap:0 1.5rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr))}
.lab-network li a{display:flex;flex-direction:column;justify-content:center;min-height:56px;padding:.45rem 0;border-bottom:1px solid rgba(255,255,255,.07);text-decoration:none}
.lab-network li b{font:500 1.15rem/1.15 var(--lab-serif);color:var(--color-ink);letter-spacing:.01em}
.lab-network li span{font:500 12px/1.4 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lab-mute)}
.lab-network li a:hover b{color:var(--lab-gold-1)}
.lab-contact{display:flex;flex-wrap:wrap;gap:.6rem 1rem;margin-top:1.4rem;align-items:center}
.lab-contact a{min-height:44px;display:inline-flex;align-items:center;font:500 14px/1 var(--font-mono);letter-spacing:.06em;color:var(--color-ink);text-decoration:none;border-bottom:1px solid rgba(212,169,78,.45)}
.lab-contact a:hover{color:var(--lab-gold-1)}

/* ---- footer contrast (WCAG AA) + taps ---- */
.pcw-net{--pcw-net-mute:#a3acb3!important;--pcw-net-soft:#b8c0c6!important}
.pcw-net-label, .pcw-net-note{color:#a3acb3!important}
footer .opacity-70, footer .opacity-60{opacity:1!important}
footer [class*="text-[color:var(--color-ink-soft)]"]{color:#c9ced2!important}
footer a{min-height:44px}
footer a.flex, footer .pcw-net-item{min-height:44px;align-items:center}
footer .pcw-net-item{display:flex}
.pcw-mk-en, .pcw-mk-haw{font-family:var(--lab-sans)!important;font-stretch:72%}
.pcw-mk-ar{font-family:"Geeza Pro","Segoe UI","Noto Sans Arabic",Tahoma,system-ui,sans-serif!important}
.pcw-mk-jp{font-family:"Hiragino Sans","Yu Gothic","Noto Sans CJK JP","Noto Sans JP",system-ui,sans-serif!important}
.pcw-mk-ko{font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans CJK KR","Noto Sans KR",system-ui,sans-serif!important}
.pcw-mk-zh{font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",system-ui,sans-serif!important}
.pcw-net-foot span{color:#d7dbde}
.pcw-net-mark .pcw-mk-haw{background:var(--lab-sheen);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}

/* ---- legal pages: readable copyright line (was ink-faint at 10px) ---- */
.legal .copyline{color:#b8c0c6!important;font-size:12px!important}
.legal p,.legal li{line-height:1.7}

/* ---- research table: contained scroll with hint ---- */
.lab-scroll{position:relative;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.lab-scroll-hint{display:none;font:500 12px/1.4 var(--font-mono);letter-spacing:.16em;text-transform:uppercase;color:var(--lab-mute);margin:.4rem 0}

/* ---- tap-to-play video ---- */
.lab-play{position:absolute;inset:auto auto 1rem 1rem;z-index:5;min-height:44px;min-width:44px;padding:0 1rem;display:inline-flex;align-items:center;gap:.5rem;
  font:600 12px/1 var(--font-mono);letter-spacing:.2em;text-transform:uppercase;color:#120e07;background:var(--lab-sheen);border:0;cursor:pointer}
.lab-play[hidden]{display:none}

/* ---- phones: 16px body, 44px taps, no sideways scroll ---- */
@media (max-width:900px){
  .site-bar{flex-direction:column;align-items:stretch;gap:.35rem!important;padding:.55rem .8rem!important}
  .site-bar nav, .site-nav, html body .journey-header, .site-header nav.site-nav.flex{flex-wrap:nowrap!important;overflow-x:auto!important;padding-right:1.5rem!important;justify-content:flex-start!important;gap:0 1.1rem!important;
    scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent)}
  .site-bar nav::-webkit-scrollbar{display:none}
  .site-nav a, .site-bar nav a{flex:0 0 auto;font-size:12px!important}
  .journey-header, .site-header{flex-direction:column;align-items:stretch!important}
  .lab-scroll-hint{display:block}
}
@media (max-width:640px){
  html{-webkit-text-size-adjust:100%}
  main p, main li, main dd, main blockquote, main td, footer p, footer li,
  main [class*="text-[11px]"]:not(.uppercase):not([class*="tracking-[0.3"]):not([class*="tracking-[0.4"]):not([class*="tracking-[0.5"]):not(a),
  main [class*="text-[12px]"]:not(.uppercase):not([class*="tracking-[0.3"]):not([class*="tracking-[0.4"]):not(a),
  main [class*="text-[13px]"], main .text-xs:not(.uppercase), main .text-sm:not(.uppercase){font-size:16px!important;line-height:1.55!important}
  main p.uppercase, main p[class*="tracking-[0.3"], main p[class*="tracking-[0.4"], main p[class*="tracking-[0.5"],
  main [class*="text-[9px]"], main [class*="text-[10px]"], footer [class*="text-[9px]"], footer [class*="text-[10px]"], footer [class*="text-[8px]"]{font-size:12px!important;line-height:1.45!important;letter-spacing:.18em!important}
  .hero{min-height:calc(100svh - 104px)!important}
  .hero-copy{padding:4rem 1.1rem 1.4rem!important;row-gap:.7rem!important}
  .hero-title{font-size:clamp(2.2rem,11vw,3rem)!important}
  .lab-btn{width:100%}
  .lab-network li b{font-size:1.2rem}
  td, th{font-size:14px!important}
  img, video, canvas, svg{max-width:100%}
}
/* touch-size taps on phones and tablets */
@media (max-width:1024px), (pointer:coarse){
  main a[class*="px-"], main a[class*="py-"], main button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
  main a.block{display:flex!important}
  main a:not(p a):not(li a):not(td a):not(dd a):not(h1 a):not(h2 a):not(h3 a):not([class*="grid"]):not([class*="block"]):not([class*="flex"]):not([class*="walk-"]):not([class*="cred-"]):not(.pcw-net-item), .lab-tap{min-height:44px;display:inline-flex;align-items:center}
  main a.block, main a.flex{display:flex!important}
  .site-nav a, .site-bar nav a{min-width:44px;justify-content:center}
  header a.group, .site-bar > a{min-height:44px}
  .skip-to-content{min-height:44px;display:inline-flex;align-items:center}
  .pcw-clients a{min-height:44px;min-width:44px;justify-content:center}
  main a[href^="mailto:"], main a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px}
  footer a{min-width:44px;justify-content:center}
}
@media (prefers-reduced-motion:reduce){.lab-gold,.lab-sheen-text{animation:none}.lab-sky{display:none}}

/* short phones (e.g. 320x568): stack plate over copy so the copy never covers the crater,
   and zoom the plate toward Diamond Head so it stays prominent. */
@media (max-width:900px) and (max-height:700px){
  .hero{display:flex!important;flex-direction:column;min-height:0!important}
  .hero-plate{position:relative!important;inset:auto!important;width:100%!important;height:31svh!important;
    object-position:30% 45%!important;transform:scale(1.6);transform-origin:30% 42%}
  .hero::after{display:none}
  .hero-copy{position:relative!important;inset:auto!important;z-index:4;background:#0c0a08!important;
    padding:.85rem 1rem 1rem!important;row-gap:.55rem!important;box-shadow:0 -18px 22px -4px #0c0a08}
  .hero-kicker{letter-spacing:.22em!important;font-size:11px!important}
  .hero-title{font-size:2rem!important}
  .lab-hero-ctas .lab-btn{letter-spacing:.12em;min-height:46px}
}

@media (max-width:360px){.lab-hero-ctas .lab-btn{letter-spacing:.06em!important;white-space:nowrap}}

/* ---- ecosystem loop (pivot 2026-11-09) ---- */
.lab-eco{position:relative;max-width:1180px;margin:2.5rem auto;padding:1.5rem 1.1rem 1.6rem;border:1px solid var(--lab-glass-line);background:linear-gradient(180deg,rgba(16,14,11,.92),#0c0a08);color:#efe9dc;font-size:16px}
.lab-eco-head{display:flex;align-items:flex-end;gap:1rem;margin-bottom:.9rem}
.lab-eco-sprite{flex:none;width:72px;height:auto;image-rendering:pixelated;image-rendering:crisp-edges;filter:drop-shadow(0 6px 10px rgba(0,0,0,.6))}
.lab-eco-kicker{font-family:var(--lab-sans);font-size:11px;letter-spacing:.28em;text-transform:uppercase;color:#d4a94e;margin:0 0 .35rem}
.lab-eco-title{font-family:var(--lab-serif);font-size:clamp(1.7rem,5.5vw,2.6rem);line-height:1.08;margin:0;color:#f5efe2}
.lab-eco-lede{max-width:62ch;line-height:1.6;color:#cfc8ba;margin:0 0 1.1rem}
.lab-eco-loop{list-style:none;margin:0 0 .8rem;padding:0;display:grid;gap:.7rem;grid-template-columns:1fr}
.lab-eco-step{display:flex;flex-direction:column;gap:.25rem;min-height:44px;padding:.9rem 1rem;border:1px solid var(--lab-glass-line);background:var(--lab-glass);color:inherit;text-decoration:none;height:100%;box-sizing:border-box}
a.lab-eco-step:hover,a.lab-eco-step:focus-visible{border-color:#d4a94e}
.lab-eco-n{font-family:var(--lab-sans);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#d4a94e}
.lab-eco-step strong{font-size:17px;color:#f5efe2;overflow-wrap:anywhere}
.lab-eco-step span:last-child{color:#b9b2a4;line-height:1.5}
.lab-eco-path{font-family:var(--lab-sans);font-size:12px;letter-spacing:.12em;color:#a3acb3;margin:0 0 1.1rem}
.lab-eco-ctas{display:flex;flex-wrap:wrap;gap:.7rem}
@media (min-width:820px){.lab-eco{padding:2rem 2rem 2.2rem}.lab-eco-loop{grid-template-columns:repeat(4,1fr)}.lab-eco-sprite{width:96px}.lab-eco-ctas .lab-btn{width:auto}}
@media (max-width:360px){.lab-eco-sprite{width:60px}.lab-eco-title{font-size:1.55rem}}
.lab-eco-pointer p{line-height:1.7;color:#cfc8ba;font-size:15px}
.lab-eco-pointer a{color:#d4a94e;text-decoration:underline;text-underline-offset:3px}
@media (min-width:820px){.lab-eco-step strong{font-size:15px;letter-spacing:0}}
@media (max-width:480px){.lab-eco-ctas .lab-btn{letter-spacing:.06em!important;white-space:nowrap}.lab-eco{margin-left:.6rem;margin-right:.6rem}}

/* =====================================================================
   1109b: mobile-first motion layer.
   Root-cause fixes: no per-frame canvas or custom-property work on phones, no backdrop blur over
   moving layers except the header, no infinite paint animations, address-bar-proof heights.
   Motion is transform/opacity only and switches off under prefers-reduced-motion.
   ===================================================================== */
a, button, [role="button"], summary, label{touch-action:manipulation}
.lab-sky{inset:0 0 auto 0;overflow:hidden}
.lab-sky canvas{height:100lvh}
.lab-menu-btn, .lab-sheet{display:none}

@media (max-width:900px), (hover:none) and (pointer:coarse){
  /* sky is a still frame here; a slow compositor-only drift keeps it alive */
  .lab-sky-still .lab-sky canvas{animation:lab-drift 48s ease-in-out infinite alternate;transform-origin:50% 30%}
  /* blur stays on the header and the menu only; cards get a richer opaque glass instead */
  .codec-frame{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:linear-gradient(180deg,rgba(26,22,16,.95),rgba(14,12,9,.92))!important}
  .lab-network{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(180deg,rgba(26,22,16,.94),rgba(12,10,8,.9))}
  .lab-btn-ghost{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(12,10,8,.62)}
  .backdrop-blur-sm{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  /* gold sheen: a still highlight on touch screens (the moving one repainted every frame) */
  .lab-gold, .lab-sheen-text{animation:none;background-position:38% 50%}
  .illus-frame img, .illus-frame video{will-change:auto}
}
@keyframes lab-drift{from{transform:translate3d(0,0,0) scale(1.04)}to{transform:translate3d(-2.5%,-2%,0) scale(1.1)}}

/* ---- phone header: one 56px row, brand + Menu ---- */
@media (max-width:900px){
  .site-bar, html body .journey-header, .site-header{flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;
    gap:.75rem!important;min-height:56px;padding:.35rem .6rem .35rem 1rem!important}
  .lab-js .site-bar > nav, .lab-js .journey-header, .site-header > nav{display:none!important}
  html body .journey-header, .site-header{position:sticky!important;top:0;z-index:30;margin:-1.25rem -1rem 1.25rem!important;padding-top:calc(.35rem + env(safe-area-inset-top))!important}
  .site-bar{padding-top:calc(.35rem + env(safe-area-inset-top))!important}
  .site-bar, html body .journey-header, .site-header{background:rgba(12,10,8,.86)!important}
  .hero{min-height:calc(100svh - 56px)!important}
  .lab-menu-btn{display:inline-flex;align-items:center;gap:.65rem;min-height:44px;min-width:44px;margin-left:auto;padding:0 .8rem 0 1rem;
    border:1px solid rgba(212,169,78,.5);border-radius:999px;background:linear-gradient(180deg,rgba(246,226,168,.10),rgba(138,100,32,.05));
    color:var(--lab-gold-1);font:600 11px/1 var(--font-mono);letter-spacing:.26em;text-transform:uppercase;cursor:pointer;-webkit-tap-highlight-color:transparent;
    transition:transform .2s cubic-bezier(.2,.7,.2,1),border-color .2s,background-color .2s}
  .lab-menu-btn:active{transform:scale(.94);border-color:var(--lab-gold-1)}
  .lab-menu-btn:focus-visible{outline:2px solid var(--lab-gold-1);outline-offset:3px}
  .lab-menu-ico{position:relative;display:block;width:18px;height:12px}
  .lab-menu-ico i{position:absolute;left:0;right:0;height:1.5px;border-radius:2px;background:currentColor;transition:transform .4s cubic-bezier(.65,0,.35,1),opacity .25s}
  .lab-menu-ico i:nth-child(1){top:0}
  .lab-menu-ico i:nth-child(2){top:5.25px;left:5px}
  .lab-menu-ico i:nth-child(3){top:10.5px}
  html.lab-menu-open .lab-menu-ico i:nth-child(1){transform:translate3d(0,5.25px,0) rotate(45deg)}
  html.lab-menu-open .lab-menu-ico i:nth-child(2){opacity:0;transform:translate3d(6px,0,0)}
  html.lab-menu-open .lab-menu-ico i:nth-child(3){transform:translate3d(0,-5.25px,0) rotate(-45deg)}
  .site-bar, .journey-header, .site-header{view-transition-name:lab-bar}

  /* ---- full-screen sheet ---- */
  .lab-sheet{display:block;position:fixed;inset:0;z-index:60;height:100dvh;visibility:hidden;pointer-events:none;overscroll-behavior:contain}
  .lab-sheet[hidden]{display:none}
  html.lab-menu-open .lab-sheet{visibility:visible;pointer-events:auto}
  html.lab-menu-open, html.lab-menu-open body{overflow:hidden}
  .lab-sheet-bg{position:absolute;inset:0;opacity:0;transition:opacity .34s cubic-bezier(.4,0,.2,1);
    background:radial-gradient(110% 55% at 88% 0%,rgba(212,169,78,.20),transparent 62%),radial-gradient(90% 45% at 0% 100%,rgba(79,209,122,.12),transparent 62%),rgba(9,8,6,.975)}
  .lab-sheet-bg::after{content:"";position:absolute;left:1.25rem;right:1.25rem;top:calc(56px + env(safe-area-inset-top));height:1px;background:var(--lab-sheen-soft)}
  html.lab-menu-open .lab-sheet-bg{opacity:1}
  .lab-sheet-in{position:relative;height:100%;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;
    padding:env(safe-area-inset-top) 1.25rem calc(env(safe-area-inset-bottom) + 1.4rem) 1.25rem}
  .lab-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:56px;padding-right:0}
  .lab-sheet-kick{font:600 11px/1.3 var(--font-mono);letter-spacing:.3em;text-transform:uppercase;color:var(--lab-gold-1);opacity:0;transition:opacity .3s .1s}
  html.lab-menu-open .lab-sheet-kick{opacity:1}
  .lab-sheet-close{position:relative;flex:none;width:44px;height:44px;margin-right:-.35rem;border-radius:999px;border:1px solid rgba(212,169,78,.5);background:rgba(246,226,168,.06);color:var(--lab-gold-1);cursor:pointer;
    transform:rotate(-90deg) scale(.6);opacity:0;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .25s}
  html.lab-menu-open .lab-sheet-close{transform:none;opacity:1}
  .lab-sheet-close:active{transform:scale(.92)!important}
  .lab-sheet-close span::before, .lab-sheet-close span::after{content:"";position:absolute;left:13px;right:13px;top:50%;height:1.5px;margin-top:-.75px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
  .lab-sheet-close span::after{transform:rotate(-45deg)}
  .lab-sheet-nav ol{list-style:none;margin:clamp(.6rem,3vh,1.6rem) 0 0;padding:0;counter-reset:none}
  .lab-sheet-nav li, .lab-sheet-foot{opacity:0;transform:translate3d(0,26px,0);
    transition:opacity .22s cubic-bezier(.4,0,1,1),transform .22s cubic-bezier(.4,0,1,1)}
  html.lab-menu-open .lab-sheet-nav li, html.lab-menu-open .lab-sheet-foot{opacity:1;transform:none;
    transition:opacity .5s cubic-bezier(.2,.7,.2,1) calc(var(--i,0) * 55ms + 90ms),transform .62s cubic-bezier(.2,.8,.2,1) calc(var(--i,0) * 55ms + 90ms)}
  .lab-sheet-nav li{border-bottom:1px solid rgba(246,226,168,.10)}
  .lab-sheet-nav a{display:flex;align-items:center;gap:1rem;min-height:clamp(56px,8.4vh,72px);text-decoration:none;color:#f3eee3;-webkit-tap-highlight-color:transparent;
    transition:transform .2s cubic-bezier(.2,.7,.2,1)}
  .lab-sheet-n{flex:none;min-width:2.2ch;font:500 12px/1 var(--font-mono);letter-spacing:.18em;color:var(--lab-gold-2)}
  .lab-sheet-t{flex:1;font:500 clamp(2rem,9.6vw,2.9rem)/1.05 var(--lab-serif);letter-spacing:-.012em}
  .lab-sheet-arr{flex:none;font:400 1.3rem/1 var(--font-mono);color:var(--lab-gold-1);opacity:.5;transition:transform .25s cubic-bezier(.2,.7,.2,1),opacity .25s}
  .lab-sheet-nav a:active{transform:translate3d(6px,0,0)}
  .lab-sheet-nav a:active .lab-sheet-t, .lab-sheet-nav a:focus-visible .lab-sheet-t{color:var(--lab-gold-1)}
  .lab-sheet-nav a:active .lab-sheet-arr{opacity:1;transform:translate3d(4px,0,0)}
  .lab-sheet-nav a[aria-current=page] .lab-sheet-t{background:var(--lab-sheen);background-size:200% 100%;background-position:38% 50%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
  .lab-sheet-nav a[aria-current=page] .lab-sheet-arr{opacity:1}
  .lab-sheet-foot{margin-top:auto;padding-top:1.6rem;display:grid;gap:.8rem}
  .lab-sheet-foot .lab-btn{width:100%;min-height:52px}
  .lab-sheet-contact{display:flex;flex-wrap:wrap;gap:0 1.4rem;margin:0}
  .lab-sheet-contact a{min-height:44px;display:inline-flex;align-items:center;font:500 16px/1 var(--font-mono);color:var(--color-ink);text-decoration:underline;text-decoration-color:rgba(212,169,78,.5);text-underline-offset:5px}
  .lab-sheet-line{margin:0;font:500 12px/1.5 var(--font-mono);letter-spacing:.14em;text-transform:uppercase;color:var(--lab-mute)}

  /* ---- hero arrival: the plate settles, the copy rises in sequence ---- */
  .hero-plate{animation:lab-settle 2.6s cubic-bezier(.16,.8,.24,1) both}
  .hero-kicker, .hero-title, .lab-hero-lede, .lab-hero-ctas{animation:lab-rise .9s cubic-bezier(.2,.75,.2,1) both}
  .hero-title{animation-delay:.07s}
  .lab-hero-lede{animation-delay:.16s}
  .lab-hero-ctas{animation-delay:.25s}
}
@keyframes lab-settle{from{scale:1.09}to{scale:1}}
@keyframes lab-rise{from{opacity:0;transform:translate3d(0,18px,0)}to{opacity:1;transform:none}}

/* ---- scroll reveal (labs-1109.js marks below-the-fold blocks) ---- */
.lab-js .lab-rv{opacity:0;transform:translate3d(0,24px,0)}
.lab-js .lab-rv.lab-in{opacity:1;transform:none;transition:opacity .75s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms),transform .9s cubic-bezier(.2,.8,.2,1) var(--rv-d,0ms),border-color .55s,box-shadow .55s}

/* ---- press states: every tap answers within a frame ---- */
@media (hover:none){
  a, button{-webkit-tap-highlight-color:transparent}
  .lab-btn, .walk-btn, .cred-btn, .lab-play{transition:transform .18s cubic-bezier(.2,.7,.2,1),background-position .6s,box-shadow .3s,border-color .2s}
  .lab-btn:active, .walk-btn:active, .cred-btn:active, .lab-play:active{transform:scale(.965)}
  .lab-btn-gold:active{background-position:100% 0;box-shadow:0 6px 18px -8px rgba(212,169,78,.8),inset 0 1px 0 rgba(255,255,255,.5)}
  .lab-btn-ghost:active{border-color:var(--lab-gold-2);color:var(--lab-gold-1)!important}
  .lab-eco-step, .lab-tile, .lab-network li a{transition:transform .18s cubic-bezier(.2,.7,.2,1),border-color .2s}
  .lab-eco-step:active, .lab-tile:active{transform:scale(.985);border-color:var(--lab-gold-2)}
  .lab-network li a:active b{color:var(--lab-gold-1)}
  main p a:active, main li a:active, footer a:active, .lab-contact a:active{opacity:.7}
}

/* ---- page-to-page: cross-document view transitions (Chrome, Safari 18.2+; others just navigate) ---- */
@view-transition{navigation:auto}
::view-transition-old(root){animation:.2s cubic-bezier(.4,0,1,1) both lab-vt-out}
::view-transition-new(root){animation:.36s cubic-bezier(0,0,.2,1) both lab-vt-in}
::view-transition-group(lab-bar){animation-duration:.3s}
@keyframes lab-vt-out{to{opacity:0;transform:translate3d(0,-8px,0)}}
@keyframes lab-vt-in{from{opacity:0;transform:translate3d(0,14px,0)}}

@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .lab-sky-still .lab-sky canvas, .hero-plate, .hero-kicker, .hero-title, .lab-hero-lede, .lab-hero-ctas{animation:none!important}
  .lab-js .lab-rv{opacity:1;transform:none}
  .lab-sheet *, .lab-menu-ico i, .lab-sheet-bg{transition:none!important}
}
/* phones: hero copy set over line art gets a soft dark halo so every word reads */
@media (max-width:640px){.page-hero-copy p, .page-hero-copy h1{text-shadow:0 0 10px #050505,0 0 3px #050505,0 1px 2px #050505}}
/* phones: the walk's fork/door bar used to appear ABOVE the station list when a station changed,
   pushing every card down mid-scroll (CLS ~0.15). It now sits after the list and still sticks to the bottom. */
@media (max-width:900px){
  .walk-voice > .walk-fork, .walk-voice > .walk-door, .walk-voice > .lab-walk-cta{order:2}
  .lab-walk-cta{display:grid;position:sticky;bottom:1rem;z-index:6}
  .lab-walk-cta > .walk-fork, .lab-walk-cta > .walk-door{grid-area:1/1;align-self:end;position:relative!important;bottom:auto!important}
  .lab-walk-cta > :not([hidden]){animation:lab-rise .45s cubic-bezier(.2,.75,.2,1) both}
}
