/* Plattar v2 (design preview, Nov 2026): clay.com's layout and motion language, Plattar's brand and content.
   Colours are tokens here and only here; components use the custom properties. */

:root {
  /* Plattar brand (from plattar-website/site.css) */
  --teal-50: #E6FBF6; --teal-100: #C3F6EA; --teal-200: #8FEDD6; --teal-300: #4EE0BE; --teal-500: #00C9A7;
  --teal-700: #008A74; --teal-800: #046B5B; --teal-900: #075747; --teal-950: #04332B;
  --coral-50: #FFF1EF; --coral-100: #FFDDD8; --coral-300: #FF9A8C; --coral-500: #FF6B5B; --coral-700: #BC3A2C;

  /* Pillar pastels and accents, after Clay's per-product colours, built around the Plattar palette */
  --sky-50: #EEF4FF; --sky-100: #DCE8FF; --sky-200: #BCD3FF; --sky-700: #2A55C9;
  --lime-50: #F5F7D6; --lime-100: #E9EEAE; --lime-200: #DCE57A; --lime-700: #5C6B00;
  --plum-50: #F8EEF8; --plum-100: #F0DCF0; --plum-200: #E6C3E5; --plum-700: #8A2A86;
  --sand-50: #F8F2E8; --sand-100: #EFE3CF; --sand-200: #E6CEA6; --sand-700: #85561C;
  --coral-200: #FFC3BA;

  /* Fabric swatches */
  --sw-olive: #6b6a45; --sw-terracotta: #a5573c; --sw-silver: #b7b6b1; --sw-beige: #d9cfbd;
  --sw-oak: #c9a77c; --sw-sage: #8f9d84;

  /* Surfaces (Clay: off-white page, warm grey panels) */
  --page: #FCFBF9; --ink: #0F1F1B; --ink-2: #3E4B47; --ink-3: #56615E;
  --panel: #F3F1EC; --panel-2: #ECE9E2; --stage: #EDE7DD; --line: #E4E0D8; --white: #FFFFFF;
  --on-dark: #F4FBF8;

  --font-display: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion tokens extracted from clay.com (designlang) */
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-swift: cubic-bezier(.625, .05, 0, 1);
  --dur: .3s;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(15, 31, 27, .06), 0 6px 18px -8px rgba(15, 31, 27, .14);
  --shadow-2: 0 24px 60px -24px rgba(15, 31, 27, .28);
  --nav-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
html.rm { scroll-behavior: auto; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: var(--white); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; }
/* model-viewer focuses an element inside its shadow root, so its ring follows keyboard use (html.kb, set in v2.js) */
html.kb model-viewer:focus-within { outline: 2px solid var(--teal-500); outline-offset: -2px; }

.wrap { width: min(1280px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.sec { padding: clamp(60px, 7.5vw, 104px) 0 0; }  /* a third tighter than before (Phillip, 19 Nov) */
.sec-head { max-width: 1060px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.h2 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
/* Heading lines: a hand-broken heading is set as separate lines, each balanced on its own; short compounds stay whole */
.hl { display: block; text-wrap: balance; }
.nw { white-space: nowrap; }
p, li, blockquote, .trust-title { text-wrap: pretty; }
.sec-lead { max-width: 760px; margin: 18px auto 0; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); }
#pillars .sec-lead { max-width: 1040px; }  /* the toolset line reads in three lines on laptops and desktops (four at 760px) */
.kicker { margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-800); }
.fine { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* Split-text lines: each line is masked so it can rise into view */
[data-split] > div { padding: .02em .06em .18em; margin: -.02em -.06em -.18em; }  /* SplitText's line masks */

/* ---------- Buttons (Clay: compact pills with a sliding arrow) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 12px;
  font-family: var(--font-body); font-size: 15.5px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; border-radius: 10px; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--teal-900); }
.btn-teal { background: var(--teal-500); color: var(--teal-950); }
.btn-teal:hover { background: var(--teal-300); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.btn-white:hover { background: var(--panel); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-ghost:hover { background: var(--panel); }
.btn-tour { box-shadow: 0 10px 24px -12px rgba(0, 138, 116, .55); }
.btn-accent { background: var(--acc); color: var(--white); }
.btn-accent:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.97); }
.arr { position: relative; display: inline-block; width: 14px; height: 14px; overflow: hidden; flex: none; }
.arr::before, .arr::after { content: ''; position: absolute; inset: 0; background: currentColor; transition: transform .35s var(--ease-expo);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.arr::after { transform: translateX(-120%); }
a:hover > .arr::before, button:hover > .arr::before, a:hover .arr::before { transform: translateX(120%); }
a:hover > .arr::after, button:hover > .arr::after, a:hover .arr::after { transform: translateX(0); }
.arr-l { transform: scaleX(-1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--acc, var(--ink)); color: var(--white);
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tag::after { content: ''; width: 18px; height: 10px; margin-right: -4px; border-radius: 999px; background: currentColor; opacity: .35; }
.tag { align-self: flex-start; }
.tag-light { background: rgba(4, 20, 17, .55); color: var(--white); backdrop-filter: blur(8px); }

/* ---------- 1. Nav: an inset floating bar ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; translate: -50% 0; width: min(1320px, 100% - 24px); height: var(--nav-h);
  display: flex; align-items: center; gap: 20px; padding: 0 10px 0 20px; border-radius: 16px; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 0 0 1px rgba(15, 31, 27, .06), 0 8px 24px -14px rgba(15, 31, 27, .25);
  transition: box-shadow var(--dur) var(--ease-out), translate .45s var(--ease-expo); }
.nav.is-hidden { translate: -50% calc(-100% - 20px); }
.nav-logo img { width: 104px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav-item { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { background: var(--panel); }
button.nav-btn::after { content: ''; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; rotate: 45deg; translate: 0 -2px; transition: rotate .3s var(--ease-expo); }
.nav-btn[aria-expanded="true"]::after { rotate: 225deg; translate: 0 2px; }
.nav-drop { position: absolute; top: calc(100% + 12px); left: -8px; width: 380px; display: grid; gap: 2px; padding: 8px; border-radius: 16px; background: var(--white);
  box-shadow: 0 0 0 1px rgba(15, 31, 27, .06), var(--shadow-2); opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity .25s var(--ease-out), translate .35s var(--ease-expo), visibility .25s; }
.nav-drop-2 { width: 300px; }
.nav-item.is-open .nav-drop { opacity: 1; visibility: visible; translate: 0 0; }
.nav-drop a { display: block; padding: 10px 12px; border-radius: 10px; transition: background .2s; }
.nav-drop a:hover { background: var(--panel); }
.nav-drop b { display: block; font-size: 15px; font-weight: 600; }
.nav-drop span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-3); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link { padding: 0 12px; font-size: 15px; font-weight: 500; }
.nav-burger { display: none; width: 40px; height: 40px; border-radius: 10px; background: var(--panel); position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1.8px; background: var(--ink); transition: transform .3s var(--ease-expo); }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 22px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-sheet { position: fixed; z-index: 49; inset: 84px 12px auto; display: grid; gap: 4px; padding: 14px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-2); }
.nav-sheet[hidden] { display: none; }
.nav-sheet a { padding: 12px 10px; font-size: 18px; font-weight: 600; font-family: var(--font-display); }
.nav-sheet .btn { margin-top: 8px; color: var(--white); font-family: var(--font-body); font-size: 16px; }

/* ---------- 2. Hero: a full-bleed stage with live 3D at its heart ---------- */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--ink); }
.hero-stage { position: absolute; inset: 0; z-index: -2; }
.hero-sky { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 30%, var(--white), transparent 70%), linear-gradient(180deg, var(--teal-50) 0%, var(--page) 48%, var(--stage) 100%); }
.hero-floor { position: absolute; left: -10%; right: -10%; bottom: -30%; height: 75%; border-radius: 50%; background: radial-gradient(closest-side, var(--panel-2), transparent); opacity: .9; }
.hero-model { position: absolute; z-index: -1; left: 50%; top: 84px; translate: -50% 0; width: min(1000px, 78vw); height: max(320px, calc(100svh - 460px)); }
.hero-model model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
/* The sofa floats: it spins on its own, bobs gently (v2.js) and its shadow on the floor breathes with it */
.hero-glow { position: absolute; left: 50%; top: 18%; width: min(860px, 70vw); aspect-ratio: 2 / 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 201, 167, .16), rgba(0, 201, 167, .05) 55%, transparent); filter: blur(6px); }
.hero-shadow { position: absolute; left: 50%; bottom: 13%; width: 44%; height: 34px; translate: -50% 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(15, 31, 27, .26), rgba(15, 31, 27, .08) 60%, transparent); will-change: transform, opacity; }
/* Results float around the sofa as glass cards: an arrow, the figure (counts up), what it measures and a small trend
   line. Each card drifts at its own pace; as the sofa changes fabric, the next card lights up (.is-on, v2.js) */
.hero-stats { position: absolute; inset: 0; z-index: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.hstat { position: absolute; will-change: transform; }
.hstat-card { display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 20px; pointer-events: auto;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(255, 255, 255, .8); white-space: nowrap;
  animation: hfloat var(--fd, 6s) ease-in-out var(--fdel, 0s) infinite; transition: box-shadow .5s var(--ease-out), background .5s var(--ease-out); }
.hstat-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: var(--teal-50); color: var(--teal-800);
  transition: background .5s var(--ease-out), color .5s var(--ease-out), transform .5s var(--ease-expo); }
.hstat-ic svg { width: 20px; height: 20px; }
.hstat-txt { display: flex; flex-direction: column; gap: 3px; }
.hstat-txt b { font: 600 27px/1 var(--font-display); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hstat-txt small { font-size: 13px; line-height: 1.2; font-weight: 600; color: var(--ink-3); }
.hstat-spark { flex: none; width: 56px; height: 24px; margin-left: 4px; overflow: visible; }
.hstat-line { fill: none; stroke: var(--teal-500); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hstat-area { fill: rgba(0, 201, 167, .12); stroke: none; }
.hstat.is-on .hstat-card { background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-2), 0 0 0 1px rgba(0, 201, 167, .35), 0 0 0 7px rgba(0, 201, 167, .1); }
.hstat.is-on .hstat-ic { background: var(--teal-500); color: var(--white); transform: scale(1.06); }
/* Around the sofa: two cards each side and one above, the nearer ones larger */
.hstat-1 { left: 8%; top: 20%; }
.hstat-2 { right: 7%; top: 17%; }
.hstat-3 { left: 15%; top: min(48%, calc(100% - clamp(140px, 17vh, 190px) - 340px)); }  /* clear of the two-line headline on short laptop screens */
.hstat-4 { right: 13%; top: 46%; }
.hstat-5 { left: 29%; top: 10.5%; }
.hstat-5 .hstat-card, .hstat-3 .hstat-card { scale: .92; }
@keyframes hfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
.hstat-1 { --fd: 6.2s; } .hstat-2 { --fd: 7s; --fdel: -2.4s; } .hstat-3 { --fd: 5.6s; --fdel: -1.2s; } .hstat-4 { --fd: 6.6s; --fdel: -3.6s; } .hstat-5 { --fd: 7.4s; --fdel: -4.8s; }
@media (prefers-reduced-motion: reduce) { .hstat-card { animation: none; } }
.ar-ico { width: 16px; height: 16px; border: 1.8px solid currentColor; border-radius: 4px; position: relative; }
.ar-ico::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; border: 1.6px solid currentColor; }
.hero-copy { position: relative; display: grid; grid-template-columns: 1.8fr 1fr; align-items: end; gap: 48px; padding-bottom: clamp(140px, 17vh, 190px); }
.hero-h1 { font-size: clamp(44px, 4.9vw, 70px); line-height: .98; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.hero-h1-sub { display: block; margin-top: .5em; font-size: clamp(19px, .42em, 30px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; color: var(--ink-2); }
.hero-side { max-width: 460px; justify-self: end; }
.hero-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-cta.center { justify-content: center; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* ---------- 3. Trusted-by panel and bento ---------- */
.trust { position: relative; z-index: 2; margin-top: -110px; }
.trust-panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--panel); box-shadow: 0 -30px 60px -40px rgba(15, 31, 27, .35); }
.trust-title { max-width: 760px; margin: 0 auto clamp(24px, 3vw, 36px); text-align: center; font-family: var(--font-body); font-size: clamp(17px, 1.4vw, 19px); font-weight: 500; line-height: 1.45; color: var(--ink); }
.trust-title span { color: inherit; }
.bento { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: minmax(96px, auto); grid-auto-flow: dense; gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px rgba(15, 31, 27, .04); }
.t-logo img { position: absolute; inset: 0; margin: auto; width: 62%; height: 52%; object-fit: contain; transition: opacity .6s var(--ease-out), transform .7s var(--ease-expo); }
.t-logo img + img { opacity: 0; transform: translateY(14px); }
.t-logo.is-b img:first-child { opacity: 0; transform: translateY(-14px); }
.t-logo.is-b img + img { opacity: 1; transform: none; }
.t-wide { grid-column: span 2; grid-row: span 2; }
.t-quote { display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; }
.t-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.t-quote cite { display: flex; align-items: center; gap: 10px; font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.t-quote cite img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.t-stat { display: flex; flex-direction: column; justify-content: center; padding: 14px 16px; background: var(--white); }
.t-stat b { font-family: var(--font-display); font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.t-stat span { margin-top: 6px; font-size: 12px; line-height: 1.3; color: var(--ink-3); }
.t-teal { background: var(--teal-50); } .t-teal b { color: var(--teal-800); }
.t-coral { background: var(--coral-50); } .t-coral b { color: var(--coral-700); }
.trust .fine { text-align: center; }

/* ---------- 4. Industries: pills and the window ---------- */
.pills-rail { overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pills-rail::-webkit-scrollbar { display: none; }
.pills-track { position: relative; display: flex; gap: 8px; width: max-content; margin: 0 auto; padding: 4px 8vw 6px; }
.pill-tab { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--panel); font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: color .3s var(--ease-out), background .3s var(--ease-out); }
.pill-tab:hover { color: var(--ink); }
.pill-tab.is-on { color: var(--teal-950); background: transparent; }
.pill-flip { position: absolute; z-index: 0; border-radius: 12px; background: var(--teal-200); pointer-events: none; }
/* Each industry has its own colour, as Clay's use cases do: the pill, the band behind the window and the link take it
   (data-tone on the section, set from the chosen pill in v2.js), and the line under the headline changes to speak to it */
.features { --tone-hi: var(--teal-200); --tone-back: var(--teal-100); --tone-ink: var(--teal-900); }
.features[data-tone="sky"] { --tone-hi: var(--sky-200); --tone-back: var(--sky-100); --tone-ink: var(--sky-700); }
.features[data-tone="sand"] { --tone-hi: var(--sand-200); --tone-back: var(--sand-100); --tone-ink: var(--sand-700); }
.features[data-tone="plum"] { --tone-hi: var(--plum-200); --tone-back: var(--plum-100); --tone-ink: var(--plum-700); }
.features[data-tone="lime"] { --tone-hi: var(--lime-200); --tone-back: var(--lime-100); --tone-ink: var(--lime-700); }
.features[data-tone="coral"] { --tone-hi: var(--coral-200); --tone-back: var(--coral-100); --tone-ink: var(--coral-700); }
.features .pill-flip { background: var(--tone-hi); transition: background-color .5s var(--ease-out); }
.features .pill-tab.is-on { color: var(--ink); }
.features .demo-back { background: var(--tone-back) linear-gradient(180deg, transparent, rgba(255, 255, 255, .55)); transition: background-color .6s var(--ease-out); }
.features .demo-link { margin-top: 34px; color: var(--tone-ink); transition: color .5s var(--ease-out); }  /* clear space under the window and its cards */
/* The lines share one grid cell, so the block keeps the height of the longest and nothing below it jumps. The old line
   lifts away (.was-on) as the new one rises into place */
/* The headline's second line, "build on Plattar.", takes the tab's colour */
.feat-on { color: var(--tone-ink); transition: color .5s var(--ease-out); }
.ind-lead { display: grid; text-wrap: balance; }
.ind-lead > span { grid-area: 1 / 1; visibility: hidden; opacity: 0; translate: 0 12px; filter: blur(5px);
  transition: opacity .25s var(--ease-out), translate .3s var(--ease-out), filter .25s var(--ease-out), visibility 0s .3s; }
.ind-lead > span.was-on { translate: 0 -12px; }
.ind-lead > span.is-on { visibility: visible; opacity: 1; translate: 0 0; filter: none;
  transition: opacity .5s var(--ease-out) .12s, translate .8s var(--ease-expo) .12s, filter .5s var(--ease-out) .12s, visibility 0s; }
@media (prefers-reduced-motion: reduce) { .ind-lead > span, .ind-lead > span.is-on { transition: none; } }
.demo { position: relative; margin-top: 34px; padding: 0 clamp(0px, 4vw, 64px) 56px; }
.demo-back { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; border-radius: var(--r-xl); background: linear-gradient(180deg, var(--teal-100), var(--teal-50)); }
.win { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: 0 0 0 1px rgba(15, 31, 27, .07), var(--shadow-2); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win-url { min-width: 0; margin-left: 14px; padding: 4px 12px; border-radius: 8px; background: var(--white); font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { position: relative; aspect-ratio: 2208 / 1320; background: var(--white); }  /* the posters' own shape: nothing cropped */
.win-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease-out), transform 1.1s var(--ease-expo); }
.win-body img.is-on { opacity: 1; transform: none; }
.demo-link { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; margin-left: 4px; font-weight: 600; color: var(--teal-900); }

/* ---------- 5. Prompt ---------- */
/* Its own compact frame, like the industries' coloured box: heading and note on the left, the box on the right */
.prompt { padding-top: clamp(44px, 5vw, 72px); }
.prompt-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3.4vw, 56px); align-items: center;
  padding: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: linear-gradient(160deg, var(--teal-100), var(--teal-50)); }
.prompt-copy { display: grid; gap: 12px; }
.prompt .h2 { font-size: clamp(30px, 3.2vw, 46px); }
.prompt .fine { margin: 0; max-width: 380px; color: var(--ink-2); }
.prompt .ask textarea { min-height: 72px; }
.ask { padding: 14px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px rgba(15, 31, 27, .08), 0 18px 40px -24px rgba(15, 31, 27, .3); transition: box-shadow .3s; }
.ask:focus-within { box-shadow: 0 0 0 2px var(--teal-500), 0 18px 40px -24px rgba(15, 31, 27, .3); }
.ask textarea { width: 100%; min-height: 96px; padding: 8px 10px; border: 0; resize: none; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.ask textarea::placeholder { color: var(--ink-3); }
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 4px 2px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 34px; padding: 0 14px; border-radius: 10px; background: var(--panel); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.chip:hover { background: var(--teal-50); color: var(--teal-900); }
.ask-go { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--white); transition: background .2s; }
.ask-go:hover { background: var(--teal-800); }

/* ---------- 6. Pillars: sticky stacking cards ---------- */
.pillars { position: relative; display: grid; gap: clamp(160px, 26vh, 280px); padding-bottom: 40px; }  /* the offset parent for the menu jumps; the gap is the
   pause: a docked card stays whole for that much scroll before the next one starts to slide over it (stacked, not sticky, at 1080px and below) */
/* Every card docks at the same height (DOCK in v2.js). As each of the next three cards slides over it, v2.js runs
   --s1, --s2 and --s3 from 0 to 1: the card steps back 12px and a little smaller each time and is gone on the third,
   so however many cards have passed, the stack above the current one is two thin layers */
.pillar { --s1: 0; --s2: 0; --s3: 0; --sb: calc(var(--s1) + var(--s2) + var(--s3)); position: sticky; top: 112px; height: min(700px, calc(100svh - 152px)); min-height: 540px; }
@media (min-width: 1081px) {
  .pillar-in { transform-origin: 50% 0; translate: 0 calc(var(--sb) * -12px); scale: calc(1 - var(--sb) * .035); opacity: calc(1 - var(--s3)); filter: brightness(calc(1 - var(--sb) * .03)); }
}
.pillar-in { height: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2vw, 24px);
  border-radius: var(--r-xl); background: var(--bg); box-shadow: 0 0 0 1px rgba(15, 31, 27, .05), 0 -18px 40px -30px rgba(15, 31, 27, .3); transform-origin: 50% 0; will-change: transform; }
.p-teal  { --bg: var(--teal-50);  --acc: var(--teal-800); --hi: var(--teal-700); }
.p-sky   { --bg: var(--sky-50);   --acc: var(--sky-700);  --hi: var(--sky-700); }
.p-coral { --bg: var(--coral-50); --acc: var(--coral-700); --hi: var(--coral-700); }
.p-lime  { --bg: var(--lime-50);  --acc: var(--lime-700); --hi: var(--lime-700); }
.p-plum  { --bg: var(--plum-50);  --acc: var(--plum-700); --hi: var(--plum-700); }
.p-sand  { --bg: var(--sand-50);  --acc: var(--sand-700); --hi: var(--sand-700); }
.pillar-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(12px, 2vw, 28px) clamp(8px, 1.4vw, 18px); }
.pillar-h { margin-top: 20px; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.pillar-h em { font-style: normal; }  /* titles stay one colour */
.pillar-copy > p { margin-top: 18px; max-width: 470px; font-size: 16.5px; color: var(--ink-2); }
.pillar-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; font-weight: 600; }
.pillar-points li { display: flex; gap: 10px; align-items: baseline; }
.pillar-points li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--acc); translate: 0 -2px; }
.pillar-proof { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 22px; max-width: 470px; }
.pillar-proof img { width: 64px; height: 30px; object-fit: contain; mix-blend-mode: multiply; }
.pillar-proof p { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.pillar-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pillar-copy > .pillar-cta:only-of-type { margin-top: auto; }
.pillar-vis { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stage); }

/* 01 configurator */
.vis-config { background: radial-gradient(80% 60% at 50% 40%, var(--white), var(--stage)); }
.vis-mv { position: absolute; inset: 0 0 70px; width: 100%; height: calc(100% - 70px); --poster-color: transparent; background: transparent; }
.vis-swatches { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-1); }
.vis-swatches button { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(15, 31, 27, .12); transition: transform .3s var(--ease-expo), box-shadow .3s; }
.vis-swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--acc); transform: scale(1.06); }
.vis-badge { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 600; }

/* 02 platform deck */
.vis-deck { background: linear-gradient(160deg, var(--sky-100), var(--stage)); }
.vis-deck figure { position: absolute; left: 7%; right: 7%; top: 12%; margin: 0; overflow: hidden; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-2);
  transition: transform .9s var(--ease-expo), opacity .6s var(--ease-out), filter .6s; }
.vis-deck figure span { display: block; padding: 8px 12px; font-size: 11.5px; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .06); }
.vis-deck img { width: 100%; height: auto; }

/* 03 photos to model */
.vis-p2m { background: radial-gradient(90% 70% at 50% 40%, var(--white), var(--stage)); }
/* Media output: a lifestyle image (drifting slowly closer) above a row of studio packshots of one piece in three fabrics */
/* Quotes: the PDF on the right, the phone request over its corner, the sales inbox notification on top */
/* The PDF is the whole A4 page, sized from the panel's height (80% with its 38px caption) so all of it shows below the toast */
.vis-quote { container-type: size; background: radial-gradient(90% 80% at 62% 40%, var(--white), var(--teal-100)); }
.vq-pdf { position: absolute; right: 7%; top: 15%; width: calc((80cqh - 38px) / 1.4151); max-width: 56%; margin: 0; rotate: 2.5deg; border-radius: 6px; background: var(--white);
  box-shadow: 0 2px 4px rgba(15, 31, 27, .06), 0 34px 60px -26px rgba(15, 31, 27, .45); }
.vq-pdf img { display: block; width: 100%; height: auto; border-radius: 6px 6px 0 0; }
.vq-pdf figcaption { height: 38px; padding: 0 14px; line-height: 37px; text-align: right; border-top: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.vq-phone { position: absolute; left: 6%; bottom: -10%; width: 27%; margin: 0; overflow: hidden; border-radius: 24px; background: var(--white);
  box-shadow: 0 0 0 5px var(--ink), 0 34px 60px -24px rgba(15, 31, 27, .5); }
.vq-phone img { display: block; width: 100%; height: auto; }
.vq-toast { position: absolute; left: 4%; top: 4%; display: flex; align-items: center; gap: 10px; max-width: 64%; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-2); font-size: 12.5px; color: var(--ink-3); }
.vq-toast i { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--teal-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304332B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.vq-toast b { display: block; font-size: 13.5px; color: var(--ink); }
.vis-media { display: grid; grid-template-rows: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; padding: 14px; background: radial-gradient(90% 70% at 50% 30%, var(--white), var(--stage)); }
.vis-media figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px rgba(15, 31, 27, .05); }
.vm-life img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 72%; animation: vmdrift 14s ease-in-out infinite alternate; }
@keyframes vmdrift { from { transform: scale(1); } to { transform: scale(1.07); } }
html.rm .vm-life img { animation: none; }
.vm-packs { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vm-packs img { width: 100%; height: 100%; object-fit: cover; }
.vm-life figcaption, .vm-label { position: absolute; left: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92);
  font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--ink); box-shadow: var(--shadow-1); }
/* Step one fills the viewer with the four photos; step two hands it to the finished model (v2.js runs the sequence) */
.p2m-stage { position: absolute; inset: 20px 20px 100px; }
.p2m-photos { position: absolute; inset: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; z-index: 2; }
.p2m-photos figure { position: relative; margin: 0; display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-1); }
.p2m-photos img { flex: 1; min-height: 0; width: 100%; object-fit: contain; padding: 8px 10px 0; }
.p2m-photos figcaption { padding: 6px 12px 10px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.p2m-scan { position: absolute; top: -6px; bottom: -6px; left: 0; width: 26%; border-radius: 16px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 91, .28) 45%, rgba(255, 107, 91, .5) 50%, rgba(255, 107, 91, .28) 55%, transparent); mix-blend-mode: multiply; }
.vis-p2m.is-built .p2m-photos { inset: 0 auto auto 0; width: min(46%, 300px); height: 70px; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; gap: 6px; }
.vis-p2m.is-built .p2m-photos figure { border-radius: 10px; }
.vis-p2m.is-built .p2m-photos img { padding: 4px; }
.vis-p2m.is-built .p2m-photos figcaption { display: none; }
.p2m-model { position: absolute; inset: 40px 0 0; opacity: 0; }
.p2m-model model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.p2m-pin { display: inline-flex; cursor: default; translate: -10px -50%; transform-origin: 10px 50%; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
  background: var(--white); box-shadow: var(--shadow-1); font-size: 13.5px; font-weight: 600; color: var(--ink); opacity: 0; }
.p2m-pin::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-500); box-shadow: 0 0 0 4px var(--coral-100); }
.p2m-seal { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--coral-700); color: var(--white); font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0; box-shadow: var(--shadow-2); }
.p2m-cap { position: absolute; left: 0; top: 0; height: 30px; display: flex; align-items: center; font-size: 14px; color: var(--ink-2); }
.p2m-cap b { font-weight: 600; color: var(--coral-700); }
.p2m-cap-out { left: auto; right: 0; opacity: 0; }
.vis-p2m.is-built .p2m-cap-in { opacity: 0; }
.p2m-steps { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.p2m-steps li { position: relative; overflow: hidden; counter-increment: s; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 600; color: var(--ink-3);
  transition: background .4s, color .4s, box-shadow .4s; }
.p2m-steps li::before { content: '0' counter(s); display: block; font-size: 12px; color: var(--coral-700); }
.p2m-steps li::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral-500); }
.p2m-steps li.is-on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.p2m-steps li.is-on::after { width: 100%; transition: width var(--step, 1.6s) linear; }
.p2m-steps li.is-done { color: var(--ink-2); }
html.rm .p2m-model, html.rm .p2m-pin, html.rm .p2m-seal, html.rm .p2m-cap-out { opacity: 1; }

/* 04 agent chat */
.vis-agent { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(18px, 3vw, 40px); background: linear-gradient(160deg, var(--lime-100), var(--stage)); }
.chat { display: grid; gap: 12px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.45; }
.bubble.me { justify-self: end; background: var(--ink); color: var(--white); border-bottom-right-radius: 6px; min-height: 46px; }
.bubble.me span::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: currentColor; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.bubble.bot { justify-self: start; background: var(--white); border-bottom-left-radius: 6px; box-shadow: var(--shadow-1); }
.bot-line { display: flex; gap: 5px; height: 18px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: bob 1s var(--ease-out) infinite; }
.dot:nth-child(2) { animation-delay: .15s; } .dot:nth-child(3) { animation-delay: .3s; }
.bot-card { display: none; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; }
.bot-card img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--panel); }
.bot-card b { display: block; font-size: 15.5px; }
.bot-card span { display: block; font-size: 13.5px; color: var(--ink-3); }
.bot-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini { display: inline-flex !important; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; background: var(--panel); font-size: 12.5px !important; font-weight: 600; color: var(--ink) !important; }
.mini-dark { background: var(--lime-700); color: var(--white) !important; }
.bot-note { display: none; margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.vis-agent.is-answered .bot-line { display: none; }
.vis-agent.is-answered .bot-card { display: grid; }
.vis-agent.is-answered .bot-note { display: block; }
.stack-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-logos span { height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

/* 06 data: the live site's iMac with the analytics screen, nothing else in the box */
.vis-imac { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: clamp(18px, 2.4vw, 32px);
  background: radial-gradient(90% 80% at 50% 38%, var(--white), var(--plum-100)); }
.vis-imac img { width: 100%; height: auto; max-height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 26px 34px rgba(15, 31, 27, .22)); }
.vis-imac .fine { margin: 0; }

/* ---------- 7. Plans card with the panorama ---------- */
.plans-card { padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--panel); }
.plans-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.plans-head .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.plans-side p { font-size: 16.5px; color: var(--ink-2); }
/* Every product joined to the platform in the middle (the counterpart of Clay's joined-up panorama) */
.hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.36fr) minmax(0, 1fr); grid-template-areas: "a core d" "b core e";
  gap: 18px 56px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: radial-gradient(70% 90% at 50% 50%, var(--white), var(--page)); clip-path: inset(0 var(--hub-x, 0%) round 24px); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hub-lines path { fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-linecap: round; }
.hub-lines .flow { stroke: var(--teal-700); stroke-width: 2.5; stroke-dasharray: 2 14; animation: hubflow 1.4s linear infinite; }
@keyframes hubflow { to { stroke-dashoffset: -32; } }
html.rm .hub-lines .flow { animation: none; }
.hub-tile, .hub-core { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-md); background: var(--bg); box-shadow: 0 0 0 1px rgba(15, 31, 27, .05); }
.hub-tile[data-k="a"] { grid-area: a; } .hub-tile[data-k="b"] { grid-area: b; } .hub-tile[data-k="d"] { grid-area: d; } .hub-tile[data-k="e"] { grid-area: e; }
/* The middle column: the platform, with Media output docked under it (no position here, so the tiles' offsets stay
   relative to .hub for the lines in v2.js) */
.hub-mid { grid-area: core; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hub-core { flex: 1 1 auto; justify-content: center; padding: 18px; box-shadow: var(--shadow-2); }
.hub-tile p, .hub-core p { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.hub-core p b { color: var(--ink); }
.ht-vis { position: relative; height: 120px; overflow: hidden; border-radius: 12px; background: var(--white); }
.ht-vis > img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 40%; }
.ht-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 6px; background: var(--panel); }
.ht-photos img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 8px; background: var(--white); padding: 2px 6px; }
.ht-chat { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; }
.ht-chat span { max-width: 92%; padding: 8px 11px; border-radius: 12px; font-size: 12.5px; line-height: 1.3; }
.hc-me { align-self: flex-end; background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; }
.hc-bot { align-self: flex-start; background: var(--lime-50); color: var(--ink); font-weight: 600; border-bottom-left-radius: 4px; }
.ht-bars { display: flex; align-items: flex-end; gap: 6px; padding: 14px 14px 12px; }
.ht-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--plum-700), var(--plum-100)); transform-origin: bottom; }
.hc-win { overflow: hidden; border-radius: 12px; background: var(--ink); box-shadow: var(--shadow-1); }
.hc-win span { display: block; padding: 7px 12px; font-size: 12px; color: rgba(255, 255, 255, .65); }
.hc-win img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; }  /* the top of the catalogue: header and the first row */
/* Media output: the words, then a studio packshot card that steps through three fabrics (the same piece, every finish)
   over the left of a lifestyle shot, where it covers the sideboard and leaves the chair in view. Each label says which
   kind of image it is */
.hub-media { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 14px; padding: 14px; }
.hm-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 2px; }
.hub-media p { font-size: 14px; }
.hm-vis { position: relative; height: 124px; }
.hm-life { position: absolute; right: 0; top: 0; width: 82%; height: 100%; object-fit: cover; object-position: 0% 62%; border-radius: 12px; }
.hm-life + .hm-label { left: auto; right: 7px; }
.hm-pack { position: absolute; left: 0; top: 50%; translate: 0 -50%; height: 86%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--panel);
  box-shadow: 0 0 0 3px var(--white), var(--shadow-2); }
.hm-pack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; animation: hmcycle 7.5s linear infinite; }
.hm-pack img:nth-child(2) { animation-delay: 2.5s; } .hm-pack img:nth-child(3) { animation-delay: 5s; }
@keyframes hmcycle { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
html.rm .hm-pack img { animation: none; } html.rm .hm-pack img:first-child { opacity: 1; }
.hm-label { position: absolute; left: 7px; bottom: 7px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 11px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.inv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }  /* seven columns of what's included, in two rows */
.inv-col { display: flex; flex-direction: column; padding: 20px 18px; border-radius: var(--r-md); background: var(--white); color: inherit;
  transition: translate .35s var(--ease-out), box-shadow .35s var(--ease-out); }  /* each opens its detail (#detail) */
.inv-col:hover { translate: 0 -3px; box-shadow: var(--shadow-2); }
.inv-col:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 3px; }
.inv-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 600; color: var(--teal-800); }
.inv-col h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 600; }
.inv-col ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.inv-col li { position: relative; padding-left: 20px; font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.inv-col li::before { content: ''; position: absolute; left: 0; top: 4px; width: 11px; height: 6px; border-left: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); rotate: -45deg; }
.inv-col em { font-style: normal; font-weight: 600; color: var(--teal-800); white-space: nowrap; }
.plans-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 14px; padding: 24px 28px; border-radius: var(--r-md); background: var(--teal-950); color: var(--on-dark); }
.plans-band b { display: block; font-family: var(--font-display); font-size: 20px; }
.plans-band p { margin-top: 4px; max-width: 660px; font-size: 15px; color: rgba(244, 251, 248, .78); }



/* ---------- 10. Offices ---------- */
.off-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.off { padding: 28px; border-radius: var(--r-lg); background: var(--panel); }
.off-c { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-800); }
.off h3 { margin-top: 8px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.02em; }
.off-t { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.off-t b { font-family: var(--font-display); font-size: clamp(38px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.off-t small { font-size: 13px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; }
.off-z { margin-top: 6px; font-size: 14px; color: var(--ink-3); }
.off-s { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.off-s i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.off-s.is-open { color: var(--teal-800); }
.off-s.is-open i { background: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-100); }
.off address { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-style: normal; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.off address strong { color: var(--ink); font-weight: 600; }

/* ---------- 11. Closing and footer ---------- */
.closing { position: relative; margin-top: clamp(80px, 11vw, 150px); padding-top: clamp(80px, 10vw, 130px); overflow: hidden; isolation: isolate; }
.closing-stage { position: relative; padding-top: clamp(24px, 3vw, 40px); }
.closing-copy { text-align: center; max-width: 1060px; padding-bottom: clamp(40px, 5vw, 64px); }
.closing-copy .h2 { font-size: clamp(38px, 5vw, 68px); }
.closing-copy > p { max-width: 760px; margin: 18px auto 0; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); }
.foot { padding-bottom: 28px; }
.foot-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--panel); box-shadow: var(--shadow-2); }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.foot-cols .foot-h { margin-bottom: 14px; font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols a { display: block; padding: 4px 0; font-size: 15px; color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover { color: var(--teal-800); }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.foot-base img { width: 112px; }
.foot-tag { padding: 4px 10px; border-radius: 8px; background: var(--white); font-weight: 600; }

/* ---------- Initial motion states (only when JS runs and motion is allowed) ---------- */
html.js:not(.rm) [data-split] { visibility: hidden; }

/* ============ Inner pages (industries, customers, about, contact, request a demo) ============ */
.inner { --bg: var(--teal-50); --acc: var(--teal-800); --hi: var(--teal-700); padding-top: 92px; }
.inner .tag { background: var(--acc); }
.tag-ink { background: var(--ink) !important; }
.sec-tight { padding-top: clamp(28px, 4vw, 48px); }
.h2-sm { font-size: clamp(32px, 3.6vw, 48px); }

/* Page hero: a pastel card with the copy beside the page's own media (Clay's product-page hero) */
.phero { padding-top: 12px; }
.phero-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2vw, 24px); border-radius: var(--r-xl); background: var(--bg); }
.phero-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(16px, 3vw, 44px) clamp(8px, 2vw, 28px); }
.phero-h1 { margin-top: 22px; font-size: clamp(38px, 4.3vw, 62px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.phero-lead { margin-top: 20px; max-width: 560px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; color: var(--ink-2); }
.phero-blurb { margin-top: auto; padding-top: 24px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.phero-blurb a { text-decoration: underline; text-underline-offset: 3px; }
.phero-next { margin-top: auto; padding-top: 28px; }  /* Request a Demo: what happens next, above the three steps */
.phero-next h2 { font: 600 clamp(20px, 1.7vw, 24px)/1.2 var(--font-display); letter-spacing: -0.015em; }
.phero-next p { margin-top: 6px; max-width: 560px; font-size: 15.5px; color: var(--ink-2); }
.phero-next + .steps { margin-top: 16px; }
.phero-media { position: relative; min-height: 460px; overflow: hidden; border-radius: var(--r-lg); background: var(--stage); display: grid; place-items: center; }
.phero-media > img, .phero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-media .phone { margin: 32px auto; }
.phero-plain { padding-top: clamp(40px, 6vw, 80px); }
.phero-plain .phero-h1 { max-width: 980px; margin-inline: auto; font-size: clamp(42px, 5.4vw, 80px); }
.phero-plain .phero-lead { margin-inline: auto; max-width: 720px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px 6px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }

/* A phone frame for the AR clips */
.phone { position: relative; width: min(280px, 70%); aspect-ratio: 9 / 19.5; padding: 9px; border-radius: 42px; background: var(--ink); box-shadow: var(--shadow-2); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: var(--ink); }

/* Questions bento */
.q-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.q-media { grid-column: span 2; grid-row: span 2; overflow: hidden; border-radius: var(--r-lg); background: var(--stage); min-height: 420px; position: relative; }
.q-media img, .q-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.q-media .phone { position: relative; margin: 28px auto; }
.q-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--panel); transition: background .3s; }
.q-card:hover { background: var(--bg); }
.q-card h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.1; letter-spacing: -0.02em; }
.q-card p { font-size: 15px; color: var(--ink-2); }
.q-n { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--acc); }

/* Configurator window with a launch button */
.demo-static { margin-top: 0; }
.win-poster img { opacity: 1; transform: none; position: absolute; }
/* Live configurator in the window (v2.js "Live configurators"): the poster sits over it until its model is ready */
.win-body[data-cfg] { overflow: hidden; }
.win-body[data-cfg] picture img { z-index: 1; }
.cfg-stage { position: absolute; left: 0; top: 0; z-index: 0; transform-origin: 0 0; }
.cfg-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: var(--white); }
.win-body.is-loading picture img { cursor: pointer; }
.win-body.is-live picture img { opacity: 0; pointer-events: none; }
.cfg-loading { position: absolute; left: 50%; bottom: 22px; z-index: 3; translate: -50% 0; display: none; align-items: center; gap: 10px; margin: 0; padding: 10px 16px;
  border-radius: 999px; background: var(--white); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink); white-space: nowrap; cursor: pointer; }
.win-body.is-loading .cfg-loading { display: flex; }
.cfg-loading i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--teal-500); animation: cfg-spin .8s linear infinite; }
@keyframes cfg-spin { to { rotate: 360deg; } }
/* Our own full screen, so covers travel with the configurator (CSS fallback where the Fullscreen API is missing: iPhone) */
.win-body.is-full { position: fixed; inset: 0; z-index: 3000; width: 100vw; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
html.cfg-full-lock, html.cfg-full-lock body { overflow: hidden; }
/* Covers for a scene that still carries a client's prices (data-cfg-mask): its title, total and finish button (the
   client's logo may show: approved 17 Nov). In the configurator's own pixels as measured on Plattar's layout for
   plattar.com's industry pages (side panel: full-screen button
   right edge at W-392, title at W-343 / 48, total and buttons in the panel's last 136px; stacked: logo at 16,16,
   full-screen button at W-52 / 16, title, total and buttons in the last 124px) */
.cfg-mask { position: absolute; z-index: 2; }
.cfg-mask-fs { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; background: none; cursor: pointer; }
.cfg-mask-fs span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--teal-950); box-shadow: var(--shadow-1); }
.cfg-mask-fs:hover span, .cfg-mask-fs:focus-visible span { color: var(--teal-700); }
.cfg-mask-fs:focus-visible { outline: none; }
.cfg-mask-fs:focus-visible span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.cfg-mask-title { display: flex; align-items: center; padding-left: 16px; background: var(--white); font: 400 26px/1.2 var(--font-body); letter-spacing: -.01em; color: var(--teal-950); }
.cfg-mask-foot { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 0 8px 12px 16px; background: var(--white); }
.cfg-mask-foot .btn { justify-content: center; width: 100%; }
.cfg-mask-foot-title { display: none; font: 600 15px/1.3 var(--font-body); color: var(--teal-950); }
[data-layout="side"] .cfg-mask-fs { right: 384px; top: 41px; }
[data-layout="side"] .cfg-mask-title { right: 24px; top: 40px; width: 335px; height: 48px; }
[data-layout="side"] .cfg-mask-foot { right: 24px; bottom: 36px; width: 335px; height: 100px; }
[data-layout="stacked"] .cfg-mask-fs { right: 8px; top: 8px; }
[data-layout="stacked"] .cfg-mask-title { display: none; }
[data-layout="stacked"] .cfg-mask-foot { left: 0; right: 0; bottom: 0; height: 136px; padding: 16px; border-top: 1px solid var(--line); }
[data-layout="stacked"] .cfg-mask-foot-title { display: block; }

/* Capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
.cap-card { overflow: hidden; border-radius: var(--r-lg); background: var(--panel); transition: transform .5s var(--ease-expo), box-shadow .5s var(--ease-expo); }
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.cap-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stage); display: grid; place-items: center; }
.cap-media > img, .cap-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-expo); }
.cap-card:hover .cap-media > img { transform: scale(1.05); }
.cap-media .phone { width: 46%; padding: 5px; border-radius: 22px; }
.cap-media .phone video { border-radius: 18px; }
.cap-copy { padding: 20px 22px 24px; }
.cap-copy h3 { font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; }
.cap-copy p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.cap-copy .q-n { display: block; margin-bottom: 8px; }

/* Industry trust panel */
.bento-ind { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-flow: row; }
.t-static img { opacity: 1 !important; transform: none !important; }
.t-k { display: block; margin-bottom: 8px; font-size: 12px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bento-ind .t-stat { grid-row: span 1; }

/* Flat pillar (agentic) */
.pillar-flat { position: relative; top: auto; height: auto; min-height: 0; }
.pillar-in-flat { align-items: center; }
.pillar-copy .fine { margin-top: 18px; max-width: 470px; }
.ag-cards { display: grid; gap: 12px; padding: clamp(8px, 2vw, 24px); }
.ag-card { padding: 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-1); }
.ag-card h3 { font-size: 22px; letter-spacing: -0.015em; }
.ag-card p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.ag-card .stack-logos { margin-top: 14px; }
.ag-card .stack-logos span { background: var(--panel); }

/* Customer story card (dark) */
.story-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl); background: var(--teal-950); color: var(--on-dark); overflow: hidden; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.story-copy > p { font-size: 16.5px; color: rgba(244, 251, 248, .8); max-width: 560px; }
.story-h { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.03em; color: var(--white); text-wrap: balance; }
.story-quote { margin: 8px 0 0; padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); }
.story-quote blockquote { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.35; font-weight: 500; }
.story-quote figcaption { margin-top: 10px; font-size: 13.5px; color: rgba(244, 251, 248, .7); }
.story-quote figcaption b { margin-right: 6px; color: var(--white); }
.story-media { display: grid; place-items: center; min-height: 420px; }
.story-light { background: var(--panel); color: var(--ink); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.story-light .story-h { color: var(--ink); }
.story-light .story-copy > p { color: var(--ink-2); }
.story-photo { overflow: hidden; border-radius: var(--r-lg); min-height: 520px; position: relative; }
.story-photo img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.sign { padding-left: 16px; border-left: 3px solid var(--teal-500); font-family: var(--font-display); font-size: 20px !important; font-weight: 600; color: var(--teal-800) !important; }

/* Marquees: chips, logos */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur-m, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-rev .marquee-track { animation-direction: reverse; }
.chips-row { display: flex; gap: 10px; padding-right: 10px; }
.chips-row > span:not(.logo-chip) { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 14px; background: var(--bg); color: var(--ink); font-family: var(--font-display); font-size: 18px; font-weight: 600; white-space: nowrap; }
.chips-static { flex-wrap: wrap; }
.chips-static > span:not(.logo-chip) { height: 38px; padding: 0 14px; font-size: 15px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.built .marquee { margin-top: 40px; }
.logo-chip { display: grid; place-items: center; width: 168px; height: 84px; border-radius: var(--r-md); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.logo-chip img { max-width: 64%; max-height: 46%; object-fit: contain; }
.logo-rows { display: grid; gap: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
html.rm .marquee-track { animation: none; }

/* Other industries */
.ind-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ind-mini { overflow: hidden; border-radius: var(--r-lg); background: var(--bg); transition: transform .5s var(--ease-expo); }
.ind-mini:hover { transform: translateY(-4px); }
.ind-mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: left top; }
.ind-mini span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; font-size: 15px; }

.wordmark-tile { font-family: var(--font-display); font-weight: 700; font-size: 18px; }

.built-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.built-row .kicker { margin: 0; }
.acts { display: grid; gap: 14px; margin-top: 28px; }
.act { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--panel); }
.act-n { font-size: 13px; font-weight: 700; color: var(--acc); }
.act-k { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.act-main h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.08; letter-spacing: -0.02em; }
.act-main p { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 760px; }
.gal-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.gal-row.gal-one { max-width: 880px; margin-inline: auto; }
/* One photo beside the customer's words */
.gal-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; align-items: stretch; }
.gal-quote .gal { display: grid; place-items: center; min-height: 360px; }
.gal-quote .gal img { height: 100%; max-height: 620px; }
.gq-quotes { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.gq-quotes .big-quote { margin: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.gal { overflow: hidden; border-radius: var(--r-lg); background: var(--stage); }
.gal img, .gal video { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.gal .phone { margin: 28px auto; }
.gal .phone video { max-height: none; }  /* the phone frame sets the size */
.big-quote { margin: 0 0 18px; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--bg); }
.big-quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; font-weight: 500; letter-spacing: -0.015em; }
.big-quote figcaption { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.big-quote figcaption b { margin-right: 8px; color: var(--ink); }

/* About: the group */
.group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 14px; }
.g-co { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r-lg); background: var(--panel); }
.g-co img { height: 34px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.g-co p { font-size: 15.5px; color: var(--ink-2); }
.g-plattar { background: var(--teal-50); }
.g-studios { background: var(--teal-950); }
.g-studios p { color: rgba(244, 251, 248, .8); }
.g-hub { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 36px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); color: var(--white); }
.g-hub span { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-200); }
.g-hub b { font-family: var(--font-display); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.03em; }
.g-hub p { font-size: 15.5px; color: rgba(255, 255, 255, .8); }
.g-plattar { grid-column: 1; grid-row: 1; } .g-blippar { grid-column: 3; grid-row: 1; } .g-nexar { grid-column: 1; grid-row: 2; } .g-studios { grid-column: 3; grid-row: 2; }

/* Contact and Request a Demo */
.phero-form { align-items: start; }
@media (min-width: 1081px) {
  /* Request a Demo: the form follows the reader down "What happens next" (sticky in its column), with two fields a row
     so all of it, button included, fits a laptop screen below the nav */
  .phero-demo .form-card { position: sticky; top: calc(var(--nav-h) + 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .phero-demo .form-card > * { grid-column: 1 / -1; }
  .phero-demo .form-card > label:nth-of-type(-n+4) { grid-column: auto; }
}
.routes { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.routes li { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .7); }
.routes b { display: block; font-size: 15.5px; }
.routes span { font-size: 14px; color: var(--ink-2); }
.eval { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: 14px; padding: 16px 18px; border-radius: var(--r-md); background: var(--ink); color: var(--white); font-size: 14.5px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .7); }
.steps b { display: block; font-size: 15.5px; }
.steps p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.steps p + p { margin-top: 6px; }
.form-card { display: grid; gap: 14px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-2); }
.form-card h2 { font-size: 28px; letter-spacing: -0.02em; }
.form-sub { margin-top: -6px; font-size: 15px; color: var(--ink-3); }
.form-card label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form-card input, .form-card select, .form-card textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--page);
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-100); background: var(--white); }
.form-card .is-bad { border-color: var(--coral-500); box-shadow: 0 0 0 3px var(--coral-100); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-err { font-size: 14px; font-weight: 600; color: var(--coral-700); }
.btn-block { width: 100%; min-height: 52px; }
.form-fine { font-size: 13px; color: var(--ink-3); }
.form-fine a { text-decoration: underline; }
.form-note { padding: 10px 12px; border-radius: 10px; background: var(--sand-50); font-size: 13px; color: var(--sand-700); }
.form-done { padding: 18px; border-radius: var(--r-md); background: var(--teal-50); }
.form-done b { display: block; font-family: var(--font-display); font-size: 19px; }
.form-done p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.form-card.is-sent > :not(.form-done) { display: none; }
.faqs { display: grid; gap: 10px; }
.faq { border-radius: var(--r-md); background: var(--panel); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; transition: rotate .35s var(--ease-expo); }
.faq summary i::after { rotate: 90deg; }
.faq[open] summary i::after { rotate: 0deg; }
.faq > div { padding: 0 22px 20px; }
.faq p { font-size: 16px; color: var(--ink-2); max-width: 680px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-menu, .nav-link { display: none; }
  .nav-burger { display: block; }
  .hero-copy { grid-template-columns: 1fr; gap: 24px; }
  .hero-side { justify-self: start; }
  .hstat-5, .hstat-spark { display: none; }
  /* the headline sits higher here: all four cards stay in the band beside and above the sofa */
  .hstat-1 { left: 3%; top: 12%; } .hstat-2 { right: 3%; top: 11%; } .hstat-3 { left: 4%; top: 25%; } .hstat-4 { right: 4%; top: 24%; }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento .t-logo:last-child { display: none; }   /* 20 cells: whole rows at 4 and 2 columns */
  .pillar { position: relative; top: auto; height: auto; min-height: 0; }
  .pillars { gap: 28px; }
  .pillar-in { grid-template-columns: 1fr; }
  .pillar-vis { min-height: 440px; }
  .vis-quote { height: 440px; }   /* a set height: the A4 page is sized in cqh, which reads 0 here when the height comes from min-height */
  .inv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { grid-template-columns: 1fr 1fr; grid-template-areas: "core core" "a d" "b e"; gap: 14px; }
  .hub-mid { gap: 14px; }
  .hm-vis { height: 150px; }
  .hub-lines { display: none; }
  .plans-head { grid-template-columns: 1fr; gap: 16px; }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phero-card, .story-card, .story-light { grid-template-columns: 1fr; }
  .q-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-ind { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-ind .t-logo:last-child { display: block; }
  .ind-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .group { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .g-hub { grid-column: 1 / -1; grid-row: 1; }
  .g-plattar, .g-blippar, .g-nexar, .g-studios { grid-column: auto; grid-row: auto; }
  .act { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hl { display: inline; }  /* phones: a hand-broken heading flows and balances as one */
  /* phone headings a touch smaller, so long words stop taking a line each */
  .h2 { font-size: clamp(32px, 9.2vw, 40px); }
  .hero-h1 { font-size: clamp(34px, 9.2vw, 40px); }
  .phero-h1, .phero-plain .phero-h1 { font-size: clamp(32px, 8.8vw, 38px); }
  .pillar-h { font-size: clamp(28px, 7.8vw, 32px); }
  .wrap { width: calc(100% - 32px); }
  .nav { top: 8px; width: calc(100% - 16px); padding-left: 14px; }
  .nav-actions .btn { display: none; }
  /* Phones: the 3D scene sits above the copy instead of behind it */
  .hero { min-height: 0; display: block; padding-top: 430px; }
  .hero-model { top: 96px; height: 320px; width: 118vw; }
  /* phones: four compact cards at the corners of the sofa */
  .hstat-card { gap: 8px; padding: 7px 11px 7px 7px; border-radius: 15px; }
  .hstat-ic { width: 28px; height: 28px; border-radius: 9px; }
  .hstat-ic svg { width: 15px; height: 15px; }
  .hstat-txt b { font-size: 18px; }
  .hstat-txt small { font-size: 11px; }
  .hstat-1 { left: 3%; top: 92px; } .hstat-2 { right: 3%; top: 92px; } .hstat-3 { left: 3%; top: 352px; } .hstat-4 { right: 3%; top: 352px; }
  .hstat-3 .hstat-card { scale: 1; }
  .hero-shadow { bottom: 16%; width: 60%; height: 24px; }
  .hero-copy { padding-bottom: 130px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .trust { margin-top: -90px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(84px, auto); gap: 8px; }
  .t-wide { grid-column: span 2; grid-row: span 2; }
  .demo { padding: 0 0 36px; }
  .win-body { aspect-ratio: 700 / 1360; }  /* phones show the configurator's phone layout */
  .ask-row { flex-wrap: wrap; }
  .prompt-card { grid-template-columns: 1fr; }
  .pillar-vis { min-height: 380px; }
  .vis-quote { height: 520px; }
  .vq-pdf { right: 5%; top: 128px; width: calc((100cqh - 128px - 22px - 38px) / 1.4151); max-width: 64%; }
  .vq-phone { left: 4%; }
  .p2m-steps { grid-template-columns: repeat(4, 1fr); gap: 5px; left: 10px; right: 10px; bottom: 10px; }
  .p2m-steps li { padding: 8px 7px; font-size: 11.5px; line-height: 1.2; }
  .p2m-cap-out { display: none; }
  .bot-card { grid-template-columns: 1fr; }
  .bot-card img { width: 100%; }
  .inv { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; grid-template-areas: "core" "a" "b" "d" "e"; }
  .hub-media { grid-template-columns: 1fr; }
  .hm-vis { height: 160px; }
  /* the packshots are narrow here: show each whole, on the studio grey, with the labels smaller */
  .vis-media { gap: 8px; padding: 10px; }
  .vm-packs { gap: 8px; }
  .vm-packs figure { background: var(--panel); }
  .vm-packs img { object-fit: contain; }
  .vm-life figcaption, .vm-label { left: 8px; bottom: 8px; padding: 3px 9px; font-size: 11px; }
  .p2m-stage { inset: 14px 14px 96px; }
  .p2m-photos, .p2m-model { inset: 36px 0 0; }
  .vis-p2m.is-built .p2m-photos { width: 70%; height: 56px; }
  .p2m-pin { height: 28px; font-size: 12px; padding: 0 10px 0 8px; }
  .off-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inner { padding-top: 80px; }
  .phero-media { min-height: 340px; }
  .q-bento, .cap-grid, .ind-row, .group { grid-template-columns: 1fr; }
  .gal-quote { grid-template-columns: 1fr; }
  .gal-quote .gal { min-height: 0; }
  .q-media { grid-column: auto; grid-row: auto; min-height: 300px; }
  .bento-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-media { min-height: 0; }
  .story-photo { min-height: 320px; }
  .logo-chip { width: 132px; height: 70px; }
  .chips-row > span:not(.logo-chip) { height: 40px; padding: 0 16px; font-size: 15px; }
}

/* Case study copy: paragraphs and bullet lists from the source's light markdown */
.act-main p + p, .act-main ul + p, .act-main p + ul { margin-top: 12px; }
.md-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 760px; }
.md-list li { position: relative; padding-left: 20px; font-size: 16.5px; color: var(--ink-2); }
.md-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--acc); }
.md-list b { color: var(--ink); }

/* ============ Platform tour: "Tour the platform" opens this over the page at #tour (Phillip, 19 Nov) ============
   No site header, just Back and close. The app window stays put on the right while the six steps scroll past on the
   left; each step brings up its screen and the window moves in on the part that step describes (v2.js). On phones
   each step carries its own screenshot instead. */
html.tour-lock, html.tour-lock body { overflow: hidden; }
.tour { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 75% 0%, var(--white), var(--sky-50) 50%, var(--sky-100)); }
.tour[hidden] { display: none; }
/* What's in Plattar detail: the tour's frame, in the colour of the box's card */
.dtl { background: radial-gradient(120% 90% at 75% 0%, var(--white), var(--bg) 55%); }
.dtl-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 4vw, 64px); max-width: 1360px;
  min-height: calc(100svh - 68px - 110px); margin: 0 auto; padding: clamp(24px, 4vh, 48px) clamp(16px, 3vw, 40px) 0; }
.dtl-h { margin-top: 18px; font: 600 clamp(32px, 3.3vw, 50px)/1.04 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.dtl-h em { font-style: normal; color: var(--acc); }
.dtl-lead { margin-top: 16px; max-width: 520px; font-size: 17px; color: var(--ink-2); }
.dtl-k { margin-top: 28px; font: 700 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.dtl-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.dtl-list li { position: relative; padding-left: 26px; font-size: 16px; color: var(--ink-2); }
.dtl-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); rotate: -45deg; }
.dtl-list em { font-style: normal; font-weight: 600; color: var(--acc); white-space: nowrap; }
.dtl-stage { display: flex; justify-content: center; }
.dtl-win { container-type: inline-size; width: min(100%, calc((100svh - 68px - 200px) * 1.6)); overflow: hidden; border-radius: 16px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(15, 31, 27, .45), 0 0 0 1px rgba(15, 31, 27, .08); }
.dtl-imac img { display: block; width: min(100%, calc((100svh - 68px - 160px) * 1.14)); height: auto; filter: drop-shadow(0 26px 34px rgba(15, 31, 27, .22)); }
.dtl-nav { display: flex; justify-content: space-between; gap: 12px; max-width: 1360px; margin: 0 auto; padding: 28px clamp(16px, 3vw, 40px) clamp(28px, 5vh, 48px); }
.dtl-step { display: inline-flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 18px; border-radius: 14px; background: rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-1); text-align: left; transition: background .2s; }
.dtl-step:hover { background: var(--white); }
.dtl-step small { display: block; font-size: 12px; color: var(--ink-3); }
.dtl-step b { display: block; font-size: 15px; }
.dtl-next { text-align: right; }
.tour-bar { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 68px;
  padding: 0 clamp(12px, 2.4vw, 28px); border-bottom: 1px solid rgba(15, 31, 27, .07); background: rgba(255, 255, 255, .55); backdrop-filter: blur(14px); }
.tour-back { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 12px; background: var(--white);
  box-shadow: var(--shadow-1); font-size: 15px; font-weight: 600; transition: background .2s; }
.tour-back:hover, .tour-x:hover { background: var(--panel); }
.tour-back .arr { width: 16px; height: 16px; }
.tour-brand { position: absolute; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.tour-brand img { width: auto; height: 24px; }
.tour-brand span { padding-left: 12px; border-left: 1px solid var(--line); }
.tour-bar-r { display: flex; align-items: center; gap: 10px; }
.tour-x { position: relative; width: 40px; height: 40px; border-radius: 12px; background: var(--white); box-shadow: var(--shadow-1); transition: background .2s; }
.tour-x i::before, .tour-x i::after { content: ''; position: absolute; left: 12px; right: 12px; top: 19px; height: 2px; border-radius: 2px; background: var(--ink); rotate: 45deg; }
.tour-x i::after { rotate: -45deg; }
.tour-scroll { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; }  /* the steps' offset parent */
.tour-body { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: clamp(28px, 4vw, 64px); max-width: 1360px; margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px); }
.tour-head { padding: clamp(32px, 6vh, 64px) 0 6vh; }
.tour-h { margin-top: 18px; font: 600 clamp(36px, 3.8vw, 56px)/1.02 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.tour-sub { margin-top: 14px; font: 500 clamp(19px, 1.6vw, 23px)/1.3 var(--font-display); letter-spacing: -0.01em; color: var(--sky-700); }
.tour-lead { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.tour-video { margin-top: 24px; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--ink); box-shadow: var(--shadow-2); }
.tour-video video { width: 100%; height: 100%; object-fit: cover; }
.tour-steps { margin: 0; padding: 0; list-style: none; }
.tour-step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 10px; opacity: .3; transition: opacity .5s var(--ease-out); }
.tour-step.is-on { opacity: 1; }
.tour-num { font: 600 14px/1 var(--font-display); letter-spacing: .12em; color: var(--sky-700); }
.tour-step h3 { font: 600 clamp(26px, 2.3vw, 34px)/1.08 var(--font-display); letter-spacing: -0.025em; }
.tour-step p { max-width: 470px; font-size: 17px; color: var(--ink-2); }
.tour-shot-m { display: none; }
.tour-stage { position: sticky; top: 0; align-self: start; height: calc(100svh - 68px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.tour-win { width: min(100%, calc((100svh - 68px - 160px) * 1.6)); overflow: hidden; border-radius: 16px; background: var(--ink);
  box-shadow: 0 0 0 1px rgba(15, 31, 27, .12), 0 50px 90px -40px rgba(15, 31, 27, .55); }
.tour-win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: rgba(255, 255, 255, .06); }
.tour-win-bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tour-win-bar span { min-width: 0; margin-left: 12px; padding: 3px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); font-size: 12.5px;
  color: rgba(255, 255, 255, .72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tour-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.tour-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0;
  transition: opacity .6s var(--ease-out); will-change: transform; }
.tour-screen img.is-on { opacity: 1; }
.tour-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tour-rail button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .7);
  font-size: 13.5px; font-weight: 600; color: var(--ink-3); transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.tour-rail b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--white); font-size: 12px; }
.tour-rail span { display: none; }
.tour-rail button:hover { background: var(--white); }
.tour-rail button.is-on { padding-right: 14px; background: var(--sky-700); color: var(--white); }
.tour-rail button.is-on b { background: rgba(255, 255, 255, .22); color: var(--white); }
.tour-rail button.is-on span { display: inline; }
.tour-foot { max-width: 1100px; margin: 0 auto; padding: 4vh clamp(16px, 3vw, 40px) clamp(40px, 7vh, 80px); text-align: center; }
.tour-feel { font: 600 clamp(26px, 2.6vw, 38px)/1.12 var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
.tour-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; text-align: left; }
.tour-points li { padding: 18px 20px; border-radius: var(--r-md); background: rgba(255, 255, 255, .75); font-size: 15.5px; color: var(--ink-2); }
.tour-points b { color: var(--ink); }
.tour-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.tour-cta .arr-l { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .tour-brand span { display: none; }
  .tour-body { grid-template-columns: 1fr; }
  .tour-stage { display: none; }
  .tour-head { padding-bottom: 8px; }
  .tour-step { min-height: 0; padding: 26px 0; gap: 8px; opacity: 1; }
  .tour-shot-m { display: block; margin: 0 0 10px; overflow: hidden; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-2); }
  .tour-shot-m span { display: block; padding: 8px 12px; font-size: 11.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tour-shot-m img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
  .tour-points { grid-template-columns: 1fr; }
  .dtl-body { grid-template-columns: 1fr; min-height: 0; }
  .dtl-win, .dtl-imac img { width: 100%; }
}
@media (max-width: 560px) {
  .tour-brand { display: none; }
  .tour-bar-r .btn { height: 40px; padding: 0 14px; font-size: 14px; }
}

/* ============ Features: the platform's feature stack (Josh, 19 Nov, after Clay's "GTM engineers build on Clay") ============
   The window holds one real platform screen per tab (16:10); its UI pieces float over the window's edges. The room
   planner and media output are built in HTML, sized in em off the window's width so they scale like the screenshots. */
.demo { container-type: inline-size; }
.pill-soon { margin-left: 6px; padding: 2px 7px; border-radius: 6px; background: var(--ink); font-size: 11px; font-style: normal; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--white); vertical-align: 1px; }
.snaps { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--page); font-size: calc(100cqw / 110); }
.snap { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .45s var(--ease-out), visibility 0s .45s; }
.snap.is-on { visibility: visible; opacity: 1; transition: opacity .6s var(--ease-out), visibility 0s; }
.snap-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* The floating cards are placed against the window itself (its bar plus the 16:10 screen), so none reaches the tour link below it */
.snap-cards { position: absolute; inset: 0 clamp(0px, 4vw, 64px) auto; height: calc(44px + 62.5cqw); pointer-events: none; font-size: clamp(8px, .95cqw, 12px); }
.sc { position: absolute; visibility: hidden; }
.snap-cards.is-on .sc { visibility: visible; }
.sc-in { overflow: hidden; border-radius: 14px; background: var(--white); box-shadow: 0 30px 60px -24px rgba(15, 31, 27, .38), 0 0 0 1px rgba(15, 31, 27, .08);
  animation: hfloat var(--fd, 6.4s) ease-in-out var(--fdel, 0s) infinite; }
.sc-in > img { display: block; width: 100%; height: auto; }
.sc:nth-child(2) .sc-in { --fd: 7.1s; --fdel: -2.3s; } .sc:nth-child(3) .sc-in { --fd: 6.7s; --fdel: -4.2s; }
.sc-a4 .sc-in { border-radius: 6px; }
.sc-phone .sc-in { border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(15, 31, 27, .45), 0 0 0 5px var(--ink); }
html.rm .sc-in { animation: none; }
.sc-life { position: relative; margin: 0; }
.sc-life img { display: block; width: 100%; height: auto; }
.sc-life figcaption { position: absolute; left: .8em; bottom: .8em; padding: .3em .8em; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 1.05em; font-weight: 600; }
.sc-set { display: flex; flex-direction: column; gap: .7em; padding: 1.3em; }
.sc-set b { font: 600 1.4em/1.1 var(--font-display); }
.sc-k { margin-top: -.4em; font-size: 1.05em; color: var(--ink-3); }
.sc-opts { display: flex; flex-wrap: wrap; gap: .4em; }
.sc-opts i { padding: .3em .8em; border-radius: 999px; background: var(--panel); font-size: 1em; font-style: normal; font-weight: 600; color: var(--ink-3); }
.sc-opts i.on { background: var(--sand-100); color: var(--sand-700); }
.sc-sws { display: flex; gap: .4em; }
.sc-sws i { width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 31, 27, .1); }
.sc-go { margin-top: .2em; padding: .7em; border-radius: .8em; background: var(--ink); text-align: center; font-size: 1.1em; font-weight: 600; color: var(--white); }
.sc-soon { display: flex; flex-direction: column; gap: .4em; padding: 1.1em 1.2em; background: var(--ink); color: var(--white); }
.sc-soon b { font: 600 1.35em/1.1 var(--font-display); }
.sc-soon b::after { content: 'Soon'; margin-left: .6em; padding: .15em .5em; border-radius: .4em; background: var(--teal-500); font: 700 .65em/1.4 var(--font-body);
  letter-spacing: .05em; text-transform: uppercase; color: var(--teal-950); vertical-align: .2em; }
.sc-soon span { font-size: 1.05em; color: rgba(244, 251, 248, .75); }
.sc-rule { display: flex; flex-direction: column; gap: .9em; padding: 1.2em 1.3em; }
.sc-rule-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.sc-rule-h b { font: 600 1.3em/1.1 var(--font-display); }
.sc-rule-h span { font-size: 1em; color: var(--ink-3); }
.sc-rule-row { display: flex; flex-wrap: wrap; align-items: center; gap: .45em; font-size: 1.1em; line-height: 1.9; color: var(--ink-3); }
.sc-rule-row i { padding: .15em .7em; border-radius: .5em; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-style: normal; font-weight: 600; line-height: 1.6; color: var(--ink); }
.sc-rule-row i.on { background: var(--sky-50); box-shadow: 0 0 0 1px var(--sky-200); color: var(--sky-700); }
.sc-rule-foot { display: flex; justify-content: flex-end; gap: .5em; }
.sc-rule-foot em { padding: .45em 1em; border-radius: .6em; font-size: 1.05em; font-style: normal; font-weight: 600; color: var(--ink-2); }
.sc-rule-foot em.go { background: var(--teal-500); color: var(--teal-950); }
.demo-note { position: relative; margin: 8px 0 0 4px; font-size: 13px; color: var(--ink-3); }

/* Media output, in HTML (there are no platform screens for it yet) */
.mo { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 1.3em; padding: 0 0 1.6em; background: var(--page); color: var(--ink); }
.mo-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; height: 4.6em; padding: 0 1.8em; border-bottom: 1px solid var(--line); background: var(--white); font-size: 1.15em; }
.mo-crumb { color: var(--ink-3); } .mo-crumb b { color: var(--ink); }
.mo-tabs { display: flex; gap: .3em; padding: .3em; border-radius: .8em; background: var(--panel); }
.mo-tabs i { padding: .35em .8em; border-radius: .55em; font-style: normal; font-weight: 600; color: var(--ink-3); }
.mo-tabs i.on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.mo-btn { padding: .5em 1.1em; border-radius: .7em; background: var(--ink); font-weight: 600; color: var(--white); }
.mo-job { display: flex; align-items: center; gap: 1em; margin: 0 2em; padding: .9em 1.2em; border-radius: 1em; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 1.15em; }
.mo-job span:not(.mo-bar) { color: var(--ink-3); }
.mo-spin { flex: none; width: 1.2em; height: 1.2em; border-radius: 50%; border: .2em solid var(--sand-100); border-top-color: var(--sand-700); animation: mospin 1s linear infinite; }
@keyframes mospin { to { rotate: 1turn; } }
html.rm .mo-spin { animation: none; }
.mo-bar { flex: 1; height: .5em; overflow: hidden; border-radius: 999px; background: var(--panel); }
.mo-bar i { display: block; width: 66%; height: 100%; border-radius: inherit; background: var(--sand-700); }
.mo-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.2em; padding: 0 2em; }
.mo-grid figure { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 1em; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.mo-grid img { width: 100%; height: 100%; object-fit: cover; }
.mo-grid figcaption { position: absolute; left: .7em; bottom: .7em; padding: .25em .7em; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 1em; font-weight: 600; }
.mo-wide { grid-column: span 2; }
.mo-new { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--panel) 0 .6em, var(--white) .6em 1.2em) !important; }
.mo-new span { font-size: 1.1em; font-weight: 600; color: var(--ink-3); }

/* Room planner (coming soon): built in HTML and SVG in the platform's own style, as no screens exist yet */
.rp { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--page); color: var(--ink); }
.rp-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1em; height: 4.6em; padding: 0 1.6em; border-bottom: 1px solid var(--line); background: var(--white); font-size: 1.15em; }
.rp-crumb { color: var(--ink-3); } .rp-crumb b { color: var(--ink); }
.rp-tools { display: flex; align-items: center; gap: .3em; padding: .3em; border-radius: .8em; background: var(--panel); }
.rp-tools i, .rp-dim i { padding: .35em .8em; border-radius: .55em; font-style: normal; font-weight: 600; color: var(--ink-3); }
.rp-tools i.on, .rp-dim i.on { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.rp-dim { display: flex; margin-left: .5em; padding-left: .5em; border-left: 1px solid var(--line); }
.rp-share { padding: .5em 1.1em; border-radius: .7em; background: var(--ink); font-weight: 600; color: var(--white); }
.rp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 19em minmax(0, 1fr) 17em; }
.rp-list, .rp-props { display: flex; flex-direction: column; gap: .7em; padding: 1.4em 1.2em; background: var(--white); }
.rp-list { border-right: 1px solid var(--line); }
.rp-props { border-left: 1px solid var(--line); }
.rp-h { font-size: 1em; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.rp-search { padding: .6em .8em; border-radius: .7em; background: var(--panel); font-size: 1.1em; color: var(--ink-3); }
.rp-item { display: flex; align-items: center; gap: .8em; padding: .5em; border-radius: .8em; }
.rp-item.on { background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal-200); }
.rp-item img, .rp-sw { flex: none; width: 4em; height: 3.2em; border-radius: .6em; object-fit: cover; background: var(--panel); }
.rp-sw-lamp { background: radial-gradient(circle at 50% 50%, var(--sand-700) 0 18%, var(--sand-100) 19% 38%, transparent 39%) var(--panel); }
.rp-sw-oak { background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--sw-oak) 98%, transparent) var(--panel); }
.rp-sw-rug { background: linear-gradient(var(--sw-beige), var(--sw-beige)) center / 70% 60% no-repeat var(--panel); }
.rp-item b { display: block; font-size: 1.1em; }
.rp-item small { display: block; font-size: 1em; color: var(--ink-3); }
.rp-canvas { position: relative; min-width: 0; padding: 1em; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 2.4em 2.4em, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 2.4em 2.4em, var(--page); }
.rp-canvas svg { width: 100%; height: 100%; overflow: visible; font-family: var(--font-body); }
.rp-wall { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linejoin: round; }
.rp-win { stroke: var(--white); stroke-width: 10; } .rp-win2 { stroke: var(--sky-700); stroke-width: 2; }
.rp-door { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-dasharray: 6 5; }
.rp-dimline path { fill: none; stroke: var(--ink-3); stroke-width: 1.6; }
.rp-dimline text { fill: var(--ink-2); font-size: 15px; font-weight: 600; text-anchor: middle; }
.rp-rug { fill: var(--sand-50); stroke: var(--sand-200); stroke-width: 2; }
.rp-table { fill: var(--sw-oak); stroke: var(--sand-700); stroke-width: 1.5; }
.rp-sofa > rect:first-child { fill: var(--sw-olive); }
.rp-chair > rect:first-child { fill: var(--sw-terracotta); }
.rp-cush { fill: rgba(255, 255, 255, .22); }
.rp-sel { fill: none; stroke: var(--teal-500); stroke-width: 2.5; stroke-dasharray: 8 6; }
.rp-handles circle { fill: var(--white); stroke: var(--teal-500); stroke-width: 2.5; }
.rp-lamp { fill: var(--sand-100); stroke: var(--sand-700); stroke-width: 1.5; } .rp-lampin { fill: var(--sand-700); }
.rp-plant { fill: var(--sw-sage); }
.rp-tip rect { fill: var(--ink); } .rp-tip text { fill: var(--white); font-size: 14px; font-weight: 600; text-anchor: middle; }
.rp-name { font: 600 1.6em/1.1 var(--font-display); }
.rp-k { margin-top: .4em; font-size: 1.05em; color: var(--ink-3); }
.rp-sws { display: flex; gap: .5em; }
.rp-sws i { width: 2em; height: 2em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 31, 27, .1); }
.rp-sws i.on { box-shadow: 0 0 0 .15em var(--white), 0 0 0 .3em var(--ink); }
.rp-row { display: flex; justify-content: space-between; padding: .55em 0; border-bottom: 1px solid var(--line); font-size: 1.1em; color: var(--ink-3); }
.rp-row b { color: var(--ink); }
.rp-fit { align-self: flex-start; margin-top: .4em; padding: .35em .8em; border-radius: 999px; background: var(--teal-50); font-size: 1.05em; font-weight: 600; color: var(--teal-900); }
.rp-fit::before { content: '✓ '; }

@container (max-width: 760px) {
  .snap-cards { position: relative; inset: auto; height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; margin-top: 12px; }
  .snap-cards:not(.is-on) { display: none; }
  .sc { position: relative; inset: auto !important; width: auto !important; }
  .sc:nth-child(n+3) { display: none; }
  .sc-phone { justify-self: center; width: 70% !important; }
}
