/* =========================================================
   Happy Heart styles (look: Limewash, see DESIGN.md and the layer at the end of this file)
   Token names predate Limewash: cobalt is sage, navy is ink, heart is brass, pink is terracotta.
   No white, no black.
   ========================================================= */
:root {
  --cobalt: #5B6750;       /* signature background */
  --cobalt-deep: #46513D;
  --navy: #2B2A20;         /* ink, shadows, dark rooms */
  --navy-deep: #1E1D15;
  --sky: #C9CDB8;
  --ice: #E3DBC9;
  --paper: #F6F0E2;        /* our "white": text on cobalt, light rooms */
  --paper-dim: rgba(246,240,226, .78);

  --heart: #D8BE86;        /* acid lime: every call to action + the highlighter */
  --heart-deep: #5B6750;   /* accent text on light rooms */
  --pink: #B4654A;         /* the spark: leads, prices, "you get" */
  --pink-soft: #D9AE93;

  --ink: var(--navy);
  --ink-dim: rgba(43,42,32, .74);

  --f-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --f-serif: var(--f-sans);
  --shadow-hard: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-xl: 16px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cobalt);
  color: var(--paper);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--heart); color: var(--navy); }
:focus-visible { outline: 2px solid var(--heart); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--f-sans); font-weight: 700; letter-spacing: -.035em; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.h1 { font-size: clamp(42px, 5.8vw, 80px); line-height: 1; }
.h2 { font-size: clamp(32px, 4.4vw, 58px); line-height: 1.04; }
.h2 em, .h1 em { color: var(--accent, var(--heart)); }
.h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 34em; opacity: .85; margin: 20px 0 0; }

.kicker {
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
  opacity: .8;
}
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent, var(--heart)); }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }

/* ---------- Rooms (section colour schemes) ---------- */
.room-navy   { background: var(--navy); color: var(--paper); --accent: var(--heart); }
.room-cobalt { background: var(--cobalt); color: var(--paper); --accent: var(--heart); }
.room-deep   { background: var(--cobalt-deep); color: var(--paper); --accent: var(--heart); }
.room-sky    { background: var(--sky); color: var(--ink); --accent: var(--cobalt); }
.room-ice    { background: var(--ice); color: var(--ink); --accent: var(--cobalt); }
.room-paper  { background: var(--paper); color: var(--ink); --accent: var(--cobalt); }
.room-lime   { background: var(--heart); color: var(--navy); --accent: var(--cobalt); }
.room-pink   { background: var(--pink); color: var(--navy); --accent: var(--navy); }
/* Blueprint grid on the blue rooms */
.room-cobalt, .room-deep, .room-navy, .hero, .page-hero.room-cobalt {
  background-image: none;
  background-size: 56px 56px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--heart); --fg: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-sans); font-weight: 700; font-size: 16px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -12px var(--shadow, rgba(216,190,134,.7));
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--heart:hover { --bg: #E6D3A6; }
.btn--indigo { --bg: var(--cobalt); --fg: var(--paper); --shadow: rgba(43,42,32,.6); }
.btn--indigo:hover { --bg: var(--cobalt-deep); }
.btn--paper { --bg: var(--paper); --fg: var(--cobalt); --shadow: rgba(0,0,0,.3); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .85; }
.btn--ghost:hover { opacity: 1; }
.btn--small { padding: 12px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.ico { width: 20px; height: 20px; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); transition: transform .4s var(--ease); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(43,42,32, .62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(246,240,226,.1), 0 20px 40px -24px rgba(30,29,21,.8);
  color: var(--paper);
}
.nav.is-hidden { transform: translateY(-130%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heart); }
.brand__mark { width: 28px; height: 28px; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-10deg) scale(1.08); }
.brand__word { white-space: nowrap; font-weight: 700; font-size: 19px; letter-spacing: -.03em; color: var(--paper); }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--paper-dim); transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--paper); background: rgba(246,240,226,.08); }
.nav__links .nav__menu-only { display: none; }
.nav__toggle { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   HOME HERO
   ========================================================= */
.hero {
  padding: clamp(128px, 14vw, 176px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(900px 600px at 80% 30%, rgba(216,190,134,.22), transparent 60%),
    radial-gradient(800px 560px at 0% 100%, rgba(127,160,255,.35), transparent 60%),
    var(--navy);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; padding: 7px 14px 7px 8px; border-radius: 99px; background: rgba(246,240,226,.07); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); margin-bottom: 28px; color: var(--paper-dim); }
.pill b { font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 99px; background: var(--heart); color: var(--navy); }

.hero__title { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.hero__accent { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--heart); font-size: 1.1em; line-height: 1.1; }
.rot { display: block; position: relative; height: 1.22em; overflow: hidden; margin-bottom: -.12em; }
.rot__item {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em;
  color: var(--heart); font-size: 1.1em; line-height: 1.1;
  transform: translateY(120%); opacity: 0;
  transition: transform .7s var(--ease), opacity .5s;
}
.rot__item.on { transform: none; opacity: 1; }
.rot__item.out { transform: translateY(-120%); opacity: 0; }
.hero__lede { font-size: clamp(18px, 1.5vw, 20px); max-width: 26em; margin: 26px 0 34px; color: var(--paper-dim); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero stage: one device that cycles through industries */
.stage { position: relative; }
.stage__device {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--cobalt-deep);
  padding: 10px;
  box-shadow: 0 60px 100px -40px rgba(4,10,60,.85), inset 0 0 0 1px rgba(246,240,226,.08);
}
.stage__bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 12px; }
.stage__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(246,240,226,.22); }
.stage__url { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--paper-dim); background: rgba(246,240,226,.07); padding: 4px 12px; border-radius: 99px; }
.stage__screen { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 10px); overflow: hidden; background: var(--cobalt); }
.scene { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.scene.on { opacity: 1; transform: none; }
.scene > svg { width: 100%; height: 100%; }
.scene__chips { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; flex-wrap: wrap; max-width: 80%; }
.scene__chips span { font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 99px; background: rgba(246,240,226,.88); color: var(--ink); }
.scene__chips span:first-child { background: var(--cobalt); color: var(--paper); }

.stage__result {
  position: absolute; right: -18px; bottom: -26px;
  display: flex; align-items: center; gap: 14px;
  background: var(--pink); color: var(--ink);
  padding: 16px 20px; border-radius: var(--r-md);
  box-shadow: 0 30px 60px -20px rgba(4,10,60,.7);
  min-width: 270px;
}
.stage__result.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: translateY(10px) scale(.96); opacity: .3; } 100% { transform: none; opacity: 1; } }
.stage__ping { position: relative; flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--heart); display: grid; place-items: center; color: var(--navy); }
.stage__ping svg { width: 18px; height: 18px; }
.stage__ping::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--heart); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.stage__result small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.stage__result b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }

.stage__tabs { display: flex; gap: 6px; margin-top: 46px; flex-wrap: wrap; }
.stage__tabs button { position: relative; overflow: hidden; border: 0; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 99px; background: rgba(246,240,226,.07); color: var(--paper-dim); transition: color .2s, background-color .2s; }
.stage__tabs button:hover { color: var(--paper); }
.stage__tabs button.on { color: var(--navy); background: var(--paper); }
.stage__tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--heart); }
.stage__tabs button.on.timing::after { animation: tabTime var(--dur, 4s) linear forwards; }
@keyframes tabTime { to { width: 100%; } }

/* =========================================================
   HOME — SHOWROOM FLOW
   ========================================================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.flow__step { position: relative; padding: 26px 22px 24px; border-radius: var(--r-lg); background: rgba(43,42,32,.06); box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.1); }
.flow__step:last-child { background: var(--cobalt); color: var(--paper); box-shadow: none; }
.flow__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); color: var(--heart-deep); margin-bottom: 22px; }
.flow__step:last-child .flow__icon { background: var(--heart); color: var(--navy); }
.flow__icon svg { width: 22px; height: 22px; }
.flow__step h3 { font-size: 21px; margin-bottom: 6px; }
.flow__step p { margin: 0; font-size: 15.5px; opacity: .78; line-height: 1.45; }
.flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 34px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--heart); color: var(--navy); font-size: 13px; font-weight: 700; z-index: 1; }

/* =========================================================
   HOME — INDUSTRY TILES
   ========================================================= */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile {
  --tbg: var(--paper); --tfg: var(--ink);
  position: relative; display: flex; flex-direction: column;
  min-height: 240px; padding: 24px;
  border-radius: var(--r-lg);
  background: var(--tbg); color: var(--tfg);
  text-decoration: none;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(30,29,21,.6); }
.tile--wide { grid-column: span 2; }
.tile__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(43,42,32,.08); margin-bottom: auto; }
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 22px; margin: 28px 0 6px; }
.tile p { margin: 0; font-size: 15px; line-height: 1.45; opacity: .78; }
.tile__go { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(43,42,32,.08); font-size: 16px; transition: transform .45s var(--ease), background-color .3s; }
.tile:hover .tile__go { transform: rotate(-45deg); background: var(--heart); color: var(--navy); }
.tile--cobalt { --tbg: var(--cobalt); --tfg: var(--paper); }
.tile--deep { --tbg: var(--cobalt-deep); --tfg: var(--paper); }
.tile--cobalt .tile__icon, .tile--cobalt .tile__go, .tile--deep .tile__icon, .tile--deep .tile__go { background: rgba(246,240,226,.1); }
.tile--ice { --tbg: var(--ice); }
.tile--paper { --tbg: var(--paper); }
.tile--sky { --tbg: var(--sky); }
.tile--lime { --tbg: var(--heart); --tfg: var(--navy); }
.tile--lime .tile__icon, .tile--lime .tile__go { background: rgba(43,42,32,.12); }
.tile--yours { --tbg: transparent; box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.3); }
.tile--yours h3 em { color: var(--heart-deep); }

/* =========================================================
   HOME — APPS
   ========================================================= */
.apps { overflow: hidden; }
.apps__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.apps__list { list-style: none; padding: 0; margin: 32px 0 0; }
.apps__list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(246,240,226,.12); font-size: 17px; }
.apps__list b { color: var(--sky); font-weight: 700; min-width: 9.5em; }
.apps__list span { color: var(--paper-dim); }
.apps__phones { position: relative; height: 540px; }

.phone { position: relative; width: 250px; aspect-ratio: 9 / 19; border-radius: 42px; padding: 10px; background: var(--navy-deep); box-shadow: 0 0 0 2px rgba(246,240,226,.08), 0 50px 80px -30px rgba(0,0,0,.6); flex: none; }
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 22px; border-radius: 99px; background: var(--navy-deep); z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 33px; overflow: hidden; }
.phone--app { position: absolute; width: 214px; }
.phone--a { left: 0; top: 40px; transform: rotate(-6deg); }
.phone--b { left: 50%; margin-left: -107px; top: 0; z-index: 2; }
.phone--c { right: 0; top: 70px; transform: rotate(6deg); }
.app { padding: 52px 14px 14px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.app--book { background: var(--paper); }
.app--crew { background: var(--pink); }
.app--loyal { background: var(--ice); }
.app__hi { margin: 0; font-size: 12px; opacity: .7; }
.app__h { margin: 0 0 4px; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.app__card { background: rgba(246,240,226,.75); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 1px; flex: 1; }
.app__card span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .6; }
.app__card b { font-size: 20px; letter-spacing: -.02em; }
.app__card i { font-style: normal; font-size: 11.5px; opacity: .7; }
.app__card--big { background: var(--cobalt); color: var(--paper); padding: 14px; }
.app__card--big b { font-size: 24px; }
.app__row { display: flex; gap: 8px; }
.app__btn { margin-top: auto; text-align: center; padding: 11px; border-radius: 99px; background: var(--cobalt-deep); color: var(--paper); font-weight: 700; }
.app__job { display: flex; gap: 10px; align-items: center; background: rgba(246,240,226,.75); padding: 10px; border-radius: 14px; }
.app__job i { width: 10px; height: 34px; border-radius: 4px; background: var(--c); flex: none; box-shadow: inset 0 0 0 1px rgba(43,42,32,.15); }
.app__job b { display: block; font-size: 13.5px; }
.app__job span { font-size: 11.5px; opacity: .65; }
.app__map { margin-top: 4px; flex: 1; border-radius: 14px; position: relative;
  background: repeating-linear-gradient(35deg, transparent 0 22px, rgba(43,42,32,.07) 22px 24px), repeating-linear-gradient(-55deg, transparent 0 30px, rgba(43,42,32,.07) 30px 32px), var(--pink-soft); }
.app__map span { position: absolute; left: 45%; top: 40%; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--heart); transform: rotate(-45deg); box-shadow: 0 0 0 6px rgba(216,190,134,.25); }
.app__stamp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; background: rgba(246,240,226,.75); border-radius: 14px; }
.app__stamp .s { aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(43,42,32,.3); }
.app__stamp .s.on { border: 0; background: var(--heart); }
.app__small { margin: 0; font-size: 11.5px; opacity: .7; text-align: center; }

/* =========================================================
   HOME — PRICING
   ========================================================= */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 980px; margin: 0 auto; }
.price { position: relative; border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 44px); background: rgba(246,240,226,.55); display: flex; flex-direction: column; }
.price--hot { background: var(--cobalt); color: var(--paper); }
.price__tag { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: var(--heart); color: var(--navy); }
.price__name { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.price__amt { margin: 16px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.price__amt small { font-size: 16px; font-weight: 500; opacity: .7; }
.price__amt b { font-size: clamp(48px, 5vw, 64px); letter-spacing: -.05em; line-height: 1; }
.price__amt i { font-style: normal; font-size: 15px; opacity: .65; }
.price__for { margin: 0 0 22px; opacity: .78; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.price li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--heart) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' stroke='%232B2A20' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.price .btn { margin-top: auto; }
.prices__note { text-align: center; margin: 26px auto 0; max-width: 56ch; font-size: 15px; opacity: .75; }

/* =========================================================
   HOME — PROCESS
   ========================================================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.step { padding: 26px 24px 0 0; }
.step__n { display: block; font-family: var(--f-serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--heart-deep); margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--ink-dim); font-size: 15.5px; line-height: 1.5; }

/* =========================================================
   CONTACT (every page ends here)
   ========================================================= */
.contact { overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: var(--sky); opacity: .45; filter: blur(110px); left: -260px; bottom: -300px; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.contact .h2 em { color: var(--paper); }
.contact__lede { font-size: 19px; max-width: 32ch; margin: 22px 0 0; }
.contact__from { display: inline-flex; gap: 10px; align-items: center; margin-top: 26px; font-weight: 700; font-size: 15px; padding: 6px 6px 6px 16px; border-radius: 99px; background: rgba(43,42,32,.12); }
.contact__from b { background: var(--cobalt); color: var(--paper); padding: 5px 11px; border-radius: 99px; font-size: 14px; }

.brief { background: var(--paper); color: var(--ink); border-radius: var(--r-xl); padding: clamp(24px, 3.2vw, 40px); box-shadow: 0 60px 90px -50px rgba(43,42,32,.7); }
.brief__step { display: flex; flex-direction: column; gap: 14px; }
.brief__title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.brief__sub { margin: -8px 0 4px; font-size: 15px; color: var(--ink-dim); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--ink-dim); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(43,42,32,.05); border: 0; border-radius: 14px; padding: 14px 16px;
  box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.1);
  transition: box-shadow .2s, background-color .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(43,42,32,.4); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(43,42,32,.02); box-shadow: inset 0 0 0 2px var(--heart); }
.field input.err { box-shadow: inset 0 0 0 2px var(--heart-deep); }
.brief__fine { margin: 0; font-size: 13px; color: var(--ink-dim); text-align: center; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; }
.pick button { border: 0; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; background: rgba(43,42,32,.06); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.1); transition: all .2s; }
.pick button:hover { box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.35); }
.pick button.on { background: var(--cobalt); color: var(--paper); box-shadow: none; }
.brief__row { display: flex; gap: 8px; align-items: center; }
.brief__row .btn { flex: 1; }
.brief__skip { border: 0; background: none; font-weight: 700; color: var(--ink-dim); padding: 12px 16px; }
.brief__skip:hover { color: var(--ink); }
.brief__done { text-align: center; padding: 16px 0; }
.brief__done svg { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--heart); animation: beat 1.2s var(--ease) 2; }
@keyframes beat { 30% { transform: scale(1.15); } 60% { transform: scale(.96); } }
.brief__done p { margin: 6px 0 0; color: var(--ink-dim); }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--navy); padding: 72px 0 0; overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 2fr 1fr; gap: 32px; align-items: start; }
.foot__tag { color: var(--paper-dim); margin: 14px 0 0; max-width: 30ch; }
.foot__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.foot__cols p { grid-column: 1 / -1; margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); }
.foot__cols a { text-decoration: none; color: var(--paper); opacity: .82; font-size: 15px; }
.foot__cols a:hover { color: var(--heart); opacity: 1; }
.foot__copy { margin: 0; text-align: right; font-size: 14px; color: var(--paper-dim); }
.foot__giant { margin: 48px 0 -0.2em; text-align: center; font-weight: 900; font-size: clamp(64px, 17vw, 250px); line-height: 1; letter-spacing: -.06em; white-space: nowrap;
  background: linear-gradient(180deg, var(--heart), var(--cobalt-deep) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   INDUSTRY PAGES
   ========================================================= */
.page-hero { padding: clamp(130px, 14vw, 170px) 0 clamp(56px, 7vw, 88px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -200px; top: -240px; background: var(--heart); opacity: .2; filter: blur(100px); pointer-events: none; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; }
.crumbs { display: flex; gap: 8px; font-size: 14px; font-weight: 500; margin-bottom: 24px; opacity: .75; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero__aside { display: flex; flex-direction: column; gap: 22px; padding-bottom: 8px; }
.page-hero__aside .lede { margin: 0; }
.page-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Demo shell ("lab") */
.lab { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; padding: 14px; border-radius: var(--r-xl); background: var(--navy); color: var(--paper); box-shadow: 0 60px 100px -50px rgba(4,10,60,.8), inset 0 0 0 1px rgba(246,240,226,.07); align-items: start; }
.lab__view { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.lab__canvas { position: relative; aspect-ratio: 800 / 520; border-radius: calc(var(--r-xl) - 12px); overflow: hidden; background: var(--navy-deep); }
.lab__canvas > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab__badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(30,29,21,.6); color: var(--paper); backdrop-filter: blur(8px); padding: 7px 12px 7px 26px; border-radius: 99px; }
.lab__badge::before { content: ""; position: absolute; left: 11px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #7CE0A3; box-shadow: 0 0 10px #7CE0A3; }
.lab__summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 4px 4px; list-style: none; }
.lab__summary li { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: rgba(246,240,226,.07); }
.lab__summary li:first-child { background: var(--pink); color: var(--ink); }
.lab__panel { padding: 22px; border-radius: calc(var(--r-xl) - 12px); background: rgba(246,240,226,.04); box-shadow: inset 0 0 0 1px rgba(246,240,226,.08); display: flex; flex-direction: column; gap: 20px; }
.lab__note { margin: 18px auto 0; text-align: center; font-size: 14px; opacity: .7; max-width: 60ch; }

.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-dim); display: flex; justify-content: space-between; width: 100%; }
.opt legend output { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--pink); }
.opt__val { margin: 8px 0 0; font-size: 14px; color: var(--paper-dim); }
.seg { display: grid; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(246,240,226,.06); }
.seg--2 { grid-template-columns: repeat(2, 1fr); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
.seg button { border: 0; background: transparent; padding: 10px 6px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--paper-dim); transition: background-color .25s, color .25s; }
.seg button:hover { color: var(--paper); }
.seg button.on { background: var(--paper); color: var(--navy); }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.toggles button { border: 0; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; background: rgba(246,240,226,.06); color: var(--paper-dim); box-shadow: inset 0 0 0 1px rgba(246,240,226,.12); }
.toggles button.on { background: var(--pink); color: var(--ink); box-shadow: none; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); transition: box-shadow .25s, transform .25s var(--ease); }
.swatches button:hover { transform: scale(1.08); }
.swatches button.on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--navy), 0 0 0 5px var(--pink); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--pink) var(--p, 30%), rgba(246,240,226,.15) var(--p, 30%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px rgba(180,101,74,.35); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px rgba(180,101,74,.35); cursor: grab; }

.quote { margin-top: auto; background: var(--pink); color: var(--ink); border-radius: var(--r-md); padding: 20px; }
.quote__label { margin: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; opacity: .7; }
.quote__price { margin: 6px 0 4px; font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.04em; line-height: 1.05; }
.quote__fine { margin: 0 0 14px; font-size: 13px; opacity: .7; }

/* Article blocks */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.problem__quote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.problem__quote::before { content: "“"; display: block; font-size: 2em; line-height: .6; color: var(--accent); }
.problem__body p { margin: 0 0 16px; font-size: 18px; opacity: .85; max-width: 50ch; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { border-radius: var(--r-lg); overflow: hidden; background: rgba(43,42,32,.06); box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.08); display: flex; flex-direction: column; }
.room-cobalt .feature, .room-deep .feature, .room-navy .feature { background: rgba(246,240,226,.05); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); }
.feature__vis { aspect-ratio: 16 / 10; background: var(--fbg, var(--cobalt)); position: relative; overflow: hidden; }
.feature__vis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature__body { padding: 22px 22px 26px; }
.feature__body h3 { font-size: 21px; margin-bottom: 6px; }
.feature__body p { margin: 0; font-size: 15.5px; line-height: 1.5; opacity: .8; }

.wins { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.win { border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 44px); }
.win--them { background: rgba(246,240,226,.06); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); }
.win--you { background: var(--pink); color: var(--ink); }
.win h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; opacity: .8; }
.win ul { list-style: none; padding: 0; margin: 0; }
.win li { padding: 14px 0; border-top: 1px solid rgba(127,127,127,.28); font-size: 18px; line-height: 1.4; display: flex; gap: 14px; }
.win li b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 20px; color: var(--heart); min-width: 1.4em; }
.win--you li b { color: var(--heart-deep); }

.more { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.more a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 16px; border-radius: 99px; background: rgba(246,240,226,.07); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); }
.more a:hover { background: var(--paper); color: var(--navy); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; }
.modal__back { position: absolute; inset: 0; background: rgba(30,29,21,.78); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--cobalt-deep); color: var(--paper); border-radius: var(--r-xl); padding: 36px; max-width: 820px; width: 100%; animation: bump .45s var(--ease); max-height: calc(100vh - 32px); overflow: auto; }
.modal__x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(246,240,226,.1); font-size: 24px; line-height: 1; }
.modal__copy p { color: var(--paper-dim); }
.modal__copy .h3 { margin-bottom: 12px; }
.phone--ar { width: 240px; }
.arcam { background: #6E8A5F; }
.arcam__bg { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 110%, #4F7048, transparent 70%), linear-gradient(180deg, #F2C792 0%, #EBB27C 28%, #98B07F 42%, #6E8A5F 70%, #557349 100%); }
.arcam__layer { position: absolute; left: -30%; width: 160%; top: 28%; transform: perspective(500px) rotateX(16deg); transform-origin: bottom; animation: arDrop .9s var(--ease) both; }
.arcam--table .arcam__bg { background: radial-gradient(90% 45% at 50% 62%, #A86C4D, #74432D 70%), #5E3524; }
.arcam--table .arcam__layer { left: 8%; width: 84%; top: 36%; transform: none; animation: bump .9s var(--ease) both; }
@keyframes arDrop { from { opacity: 0; transform: perspective(500px) rotateX(16deg) translateY(-30px) scale(.9); } }
.arcam__ui { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.arcam__pill { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--paper); background: rgba(30,29,21,.55); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 99px; }
.arcam__shot { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--paper); background: rgba(246,240,226,.3); }

/* Chat (bridal) */
.chat { display: flex; flex-direction: column; gap: 12px; }
.chat__log { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; scrollbar-width: thin; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.45; animation: bump .45s var(--ease) both; }
.msg--ai { background: rgba(246,240,226,.1); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: var(--heart); color: var(--navy); border-bottom-right-radius: 6px; font-weight: 500; }
.msg--typing { display: inline-flex; gap: 4px; padding: 15px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); opacity: .4; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: 1; transform: translateY(-3px); } }
.chat__ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.chat__ideas button { border: 0; background: rgba(246,240,226,.07); border-radius: 99px; padding: 8px 13px; font-size: 13.5px; text-align: left; color: var(--paper-dim); }
.chat__ideas button:hover { color: var(--paper); background: rgba(246,240,226,.12); }
.chat__form { display: flex; gap: 6px; background: var(--paper); border-radius: 99px; padding: 6px 6px 6px 18px; }
.chat__form input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.mode { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: rgba(246,240,226,.07); border-radius: 99px; padding: 4px; }
.mode button { position: relative; z-index: 1; border: 0; background: none; padding: 10px; font-weight: 700; font-size: 15px; color: var(--paper-dim); transition: color .3s; }
.mode button[aria-selected="true"] { color: var(--navy); }
.mode__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--paper); transition: transform .45s var(--ease); }
.mode.is-alt .mode__pill { transform: translateX(100%); }

/* Calculators */
.big-num { margin: 4px 0 0; font-size: clamp(36px, 4vw, 54px); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.meter { height: 12px; border-radius: 99px; background: rgba(43,42,32,.14); overflow: visible; position: relative; margin: 16px 0 8px; }
.meter i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); border-radius: inherit; background: linear-gradient(90deg, var(--sky), var(--heart)); transition: width .6s var(--ease); }
.meter b { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; left: var(--mark, 65%); background: var(--cobalt); }

/* Menu (restaurants) */
.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dish { border-radius: var(--r-md); background: rgba(246,240,226,.06); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.dish svg { width: 100%; aspect-ratio: 16/10; border-radius: 12px; }
.dish b { font-size: 15.5px; line-height: 1.2; }
.dish small { opacity: .7; font-size: 13px; line-height: 1.35; }
.dish__row { display: flex; gap: 6px; align-items: center; margin-top: auto; padding-top: 4px; }
.dish__row button { border: 0; border-radius: 99px; font-size: 12.5px; font-weight: 700; padding: 7px 11px; background: rgba(246,240,226,.1); }
.dish__row button.add { background: var(--heart); color: var(--navy); margin-left: auto; }
.dish__row button.add.in { background: var(--pink); }


/* =========================================================
   HERO extras
   ========================================================= */
.stage__open { position: absolute; right: 14px; top: 14px; z-index: 3; font-size: 13px; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 99px; background: rgba(30,29,21,.6); color: var(--paper); backdrop-filter: blur(8px); transition: background-color .25s; }
.stage__open:hover { background: var(--heart); color: var(--navy); }
.stage__open span { display: inline-block; transition: transform .3s var(--ease); }
.stage__open:hover span { transform: translateX(3px); }
.scene__ui { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--cobalt), var(--navy-deep)); }
.sui { width: 72%; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 22px 24px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.5); }
.sui small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.sui > b { display: block; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.05em; line-height: 1.1; margin: 4px 0 14px; }
.sui__row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; margin: 8px 0; }
.sui__row i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--heart) var(--w), rgba(43,42,32,.1) var(--w)); }
.sui p { margin: 14px 0 0; font-size: 14px; }

/* Tiles that sit on the indigo room */
.tile--paper { --tbg: var(--paper); }
.tile--pink { --tbg: var(--pink); }
.room-cobalt .tile--yours, .room-navy .tile--yours { --tfg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246,240,226,.25); }
.room-cobalt .tile--yours .tile__icon, .room-cobalt .tile--yours .tile__go { background: rgba(246,240,226,.1); }
.room-cobalt .tile--yours h3 em { color: var(--heart); }

/* =========================================================
   Feature mocks (small UI pieces inside feature visuals)
   ========================================================= */
.feature__vis { display: grid; place-items: center; padding: 18px; }
.mk { width: min(82%, 300px); background: var(--paper); color: var(--ink); border-radius: 18px; padding: 16px 18px; box-shadow: 0 24px 40px -22px rgba(30,29,21,.55); font-size: 13px; display: flex; flex-direction: column; gap: 8px; }
.mk small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .78; }
.mk > i { font-style: normal; font-size: 12.5px; opacity: .7; }
.mk__big { font-size: 26px; letter-spacing: -.04em; line-height: 1.05; }
.mk__chips, .mk__slots, .mk__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk__chips span, .mk__slots span { font-weight: 700; font-size: 12.5px; padding: 7px 11px; border-radius: 99px; background: rgba(43,42,32,.07); }
.mk__chips span.on, .mk__slots span.on { background: var(--cobalt); color: var(--paper); }
.mk__slots span { flex: 1 0 40%; text-align: center; }
.mk--lead .mk__head { display: flex; align-items: center; gap: 8px; }
.mk__app { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--heart); color: var(--navy); font-size: 11px; }
.mk__head i { margin-left: auto; font-style: normal; font-size: 11px; opacity: .74; }
.mk--lead p { margin: 0; font-size: 13.5px; }
.mk__tags span { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: var(--paper); color: var(--navy-deep); }
.mk--chat { background: transparent; box-shadow: none; padding: 0; gap: 8px; }
.mk--chat p { margin: 0; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; max-width: 88%; }
.mk--chat .me { align-self: flex-end; background: var(--heart); color: var(--navy); border-bottom-right-radius: 5px; }
.mk--chat .ai { background: var(--paper); border-bottom-left-radius: 5px; }
.mk__check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mk__check li { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mk__check li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(43,42,32,.3); }
.mk__check li.done::before { background: var(--heart); box-shadow: none; }
.mk__bar { height: 8px; border-radius: 99px; background: rgba(43,42,32,.1); overflow: hidden; }
.mk__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--heart)); border-radius: inherit; }

.mk-ar { height: 100%; display: grid; place-items: center; }
.mk-ar__phone { position: relative; width: 120px; aspect-ratio: 9/17; border-radius: 22px; border: 5px solid var(--navy-deep); background: linear-gradient(180deg, #F2C792, #98B07F 45%, #557349); overflow: hidden; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); }
.mk-ar__ret { position: absolute; inset: 22% 14%; border: 2px dashed rgba(246,240,226,.8); border-radius: 10px; }
.mk-ar__obj { position: absolute; left: 12%; right: 12%; top: 46%; height: 22%; border-radius: 4px; }
.mk-ar__obj--fence { background: repeating-linear-gradient(180deg, #9A5A3C 0 6px, #6E3D27 6px 8px); }
.mk-ar__obj--pool { top: 52%; height: 20%; border-radius: 40% 50% 45% 40%; background: radial-gradient(circle at 40% 40%, #8EE0EC, #1F6F96); box-shadow: 0 0 0 4px #F3E9DA; }
.mk-ar__obj--kitchen { top: 40%; height: 30%; background: linear-gradient(180deg, #8FA88C 0 30%, #EDE6DC 30% 38%, #8FA88C 38%); }
.mk-ar__obj--dish { left: 24%; right: 24%; top: 44%; height: auto; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #E9B979 0 46%, #2B2A20 47% 52%, #F6EFE6 53%); }
.mk-ar__phone em { position: absolute; left: 6px; right: 6px; bottom: 8px; text-align: center; font-family: var(--f-sans); font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--paper); background: rgba(30,29,21,.55); border-radius: 99px; padding: 4px 6px; }

.mk-split { position: relative; width: min(86%, 320px); aspect-ratio: 16/10; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 24px 40px -22px rgba(30,29,21,.55); }
.mk-split div { position: relative; }
.mk-split div:first-child { background: radial-gradient(circle at 30% 70%, #B89A73 0 22%, transparent 23%), linear-gradient(180deg, #E9D7BC 0 38%, #A9A27A 38%); }
.mk-split div:last-child { background: radial-gradient(circle at 70% 30%, #5E8A55 0 16%, transparent 17%), radial-gradient(circle at 30% 70%, #E06C8C 0 5%, transparent 6%), radial-gradient(circle at 60% 72%, #B4654A 0 5%, transparent 6%), linear-gradient(180deg, #F9D9A3 0 38%, #7FAE6E 38%); }
.mk-split span { position: absolute; bottom: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 99px; background: rgba(30,29,21,.6); color: var(--paper); }
.mk-split i { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--paper); }
.mk-split i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--paper); }

/* =========================================================
   Demo UI extras
   ========================================================= */
.lab__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 0 4px 4px; }
.lab__actions span { font-size: 13.5px; opacity: .65; }
.lab__toast { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 12px; align-items: center; max-width: 420px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.6); animation: bump .5s var(--ease); transition: opacity .4s, transform .4s; }
.lab__toast.bye { opacity: 0; transform: translateY(8px); }
.lab__toast-ico { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--heart); color: var(--navy); font-size: 13px; }
.lab__toast small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.lab__toast b { display: block; font-size: 14px; line-height: 1.35; }

.ui { position: absolute; inset: 0; padding: clamp(16px, 3vw, 32px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; background: radial-gradient(circle at 20% 10%, var(--cobalt), var(--navy-deep)); }
.ui__card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); }
.ui__card small, .ui__tile small { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.ui__row { display: flex; justify-content: space-between; margin: 0; font-size: 12px; font-weight: 600; opacity: .7; }
.ui__verdict { margin: 14px 0 2px; font-weight: 700; font-size: 17px; }
.ui__advice { margin: 6px 0 10px; font-size: 14px; opacity: .8; line-height: 1.4; }
.ui__tile { background: rgba(246,240,226,.1); border-radius: 22px; padding: 22px; color: var(--paper); }
.ui__tile b { display: block; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -.04em; margin-top: 6px; }
.bars { display: grid; gap: 10px; color: var(--paper); }
.bars__row { display: grid; grid-template-columns: 96px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.bars__row i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--pink) var(--w), rgba(246,240,226,.12) var(--w)); }
.bars__row b { text-align: right; }
.split-bar { height: 14px; border-radius: 99px; background: var(--pink); overflow: hidden; margin: 14px 0 8px; }
.split-bar i { display: block; height: 100%; background: var(--heart); border-radius: inherit; transition: width .5s var(--ease); }

.mrows { display: grid; gap: 6px; }
.mrow { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 4px; border-radius: 14px; }
.mrow__main { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 12px; display: flex; flex-direction: column; gap: 2px; transition: background-color .2s; }
.mrow__main:hover { background: rgba(246,240,226,.06); }
.mrow__main.on { background: rgba(246,240,226,.1); box-shadow: inset 3px 0 0 var(--heart); }
.mrow__main b { font-size: 15.5px; }
.mrow__main small { font-size: 13px; opacity: .65; }
.mrow > span { font-weight: 700; font-size: 15px; }
.mrow__add { border: 0; border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 700; background: var(--heart); color: var(--navy); min-width: 64px; }
.mrow__add.in { background: var(--pink); }

.mono-input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 0; border-radius: 12px; padding: 12px 14px; text-transform: uppercase; letter-spacing: .1em; }
.mono-input::placeholder { text-transform: none; letter-spacing: 0; color: rgba(43,42,32,.45); }
.mono-input:focus { outline: 2px solid var(--heart); }

.lab .btn--small { padding: 11px 18px; }
.chat__form .btn { padding: 10px 16px; }
@media (max-width: 680px) {
  .ui { grid-template-columns: 1fr; position: relative; inset: auto; padding-top: 56px; }
  .lab__canvas:has(.ui) { aspect-ratio: auto; }
  .stage__open { top: 10px; right: 10px; }
  .mrow { grid-template-columns: 1fr auto; }
  .mrow > span { display: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__inner { gap: 12px; }
  .nav__inner > .btn { margin-left: auto; }
  .nav__toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(246,240,226,.08); }
  .nav__toggle span { display: block; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s var(--ease); }
  .nav.open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav.open .nav__inner { flex-wrap: wrap; border-radius: 28px; }
  .nav.open .nav__links { display: flex; flex-direction: column; order: 5; width: 100%; padding: 8px 0 6px; }
  .nav.open .nav__links a { font-size: 19px; padding: 11px 10px; }

  .hero__grid, .apps__grid, .contact__grid, .page-hero__grid, .lab, .problem { grid-template-columns: 1fr; }
  .stage { max-width: 620px; width: 100%; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(2)::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .features { grid-template-columns: 1fr 1fr; }
  .apps__phones { height: 520px; max-width: 560px; width: 100%; margin: 0 auto; }
  .lab__view { position: static; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__copy { text-align: left; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { top: 10px; }
  .nav__inner > .btn { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav.open .nav__links .nav__menu-only { display: block; color: var(--heart); }
  .hero { padding-top: 108px; }
  .pill { margin-bottom: 20px; }
  .hero__lede { margin: 16px 0 24px; }
  .hero__ctas .btn { flex: 1; }
  .hero__ctas .btn { padding: 16px 14px; }
  .scene__chips span:nth-child(n+4) { display: none; }
  .stage__result { right: 10px; left: 10px; bottom: -22px; min-width: 0; padding: 12px 14px; }
  .stage__result b { font-size: 15px; }
  .stage__tabs { margin-top: 40px; }
  .tiles, .flow, .steps, .features, .wins, .prices { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .tile { min-height: 0; }
  .tile h3 { margin-top: 22px; }
  .flow__step:not(:last-child)::after { right: auto; left: 34px; top: auto; bottom: -15px; transform: rotate(90deg); display: grid; }
  .apps__phones { height: 430px; }
  .phone--app { width: 176px; }
  .phone--a { left: -4%; }
  .phone--b { margin-left: -88px; }
  .phone--c { right: -4%; }
  .app__h { font-size: 15px; }
  .app__card--big b { font-size: 18px; }
  .apps__list li { flex-direction: column; gap: 2px; }
  .seg--4 { grid-template-columns: 1fr 1fr; }
  .lab { padding: 8px; }
  .lab__panel { padding: 16px; }
  .modal__box { grid-template-columns: 1fr; justify-items: center; padding: 28px 20px; gap: 22px; }
  .phone--ar { width: 200px; }
  .phone { border-radius: 36px; }
  .phone__screen { border-radius: 28px; }
}

/* =========================================================
   Compact demos — a preview, not a whole page
   ========================================================= */
.lab { max-width: 1040px; margin: 0 auto; grid-template-columns: 1.45fr 1fr; gap: 10px; padding: 10px; border-radius: 32px; }
.lab__view { position: static; gap: 10px; }
.lab__canvas { border-radius: 24px; }
.lab__panel { padding: 18px; gap: 14px; border-radius: 24px; }
.lab .opt legend { margin-bottom: 7px; font-size: 11.5px; }
.lab .seg button { padding: 8px 4px; font-size: 13.5px; }
.lab .swatches button { width: 32px; height: 32px; }
.lab .toggles button { padding: 7px 12px; font-size: 13.5px; }
.lab .quote { padding: 16px; }
.lab .quote__price { margin: 4px 0 10px; }
.lab .quote .btn { padding: 13px 18px; font-size: 15px; }
.lab__summary li { font-size: 12.5px; padding: 6px 11px; }
.lab__note { margin-top: 12px; font-size: 13px; }
.lab .chat__log { max-height: 180px; }
.lab .chat__ideas button { font-size: 12.5px; padding: 7px 11px; }

/* =========================================================
   Direct contact + floating WhatsApp
   ========================================================= */
.contact__direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.contact__line { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; padding: 10px 16px; border-radius: 99px; background: rgba(43,42,32,.12); transition: background-color .2s; }
.contact__line span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.contact__line:hover { background: var(--cobalt); color: var(--paper); }

.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 99px;
  background: #25D366; color: #0B3A1E;
  font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 16px 34px -10px rgba(10, 60, 30, .55), 0 0 0 1px rgba(11, 58, 30, .12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa svg { width: 34px; height: 34px; color: #F6F0E2; }
.wa:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(10, 60, 30, .65); }

@media (max-width: 1080px) {
  .lab { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wa { right: 14px; bottom: 14px; padding: 10px; }
  .wa span { display: none; }
  .wa svg { width: 36px; height: 36px; }
  .lab { padding: 8px; border-radius: 26px; }
  .lab__panel { padding: 14px; }
  .lab__note { padding: 0 8px; }
}

/* Contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.brief .btn[type="submit"]:disabled::after { content: "…"; }
.brief__fail { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(180,101,74,.1); color: var(--heart-deep); font-size: 14px; font-weight: 600; }
.brief__fail a { color: inherit; }


/* =========================================================
   ELECTRIC COBALT — signature details
   ========================================================= */
body { background: var(--cobalt); }
body::after { opacity: .035; }
h1, h2, h3 { letter-spacing: -.045em; }

/* Highlighter instead of italic serif */
em, .hero__accent {
  font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit;
  background: var(--heart); color: var(--navy) !important;
  padding: .02em .14em .08em; border-radius: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.h1, .h2, .hero__title { line-height: 1.17; }
.hero__title { font-size: clamp(40px, 5.2vw, 76px); }
.hero__accent { display: inline; font-size: 1em; line-height: inherit; }
.room-lime em, .room-pink em, .contact em { background: var(--navy); color: var(--heart) !important; }
.tile--lime em { background: var(--navy); color: var(--heart) !important; }

/* Mono labels */
.kicker, .pill, .crumbs, .opt legend, .quote__label, .price__name, .stage__url, .stage__result small, .lab__badge,
.mk small, .lab__toast small, .ui__card small, .ui__tile small, .sui small, .foot__cols p, .step__n, .win h3, .win li b, .apps__list b, .price__tag, .field > span {
  font-family: var(--f-mono); letter-spacing: .02em;
}
.kicker { text-transform: uppercase; font-size: 12px; opacity: .9; }
.kicker::before { height: 10px; width: 10px; border-radius: 2px; background: var(--accent); }
.step__n { font-style: normal; font-size: 30px; color: var(--cobalt); }
.win li b { font-style: normal; font-size: 14px; padding-top: 3px; }
.problem__quote { font-style: normal; font-weight: 700; letter-spacing: -.035em; }
.problem__quote::before { font-family: var(--f-mono); }

/* Buttons: squared, with a hard shadow */
.btn { border-radius: 8px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.btn--ghost { background: rgba(246,240,226,.08); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; transform: none; }
.btn--indigo { --bg: var(--navy); --fg: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.btn--indigo:hover { --bg: var(--navy-deep); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.room-navy .btn, .lab .btn, .room-deep .btn { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.room-lime .btn, .room-lime .btn--indigo { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.nav .btn { box-shadow: none; }

/* Nav */
.nav__inner { border-radius: 12px; background: rgba(43,42,32, .78); box-shadow: inset 0 0 0 1px rgba(246,240,226,.14); }
.brand { color: var(--heart); }

/* Hero: lime sun behind the device */
.hero { background-color: var(--cobalt); }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: 120px; border-radius: 50%; background: var(--heart); pointer-events: none; }
.hero .wrap { position: relative; }
.pill { border-radius: 6px; background: rgba(43,42,32,.35); }
.pill b { border-radius: 4px; background: var(--heart); color: var(--navy); }
.stage__device { background: var(--navy); border-radius: 14px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.stage__screen { border-radius: 8px; }
.stage__result { background: var(--pink); color: var(--navy); border-radius: 8px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.stage__ping { border-radius: 6px; background: var(--navy); color: var(--heart); }
.stage__ping::after { border-color: var(--navy); }
.stage__tabs button { border-radius: 6px; background: rgba(43,42,32,.4); color: var(--paper); }
.stage__tabs button.on { background: var(--heart); color: var(--navy); }
.stage__tabs button::after { background: var(--navy); }
.stage__open { border-radius: 6px; background: var(--navy); }
.stage__open:hover { background: var(--heart); color: var(--navy); }
.scene__chips span { border-radius: 4px; }

/* Cards get the hard shadow */
.flow__step, .tile, .price, .feature, .win, .brief, .lab, .step { box-shadow: var(--shadow-hard); }
.room-navy .win, .room-navy .feature, .room-cobalt .tile, .room-cobalt .feature, .room-deep .feature, .lab { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.flow__step { background: var(--paper); box-shadow: var(--shadow-hard); }
.flow__step:last-child { background: var(--navy); }
.flow__icon { border-radius: 6px; background: var(--heart); color: var(--navy); }
.flow__step:last-child .flow__icon { background: var(--pink); }
.flow__step:not(:last-child)::after { border-radius: 4px; background: var(--navy); color: var(--heart); }
.tile:hover { transform: translate(-3px, -3px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.tile__icon, .tile__go { border-radius: 6px; }
.tile:hover .tile__go { background: var(--navy); color: var(--heart); }
.tile--pink { --tbg: var(--pink); }
.tile--deep { --tbg: var(--cobalt-deep); --tfg: var(--paper); }
.tile--deep .tile__icon, .tile--deep .tile__go { background: rgba(246,240,226,.12); }
.tile--yours { --tbg: rgba(43,42,32,.35); --tfg: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(246,240,226,.35) !important; }

.steps { border-top-color: var(--navy); }
.step { background: var(--paper); border-radius: var(--r-lg); padding: 22px; margin-right: 12px; }
.price { background: var(--paper); }
.price--hot { background: var(--navy); }
.price__tag { border-radius: 4px; background: var(--heart); color: var(--navy); }
.price li::before { border-radius: 3px; }
.win--them { background: rgba(246,240,226,.06); }
.win--you { background: var(--heart); }
.win--you li b { color: var(--cobalt); }

/* Demos */
.lab { background: var(--navy); }
.lab__canvas { border-radius: 8px; }
.lab__panel { border-radius: 8px; }
.seg, .seg button, .toggles button, .lab__summary li, .mrow__add, .mrow__main, .chat__form, .chat__ideas button, .mode, .mode button, .mode__pill { border-radius: 6px; }
.seg button.on, .mode__pill { background: var(--heart); color: var(--navy); }
.mode button[aria-selected="true"] { color: var(--navy); }
.swatches button.on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px var(--navy), 0 0 0 5px var(--heart); }
.toggles button.on { background: var(--pink); color: var(--navy); }
.quote { background: var(--paper); border-radius: 8px; }
.quote .btn { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.opt legend output { color: var(--heart); }
input[type="range"] { background: linear-gradient(90deg, var(--heart) var(--p, 30%), rgba(246,240,226,.18) var(--p, 30%)); }
input[type="range"]::-webkit-slider-thumb { border-radius: 4px; box-shadow: 0 0 0 4px rgba(216,190,134,.4); }
input[type="range"]::-moz-range-thumb { border-radius: 4px; box-shadow: 0 0 0 4px rgba(216,190,134,.4); }
.lab__summary li:first-child { background: var(--heart); color: var(--navy); }
.lab__toast { border-radius: 8px; background: var(--pink); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.lab__toast-ico { border-radius: 4px; background: var(--navy); color: var(--heart); }
.msg { border-radius: 10px; }
.msg--me { background: var(--heart); }
.mrow__add { background: var(--heart); }
.mrow__add.in, .dish__row button.add.in { background: var(--pink); }
.mrow__main.on { box-shadow: inset 3px 0 0 var(--heart); }
.ui { background: var(--cobalt-deep); }
.ui__card { border-radius: 10px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.ui__tile { border-radius: 10px; }
.meter i, .mk__bar i { background: linear-gradient(90deg, var(--pink), var(--cobalt)); }
.split-bar { background: var(--pink); }
.split-bar i { background: var(--cobalt); }
.bars__row i { background: linear-gradient(90deg, var(--heart) var(--w), rgba(246,240,226,.14) var(--w)); }

/* Feature mocks */
.mk { border-radius: 10px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.mk__chips span, .mk__slots span { border-radius: 4px; }
.mk__chips span.on, .mk__slots span.on { background: var(--navy); color: var(--heart); }
.mk__app { border-radius: 4px; background: var(--navy); color: var(--heart); }
.mk__tags span { border-radius: 4px; background: var(--heart); color: var(--navy); }
.mk--chat .me { background: var(--heart); }
.mk-ar__phone, .mk-split { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }

/* Contact on lime */
.contact::before { background: var(--cobalt); opacity: .18; }
.contact__from { border-radius: 6px; background: rgba(43,42,32,.1); }
.contact__from b { border-radius: 4px; background: var(--navy); color: var(--heart); }
.contact__line { border-radius: 6px; background: rgba(43,42,32,.1); }
.contact__line:hover { background: var(--navy); color: var(--heart); }
.brief { background: var(--paper); border-radius: 12px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.field input, .field textarea { border-radius: 8px; }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--cobalt); }
.pick button { border-radius: 6px; }
.pick button.on { background: var(--navy); color: var(--heart); }
.brief__done svg { color: var(--cobalt); }
.brief__fail { background: rgba(180,101,74,.25); color: var(--navy); }

/* Footer */
.foot { background: var(--navy); }
.foot__giant { background: linear-gradient(180deg, var(--heart), var(--cobalt) 85%); -webkit-background-clip: text; background-clip: text; }

/* Page heroes on industry pages */
.page-hero::before { background: var(--heart); opacity: 1; filter: none; width: 420px; height: 420px; right: -140px; top: -160px; }
.room-sky .page-hero::before, .page-hero.room-lime::before { background: var(--cobalt); }
.page-hero.room-lime .btn { --bg: var(--navy); --fg: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.page-hero.room-lime .btn--ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--navy); color: var(--navy); }
.more a { border-radius: 6px; }

@media (max-width: 680px) {
  .hero::before { width: 360px; height: 360px; right: -180px; top: auto; bottom: 120px; }
  .page-hero::before { display: none; }
  .step { margin-right: 0; }
}

/* =========================================================
   HERO — whole preview is one link
   ========================================================= */
.stage__device { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.stage__hit { position: absolute; inset: 0; z-index: 6; border-radius: inherit; }
.stage__hit:focus-visible { outline: 3px solid var(--heart); outline-offset: 4px; }
.stage__device:hover { transform: translate(-3px, -3px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.stage__bar .stage__open { position: static; margin-left: auto; font-size: 12.5px; padding: 6px 12px; background: var(--heart); color: var(--navy); }
.stage__device:hover .stage__open span { transform: translateX(3px); }

/* =========================================================
   MOTION PLAYER (how it works, before/after)
   ========================================================= */
.motion { display: grid; grid-template-columns: minmax(240px, 300px) 1fr; gap: 18px; align-items: start; outline: none; }
.motion__chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.motion__chapters li { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px 16px; border-radius: 10px; cursor: pointer;
  background: rgba(246,240,226,.55); color: var(--ink); transition: background-color .3s, transform .3s var(--ease); }
.room-navy .motion__chapters li, .room-cobalt .motion__chapters li, .room-deep .motion__chapters li { background: rgba(246,240,226,.06); color: var(--paper); }
.motion__chapters li:hover { transform: translateX(3px); }
.motion__chapters li.on { background: var(--navy); color: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.room-navy .motion__chapters li.on { background: var(--paper); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.motion__n { font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 3px 6px; border-radius: 4px; background: rgba(43,42,32,.1); height: max-content; }
.room-navy .motion__n { background: rgba(246,240,226,.1); }
.motion__chapters li.on .motion__n { background: var(--heart); color: var(--navy); }
.motion__chapters b { display: block; font-size: 17px; letter-spacing: -.02em; line-height: 1.2; }
.motion__chapters li span:not(.motion__n) { display: block; font-size: 14px; line-height: 1.4; opacity: .75; margin-top: 3px; }
.motion__chapters li > i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--cp, 0%); background: var(--heart); }
.motion__chapters li.done > i { width: 100%; opacity: .35; }

.motion__main { min-width: 0; }
.motion__stage { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; container-type: inline-size; box-shadow: var(--shadow-hard);
  background-color: var(--cobalt-deep);
  background-image: none;
  background-size: 40px 40px; color: var(--paper); }
.room-navy .motion__stage { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }

.motion__bar { display: flex; align-items: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.motion__bar button { width: 42px; height: 42px; border: 0; border-radius: 8px; display: grid; place-items: center; background: var(--navy); color: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transition: transform .2s; }
.room-navy .motion__bar button { background: var(--paper); color: var(--navy); }
.motion__bar button:hover { transform: translate(-1px, -1px); }
.motion__bar button svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.motion__bar .motion__play { width: 52px; height: 52px; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.room-navy .motion__bar .motion__play { background: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.motion__play .i-pause, .motion.is-playing .motion__play .i-play { display: none; }
.motion.is-playing .motion__play .i-pause { display: block; }
.motion__track { position: relative; flex: 1; min-width: 160px; padding: 0 6px; }
.motion__track input[type="range"] { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--navy) var(--p, 0%), rgba(43,42,32,.18) var(--p, 0%)); }
.room-navy .motion__track input[type="range"] { background: linear-gradient(90deg, var(--heart) var(--p, 0%), rgba(246,240,226,.18) var(--p, 0%)); }
.motion__track input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; border-radius: 6px; background: var(--heart); box-shadow: 0 0 0 3px var(--navy); }
.motion__track input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 6px; background: var(--heart); box-shadow: 0 0 0 3px var(--navy); }
.motion__ticks { position: absolute; left: 6px; right: 6px; top: 50%; height: 0; pointer-events: none; }
.motion__ticks i { position: absolute; top: -9px; width: 2px; height: 18px; margin-left: -1px; background: currentColor; opacity: .35; }
.motion__ticks i:first-child { display: none; }
.motion__hint { width: 100%; font-family: var(--f-mono); font-size: 12px; opacity: .6; padding-left: 2px; }

/* ----- How it works scene ----- */
.hw { --hw-merbau: #9A5A3C; --hw-charcoal: #3A3A42; }
.hw__browser { position: absolute; left: 5%; top: 8%; width: 62%; background: var(--paper); color: var(--navy); border-radius: 10px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transform-origin: left center; }
.hw__bar { display: flex; align-items: center; gap: 5px; padding: 1.4cqw 1.6cqw; }
.hw__bar i { width: 1cqw; height: 1cqw; min-width: 6px; min-height: 6px; border-radius: 50%; background: rgba(43,42,32,.25); }
.hw__bar span { margin-left: 8px; font-family: var(--f-mono); font-size: clamp(8px, 1.3cqw, 12px); opacity: .6; }
.hw__view { margin: 0 1.4cqw; border-radius: 6px; overflow: hidden; aspect-ratio: 2 / 1; }
.hw__view svg, .hw__cam svg { display: block; width: 100%; height: 100%; }
.hw__board { transform-box: fill-box; transform-origin: left center; fill: var(--hw-merbau); transition: fill .4s; }
.hw__opts { display: flex; gap: 6px; padding: 1.6cqw 1.4cqw; flex-wrap: wrap; }
.hw__chip { font-family: var(--f-mono); font-size: clamp(8px, 1.35cqw, 12px); font-weight: 700; padding: .7cqw 1.2cqw; border-radius: 4px; background: rgba(43,42,32,.08); transition: background-color .25s, color .25s; }
.hw__chip.on { background: var(--navy); color: var(--heart); }
.hw__chip--ghost { opacity: .5; }
.hw__cursor { position: absolute; width: 2.4cqw; height: 2.4cqw; min-width: 14px; min-height: 14px; border-radius: 50%; border: 3px solid var(--pink); transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(180,101,74,.3); pointer-events: none; }
.hw__phone { position: absolute; right: 6%; top: 6%; width: 25%; aspect-ratio: 9 / 18.5; background: var(--navy-deep); border-radius: 3.4cqw; padding: .8cqw; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transform: translateX(130%); }
.hw__screen { position: relative; height: 100%; border-radius: 2.6cqw; overflow: hidden; background: #557349; }
.hw__cam { position: absolute; inset: 0; transform-origin: 50% 55%; }
.hw__reticle { position: absolute; left: 10%; right: 10%; top: 36%; height: 26%; border: 2px dashed rgba(246,240,226,.9); border-radius: 8px; }
.hw__arlabel { position: absolute; left: 7%; right: 7%; bottom: 7%; font-family: var(--f-mono); font-size: clamp(7px, 1.1cqw, 11px); font-weight: 700; text-align: center; padding: 5px; border-radius: 4px; background: rgba(30,29,21,.75); color: var(--heart); }
.hw__owner { position: absolute; inset: 0; opacity: 0; padding: 26% 7% 0; background: linear-gradient(165deg, var(--cobalt), var(--navy)); }
.hw__time { margin: 0 0 12%; text-align: center; font-size: clamp(16px, 4.2cqw, 40px); font-weight: 700; letter-spacing: -.04em; color: var(--paper); }
.hw__notif { display: grid; gap: 2px; padding: 7%; border-radius: 8px; background: var(--paper); color: var(--navy); font-size: clamp(7px, 1.15cqw, 11px); line-height: 1.3; }
.hw__notif b { display: flex; gap: 4px; align-items: center; font-size: 1.1em; }
.hw__notif b i { font-style: normal; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 3px; background: var(--navy); color: var(--heart); }
.hw__notif em { background: none; color: var(--cobalt) !important; padding: 0; font-family: var(--f-mono); font-weight: 700; }
.hw__stamp { position: absolute; left: 8%; right: 8%; bottom: 10%; text-align: center; font-size: clamp(8px, 1.3cqw, 12px); font-weight: 700; padding: 6px 4px; border-radius: 4px; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); opacity: 0; }
.hw__price { position: absolute; left: 28%; bottom: 7%; width: 38%; padding: 1.6cqw 2cqw; border-radius: 8px; background: var(--pink); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); opacity: 0; }
.hw__price small { display: block; font-family: var(--f-mono); font-size: clamp(8px, 1.2cqw, 11px); font-weight: 700; text-transform: uppercase; opacity: .7; }
.hw__price b { display: block; font-size: clamp(14px, 2.8cqw, 26px); letter-spacing: -.04em; margin: .4cqw 0 1cqw; white-space: nowrap; }
.hw__price .hw__bar { display: block; height: 6px; padding: 0; border-radius: 3px; background: rgba(43,42,32,.18); overflow: hidden; }
.hw__price .hw__bar i { display: block; height: 100%; width: 0; background: var(--navy); }

/* ----- Before / after scene ----- */
.cmp { background-color: var(--navy); }
.cmp__frame { position: absolute; inset: 0; padding: 3.2cqw; }
.cmp__frame--flow { display: grid; grid-template-rows: 1fr 1fr; gap: 2.4cqw; }
.cmp__lane { position: relative; display: flex; flex-direction: column; min-height: 0; border-radius: 8px; padding: 1.6cqw 2cqw .6cqw; background: rgba(246,240,226,.05); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); }
.cmp__lane--after { background: rgba(216,190,134,.07); box-shadow: inset 0 0 0 1px rgba(216,190,134,.35); }
.cmp__lane header { font-family: var(--f-mono); font-size: clamp(9px, 1.4cqw, 13px); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.cmp__lane--after header { color: var(--heart); opacity: 1; }
.cmp__cols { position: relative; height: clamp(30px, 5.4cqw, 54px); margin-top: .6cqw; }
.cmp__cols span { position: absolute; top: 0; transform: translateX(-50%); text-align: center; white-space: nowrap; font-size: clamp(8px, 1.3cqw, 13px); opacity: .85; }
.cmp__cols .cmp__n { display: block; font-size: clamp(13px, 2.4cqw, 24px); letter-spacing: -.03em; color: var(--paper); line-height: 1.15; }
.cmp__lane--after .cmp__n { color: var(--heart); }
.cmp__lane svg { flex: 1; width: 100%; min-height: 0; }
.cmp__guide { stroke: rgba(246,240,226,.12); stroke-dasharray: 3 5; fill: none; }
.cmp__lane--before circle { fill: var(--sky); }
.cmp__lane--after circle { fill: var(--heart); }
.cmp__lane circle.won { fill: var(--pink); }
.cmp__frame--chart { display: flex; flex-direction: column; justify-content: center; gap: 4cqw; padding: 5cqw 6cqw; opacity: 0; }
.cmp__legend { display: flex; gap: 18px; font-family: var(--f-mono); font-size: clamp(10px, 1.4cqw, 13px); }
.cmp__legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.cmp__legend .b::before { background: var(--sky); } .cmp__legend .a::before { background: var(--heart); }
.cmp__row p { margin: 0 0 1cqw; font-family: var(--f-mono); font-size: clamp(10px, 1.5cqw, 14px); opacity: .8; }
.cmp__bar { display: flex; align-items: center; gap: 12px; height: clamp(20px, 3.6cqw, 36px); margin-top: .8cqw; }
.cmp__bar i { display: block; height: 100%; width: 0; border-radius: 4px; }
.cmp__bar--before i { background: var(--sky); }
.cmp__bar--after i { background: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.cmp__val { font-weight: 700; font-size: clamp(13px, 2.2cqw, 22px); letter-spacing: -.03em; white-space: nowrap; }
.cmp__frame--claims { display: grid; grid-template-columns: 1fr 1fr; gap: 4cqw; align-content: center; padding: 5cqw 6cqw; opacity: 0; }
.cmp__claim b { display: block; font-size: clamp(30px, 7.5cqw, 76px); letter-spacing: -.055em; line-height: 1; color: var(--heart); }
.cmp__claim span { display: block; margin-top: 1.2cqw; font-size: clamp(13px, 2cqw, 19px); line-height: 1.35; }
.cmp__fine { grid-column: 1 / -1; margin: 0; font-size: clamp(10px, 1.3cqw, 13px); opacity: .6; max-width: 70ch; }

/* =========================================================
   CAROUSEL (process, feature cards)
   ========================================================= */
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: var(--per, 40%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 12px 14px 4px; margin: -4px -12px -14px -4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.carousel__nav button[data-c] { width: 44px; height: 44px; border: 0; border-radius: 8px; font-size: 18px; font-weight: 700; background: var(--navy); color: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transition: opacity .2s, transform .2s; }
.carousel__nav button[data-c]:disabled { opacity: .35; cursor: default; }
.carousel__nav button[data-c]:not(:disabled):hover { transform: translate(-1px, -1px); }
.carousel__dots { display: flex; gap: 6px; flex: 1; justify-content: center; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 3px; background: currentColor; opacity: .25; transition: width .3s var(--ease), opacity .3s; }
.carousel__dots button.on { width: 28px; opacity: 1; background: var(--accent); }
.features-carousel .feature { height: 100%; }

.pslide { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 26px; border-radius: 12px; background: var(--navy); color: var(--paper); box-shadow: var(--shadow-hard); }
.pslide:nth-child(1) { background: var(--cobalt); }
.pslide:nth-child(2) { background: var(--heart); color: var(--navy); }
.pslide:nth-child(3) { background: var(--pink); color: var(--navy); }
.pslide__n { font-family: var(--f-mono); font-size: clamp(56px, 7vw, 96px); font-weight: 700; line-height: .9; letter-spacing: -.06em; }
.pslide__tag { position: absolute; top: 26px; right: 26px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; background: rgba(246,240,226,.16); }
.pslide:nth-child(2) .pslide__tag, .pslide:nth-child(3) .pslide__tag { background: rgba(43,42,32,.12); }
.pslide h3 { margin-top: auto; font-size: 26px; padding-top: 34px; }
.pslide p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; opacity: .85; }

/* =========================================================
   PRICING — currency switch, no overlapping tag
   ========================================================= */
.cur { display: flex; gap: 4px; width: max-content; margin: -28px auto 30px; padding: 4px; border-radius: 8px; background: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.cur button { border: 0; padding: 9px 18px; border-radius: 6px; font-family: var(--f-mono); font-weight: 700; font-size: 13px; background: none; color: var(--navy); }
.cur button.on { background: var(--navy); color: var(--heart); }
.price__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0; }
.price__tag { position: static; }
.price__custom { font-size: clamp(44px, 4.6vw, 60px); }

@media (max-width: 1080px) {
  .motion { grid-template-columns: 1fr; }
  .motion__chapters { grid-template-columns: repeat(4, 1fr); order: 2; }
  .motion__chapters li span:not(.motion__n) { display: none; }
  .features-carousel { --per: calc((100% - 14px) / 2) !important; }
  .process-carousel { --per: calc((100% - 14px) / 1.6) !important; }
}
@media (max-width: 680px) {
  .stage__result { position: relative; left: auto; right: auto; bottom: auto; margin: -16px 10px 0; }
  .stage__tabs { margin-top: 22px; }
  .motion__chapters { grid-template-columns: 1fr 1fr; }
  .motion__chapters li { padding: 10px 12px 12px; gap: 8px; }
  .motion__chapters b { font-size: 15px; }
  .motion__stage { aspect-ratio: 4 / 5; }
  .motion__hint { display: none; }
  .hw__browser { left: 5%; top: 5%; width: 90%; }
  .hw__phone { width: 42%; right: 5%; top: 38%; }
  .hw__price { left: 5%; bottom: 5%; width: 54%; }
  .hw__bar span, .hw__chip, .hw__arlabel, .hw__notif, .hw__stamp, .hw__price small { font-size: 10px; }
  .hw__price b { font-size: 18px; }
  .hw__time { font-size: 26px; }
  .cmp__frame { padding: 12px; }
  .cmp__frame--flow { gap: 10px; }
  .cmp__cols span { font-size: 9px; white-space: normal; width: 22%; line-height: 1.15; }
  .cmp__cols { height: 52px; }
  .cmp__frame--chart, .cmp__frame--claims { padding: 22px; }
  .cmp__frame--claims { grid-template-columns: 1fr; gap: 18px; }
  .features-carousel, .process-carousel { --per: 86% !important; }
  .pslide { min-height: 260px; }
}

/* =========================================================
   HERO REEL — one quick visual per industry
   ========================================================= */
.reel { position: relative; }
.reel__stage { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; text-decoration: none;
  background-color: var(--cobalt-deep);
  background-image: none;
  background-size: 40px 40px;
  box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.reel__stage:hover { transform: translate(-3px, -3px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.reel__stage:focus-visible { outline: 3px solid var(--heart); outline-offset: 4px; }
.reel__scene { position: absolute; inset: 0; opacity: 0; }
.reel__scene svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__scene svg .r-pop, .reel__scene svg .r-grow, .reel__scene svg .r-corners, .reel__scene svg .r-spark { transform-box: fill-box; transform-origin: center; }
.r-txt { font-family: var(--f-sans); font-weight: 700; font-size: 46px; fill: var(--navy); letter-spacing: -2px; }
.r-txt--s { font-size: 30px; letter-spacing: -1px; }
.reel__cap { position: absolute; left: 18px; bottom: 18px; margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.reel__cap small { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; background: var(--navy); color: var(--heart); }
.reel__cap b { font-size: clamp(20px, 2.4vw, 32px); letter-spacing: -.04em; line-height: 1.15; padding: .06em .32em .1em; border-radius: 4px; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.reel__open { position: absolute; top: 14px; right: 14px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 6px; background: var(--navy); color: var(--heart); }
.reel__open span { display: inline-block; transition: transform .3s var(--ease); }
.reel__stage:hover .reel__open span { transform: translateX(3px); }

.reel__bar { display: flex; align-items: center; gap: 10px; margin-top: 24px; }
.reel__play { flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; display: grid; place-items: center; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.reel__play svg { width: 18px; height: 18px; fill: currentColor; }
.reel__play .i-pause, .reel.is-playing .reel__play .i-play { display: none; }
.reel.is-playing .reel__play .i-pause { display: block; }
.reel__segs { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.reel__segs li { position: relative; overflow: hidden; display: grid; place-items: center; height: 44px; border-radius: 6px; cursor: pointer;
  background: rgba(43,42,32,.4); color: var(--paper); transition: background-color .25s, color .25s; }
.reel__segs li:hover { background: rgba(43,42,32,.7); }
.reel__segs li.on { background: var(--paper); color: var(--navy); }
.reel__ico svg { width: 20px; height: 20px; display: block; }
.reel__segs li > i { position: absolute; left: 0; bottom: 0; height: 3px; width: var(--cp, 0%); background: var(--heart); }
.reel__segs li.on > i { background: var(--cobalt); }

/* =========================================================
   FRICTION GRAPHIC — the long way vs. the Happy Heart way
   ========================================================= */
.friction { border-radius: 14px; padding: clamp(14px, 3vw, 34px); background: var(--navy); box-shadow: var(--shadow-hard); }
.friction svg { display: block; width: 100%; height: auto; overflow: visible; }
.fr-label { font-family: var(--f-mono); font-size: 22px; font-weight: 700; fill: var(--paper); opacity: .6; text-transform: uppercase; letter-spacing: 1px; }
.fr-label--on { fill: var(--heart); opacity: 1; }
.fr-messy { fill: none; stroke: rgba(246,240,226,.4); stroke-width: 6; stroke-dasharray: 2 14; stroke-linecap: round; }
.fr-snag circle { fill: var(--pink); stroke: var(--navy); stroke-width: 5; }
.fr-snag text { font-family: var(--f-sans); font-size: 26px; font-weight: 700; fill: var(--navy); text-anchor: middle; }
.fr-fast { fill: none; stroke: var(--heart); stroke-width: 8; stroke-linecap: round; }
.fr-node circle { fill: var(--heart); stroke: var(--navy); stroke-width: 6; }
.fr-node path { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fr-node--end circle { fill: var(--pink); }
.fr-word text { font-family: var(--f-sans); font-size: 28px; font-weight: 700; fill: var(--paper); text-anchor: middle; letter-spacing: -.5px; }
.fr-dot { fill: var(--paper); }
.fr-dot--slow { fill: var(--pink); }
.fr-end circle { fill: var(--paper); }

@media (max-width: 1080px) {
  .reel { max-width: 640px; }
}
@media (max-width: 680px) {
  .reel__segs { grid-template-columns: repeat(5, 1fr); }
  .reel__segs li { height: 38px; }
  .reel__bar { align-items: flex-start; }
  .reel__cap { left: 12px; bottom: 12px; }
  .reel__cap b { font-size: 19px; }
  .fr-label { font-size: 30px; }
  .fr-word text { font-size: 36px; }
}

/* =========================================================
   EXAMPLES CAROUSEL — visual industry cards
   ========================================================= */
.icard { --cbg: var(--paper); --cfg: var(--ink); display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; text-decoration: none;
  background: var(--cbg); color: var(--cfg); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.icard:hover { transform: translate(-3px, -3px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.icard--lime { --cbg: var(--heart); --cfg: var(--navy); }
.icard--pink { --cbg: var(--pink); --cfg: var(--navy); }
.icard--sky { --cbg: var(--sky); --cfg: var(--navy); }
.icard--deep { --cbg: var(--navy); --cfg: var(--paper); }
.icard__vis { position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background-color: var(--cobalt-deep);
  background-image: none;
  background-size: 32px 32px; }
.icard__vis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.icard__vis svg .r-pop, .icard__vis svg .r-grow, .icard__vis svg .r-corners, .icard__vis svg .r-spark { transform-box: fill-box; transform-origin: center; }
.icard__kind { position: absolute; top: 12px; left: 12px; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; background: var(--navy); color: var(--heart); }
.icard__body { position: relative; padding: 18px 20px 22px; }
.icard__body h3 { font-size: 22px; letter-spacing: -.03em; padding-right: 44px; }
.icard__body p { margin: 4px 0 0; font-size: 15px; opacity: .78; }
.icard__go { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 6px; display: grid; place-items: center; background: rgba(43,42,32,.1); font-weight: 700; transition: transform .35s var(--ease), background-color .3s; }
.icard--deep .icard__go { background: rgba(246,240,226,.12); }
.icard:hover .icard__go { transform: translateX(3px); background: var(--navy); color: var(--heart); }
.icard--yours { --cbg: transparent; --cfg: var(--paper); box-shadow: inset 0 0 0 2px rgba(246,240,226,.35); }
.icard--yours:hover { box-shadow: inset 0 0 0 2px var(--heart); }
.icard__vis--yours { display: grid; place-items: center; background: rgba(43,42,32,.35); }
.icard__vis--yours span { font-size: 120px; font-weight: 700; color: var(--heart); line-height: 1; }
.icards .carousel__track { padding-bottom: 18px; }
.room-cobalt .carousel__dots button.on { background: var(--heart); }

/* Reel: picked one business */
.reel__hint { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 6px;
  background: var(--pink); color: var(--navy); opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.reel.is-focused .reel__hint { opacity: 1; transform: none; }
.reel.is-focused .reel__play { background: var(--pink); }
.reel__segs li:focus-visible { outline: 3px solid var(--heart); outline-offset: 2px; }

@media (max-width: 1080px) {
  .icards { --per: calc((100% - 14px) / 2.15) !important; }
}
@media (max-width: 680px) {
  .icards { --per: 80% !important; }
  .icard__body h3 { font-size: 20px; }
}

/* =========================================================
   DEMO OPTIONS DROPDOWN
   ========================================================= */
.lab__opts { border-radius: 10px; background: rgba(246,240,226,.06); box-shadow: inset 0 0 0 1px rgba(246,240,226,.12); }
.lab__opts summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 17px; }
.lab__opts summary::-webkit-details-marker { display: none; }
.lab__opts summary span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 2px; background: var(--heart); }
.lab__opts summary i { font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--heart); color: var(--navy); transition: transform .3s var(--ease); }
.lab__opts[open] summary i { transform: rotate(180deg); }
.lab__opts summary:hover i { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.lab__optsin { display: flex; flex-direction: column; gap: 18px; padding: 4px 18px 20px; }
.lab__opts[open] .lab__optsin { animation: bump .35s var(--ease); }
.lab__panel { gap: 14px; }

/* Reel without a play button */
.reel__bar { margin-top: 20px; }

/* =========================================================
   EQUATION — personalised + less friction = more sales = more money
   ========================================================= */
.eq { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.eq__tile { flex: 1 1 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 170px; padding: 22px; border-radius: 12px; background: var(--paper); color: var(--navy); box-shadow: var(--shadow-hard); }
.eq__tile b { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.035em; line-height: 1.1; }
.eq__ico { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--heart); }
.eq__ico svg { width: 28px; height: 28px; }
.eq__tile--friction { background: var(--sky); }
.eq__tile--sales { background: var(--pink); }
.eq__tile--money { background: var(--heart); }
.eq__tile--money .eq__ico { animation: coin 2.4s var(--ease) infinite; }
@keyframes coin { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-6px) rotate(-8deg); } 90% { transform: translateY(0) rotate(4deg); } }
.eq__op { align-self: center; font-family: var(--f-mono); font-size: clamp(30px, 3vw, 44px); font-weight: 700; color: currentColor; opacity: .7; }
.eq__line { margin: 30px 0 0; max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; }
.room-navy .eq__tile, .room-cobalt .eq__tile, .room-deep .eq__tile { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
@media (prefers-reduced-motion: reduce) { .eq__tile--money .eq__ico { animation: none; } }

/* =========================================================
   MONEY CHART
   ========================================================= */
.money { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.money__in { display: block; margin-top: 26px; }
.money__in span { display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.money__in output { font-family: var(--f-sans); font-size: 18px; letter-spacing: -.02em; color: var(--cobalt); }
.money__in input[type="range"] { background: linear-gradient(90deg, var(--navy) var(--p, 30%), rgba(43,42,32,.15) var(--p, 30%)); }
.money__in input[type="range"]::-webkit-slider-thumb { border-radius: 6px; background: var(--heart); box-shadow: 0 0 0 3px var(--navy); }
.money__in input[type="range"]::-moz-range-thumb { border-radius: 6px; background: var(--heart); box-shadow: 0 0 0 3px var(--navy); }
.money__fine { margin: 22px 0 0; font-size: 13px; opacity: .65; max-width: 44ch; }
.money__chart { padding: clamp(20px, 3vw, 34px); border-radius: 14px; background: var(--navy); color: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.money__row + .money__row { margin-top: 22px; }
.money__row p { margin: 0 0 8px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; opacity: .75; }
.money__bar { display: grid; grid-template-columns: minmax(0, 1fr) 84px; align-items: center; gap: 12px; height: 30px; margin-top: 6px; }
.money__bar i { display: block; height: 100%; width: 2%; border-radius: 4px; transition: width .45s var(--ease); }
.money__bar--now i { background: var(--sky); }
.money__bar--hh i { background: var(--heart); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.money__bar b { white-space: nowrap; font-size: 17px; letter-spacing: -.02em; }
.money__legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-family: var(--f-mono); font-size: 12px; opacity: .8; }
.money__legend span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.money__legend .n::before { background: var(--sky); } .money__legend .h::before { background: var(--heart); }
.money__delta { margin: 18px 0 0; padding: 14px 16px; border-radius: 8px; background: var(--pink); color: var(--navy); font-weight: 700; font-size: 18px; }
.money__delta b { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.04em; }

/* =========================================================
   DUO — they check first · customers for life
   ========================================================= */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo__card { border-radius: 14px; padding: 18px 18px 26px; background: var(--paper); color: var(--navy); box-shadow: var(--shadow-hard); }
.duo__card--look { background: var(--navy); color: var(--paper); }
.duo__card h3 { margin: 22px 6px 8px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.duo__card p { margin: 0 6px; font-size: 16px; line-height: 1.5; opacity: .8; max-width: 44ch; }
.duo__vis { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background-color: var(--cobalt); background-image: none; background-size: 28px 28px; }
.duo__card--life .duo__vis { background-color: var(--sky); }

.look { position: relative; height: 82%; aspect-ratio: 9 / 15; }
.look__phone { height: 100%; border-radius: 18px; padding: 8% 7%; background: var(--navy-deep); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.look__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; height: 100%; }
.look__grid i { border-radius: 4px; background: var(--sky); animation: tile 3.6s var(--ease) infinite; animation-delay: var(--d); }
.look__grid i:nth-child(3n+1) { background: var(--heart); } .look__grid i:nth-child(4n+2) { background: var(--pink); }
@keyframes tile { 0%, 100% { opacity: .55; transform: scale(.94); } 30% { opacity: 1; transform: none; } }
.look__lens { position: absolute; width: 46%; aspect-ratio: 1; right: -22%; top: 30%; border-radius: 50%; border: 6px solid var(--paper); background: rgba(246,240,226,.18); animation: lens 4s var(--ease) infinite; }
.look__lens::after { content: ""; position: absolute; width: 40%; height: 8px; right: -34%; bottom: -10%; border-radius: 4px; background: var(--paper); transform: rotate(45deg); }
@keyframes lens { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(-70%, -40%); } 66% { transform: translate(-40%, 50%); } }

.life { position: relative; height: 82%; aspect-ratio: 1; }
.life__ring { position: absolute; inset: 14%; border-radius: 50%; border: 5px dashed var(--navy); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.life__heart { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(34px, 5vw, 56px); color: var(--pink); animation: beat 1.6s var(--ease) infinite; }
.life__n { position: absolute; transform: translate(-50%, -50%); font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 4px; background: var(--navy); color: var(--heart); white-space: nowrap; }
.life__n--1 { left: 50%; top: 12%; } .life__n--2 { left: 88%; top: 50%; } .life__n--3 { left: 50%; top: 88%; } .life__n--4 { left: 12%; top: 50%; }
@media (prefers-reduced-motion: reduce) { .look__grid i, .look__lens, .life__ring, .life__heart { animation: none; } }

@media (max-width: 1080px) {
  .money { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .eq { flex-direction: column; }
  .eq__tile { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 16px; }
  .eq__op { align-self: center; font-size: 26px; line-height: 1; margin: -2px 0; }
  .duo { grid-template-columns: 1fr; }
  .money__bar b { font-size: 15px; }
}

/* =========================================================
   MINIMAL MOTION PLAYER — one changing title, one slider
   ========================================================= */
.motion { display: block; max-width: 980px; }
.motion__cap { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; min-height: 64px; }
.motion__cap .motion__n { flex: none; font-family: var(--f-mono); font-size: 13px; font-weight: 700; padding: 5px 8px; border-radius: 4px; background: var(--heart); color: var(--navy); margin-top: 4px; }
.motion__cap b { display: block; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.04em; line-height: 1.1; }
.motion__cap span:not(.motion__n) { display: block; margin-top: 4px; font-size: 16px; opacity: .78; }
.motion__cap.swap > div { animation: capIn .45s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(8px); } }
.motion__bar { margin-top: 18px; gap: 0; }
.motion__track { min-width: 0; padding: 0; }
.motion__track input[type="range"] { height: 10px; border-radius: 5px; cursor: grab; }
.motion__track input[type="range"]:active { cursor: grabbing; }
.motion__track input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }
.motion__track input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
.motion__ticks i { top: -10px; height: 20px; }
@media (max-width: 680px) { .motion__stage { aspect-ratio: 4 / 5; } .motion__cap { min-height: 76px; } }

/* =========================================================
   WHY IT PAYS — motion scene
   ========================================================= */
.pays { background-color: var(--navy); }
.py { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.py__card { width: 46%; aspect-ratio: 4 / 3.4; border-radius: 14px; padding: 6%; background: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.py__prod { width: 52%; aspect-ratio: 1; transition: background-color .45s var(--ease), border-radius .45s var(--ease); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.py__sw { display: flex; gap: 6%; width: 80%; justify-content: center; }
.py__sw i { width: 16%; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(43,42,32,.2); transition: transform .3s var(--ease), box-shadow .3s; }
.py__sw i.on { transform: scale(1.2); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--navy); }
.py__cursor { position: absolute; bottom: 30%; width: 4cqw; height: 4cqw; min-width: 18px; min-height: 18px; border-radius: 50%; border: 4px solid var(--pink); box-shadow: 0 0 0 6px rgba(180,101,74,.3); transition: left .35s var(--ease); }
.py--2 svg { width: 90%; height: 90%; overflow: visible; }
.py__path { fill: none; stroke: var(--heart); stroke-width: 10; stroke-linecap: round; }
.py__end { fill: var(--paper); }
.py__end--goal { fill: var(--pink); }
.py__dot { fill: var(--paper); stroke: var(--navy); stroke-width: 6; }
.py__bars { display: flex; align-items: flex-end; gap: 4%; width: 62%; height: 64%; border-bottom: 4px solid var(--paper); padding: 0 4%; }
.py__bars i { flex: 1; height: 0; border-radius: 6px 6px 0 0; background: var(--heart); box-shadow: 5px 0 0 var(--cobalt); }
.py__bars i:nth-child(odd) { background: var(--pink); }
.py__arrow { position: absolute; right: 16%; top: 14%; font-size: 12cqw; font-weight: 700; color: var(--heart); opacity: 0; }
.py__coins { position: relative; width: 50%; height: 62%; }
.py__coins i { position: absolute; left: var(--x); bottom: calc(var(--y) * 22%); width: 20%; aspect-ratio: 1 / .42; border-radius: 50%; background: var(--heart); box-shadow: inset 0 -5px 0 rgba(43,42,32,.25), 0 4px 0 var(--navy); opacity: 0; }
.py__badge { position: absolute; right: 18%; top: 12%; width: 13cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 7cqw; font-weight: 700; background: var(--pink); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); opacity: 0; }
@media (max-width: 680px) {
  .py__card { width: 76%; }
  .py__bars { width: 80%; height: 56%; }
  .py__coins { width: 80%; height: 50%; }
  .py__badge { width: 22cqw; font-size: 12cqw; top: 8%; right: 8%; }
  .py__arrow { font-size: 22cqw; }
}

/* =========================================================
   COMPACT DEMO — preview with one slim control row
   ========================================================= */
.demo-room { padding-top: clamp(56px, 7vw, 96px); }
.lab { display: block; max-width: 760px; margin: 0 auto; padding: 8px; }
.lab__canvas { position: relative; }
.lab__panel { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 8px; padding: 8px 0 0; background: none; box-shadow: none; border-radius: 0; }
.lab__opts { flex: 1 1 200px; }
.lab__opts summary { padding: 14px 16px; font-size: 16px; }
.lab__opts:not([open]) { display: flex; }
.lab__opts:not([open]) summary { flex: 1; }
.lab__opts[open] { flex-basis: 100%; order: 2; }
.lab .quote { flex: 1 1 320px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; padding: 10px 10px 10px 16px; }
.lab .quote__label { width: 100%; margin: 0; font-size: 10.5px; }
.lab .quote__price { margin: 0; font-size: clamp(18px, 2vw, 22px); flex: 1; white-space: nowrap; }
.lab .quote__fine { margin: 0; flex: 1; font-size: 12px; }
.lab .quote .btn { width: auto; flex: none; padding: 12px 16px; font-size: 14px; }
.lab .quote__price:empty { display: none; }
.lab__note { margin-top: 10px; }
.lab__canvas .ui { padding: clamp(14px, 2.4vw, 26px); }

/* 3D view */
.lab__3d { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 8px 12px; border-radius: 8px;
  font-family: var(--f-mono); font-weight: 700; font-size: 13px; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.lab__3d .ico { width: 18px; height: 18px; }
.lab__3d[aria-pressed="true"] { background: var(--paper); }
.lab__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; touch-action: none; cursor: grab;
  background: radial-gradient(circle at 50% 35%, #2B4BF0, var(--cobalt-deep) 70%); }
.lab__gl:active { cursor: grabbing; }
.is-3d .lab__canvas::after { content: "Drag to turn it · pinch to zoom"; position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 4; pointer-events: none;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 6px; background: rgba(30,29,21,.75); color: var(--heart); white-space: nowrap; }
.lab__canvas.is-loading::before { content: "Loading 3D…"; position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; color: var(--heart); background: rgba(30,29,21,.6); }
.is-3d .lab__badge { z-index: 4; }

@media (max-width: 680px) {
  .lab .quote { flex-basis: 100%; }
  .lab .quote .btn { flex: 1 1 100%; }
}

/* =========================================================
   CAROUSELS — free-moving, draggable loop
   ========================================================= */
.carousel__track { scroll-snap-type: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.carousel.is-dragging .carousel__track { cursor: grabbing; }
.carousel__track img, .carousel__track svg { pointer-events: none; }
.carousel__nav { display: none; }

/* =========================================================
   CONTACT US — floating button (opens WhatsApp)
   ========================================================= */
.wa { background: var(--heart); color: var(--navy); padding: 10px 18px 10px 12px; border-radius: 12px; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); font-size: 15px; }
.wa svg { width: 28px; height: 28px; color: var(--navy); }
.wa:hover { box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
@media (max-width: 680px) {
  .wa { padding: 10px 14px 10px 10px; }
  .wa span { display: inline; font-size: 14px; }
  .wa svg { width: 24px; height: 24px; }
}

/* =========================================================
   DEMO THAT FITS ON ONE SCREEN
   preview + one row of tabs + one row of choices + price row
   ========================================================= */
.demo-room { padding: clamp(40px, 5vw, 64px) 0; }
.demo-kicker { display: flex; justify-content: center; margin: 0 0 14px; }
.lab__canvas { aspect-ratio: auto; height: clamp(190px, min(calc(100svh - 330px), calc((100vw - 2 * var(--gutter) - 16px) * .62)), 470px); }
.lab__canvas:has(.ui) { height: auto; min-height: 0; }
.lab__canvas:has(.ui) .ui { position: relative; inset: auto; }
.lab__panel { flex-direction: column; flex-wrap: nowrap; }

.lab__opts { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 10px; background: rgba(246,240,226,.06); box-shadow: inset 0 0 0 1px rgba(246,240,226,.1); }
.lab__tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.lab__tabs::-webkit-scrollbar { display: none; }
.lab__tabs button { flex: none; border: 0; padding: 7px 11px; border-radius: 6px; background: none; color: var(--paper-dim); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.lab__tabs button:hover { color: var(--paper); }
.lab__tabs button[aria-selected="true"] { background: var(--heart); color: var(--navy); }

.lab__opts > fieldset.opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; }
.lab__opts > fieldset.opt > legend { display: none; }
.lab__opts .seg { display: flex; flex: 1; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.lab__opts .seg::-webkit-scrollbar { display: none; }
.lab__opts .seg button { flex: 1 0 auto; padding: 8px 12px; white-space: nowrap; font-size: 13.5px; }
.lab__opts .swatches { flex-wrap: nowrap; gap: 8px; }
.lab__opts .swatches button { width: 30px; height: 30px; flex: none; }
.lab__opts .toggles { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lab__opts .toggles button { flex: none; padding: 8px 12px; font-size: 13.5px; }
.lab__opts input[type="range"] { flex: 1; min-width: 0; }
.opt__out { flex: none; font-family: var(--f-mono); font-size: 13px; font-weight: 700; color: var(--heart); min-width: 64px; text-align: right; }

/* Bridal "Describe" tab: a two-line chat */
.lab__opts .opt--chat { align-items: stretch; }
.lab__opts .chat { width: 100%; gap: 6px; }
.lab__opts .chat__log { max-height: 66px; }
.lab__opts .msg { padding: 7px 11px; font-size: 13.5px; }
.lab__opts .chat__ideas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lab__opts .chat__ideas button { flex: none; white-space: nowrap; font-size: 12.5px; padding: 6px 10px; }
.lab__opts .chat__form { padding: 4px 4px 4px 14px; }

/* Restaurant dishes in one row */
.lab__opts .mrows { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; width: 100%; }
.lab__opts .mrow { flex: none; display: flex; align-items: center; gap: 6px; padding: 3px; border-radius: 8px; background: rgba(246,240,226,.05); }
.lab__opts .mrow__main { padding: 6px 8px; }
.lab__opts .mrow__main b { font-size: 14px; white-space: nowrap; }
.lab__opts .mrow__main small, .lab__opts .mrow > span { display: none; }
.lab__opts .mrow__add { min-width: 0; padding: 7px 11px; font-size: 12.5px; }

/* Price row: one line */
.lab .quote { flex-wrap: nowrap; padding: 8px 8px 8px 14px; }
.lab .quote__label { display: none; }
.lab .quote__fine { font-size: 11.5px; line-height: 1.3; }
.lab .quote__price { font-size: clamp(17px, 2vw, 21px); }
.lab__note { font-size: 12px; margin-top: 8px; }

@media (max-width: 680px) {
  .lab .quote { flex-basis: auto; }
  .lab .quote .btn { flex: none; padding: 11px 12px; font-size: 13px; }
  .lab .quote__fine { display: none; }
  .lab__opts .seg button { padding: 8px 10px; }
}
.lab__panel > * { flex: none; }
.lab__panel .lab__opts, .lab__panel .quote { flex: none; }
@media (max-width: 680px) { .lab__canvas .ui .bars, .lab__canvas .ui .ui__advice { display: none; } .lab__canvas .ui { gap: 8px; } .lab__canvas .ui__tile { padding: 12px 16px; } .lab__canvas .big-num { font-size: 34px; } }
@media (max-width: 680px) { .lab__canvas .ui { padding-top: 48px; } }

/* Animations fit on one screen: caption + stage + slider */
.motion__stage { aspect-ratio: auto; height: clamp(220px, min(calc(100svh - 210px), calc(min(980px, 100vw - 2 * var(--gutter)) * .625)), 620px); }
.motion__cap { margin-bottom: 12px; min-height: 0; }
.motion__bar { margin-top: 14px; }
.motion + *, .section-head + .motion { margin-top: 0; }
@media (max-width: 680px) { .motion__stage { aspect-ratio: auto; height: clamp(260px, min(calc(100svh - 230px), calc((100vw - 2 * var(--gutter)) * 1.2)), 560px); } .motion__cap b { font-size: 22px; } .motion__cap span:not(.motion__n) { font-size: 14px; } }

/* ---------------------------------------------------------------- answer-first blocks, FAQ, still previews (search + AI answers read these) */
.answer__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.answer__q { margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.045em; }
.answer__a { margin: 0; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; }
.spec { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec div { padding: 16px 18px; border-radius: var(--r-md); background: rgba(43,42,32,.06); box-shadow: inset 0 0 0 1.5px rgba(43,42,32,.1); }
.room-navy .spec div, .room-deep .spec div, .room-cobalt .spec div { background: rgba(246,240,226,.06); box-shadow: inset 0 0 0 1px rgba(246,240,226,.12); }
.spec dt { font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.spec dd { margin: 0; font-size: 15.5px; line-height: 1.45; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__grid .section-head { margin-bottom: 0; }
.faq__date { margin: 18px 0 0; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.faq__list { display: grid; gap: 10px; }
.faq__item { border-radius: var(--r-md); background: rgba(246,240,226,.06); box-shadow: inset 0 0 0 1px rgba(246,240,226,.12); }
.faq__item[open] { background: var(--paper); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--heart); color: var(--navy); font-weight: 700; font-size: 20px; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 3px solid var(--heart); outline-offset: 2px; border-radius: var(--r-md); }
.faq__item h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.faq__item p { margin: 0; padding: 0 20px 20px; font-size: 16px; line-height: 1.55; max-width: 62ch; }
.crumbs span[aria-current] { opacity: 1; }
.lab--still .lab__scene { position: absolute; inset: 0; aspect-ratio: auto; }
.lab--still .lab__canvas { aspect-ratio: 4 / 3; }
.lab__badge--still::before { background: var(--pink); box-shadow: none; }
.lab__label { margin: 0 0 6px; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--heart); }
.lab__choose { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.lab__choose--s { font-size: 15px; font-weight: 500; opacity: .85; }
.lab--still .quote .btn { text-decoration: none; }
@media (max-width: 860px) {
  .answer__grid, .faq__grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
}
.reel__seg { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 100%; height: 100%; cursor: pointer; color: inherit; }
.reel__seg:focus-visible { outline: 3px solid var(--heart); outline-offset: 2px; border-radius: 6px; }

/* ---------------------------------------------------------------- /work, /how-it-works, /about, and the one-line nudges */
.nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin: clamp(32px, 4vw, 48px) 0 0; }
.nudge__link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.nudge__link:hover { color: var(--accent); }
/* demos.js fills the mount; until it does (or without JS) the labelled illustration shows instead */
.lab[data-demo]:not(:empty) ~ .lab--still, .lab[data-demo]:not(:empty) ~ .lab__note--still { display: none; }
.lab[data-demo]:empty { display: none; }
.work { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.work__item { display: grid; grid-template-columns: 200px 1fr; gap: 18px; padding: 14px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.work__vis { display: block; border-radius: var(--r-md); align-self: start; background: var(--cobalt-deep); }
.work__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.work__kind { margin: 0; font-family: var(--f-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.work__body h3 { margin: 0; font-size: 22px; letter-spacing: -.035em; line-height: 1.15; }
.work__body h3 a { text-decoration: none; }
.work__lede { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink-dim); }
.work__meta { margin: 2px 0 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; }
.work__meta dt { display: inline; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; }
.work__meta dd { display: inline; margin: 0; }
.work__go { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 15px; text-decoration: none; padding: 9px 14px; border-radius: 6px; background: var(--heart); color: var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.work__go:hover { transform: translate(-2px, -2px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.ptable { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px rgba(246,240,226,.14); }
.ptable table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid rgba(246,240,226,.12); }
.ptable thead th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--heart); }
.ptable tbody th { font-weight: 700; width: 26%; }
.ptable tbody th small { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; opacity: .75; }
.ptable tbody td:nth-child(2) { font-weight: 600; width: 28%; }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.spec--3 { grid-template-columns: repeat(3, 1fr); }
.spec dt a { color: inherit; }
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.rules li { padding: 18px; border-radius: var(--r-md); background: var(--paper); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); display: flex; flex-direction: column; gap: 6px; }
.rules b { font-size: 18px; letter-spacing: -.02em; }
.rules span { font-size: 15px; line-height: 1.45; color: var(--ink-dim); }
@media (max-width: 960px) {
  .work { grid-template-columns: 1fr; }
  .spec--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .work__item { grid-template-columns: 1fr; }
  .spec--3 { grid-template-columns: 1fr; }
  .ptable table, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; width: auto !important; }
  .ptable thead { display: none; }
  .ptable tbody tr { padding: 6px 0; border-bottom: 1px solid rgba(246,240,226,.12); }
  .ptable th, .ptable td { border: 0; padding: 6px 16px; }
}
/* ---------- Demo share + PDF (added by demos.js) ---------- */
.lab__tools { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; gap: 6px; }
.lab__tools button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 7px 11px; border: 0; border-radius: 8px; background: rgba(30,29,21,.72); color: var(--paper);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1; cursor: pointer; transition: background-color .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
.lab__tools button:hover { background: var(--navy); }
.lab__tools button:active { transform: scale(.94); transition-duration: .06s; }
.lab__tools svg { width: 16px; height: 16px; }
.is-3d .lab__tools { display: none; }
.lab__link { word-break: break-all; font-size: 12px !important; user-select: all; }
.lab-print { display: none; }
@media print {
  @page { margin: 14mm; }
  body.is-printing { background: var(--paper) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body.is-printing > :not(.lab-print) { display: none !important; }
  body.is-printing .lab-print { display: block; max-width: 640px; margin: 0 auto; color: var(--navy); font-size: 13px; }
  .lab-print header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 3px solid var(--navy); }
  .lab-print header span { font-size: 11px; opacity: .7; }
  .lab-print h1 { margin: 16px 0 10px; font-size: 28px; letter-spacing: -.04em; }
  .lab-print figure { margin: 0; }
  .lab-print figure svg { display: block; width: 100%; height: auto; border-radius: 8px; border: 1.5px solid var(--navy); }
  .lab-print figcaption { margin-top: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
  .lab-print ul { margin: 14px 0 0; padding-left: 18px; }
  .lab-print__price { margin: 14px 0 0; }
  .lab-print__price b { font-size: 20px; margin-right: 8px; }
  .lab-print__fine { margin-top: 18px; font-size: 10px; opacity: .7; word-break: break-all; }
}
/* Lead toast → the real next step */
.lab__toast--cta { align-items: flex-start; padding-right: 40px; }
.lab__toast-cta { display: inline-block; margin-top: 8px; padding: 8px 12px; border-radius: 6px; background: var(--navy); color: var(--heart); font-size: 13.5px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.lab__toast-cta:hover { transform: translate(-1px, -1px); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); }
.lab__toast-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: rgba(43,42,32,.12); color: var(--navy); font-weight: 700; cursor: pointer; }
.lab__text { width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: var(--paper); color: var(--navy); font: inherit; font-weight: 700; font-size: 15px; }

/* A live 3D configurator on its own page: its real first picture, and two ways forward */
.cfg-card { max-width: 980px; margin: 0 auto; }
.cfg-card__pic { display: block; overflow: hidden; border-radius: 16px; border: 3px solid var(--navy); box-shadow: 0 2px 3px rgba(60,50,30,.10), 0 18px 34px -16px rgba(60,50,30,.30); background: #E3DED5; }
.cfg-card__pic img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 1150; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.cfg-card__pic:hover img { transform: scale(1.02); }
.btn--contact { background: var(--navy); color: var(--paper); }
.cfg-card__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* =========================================================
   Limewash: the look of the site (see DESIGN.md). Daylight on plaster, sage and brass,
   so the site and the configurator renders read as one hand. This layer sits last on purpose.
   ========================================================= */
:root {
  --plaster: #EBE2D1; --plaster-lit: #F8F2E5; --plaster-cool: #DCDBCF;
  --sage: #5B6750; --sage-dark: #46513D; --sage-ink: #3A4433;
  --brass: #B4965A; --cream: #F6F0E2; --ink-soft: #5A594A;
  --ink: #2B2A20; --ink-dim: rgba(43,42,32,.74); --paper-dim: rgba(246,240,226,.82);
  --contact: 0 1px 1px rgba(60,50,30,.10), 0 4px 10px -2px rgba(60,50,30,.13), 0 18px 40px -12px rgba(60,50,30,.22);
  --object: 0 2px 3px rgba(60,50,30,.10), 0 18px 30px -12px rgba(60,50,30,.20), 0 50px 90px -30px rgba(60,50,30,.34);
  --ease: cubic-bezier(.22,.8,.2,1);
  --maxw: 1440px;
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 28px;
}
html { background: var(--plaster); }
body { background: var(--plaster); color: var(--ink); font-size: 18px; line-height: 1.45; letter-spacing: -.011em; overflow-x: clip; font-synthesis: none; }
body::after { display: none; }
/* Window light across the wall, under everything */
body::before { content: ""; position: fixed; inset: -10% -10% auto -30%; height: 130lvh; z-index: -1; pointer-events: none; transform: skewX(-17deg);
  background: linear-gradient(90deg, transparent 8%, rgba(255,251,240,.9) 12%, rgba(255,251,240,.9) 33%, transparent 35%, transparent 36%, rgba(255,251,240,.9) 38%, rgba(255,251,240,.9) 59%, transparent 63%); }
::selection { background: var(--sage); color: var(--cream); }
:focus-visible { outline-color: var(--sage-dark); }

/* Type */
h1, h2, h3 { font-weight: 500; font-stretch: 96%; letter-spacing: -.045em; text-wrap: balance; }
.h1, .h2 { line-height: .98; }
.h1 { font-size: clamp(46px, 7.4vw, 112px); }
.h2 { font-size: clamp(38px, 5.6vw, 84px); }
em, .h1 em, .h2 em { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; background: none !important; padding: 0 !important; box-shadow: none !important; color: var(--accent, var(--sage)) !important; }
.lede { opacity: 1; color: inherit; letter-spacing: -.018em; text-wrap: pretty; }
.kicker { font-size: 16px; font-weight: 500; letter-spacing: -.01em; text-transform: none; opacity: .72; margin-bottom: 12px; }
.kicker::before { display: none; }
section { padding: clamp(72px, 9vw, 132px) 0; }

/* Rooms: daylight plaster first, with sage as the only dark colour */
.room-paper { background: var(--plaster-lit); color: var(--ink); --accent: var(--sage); }
.room-ice   { background: var(--plaster); color: var(--ink); --accent: var(--sage); }
.room-sky   { background: var(--plaster-cool); color: var(--ink); --accent: var(--sage); }
.room-lime  { background: #E2D2AC; color: var(--ink); --accent: #6F5526; }
.room-pink  { background: #E0C2AB; color: var(--ink); --accent: #6E3B26; }
.room-cobalt{ background: var(--sage); color: var(--cream); --accent: #E6D3A6; }
.room-deep  { background: var(--sage-dark); color: var(--cream); --accent: #E6D3A6; }
.room-navy  { background: var(--sage-ink); color: var(--cream); --accent: #E6D3A6; }
.room-cobalt, .room-deep, .room-navy, .hero, .page-hero.room-cobalt { background-image: none; background-size: auto; }
.page-hero::before { display: none; }

/* Buttons: sage on plaster, cream on sage */
.btn { --bg: var(--sage); --fg: var(--cream); min-height: 50px; padding: 0 24px; border-radius: 25px; font-weight: 550; letter-spacing: -.015em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 1px rgba(50,50,30,.2), 0 8px 18px -8px rgba(50,60,35,.5); }
.btn:hover { --bg: var(--sage-dark); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 1px rgba(50,50,30,.2), 0 10px 20px -8px rgba(50,60,35,.55); }
.btn--heart:hover { --bg: var(--sage-dark); }
.btn--indigo { --bg: var(--sage); --fg: var(--cream); }
.btn--paper { --bg: var(--cream); --fg: var(--ink); }
.btn--small { min-height: 44px; padding: 0 20px; }
.room-cobalt .btn, .room-deep .btn, .room-navy .btn, .foot .btn { --bg: var(--cream); --fg: var(--ink); }
.room-cobalt .btn:hover, .room-deep .btn:hover, .room-navy .btn:hover { --bg: #fffaf0; }
.btn--ghost, .room-cobalt .btn--ghost, .room-deep .btn--ghost, .room-navy .btn--ghost, .page-hero.room-lime .btn--ghost { background: rgba(91,103,80,.13); color: inherit; box-shadow: inset 0 0 0 .5px rgba(70,81,61,.28); opacity: 1; }
.room-cobalt .btn--ghost, .room-deep .btn--ghost, .room-navy .btn--ghost { background: rgba(246,240,226,.14); box-shadow: inset 0 0 0 .5px rgba(246,240,226,.4); }
.page-hero.room-lime .btn { --bg: var(--sage); --fg: var(--cream); }

/* The header: separate glass islands with the page showing between them */
.nav { top: max(12px, env(safe-area-inset-top)); padding: 0 clamp(12px, 1.6vw, 24px); }
.nav__inner, .nav.open .nav__inner { max-width: none; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px; padding: 0; background: none; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; position: relative; color: var(--ink); }
.brand, .nav__links, .nav__inner > .btn, .nav__toggle { pointer-events: auto; }
.nav__inner > .brand, .nav__links, .nav__toggle {
  height: 54px; border-radius: 27px; color: var(--ink);
  background: linear-gradient(168deg, rgba(255,252,245,.66), rgba(252,247,236,.46));
  -webkit-backdrop-filter: blur(22px) saturate(125%) brightness(1.05); backdrop-filter: blur(22px) saturate(125%) brightness(1.05);
  box-shadow: inset 1.25px 1.25px .5px rgba(255,255,255,.95), inset -1px -1px .5px rgba(255,255,255,.42), inset 0 0 7px rgba(255,255,255,.34), var(--contact);
}
.nav__inner > .brand { padding: 0 20px 0 15px; align-items: center; color: var(--sage); }
.brand__word { color: var(--ink); font-weight: 600; font-size: 17.5px; letter-spacing: -.03em; }
.nav__links { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; padding: 0 6px; display: flex; align-items: center; }
.nav__links a { height: 42px; display: flex; align-items: center; padding: 0 16px; border-radius: 21px; color: var(--ink); font-size: 15.5px; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(91,103,80,.16); }
.nav__inner > .btn { height: 54px; min-height: 54px; border-radius: 27px; padding: 0 22px; margin-left: 0; }
.foot .brand { color: var(--cream); }
.foot .brand__word { color: var(--cream); }
@media (max-width: 980px) {
  .nav__inner > .btn { display: none; }
  .nav__toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 64px; border: 0; padding: 0; }
  .nav__toggle span { display: block; width: 18px; height: 1.6px; margin: 0; border-radius: 1px; background: var(--ink); transition: transform .4s var(--ease); }
  .nav.open .nav__toggle span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .nav.open .nav__toggle span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .nav__links, .nav.open .nav__links { position: absolute; top: 62px; left: 0; right: 0; transform: none; height: auto; display: none; flex-direction: column; align-items: stretch; width: auto; margin: 0; padding: 14px 18px 18px; border-radius: 30px; order: 0;
    background: linear-gradient(168deg, rgba(255,252,245,.9), rgba(252,247,236,.84)); }
  .nav.open .nav__links { display: flex; }
  .nav__links a, .nav__links .nav__menu-only { display: flex; height: auto; min-height: 56px; padding: 0 2px; font-size: 30px; font-weight: 500; letter-spacing: -.04em; }
  .nav__links a:hover { background: none; }
}

/* Home hero: enormous and quiet, then the renders on their own stage */
.hero { background: none; padding: clamp(96px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.hero .wrap.hero__grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2.25fr); gap: clamp(22px, 3vw, 40px) clamp(24px, 4vw, 56px); align-items: end; }
.hero__copy { display: contents; }
.hero__title { grid-column: 1 / -1; font-size: clamp(50px, 9.6vw, 164px); line-height: .94; letter-spacing: -.055em; font-weight: 500; color: var(--ink); }
.hero__accent { display: inline; font-family: inherit; font-style: normal; font-weight: inherit; font-size: 1em; line-height: inherit; letter-spacing: inherit; color: var(--sage); }
.hero__lede { grid-column: 1; grid-row: 2; align-self: end; margin: 0 0 12px; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.32; letter-spacing: -.018em; color: var(--ink-soft); padding-bottom: 76px; }
.hero__ctas { grid-column: 1; grid-row: 2; align-self: end; margin-bottom: 76px; transform: translateY(0); }
.reel { grid-column: 2; grid-row: 2; }
.reel__stage { aspect-ratio: 16 / 10; border-radius: 28px; background: var(--plaster-cool); box-shadow: var(--object); }
.reel__stage:hover { transform: none; box-shadow: var(--object); }
.reel__scene picture, .reel__scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__cap { left: 14px; bottom: 14px; flex-direction: row; align-items: baseline; gap: 10px; padding: 11px 18px 12px; border-radius: 20px;
  background: linear-gradient(168deg, rgba(255,252,245,.74), rgba(252,247,236,.58));
  -webkit-backdrop-filter: blur(22px) saturate(118%); backdrop-filter: blur(22px) saturate(118%);
  box-shadow: inset 1.25px 1.25px .5px rgba(255,255,255,.95), var(--contact); color: var(--ink); }
.reel__cap small { padding: 0; background: none; color: var(--ink); font: 600 clamp(17px, 1.5vw, 21px)/1.1 var(--f-sans); letter-spacing: -.03em; text-transform: none; }
.reel__cap b { padding: 0; background: none; color: var(--ink-soft); font-size: 15px; font-weight: 400; letter-spacing: -.012em; box-shadow: none; }
.reel__open { top: 14px; right: 14px; padding: 9px 16px; border-radius: 19px; background: var(--sage); color: var(--cream); font: 550 14.5px/1.2 var(--f-sans); letter-spacing: -.012em; }
.reel__segs { gap: 4px; }
.reel__segs li { height: 44px; border-radius: 22px; background: rgba(91,103,80,.11); color: var(--ink); }
.reel__segs li:hover { background: rgba(91,103,80,.2); }
.reel__segs li.on { background: var(--sage); color: var(--cream); }
.reel__segs li > i { display: none; }
@media (max-width: 860px) {
  .hero .wrap.hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__title { font-size: clamp(50px, 15.4vw, 112px); }
  .hero__lede, .hero__ctas, .reel { grid-column: 1; grid-row: auto; }
  .hero__lede, .hero__ctas { padding-bottom: 0; margin-bottom: 0; }
  .reel__stage { aspect-ratio: 4 / 5; border-radius: 24px; }
  .reel__segs { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .reel__segs li { flex: 0 0 52px; }
}

/* Surfaces: objects on a wall, with no hard edges */
.friction { background: var(--sage-dark); border-radius: 28px; box-shadow: var(--object); }
.icard { border-radius: 26px; background: var(--plaster-lit); color: var(--ink); box-shadow: var(--contact); --cbg: var(--plaster-lit); --cfg: var(--ink); }
.icard:hover { transform: translateY(-3px); box-shadow: var(--object); }
.icard__vis { background: var(--plaster-cool); overflow: hidden; }
.icard__vis picture, .icard__vis img { display: block; width: 100%; height: 100%; object-fit: cover; }
.icard__kind { background: var(--plaster-lit); color: var(--ink); font-size: 13px; font-weight: 550; letter-spacing: -.01em; text-transform: none; border-radius: 13px; padding: 5px 11px; }
.work__vis { border-radius: 24px; overflow: hidden; display: block; box-shadow: var(--object); aspect-ratio: 5 / 4; }
.price, .pslide, .feature, .brief, .faq__item { border-radius: 26px; }
.brief { background: var(--plaster-lit); color: var(--ink); box-shadow: var(--object); }
.foot { background: var(--sage-ink); color: var(--cream); }
.foot__giant { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: rgba(246,240,226,.12); -webkit-text-fill-color: currentColor; font-weight: 500; font-stretch: 96%; }
@media (max-width: 640px) { body { font-size: 17px; } }
.hero::before, .hero::after { display: none; }
.hero__title { grid-row: 1; }
.hero__accent { background: none !important; padding: 0 !important; box-shadow: none !important; }
/* Hero fold: copy beside the render, both visible straight away */
@media (min-width: 861px) {
  .hero .wrap.hero__grid { grid-template-rows: auto auto 1fr; gap: clamp(18px, 2vw, 28px) clamp(24px, 4vw, 56px); }
  .hero__title { font-size: min(8.8vw, 19svh); }
  .hero__lede { grid-row: 2; align-self: start; margin: 0; padding: 0; }
  .hero__ctas { grid-row: 3; align-self: start; margin: 0; }
  .reel { grid-row: 2 / 4; }
  .reel__stage { aspect-ratio: auto; height: min(calc(100svh - 360px), 62vw); min-height: 340px; }
}
.room-lime em, .room-pink em, .contact em, .contact .h2 em, .tile--lime em { background: none !important; color: var(--accent, var(--sage)) !important; }
.contact::before { display: none; }
.pslide { box-shadow: var(--contact); }
.pslide:nth-child(1) { background: var(--sage); color: var(--cream); }
.pslide:nth-child(2) { background: #E2D2AC; color: var(--ink); }
.pslide:nth-child(3) { background: var(--plaster-cool); color: var(--ink); }
.pslide:nth-child(4) { background: var(--sage-ink); color: var(--cream); }
.pslide__n { font-weight: 500; font-stretch: 96%; }
/* The old mono labels become plain small text */
.spec dt, .price__name, .price__tag, .cmp__lane header, .fr-label, .hw__price small, .pslide__tag, .quote__label, .lab__label, .work__kind, .motion__hint { text-transform: none; letter-spacing: -.01em; font-weight: 550; }
.fr-label { font-size: 24px; letter-spacing: -.5px; }

/* Every page opens in daylight, whatever colour room its hero was set to */
.page-hero, .page-hero.room-cobalt, .page-hero.room-navy, .page-hero.room-deep, .page-hero.room-lime, .page-hero.room-pink, .page-hero.room-sky, .page-hero.room-ice, .page-hero.room-paper { background: none; color: var(--ink); --accent: var(--sage); }
.page-hero .btn { --bg: var(--sage); --fg: var(--cream); }
.page-hero .btn:hover { --bg: var(--sage-dark); }
.page-hero .btn--ghost { background: rgba(91,103,80,.13); color: var(--ink); box-shadow: inset 0 0 0 .5px rgba(70,81,61,.28); }
.page-hero .btn--contact { --bg: var(--cream); --fg: var(--ink); }
/* The call to action stays readable as it passes over sage rooms */
.nav__inner > .btn { box-shadow: inset 0 0 0 1px rgba(246,240,226,.34), inset 0 1px 0 rgba(255,255,255,.2), var(--contact); }
@media (max-width: 980px) { .nav.open .nav__links .nav__menu-only { color: var(--sage); } }

/* Motion (luxe.js): only the fade remains of the old reveal, and headings rise on their own */
.reveal { transform: none; transition: opacity 1.4s var(--ease); }
.lx body::before { display: none; }
.lx-sun { position: fixed; top: -12%; left: -42%; width: 92vw; height: 130lvh; z-index: -1; pointer-events: none; will-change: transform;
  background: linear-gradient(90deg, transparent 0, rgba(255,251,240,.9) 5%, rgba(255,251,240,.9) 47%, transparent 49%, transparent 51%, rgba(255,251,240,.9) 53%, rgba(255,251,240,.9) 95%, transparent 100%);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); }
.lx-clip { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .05em .2em; margin: -.08em -.05em -.2em; }
.lx-word { display: inline-block; will-change: transform; }
.lx-done .lx-word { will-change: auto; }
.lx-panel { border-radius: clamp(28px, 4vw, 56px); transform-origin: 50% 0; will-change: transform; }
.lx-drift { scale: 1.08; }
.wa { box-shadow: var(--contact); border-radius: 26px; }

/* First-screen facts, form error, sample note and phone tap sizes */
.hero__facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; }
.hero__facts li, .hero__facts a { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.hero__facts a { min-height: 44px; align-items: center; color: inherit; text-decoration: none; }
.hero__facts b { font-weight: 650; }
.hero__facts span { color: var(--ink-dim); font-size: 14px; }
.brief__err { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #B3261E; }
.brief__fine a { color: inherit; }
.apps__note { grid-column: 1 / -1; margin: 12px 0 0; font-size: 13px; opacity: .72; text-align: center; }
.wa { transition: opacity .25s ease, transform .25s ease; }
.wa--away { opacity: 0; pointer-events: none; }
@media (max-width: 760px) {
  .foot__cols a { display: flex; align-items: center; min-height: 44px; }
  .cur button { min-height: 44px; }
  /* Cards run to the screen edge instead of being cut at the page margin */
  .carousel__track { margin-inline: -16px; padding-inline: 16px; }
}
.sample-note { display: block; margin-top: 6px; font-size: 11px; opacity: .7; }

/* /work: the demos, grouped by trade */
.work-hero { padding: clamp(104px, 12vw, 148px) 0 clamp(20px, 3vw, 32px); }
.work-hero .h1 { margin: 0; }
.work-hero .lede { margin: 14px 0 0; max-width: 34em; }
.work-list { padding: 0 0 clamp(48px, 7vw, 88px); background: none; }
.trades-all { display: grid; gap: 12px; }
.trades { padding: 16px; border-radius: 26px; background: var(--plaster-lit); box-shadow: var(--contact); }
.trades h2 { margin: 0 0 12px; font-size: 18px; line-height: 1.2; letter-spacing: -.025em; }
.trades__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.trades__list--3 > li:first-child { grid-column: 1 / -1; }
.trades__list--3 > li:first-child .trade__vis { aspect-ratio: 2 / 1; }
.trade { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.trade__vis { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--plaster-cool); }
.trade__vis img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.trade h3 { margin: 9px 0 2px; font-size: 15px; line-height: 1.22; font-weight: 550; letter-spacing: -.015em; }
.trade__go { margin-top: auto; font-size: 14px; font-weight: 550; color: var(--accent, var(--sage)); }
.trade__go span { display: inline-block; transition: transform .35s var(--ease); }
.trade:hover .trade__vis img { transform: scale(1.035); }
.trade:hover .trade__go span { transform: translateX(3px); }
.trade:active .trade__vis { opacity: .82; }
.trade:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 14px; }
.other { margin-top: 12px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; border-radius: 26px; background: var(--plaster-lit); box-shadow: var(--contact); }
.other p { margin: 0; font-size: 16px; line-height: 1.4; }
.other__ctas { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.work-plain { padding: clamp(48px, 7vw, 88px) 0; }
.work-plain__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(14px, 5vw, 72px); align-items: start; }
.work-plain__fine { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-dim); }
@media (min-width: 720px) {
  .trades__list { grid-template-columns: repeat(4, 1fr); }
  .trades__list--3 { grid-template-columns: repeat(3, 1fr); }
  .trades__list--3 > li:first-child { grid-column: auto; }
  .trades__list--3 > li:first-child .trade__vis { aspect-ratio: 4 / 3; }
  .other { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 22px; }
}
@media (min-width: 1000px) {
  .trades { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 20px; }
  .trades h2 { margin: 2px 0 0; font-size: 21px; }
  .trades__list--3 .trade__vis, .trades__list--3 > li:first-child .trade__vis { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .work-plain__grid { grid-template-columns: 1fr; }
}
