/* Possessions. One page that moves through the game's palette: sky, lilac, a dark cinema for the trailer, rose for the rooms, a quiet mist grey for the stores, cream to close. */
:root {
  --ink: #1E1B2E;
  --ink-2: rgba(30, 27, 46, 0.7);
  --ink-3: rgba(30, 27, 46, 0.5);
  --hair: rgba(30, 27, 46, 0.1);
  --sky-calm-1: #F1F0F6; --sky-calm-2: #D3D1DE; --sky-calm-3: #BEBCCB;
  --sky-1: #C2F3FF; --sky-2: #3ACDF0; --sky-3: #0BAEDA;
  --pink: #FF85AF;
  --live: #23B26D; --wish: #E8A23A; --soon: #A7A3B5;
  --tone-bg: #D3D1DE; --tone-fg: var(--ink);
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Geist", "Avenir Next", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --spring: cubic-bezier(0.32, 0.72, 0, 1);
  --gutter: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-left, 0px));
  color-scheme: light;
}
body[data-tone="sky"]   { --tone-bg: #D3D1DE; --tone-fg: #1E1B2E; }
body[data-tone="lilac"] { --tone-bg: #ECE8FA; --tone-fg: #1E1B2E; }
body[data-tone="night"] { --tone-bg: #15132A; --tone-fg: #F4F1FB; }
body[data-tone="rose"]  { --tone-bg: #FBECF1; --tone-fg: #1E1B2E; }
body[data-tone="mist"]  { --tone-bg: #EFEEF3; --tone-fg: #1E1B2E; }
body[data-tone="cream"] { --tone-bg: #F7F3EC; --tone-fg: #1E1B2E; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--tone-bg); color: var(--tone-fg);
  font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  transition: background-color 1s var(--spring), color 1s var(--spring);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-variation-settings: "opsz" 96; text-wrap: balance; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none; font-weight: 500; font-size: 15px;
  border-radius: 999px; padding: 6px 6px 6px 20px; white-space: nowrap; transition: transform 0.5s var(--spring), background 0.5s var(--spring); }
.btn:active { transform: scale(0.97); }
.btn .ico { width: 34px; height: 34px; border-radius: 999px; display: inline-grid; place-items: center; flex: none; transition: transform 0.6s var(--spring); }
.btn:hover .ico { transform: translate(2px, -1px) scale(1.06); }
.btn .ico svg { width: 15px; height: 15px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark .ico { background: rgba(255, 255, 255, 0.14); }
.btn.glass { background: rgba(255, 255, 255, 0.5); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn.glass .ico { background: rgba(30, 27, 46, 0.07); }
.btn.sm { font-size: 14px; padding: 5px 5px 5px 16px; gap: 10px; }
.btn.sm .ico { width: 30px; height: 30px; }

/* ---------- nav island ---------- */
.nav { position: fixed; z-index: 30; left: 0; right: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); top: calc(env(safe-area-inset-top, 0px) + 18px);
  display: flex; align-items: center; gap: 22px; padding: 6px 6px 6px 22px; border-radius: 999px; white-space: nowrap; color: var(--ink);
  background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 14px 40px -24px rgba(30, 20, 70, 0.45); }
.nav .mark { display: block; max-width: 160px; overflow: hidden; transition: max-width 0.8s var(--spring), opacity 0.6s var(--spring), margin 0.8s var(--spring); }
.nav .mark img { height: 15px; width: auto; }
/* the hero already is the name, so the nav only shows it once you leave */
body.at-hero .nav .mark { max-width: 0; opacity: 0; margin-right: -22px; }
.nav .links { display: flex; gap: 22px; font-size: 14px; }
.nav .links a { text-decoration: none; color: var(--ink-2); transition: color 0.4s var(--spring); }
.nav .links a:hover { color: var(--ink); }

/* ---------- 1. hero ---------- */
.hero { container-type: inline-size; position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; color: var(--ink);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero.is-grabbing { cursor: grabbing; }
.hero .sky, .hero .sky-lit { position: absolute; inset: 0; z-index: 0; }
.hero .sky { background: radial-gradient(120% 90% at 50% 40%, #EEEDF1 0%, #CFCED6 70%, #BDBCC6 100%); }
.hero .sky-lit { background: radial-gradient(120% 90% at 50% 40%, #B8F0FF 0%, #39CDF0 60%, #0EB2DC 100%); opacity: var(--flood, 0); }
.hero canvas { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--spring); }
.hero.is-ready canvas { opacity: 1; }
.hero .copy { --u: min(1cqw, 12.24px); position: absolute; z-index: 4; left: calc(4 * var(--u)); bottom: calc(env(safe-area-inset-bottom, 0px) + 4.2 * var(--u)); max-width: calc(46 * var(--u)); display: grid; gap: calc(1.3 * var(--u)); cursor: default; }
.hero .copy > * { opacity: 0; translate: 0 14px; filter: blur(6px); transition: opacity 1s var(--spring), translate 1s var(--spring), filter 1s var(--spring); }
.hero.is-ready .copy > * { opacity: 1; translate: 0 0; filter: none; }
.hero.is-ready .copy > :nth-child(2) { transition-delay: 0.08s; }
.hero.is-ready .copy > :nth-child(3) { transition-delay: 0.16s; }
.hero.is-ready .copy > :nth-child(4) { transition-delay: 0.24s; }
.hero.is-ready .copy > :nth-child(5) { transition-delay: 0.32s; }
.eyebrow { justify-self: start; font-family: var(--mono); font-size: max(9px, calc(0.9 * var(--u))); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  padding: calc(0.45 * var(--u)) var(--u); border-radius: 999px; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.hero h1 { font-weight: 760; letter-spacing: -0.035em; line-height: 0.95; font-size: max(26px, calc(4.9 * var(--u))); }
/* the copy block is the concept's, measured in its frame: it scales with the hero up to the concept's widest frame (1224px), then holds that size */
/* the after-solve line takes no space until it shows, as in the concept */
.lead { font-size: max(12px, calc(1.3 * var(--u))); line-height: 1.45; color: rgba(30, 27, 46, 0.78); white-space: nowrap; }
.lead .s { display: none; }
.hero.is-solved .lead .u { display: none; }
.hero.is-solved .lead .s { display: inline; animation: rise-in 0.9s var(--spring) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .row { gap: calc(0.8 * var(--u)); }
.hero .row .btn { font-size: max(11px, calc(1.15 * var(--u))); padding: calc(0.55 * var(--u)) calc(0.55 * var(--u)) calc(0.55 * var(--u)) calc(1.6 * var(--u)); gap: calc(0.9 * var(--u)); }
.hero .row .btn .ico { width: 2.1em; height: 2.1em; }
.plats { font-family: var(--mono); font-size: max(9px, calc(0.85 * var(--u))); letter-spacing: 0.06em; color: rgba(30, 27, 46, 0.62); }
.side { position: absolute; z-index: 4; right: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(24px, 5vw, 64px));
  display: grid; justify-items: end; gap: 10px; cursor: default; opacity: 0; transition: opacity 1s 0.8s var(--spring); }
.hero.is-ready .side { opacity: 1; }
.chip { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75); transition: background 0.8s var(--spring); }
.chip i { width: 8px; height: 8px; border-radius: 99px; background: #9A96A8; transition: background 0.6s var(--spring), transform 0.6s var(--spring); }
.hero.is-solved .chip { background: rgba(255, 255, 255, 0.88); }
.hero.is-solved .chip i { background: var(--live); transform: scale(1.35); }
.links-sm { display: flex; gap: 14px; font-size: 13px; }
.links-sm button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(30, 27, 46, 0.25); text-underline-offset: 3px; }
.links-sm button:hover { color: var(--ink); }
.links-sm [data-action="scatter"], .hero.is-solved .links-sm [data-action="solve"] { display: none; }
.hero.is-solved .links-sm [data-action="scatter"] { display: inline; }

/* ---------- shared section bits ---------- */
section:not(.hero), .foot { padding-left: var(--gutter); padding-right: max(clamp(20px, 4.5vw, 64px), env(safe-area-inset-right, 0px)); }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin: 0 auto clamp(36px, 5vw, 64px); max-width: 1320px; }
.head h2 { font-weight: 740; letter-spacing: -0.04em; line-height: 0.95; font-size: clamp(40px, 6vw, 92px); }
.head p { font-size: 18px; opacity: 0.7; max-width: 40ch; }

/* ---------- 2. pitch ---------- */
.pitch { min-height: 120vh; display: grid; align-content: center; gap: clamp(28px, 4vw, 56px); padding-block: 20vh; max-width: 1400px; margin: 0 auto; }
.pitch-line { font-family: var(--display); font-variation-settings: "opsz" 96; font-weight: 740; letter-spacing: -0.04em; line-height: 1;
  font-size: clamp(40px, 7.2vw, 120px); text-wrap: balance; }
.pitch-line .w { display: inline-block; will-change: transform, opacity; }
.pitch-sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 54ch; opacity: 0.72; margin-left: auto; }

/* ---------- 3. trailer: self-hosted video lit by its own colours ---------- */
.trailer-sec { padding-block: clamp(80px, 12vw, 180px); min-height: 100svh; display: grid; align-content: center; }
/* After the ambient video on chiragchopra.com: a 64x36 canvas samples the playing frame,
   and CSS scales and blurs it behind the player so the glow is the footage's own colour. */
.ambient { position: relative; max-width: 1320px; width: 100%; margin: 0 auto; }
.ambient-glow { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; transform: scale(1.03) translateZ(0);
  filter: blur(70px) saturate(1.3); opacity: 0.45; pointer-events: none; border-radius: 28px; }
.ambient video[hidden], .ambient .ambient-thumb[hidden] { display: none; }
.ambient .ambient-thumb { position: relative; z-index: 1; display: block; }
.ambient .ambient-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; }
.ambient video { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; background: #0B0A14; }
.ambient-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 24px 8px 8px; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink); font-weight: 500; font-size: 16px;
  background: rgba(255, 255, 255, 0.66); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 20px 50px -24px rgba(0, 0, 0, 0.6); transition: transform 0.6s var(--spring), opacity 0.4s var(--spring); }
.ambient-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.ambient-play b { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ambient-play b svg { width: 18px; height: 18px; margin-left: 2px; }
.ambient.is-playing .ambient-play { opacity: 0; pointer-events: none; }

/* ---------- 4. rooms bento: rooms, two living loops, the icon, an award, the palette, memory vs now ---------- */
.rooms-sec { padding-block: clamp(80px, 12vw, 180px); }
.bento { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(52px, 5.6vw, 88px); gap: clamp(10px, 1.2vw, 16px); }
.tile { position: relative; margin: 0; border: 0; padding: 0; border-radius: 22px; overflow: hidden; background: #fff; color: var(--ink); font: inherit;
  box-shadow: 0 0 0 1px rgba(30, 27, 46, 0.05), 0 20px 50px -40px rgba(30, 20, 60, 0.5);
  transition: transform 0.7s var(--spring), box-shadow 0.7s var(--spring); }
.tile > img, .tile > video, .tile > picture, .tile > picture img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--spring); }
.tile:hover, .tile:focus-visible { transform: scale(1.035); z-index: 2; box-shadow: 0 0 0 1px rgba(30, 27, 46, 0.05), 0 40px 70px -30px rgba(30, 20, 60, 0.55); }
.tile:hover > img, .tile:hover > video, .tile:hover > picture { transform: scale(1.05); }
.shot, .b-compare { cursor: zoom-in; }
.tile figcaption, .tile .tag { position: absolute; left: 14px; bottom: 14px; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.b-hall { grid-column: 1 / span 6; grid-row: 1 / span 4; }
.b-pool { grid-column: 7 / span 3; grid-row: 1 / span 2; }
.b-bed { grid-column: 7 / span 3; grid-row: 3 / span 2; }
.b-compare { grid-column: 1 / span 5; grid-row: 5 / span 4; }

/* icon: an app lifted off a blurred field of its own colours */
.b-icon { grid-column: 10 / span 3; grid-row: 1 / span 2; display: grid; place-items: center; background: #8FE3F7; isolation: isolate; }
.b-icon .icon-field { position: absolute; inset: -30%; z-index: -1; background: url("img/icon.png") center / 70% no-repeat; filter: blur(38px) saturate(1.35); opacity: 0.9; transform: scale(1.15); }
.b-icon .app { display: grid; justify-items: center; gap: 10px; transition: transform 0.9s var(--spring); }
.b-icon .app img { width: clamp(72px, 7.4vw, 112px); height: auto; border-radius: 23%; transform: translateZ(0);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 4px rgba(10, 60, 90, 0.18), 0 18px 34px -12px rgba(10, 60, 90, 0.55), 0 0 0 0.5px rgba(10, 60, 90, 0.15); }
.b-icon .app-name { font-size: 12px; font-weight: 500; color: #fff; text-shadow: 0 1px 8px rgba(10, 60, 90, 0.45); }
.b-icon:hover .app { transform: translateY(-4px) scale(1.04); }

/* award: a gold wreath around the win */
.b-award { grid-column: 10 / span 3; grid-row: 3 / span 2; display: grid; place-items: center; text-align: center; color: #9A6B14;
  background: radial-gradient(120% 90% at 50% 0%, #FFF7E3 0%, #FCE7B8 60%, #F4D38D 100%); }
.b-award .wreath { position: absolute; left: 50%; top: 50%; width: 88%; max-width: 260px; transform: translate(-50%, -50%); color: #A88343; }
.b-award p { position: relative; margin: 0; display: grid; gap: 4px; padding: 0 22%; }
.b-award .won { font: 500 11px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #835B12; }
.b-award b { font-family: var(--display); font-weight: 760; font-size: clamp(17px, 1.6vw, 24px); line-height: 1.02; letter-spacing: -0.025em; color: #3B2A0C; }
.b-award .by { font: 500 11px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: #74561F; }
.b-award::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.2s var(--spring); }
.b-award:hover::after { transform: translateX(120%); }

/* palette: slim swatches; the one under the pointer opens up and names its room */
.b-palette { grid-column: 6 / span 3; grid-row: 5 / span 2; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 14px; background: #fff; }
.b-palette .pal-k { margin: 0; font: 500 10px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.b-palette ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; min-height: 0; }
.b-palette li { position: relative; flex: 1 1 0; min-width: 0; border-radius: 999px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45); transition: flex-grow 0.7s var(--spring); outline: none; }
.b-palette li span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font: 500 9px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  white-space: nowrap; opacity: 0; transition: opacity 0.4s var(--spring); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2); }
.b-palette ul:not(:hover) li:first-child, .b-palette li:hover, .b-palette li:focus-visible { flex-grow: 4.5; border-radius: 16px; }
.b-palette ul:not(:hover) li:first-child span, .b-palette li:hover span, .b-palette li:focus-visible span { opacity: 1; }

.b-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-compare .grey { clip-path: inset(0 50% 0 0); transition: clip-path 0.9s var(--spring); }
.b-compare:hover .grey, .b-compare:focus-visible .grey { clip-path: inset(0 100% 0 0); }
.b-compare .tag-r { left: auto; right: 14px; }
.b-kitchen { grid-column: 6 / span 3; grid-row: 7 / span 2; }
.b-nursery { grid-column: 9 / span 4; grid-row: 5 / span 4; }

.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: max(24px, env(safe-area-inset-top, 0px)) 16px; background: rgba(20, 18, 34, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background 0.6s var(--spring), backdrop-filter 0.6s var(--spring); }
.lightbox[hidden] { display: none; }
.lightbox.open { background: rgba(20, 18, 34, 0.6); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; transform: scale(0.92); opacity: 0; transition: transform 0.7s var(--spring), opacity 0.5s var(--spring); }
.lightbox.open figure { transform: none; opacity: 1; }
.lightbox img { width: min(88vw, 1280px); max-height: 80vh; object-fit: contain; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { color: #fff; font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.lightbox button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.14); border-radius: 999px; height: 44px; min-width: 44px; padding: 0 16px;
  font: 500 13px var(--body); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.4s var(--spring); }
.lightbox button:hover { background: rgba(255, 255, 255, 0.26); }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + 20px); right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); } .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- 5. stores ---------- */
.play-sec { padding-block: clamp(80px, 12vw, 180px); }
.stores { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
/* a store is a room: the nav's frosted surface, tinted faintly with one of the game's room colours.
   Its device name hangs in pieces; point at a store you can use and the room solves, like the hero */
.store { --tint: 14%; position: relative; display: grid; grid-template-rows: 1fr auto auto; gap: 14px; min-height: 212px; padding: 26px 24px 22px 26px; border-radius: 28px; color: var(--ink); overflow: hidden;
  background: color-mix(in srgb, var(--room) var(--tint), rgba(255, 255, 255, 0.6));
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75), 0 18px 44px -32px rgba(30, 20, 70, 0.45);
  transition: transform 0.7s var(--spring), background-color 0.9s var(--spring), --tint 0.9s var(--spring); }
.store[data-status="soon"] { --tint: 7%; }
.store .sd { margin: 0; align-self: start; font-family: var(--display); font-weight: 760; font-size: clamp(36px, 3.5vw, 54px); line-height: 1; letter-spacing: -0.035em; color: var(--ink-2); transition: color 0.9s var(--spring); }
.store .w { display: inline-block; white-space: nowrap; }
.store .ch { display: inline-block; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--z)); transition: transform 0.9s var(--spring) calc(var(--i) * 22ms); }
.store .sn { margin: 0; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.store .sls { display: flex; flex-wrap: wrap; gap: 8px; }
.store .sl:only-child::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.store .sl:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.store .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* solved: the letters line up, the name takes full ink and the room colour deepens a step */
.store:not([data-status="soon"]):is(:hover, :focus-within, .solved) { --tint: 26%; transform: translateY(-3px); }
.store:not([data-status="soon"]):is(:hover, :focus-within, .solved) .ch { transform: none; }
.store:not([data-status="soon"]):is(:hover, :focus-within, .solved) .sd { color: var(--ink); }
@property --tint { syntax: "<percentage>"; inherits: true; initial-value: 14%; }

/* ---------- 6. laurels ---------- */
/* every award is the same festival laurel: one fixed size, slender antique-gold branches, the name and its giver set small inside */
.laurels-sec { padding-block: clamp(48px, 7vw, 96px) clamp(88px, 11vw, 150px); }
.laurels { --unit: 250px; --branch: 36px; --pad: 8px; list-style: none; margin: 0 auto; padding: 0; max-width: 1300px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; row-gap: clamp(36px, 4vw, 56px); }
.laurels li { position: relative; width: var(--unit); height: calc(var(--branch) * 3.2); display: grid; place-items: center; }
.laurels .br { position: absolute; top: 0; left: 0; width: var(--branch); height: 100%; color: #9C7B3E; transition: clip-path 1.4s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--d, 0ms) + 0.15s); clip-path: inset(0 0 0 0); }
.laurels .br.r { left: auto; right: 0; transform: scaleX(-1); }
.laurels p { margin: 0; width: calc(var(--unit) - var(--branch) * 2 - var(--pad)); display: grid; justify-items: center; gap: 6px; text-align: center; }
.laurels b { font-family: var(--display); font-weight: 650; font-size: 16px; line-height: 1.15; letter-spacing: -0.012em; color: var(--ink); text-wrap: balance; }
.laurels span { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.laurels span i { font-style: normal; white-space: nowrap; }
/* four across only where four fit at full size; otherwise two */
@media (max-width: 1200px) { .laurels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* the one authored moment: the branches grow up from their stems as the laurel arrives */
.laurels li.pre .br { clip-path: inset(100% 0 0 0); }

/* ---------- footer ---------- */
.foot { padding-block: clamp(64px, 9vw, 120px) calc(env(safe-area-inset-bottom, 0px) + 36px); border-top: 1px solid var(--hair); }
.foot-top { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px clamp(32px, 6vw, 96px); }
.foot-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.foot-brand img { width: min(280px, 70%); height: auto; }
.foot-brand p { font-family: var(--display); font-weight: 650; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.02em; max-width: 22ch; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols h3 { margin: 0 0 4px; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.foot-cols a { text-decoration: none; font-size: 15px; color: var(--ink-2); transition: color 0.4s var(--spring); overflow-wrap: anywhere; }
.foot-cols a:hover { color: var(--ink); }
.foot-row { max-width: 1320px; margin: clamp(48px, 7vw, 96px) auto 0; padding-top: 20px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.foot-row a { color: inherit; text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }

/* ---------- entry motion ---------- */
.rise { transition: transform 1s var(--spring), opacity 1s var(--spring); }
.rise.pre { transform: translateY(28px); opacity: 0; }

/* ---------- narrow ---------- */
@media (max-width: 960px) {
  .head { grid-template-columns: minmax(0, 1fr); }
  .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .laurels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { gap: 14px; padding: 5px 5px 5px 18px; }
  .nav .links { display: none; }
  body.at-hero .nav .mark { margin-right: -14px; }
  .hero .copy { left: 5cqw; right: 5cqw; max-width: none; gap: 2.6cqw; bottom: calc(env(safe-area-inset-bottom, 0px) + 6cqw); }
  .hero h1 { font-size: 9.6cqw; }
  .lead { font-size: 14px; white-space: normal; }
  .eyebrow { font-size: 10px; padding: 4px 10px; }
  .hero .row .btn { font-size: 13px; padding: 5px 5px 5px 14px; gap: 8px; }
  .plats { font-size: 10px; }
  .btn { font-size: 14px; padding: 5px 5px 5px 16px; gap: 10px; }
  .btn .ico { width: 30px; height: 30px; }
  .side { top: calc(env(safe-area-inset-top, 0px) + 84px); bottom: auto; right: 20px; }
  .pitch { min-height: 100vh; padding-block: 16vh; }
  .pitch-sub { margin-left: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; }
  .bento .tile { grid-column: auto / span 1; grid-row: auto / span 1; }
  .bento .b-hall, .bento .b-compare, .bento .b-nursery { grid-column: auto / span 2; grid-row: auto / span 2; }
  .bento .b-palette { grid-column: auto / span 2; }
  .b-icon .app img { width: 64px; }
  .stores { grid-template-columns: minmax(0, 1fr); }
  .store { min-height: 180px; padding: 22px 20px 20px 22px; }
  .laurels { --unit: 164px; --branch: 24px; --pad: 4px; row-gap: 26px; }
  .laurels b { font-size: 14px; }
  .laurels span { font-size: 11px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ey-long { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: none; }
  .ambient-play { font-size: 14px; padding: 6px 18px 6px 6px; }
  .ambient-play b { width: 44px; height: 44px; }
  .ambient video { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .copy > *, .lead .s, .rise, .rise.pre { transition: none; filter: none; transform: none; opacity: 1; }
  body { transition: none; }
}
