/* ─────────────────────────────────────────────────────────────
   SIP/STER — Cocktail Bar & Fondue
   dark-mode scroll-driven landing page
   ───────────────────────────────────────────────────────────── */

:root {
  --bg-dark: #0a0a0a;
  --bg-dark-2: #111110;
  --text-primary: #f0ede6;
  --text-muted: #8a867e;
  --text-faint: rgba(240, 237, 230, 0.45);
  --accent-sunrise: #ff7a3c;
  --accent-sunrise-soft: #ffa26a;
  --accent-grenadine: #b8283a;
  --rule: rgba(240, 237, 230, 0.14);
  --rule-soft: rgba(240, 237, 230, 0.08);

  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --spine-text: 38vw;       /* left column width on desktop */
  --spine-pad-left: 5vw;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-dark); }
html { scroll-behavior: auto; } /* Lenis drives scroll */
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

/* Brand mark selection color */
::selection { background: var(--accent-sunrise); color: var(--bg-dark); }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--accent-sunrise);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ─── Loader ────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-dark);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out);
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-inner { width: min(420px, 80vw); text-align: left; }
.loader-brand { display: flex; flex-direction: column; gap: 8px; margin-bottom: 36px; }
.loader-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
  font-variation-settings: "opsz" 120, "SOFT" 50;
}
.loader-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-weight: 500;
}
.loader-bar-track {
  width: 100%; height: 1px;
  background: var(--rule-soft);
  overflow: hidden;
  position: relative;
}
#loader-bar {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-sunrise), var(--accent-grenadine));
  transition: width 0.15s linear;
}
.loader-meta {
  margin-top: 18px;
  display: flex; justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.slash { color: var(--accent-sunrise); font-style: normal; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px max(clamp(20px, 3vw, 40px), calc((100vw - 1280px) / 2));
  background: linear-gradient(to bottom, rgba(10,10,10,0.88), rgba(10,10,10,0));
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.brand {
  display: inline-flex; flex-direction: column; gap: 2px;
  justify-self: start;
}
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.brand-sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  font-weight: 500;
}
.site-nav {
  display: flex; gap: 28px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
}
.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--text-primary);
  transition: color 0.3s var(--ease-out);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent-sunrise);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
}
.site-nav a:hover::after { width: 100%; left: 0; }
.btn-header { justify-self: end; }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out),
              background 0.25s var(--ease-out),
              color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  will-change: transform;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent-sunrise);
  color: #1a0e08;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 14px 28px -14px rgba(255, 122, 60, 0.55),
    0 4px 10px -6px rgba(184, 40, 58, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-sunrise-soft);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 22px 36px -16px rgba(255, 122, 60, 0.75),
    0 6px 14px -6px rgba(184, 40, 58, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--rule);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(240, 237, 230, 0.04);
  border-color: var(--text-primary);
}

.btn-header {
  padding: 10px 20px;
  font-size: 0.72rem;
}
.btn-header .btn-phone { display: none; }

/* ─── Canvas column (right 2/3) ─────────────────────────────── */
.canvas-wrap {
  position: fixed;
  top: 0;
  right: 0;
  width: 66vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.canvas-wrap::before {
  /* top & bottom fades so canvas melts into header / footer */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-dark) 0%, transparent 8%, transparent 92%, var(--bg-dark) 100%);
  z-index: 2; pointer-events: none;
}
#canvas { width: 100%; height: 100%; display: block; }

/* Vertical feather seam between text column and canvas.
   Wider + softer so scroll-section text blends into the canvas without
   producing a visible edge. Covered by .hero's own gradient during the
   hero itself (hero is z-index 5, seam is z-index 2). */
.seam {
  position: fixed;
  top: 0;
  left: 28vw;
  width: 16vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.42) 45%,
    rgba(10, 10, 10, 0.12) 80%,
    rgba(10, 10, 10, 0) 100%
  );
}

/* Dark overlay (full viewport — fades in only for the stats band) */
#dark-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  z-index: 5;
  overflow: hidden;
  /* Single smooth dimmer: solid on the left (covers .seam entirely),
     gradual fade to transparent on the right so the canvas image reads
     cleanly without any visible edge. */
  background: linear-gradient(
    to right,
    var(--bg-dark) 0%,
    var(--bg-dark) 34%,
    rgba(10, 10, 10, 0.82) 46%,
    rgba(10, 10, 10, 0.48) 58%,
    rgba(10, 10, 10, 0.18) 72%,
    rgba(10, 10, 10, 0) 88%
  );
}
.hero-inner {
  position: relative;
  height: 100%;
  width: var(--spine-text);
  max-width: 620px;
  padding: 140px var(--spine-pad-left) 80px var(--spine-pad-left);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  z-index: 5;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--accent-sunrise);
}
.hero-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 11vw, 11rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.hero-heading .word { display: inline-block; }
.hero-heading .slash {
  font-weight: 300;
  font-style: italic;
  margin: 0 -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 300;
  font-variation-settings: "opsz" 24, "SOFT" 80;
  max-width: 36ch;
  margin: 0;
}
.hero-tagline em {
  font-style: italic;
  color: var(--accent-sunrise-soft);
  font-weight: 400;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 8px;
}
.hero-meta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-sunrise);
  box-shadow: 0 0 10px var(--accent-sunrise);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.scroll-cue {
  position: absolute;
  left: var(--spine-pad-left);
  bottom: 40px;
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s var(--ease-out), transform 0.4s var(--ease-out);
}
.scroll-cue:hover { color: var(--text-primary); }
.scroll-cue svg { opacity: 0.6; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* The hero's background gradient (above) handles the fade; the old
   ::after vignette was stacking on top of .seam and produced a visible
   second edge. Removed. */

/* ─── Marquee ───────────────────────────────────────────────── */
.marquee-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  width: 40vw;
  transform: translateY(-50%);
  z-index: 4;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 88%, transparent);
}
.marquee-text {
  font-family: var(--font-display);
  font-size: 12vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--text-primary);
  opacity: 0.08;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  display: inline-block;
  padding-left: 0;
}

/* ─── Scroll container ──────────────────────────────────────── */
#scroll-container {
  position: relative;
  height: 500vh;         /* tighter scroll range so sections appear quickly */
  z-index: 5;
}
.scroll-section {
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  pointer-events: none;
}
.scroll-section > * { pointer-events: auto; }

/* Positioning for sections across the scroll container height.
   Each section is placed at the midpoint of its enter/leave range. */
.scroll-section[data-enter="6"]  { top: 12%; }
.scroll-section[data-enter="20"] { top: 26%; }
.scroll-section[data-enter="34"] { top: 40%; }
.scroll-section[data-enter="50"] { top: 56%; }
.scroll-section[data-enter="66"] { top: 80%; }

/* Vertical offsets within the left column — adds rhythm */
.pos-upper .section-inner { padding-top: 8vh; }
.pos-mid .section-inner   { padding-top: 0; }
.pos-lower .section-inner { padding-top: 18vh; }

/* Left-aligned sections */
.align-left { padding-left: var(--spine-pad-left); padding-right: 62vw; }
.align-left .section-inner { max-width: 34vw; }
.section-inner-wide { max-width: 38vw !important; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-sunrise);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-soft);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 0 0 24px;
  font-variation-settings: "opsz" 96, "SOFT" 40;
}
.section-heading em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-sunrise-soft);
  font-variation-settings: "opsz" 96, "SOFT" 100;
}
.section-heading.serif-italic {
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 80;
}
.section-body {
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 38ch;
  margin: 0 0 24px;
  font-weight: 300;
}
.section-rule {
  width: 48px;
  height: 1px;
  background: var(--accent-sunrise);
  opacity: 0.7;
  margin-top: 12px;
}

/* Ingredient list (Signature section) */
.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  border-top: 1px solid var(--rule-soft);
}
.ingredient-list li {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 300;
}
.ingredient-list li span {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  color: var(--accent-sunrise);
  letter-spacing: 0.1em;
  font-style: italic;
  min-width: 24px;
}

/* ─── Stats band (full-width, breaks the spine) ─────────────── */
.section-stats {
  top: 56% !important;
  padding: 0 clamp(32px, 6vw, 80px);
  text-align: left;
  left: 0; right: 0;
  width: 100%;
  z-index: 12;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: end;
  gap: clamp(24px, 4vw, 60px);
  max-width: 1400px;
  margin: 0 auto;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-variant-numeric: tabular-nums;
  font-style: italic;
}
.stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 80%;
  background: linear-gradient(to bottom, transparent, var(--rule), transparent);
  align-self: center;
}

/* ─── Visit section ─────────────────────────────────────────── */
#visit { top: 82% !important; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 36px;
  margin: 32px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-soft);
}
.visit-block:first-child { grid-column: 1 / 2; }
.visit-block:nth-child(2) { grid-column: 2 / 3; }
.visit-block:nth-child(3) { grid-column: 1 / -1; }
.visit-head {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.visit-body {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 400;
  font-variation-settings: "opsz" 36, "SOFT" 60;
}
.visit-link {
  font-size: 1.35rem;
  position: relative;
  display: inline-block;
  transition: color 0.25s var(--ease-out);
}
.visit-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent-sunrise);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.visit-link:hover { color: var(--accent-sunrise); }
.visit-link:hover::after { transform: scaleX(1); }

.hours {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 300;
  column-count: 2;
  column-gap: 40px;
  max-width: 32ch;
}
.hours-row {
  display: flex; justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--rule-soft);
  break-inside: avoid;
}
.hours dt {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  min-width: 36px;
}
.hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-size: 0.82rem;
  text-align: right;
}
.hours dd.closed {
  color: var(--accent-grenadine);
  font-style: italic;
  letter-spacing: 0.02em;
}

.visit-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 8px;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: transparent;
  color: var(--text-primary);
  padding: 80px clamp(20px, 4vw, 80px) 32px;
  border-top: 1px solid var(--rule-soft);
  z-index: 10;
  margin-top: 0;
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.55) 0%,
    rgba(10, 10, 10, 0.82) 55%,
    rgba(10, 10, 10, 0.94) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: -1;
  pointer-events: none;
}
.foot-spine {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule-soft);
}
.foot-col p, .foot-col a { font-size: 0.88rem; line-height: 1.6; color: var(--text-primary); font-weight: 300; }
.foot-col a { transition: color 0.25s var(--ease-out); }
.foot-col a:hover { color: var(--accent-sunrise); }
.foot-mark {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 14px;
  font-variation-settings: "opsz" 72, "SOFT" 50;
}
.foot-head {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.foot-bottom {
  display: flex; justify-content: space-between;
  margin-top: 28px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .marquee-wrap { display: none; }
  .hero-meta .dot { animation: none; }
  .scroll-cue svg { animation: none; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --spine-text: 42vw; }
  .align-left { padding-right: 56vw; }
  .align-left .section-inner { max-width: 38vw; }
  .section-inner-wide { max-width: 42vw !important; }
}

@media (max-width: 1024px) {
  :root { --spine-text: 46vw; --spine-pad-left: 4vw; }
  .align-left { padding-right: 52vw; }
  .align-left .section-inner { max-width: 42vw; }
  .canvas-wrap { width: 60vw; }
  .seam { left: 38vw; width: 8vw; }
  .hero-heading { font-size: clamp(3.8rem, 9vw, 8rem); }
  .site-nav { gap: 18px; font-size: 0.72rem; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-block:first-child, .visit-block:nth-child(2), .visit-block:nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --spine-text: 100vw; --spine-pad-left: 22px; }

  /* Canvas becomes a top-anchored band, NOT fullscreen fixed behind text */
  .canvas-wrap {
    width: 100vw;
    height: 58vh;
    top: 42vh;
  }
  .canvas-wrap::before {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 12%, transparent 88%, var(--bg-dark) 100%);
  }
  .seam { display: none; }

  .hero {
    height: 100vh;
    min-height: 560px;
    /* Mobile: canvas sits below the text column, so dim top-to-bottom. */
    background: linear-gradient(
      to bottom,
      var(--bg-dark) 0%,
      var(--bg-dark) 38%,
      rgba(10, 10, 10, 0.78) 52%,
      rgba(10, 10, 10, 0.35) 70%,
      rgba(10, 10, 10, 0) 88%
    );
  }
  .hero-inner { width: 100%; max-width: none; padding: 110px 22px 80px; justify-content: flex-start; }
  .scroll-cue { bottom: 24px; }

  .site-nav { display: none; }
  .site-header {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
    gap: 10px;
    padding: 14px 16px;
  }
  .brand-sub { display: none; }
  .brand { justify-self: start; }
  .btn-header {
    padding: 9px 13px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    gap: 6px;
    flex-shrink: 0;
    min-width: 0;
  }
  .btn-header svg { width: 11px; height: 11px; flex-shrink: 0; }
  .brand-mark { font-size: 1.1rem; }

  .align-left { padding-right: 22px; }
  .align-left .section-inner { max-width: 100%; background: rgba(10,10,10,0.82); padding: 24px 20px; border: 1px solid var(--rule-soft); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

  .section-inner-wide { max-width: 100% !important; }

  #scroll-container { height: 380vh; }
  .scroll-section[data-enter="6"]  { top: 10%; }
  .scroll-section[data-enter="20"] { top: 28%; }
  .scroll-section[data-enter="34"] { top: 46%; }
  .scroll-section[data-enter="50"] { top: 62%; }
  .scroll-section[data-enter="66"] { top: 82%; }
  #visit { top: 84% !important; }

  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-divider { display: none; }
  .stat-number { font-size: clamp(4rem, 20vw, 7rem); }

  .marquee-wrap { width: 100vw; }
  .marquee-text { font-size: 22vw; }

  .foot-spine { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: clamp(3.2rem, 16vw, 5.2rem); }
  .section-heading { font-size: clamp(2rem, 8vw, 3rem); }
  .btn-header { padding: 8px 11px; font-size: 0.58rem; letter-spacing: 0.1em; }
  .brand-mark { font-size: 1rem; letter-spacing: -0.02em; }
}

@media (max-width: 520px) {
  .site-header .btn-header .btn-text,
  .site-header .btn-header .btn-arrow { display: none !important; }
  .site-header .btn-header .btn-phone { display: block !important; }
  .site-header .btn-header {
    padding: 10px 11px !important;
    gap: 0 !important;
    border-radius: 999px !important;
    font-size: inherit !important;
  }
  .site-header { padding: 12px 14px; }
  .brand-mark { font-size: 0.95rem; }
}
