/* Fonts are self-hosted (latin subset) */
@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: swap }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap }
@font-face { font-family: "Hanken Grotesk"; src: url(/assets/fonts/hanken-grotesk-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap }

/* Mahi Printing & Signage website.
   Layout: full-bleed timed hero carousel under a transparent header, then calm sections on paper.
   The four process-colour dots (C, M, Y, K) are the recurring mark: carousel controls, Mahi AI's avatar,
   hover states on products and the three ways to order. */
:root {
  --paper: #F4F3EF;
  --paper-2: #E9E8E2;
  --ink: #14162B;
  --ink-soft: #4C5068;
  --indigo: #283891;
  --indigo-deep: #1A2463;
  --night: #0D0F1E;
  --on-dark: #F4F3EF;
  --on-dark-soft: #BFC2D8;
  --c: #00AEEF; --m: #EC008C; --y: #FFE600; --k: #14162B;
  --gold: #D2AE68;
  --line: rgba(20,22,43,.13);
  --display: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  /* one heading scale for the whole site (owner, Dec 1: "type too big in places - titles … type can be smaller in places"):
     the homepage hero, page titles, section titles, card titles, a product's name, and the line under a title */
  --fs-hero: clamp(34px, 4vw, 58px);
  --fs-h1: clamp(32px, 3.4vw, 50px);
  --fs-h2: clamp(26px, 2.6vw, 38px);
  --fs-h3: clamp(19px, 1.6vw, 24px);
  --fs-title: clamp(30px, 2.6vw, 40px);
  --fs-lede: clamp(16.5px, 1.25vw, 18.5px);
  color-scheme: light;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip }
img { max-width: 100%; display: block }
a { color: inherit }
button { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; border-radius: 6px }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter) }
/* big screens (the lead's 27", Oct 29: "there is so much space on the sides ... if you increase the window size the page should
   adapt"): the whole page is drawn larger in steps, exactly as designed at 1440, so a 2560 screen shows it 1.5x — content, type,
   pictures and gaps together. --z is the step; a size taken from the screen's height (vh) is divided by it, or the zoom would
   make it taller than the screen. It is set on html (a :root rule inside @media would reach the portal's copy of the chrome). */
html { --z: 1 }
@media (min-width: 1600px) { html { --z: 1.1 } }
@media (min-width: 1800px) { html { --z: 1.2 } }
@media (min-width: 2000px) { html { --z: 1.3 } }
@media (min-width: 2200px) { html { --z: 1.4 } }
@media (min-width: 2400px) { html { --z: 1.5 } }
@media (min-width: 2800px) { html { --z: 1.7 } }
@media (min-width: 3200px) { html { --z: 1.9 } }
@media (min-width: 3600px) { html { --z: 2.1 } }
html body { zoom: var(--z) }
/* no typewriter labels (owner, Dec 1: the small mono capitals "give away ai slop"): every label is the body sans, sentence case */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0 }
:root[data-font="fraunces"] h1, :root[data-font="fraunces"] h2, :root[data-font="fraunces"] h3 { letter-spacing: -0.01em; font-weight: 600 }

/* the mark: four process dots */
.dots { position: relative; display: inline-block; width: 30px; height: 18px; flex: none }
.dots i { position: absolute; top: 3px; width: 12px; height: 12px; border-radius: 50%; mix-blend-mode: multiply; transition: transform .45s cubic-bezier(.2,.8,.2,1) }
.dots i:nth-child(1) { left: 0; background: var(--c) }
.dots i:nth-child(2) { left: 6px; background: var(--m) }
.dots i:nth-child(3) { left: 12px; background: var(--y) }
.dots i:nth-child(4) { left: 18px; background: var(--k) }
.on-dark .dots i { mix-blend-mode: screen }
.on-dark .dots i:nth-child(4) { background: #fff }
.chatwin .dots i { mix-blend-mode: multiply }
.chatwin .dots i:nth-child(4) { background: var(--k) }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease }
.btn .arrow { width: 18px; height: 18px; flex: none; transition: transform .3s ease }
.btn:hover .arrow { transform: translateX(3px) }
.btn-light { background: #fff; color: var(--ink) }
.btn-light:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,.45) }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7) }
.btn-ghost:hover { background: rgba(255,255,255,.12) }
.btn-ink { background: var(--ink); color: #fff }
.btn-indigo { background: var(--indigo); color: #fff }
.btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink) }
.btn-line:hover { background: var(--ink); color: #fff }

/* ---------- header: the same bar on every page; past the hero it gains a dark glass backing ---------- */
.top { position: fixed; z-index: 40; top: 0; left: 0; right: 0; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: background-color .45s ease, box-shadow .45s ease }
.top .wrap { display: flex; align-items: center; gap: 26px; padding-block: clamp(18px, 2.6vw, 32px) 0; transition: padding .45s cubic-bezier(.2,.8,.2,1) }
.top .logo img { height: clamp(44px, 4vw, 57px); width: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)) }
.top.solid { background: rgba(13,15,30,.9); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -28px rgba(0,0,0,.7) }
.top.solid .wrap { padding-block: 12px }
.top.solid .logo img { height: 44px; filter: none }
.nav { display: flex; gap: 2px; margin-left: auto }
.nav a { padding: 10px 13px; font-weight: 600; font-size: 15.5px; text-decoration: none; border-radius: 999px; transition: background-color .2s }
.top .nav a:hover, .top .nav a[aria-current="page"] { background: rgba(255,255,255,.14) }
.tel { font-weight: 600; font-size: 15.5px; text-decoration: none; white-space: nowrap }
.top .btn { min-height: 46px; padding: 0 20px; font-size: 15px }
.menu-btn { display: none; margin-left: auto; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.16); color: #fff; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.sheet { position: fixed; z-index: 60; inset: 0; background: var(--night); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto }
.sheet[hidden] { display: none }
.sheet .close-x { align-self: flex-end; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-weight: 600 }
.sheet a { padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 28px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12) }
@media (max-width: 1020px) {
  .nav, .tel, .top .btn { display: none }
  .menu-btn { display: inline-flex; align-items: center }
}
@media (max-width: 760px) { .top.solid .wrap { padding-block: 10px } .top.solid .logo img { height: 38px } }
main section[id] { scroll-margin-top: 78px }
main #hero, main #signs { scroll-margin-top: 0 }

/* ---------- hero carousel ---------- */
.hero { position: relative; height: calc(100vh / var(--z)); height: calc(100svh / var(--z)); min-height: 600px; max-height: 1000px; overflow: hidden; background: var(--night); color: #fff }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease }
.slide picture, .slide picture img, .slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
#s1 picture img { object-position: 50% 30% }
.slide .media { position: absolute; inset: 0; transform: scale(1.07) }
.slide.is-active .media { animation: drift 9s ease-out forwards }
@keyframes drift { to { transform: scale(1) } }
.slide .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,24,.55) 0%, rgba(8,10,24,0) 28%), linear-gradient(90deg, rgba(8,10,24,.78) 0%, rgba(8,10,24,.35) 45%, rgba(8,10,24,0) 70%), linear-gradient(0deg, rgba(8,10,24,.6) 0%, rgba(8,10,24,0) 35%) }
.slide-copy { position: absolute; left: 0; right: 0; bottom: clamp(108px, 15vh, 150px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; letter-spacing: .2px }
.h1 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; margin: 0 }
:root[data-font="fraunces"] .h1 { font-weight: 600; letter-spacing: -0.01em }
.hero h1, .hero .h1 { max-width: 13.5em; font-size: var(--fs-hero); line-height: 1.04 }
.hero p.lede { margin: 0; max-width: 34em; font-size: var(--fs-lede); color: #DADCEA }
.actions { display: flex; flex-wrap: wrap; gap: 12px }
.slide .copy-in > * { opacity: 0; transform: translateY(18px) }
.slide.is-active .copy-in > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards }
.slide.is-active .copy-in > *:nth-child(2) { animation-delay: .1s }
.slide.is-active .copy-in > *:nth-child(3) { animation-delay: .2s }
.slide.is-active .copy-in > *:nth-child(4) { animation-delay: .3s }
@keyframes rise { to { opacity: 1; transform: none } }

/* slide 2: the sign switches on by itself */
#s1 .slide-copy { bottom: clamp(100px, 13vh, 130px); gap: 14px }
#s1 .h1 { font-size: clamp(30px, 3.4vw, 48px); max-width: none }
#s1 .scrim { background: linear-gradient(180deg, rgba(8,10,24,.55) 0%, rgba(8,10,24,0) 24%), linear-gradient(0deg, rgba(8,10,24,.92) 0%, rgba(8,10,24,.6) 30%, rgba(8,10,24,0) 52%) }
.slide .on-layer { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: -webkit-mask-position 2.2s cubic-bezier(.5,0,.2,1), mask-position 2.2s cubic-bezier(.5,0,.2,1) }
.slide.lit .on-layer { -webkit-mask-position: 0 0; mask-position: 0 0 }
.slide .bloom { position: absolute; inset: 0; background: radial-gradient(55% 26% at 50% 40%, rgba(255,222,170,.35), transparent 70%); mix-blend-mode: screen; opacity: 0; transition: opacity 1.6s ease 1.2s }
.slide.lit .bloom { opacity: 1 }

/* slide 3: Mahi AI */
.slide.ai-slide { background: radial-gradient(80% 90% at 75% 45%, #3446A8 0%, var(--indigo) 45%, var(--indigo-deep) 100%) }
.ai-slide .scrim { background: linear-gradient(180deg, rgba(8,10,24,.35) 0%, rgba(8,10,24,0) 25%) }
.ai-stage { position: absolute; right: var(--gutter); top: 44%; width: min(38vw, 560px); transform: translateY(-50%) }
.ai-slide .h1 { max-width: 8.5em }
.ai-stage .realcard { transform: rotate(-7deg) translateY(10px); opacity: 0; transition: transform 1.4s cubic-bezier(.2,.8,.2,1) .3s, opacity 1s ease .3s }
.ai-slide.is-active .ai-stage .realcard { transform: rotate(-4deg); opacity: 1 }
.ai-stage .bubble-hint { position: absolute; left: -6%; top: -18%; max-width: 70%; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 20px 20px 20px 6px; padding: 12px 16px; font-size: 15.5px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); opacity: 0; transform: translateY(10px); transition: all .8s ease 1.2s }
.ai-slide.is-active .bubble-hint { opacity: 1; transform: none }
.bubble-hint b { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--indigo); margin-bottom: 2px }


/* light slides: dark type on a pale photo, header and controls follow */
.top .logo { position: relative }
.top .logo-c { position: absolute; left: 0; top: 0; opacity: 0 }
.top .logo img { transition: opacity .6s ease, height .45s cubic-bezier(.2,.8,.2,1) }
.top.is-light { color: var(--ink) }
.top.is-light .logo-w { opacity: 0 }
.top.is-light .logo-c { opacity: 1; filter: none }
.top.is-light .nav a:hover { background: rgba(20,22,43,.07) }
.top.is-light .btn-light { background: var(--ink); color: #fff }
.top.is-light .menu-btn { background: rgba(20,22,43,.08); color: var(--ink) }
.top, .top .nav a, .top .tel { transition: color .6s ease }
.slide.light .scrim { background: linear-gradient(180deg, rgba(244,243,239,.55) 0%, rgba(244,243,239,0) 24%), linear-gradient(90deg, rgba(244,243,239,.9) 0%, rgba(244,243,239,.62) 34%, rgba(244,243,239,0) 58%) }
.slide.light .slide-copy { color: var(--ink) }
.slide.light p.lede { color: var(--ink-soft) }
.hero.is-light .pick { color: rgba(20,22,43,.5) }
.hero.is-light .pick[aria-current="true"] { color: var(--ink) }
.hero.is-light .pick .bar { background: rgba(20,22,43,.18) }
.hero.is-light .pick .bar i { background: var(--ink) }
.hero.is-light .pause { background: rgba(20,22,43,.08); color: var(--ink) }
.hero.is-light .pause .kdot { background: var(--ink) }
#s0 .bg { object-position: 50% 50% }
#s0 .scrim { background: linear-gradient(180deg, rgba(8,10,24,.5) 0%, rgba(8,10,24,0) 26%), linear-gradient(90deg, rgba(8,10,24,.82) 0%, rgba(8,10,24,.5) 36%, rgba(8,10,24,0) 62%), linear-gradient(0deg, rgba(8,10,24,.55) 0%, rgba(8,10,24,0) 32%) }
#s0 h1 { max-width: 8.2em }
#s0 p.lede { max-width: 30em }
@media (max-width: 760px) {
  #s0 .bg { object-position: 56% 50% }
  .slide.light .scrim { background: linear-gradient(180deg, rgba(244,243,239,.6) 0%, rgba(244,243,239,0) 20%), linear-gradient(0deg, rgba(244,243,239,.97) 0%, rgba(244,243,239,.8) 42%, rgba(244,243,239,0) 72%) }
}

/* carousel controls: the dots */
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vh, 52px); z-index: 5 }
.hero-ctrl .wrap { display: flex; align-items: center; gap: clamp(8px, 2vw, 28px) }
.pick { display: flex; flex-direction: column; gap: 10px; min-width: 0; width: clamp(110px, 14vw, 190px); padding: 6px 0; background: none; border: 0; text-align: left; cursor: pointer; color: rgba(255,255,255,.62) }
.pick .row { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; white-space: nowrap }
.pick .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; transform: scale(.8); transition: transform .3s }
.pick[aria-current="true"] { color: #fff }
.pick[aria-current="true"] .dot { transform: scale(1.15) }
.pick .bar { height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden }
.pick .bar i { display: block; height: 100%; width: 0; background: #fff }
.pick[aria-current="true"] .bar i { animation: fill var(--dur, 7s) linear forwards }
.hero.paused .pick .bar i { animation-play-state: paused }
@keyframes fill { to { width: 100% } }
.pause { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.pause .kdot { width: 10px; height: 10px; border-radius: 50%; background: #fff }
@media (max-width: 760px) {
  .top:not(.solid) .logo img { height: 44px }
  .hero { min-height: 560px }
  .slide .scrim { background: linear-gradient(180deg, rgba(8,10,24,.55) 0%, rgba(8,10,24,0) 22%), linear-gradient(0deg, rgba(8,10,24,.9) 0%, rgba(8,10,24,.55) 40%, rgba(8,10,24,0) 70%) }
  .slide-copy { bottom: 112px; gap: 14px }
  .hero h1, .hero .h1 { font-size: clamp(32px, 8.8vw, 40px) }
  .hero p.lede { font-size: 16px }
  .hero .btn { min-height: 48px; padding: 0 18px; font-size: 15px }
  .pick { width: auto; flex: 1 }
  .pick .label { display: none }
  .pick[aria-current="true"] .label { display: inline }
  .pause .ptext { display: none }
  .ai-stage { width: 84vw; right: 8vw; top: 24%; transform: none }
  .ai-stage .bubble-hint { display: none }
}

/* ---------- reviews: a dark strip that carries on from the hero ---------- */
.reviews { background: var(--night); color: var(--on-dark); padding-block: clamp(40px, 5vw, 68px) }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)); align-items: start }
.rev-score { display: flex; flex-direction: column; gap: 10px; padding-right: clamp(20px, 3vw, 40px) }
.rev-score .big { display: flex; align-items: center; gap: 14px }
.rev-score b { font-family: var(--display); font-size: 52px; line-height: 1; font-weight: 700; letter-spacing: -1px; color: #fff }
.stars { position: relative; display: inline-block; font-size: 18px; letter-spacing: 3px; line-height: 1; color: rgba(255,255,255,.22) }
.stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--fill, 100%); overflow: hidden; color: #F2B33D; white-space: nowrap }
.rev-score small { display: block; color: var(--on-dark-soft); font-size: 14px; margin-top: 5px }
.rev-score h2 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.25; color: #fff; max-width: 14em }
.rev { padding: 2px clamp(18px, 2.4vw, 34px); border-left: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 12px }
.rev .stars { font-size: 13px; letter-spacing: 2px }
.rev p { margin: 0; font-size: 16.5px; line-height: 1.5; color: #E4E6F0 }
.rev .nm { font-size: 14px; color: var(--on-dark-soft) }
.rev .nm b { color: #fff; font-weight: 600 }
@media (max-width: 960px) {
  .rev-grid { grid-template-columns: minmax(0, 1fr); gap: 26px }
  .rev-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none }
  .rev-row::-webkit-scrollbar { display: none }
  .rev { flex: none; width: 78vw; scroll-snap-align: start; padding-inline: 0 22px; border-left: 0; border-right: 1px solid rgba(255,255,255,.14); margin-right: 22px }
}
@media (min-width: 961px) { .rev-row { display: contents } }

/* ---------- three ways in: full-bleed lanes that turn to ink ---------- */
.ways { background: var(--paper); padding-top: clamp(72px, 9vw, 120px) }
.ways-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 48px }
.ways-head h2 { font-size: var(--fs-h2); line-height: 1.08 }
.ways-head p { margin: 0; max-width: 34ch; color: var(--ink-soft); font-size: 17px }
.lanes { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 64px); border-top: 1.5px solid var(--ink); background: #fff }
.lane { position: relative; overflow: hidden; min-height: clamp(320px, calc(44vh / var(--z)), 440px); padding: clamp(24px, 2.6vw, 38px); display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); transition: color .45s ease }
.lane:last-child { border-right: 0 }
.lane::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1) }
.lane > * { position: relative; z-index: 1 }
.lane .big-dots { position: absolute; top: clamp(24px, 2.6vw, 38px); left: clamp(24px, 2.6vw, 38px); transform: scale(1.45); transform-origin: 0 0; --dx: 5px; --dy: 5px }
.lane .k { font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: color .45s ease }
.lane h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.1 }
.lane p { margin: 0; max-width: 30ch; font-size: 16px; color: var(--ink-soft); transition: color .45s ease }
.lane .go { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-weight: 600; font-size: 16px }
.lane .go .arrow { width: 18px; height: 18px; transition: transform .3s }
.lane:hover, .lane:focus-visible { color: #fff }
.lane:hover::before, .lane:focus-visible::before { transform: scaleY(1) }
.lane:hover .k, .lane:hover p, .lane:focus-visible .k, .lane:focus-visible p { color: var(--on-dark-soft) }
.lane:hover .go .arrow, .lane:focus-visible .go .arrow { transform: translateX(4px) }
.lane:hover .big-dots, .lane:focus-visible .big-dots { --dx: 12px; --dy: 12px }
.lane:hover .big-dots i, .lane:focus-visible .big-dots i { mix-blend-mode: screen }
.lane:hover .big-dots i:nth-child(4), .lane:focus-visible .big-dots i:nth-child(4) { background: #fff }
.lane:focus-visible { outline: 3px solid var(--c); outline-offset: -3px }
/* touch screens have no hover: show the cluster opened a little so it still reads */
@media (hover: none) { .lane .big-dots { --dx: 8px; --dy: 8px } }
@media (max-width: 860px) {
  .lanes { grid-template-columns: minmax(0, 1fr) }
  .lane { min-height: 0; padding-top: 112px; border-right: 0; border-bottom: 1px solid var(--line) }
  .lane:last-child { border-bottom: 0 }
}
@media (prefers-reduced-motion: reduce) { .lane::before { transition: none } }
/* small dot cluster, used on product hover */
.big-dots { position: absolute; width: 56px; height: 56px }
.big-dots i { position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 50%; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.8,.2,1) }
.big-dots i:nth-child(1) { background: var(--c); transform: translate(calc(var(--dx, 0px) * -1), calc(var(--dy, 0px) * -1)) }
.big-dots i:nth-child(2) { background: var(--m); transform: translate(var(--dx, 0px), calc(var(--dy, 0px) * -1)) }
.big-dots i:nth-child(3) { background: var(--y); transform: translate(calc(var(--dx, 0px) * -1), var(--dy, 0px)) }
.big-dots i:nth-child(4) { background: var(--k); transform: translate(var(--dx, 0px), var(--dy, 0px)) }

/* ---------- Mahi AI: chat beside a live canvas, like the real tool ---------- */
.ai { background: radial-gradient(70% 90% at 80% 30%, #3446A8 0%, var(--indigo) 50%, var(--indigo-deep) 100%); color: #fff; padding-block: clamp(64px, 8vw, 112px); overflow: hidden }
.ai .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px clamp(32px, 5vw, 80px); align-items: center }
.ai-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start }
.ai-copy h2 { font-size: var(--fs-h2); line-height: 1.08 }
.ai-copy p { margin: 0; color: #D7DAF0; max-width: 36ch; font-size: 17px }
.ai-copy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #E6E8F6 }
.ai-copy li { display: flex; gap: 12px; align-items: baseline }
.ai-copy li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; transform: translateY(-2px) }
.ai-copy li:nth-child(2)::before { background: var(--m) } .ai-copy li:nth-child(3)::before { background: var(--y) }
.replay { align-self: flex-start; background: none; border: 0; color: #fff; font-weight: 600; padding: 10px 0; cursor: pointer; border-bottom: 1.5px solid rgba(255,255,255,.6) }
.app { background: #fff; color: var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.65) }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line) }
.app-bar .avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center }
.app-bar .avatar .dots { transform: scale(.82) }
.app-bar b { font-family: var(--display); font-size: 16px }
.app-doc { color: var(--ink-soft); font-size: 14px; padding-left: 12px; border-left: 1px solid var(--line) }
.app-order { margin-left: auto; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center }
.app .dots i { mix-blend-mode: multiply } .app .dots i:nth-child(4) { background: var(--k) }
.app-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr); height: 500px }
.chatcol { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; min-height: 0; overflow: hidden }
.msgs { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 18px 18px 20px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 64px); mask-image: linear-gradient(180deg, transparent 0, #000 64px) }
.msg { flex: none; display: flex; flex-direction: column; gap: 5px; max-width: 92%; animation: pop .5s cubic-bezier(.22,.9,.3,1) .06s both; transform-origin: left bottom }
.msg.you { transform-origin: right bottom }
.msg[hidden] { display: none }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }
.msg .who { font-size: 12px; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; gap: 6px }
.msg .who .dots { transform: scale(.62); transform-origin: left center; width: 20px }
.msg.you { align-self: flex-end; align-items: flex-end }
.msg p { margin: 0; padding: 10px 14px; font-size: 15px; line-height: 1.45 }
.msg.you p { background: var(--ink); color: #fff; border-radius: 16px 16px 5px 16px }
.msg.bot p { background: #F1F1F4; border-radius: 16px 16px 16px 5px }
.typing { display: inline-flex; gap: 5px; background: #F1F1F4; padding: 12px 14px; border-radius: 16px 16px 16px 5px; width: max-content }
.typing i { width: 7px; height: 7px; border-radius: 50%; animation: bob 1s infinite ease-in-out }
.typing i:nth-child(1) { background: var(--c) } .typing i:nth-child(2) { background: var(--m); animation-delay: .15s } .typing i:nth-child(3) { background: var(--y); animation-delay: .3s }
@keyframes bob { 0%, 80%, 100% { transform: translateY(0) } 40% { transform: translateY(-4px) } }
.cw-input { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-top: 1px solid var(--line) }
.draft { flex: 1; min-width: 0; color: var(--ink-soft); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.draft.has { color: var(--ink) }
.send { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--indigo); color: #fff; display: grid; place-items: center; flex: none; transition: transform .2s }
.send.press { transform: scale(.86) }
.canvas { position: relative; display: flex; flex-direction: column; min-width: 0; background-color: #EEEEF1; background-image: radial-gradient(rgba(20,22,43,.12) 1px, transparent 1px); background-size: 16px 16px }
.cv-top { display: flex; align-items: center; gap: 6px; padding: 12px 14px; font-size: 13px; font-weight: 600 }
.cv-top span { padding: 6px 11px; border-radius: 8px; color: var(--ink-soft) }
.cv-top span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20,22,43,.08) }
.cv-top .zoom { margin-left: auto; font-variant-numeric: tabular-nums }
.board { flex: 1; display: grid; place-items: center; padding: 18px 26px 10px }
.sheet-area { position: relative; width: min(100%, 440px) }
.bleed-box { position: absolute; inset: -3.5%; border: 1px dashed rgba(236,0,140,.55); border-radius: 4px; pointer-events: none }
.dcard { position: relative; aspect-ratio: 3.5 / 2; width: 100%; background: #fff; box-shadow: 0 1px 2px rgba(20,22,43,.12), 0 18px 34px -18px rgba(20,22,43,.45); overflow: hidden; container-type: inline-size }
.dcard .fill { position: absolute; inset: 0; background: #17181C; opacity: 0; transition: opacity .9s ease }
.dcard .safe { position: absolute; inset: 7%; border: 1px dashed rgba(0,174,239,.6); transition: border-color .9s ease }
.dcard .firm, .dcard .nm, .dcard .rl { position: absolute; left: 9%; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .7s ease, transform .7s ease }
.dcard .firm { top: 16%; font-family: var(--display); font-weight: 700; font-size: 4.2cqw; letter-spacing: .32em }
.dcard .nm { bottom: 36%; font-family: var(--display); font-weight: 700; font-size: 6.6cqw; letter-spacing: -.01em }
.dcard .rl { bottom: 25%; font-size: 3.3cqw; letter-spacing: .14em; color: #B4B8C4 }
.dcard .line { position: absolute; left: 0; right: 0; bottom: 10%; height: .9%; background: linear-gradient(90deg, #7F8287, #EEF0F3 30%, #A2A5AB 55%, #F4F5F7 78%, #85888D); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.5,0,.2,1), height .6s ease }
.dcard.built .fill { opacity: 1 }
.dcard.built .safe { border-color: rgba(0,174,239,.35) }
.dcard.built .firm { opacity: 1; transform: none; transition-delay: .35s }
.dcard.built .nm { opacity: 1; transform: none; transition-delay: .55s }
.dcard.built .rl { opacity: 1; transform: none; transition-delay: .7s }
.dcard.built .line { transform: scaleX(1); transition-delay: .85s, 0s }
.dcard.thick .line { height: 2.4% }
.cv-foot { padding: 4px 14px 14px; color: var(--ink-soft) }
@media (max-width: 1020px) { .ai .wrap { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 680px) {
  .app-body { grid-template-columns: minmax(0, 1fr); height: auto }
  .canvas { order: -1; border-bottom: 1px solid var(--line) }
  .chatcol { border-right: 0 }
  .msgs { height: 250px; flex: none }
  .app-doc { display: none }
}

/* a business card that reads as paper, not clip art */
.realcard { position: relative; aspect-ratio: 3.5 / 2; width: 100%; border-radius: 6px; background-color: #17181C; overflow: hidden; color: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.25), 0 2px 4px rgba(0,0,0,.15), 0 26px 40px -16px rgba(10,12,30,.55); container-type: inline-size }
.realcard::before { content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") }
.realcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,.12) 100%) }
.realcard .foil { position: absolute; left: 0; right: 0; bottom: 9%; height: 1.4%; background: linear-gradient(90deg, #7F8287 0%, #EEF0F3 30%, #A2A5AB 55%, #F4F5F7 78%, #85888D 100%) }
.realcard .firm { position: absolute; left: 7.5%; top: 15%; font-family: var(--display); font-weight: 700; font-size: 3.6cqw; letter-spacing: .32em; color: #fff }
.realcard .firm small { display: block; margin-top: 1.4cqw; font-weight: 500; font-size: 2.3cqw; letter-spacing: .24em; color: #9EA2AD }
.realcard .rc-name { position: absolute; left: 7.5%; bottom: 31%; font-family: var(--display); font-weight: 700; font-size: 6.4cqw; letter-spacing: -.01em }
.realcard .rc-role { position: absolute; left: 7.5%; bottom: 21%; font-size: 3cqw; color: #B4B8C4; letter-spacing: .14em; text-transform: uppercase }
.realcard .rc-contact { position: absolute; right: 7.5%; bottom: 21%; text-align: right; font-size: 3cqw; line-height: 1.7; color: #D3D6DE }

/* ---------- products ---------- */
.products { padding-block: clamp(64px, 8vw, 104px) }
.products .head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 26px }
.products .head h2 { font-size: var(--fs-h2); line-height: 1.08 }
.products .head p { margin: 10px 0 0; color: var(--ink-soft); max-width: 44ch }
.arrows { display: flex; align-items: center; gap: 10px }
.arrows .btn { min-height: 48px; margin-right: 6px }
.arrows button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; display: grid; place-items: center }
.arrows button:hover { background: var(--ink); color: #fff }
/* the row starts in line with the heading above it (Dec 1: it started at the screen's edge on a wide screen), and still runs off both sides */
.row { --row-in: max(var(--gutter), calc((100% - 1320px) / 2 + var(--gutter))); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--row-in); padding-inline: var(--row-in); padding-bottom: 8px; scrollbar-width: none }
.row::-webkit-scrollbar { display: none }
/* a product card (Dec 1): a square picture (the photos are square), the name and the price under it at a calm size */
.prod { flex: none; width: clamp(230px, 20vw, 290px); scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; gap: 12px }
.prod .ph { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #D9D6CF }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1) }
.prod:hover .ph img { transform: scale(1.05) }
.prod .ph .big-dots { position: absolute; right: 14px; bottom: 14px; width: 56px; height: 56px; opacity: 0; transition: opacity .3s }
.prod:hover .ph .big-dots, .prod:focus-visible .ph .big-dots { opacity: 1; --dx: 9px; --dy: 9px }
.prod .nm { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em }
.prod .meta { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-soft); font-size: 14.5px; margin-top: -8px }
.prod .meta b { color: var(--ink); font-weight: 600; white-space: nowrap }
.prod.signs-card .ph { background: var(--night); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; gap: 12px }
.prod.signs-card .ph strong { font-family: var(--display); font-size: 30px; line-height: 1.05 }
.fine { margin-top: 18px; color: var(--ink-soft) }
/* the signage row (Oct 23) sits right under the print row, a rule between them */
.products.signage { padding-top: 0 }
.products.signage .head { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px) }

/* ---------- signs: pinned, full-bleed, the sign switches on as you scroll ---------- */
.signs { position: relative; height: calc(320vh / var(--z)); background: var(--night); color: var(--on-dark) }
.signs .stage { position: sticky; top: 0; height: calc(100vh / var(--z)); height: calc(100svh / var(--z)); overflow: hidden }
.signs picture, .signs picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30% }
.signs .off { opacity: clamp(.45, .45 + var(--p, 0) * 6, 1) }
.signs .on { --q: clamp(0, (var(--p, 0) - .12) / .36, 1); -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--q) * 140% - 40%), transparent calc(var(--q) * 140%)); mask-image: linear-gradient(90deg, #000 calc(var(--q) * 140% - 40%), transparent calc(var(--q) * 140%)) }
.signs .bloom { position: absolute; inset: 0; background: radial-gradient(55% 26% at 50% 40%, rgba(255,222,170,.32), transparent 70%); mix-blend-mode: screen; opacity: clamp(0, (var(--p, 0) - .4) * 4, 1); pointer-events: none }
.signs .scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(180deg, transparent, rgba(13,15,30,.8) 40%, rgba(13,15,30,.95) 80%); opacity: clamp(0, (var(--p, 0) - .48) * 5, 1) }
.signs-copy { position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px clamp(32px, 5vw, 80px); align-items: end }
.signs-copy .lead { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; opacity: clamp(0, (var(--p, 0) - .55) * 6, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .55) * 6, 1)) * 30px)) }
.signs-copy h1 { font-size: var(--fs-h1); line-height: 1.06; max-width: 15em }
.signs-copy h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 15em }
.signs-copy p { margin: 0; color: var(--on-dark-soft); max-width: 44ch; font-size: 17px }
.sign-types { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); opacity: clamp(0, (var(--p, 0) - .66) * 6, 1); transform: translateY(calc((1 - clamp(0, (var(--p, 0) - .66) * 6, 1)) * 30px)) }
.sign-types li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 17px; font-weight: 500 }
.sign-types .d { width: 10px; height: 10px; border-radius: 50%; flex: none }
@media (max-width: 860px) {
  .signs { height: 290vh }
  .signs-copy { grid-template-columns: minmax(0, 1fr); gap: 16px }
  .signs-copy p { font-size: 15.5px }
  .sign-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px }
  .sign-types li { font-size: 14px; padding: 10px 0; gap: 9px }
}
@media (max-width: 860px) and (max-height: 720px) { .signs-copy p { display: none } }
@media (prefers-reduced-motion: reduce) {
  .signs { height: auto; --p: 1 !important }
  .signs .stage { position: relative; height: auto; min-height: 100vh }
  .signs-copy { position: relative; bottom: auto; padding-block: 52vh 56px }
}

/* signs page: no scrolling needed. site.js adds .signs--auto when the scene sits on the Signs page, and .lit a
   moment later; the sign switches on exactly like the home hero's lit slide, then the words come in one by one.
   Nothing here reads --p, so the home page's scroll-driven scene above is untouched. Stays after the blocks above. */
.signs--auto { height: auto; min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)) }
.signs--auto .stage { position: relative; height: auto; min-height: calc(100vh / var(--z)); min-height: calc(100svh / var(--z)); display: flex; flex-direction: column; justify-content: flex-end }
.signs--auto .off { opacity: .45; transition: opacity 1.2s ease }
.signs--auto.lit .off { opacity: 1 }
.signs--auto .on { -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 60%); mask-image: linear-gradient(90deg, #000 40%, transparent 60%); -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: -webkit-mask-position 2.2s cubic-bezier(.5,0,.2,1), mask-position 2.2s cubic-bezier(.5,0,.2,1) }
.signs--auto.lit .on { -webkit-mask-position: 0 0; mask-position: 0 0 }
.signs--auto .bloom { opacity: 0; transition: opacity 1.6s ease 1.2s }
.signs--auto.lit .bloom { opacity: 1 }
.signs--auto .scrim { opacity: 0; transition: opacity 1s ease }
.signs--auto.lit .scrim { opacity: 1 }
.signs--auto .signs-copy { position: relative; bottom: auto; padding-block: clamp(110px, 18vh, 200px) clamp(24px, 5vh, 56px) }
.signs--auto .lead, .signs--auto .sign-types { opacity: 1; transform: none }
.signs--auto .sign-types { border-top-color: transparent; transition: border-top-color .9s ease 1.3s }
.signs--auto.lit .sign-types { border-top-color: rgba(255,255,255,.18) }
.signs--auto .lead > *, .signs--auto .sign-types li { opacity: 0; transform: translateY(26px) }
.signs--auto.lit .lead > *, .signs--auto.lit .sign-types li { opacity: 1; transform: none; animation: signs-in .9s cubic-bezier(.2,.8,.2,1) var(--d, 0s) backwards }
@keyframes signs-in { from { opacity: 0; transform: translateY(26px) } }
.signs--auto .lead > :nth-child(1) { --d: .7s }
.signs--auto .lead > :nth-child(2) { --d: .85s }
.signs--auto .lead > :nth-child(3) { --d: 1s }
.signs--auto .lead > :nth-child(4) { --d: 1.15s }
.signs--auto .sign-types li:nth-child(1) { --d: 1.35s }
.signs--auto .sign-types li:nth-child(2) { --d: 1.45s }
.signs--auto .sign-types li:nth-child(3) { --d: 1.55s }
.signs--auto .sign-types li:nth-child(4) { --d: 1.65s }
@media (prefers-reduced-motion: reduce) {
  .signs--auto .off, .signs--auto .on, .signs--auto .bloom, .signs--auto .scrim, .signs--auto .sign-types { transition: none }
  .signs--auto.lit .lead > *, .signs--auto.lit .sign-types li { animation: none }
}

/* ---------- sign work: the portfolio, straight after the sign scene ---------- */
.work { background: var(--night); color: var(--on-dark); padding-block: clamp(40px, 6vw, 80px) clamp(80px, 10vw, 130px) }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 48px }
.work-head h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 14em }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chips button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(255,255,255,.08); color: var(--on-dark-soft); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s }
.chips button:hover { background: rgba(255,255,255,.14); color: #fff }
.chips button[aria-pressed="true"] { background: #fff; color: var(--ink) }
/* the job photos (data/sign-work.json, Oct 28): a masonry wall, every photo at its own shape, square corners, thin gaps (owner:
   "something more modern stacked around"). No script: the wall is a grid whose rows are a fortieth of a column's width (cqi of
   .work-wall), each photo spans --r of them (build.mjs, from the picture's size; the extra one is the gap), and "dense" puts
   each photo in the first place it fits, so the columns fill evenly in reading order. A hidden photo (a filter) drops out and
   the wall restacks. */
.work-wall { container-type: inline-size }
.work-grid { --cols: 4; --gap: 8px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: calc((100cqi - (var(--cols) - 1) * var(--gap)) / var(--cols) / 40); grid-auto-flow: row dense; column-gap: var(--gap); margin-top: clamp(32px, 4vw, 52px) }
.w { position: relative; margin: 0; grid-row-end: span var(--r); min-width: 0 }
.w[hidden] { display: none }
.w .ph { position: absolute; inset: 0 0 var(--gap) 0; display: block; overflow: hidden; background: #15182F }
.w .ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1) }
.w .ph:hover img, .w .ph:focus-visible img { transform: scale(1.03) }
.w .ph:focus-visible { outline: 2px solid #fff; outline-offset: -2px }
/* the client and the job over the bottom of the photo: on hover (and keyboard focus) with a mouse, always on a touch screen */
.w figcaption { position: absolute; left: 0; right: 0; bottom: var(--gap); display: flex; flex-direction: column; gap: 2px; padding: 48px 16px 14px; background: linear-gradient(0deg, rgba(8,10,24,.9), rgba(8,10,24,.55) 55%, rgba(8,10,24,0)); font-size: 14.5px; line-height: 1.35; pointer-events: none; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease }
.w:hover figcaption, .w:focus-within figcaption { opacity: 1; transform: none }
.w figcaption b { font-weight: 600; color: #fff }
.w figcaption span { color: #D4D6E6 }
@media (hover: none) { .w figcaption { opacity: 1; transform: none; padding: 32px 10px 9px } }
@media (prefers-reduced-motion: reduce) { .w .ph img, .w figcaption { transition: none } .w .ph:hover img, .w .ph:focus-visible img { transform: none } }
.work-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(32px, 4vw, 52px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14) }
.work-foot p { margin: 0; color: var(--on-dark-soft); max-width: 48ch }
@media (max-width: 1180px) { .work-grid { --cols: 3 } }
@media (max-width: 860px) {
  .work-grid { --cols: 2; --gap: 6px }
  /* two narrow columns: only the client, one small line, so the photo stays the thing; the larger view has the whole caption */
  .w figcaption { padding: 22px 8px 6px; font-size: 12px; background: linear-gradient(0deg, rgba(8,10,24,.8), rgba(8,10,24,0)) }
  .w figcaption b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
  .w figcaption span { display: none }
}

/* the larger view (a <dialog>, js/site.js): the whole photo, its words, arrows either side (under it on a phone) */
.wlb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(64px, 8vh, 88px) clamp(16px, 8vw, 104px) clamp(20px, 4vh, 40px); border: 0; background: rgba(9,10,22,.96); color: #fff; overflow: hidden }
.wlb[open] { display: flex; align-items: center; justify-content: center }
.wlb::backdrop { background: rgba(9,10,22,.7) }
html:has(.wlb[open]) { overflow: hidden }
.wlb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; min-width: 0 }
.wlb-fig img { display: block; max-width: 100%; max-height: calc(100vh / var(--z) - 210px); max-height: calc(100svh / var(--z) - 210px); object-fit: contain; background: #15182F }
.wlb-fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 12px; text-align: center; font-size: 15.5px }
.wlb-fig figcaption b { font-weight: 600 }
.wlb-fig figcaption span { color: var(--on-dark-soft) }
.wlb-fig figcaption small { color: #8E92AE; font-size: 13.5px; font-variant-numeric: tabular-nums }
.wlb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background-color .2s }
.wlb-btn:hover { background: rgba(255,255,255,.24) }
.wlb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px }
.wlb-btn svg { width: 22px; height: 22px }
.wlb-close { top: 16px; right: 16px }
.wlb-prev, .wlb-next { top: 50%; margin-top: -24px }
.wlb-prev { left: max(16px, env(safe-area-inset-left, 0px)) } .wlb-next { right: max(16px, env(safe-area-inset-right, 0px)) }
@media (max-width: 640px) {
  .wlb { padding-bottom: 88px }
  .wlb-prev, .wlb-next { top: auto; bottom: 20px; margin-top: 0 }
  .wlb-prev { left: calc(50% - 60px) } .wlb-next { right: calc(50% - 60px) }
  .wlb-fig img { max-height: calc(100svh - 250px) }
}

/* ---------- about: an editorial spread with the press photos ---------- */
.about { padding-block: clamp(84px, 11vw, 150px) clamp(64px, 8vw, 110px); background: var(--paper); overflow: hidden }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px clamp(40px, 6vw, 104px); align-items: center }
.about-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start }
.about-copy h1 { font-size: var(--fs-h1); line-height: 1.06 }
.about-copy h2 { font-size: var(--fs-h2); line-height: 1.08 }
.about-copy .big { margin: 0; font-size: clamp(17.5px, 1.4vw, 20px); line-height: 1.45; color: var(--ink) }
.about-copy p { margin: 0; color: var(--ink-soft); max-width: 46ch }
.about-media { position: relative; aspect-ratio: 1 / 1.02; --a: 0 }
.am { position: absolute; margin: 0; overflow: hidden; border-radius: 20px; box-shadow: 0 40px 80px -46px rgba(20,22,43,.6); transform: translateY(calc(var(--a) * var(--sp, 0px))) }
.am img { width: 100%; height: 100%; object-fit: cover }
.am-1 { left: 0; top: 4%; width: 60%; aspect-ratio: 4 / 5; --sp: -36px }
.am-1 img { object-position: 30% 50% }
.am-2 { right: 0; top: 0; width: 44%; aspect-ratio: 1; --sp: 30px; z-index: 2 }
.am-2 img { object-position: 62% 40% }
.am-3 { right: 6%; bottom: 0; width: 56%; aspect-ratio: 16 / 10; --sp: -14px; z-index: 3 }
.am-3 img { object-position: 64% 50% }
.about-media .big-dots { position: absolute; left: 51%; top: 44%; z-index: 4; transform: scale(1.7); transform-origin: 0 0; --dx: 2px; --dy: 2px }
.about-media.in .big-dots { --dx: 9px; --dy: 9px }
.about-media .big-dots i { transition: transform 1.2s cubic-bezier(.2,.8,.2,1) .3s }
.about-facts { list-style: none; margin: clamp(56px, 7vw, 96px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 }
.about-facts li { display: flex; flex-direction: column; gap: 8px; padding: 24px clamp(14px, 2vw, 28px) 4px 0; border-top: 1.5px solid var(--ink) }
.about-facts li + li { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line) }
.about-facts .fd { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 8px }
.about-facts b { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.2 }
.about-facts span:not(.fd) { color: var(--ink-soft); font-size: 15.5px }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) }
  .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .about-facts li:nth-child(3) { border-left: 0; padding-left: 0 }
}
@media (max-width: 520px) { .about-media .big-dots { transform: scale(1.15) } }

/* ---------- delivery page (its own page; the header and footer stay the same) ---------- */
.page[hidden] { display: none }
.del-hero { position: relative; overflow: hidden; min-height: min(92svh / var(--z), 860px); background: radial-gradient(90% 80% at 80% 20%, #1E2453 0%, var(--night) 62%); color: #fff; display: flex; align-items: flex-end }
.del-hero .route { position: absolute; inset: 0; width: 100%; height: 100% }
.del-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,15,30,.85) 0%, rgba(13,15,30,.4) 38%, rgba(13,15,30,0) 58%) }
@media (max-width: 760px) { .del-hero::after { background: linear-gradient(0deg, rgba(13,15,30,.92) 0%, rgba(13,15,30,.6) 55%, rgba(13,15,30,.1) 100%) } }
.del-hero .copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: 160px clamp(64px, 10vh, 110px) }
.del-hero h1 { font-size: var(--fs-hero); line-height: 1.04; max-width: 9em }
.del-hero p { margin: 0; max-width: 40ch; font-size: var(--fs-lede); color: #DADCEA }
.soon { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-weight: 600; font-size: 14px }
.soon i { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 0 rgba(255,230,0,.6); animation: ping 1.8s ease-out infinite }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,230,0,0) } 100% { box-shadow: 0 0 0 0 rgba(255,230,0,0) } }
.del-body { padding-block: clamp(56px, 7vw, 96px); background: var(--paper) }
.del-body h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 16em }
.del-steps { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.del-steps li { background: #fff; border-radius: 18px; padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: 200px }
.del-steps .n { font-weight: 600; font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px }
.del-steps .n i { width: 10px; height: 10px; border-radius: 50% }
.del-steps h3 { font-size: var(--fs-h3); line-height: 1.15; margin-top: auto }
.del-steps p { margin: 0; color: var(--ink-soft) }
.del-steps li.next { background: var(--ink); color: #fff }
.del-steps li.next .n, .del-steps li.next p { color: var(--on-dark-soft) }
@media (max-width: 860px) { .del-steps { grid-template-columns: minmax(0, 1fr) } .del-steps li { min-height: 0 } .del-steps h3 { margin-top: 18px } }
@media (prefers-reduced-motion: reduce) { .w .ph::after, .soon i { animation: none } .am { transform: none } }

/* ---------- mega menu: opens from Products on wide screens ---------- */
.top.mega-open { background: #0E1022; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px) }
.nav .has-mega { display: inline-flex; align-items: center; gap: 6px }
.nav .has-mega .chev { width: 10px; height: 10px; transition: transform .25s }
.top.mega-open .nav .has-mega { background: rgba(255,255,255,.14) }
.top.mega-open .nav .has-mega .chev { transform: rotate(180deg) }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #0E1022; border-top: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 60px -30px rgba(0,0,0,.6); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s }
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease }
.top .mega .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 3vw, 48px); align-items: stretch; padding-block: 30px 34px }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 1fr auto }
.mega-col { display: flex; flex-direction: column; gap: 26px; padding-inline: 26px; border-left: 1px solid rgba(255,255,255,.1) }
.mega-col:first-child { padding-left: 0; border-left: 0 }
.mega-grp h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: #8E92AE }
.mega-grp h4 i { width: 9px; height: 9px; border-radius: 50% }
.mega a.mi { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 0; color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.07); transition: color .2s, padding .25s }
.mega a.mi:last-child { border-bottom: 0 }
.mega a.mi:hover, .mega a.mi:focus-visible { color: var(--c); padding-left: 6px }
.mega a.mi small { color: #8E92AE; font-weight: 500; font-size: 13px; white-space: nowrap }
.mega .tag { font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(255,230,0,.16); color: var(--y) }
.mega-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr auto; column-gap: 0 }
.mega-list { display: flex; flex-direction: column; justify-content: flex-start; padding-inline: 28px; border-left: 1px solid rgba(255,255,255,.1) }
.mega-list:first-child { padding-left: 0; border-left: 0 }
.mega a.mt { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 18px; align-items: center; gap: 14px; padding: 15px 0; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .25s }
.mega a.mt:last-child { border-bottom: 0 }
.mega a.mt.sub { grid-template-columns: 14px minmax(0, 1fr) 18px; padding: 11px 0 11px 24px }
.mega a.mt.sub b { font-size: 17px }
.mega .mt i { width: 9px; height: 9px; border-radius: 50%; transition: transform .35s cubic-bezier(.2,.8,.2,1) }
.mega .mt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; transition: transform .35s cubic-bezier(.2,.8,.2,1) }
.mega .mt small { color: #8E92AE; font-size: 13.5px; white-space: nowrap }
.mega .mt .arrow { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1) }
.mega a.mt:hover, .mega a.mt:focus-visible { color: #fff }
.mega a.mt:hover i, .mega a.mt:focus-visible i { transform: scale(1.6) }
.mega a.mt:hover b, .mega a.mt:focus-visible b { transform: translateX(4px) }
.mega a.mt:hover .arrow, .mega a.mt:focus-visible .arrow { opacity: 1; transform: none }
.mega-list { padding-block: 0 }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14.5px; color: #8E92AE }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none }
.mega-foot a .arrow { width: 16px; height: 16px; transition: transform .3s }
.mega-foot a:hover .arrow { transform: translateX(3px) }
.mega-foot .push { margin-left: auto }
.mega-ai { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding: 28px; border-radius: 22px; text-decoration: none; color: #fff; background: radial-gradient(90% 120% at 90% 0%, #3446A8 0%, var(--indigo) 50%, var(--indigo-deep) 100%); min-height: 300px }
.mega-ai .copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start }
.mega-ai .k { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; color: #D7DAF0 }
.mega-ai b { font-family: var(--display); font-size: clamp(26px, 2.2vw, 34px); line-height: 1.04; letter-spacing: -0.02em }
.mega-ai .copy > span.t { color: #D7DAF0; font-size: 15px; line-height: 1.45 }
.mega-ai .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px }
.mega-ai .go .arrow { width: 17px; height: 17px; transition: transform .3s }
.mega-ai:hover .go .arrow { transform: translateX(4px) }
.mega-ai .demo { display: flex; flex-direction: column; justify-content: center; gap: 14px }
.mega-ai .bub { align-self: flex-end; max-width: 92%; background: #fff; color: var(--ink); border-radius: 16px 16px 5px 16px; padding: 10px 13px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 16px 30px -18px rgba(0,0,0,.6) }
.mega-ai .mini { position: relative; aspect-ratio: 3.5 / 2; border-radius: 8px; background: #17181C; padding: 9% 9% 0; display: flex; flex-direction: column; box-shadow: 0 26px 40px -22px rgba(0,0,0,.8); transform: rotate(-3deg); transition: transform .6s cubic-bezier(.2,.8,.2,1) }
.mega-ai:hover .mini { transform: rotate(0) translateY(-3px) }
.mega-ai .mini .f { font-size: 9px; letter-spacing: 3px; font-weight: 700 }
.mega-ai .mini .n { margin-top: auto; font-weight: 700; font-size: 15px }
.mega-ai .mini .r { font-size: 8px; letter-spacing: 1.5px; color: #A9ABB4; margin: 3px 0 12% }
.mega-ai .mini .ln { position: absolute; left: 0; right: 0; bottom: 9%; height: 3px; background: linear-gradient(90deg, #8B8E96, #F2F3F5 45%, #8B8E96) }
.mega-ai .dots i { mix-blend-mode: screen } .mega-ai .dots i:nth-child(4) { background: #fff }
@media (max-width: 1020px) { .mega { display: none } }
@media (max-width: 1260px) { .top .mega .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 340px) } .mega-ai { grid-template-columns: minmax(0, 1fr) } .mega-ai .demo { display: none } .mega-ai { min-height: 0 } }

/* phone menu: products open in place */
.sheet details { border-bottom: 1px solid rgba(255,255,255,.12) }
.sheet summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 28px; cursor: pointer }
.sheet summary::-webkit-details-marker { display: none }
.sheet summary::after { content: "+"; font-family: var(--body); font-weight: 500; font-size: 28px; color: #8E92AE }
.sheet details[open] summary::after { content: "–" }
.sheet details .sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 0 16px }
.sheet details .sub a { font-family: var(--body); font-weight: 600; font-size: 17px; padding: 10px 0; border-bottom: 0 }
.sheet details .sub a.all { grid-column: 1 / -1; color: var(--c) }
.sheet .nb { white-space: nowrap }

/* ---------- pages under the header ---------- */
.page-top { padding-top: clamp(104px, 10vw, 136px) }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-soft) }
.crumbs a { text-decoration: none } .crumbs a:hover { color: var(--ink); text-decoration: underline }

/* all products */
.ap-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; padding-bottom: clamp(28px, 4vw, 44px) }
.ap-head h1 { font-size: var(--fs-h1); line-height: 1.06; margin-top: 12px }
.ap-head p { margin: 0; color: var(--ink-soft); font-size: var(--fs-lede); max-width: 42ch }
.ap-bar { position: sticky; top: 78px; z-index: 5; background: rgba(244,243,239,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line) }
.ap-bar .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none }
.ap-bar .wrap::-webkit-scrollbar { display: none }
.ap-bar button { flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .2s, color .2s }
.ap-bar button i { width: 9px; height: 9px; border-radius: 50% }
.ap-bar button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none }
/* four across on a wide screen (Dec 1: the cards were a third of the page each), three on a laptop, two on a phone */
.ap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 2.6vw, 34px) 16px; padding-block: clamp(28px, 3.4vw, 44px) clamp(64px, 8vw, 104px) }
.ap-grid .prod { width: auto }
.ap-grid .prod[hidden] { display: none }
.ph-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #6E6A5C; font-weight: 600; font-size: 14px }
.ph-empty .big-dots { position: relative !important; right: auto !important; bottom: auto !important; opacity: 1 !important; --dx: 6px; --dy: 6px }
.prod .ph .soon-tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff }
.ap-signs .ph { background: var(--night) !important }
.ap-signs .ph img { opacity: .9 }
.ap-signs .ph .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 22px; color: #fff; background: linear-gradient(0deg, rgba(13,15,30,.85), rgba(13,15,30,0) 60%) }
.ap-signs .ph .ov strong { font-family: var(--display); font-size: 21px; line-height: 1.1 }
.ap-more { background: var(--paper-2); padding-block: clamp(52px, 6.4vw, 84px) }
.ap-more .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px }
.ap-more h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 16em }
.ap-more p { margin: 10px 0 0; color: var(--ink-soft); max-width: 46ch }
@media (max-width: 1180px) { .ap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 960px) { .ap-head { grid-template-columns: minmax(0, 1fr) } .ap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) {
  .ap-bar { top: 64px }
  .ap-grid { gap: 26px 12px }
  .ap-grid .prod .nm { font-size: 16px }
  .ap-grid .prod .meta { flex-direction: column; gap: 2px; font-size: 13.5px; margin-top: -10px }
  .ap-grid .prod .ph { border-radius: 14px }
  .ap-signs .ph .ov strong { font-size: 19px } .ap-signs .ph .ov span { display: none }
}

/* product page (owner, Dec 1: "layout ux … more user friendly ease of access … the options panel in product page is too big"):
   on a wide screen the pictures on the left, the name, the facts and the options on the right; on a phone the name first, then
   the pictures, then the facts and the options (js/product-ui.js shell) */
.pp-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "media head" "media buy"; grid-template-rows: auto 1fr; gap: 0 clamp(32px, 4.4vw, 72px); align-items: start; padding-bottom: clamp(52px, 6.4vw, 84px) }
.pp-head { grid-area: head; display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; min-width: 0 }
.pp-media { grid-area: media; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px }
.pp-buy { grid-area: buy }
.pp-img { position: relative; aspect-ratio: 896 / 1000; border-radius: 22px; overflow: hidden; background: #D9D6CF }
.pp-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% }
.pp-img > .big-dots { position: absolute; right: 18px; bottom: 18px; --dx: 6px; --dy: 6px }
/* the product's facts, one line each (owner, Dec 1: the four boxes under the picture were too big): a compact list on white */
.pp-specs { margin: 0; padding: 2px 16px; border-radius: 14px; background: #fff }
.pp-specs div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4 }
.pp-specs div:first-child { border-top: 0 }
.pp-specs dt { color: var(--ink-soft) }
.pp-specs dd { margin: 0; font-weight: 600 }

/* ---- the picture gallery (owner, Oct 26): the big picture with arrows, a strip of small ones under it (js/site.js, js/product-ui.js) ----
   Every box has its shape before any picture arrives (a square stage, square thumbnails, each flat card at the real product's
   proportions), so a slow or missing photo never moves the page; a missing one shows its alt text on a quiet grey. */
.gal { display: flex; flex-direction: column; gap: 12px; min-width: 0 }
.gal-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #D9D6CF; touch-action: pan-y; -webkit-tap-highlight-color: transparent }
.gal-slide { position: absolute; inset: 0 }
.gal-slide[hidden] { display: none }
.gal-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--paper-2); color: var(--ink-soft); font: 600 14px/1.4 var(--body); text-align: center }
/* a photo that has not arrived (or is not there yet) says what it is, on the quiet ground, instead of a blank box (Chrome and Firefox draw ::after on a broken image; Safari writes the alt text itself) */
.gal-slide > img::after, .fc img::after { content: attr(alt); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8%; background: var(--paper-2); color: var(--ink-soft); font: 600 14px/1.4 var(--body); text-align: center }
.gal.moved .gal-slide:not([hidden]) { animation: galin .3s ease }
@keyframes galin { from { opacity: 0 } to { opacity: 1 } }
.gal-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 6px 18px -6px rgba(20,22,43,.5); cursor: pointer; transition: background-color .2s, box-shadow .2s }
.gal-nav:hover { background: #fff; box-shadow: 0 8px 22px -6px rgba(20,22,43,.6) }
.gal-nav svg { width: 22px; height: 22px }
/* the site's focus ring turns whatever it rings into a 6px corner: these keep their own shapes */
.gal-stage:focus-visible { border-radius: 22px } .gal-nav:focus-visible { border-radius: 50% } .gal-thumb:focus-visible { border-radius: 12px } .sel select:focus-visible { border-radius: 10px }
.gal-prev { left: 12px } .gal-next { right: 12px }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 5px; margin: -5px; scrollbar-width: none }
.gal-thumbs::-webkit-scrollbar { display: none }
.gal-thumb { position: relative; flex: none; width: 76px; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: opacity .15s, box-shadow .15s }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block }
.gal-thumb img::after { content: ""; position: absolute; inset: 0; background: var(--paper-2) }
.gal-thumb:not([aria-current="true"]) { opacity: .78 }
.gal-thumb:hover { opacity: 1 }
.gal-thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink) }
/* the template drawn flat: the card at the product's real shape (--w x --h, inches), centred on a quiet ground. "Rounded corners" gives
   it the real corner radius (--r, inches): as a share of the card's width and of its height, so 1/8 in on a 3.5 x 2 in card is 3.6% by 6.3%. */
.gal-flat { background: linear-gradient(150deg, #EFEDE7, #DAD7CE) }
.gal-thumb .gal-flat { position: absolute; inset: 0 }
.fc { position: absolute; left: 50%; top: 50%; width: calc(70% * min(1, var(--w) / var(--h))); aspect-ratio: var(--w) / var(--h); transform: translate(-50%, -50%); overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(20,22,43,.2), 0 18px 34px -14px rgba(20,22,43,.5); transition: transform .4s cubic-bezier(.2,.8,.2,1), width .4s cubic-bezier(.2,.8,.2,1), opacity .3s, border-radius .25s }
.fc img { display: block; width: 100%; height: 100%; object-fit: cover; color: var(--ink-soft); font: 600 12px/1.3 var(--body); text-align: center }
.gal-flat.is-rounded .fc { border-radius: calc(var(--r) / var(--w) * 100%) / calc(var(--r) / var(--h) * 100%) }
.fc-back { opacity: 0; visibility: hidden }
/* "Front + Back": the back next to the front, a little behind and apart */
.gal-flat.is-both .fc { width: calc(60% * min(1, var(--w) / var(--h))) }
.gal-flat.is-both .fc-front { transform: translate(calc(-50% - 9%), calc(-50% - 12%)) }
.gal-flat.is-both .fc-back { opacity: 1; visibility: visible; transform: translate(calc(-50% + 9%), calc(-50% + 12%)) }
.gal-thumb .fc { box-shadow: 0 1px 2px rgba(20,22,43,.25), 0 6px 10px -5px rgba(20,22,43,.5); transition: none }
.pp-buy { display: flex; flex-direction: column; gap: 18px; min-width: 0 }
.pp-live { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.pp-head h1 { font-size: var(--fs-title); line-height: 1.08 }
.pp-lede { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.55 }
/* the options: a label with what is picked on the right, then compact choices (each still 44px tall, a finger's width) */
.opt { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px }
.opt-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--ink) }
.opt-l b { font-weight: 500; font-size: 13.5px; color: var(--ink-soft); text-align: right }
.seg { display: flex; flex-wrap: wrap; gap: 6px }
.seg button { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14px; cursor: pointer; text-align: left; transition: box-shadow .15s, background-color .15s }
.seg button:focus-visible { border-radius: 10px }
.seg button:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none }
/* a choice not offered at the size picked (a 48 × 48 sandwich board is two sided only) */
.seg button:disabled { color: var(--ink-soft); background: transparent; box-shadow: inset 0 0 0 1px var(--line); opacity: .55; cursor: not-allowed }
/* Corners (owner, Oct 26): a little card with square or round corners before the words, the colour of the words */
.seg button.ico { display: inline-flex; align-items: center; gap: 8px }
.cico { flex: none; width: 20px; height: 20px }
/* Quantity is a dropdown (owner, Oct 26): "250 — $45" where the product is priced. 16px type so a phone does not zoom in on it. */
.sel { position: relative }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: translateY(-72%) rotate(45deg); pointer-events: none }
.sel select { -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 46px; padding: 0 44px 0 14px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 16px/1.2 var(--body); cursor: pointer; transition: box-shadow .15s }
.sel select:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.sel select option:disabled { color: #8A8DA3 }
/* a sign's or banner's custom size (Part 5, Nov 12): width × height boxes like the Quantity dropdown (16px: no zoom on a phone),
   the rule in a sentence under them, the joint when there is one; the grommets drawn, a dot each */
.csz-row { display: flex; align-items: flex-end; gap: 10px }
.csz-f { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft) }
.csz-f input { width: 100%; min-height: 46px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 600 16px/1.2 var(--body); transition: box-shadow .15s }
.csz-f input:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.csz-f input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink) }
.csz-x { flex: none; padding-bottom: 13px; font-weight: 600; color: var(--ink-soft) }
.csz-hint { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45 }
.csz-hint[data-wrong] { color: var(--ink); font-weight: 600 }
.csz .joint { margin: 0; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600 }
.gpic { display: flex; align-items: center; gap: 14px; margin: 0 }
.gpic svg { flex: none; max-width: 100%; height: auto }
.gpic svg rect { fill: #fff; stroke: var(--ink); stroke-width: 1.4 }
.gpic svg circle { fill: var(--ink) }
.gpic figcaption { color: var(--ink-soft); font-size: 13.5px; font-weight: 600 }
.need-size { color: var(--ink-soft) }
.foldc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
.foldc button { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 10px 6px 6px; border-radius: 10px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: left; transition: box-shadow .15s, background-color .15s }
.foldc img { flex: none; width: 44px; height: 44px; border-radius: 7px; object-fit: cover; background: var(--paper-2) }
.foldc button > span { display: flex; flex-direction: column; gap: 1px; min-width: 0 }
.foldc b { font-size: 14px; line-height: 1.25 }
.foldc small { font-size: 12.5px; line-height: 1.3; color: var(--ink-soft) }
.foldc button:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.foldc button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none }
.foldc button[aria-pressed="true"] small { color: var(--on-dark-soft) }
/* the price (owner, Oct 26: "the price is too big"): it still reads first in the panel, at a calm size */
.pp-total { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; background: #fff; border-radius: 16px; padding: 14px 18px }
.pp-total .pp-k { display: block; color: var(--ink-soft); font-weight: 600; font-size: 13px }
.pp-total strong { display: block; font-family: var(--display); font-size: clamp(24px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; margin-top: 2px }
.pp-total small { display: block; color: var(--ink-soft); font-size: 13.5px; margin-top: 3px }
.pp-total small .save { color: var(--ink); font-weight: 700 }
/* the price breaks under the price, smaller (owner, Nov 11: "the price break info there in smaller lettering") */
.pp-total small.breaks { font-size: 12.5px; margin-top: 2px }
.pp-total .ready { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; font-weight: 600; font-size: 14px }
.pp-total .ready span { font-weight: 500; color: var(--ink-soft); font-size: 13.5px }
.pp-total.quote strong { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.25 }
.startl { display: flex; flex-direction: column; gap: 8px }
.startl .opt-l { margin-bottom: 2px }
.wm { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3px 14px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; overflow: hidden; transition: color .3s ease }
.wm::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2,.8,.2,1) }
.wm > * { position: relative }
.wm .d { width: 12px; height: 12px; border-radius: 50%; grid-row: span 2 }
.wm b { font-size: 16px }
.wm small { grid-column: 2; color: var(--ink-soft); font-size: 13.5px; transition: color .3s }
.wm:focus-visible { border-radius: 16px }
.wm .arrow { width: 20px; height: 20px; grid-column: 3; grid-row: 1 / span 2; transition: transform .3s }
.wm:hover, .wm:focus-visible { color: #fff }
.wm:hover::before, .wm:focus-visible::before { transform: none }
.wm:hover small, .wm:focus-visible small { color: var(--on-dark-soft) }
.wm:hover .arrow { transform: translateX(4px) }
.wm.primary { background: var(--indigo); color: #fff; box-shadow: none }
.wm.primary small { color: #D7DAF0 }
/* the Mahi AI mark on "Design it with Mahi AI" (owner, Oct 26): the four process dots, then the name — as in the Mahi AI app (css/brand-mark.css).
   On the indigo button the dots print the way they do on the dark header: screen blending, white for the K plate. */
.mahimark { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap }
.mahimark__name { display: block }
/* "Design it with Mahi AI" leads the artwork choices (owner, Dec 1: "Mahi AI prominent on product pages"): a big button in Mahi AI's
   indigo wearing the mark, the arrow in a white circle; upload, our team and the quote come after an "or", quieter (.wm-2) */
.wm.wm-ai { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; padding: 18px 18px 18px 22px; border-radius: 18px; background: radial-gradient(120% 160% at 90% 0%, #3446A8 0%, var(--indigo) 55%, var(--indigo-deep) 100%); color: #fff; box-shadow: 0 18px 34px -22px rgba(26,36,99,.85) }
.wm.wm-ai::before { background: var(--indigo-deep) }
.wm.wm-ai b { grid-column: 1; font-size: 18px; line-height: 1.25 }
.wm.wm-ai .mahimark { font-size: 20px; gap: 7px }
.wm.wm-ai small { grid-column: 1; color: #D7DAF0; font-size: 14px; line-height: 1.45 }
.wm.wm-ai:hover small, .wm.wm-ai:focus-visible small { color: #D7DAF0 }
.wm.wm-ai:focus-visible { border-radius: 18px }
.wm-ai__go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--indigo) }
.wm-ai__go .arrow { grid-column: auto; grid-row: auto }
.wm.wm-ai:hover .arrow { transform: translateX(3px) }
/* on the indigo the dots print the way they do on the dark header: screen blending, white for the K plate */
.wm-ai .mahimark .dots { isolation: isolate }
.wm-ai .mahimark .dots i { mix-blend-mode: screen }
.wm-ai .mahimark .dots i:nth-child(4) { background: #fff }
.wm.wm-2 { gap: 2px 12px; padding: 12px 16px; border-radius: 14px }
.wm.wm-2:focus-visible { border-radius: 14px }
.wm.wm-2 .d { width: 10px; height: 10px }
.wm.wm-2 b { font-size: 15.5px }
.wm.wm-2 small { font-size: 13.5px; line-height: 1.4 }
.wm.wm-2 .arrow { width: 18px; height: 18px }
.art-or { display: flex; align-items: center; gap: 12px; margin: 2px 0; color: var(--ink-soft); font-size: 13.5px; font-weight: 600 }
.art-or::before, .art-or::after { content: ""; flex: 1; height: 1px; background: var(--line) }
.pp-note { margin: 0; color: var(--ink-soft); font-size: 13.5px }
/* "Upload your artwork" in place, then "Create your order" (Oct 9, js/site.js) */
.wm[hidden] { display: none }
.upl { display: flex; flex-direction: column; gap: 8px }
.upl > button.wm { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ink) }
.upl > button.wm:hover, .upl > button.wm:focus-visible { color: #fff }
.upl-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px }
.upl-files[hidden] { display: none }
.upl-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px }
.upl-files .tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px }
.upl-files .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600 }
.upl-files button { border: 0; background: none; color: var(--ink-soft); font-size: 13.5px; cursor: pointer; padding: 4px 6px; border-radius: 8px }
.upl-files button:hover { color: var(--ink); text-decoration: underline }
.upl-msg { margin: 0; font-size: 14.5px; font-weight: 600 }
.upl-msg:empty { display: none }
.pp-more { background: #fff; padding-block: clamp(48px, 6vw, 80px) }
.pp-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 }
.pp-facts li { padding: 20px clamp(14px, 2vw, 28px) 6px 0; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 6px }
.pp-facts li + li { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line) }
.pp-facts .fd { width: 12px; height: 12px; border-radius: 50%; margin-bottom: 6px }
.pp-facts b { font-family: var(--display); font-size: var(--fs-h3); line-height: 1.2 }
.pp-facts span:not(.fd) { color: var(--ink-soft); font-size: 15px }
.pp-facts a { color: var(--ink); font-weight: 600 }
.pp-rel { margin-top: clamp(44px, 5vw, 64px) }
.pp-rel h2 { font-size: var(--fs-h2); line-height: 1.08; margin-bottom: 20px }
.pp-rel .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.pp-rel .prod { width: auto }
@media (max-width: 960px) {
  .pp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "media" "buy"; grid-template-rows: auto; row-gap: 18px }
  .pp-head { padding-bottom: 0 }
  .pp-media { position: relative; top: 0 }
  .pp-img { aspect-ratio: 4 / 3.4 }
  .gal { width: 100%; max-width: 560px; margin-inline: auto }
  .pp-facts { grid-template-columns: minmax(0, 1fr) }
  .pp-facts li + li { padding-left: 0; border-left: 0 }
  .pp-rel .grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter) }
  .pp-rel .grid::-webkit-scrollbar { display: none }
  .pp-rel .prod { flex: none; width: min(58vw, 280px); scroll-snap-align: start }
}
@media (max-width: 560px) { .pp-total .ready { align-items: flex-start; text-align: left } .pp-lede { font-size: 15.5px } }
@media (max-width: 560px) {
  .gal-stage { border-radius: 18px }
  .gal-prev { left: 8px } .gal-next { right: 8px }
  .gal-thumb, .gal-thumb:focus-visible { width: 64px; border-radius: 10px }
  .gal-stage:focus-visible { border-radius: 18px }
}
/* the sticky picture column is taller with the gallery in it: on a short window it scrolls with the page instead of hiding its thumbnails */
@media (min-width: 961px) and (max-height: 930px) { .pp-media.has-gal { position: static } }
@media (prefers-reduced-motion: reduce) { .gal.moved .gal-slide:not([hidden]) { animation: none } .fc { transition: none } }
/* a sign's uses and materials (Oct 23) */
.pp-about { padding-bottom: clamp(48px, 6vw, 80px) }
.pp-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); padding-top: clamp(32px, 3.6vw, 48px) }
.pp-about h2 { font-size: var(--fs-h3); line-height: 1.2; margin-bottom: 14px }
.pp-uses { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px }
.pp-uses li { position: relative; padding-left: 22px; font-size: 16px }
.pp-uses li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--m) }
.pp-mats { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px }
.pp-mats div { background: #fff; border-radius: 16px; padding: 16px 18px }
.pp-mats dt { font-family: var(--display); font-weight: 700; font-size: 16.5px }
.pp-mats dd { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px }
.pp-prose { margin: 0; font-size: 16px }
.pp-uses + .pp-prose { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px }
.pp-about-next { margin-top: clamp(36px, 4vw, 56px) }
@media (max-width: 960px) { .pp-about-grid { grid-template-columns: minmax(0, 1fr) } }

/* ---------- shared page head ---------- */
.pg-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 48px; align-items: end; padding-bottom: clamp(32px, 4vw, 52px) }
.pg-head h1 { font-size: var(--fs-h1); line-height: 1.06; margin-top: 12px }
.pg-head > p, .pg-head .side p { margin: 0; color: var(--ink-soft); font-size: var(--fs-lede); max-width: 42ch }
.pg-head .side { display: flex; flex-direction: column; gap: 22px; align-items: flex-start }
.on-dark .crumbs { color: var(--on-dark-soft) } .on-dark .crumbs a:hover { color: #fff }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }
.steps3 li { position: relative; background: #fff; border-radius: 18px; padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; min-height: 210px; overflow: hidden }
.steps3 .n { font-weight: 600; font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px }
.steps3 .n i { width: 10px; height: 10px; border-radius: 50% }
.steps3 h3 { font-size: var(--fs-h3); line-height: 1.15; margin-top: auto }
.steps3 p { margin: 0; color: var(--ink-soft); min-height: 4.65em }
.steps3 .big { position: absolute; right: -8px; top: -20px; font-family: var(--display); font-weight: 800; font-size: 120px; line-height: 1; letter-spacing: -0.04em; color: rgba(20,22,43,.05) }
.sec-pad { padding-block: clamp(56px, 7vw, 96px) }
.sec-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(28px, 3.5vw, 44px) }
.sec-title h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 16em }
.sec-title p { margin: 0; color: var(--ink-soft); max-width: 40ch }
.faq { border-top: 1.5px solid var(--ink) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.4vw, 20px) }
.faq summary::-webkit-details-marker { display: none }
.faq summary .pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, transform .3s }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 2px; transition: transform .3s }
.faq summary .pm::after { transform: rotate(90deg) }
.faq details[open] summary .pm { background: var(--ink); color: #fff }
.faq details[open] summary .pm::after { transform: rotate(0) }
.faq details p { margin: 0 0 20px; max-width: 62ch; color: var(--ink-soft); font-size: 16px }
.cta-band { background: var(--ink); color: #fff; padding-block: clamp(52px, 6.4vw, 88px); overflow: hidden; position: relative }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; position: relative }
.cta-band h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 14em }
.cta-band .big-dots { position: absolute; right: 8%; top: 50%; transform: translateY(-50%) scale(5); opacity: .22; --dx: 9px; --dy: 9px }
.cta-band .big-dots i { mix-blend-mode: screen } .cta-band .big-dots i:nth-child(4) { background: #fff }
@media (max-width: 960px) { .pg-head { grid-template-columns: minmax(0, 1fr) } .steps3 { grid-template-columns: minmax(0, 1fr) } .steps3 li { min-height: 0 } .steps3 p { min-height: 0 } .ct b.em { white-space: normal; overflow-wrap: anywhere } .steps3 h3 { margin-top: 26px } }

/* ---------- Mahi AI page ---------- */
.ai-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding-bottom: clamp(56px, 7vw, 96px) }
.ai-hero .pg-head { position: relative; z-index: 2; padding-bottom: 0 }
.ai-hero .pg-head p { color: #DADCEA }
.ai-hero h1 { max-width: 7.5em }
.ai-hero .pg-head .side { grid-column: 1; max-width: 560px }
.ai-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.ai-chips span { color: var(--on-dark-soft); font-size: 14.5px; margin-right: 4px }
.ai-chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; transition: background-color .2s }
.ai-chips a:hover { background: rgba(255,255,255,.2) }
.ai-orbs { position: absolute; right: -6vw; top: 50%; width: min(56vw, 760px); aspect-ratio: 1; transform: translateY(-46%); pointer-events: none; opacity: .9 }
.ai-orbs i { position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; filter: blur(.5px); animation: orbit 14s ease-in-out infinite alternate }
.ai-orbs i:nth-child(1) { background: var(--c); left: 18%; top: 14%; opacity: .55 }
.ai-orbs i:nth-child(2) { background: var(--m); left: 38%; top: 14%; opacity: .5; animation-delay: -3s }
.ai-orbs i:nth-child(3) { background: var(--y); left: 18%; top: 36%; opacity: .45; animation-delay: -6s }
.ai-orbs i:nth-child(4) { background: #fff; left: 38%; top: 36%; opacity: .14; animation-delay: -9s }
@keyframes orbit { 0% { transform: translate(0, 0) } 50% { transform: translate(4%, -3%) } 100% { transform: translate(-3%, 4%) } }
.ai-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,15,30,.92) 0%, rgba(13,15,30,.55) 45%, rgba(13,15,30,0) 75%) }
#ai-slot .ai { padding-top: clamp(60px, 8vw, 110px) }
@media (max-width: 760px) { .ai-orbs { width: 110vw; right: -40vw; top: 34%; opacity: .55 } .ai-hero::after { background: linear-gradient(0deg, rgba(13,15,30,.95) 0%, rgba(13,15,30,.6) 60%, rgba(13,15,30,.2) 100%) } }
@media (prefers-reduced-motion: reduce) { .ai-orbs i { animation: none } }

/* ---------- reorder ---------- */
.ro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: stretch }
.ro-card { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; justify-content: space-between }
.ro-card h3 { font-size: var(--fs-h3); line-height: 1.15 }
.ro-card p { margin: 0; color: var(--on-dark-soft) }
.ro-card .mock { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border-radius: 14px; padding: 8px 8px 8px 18px; color: #8E92AE; font-size: 15.5px }
.ro-card .mock span { flex: 1 }
.ro-card .mock b { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--ink); font-size: 14.5px }
.ro-side { background: #fff; border-radius: 22px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px }
.ro-side h3 { font-size: 22px }
.ro-side p { margin: 0; color: var(--ink-soft) }
.ro-side a { color: var(--ink); font-weight: 600 }
@media (max-width: 960px) { .ro-grid { grid-template-columns: minmax(0, 1fr) } }

/* ---------- help ---------- */
.help-tabs { position: sticky; top: 78px; z-index: 5; background: rgba(244,243,239,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line) }
.help-tabs .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none }
.help-tabs .wrap::-webkit-scrollbar { display: none }
.help-tabs a { flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px; text-decoration: none }
.help-tabs a i { width: 9px; height: 9px; border-radius: 50% }
.help-tabs a:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.hsec { padding-block: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line) }
main section.hsec[id] { scroll-margin-top: 146px }
.hsec:last-of-type { border-bottom: 0 }
.hsec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(32px, 5vw, 80px) }
.hsec-grid > div:first-child { display: flex; flex-direction: column; gap: 14px; align-items: flex-start }
.hsec h2 { font-size: var(--fs-h2); line-height: 1.08 }
.hsec-grid > div:first-child p { margin: 0; color: var(--ink-soft) }
.spec-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.spec-list div { background: #fff; border-radius: 16px; padding: 18px 20px }
.spec-list dt { font-weight: 600; font-size: 13.5px; color: var(--ink-soft) }
.spec-list dd { margin: 6px 0 0; font-weight: 600; font-size: 17px }
.spec-list dd span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 15px; margin-top: 4px }
.spec-wrap { display: flex; flex-direction: column; gap: 12px }
.bleed-demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; background: #fff; border-radius: 16px; padding: 22px }
.bd-card { position: relative; aspect-ratio: 3.75 / 2.25; background: var(--indigo); border-radius: 4px }
.bd-card .trim { position: absolute; inset: 5.5%; border: 1.5px solid #fff; }
.bd-card .safe { position: absolute; inset: 11%; border: 1.5px dashed var(--y) }
.bd-card .nm { position: absolute; left: 15%; bottom: 18%; color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(14px, 1.4vw, 19px) }
.bd-key { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px }
.bd-key li { display: flex; gap: 12px; align-items: baseline }
.bd-key i { flex: none; width: 22px; height: 0; border-top: 2px solid; transform: translateY(-4px) }
.tt { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; font-size: 16px }
.tt th, .tt td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line) }
.tt th { font-weight: 600; font-size: 13.5px; color: var(--ink-soft) }
.tt tr:last-child td { border-bottom: 0 }
.tt td:last-child { font-weight: 600 }
.tt td small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px }
.cards2 > .todo, .todo { background: #FFF6B8; border-radius: 16px; padding: 18px 20px; font-size: 15px }
.todo b { font-size: 13.5px; display: block; margin-bottom: 6px }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.cards2 > div { background: #fff; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px }
.cards2 h3 { font-size: 21px }
.cards2 p { margin: 0; color: var(--ink-soft) }
.cards2 a { color: var(--ink); font-weight: 600 }
@media (max-width: 960px) { .hsec-grid { grid-template-columns: minmax(0, 1fr) } }
@media (max-width: 560px) { .help-tabs { top: 64px } .spec-list, .cards2 { grid-template-columns: minmax(0, 1fr) } .bleed-demo { grid-template-columns: minmax(0, 1fr) } .tt th, .tt td { padding: 14px } }

/* ---------- contact ---------- */
.ct-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(40px, 6vw, 110px); align-items: start }
.ct-main h1 { font-size: var(--fs-h1); line-height: 1.06; margin-top: 12px }
.ct-lede { margin: 14px 0 0; color: var(--ink-soft); font-size: var(--fs-lede) }
.ct-list { margin: clamp(36px, 4vw, 56px) 0 0; border-top: 1.5px solid var(--ink) }
.ct-list > div { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(0, 3fr); gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--line) }
.ct-list dt { font-weight: 600; font-size: 14px; color: var(--ink-soft); padding-top: 4px }
.ct-list dd { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5 }
.ct-list dd > a:not(.ct-dir) { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); text-decoration: none }
.ct-list dd > a:not(.ct-dir):hover { text-decoration: underline; text-underline-offset: 4px }
.ct-list dd span { color: var(--ink-soft); font-size: 16px }
.ct-dir { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 16px }
.ct-dir .arrow { width: 16px; height: 16px }
.ct-aside { position: sticky; top: 110px; display: flex; flex-direction: column; background: #fff; border-radius: 22px; padding: 28px 28px 14px; margin-top: clamp(40px, 6vw, 70px) }
.ct-aside h2 { font-size: 22px; margin-bottom: 10px }
.ct-aside a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 16.5px }
.ct-aside a .arrow { width: 18px; height: 18px; transition: transform .3s }
.ct-aside a:hover .arrow { transform: translateX(4px) }
@media (max-width: 860px) { .ct-wrap { grid-template-columns: minmax(0, 1fr) } .ct-aside { position: static; margin-top: 0 } }
@media (max-width: 520px) { .ct-list > div { grid-template-columns: minmax(0, 1fr) } .ct-list dt { padding-top: 0 } }

/* ---------- legal pages ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 32px clamp(40px, 6vw, 100px); padding-bottom: clamp(70px, 9vw, 120px) }
.legal nav { position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 2px; border-top: 1.5px solid var(--ink); padding-top: 10px }
.legal nav a { padding: 8px 0; text-decoration: none; color: var(--ink-soft); font-size: 15px }
.legal nav a:hover { color: var(--ink) }
.legal article { display: flex; flex-direction: column; gap: 36px; max-width: 760px }
.legal h2 { font-size: var(--fs-h3); margin-bottom: 12px; scroll-margin-top: 110px }
.legal .todo { max-width: 760px }
.foot-bottom a { color: inherit; text-decoration: none } .foot-bottom a:hover { color: #fff; text-decoration: underline }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr) } .legal nav { position: static } }

/* ---------- 404: the four plates out of register ---------- */
.nf { min-height: calc(100svh / var(--z)); display: flex; align-items: center; padding-block: 140px 80px }
.nf .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 100px); align-items: center }
.misreg { position: relative; font-family: var(--display); font-weight: 800; font-size: clamp(120px, 20vw, 300px); line-height: .85; letter-spacing: -0.04em; color: transparent; user-select: none }
.misreg span { position: absolute; left: 0; top: 0; mix-blend-mode: multiply; transition: transform 1.2s cubic-bezier(.2,.8,.2,1) }
.misreg span:nth-child(1) { color: var(--c); transform: translate(-14px, -10px) }
.misreg span:nth-child(2) { color: var(--m); transform: translate(12px, -6px) }
.misreg span:nth-child(3) { color: var(--y); transform: translate(-6px, 12px) }
.misreg span:nth-child(4) { color: var(--k); transform: translate(3px, 3px) }
.misreg:hover span { transform: none }
.nf h1 { font-size: var(--fs-h1); line-height: 1.06 }
.nf p { margin: 16px 0 26px; color: var(--ink-soft); font-size: 18px; max-width: 36ch }
.nf .links { display: flex; flex-direction: column; border-top: 1.5px solid var(--ink); margin-top: 28px }
.nf .links a { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 17px }
.nf .links a .arrow { width: 18px; height: 18px; transition: transform .3s }
.nf .links a:hover .arrow { transform: translateX(4px) }
@media (max-width: 860px) { .nf .wrap { grid-template-columns: minmax(0, 1fr) } .nf { padding-top: 120px } }
@media (prefers-reduced-motion: reduce) { .misreg span { transition: none } }

/* ---------- visit ---------- */
.visit { padding-block: clamp(80px, 10vw, 130px); background: var(--paper-2) }
.visit .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px clamp(32px, 6vw, 96px) }
.visit h2 { font-size: var(--fs-h2); line-height: 1.08 }
.visit .actions { margin-top: 26px }
.visit dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; align-content: start }
.visit dt { font-weight: 600; font-size: 14px; color: var(--ink-soft); margin-bottom: 4px }
.visit dd { margin: 0; font-size: 18px }
@media (max-width: 860px) { .visit .wrap, .visit dl { grid-template-columns: minmax(0, 1fr) } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--on-dark-soft); padding-block: 70px 28px; font-size: 15px }
.foot .wrap { display: flex; flex-direction: column; gap: 46px }
.foot-top { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between }
.foot-top img { height: 64px; width: auto }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; flex: 1; max-width: 780px }
.foot-cols h4 { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: #9DA1BC }
.foot-cols a { display: block; padding: 6px 0; color: var(--on-dark); text-decoration: none }
.foot-cols a:hover { text-decoration: underline }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 13.5px }
@media (max-width: 760px) { .foot-top { flex-direction: column } .foot-top img { height: 54px } .foot-cols { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px } .foot-cols > div { min-width: 0 } }



@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none }
  .slide .media, .slide.is-active .media { animation: none; transform: none }
  .slide .copy-in > * { opacity: 1; transform: none; animation: none !important }
  .pick .bar i { animation: none !important }
  .pick[aria-current="true"] .bar i { width: 100% }
  .slide .on-layer { transition: none }
  .msg { animation: none }
  .door, .door:hover { transform: none }
  .typing i { animation: none }
}

/* production additions */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600 }
.skip:focus { top: 12px }
#content { scroll-margin-top: 120px }
#content:focus { outline: none }
.page-top-spacer { height: clamp(40px, 5vw, 64px); background: var(--paper) }
.legal article p, .legal article li { color: var(--ink-soft); font-size: 17px; line-height: 1.65 }
.legal article p { margin: 0 0 14px }
.legal article ul { margin: 0 0 14px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px }
.legal article b { color: var(--ink); font-weight: 600 }
.legal article a { color: var(--ink) }
.legal .legal-date { font-size: 14px; color: var(--ink-soft); margin: 0 }
.legal .legal-intro { color: var(--ink); font-size: 19px; margin-top: -20px }

/* ---------- cart (Oct 10, js/site.js): the header button and the mini-cart that opens from it ---------- */
.cart-btn { position: relative; flex: none; display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .2s ease, color .6s ease }
.cart-btn svg { width: 22px; height: 22px }
.cart-btn:hover, .cart-btn[aria-expanded="true"] { background: rgba(255,255,255,.28) }
.top.is-light .cart-btn { background: rgba(20,22,43,.08); color: var(--ink) }
.top.is-light .cart-btn:hover, .top.is-light .cart-btn[aria-expanded="true"] { background: rgba(20,22,43,.16) }
.cart-n { position: absolute; top: -3px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--y); color: var(--ink); font: 700 12px/20px var(--body); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); pointer-events: none }
.cart-n[hidden] { display: none }
@media (prefers-reduced-motion: no-preference) { .cart-n.bump { animation: cartbump .4s cubic-bezier(.2,.8,.2,1) } }
@keyframes cartbump { 40% { transform: scale(1.3) } }
.top .logo { flex: none }
/* the row was a near-exact fit at 1021px: the cart button's room comes from slightly tighter gaps until the screen has it to spare */
@media (min-width: 1021px) and (max-width: 1160px) {
  .top .wrap { gap: 14px }
  .nav a { padding-inline: 8px }
}
@media (max-width: 1020px) {
  .top .wrap { gap: 10px }
  .cart-btn { margin-left: auto }
  .menu-btn { margin-left: 0 }
}

/* the popover hangs from the header, under the cart button (top-right); on phones it spans the width between the gutters */
.minicart { position: absolute; z-index: 3; top: calc(100% + 6px); right: calc(max(0px, (100% - 1320px) / 2) + var(--gutter)); width: min(420px, calc(100% - 2 * var(--gutter))); max-height: min(660px, calc(100vh / var(--z) - 130px)); max-height: min(660px, calc(100dvh / var(--z) - 130px)); display: flex; flex-direction: column; overflow: hidden; background: var(--paper); color: var(--ink); border-radius: 22px; box-shadow: 0 0 0 1px rgba(20,22,43,.08), 0 34px 70px -26px rgba(8,10,24,.6); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s }
.minicart.open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease }
@media (max-width: 600px) { .minicart { left: var(--gutter); width: auto; border-radius: 18px } }
.mc-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px 4px 22px }
.mc-head .kicker { font-family: var(--body); font-size: 15px }
.mc-head .kicker:focus { outline: none }
.minicart .dots i { mix-blend-mode: multiply }
.minicart .dots i:nth-child(4) { background: var(--k) }
.mc-x { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s }
.mc-x:hover { background: rgba(20,22,43,.08) }
.mc-x svg { width: 20px; height: 20px }
.mc-live { flex: none; padding: 0 22px }
.mc-note { display: flex; align-items: center; gap: 10px; margin: 2px 0 4px; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 14.5px }
.mc-note .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 11px; line-height: 1 }
.mc-note.err .tick { background: var(--m) }
.mc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 22px 8px }
.mc-body [hidden] { display: none }
.mc-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 10px 0 14px }
.mc-empty p { margin: 0; color: var(--ink-soft); font-size: 15px }
.mc-empty b { display: block; margin-bottom: 2px; color: var(--ink); font-family: var(--display); font-size: 21px; letter-spacing: -0.01em }
.mc-items { list-style: none; margin: 0; padding: 0 }
.mc-items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; padding: 12px 0 10px; border-top: 1px solid var(--line) }
.mc-items li:first-child { border-top: 0 }
.mc-name { font-weight: 700; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere }
.mc-price { font-weight: 700; font-size: 16px; line-height: 1.3; text-align: right; white-space: nowrap }
.mc-price.q { font-weight: 600; font-size: 13.5px; color: var(--ink-soft); padding-top: 2px }
.mc-opts { grid-column: 1; grid-row: 2; margin-top: 3px; color: var(--ink-soft); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden }
.mc-rm { grid-column: 2; grid-row: 2; align-self: start; justify-self: end; min-height: 36px; margin: -6px -8px -10px 0; padding: 0 8px; white-space: nowrap; border: 0; border-radius: 8px; background: none; color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.mc-rm:hover { color: var(--ink) }
.mc-rm:disabled { opacity: .55; cursor: progress; text-decoration: none }
.mc-foot { flex: none; display: flex; flex-direction: column; gap: 10px; padding: 14px 22px 22px; border-top: 1px solid var(--line) }
.mc-foot[hidden] { display: none }
.mc-sub { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; font-weight: 600 }
.mc-sub[hidden] { display: none }
.mc-sub small { color: var(--ink-soft); font-weight: 500; font-size: 13.5px }
.mc-sub b { font-family: var(--display); font-size: 28px; line-height: 1.1; letter-spacing: -0.02em }
.mc-quotes { margin: 0; color: var(--ink-soft); font-size: 14.5px; font-weight: 600 }
.mc-quotes[hidden] { display: none }
.mc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s ease, color .25s ease }
.mc-btn .arrow { width: 18px; height: 18px; flex: none; transition: transform .3s ease }
.mc-btn:hover .arrow { transform: translateX(3px) }
.mc-go { background: var(--indigo); color: #fff }
.mc-go:hover { background: var(--indigo-deep) }
.mc-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink) }
.mc-line:hover { background: var(--ink); color: #fff }
@media (prefers-reduced-motion: reduce) {
  .minicart, .minicart.open { transition: none; transform: none }
  .cart-btn, .mc-btn, .mc-x { transition: none }
  .mc-btn:hover .arrow { transform: none }
}

/* "Add to cart" on product pages (js/site.js posts it to the portal) */
.addc { display: flex; flex-direction: column; gap: 8px }
.addc[hidden] { display: none }
.addc > button.wm { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; background: var(--ink); color: #fff; box-shadow: none }
.addc > button.wm::before { background: var(--indigo-deep) }
.addc > button.wm small { color: var(--on-dark-soft) }
.addc > button.wm:disabled { cursor: progress; opacity: .85 }
.wm .bag { width: 22px; height: 22px; grid-column: 3; grid-row: 1 / span 2 }

/* an item that still needs details (Oct 24: every cart item finishes its own step before it is ordered) */
.mc-needs { position: relative; grid-column: 1; grid-row: 3; justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 7px; padding: 3px 11px 3px 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: 12.5px; line-height: 1.5 }
.mc-needs::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--m) }
.mc-vh, .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.mc-go.needs { white-space: normal; text-align: center; padding-block: 8px }

/* THE WEBSITE IS THE SHOP (owner, Nov 25; js/product-ui.js shopBox): "Add to cart" right under the price, always there,
   then YOUR ARTWORK — upload or our team open here, Mahi AI is a link */
.cartbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px var(--body); cursor: pointer; transition: background-color .25s ease }
.cartbtn:hover, .cartbtn:focus-visible { background: var(--indigo) }
.cartbtn .bag { width: 22px; height: 22px; flex: none }
.cartbtn:disabled { cursor: progress; opacity: .85 }
.addc-hint { margin: 0; color: var(--ink-soft); font-size: 13.5px; text-align: center }
.addc .upl-msg { text-align: center }
.startl.art { margin-top: 4px }
button.wm.art-choice { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--ink) }
button.wm.art-choice:hover, button.wm.art-choice:focus-visible { color: #fff }
.wm.art-choice.on { box-shadow: inset 0 0 0 2px var(--ink) }
.art-panel { display: flex; flex-direction: column; gap: 8px; margin-left: 23px; padding: 2px 0 8px 18px; border-left: 2px solid var(--line) }
.art-more { align-self: flex-start; min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--ink); font: 600 15px var(--body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.art-more:hover { color: var(--indigo) }
.team-l { font-weight: 600; font-size: 15px }
.team textarea { box-sizing: border-box; width: 100%; min-height: 112px; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 16px/1.45 var(--body); color: var(--ink); resize: vertical }
.team textarea:focus { outline: 2px solid var(--indigo); outline-offset: 1px }
.team-note { margin: 0; color: var(--ink-soft); font-size: 14px }

/* INSTALLATION AND POSTS (Nov 30): two choices, quoted separately; where it goes once either is picked */
.xtra-hint { color: var(--ink-soft); font-size: 13.5px; line-height: 1.45 }
.xtra-det { display: flex; flex-direction: column; gap: 8px }
.xtra-l { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; margin-top: 4px; font-weight: 600; font-size: 15px }
.xtra-l span { font-weight: 400; font-size: 13.5px; color: var(--ink-soft) }
.xtra-det input, .xtra-det textarea { box-sizing: border-box; width: 100%; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 16px/1.45 var(--body); transition: box-shadow .15s }
.xtra-det input { min-height: 46px; padding: 0 14px }
.xtra-det textarea { min-height: 96px; padding: 12px 14px; resize: vertical }
.xtra-det input:hover, .xtra-det textarea:hover { box-shadow: inset 0 0 0 1.5px var(--ink) }
.xtra-det input:focus-visible, .xtra-det textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink) }
.xtra-det input[data-wrong] { box-shadow: inset 0 0 0 2px var(--ink) }
.pp-total small.xtra-q { font-weight: 600; color: var(--ink) }
@media (prefers-reduced-motion: reduce) { .cartbtn { transition: none } }

/* THE SAME ROWS AS THE ORDER SITE'S MINI-CART (Nov 25): its picture, what goes with it, what it needs, Finish */
.mc-items li { grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 12px }
.mc-th { grid-column: 1; grid-row: 1 / span 4; align-self: start; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #fff; box-shadow: inset 0 0 0 1px var(--line) }
.mc-tile { display: grid; place-items: center; color: var(--ink-soft) }
.mc-items .mc-name { grid-column: 2 }
.mc-items .mc-price { grid-column: 3; grid-row: 1 }
.mc-items .mc-opts, .mc-items .mc-needs { grid-column: 2 / span 2; grid-row: auto }
.mc-items .mc-art { -webkit-line-clamp: 1 }
.mc-acts { grid-column: 2 / span 2; display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 4px }
.mc-acts .mc-rm { margin: 0 -8px 0 0 }
.mc-fin { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .2s }
.mc-fin:hover, .mc-fin:focus-visible { background: var(--indigo) }
