/* ==========================================================================
   Branch Health & Fitness — site styles
   Merimei Studio. Palette taken from the 2026 logo (#f08300) and the
   arrival renders: black steel, warm timber light, one orange accent.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink:        #08080a;
  --ink-2:      #0f0f12;
  --ink-3:      #17171b;
  --cream:      #f3efe9;
  --muted:      rgba(243, 239, 233, 0.64);
  --muted-2:    rgba(243, 239, 233, 0.42);
  --line:       rgba(243, 239, 233, 0.14);
  --line-soft:  rgba(243, 239, 233, 0.07);
  --brand:      #f08300;
  --brand-lift: #ff9c2e;
  --timber:     #b07a43;
  --wa:         #25d366;

  --shell:      min(1280px, 100% - 2.5rem);
  --r:          3px;
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);

  /* Two faces, two jobs — not one "display font" stretched over everything.
     Anton (--font-impact) only sits on real headline moments: big enough
     that its blunt, condensed weight reads as a choice, not a wall of caps.
     Everything smaller — nav, buttons, eyebrows, captions — stays on Inter
     at a bold weight, which is what a small uppercase label actually needs
     to stay legible. Picked on its own terms, not because of the wall text
     in the concept renders — that wall copy is itself an AI-rendered detail
     and may never be built. */
  --font-impact:  "Anton", "Arial Narrow", sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --hdr: 74px;
}

@media (max-width: 860px) { :root { --shell: calc(100% - 2rem); --hdr: 62px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.62;
  font-weight: 380;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-impact); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.shell { width: var(--shell); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0;
}
.eyebrow.dim { color: var(--muted-2); }

.display {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem);
  text-transform: uppercase;
}
.display-sm { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.2rem); text-transform: uppercase; }
.lede { font-size: clamp(1.02rem, 0.97rem + 0.32vw, 1.2rem); color: var(--muted); max-width: 54ch; }
.accent { color: var(--brand); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--hdr);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(8,8,10,0.92), rgba(8,8,10,0.55) 60%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.topbar.solid { background: rgba(8,8,10,0.96); border-bottom-color: var(--line-soft); }
.topbar__in { width: var(--shell); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; flex: 0 0 auto; margin-right: auto; }
.brand svg, .brand img { height: 36px; width: auto; }
@media (max-width: 860px) { .brand svg, .brand img { height: 30px; } }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.8rem;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color 0.25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; border-radius: 2px;
  transition: transform 0.32s var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.navtoggle {
  display: none; background: none; border: 2px solid var(--cream); border-radius: 0;
  padding: 0.4rem 0.8rem; font-family: var(--font-display); font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; color: var(--cream);
}

@media (max-width: 1040px) {
  .navtoggle { display: block; }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,8,10,0.985);
    border-bottom: 1px solid var(--line-soft);
    padding: 0.5rem 0 1.1rem;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s var(--ease-out);
  }
  .nav[data-open="true"] { clip-path: inset(0 0 0 0); }
  .nav a { padding: 0.9rem clamp(1rem, 5vw, 2rem); font-size: 1rem; letter-spacing: 0.1em; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border: 2px solid var(--cream); border-radius: 0;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--cream);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--cream); color: var(--ink); }
.btn--solid { background: var(--brand); border-color: var(--brand); color: #140c02; }
.btn--solid:hover { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #05180c; }
.btn--wa:hover { background: transparent; border-color: var(--wa); color: var(--wa); }
.btn--ghost { color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.76rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

.btnrow { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   Stage — the first screen of every room
   ========================================================================== */
.stage {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--hdr) + 2rem) 0 clamp(2rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.stage--tall { min-height: 100svh; }
.stage--short { min-height: 78svh; }

.stage__media {
  position: absolute; inset: -4% -2%;
  z-index: -2;
  background-color: #1a1510;
}
.stage__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center);
  transform: scale(1.06);
  will-change: transform;
}
.stage__scrim {
  position: absolute; inset: 0; z-index: -1;
  /* a warm wash keyed to the venue's own amber LED strips, not a generic
     black vignette — darkest where the type sits, never fully neutral */
  background: linear-gradient(to top, rgba(10,7,3,0.94) 2%, rgba(14,9,4,0.74) 32%, rgba(16,11,5,0.22) 64%, rgba(10,7,3,0.5) 100%);
}

.stage__body { position: relative; display: grid; gap: 1.5rem; max-width: 62rem; }
.stage__body .lede { max-width: 46ch; }

/* headline: one plain rise, not the line-by-line mask-wipe every template runs */
.lines { display: grid; }
.line { overflow: visible; opacity: 0; transform: translateY(16px); }
.ready .line { animation: lineIn 0.7s var(--ease-out) forwards; }
.ready .line:nth-child(2) { animation-delay: 0.09s; }
.ready .line:nth-child(3) { animation-delay: 0.18s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }

.fade-seq { opacity: 0; transform: translateY(14px); }
.ready .fade-seq { animation: fadeSeq 0.9s var(--ease-out) forwards; }
.ready .fade-seq[data-d="1"] { animation-delay: 0.38s; }
.ready .fade-seq[data-d="2"] { animation-delay: 0.5s; }
.ready .fade-seq[data-d="3"] { animation-delay: 0.62s; }
@keyframes fadeSeq { to { opacity: 1; transform: none; } }

/* a quiet line of copy pinned to the bottom of the stage, like wall text */
.stage__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem;
  margin-top: 0.6rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.8rem; color: var(--muted-2);
  font-family: var(--font-display); letter-spacing: 0.1em; text-transform: uppercase;
}
.stage__foot span { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex: none; }

/* scroll cue */
.cue {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2);
  pointer-events: none;
}
.cue i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--brand), transparent); animation: cueDrop 2.2s var(--ease) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-height: 820px), (max-width: 860px) { .cue { display: none; } }
/* the home hero also has an info line (hours / walk-ins / address) pinned to
   the same bottom edge — showing the "scroll" cue there too just collides
   with it, and the info line already implies there's more below anyway */
.stage__body:has(.stage__foot) ~ .cue { display: none; }

/* ==========================================================================
   Sections
   ========================================================================== */
.band { padding: clamp(3.5rem, 8vh, 6rem) 0; position: relative; }
.band--tint { background: var(--ink-2); }
.band--edge { border-top: 1px solid var(--line-soft); }

.head { display: grid; gap: 0.9rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vh, 3rem); }

/* reveal on scroll */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.rise.in { opacity: 1; transform: none; }
.rise[data-s="1"] { transition-delay: 0.08s; }
.rise[data-s="2"] { transition-delay: 0.16s; }
.rise[data-s="3"] { transition-delay: 0.24s; }
.rise[data-s="4"] { transition-delay: 0.32s; }

/* ---------- doors: the three rooms on the home page ---------- */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .doors { grid-template-columns: 1fr; } }

.door {
  position: relative; display: grid; align-content: end; gap: 0.5rem;
  min-height: min(62vh, 30rem);
  padding: 1.6rem;
  border-radius: var(--r); overflow: hidden;
  text-decoration: none; isolation: isolate;
  border: 1px solid var(--line-soft);
}
.door img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-out), filter 0.6s var(--ease);
  filter: saturate(0.92) brightness(0.86);
}
.door::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8,8,10,0.92) 6%, rgba(8,8,10,0.35) 48%, rgba(8,8,10,0.12) 100%);
  transition: opacity 0.5s var(--ease);
}
.door:hover img { transform: scale(1.08); filter: saturate(1) brightness(0.95); }
.door__no { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; color: var(--brand); }
.door__t { font-family: var(--font-impact); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; }
.door__d { font-size: 0.92rem; color: var(--muted); max-width: 30ch; }
.door__go {
  margin-top: 0.4rem; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.door__go i { display: block; width: 1.4rem; height: 1px; background: var(--brand); transition: width 0.35s var(--ease); }
.door:hover .door__go i { width: 2.4rem; }

/* ---------- generic card grid ---------- */
.grid { display: grid; gap: 1rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-3); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 1.5rem; display: grid; gap: 0.6rem; align-content: start;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card h3 { font-size: 1.12rem; letter-spacing: 0.005em; }
.card p { font-size: 0.94rem; color: var(--muted); }
.card__k { font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brand); }

/* zone card with a colour chip, echoing the floor lanes */
.zone { position: relative; overflow: hidden; }
.zone::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--chip, var(--brand)); }

/* ---------- split: image + text ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split--flip > .split__fig { order: 2; }
@media (max-width: 900px) { .split, .split--flip > .split__fig { grid-template-columns: 1fr; order: 0; } }
.split__fig { position: relative; border-radius: var(--r); overflow: hidden; background: #1a1510; }
.split__fig img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.split__fig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(8,8,10,0.9), transparent);
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.split__body { display: grid; gap: 1.1rem; align-content: center; }

/* ---------- facts strip ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { background: var(--ink); padding: 1.6rem 1.3rem; display: grid; gap: 0.35rem; }
.fact b { font-family: var(--font-impact); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 400; letter-spacing: 0.005em; line-height: 1; }
.fact span { font-family: var(--font-display); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- wall quote ---------- */
.wall { text-align: center; display: grid; gap: 1rem; justify-items: center; padding-block: clamp(3rem, 7vh, 5rem); }
.wall q {
  font-family: var(--font-impact); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.8rem, 1rem + 3.6vw, 4rem); line-height: 1.02; letter-spacing: 0.005em;
  quotes: none; max-width: 18ch;
}
.wall q em { font-style: normal; color: var(--brand); display: block; }
.wall figcaption { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

.plan {
  position: relative; display: grid; gap: 0.35rem; align-content: start;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--ink-3); border: 1px solid var(--line-soft); border-radius: var(--r);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), background 0.35s var(--ease);
}
.plan:hover { border-color: var(--line); }
.plan--pick { border-color: var(--brand); }
.plan__tag {
  position: absolute; top: 0; right: 0;
  background: var(--brand); color: #140c02;
  font-family: var(--font-display); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.35rem 0.6rem; border-radius: 0;
}
.plan__n { font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.plan__p { font-family: var(--font-impact); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 400; letter-spacing: 0.005em; line-height: 1.05; }
.plan__p sup { font-size: 0.42em; font-weight: 700; letter-spacing: 0.08em; vertical-align: 0.9em; color: var(--muted); margin-right: 0.22em; }
.plan__sub { font-size: 0.86rem; color: var(--muted-2); }
.plan .btn { margin-top: 0.9rem; justify-content: center; }

.rate { width: 100%; border-collapse: collapse; }
.rate caption { text-align: left; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand); padding-bottom: 0.9rem; }
.rate th, .rate td { text-align: left; padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
.rate th { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; }
.rate td:last-child, .rate th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.rate td:last-child { font-family: var(--font-display); font-weight: 700; }
.rate tr:last-child td { border-bottom: 0; }

.note { font-size: 0.86rem; color: var(--muted-2); max-width: 60ch; }

/* ==========================================================================
   Visit / map
   ========================================================================== */
.mapwrap {
  position: relative; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line-soft); background: var(--ink-3);
  /* width:100% first, so the grid track decides the width; aspect-ratio then
     only fills in the height. Without an explicit width here, aspect-ratio
     plus min-height can make the box grow wider than its own column on
     narrow screens to keep the ratio — that's what was pushing this past
     the edge on mobile. */
  width: 100%; min-width: 0;
  aspect-ratio: 16 / 10; min-height: 340px;
}
.mapwrap iframe { width: 100%; height: 100%; border: 0; }
.mapwrap__ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem;
  text-align: center; padding: 2rem;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(240,131,0,0.16), transparent 65%),
    var(--ink-3);
}
.mapwrap__ph p { color: var(--muted); font-size: 0.92rem; max-width: 38ch; }
.mapwrap__ph svg { width: 32px; height: 32px; color: var(--brand); margin: 0 auto; }

.contactlist { display: grid; gap: 0; }
.contactlist a, .contactlist div {
  display: flex; gap: 1rem; align-items: baseline; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none;
  transition: color 0.25s var(--ease);
}
.contactlist a:hover { color: var(--brand); }
.contactlist dt, .contactlist .k {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); flex: none;
}
.contactlist .v { text-align: right; font-size: 0.98rem; }

.hours { display: grid; gap: 0; }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
.hours > div:last-child { border-bottom: 0; }
.hours dt { font-size: 0.95rem; color: var(--muted); }
.hours dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hours .now { color: var(--brand); }

/* ==========================================================================
   WhatsApp float
   ========================================================================== */
/* a flush tab on the edge, not a floating bubble with a pulsing ring */
.wa-float {
  position: fixed; right: 0; bottom: clamp(1rem, 3vh, 1.8rem);
  z-index: 55;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.2rem 0.85rem 1rem;
  background: var(--wa); color: #05180c; text-decoration: none;
  border-radius: 0;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  transition: padding 0.25s var(--ease-out), background 0.25s var(--ease);
}
.wa-float:hover { background: var(--ink); color: var(--cream); padding-right: 1.6rem; }
.wa-float svg { width: 19px; height: 19px; flex: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 0.95rem; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { border-top: 1px solid var(--line-soft); padding: clamp(2.5rem, 6vh, 4rem) 0 2rem; background: var(--ink-2); }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .foot__top { grid-template-columns: 1fr; } }
.foot img { height: 28px; width: auto; margin-bottom: 1rem; }
.foot h4 { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 0.9rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot a { text-decoration: none; color: var(--muted); font-size: 0.93rem; transition: color 0.25s var(--ease); }
.foot a:hover { color: var(--brand); }
.foot__base {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between;
  font-size: 0.78rem; color: var(--muted-2);
}

/* ==========================================================================
   Room transition — the glass door between pages
   ========================================================================== */
.shutter { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; grid-template-rows: 1fr 1fr; }
.shutter i { display: block; background: var(--ink); transform: scaleY(1); transition: transform 0.62s var(--ease-out); }
.shutter i:first-child { transform-origin: top; }
.shutter i:last-child  { transform-origin: bottom; }
.shutter::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: var(--brand); transform: scaleX(1); transform-origin: center;
  transition: transform 0.4s var(--ease) 0.18s, opacity 0.3s linear 0.4s;
}
/* open state (default once the page is ready) */
.shutter[data-state="open"] i { transform: scaleY(0); }
.shutter[data-state="open"]::after { transform: scaleX(0); opacity: 0; }
/* closing again on navigation */
.shutter[data-state="closing"] { pointer-events: all; }
.shutter[data-state="closing"] i { transform: scaleY(1); transition-duration: 0.42s; }
.shutter[data-state="closing"]::after { transform: scaleX(1); opacity: 1; transition: transform 0.3s var(--ease), opacity 0.1s linear; }

/* ==========================================================================
   Logo intro (home page, once per visit)
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 95;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity 0.7s var(--ease) 0.15s, visibility 0s linear 0.85s;
}
.intro[hidden-soft] { opacity: 0; visibility: hidden; }
.intro__mark { width: min(78vw, 640px); }

.brandmark #lg-mark,
.brandmark #lg-script,
.brandmark #lg-word,
.brandmark #lg-figure { transform-box: fill-box; }

.intro .brandmark #lg-mark   { opacity: 0; transform: translateX(-14%) scale(0.94); transform-origin: 60% 50%; }
.intro .brandmark #lg-script { opacity: 0; clip-path: inset(0 100% 0 0); }
.intro .brandmark #lg-word   { opacity: 0; transform: translateY(26%); }
.intro .brandmark #lg-figure { opacity: 0; transform: translateY(-34%) scale(0.7); transform-origin: 50% 100%; }

.intro.run .brandmark #lg-mark   { animation: markIn 0.85s var(--ease-out) 0.05s forwards; }
.intro.run .brandmark #lg-script { animation: scriptIn 0.8s var(--ease-out) 0.42s forwards; }
.intro.run .brandmark #lg-word   { animation: wordIn 0.6s var(--ease-out) 0.78s forwards; }
.intro.run .brandmark #lg-figure { animation: figIn 0.62s cubic-bezier(0.3, 1.5, 0.5, 1) 0.98s forwards; }

@keyframes markIn   { to { opacity: 1; transform: none; } }
@keyframes scriptIn { to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes wordIn   { to { opacity: 1; transform: none; } }
@keyframes figIn    { to { opacity: 1; transform: none; } }

/* header logo gets a one-off shimmer when the page settles */
.brand .brandmark { overflow: visible; }
.brand:hover #lg-figure { animation: figHop 0.7s var(--ease-out); }
@keyframes figHop { 30% { transform: translateY(-18%); } 100% { transform: none; } }

/* ==========================================================================
   Clips: filmed on a phone on the floor, shown at the size they were shot
   ========================================================================== */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
@media (max-width: 760px) { .reel { grid-template-columns: 1fr 1fr; } .reel .clip:last-child { display: none; } }
@media (max-width: 460px) { .reel { grid-template-columns: 1fr; } .reel .clip:last-child { display: block; } }
.clip { position: relative; margin: 0; background: #14110e; overflow: hidden; }
.clip video, .clip img.poster { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 9 / 13; display: block; }
.clip figcaption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 0.75rem 0.9rem;
  background: linear-gradient(to top, rgba(8,8,10,0.92), rgba(8,8,10,0));
  color: var(--cream); font-family: var(--font-display); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.clipbox { background: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; max-width: 24rem; }
.clipbox .clip video { aspect-ratio: 9 / 12; }

/* ==========================================================================
   Motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .line, .fade-seq { transform: none !important; opacity: 1 !important; }
  .rise { opacity: 1 !important; transform: none !important; }
  .stage__media img { transform: none; }
  .cue { display: none; }
}
