/* =============================================================================
   PRIME PRECAST PRODUCTS — style.css
   1 Tokens · 2 Base · 3 Type & buttons · 4 Intro · 5 Header & menu · 6 Hero
   7 Rail · 8 About · 9 Products · 10 Why · 11 Process · 12 Uses · 13 Gallery
   14 Contact · 15 Footer · 16 Drawer · 17 Lightbox · 18 Dock · 19 Motion
   20 Responsive
   ========================================================================== */

/* 1 · Tokens ---------------------------------------------------------------- */
:root {
  --ink: #13112f;          /* deep indigo night, from the logo */
  --ink-2: #1c1946;
  --ink-3: #0d0b24;
  --indigo: #2f2a85;       /* brand indigo */
  --lav: #aaa4e2;          /* logo's light violet, for dark grounds */
  --sun: #f4b740;          /* milestone yellow */
  --sun-hi: #ffc95a;
  --wa: #128c4a;

  --paper: #f4f2ee;        /* warm concrete white */
  --paper-2: #e9e6e0;
  --text: #1a1930;
  --muted: #5f5d71;
  --line: #e0dcd4;
  --line-d: rgba(255, 255, 255, .13);

  /* light studio sweep the product cut-outs sit on */
  --studio: radial-gradient(95% 85% at 50% 36%, #ffffff 0%, #f4f2ee 55%, #e3dfd7 100%);

  --ff-d: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
  --ff: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;

  --wrap: 1260px;
  --gut: clamp(20px, 4vw, 44px);
  --hd: 84px;

  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-io: cubic-bezier(.7, 0, .2, 1);
  --slide: 7000ms;

  --mk1: #fff;
  --mk2: var(--lav);
}

/* 2 · Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 400 16.5px/1.6 var(--ff);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--sun); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }

.m1 { fill: var(--mk1); }
.m2 { fill: var(--mk2); }

.sec { padding: clamp(88px, 11vw, 160px) 0; }

/* 3 · Type & buttons -------------------------------------------------------- */
.h2 {
  font: 700 clamp(36px, 4.5vw, 64px)/1.02 var(--ff-d);
  letter-spacing: -.035em; color: var(--ink);
  max-width: 17ch; text-wrap: balance;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font: 600 12.5px/1 var(--ff-d); letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow span {
  display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 8px;
  background: var(--sun); color: var(--ink); letter-spacing: .04em; font-size: 11.5px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.eyebrow--dark { color: var(--lav); }
.lead { font: 500 clamp(19px, 1.6vw, 22px)/1.45 var(--ff); color: var(--text); margin-bottom: 18px; }
.about p:not(.lead):not(.eyebrow), .sec__note { color: var(--muted); }

.slab { display: inline-block; width: 8px; height: 16px; background: var(--sun); transform: skewX(-20deg); }

.btn {
  --bh: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 28px;
  font: 600 15px/1 var(--ff); letter-spacing: .005em; white-space: nowrap;
  border-radius: 2px; transition: color .45s var(--e-out), border-color .45s, background-color .45s;
}
.btn svg { width: 19px; height: 19px; transition: transform .5s var(--e-out); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn::before {             /* slab-shaped fill that sweeps in on hover */
  content: ''; position: absolute; z-index: -1; inset: 0 -20%;
  transform: translateX(-105%) skewX(-20deg); transition: transform .6s var(--e-out);
}
.btn:hover::before { transform: translateX(0) skewX(-20deg); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun::before { background: var(--ink); }
.btn--sun:hover { color: #fff; }
.btn--glass { color: #fff; border: 1px solid rgba(255, 255, 255, .38); background: rgba(19, 17, 47, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--ink); border-color: #fff; }
.btn--line { color: var(--ink); border: 1px solid var(--line); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: #fff; border-color: var(--ink); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa::before { background: #0c6b38; }

.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.link svg { width: 18px; height: 18px; transition: transform .5s var(--e-out); }
.link:hover svg { transform: translateX(5px); }
.link--light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.link--light:hover { border-color: var(--sun); }

.circ {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); color: #fff;
  transition: background-color .35s, color .35s, border-color .35s, transform .35s var(--e-out);
}
.circ svg { width: 19px; height: 19px; }
.circ:hover { background: #fff; color: var(--ink); border-color: #fff; }
.circ:active { transform: scale(.94); }
.circ--dark { border-color: var(--line); color: var(--ink); width: 42px; height: 42px; }
.circ--dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 4 · Intro ------------------------------------------------------------------ */
.intro { display: none; }
html.intro .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--ink); --mk1: #fff; --mk2: var(--lav);
  animation: curtain 1s var(--e-io) 1.55s forwards;
}
.intro__mark { display: grid; justify-items: center; gap: 22px; }
.intro__mark svg { width: 74px; overflow: visible; }
.intro .s { opacity: 0; animation: lower .9s var(--e-out) forwards; }
.intro .s2 { animation-delay: .14s; }
.intro .s3 { animation-delay: .28s; }
.intro__name { overflow: hidden; font: 600 13px/1.4 var(--ff-d); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.intro__name span { display: block; transform: translateY(105%); animation: rise .8s var(--e-out) .6s forwards; }
@keyframes lower { from { opacity: 0; transform: translateY(-70px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }
@keyframes curtain { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
html.intro { overflow: hidden; }
html.intro.intro-done { overflow: auto; }

/* 5 · Header & menu ---------------------------------------------------------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 80; height: var(--hd); color: #fff;
  transition: background-color .5s, color .5s, transform .6s var(--e-out), box-shadow .5s, height .5s var(--e-out);
}
.hd__progress { position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--sun); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hd__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.hd.is-solid {
  --hd: 72px; color: var(--ink); background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  --mk1: #2b2565; --mk2: #847da4;
}
.hd.is-hidden { transform: translateY(-100%); }

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { width: 30px; height: 32px; }
.brand__tx { display: flex; flex-direction: column; line-height: 1; }
.brand__tx b { font: 700 19px/1 var(--ff-d); letter-spacing: -.02em; }
.brand__tx i { font: 600 10px/1 var(--ff-d); font-style: normal; letter-spacing: .34em; text-transform: uppercase; margin-top: 5px; opacity: .7; }

.hd__nav { display: flex; gap: 30px; }
.hd__nav a { position: relative; font: 500 15px/1 var(--ff); padding: 8px 0; opacity: .88; white-space: nowrap; transition: opacity .3s; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--e-out); }
.hd__nav a:hover, .hd__nav a.is-on { opacity: 1; }
.hd__nav a:hover::after, .hd__nav a.is-on::after { transform: scaleX(1); transform-origin: left; }

.hd__act { display: flex; align-items: center; gap: 18px; }
.hd__tel { display: flex; align-items: center; gap: 8px; font: 600 15px/1 var(--ff); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hd__tel svg { width: 18px; height: 18px; color: var(--sun); }
.hd.is-solid .hd__tel svg { color: var(--indigo); }

.burger { display: none; width: 46px; height: 46px; position: relative; border-radius: 50%; border: 1px solid rgba(127, 127, 140, .35); }
.burger i { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform .5s var(--e-out), top .5s var(--e-out); }
.burger i:first-child { top: 18px; }
.burger i:last-child { top: 25px; }
.menu-open .burger i:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 21.5px; transform: rotate(-45deg); }
.hd.menu-open { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; --mk1: #fff; --mk2: var(--lav); transform: none; }

.menu {
  position: fixed; inset: 0; z-index: 75; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hd) + 32px) var(--gut) calc(28px + env(safe-area-inset-bottom));
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path .8s var(--e-io), visibility 0s .8s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .8s var(--e-io); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-d);
  font: 700 clamp(30px, 8vw, 44px)/1.1 var(--ff-d); letter-spacing: -.03em;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .7s var(--e-out);
}
.menu__nav small { font: 600 12px var(--ff-d); color: var(--sun); letter-spacing: .1em; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .3s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .35s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .4s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .45s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: grid; gap: 16px; }
.menu__tel { display: flex; flex-direction: column; gap: 4px; }
.menu__tel span { font-size: 13px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .14em; }
.menu__tel b { font: 700 28px var(--ff-d); }

/* 6 · Hero ------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__img { position: absolute; inset: 0; opacity: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero__img.is-on { opacity: 1; z-index: 2; }
.hero__img.is-on img, .hero__img.is-out img { animation: drift calc(var(--slide) + 2500ms) linear forwards; }
.hero__img.is-in { animation: wipe 1.5s var(--e-io) both; }
.hero__img.is-out { opacity: 1; z-index: 1; }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19, 17, 47, .9) 0%, rgba(19, 17, 47, .62) 38%, rgba(19, 17, 47, .12) 72%, rgba(19, 17, 47, 0) 100%),
    linear-gradient(0deg, rgba(19, 17, 47, .9) 0%, rgba(19, 17, 47, 0) 34%),
    linear-gradient(180deg, rgba(19, 17, 47, .55) 0%, rgba(19, 17, 47, 0) 22%);
}

.hero__body { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(120px, 15vh, 170px); }
.hero__copy { display: grid; }
.copy { grid-area: 1 / 1; align-self: end; }
.copy:not(.is-on) { pointer-events: none; }
.copy__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 600 13px/1 var(--ff-d); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.copy__h { font: 700 clamp(48px, 7.6vw, 118px)/.94 var(--ff-d); letter-spacing: -.045em; }
.copy__h .ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.copy__h .ln > span { display: inline-block; }
.copy__h em { font-style: normal; color: var(--sun); }
.copy__p { max-width: 520px; margin-top: 24px; font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

/* copy states — animated in when .hero is ready */
.js .copy__eyebrow, .js .copy__p { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .9s var(--e-out); }
.js .copy__h .ln > span { transform: translateY(108%); transition: transform 1.1s var(--e-out); }
.js .hero__cta { opacity: 0; transform: translateY(16px); transition: opacity .8s .55s, transform 1s var(--e-out) .55s; }
.js .hero.is-ready .copy.is-on .copy__eyebrow { opacity: 1; transform: none; transition-delay: .05s; }
.js .hero.is-ready .copy.is-on .ln > span { transform: none; }
.js .hero.is-ready .copy.is-on .ln:nth-child(1) > span { transition-delay: .12s; }
.js .hero.is-ready .copy.is-on .ln:nth-child(2) > span { transition-delay: .22s; }
.js .hero.is-ready .copy.is-on .copy__p { opacity: 1; transform: none; transition-delay: .42s; }
.js .hero.is-ready .hero__cta { opacity: 1; transform: none; }
.js .copy.is-leaving .ln > span { transform: translateY(-108%); transition: transform .7s var(--e-io); }
.js .copy.is-leaving .copy__eyebrow, .js .copy.is-leaving .copy__p { opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .6s var(--e-io); }
.js .copy.no-tr * { transition: none !important; }

.hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__bar-in { display: flex; align-items: center; gap: 32px; }
.tabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.tab {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 26px 24px 26px 0; text-align: left;
  font: 600 12.5px/1.2 var(--ff-d); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
  transition: color .4s;
}
.tab b { color: rgba(255, 255, 255, .5); font-weight: 600; transition: color .4s; }
.tab:hover, .tab.is-on { color: #fff; }
.tab.is-on b { color: var(--sun); }
.tab__fill { position: absolute; left: 0; right: 24px; top: -1px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.hero.is-ready .tab.is-on .tab__fill { animation: fill var(--slide) linear forwards; }
.hero.is-paused .tab.is-on .tab__fill { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__ctrl { display: flex; align-items: center; gap: 10px; }
.hero__count { margin-right: 10px; font: 600 13px var(--ff-d); letter-spacing: .08em; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.hero__count b { color: #fff; }

/* 7 · Product rail ----------------------------------------------------------- */
.rail { background: var(--ink); color: #fff; overflow: hidden; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.rail__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.rail span { font: 600 clamp(24px, 2.6vw, 36px)/1 var(--ff-d); letter-spacing: -.025em; white-space: nowrap; }
.rail span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .45); }
.rail i { width: 10px; height: 24px; background: var(--sun); transform: skewX(-20deg); }
.rail:hover .rail__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8 · About ------------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 12% 14% 0; }
.about__big { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--paper-2); }
.about__big img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.about__small { position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 4 / 3; overflow: hidden; border: 10px solid #fff; background: #fff; box-shadow: 0 30px 60px -28px rgba(19, 17, 47, .45); }
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; left: clamp(-28px, -2vw, -12px); top: 36px; display: flex; align-items: center; gap: 16px;
  padding: 18px 22px 18px 18px; background: var(--sun); color: var(--ink);
  font: 600 14px/1.3 var(--ff-d); box-shadow: 0 20px 40px -20px rgba(19, 17, 47, .5);
}
.slabs { display: flex; gap: 3px; }
.slabs i { width: 7px; height: 26px; background: var(--ink); transform: skewX(-20deg); }
.slabs i:nth-child(2) { margin-top: 4px; }
.slabs i:nth-child(3) { margin-top: 8px; }
.about__copy .h2 { margin-bottom: 28px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 20px 24px 0; border-bottom: 1px solid var(--line); }
.stats > div:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
.stats dt { display: flex; align-items: baseline; gap: 8px; font: 700 clamp(36px, 3.4vw, 50px)/1 var(--ff-d); letter-spacing: -.035em; color: var(--indigo); }
.stats dt small { font: 600 13px var(--ff-d); letter-spacing: .02em; color: var(--muted); }
.stats dd { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }

/* 9 · Products (slide-by-slide carousel) ------------------------------------- */
.products { background: var(--paper); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.sec__note { max-width: 300px; font-size: 15.5px; line-height: 1.55; padding-bottom: 8px; }

.pbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.pbar__nav { display: flex; gap: 10px; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  font: 600 14px/1 var(--ff); color: var(--text); transition: background-color .35s, color .35s, border-color .35s;
}
.chip sup { font-size: 11px; color: var(--muted); top: 0; transition: color .35s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-on sup { color: var(--sun); }

.car__track {
  --cols: 4; --gap: 20px;
  display: grid; grid-auto-flow: column; gap: var(--gap);
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 10px 0 40px; margin: -10px 0 -40px;
}
.car__track::-webkit-scrollbar { display: none; }
.car__track > * { scroll-snap-align: start; }
.car__ui { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.car__bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.car__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--ink); transition: transform .5s var(--e-out), width .3s; }
.car__count { font: 600 13px var(--ff-d); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.car__count b { color: var(--ink); }

.card {
  position: relative; display: flex; flex-direction: column; height: 100%; background: #fff;
  transition: transform .6s var(--e-out), box-shadow .6s var(--e-out), opacity .35s;
}
.card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--e-out); }
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(19, 17, 47, .4); }
.card:hover::after { transform: scaleX(1); }
.card[hidden] { display: none; }
.card__hit { position: absolute; inset: 0; z-index: 2; }
.card__hit:focus-visible { outline-offset: 4px; }

/* the product cut-out stands on a light studio plate, with a soft floor shadow */
.card__stage { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--studio); }
.card__stage::before {
  content: ''; position: absolute; left: 50%; bottom: 11%; width: 62%; height: 18px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(19, 17, 47, .2), rgba(19, 17, 47, 0)); transition: transform .9s var(--e-out), opacity .9s;
}
.card__stage img {
  position: absolute; left: 50%; bottom: 14%; width: auto; height: auto; max-width: 74%; max-height: 70%; object-fit: contain;
  transform: translateX(-50%); filter: drop-shadow(0 16px 14px rgba(19, 17, 47, .14));
  transition: transform 1s var(--e-out);
}
.card:hover .card__stage img { transform: translate(-50%, -8px) scale(1.04); }
.card:hover .card__stage::before { transform: translateX(-50%) scale(.86); opacity: .7; }
.card__no { position: absolute; left: 14px; top: 14px; z-index: 1; padding: 7px 10px; background: var(--ink); color: #fff; font: 600 11.5px/1 var(--ff-d); letter-spacing: .1em; }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 20px; border-top: 1px solid var(--line); }
.card__cat { font: 600 11.5px/1 var(--ff-d); letter-spacing: .15em; text-transform: uppercase; color: var(--indigo); }
.card h3 { margin: 12px 0 10px; font: 700 21px/1.15 var(--ff-d); letter-spacing: -.02em; color: var(--ink); }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-bottom: 20px; }
.card__more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font: 600 14px/1 var(--ff); color: var(--ink); }
.card__more i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background-color .4s, border-color .4s, transform .5s var(--e-out); }
.card__more svg { width: 17px; height: 17px; }
.card:hover .card__more i { background: var(--sun); border-color: var(--sun); transform: rotate(-45deg); }

.card--cta { background: var(--indigo); color: #fff; padding: 30px 28px; overflow: hidden; justify-content: space-between; }
.card--cta::after { display: none; }
.card--cta:hover { transform: none; box-shadow: none; }
.card--cta svg.cta__mark { position: absolute; right: -40px; bottom: -40px; width: 220px; height: 232px; --mk1: rgba(255, 255, 255, .07); --mk2: rgba(255, 255, 255, .04); }
.card--cta h3 { color: #fff; font-size: 26px; letter-spacing: -.025em; margin: 18px 0 12px; max-width: 14ch; }
.card--cta p { color: rgba(255, 255, 255, .75); margin-bottom: 26px; }
.card--cta .card__cat { color: var(--sun); }
.card--cta .btn { position: relative; z-index: 1; align-self: flex-start; }

/* 10 · Why precast ----------------------------------------------------------- */
.why { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.why__mark { position: absolute; right: -8vw; top: -6vw; width: 50vw; height: auto; --mk1: rgba(255, 255, 255, .035); --mk2: rgba(255, 255, 255, .02); pointer-events: none; }
.why .h2 { color: #fff; margin-bottom: 26px; }
.why__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.why__copy p:not(.eyebrow) { color: rgba(255, 255, 255, .68); max-width: 440px; margin-bottom: 32px; }

.compare { border-top: 1px solid var(--line-d); }
.compare__row { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; border-bottom: 1px solid var(--line-d); }
.compare__row > span { display: flex; align-items: center; gap: 12px; padding: 19px 18px; font-size: 15.5px; line-height: 1.35; color: rgba(255, 255, 255, .5); }
.compare__row > span:first-child { padding-left: 0; color: #fff; font-weight: 600; }
.compare__row .is-us { color: #fff; font-weight: 600; background: rgba(244, 183, 64, .07); box-shadow: inset 1px 0 rgba(244, 183, 64, .28), inset -1px 0 rgba(244, 183, 64, .28); }
.compare__row:not(.compare__row--head) .is-us::before { content: ''; width: 8px; height: 15px; background: var(--sun); transform: skewX(-20deg); flex: none; }
.compare__row--head > span { padding-top: 16px; padding-bottom: 16px; font: 600 12px/1.2 var(--ff-d); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.compare__row--head .is-us { background: var(--sun); color: var(--ink); box-shadow: none; --mk1: var(--ink); --mk2: var(--indigo); }
.compare__row--head .is-us svg { width: 16px; height: 17px; }

.qual { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line-d); }
.qual li { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.qual li + li { padding-left: 24px; border-left: 1px solid var(--line-d); }
.qual b { font: 600 12.5px var(--ff-d); letter-spacing: .1em; color: var(--sun); }
.qual span { font: 600 19px/1.25 var(--ff-d); letter-spacing: -.01em; color: #fff; }

/* 11 · Process --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--e-out); }
.step:hover .step__img img { transform: scale(1.06); }
/* numbered slab, then a line that draws when the step comes into view */
.step__no { display: flex; align-items: center; gap: 14px; margin: 26px 0 18px; }
.step__no b {
  display: grid; place-items: center; min-width: 46px; height: 30px; padding: 0 10px;
  background: var(--ink); color: #fff; font: 700 13.5px/1 var(--ff-d); letter-spacing: .06em;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.step__no::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--sun), var(--line) 70%); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--e-out) .35s; }
.step.is-in .step__no::after { transform: scaleX(1); }
.step h3 { font: 700 22px/1.2 var(--ff-d); letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* 12 · Uses ------------------------------------------------------------------ */
.uses { background: var(--paper); }
.panels { display: flex; gap: 12px; height: clamp(460px, 44vw, 600px); }
.panel { position: relative; flex: 1; min-width: 0; overflow: hidden; cursor: pointer; background: var(--ink); transition: flex 1s var(--e-out); outline-offset: -3px; }
.panel.is-on { flex: 4.4; cursor: default; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--e-out), opacity .6s; opacity: .7; }
.panel.is-on img { transform: scale(1); opacity: 1; }
.panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19, 17, 47, .9) 0%, rgba(19, 17, 47, .2) 50%, rgba(19, 17, 47, 0) 70%); }
.panel__in { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 26px; color: #fff; }
.panel__no { display: block; font: 600 12.5px/1 var(--ff-d); letter-spacing: .12em; color: var(--sun); margin-bottom: 14px; }
.panel h3 { font: 700 clamp(24px, 2.3vw, 32px)/1.05 var(--ff-d); letter-spacing: -.03em; white-space: nowrap; }
.panel p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .78); white-space: nowrap; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--e-out); }
.panel.is-on p { opacity: 1; transform: none; transition-delay: .35s; }
.panel:not(.is-on) h3 { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 21px; letter-spacing: -.01em; }

/* 13 · Gallery --------------------------------------------------------------- */
.reel { display: grid; gap: 14px; overflow: hidden; }
.reel__row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.reel__row--rev { animation-direction: reverse; animation-duration: 80s; }
.reel:hover .reel__row { animation-play-state: paused; }
.shot { position: relative; width: clamp(250px, 25vw, 380px); aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e-out); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; font-size: 13.5px; font-weight: 500; color: #fff; text-align: left; background: linear-gradient(0deg, rgba(19, 17, 47, .8), rgba(19, 17, 47, 0)); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--e-out); }
.shot:hover img { transform: scale(1.06); }
.shot:hover span, .shot:focus-visible span { opacity: 1; transform: none; }

/* 14 · Contact --------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(96px, 12vw, 160px) 0; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; opacity: .2; filter: grayscale(.4); }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 15%, rgba(19, 17, 47, .7) 60%, rgba(19, 17, 47, .85)); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(48px, 7vw, 100px); align-items: center; }
.contact .h2 { color: #fff; margin-bottom: 22px; }
.contact__copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .7); max-width: 440px; }
.contact__tel { display: flex; align-items: center; gap: 18px; margin: 40px 0 24px; width: fit-content; }
.contact__tel-ic { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); transition: transform .5s var(--e-out); }
.contact__tel-ic svg { width: 24px; height: 24px; }
.contact__tel:hover .contact__tel-ic { transform: rotate(-12deg) scale(1.06); }
.contact__tel small { display: block; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.contact__tel b { font: 700 clamp(30px, 3.4vw, 44px)/1 var(--ff-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.contact__extra { margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .7); line-height: 1.7; }
.contact__extra a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); }

.form { background: #fff; color: var(--text); padding: clamp(28px, 3.4vw, 42px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6); }
.form__t { font: 700 30px/1.1 var(--ff-d); letter-spacing: -.03em; color: var(--ink); }
.form__s { font-size: 14.5px; color: var(--muted); margin: 8px 0 26px; }
.f { position: relative; margin-bottom: 12px; }
.f input, .f select, .f textarea {
  width: 100%; height: 60px; padding: 24px 16px 8px; border: 1px solid var(--line); border-radius: 2px;
  background: var(--paper); font: 500 16px/1.3 var(--ff); color: var(--ink); outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.f textarea { height: auto; min-height: 104px; padding-top: 28px; resize: vertical; }
.f select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2313112f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 16px center; }
.f label { position: absolute; left: 17px; top: 20px; font-size: 15.5px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--e-out), color .3s; }
.f label span { color: #8c8a9b; }
.f input:focus, .f select:focus, .f textarea:focus { border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 3px rgba(47, 42, 133, .12); }
.f input:focus + label, .f input:not(:placeholder-shown) + label,
.f textarea:focus + label, .f textarea:not(:placeholder-shown) + label,
.f--sel label { transform: translateY(-11px) scale(.78); color: var(--indigo); }
.f.is-err input { border-color: #c4352b; background: #fff6f5; }
.form .btn { margin-top: 8px; }
.form__note { margin-top: 12px; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form__note.is-err { color: #c4352b; }

/* 15 · Footer ---------------------------------------------------------------- */
.ft { background: var(--ink-3); color: rgba(255, 255, 255, .62); padding: clamp(72px, 9vw, 110px) 0 28px; overflow: hidden; }
.ft__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.brand--ft { color: #fff; margin-right: 0; }
.brand--ft .brand__mark { width: 44px; height: 46px; }
.brand--ft .brand__tx b { font-size: 26px; }
.ft__claim { font: 600 clamp(20px, 2vw, 26px)/1.25 var(--ff-d); letter-spacing: -.02em; color: #fff; text-align: right; }
.ft__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0; }
.ft h3 { font: 600 12px var(--ff-d); letter-spacing: .16em; text-transform: uppercase; color: var(--lav); margin-bottom: 18px; }
.ft ul { display: grid; gap: 10px; }
#ftProducts { grid-template-columns: 1fr 1fr; column-gap: 24px; }
.ft a, .ft button { font-size: 15px; color: rgba(255, 255, 255, .72); text-align: left; transition: color .3s; }
.ft a:hover, .ft button:hover { color: var(--sun); }
.ft__addr { margin-top: 14px; font-size: 14.5px; line-height: 1.6; }
.ft__word { display: block; width: 100%; height: auto; margin: 12px 0 34px; overflow: visible; user-select: none; }
.ft__word text { font: 800 164px var(--ff-d); letter-spacing: -.04em; fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.ft__end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 13.5px; }

/* 16 · Product drawer -------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer[hidden] { display: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(13, 11, 36, .6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; transition: opacity .5s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(780px, 100%); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .75s var(--e-out); box-shadow: -40px 0 80px -40px rgba(0, 0, 0, .5); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px 14px 28px; border-bottom: 1px solid var(--line); }
.drawer__count { font: 600 12.5px var(--ff-d); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.drawer__count b { color: var(--ink); }
.drawer__nav { display: flex; gap: 8px; }
.drawer__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }

.dw__main { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--paper-2); }
.dw__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: dwImg .9s var(--e-out); }
.dw__main.is-cut { background: var(--studio); }
.dw__main.is-cut img { padding: 8% 12% 10%; object-fit: contain; filter: drop-shadow(0 22px 20px rgba(19, 17, 47, .18)); }
@keyframes dwImg { from { opacity: 0; transform: scale(1.06); } }
.dw__thumbs { display: flex; gap: 8px; padding: 12px 28px 0; overflow-x: auto; }
.dw__thumbs button { flex: none; width: 88px; aspect-ratio: 4 / 3; overflow: hidden; opacity: .5; transition: opacity .3s; position: relative; background: var(--paper-2); }
.dw__thumbs button.is-cut { background: var(--studio); }
.dw__thumbs button::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--sun); opacity: 0; transition: opacity .3s; }
.dw__thumbs button.is-on { opacity: 1; }
.dw__thumbs button.is-on::after { opacity: 1; }
.dw__thumbs button:hover { opacity: 1; }
.dw__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dw__thumbs .is-cut img { object-fit: contain; padding: 10%; }
.dw__body { padding: 30px 28px 56px; }
.dw__body > * { animation: dwIn .8s var(--e-out) both; }
.dw__body > *:nth-child(2) { animation-delay: .05s; }
.dw__body > *:nth-child(3) { animation-delay: .1s; }
.dw__body > *:nth-child(4) { animation-delay: .15s; }
.dw__body > *:nth-child(n+5) { animation-delay: .2s; }
@keyframes dwIn { from { opacity: 0; transform: translateY(18px); } }
.dw__cat { font: 600 12px var(--ff-d); letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.dw__body h2 { margin: 12px 0 16px; font: 700 clamp(30px, 3.4vw, 42px)/1.04 var(--ff-d); letter-spacing: -.035em; color: var(--ink); }
.dw__desc { color: var(--muted); font-size: 16.5px; }
.dw__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.dw__body h3 { margin: 38px 0 12px; font: 600 12px var(--ff-d); letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.dw__feat li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.dw__feat i { width: 26px; height: 26px; display: grid; place-items: center; background: var(--paper); color: var(--indigo); flex: none; }
.dw__feat svg { width: 16px; height: 16px; }
.dw__spec div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dw__spec dt { color: var(--muted); }
.dw__spec dd { color: var(--ink); font-weight: 600; text-align: right; }
.dw__fine { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.dw__uses { display: flex; flex-wrap: wrap; gap: 8px; }
.dw__uses li { padding: 9px 14px; background: var(--paper); font-size: 14px; font-weight: 500; }

/* 17 · Lightbox -------------------------------------------------------------- */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(10, 9, 28, .95); opacity: 0; transition: opacity .4s; }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
.lb__fig { max-width: min(1100px, 88vw); }
.lb__fig img { max-height: 78vh; width: auto; max-width: 100%; margin: 0 auto; animation: dwImg .7s var(--e-out); }
.lb__fig figcaption { margin-top: 16px; text-align: center; font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.lb .circ { position: absolute; }
.lb__x { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; margin-top: -23px; }
.lb__next { right: 20px; top: 50%; margin-top: -23px; }

/* 18 · Phone dock ------------------------------------------------------------ */
.dock { display: none; }

/* 19 · Scroll motion --------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-wipe] { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--e-io); }
.js [data-wipe].is-in { clip-path: inset(0 0 0 0); }
.js .about__small[data-wipe] img { transform: scale(1.25); transition: transform 1.8s var(--e-out); }
.js .about__small[data-wipe].is-in img { transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(108%); transition: transform 1s var(--e-out); transition-delay: calc(var(--i) * 45ms); }
.js [data-split].is-in .w > span { transform: none; }

/* 20 · Responsive ------------------------------------------------------------ */
@media (max-width: 1240px) {
  .car__track { --cols: 3; }
}
@media (max-width: 1180px) {
  .hd__nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 1024px) {
  .about__grid, .why__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .car__track { --cols: 2.3; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .qual { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .qual li:nth-child(4) { padding-left: 0; border-left: 0; }
  .contact__grid { gap: 56px; }
  .form { max-width: 560px; }
  .tab span { display: none; }
  .tab { padding-right: 16px; }
  .tab__fill { right: 16px; }
}
@media (max-width: 760px) {
  :root { --hd: 68px; }
  .hd.is-solid { --hd: 64px; }
  .hd__tel { display: none; }
  .hd__act .btn--sm { display: none; }
  .brand__tx b { font-size: 17px; }
  .brand__mark { width: 26px; height: 28px; }

  .hero { min-height: 600px; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(19, 17, 47, .95) 0%, rgba(19, 17, 47, .7) 42%, rgba(19, 17, 47, .1) 75%),
      linear-gradient(180deg, rgba(19, 17, 47, .6) 0%, rgba(19, 17, 47, 0) 25%);
  }
  .hero__body { padding-bottom: 104px; }
  .copy__eyebrow { align-items: flex-start; margin-bottom: 16px; font-size: 12px; line-height: 1.35; letter-spacing: .14em; }
  .copy__eyebrow .slab { margin-top: 1px; }
  .copy__h { font-size: clamp(44px, 12.4vw, 60px); }
  .copy__p { margin-top: 18px; }
  .hero__cta { margin-top: 28px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__count { display: none; }
  .tab { padding: 20px 10px 20px 0; }
  .tab__fill { right: 10px; }
  .circ { width: 42px; height: 42px; }

  .rail { padding: 22px 0; }

  .about__media { padding: 0 8% 18% 0; }
  .about__small { width: 60%; border-width: 6px; }
  .about__badge { left: auto; right: 0; top: -18px; padding: 14px 16px; font-size: 13px; }
  .stats > div { padding-right: 12px; }
  .stats > div:nth-child(even) { padding-left: 16px; }

  .sec__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .sec__note { padding-bottom: 0; }

  /* products: one card at a time with the next one peeking in */
  .pbar { margin-bottom: 20px; }
  .pbar__nav { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .car__track { --cols: 1.18; --gap: 14px; }
  .car__ui { margin-top: 30px; }

  .compare__row { grid-template-columns: .9fr 1.1fr 1fr; }
  .compare__row > span { padding: 15px 10px; font-size: 14px; }
  .compare__row:not(.compare__row--head) .is-us::before { display: none; }
  .compare__row--head > span { font-size: 10.5px; letter-spacing: .1em; }
  .compare__row--head .is-us svg { display: none; }
  .qual { grid-template-columns: 1fr 1fr; }
  .qual li, .qual li + li { padding: 22px 16px 0 0; border-left: 0; }
  .qual li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-d); }
  .qual span { font-size: 17px; }

  /* steps and uses swipe sideways instead of stacking photo after photo */
  .steps, .panels {
    display: grid; grid-auto-flow: column; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut);
  }
  .steps::-webkit-scrollbar, .panels::-webkit-scrollbar { display: none; }
  .steps { grid-auto-columns: 78%; }
  .step { scroll-snap-align: start; }
  .panels { grid-auto-columns: 80%; height: auto; }
  .panel, .panel.is-on { height: 320px; cursor: default; scroll-snap-align: start; }
  .panel img { opacity: 1; transform: none; }
  .panel:not(.is-on) h3 { writing-mode: horizontal-tb; transform: none; font-size: 26px; }
  .panel h3 { white-space: normal; }
  .panel p { opacity: 1; transform: none; white-space: normal; }

  .contact__tel b { font-size: clamp(26px, 8.4vw, 32px); white-space: nowrap; }

  .ft__top { flex-direction: column; align-items: flex-start; }
  .ft__claim { text-align: left; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .ft__cols > div:first-child { grid-column: 1 / -1; }
  .ft { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .drawer__top { padding-left: 20px; }
  .dw__body { padding: 26px 20px 120px; }
  .dw__thumbs { padding-inline: 20px; }
  .dw__cta .btn { flex: 1 1 auto; }

  .lb__prev, .lb__next { top: auto; bottom: 24px; margin: 0; }
  .lb__prev { left: calc(50% - 56px); }
  .lb__next { right: calc(50% - 56px); }

  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .6s var(--e-out);
  }
  .dock.is-on { transform: none; }
  .dock__b { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; border-radius: 2px; }
  .dock__b svg { width: 19px; height: 19px; }
  .dock__b--wa { background: var(--wa); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.intro .intro { display: none; }
  html.intro { overflow: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rail__track, .reel__row { animation: none !important; }
  .reel { overflow-x: auto; }
}
