/* Pico: Pomodoro Timer — Warm Editorial Focus Studio (Kinfolk / Dieter Rams) */
:root {
  --cream: #FAF5EC;
  --cream-2: #F2E9DA;
  --paper: #FFFDF9;
  --ink: #2A1D19;
  --ink-soft: #5C4B44;
  --muted: #8A786F;
  --tomato: #E4523B;
  --tomato-deep: #C43D28;
  --coral: #EE6F52;
  --gold-rim: #D59A6C;
  --gold-rim-light: #E8C3A0;
  --leaf: #5B8746;
  --leaf-soft: rgba(91, 135, 70, 0.12);
  --hairline: rgba(42, 29, 25, 0.09);
  --shadow: 0 20px 52px rgba(42, 29, 25, 0.08);
  --shadow-sm: 0 8px 24px rgba(42, 29, 25, 0.05);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
  --header-h: 66px;
  --max: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ring-progress,
  .dial-arc {
    animation: none !important;
    stroke-dashoffset: 72 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 540px at 8% -6%, rgba(228, 82, 59, 0.065), transparent 58%),
    radial-gradient(880px 480px at 96% 2%, rgba(91, 135, 70, 0.06), transparent 52%),
    var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, select { font: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 0.6rem 1rem; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250, 245, 236, 0.86);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 0.65rem;
  text-decoration: none; font-weight: 700; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(228, 82, 59, 0.22);
}
.brand-text { font-size: 0.95rem; color: var(--ink); }
.header-nav {
  display: none; gap: 1.5rem; margin-left: 1.75rem;
}
.header-nav a {
  text-decoration: none; color: var(--ink-soft); font-size: 0.9rem; font-weight: 500;
  transition: color 0.18s ease;
}
.header-nav a:hover { color: var(--tomato-deep); }
.header-actions {
  margin-left: auto; display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0;
}
#lang-select {
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.85rem;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
}
#lang-select:focus-visible {
  outline: 2px solid var(--tomato);
  outline-offset: 2px;
}
.header-progress {
  height: 2px; background: transparent; overflow: hidden;
}
.header-progress-bar {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--tomato), var(--gold-rim));
  transition: width 0.1s linear;
}

@media (min-width: 880px) {
  .header-nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border-radius: 999px; text-decoration: none; font-weight: 600;
  padding: 0.85rem 1.4rem; border: none; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.btn-play {
  background: linear-gradient(180deg, var(--coral) 0%, var(--tomato) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(228, 82, 59, 0.28);
}
.btn-play:hover {
  box-shadow: 0 14px 32px rgba(228, 82, 59, 0.36);
}
.btn-sm { padding: 0.44rem 0.92rem; font-size: 0.84rem; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }
.btn-ghost {
  background: transparent; color: var(--tomato-deep);
  border: 1.5px solid rgba(228, 82, 59, 0.38);
}
.btn-ghost:hover {
  background: rgba(228, 82, 59, 0.08);
  border-color: var(--tomato);
}
.btn-final {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(42, 29, 25, 0.2);
}
.btn-final:hover {
  background: #fff;
  box-shadow: 0 18px 36px rgba(42, 29, 25, 0.26);
}
.btn-final .btn-play-icon { color: var(--tomato); }
.btn-play-icon { width: 1.12rem; height: 1.12rem; flex-shrink: 0; }

/* Editorial Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0 0 0.85rem; color: var(--tomato-deep);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 4px rgba(228, 82, 59, 0.16);
  animation: pulse-dot 2.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(228, 82, 59, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(228, 82, 59, 0.04); }
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: var(--ink);
}
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 3.9vw, 3.2rem); margin: 0; font-weight: 600; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); margin: 0 0 0.75rem; font-weight: 600; }
h3 { font-size: 1.22rem; margin: 0 0 0.5rem; font-weight: 600; }

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.section-lead {
  margin: 0; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.65;
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* First paint: hero immediately visible */
.hero .reveal { opacity: 1; transform: none; }
.hero-cta .btn, .header-actions .btn { position: relative; z-index: 5; }

/* HERO */
.hero {
  padding: 2.75rem 0 4rem;
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: 3.5rem 0 5rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
  }
}

.brand-in-h1 {
  display: inline-block;
  margin: 0.65rem 0 1.05rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--tomato-deep);
}
.hero-sub {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  max-width: 34rem;
  line-height: 1.68;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.hero-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}
.hero-pills {
  list-style: none;
  padding: 1.35rem 0 0;
  margin: 1.75rem 0 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.42rem 0.88rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 2px 8px rgba(42, 29, 25, 0.03);
}
.pill-icon {
  width: 15px;
  height: 15px;
  color: var(--leaf);
  flex-shrink: 0;
}

/* Hero Right Stage — ZERO image overlap */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
@media (min-width: 640px) {
  .hero-stage {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
}

/* Dieter Rams / Kinfolk 25:00 Pulsing Tomato Dial Micro-Widget */
.timer-widget {
  background: var(--paper);
  border: 1px solid var(--gold-rim-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  width: min(100%, 260px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) {
  .timer-widget {
    width: 172px;
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    padding: 1.1rem 1rem 1rem;
    gap: 0.65rem;
  }
}
.timer-widget-head {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.timer-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: 0 0 0 3px rgba(228, 82, 59, 0.16);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.timer-widget-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.timer-dial {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .timer-dial {
    width: 122px;
    height: 122px;
  }
}
.timer-dial-svg {
  width: 100%;
  height: 100%;
  color: var(--ink);
}
.dial-ticks { opacity: 0.28; }
.dial-track {
  fill: none;
  stroke: rgba(228, 82, 59, 0.12);
  stroke-width: 4.5;
}
.dial-arc {
  fill: none;
  stroke: var(--tomato);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 289;
  stroke-dashoffset: 289;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  animation: dial-sweep 4.2s ease-in-out infinite alternate;
}
@keyframes dial-sweep {
  from { stroke-dashoffset: 210; }
  to { stroke-dashoffset: 56; }
}
.dial-leaf { fill: var(--leaf); }
.timer-dial-readout {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.timer-digits {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (min-width: 640px) {
  .timer-digits { font-size: 1.48rem; }
}
.timer-widget-foot {
  display: none;
  width: 100%;
}
@media (min-width: 640px) {
  .timer-widget-foot { display: block; }
}
.timer-scale-bar {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(91, 135, 70, 0.14);
  overflow: hidden;
}
.timer-scale-bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
}

/* Warm Terracotta-Gold Rimmed Phone Showcase Frame */
.hero-phone-frame {
  margin: 0;
  width: min(100%, 262px);
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .hero-phone-frame { width: min(100%, 278px); }
}
.phone-bezel {
  padding: 5px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--gold-rim-light) 0%, var(--gold-rim) 52%, #E5BC96 100%);
  box-shadow:
    0 24px 54px rgba(42, 29, 25, 0.14),
    0 4px 14px rgba(213, 154, 108, 0.24);
}
.phone-bezel img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 23px;
  border: 2px solid var(--paper);
  background: var(--cream-2);
}

/* SCENES — Magazine 2-column feature spread + calm companion strip */
.scenes {
  padding: 2rem 0 4.5rem;
}
.scene-spread {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 820px) {
  .scene-spread {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
  }
}
.scene-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.scene-illustration {
  background: linear-gradient(180deg, rgba(242, 233, 218, 0.55) 0%, rgba(255, 253, 249, 0.4) 100%);
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 1.5rem 0.75rem;
  color: var(--ink);
}
.scene-illustration svg {
  width: 100%;
  max-height: 132px;
  display: block;
}
.scene-card-body {
  padding: 1.45rem 1.6rem 1.7rem;
}
.scene-index {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-rim);
  margin-bottom: 0.35rem;
}
.scene-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.65;
}
.scene-wide {
  grid-column: 1 / -1;
}
@media (min-width: 720px) {
  .scene-wide {
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
  }
}
.scene-wide-art {
  padding: 1.25rem 1.5rem;
  background: rgba(242, 233, 218, 0.45);
  height: 100%;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 720px) {
  .scene-wide-art {
    border-bottom: none;
    border-right: 1px solid var(--hairline);
  }
}
.scene-wide-art svg {
  width: 100%;
  max-width: 140px;
}

/* DIFFERENCE — 3 editorial columns */
.diff {
  padding: 3.5rem 0 4.5rem;
  background: linear-gradient(180deg, transparent, rgba(242, 233, 218, 0.68) 16%, rgba(242, 233, 218, 0.68) 84%, transparent);
}
.diff-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 820px) {
  .diff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.diff-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.diff-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}
.diff-num {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  color: rgba(228, 82, 59, 0.35);
  line-height: 1;
}
.diff-glyph {
  width: 24px;
  height: 24px;
  color: var(--tomato-deep);
  opacity: 0.78;
}
.diff-card p {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}
.diff-meter {
  height: 3px;
  border-radius: 999px;
  background: rgba(228, 82, 59, 0.12);
  overflow: hidden;
}
.diff-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--tomato), var(--gold-rim));
  border-radius: inherit;
  transition: width 1.1s ease;
}
.reveal.is-in .diff-meter span { width: var(--p); }

.diff-summary {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  gap: 0.65rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
@media (min-width: 820px) {
  .diff-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.diff-summary li {
  position: relative;
  padding-left: 1rem;
}
.diff-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--tomato);
}

/* GALLERY — Unified 5-shot showcase */
.gallery-section {
  padding: 3rem 0 4.5rem;
}
.gallery-section .container {
  width: min(100% - 2rem, 1220px);
}
.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(226px, 72vw);
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-rim-soft) transparent;
}
@media (min-width: 640px) {
  .gallery-rail {
    grid-auto-columns: 248px;
  }
}
@media (min-width: 1120px) {
  .gallery-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
    gap: 1.15rem;
  }
}

.gallery-item {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 0.85rem 0.85rem 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gallery-phone {
  margin: 0 0 0.95rem;
  padding: 3px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--gold-rim-light) 0%, var(--gold-rim) 55%, #E5BC96 100%);
  overflow: hidden;
}
.gallery-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
  background: var(--cream-2);
  transition: transform 0.55s ease;
}
.gallery-item:hover .gallery-phone img {
  transform: scale(1.02);
}
.gallery-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.gallery-meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}
.gallery-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold-rim);
}
.gallery-kicker {
  margin: 0;
  color: var(--tomato-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-copy h3 {
  font-size: 1.04rem;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}
.gallery-copy p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* VIP */
.vip-note { padding: 0 0 3.5rem; }
.vip-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.94), rgba(242, 233, 218, 0.7));
  border: 1px solid var(--gold-rim-soft);
  border-radius: var(--radius);
  padding: 1.85rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.vip-copy { max-width: 44rem; }
.vip-panel h2 { margin-bottom: 0.5rem; }
.vip-panel p:last-of-type { margin: 0; color: var(--ink-soft); }

/* Final CTA — Warm Terracotta Editorial Band */
.final-cta {
  padding: 0.5rem 0 4.5rem;
}
.final-inner {
  text-align: center;
  background: linear-gradient(135deg, #E4523B 0%, #C83F2B 100%);
  color: var(--cream);
  border-radius: calc(var(--radius) + 6px);
  padding: 3.4rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(196, 61, 40, 0.25);
  position: relative;
}
.final-inner h2 {
  color: #FFFDF9;
  margin-bottom: 0.6rem;
}
.final-ring {
  width: 108px;
  height: 108px;
  margin: 0 auto 1.35rem;
  position: relative;
  display: grid;
  place-items: center;
}
.final-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.final-ring .ring-track {
  fill: none;
  stroke: rgba(250, 245, 236, 0.24);
  stroke-width: 5;
}
.final-ring .ring-progress {
  fill: none;
  stroke: #FAF5EC;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 276;
  stroke-dashoffset: 276;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
  animation: ring-draw 4.5s ease-in-out infinite alternate;
}
@keyframes ring-draw {
  from { stroke-dashoffset: 220; }
  to { stroke-dashoffset: 56; }
}
.final-ring img {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(42, 29, 25, 0.26);
}
.final-inner p {
  color: rgba(250, 245, 236, 0.9);
  margin: 0 0 1.65rem;
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3rem;
  background: rgba(242, 233, 218, 0.55);
}
.footer-inner { display: grid; gap: 1.25rem; }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.footer-brand {
  display: flex; gap: 0.75rem; align-items: center;
}
.footer-brand img { border-radius: 10px; }
.footer-brand strong { display: block; color: var(--ink); }
.footer-brand p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.86rem; }
.page-byline,
.footer-byline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
}
.footer-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.footer-links a:hover { color: var(--tomato-deep); text-decoration: underline; }
.footer-copy { margin: 0; color: var(--muted); font-size: 0.84rem; }

@media (max-width: 640px) {
  .header-inner { gap: 0.5rem; }
  .brand { gap: 0.45rem; min-width: 0; }
  .brand img { width: 30px; height: 30px; }
  .brand-text {
    max-width: 7.4rem;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-actions { gap: 0.45rem; }
  #lang-select { padding: 0.32rem 0.52rem; font-size: 0.8rem; max-width: 6.1rem; }
  .btn-sm { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
  .hero { padding: 2rem 0 3.25rem; }
  .scene-card-body { padding: 1.25rem 1.25rem 1.4rem; }
  .vip-panel { padding: 1.45rem 1.25rem; }
  .final-inner { padding: 2.5rem 1.25rem; }
}
