/* ==========================================================================
   SOMEONE REAL — Locked V4 Visual System (Collage + Constructivism + Ink)
   Ground: Bone Paper #FAF9F5 · Solid Ink #141413 · Campaign Red #C23A2B
   Clay #D97757 (ink-only text; never paper-on-clay!) · Oat #E8E6DC
   ZERO translucent fog, ZERO blur shadows, opaque paper surfaces only.
   ========================================================================== */

:root {
  --paper: #FAF9F5;
  --bg: #FAF9F5;
  --ink: #141413;
  --line: #141413;
  --v4-red: #C23A2B;
  --red-deep: #8C3A2A;
  --clay: #D97757;
  --oat: #E8E6DC;
  --stone: #B0AEA5;
  --sage: #788C5D;
  --sage-deep: #4E5C3C;
  --slate-deep: #4A4944;
  --muted: #5C5B56;

  --font-display: "Inter Tight", "PingFang HK", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-body: "Newsreader", "Songti TC", "Noto Serif TC", Georgia, serif;
  --font-ui: "Space Mono", "PingFang HK", monospace;
  --font-num: "DM Sans", "Inter Tight", sans-serif;

  --ease-wipe: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-draw: cubic-bezier(0.45, 0, 0.15, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--paper);
  color: var(--ink);
}

html.motion-off {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Subtle original procedural paper grain across bone ground — solid, non-foggy */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../assets/original/paper-grain.svg");
  background-size: 220px 220px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

button, input {
  font-family: inherit;
}

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2.5px solid var(--v4-red);
  outline-offset: 2px;
}

/* ---------------- Top V4 Browser-Tab Chrome Bar (P01 / P08 / P11) ---------------- */
.v4-chrome {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}

.v4-chrome-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.v4-tabs-left {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.v4-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px 11px 0;
}

.v4-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
}
.v4-dot--clay { background: var(--clay); }
.v4-dot--red { background: var(--v4-red); }
.v4-dot--sage { background: var(--sage); }

.v4-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 8px;
  border: 1.5px solid var(--ink);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 160ms ease, transform 160ms ease;
}

.v4-tab:hover {
  background: var(--oat);
}

.v4-tab.is-active {
  background: var(--oat);
  font-weight: 800;
}

.v4-chrome-right {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  flex-wrap: wrap;
}

.v4-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.v4-pill:hover {
  background: var(--oat);
}

.v4-pill--support {
  background: var(--v4-red);
  color: var(--paper);
  border-color: var(--ink);
}

.v4-pill--support:hover {
  background: var(--ink);
  color: var(--paper);
}

.v4-pill--tag {
  background: var(--oat);
  cursor: default;
  font-weight: 400;
}

/* Scroll Progress + Swiss 12-Col Calibration Ruler Ticks */
.v4-ruler {
  position: relative;
  height: 12px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.v4-ruler-progress {
  position: absolute;
  left: 0;
  top: -1.5px;
  height: 3.5px;
  width: 12%;
  background: var(--v4-red);
  transition: width 120ms linear;
}

.v4-tick {
  width: 1px;
  height: 7px;
  background: var(--ink);
  opacity: 0.45;
}

/* ---------------- Layout Container & Swiss Grid ---------------- */
.v4-wrap {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.v4-section {
  position: relative;
  z-index: 2;
  padding: 56px 0 64px;
  border-bottom: 1.5px solid var(--ink);
}

.v4-section--flush-bottom {
  padding-bottom: 0;
}

.v4-kicker-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.v4-kicker {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-deep);
}

.v4-kicker-rule {
  flex: 1;
  max-width: 220px;
  height: 1.5px;
  background: var(--ink);
}

.v4-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.v4-lead {
  margin: 14px 0 0;
  max-width: 68ch;
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate-deep);
}

/* ---------------- Hero Stage (P01 Constructivist DNA) ---------------- */
.v4-hero {
  padding: 36px 0 0;
  border-bottom: 1.5px solid var(--ink);
  position: relative;
  z-index: 2;
}

.v4-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3.4fr);
  gap: 32px;
  align-items: start;
}

.v4-hero-title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.6vw, 4.9rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
}

/* Constructivist cut-paper red block behind key display word (P01) */
.v4-red-shard {
  display: inline-block;
  position: relative;
  padding: 2px 14px 6px 10px;
  margin: 4px 0 4px -10px;
  background: var(--v4-red);
  color: var(--paper);
  transform: rotate(-1deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.v4-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.v4-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--v4-red);
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.v4-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--v4-red);
}

.v4-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--v4-red);
}

.v4-btn--secondary {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.v4-btn--secondary:hover {
  background: var(--oat);
  box-shadow: 7px 7px 0 var(--ink);
}

.v4-btn--clay {
  /* Strict contrast rule: ink #141413 on clay #D97757 (NEVER paper on clay!) */
  background: var(--clay);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.v4-btn--clay:hover {
  box-shadow: 7px 7px 0 var(--ink);
}

.v4-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* Center column P01 editorial quote box with hatched offset shadow */
.v4-hero-mid {
  border-left: 1.5px solid var(--ink);
  padding-left: 24px;
}

.v4-hero-story {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}

.v4-hatched-box {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 18px 20px;
}

.v4-hatched-box::after {
  content: "";
  position: absolute;
  inset: 7px -7px -7px 7px;
  z-index: -1;
  border: 1.5px solid var(--ink);
  background: repeating-linear-gradient(
    -45deg,
    var(--ink) 0 1.25px,
    transparent 1.25px 5px
  );
}

.v4-hatched-box em {
  display: block;
  font-style: italic;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}

.v4-tagline {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 700;
  font-size: 21px;
  color: var(--ink);
}

.v4-caption {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--slate-deep);
}

/* Right column: original bespoke V4 Canteen Collage Print + interactive clickable draft stamp */
.v4-hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.v4-art-frame {
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}

.v4-art-stage {
  padding: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
}

.v4-art-frame--plate {
  position: relative;
  padding: 24px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.v4-art-frame--plate .v4-art-img {
  width: 100%;
  height: auto;
  max-height: 310px;
  object-fit: contain;
}

.v4-plate-micro {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-deep);
  pointer-events: none;
  z-index: 2;
}

.v4-plate-micro--tag {
  padding: 2px 6px;
  background: var(--paper);
  border: 1px solid rgba(20, 20, 19, 0.25);
}

.v4-art-img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.v4-art-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1.5px solid var(--ink);
  background: var(--oat);
}

.v4-draft-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--v4-red);
}

.v4-draft-stamp:hover {
  background: var(--clay);
}

.v4-inline-art-box {
  position: relative;
  margin-bottom: 18px;
  border: 1.5px solid var(--ink);
  background-color: var(--paper);
  overflow: hidden;
}

.v4-inline-art-box--split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  min-height: 256px;
}

.v4-split-art-stage {
  position: relative;
  padding: 22px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
}

.v4-split-art-stage .v4-art-img {
  width: 100%;
  height: auto;
  max-height: 224px;
  object-fit: contain;
}

.v4-split-art-meta {
  padding: 18px 18px;
  border-left: 1.5px solid var(--ink);
  background: var(--oat);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.v4-split-meta-head {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-deep);
}

.v4-split-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.v4-split-meta-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(20, 20, 19, 0.18);
}

.v4-split-meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.v4-split-meta-list span {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--v4-red);
}

.v4-inline-art-box--bleed {
  height: 256px;
}

.v4-inline-art-box--bleed .v4-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.v4-desk-banner {
  margin-top: 24px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  overflow: hidden;
}

.v4-desk-visual {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.v4-desk-visual .v4-art-img {
  width: 100%;
  height: auto;
  max-height: 315px;
  object-fit: contain;
}

.v4-desk-spec {
  padding: 24px 28px;
  border-left: 1.5px solid var(--ink);
  background: var(--oat);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.v4-desk-spec-kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-deep);
}

.v4-desk-spec-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.v4-desk-spec-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 1.48;
  color: var(--slate-deep);
}

.v4-desk-spec-list strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.v4-timer-controls {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.v4-timer-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.v4-timer-btn:hover,
.v4-timer-btn.is-active {
  background: var(--clay);
  color: var(--ink);
  border-color: var(--clay);
}

/* Original Full-Bleed Panoramic HK Architectural Elevation (Zero Left/Right Gaps + Uncropped Top!) */
.v4-skyline-band {
  position: relative;
  width: 100%;
  margin-top: 8px;
  padding-top: 0;
  overflow: hidden;
  background: transparent;
}

.v4-skyline-canvas {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.v4-skyline-svg {
  display: block;
  width: calc(100% + 24px);
  max-width: none;
  margin-left: -12px;
  height: auto;
  will-change: transform;
  transition: transform 220ms ease-out;
}

html.motion-off .v4-skyline-svg {
  transform: none !important;
  transition: none !important;
}

/* ---------------- Section 01: 4-Frame Storyboard (P08) + First-Line Builder ---------------- */
.v4-crop-frame {
  position: relative;
  padding: 16px;
}

.v4-crop-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--ink);
  border-style: solid;
  pointer-events: none;
}
.v4-crop-mark--tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.v4-crop-mark--tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.v4-crop-mark--bl { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.v4-crop-mark--br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.v4-timeline-ticks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.v4-frames-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.v4-frame-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--oat);
  border: 2px solid var(--ink);
  padding: 14px;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 180ms ease;
}

.v4-frame-card:hover {
  transform: translateY(-3px);
}

/* Frame 4 is clay with ink text (strict AA, zero paper-on-clay!) */
.v4-frame-card--cta {
  background: var(--clay);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--v4-red);
}

.v4-frame-num {
  font-family: var(--font-num);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.v4-frame-stage {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.v4-frame-win {
  margin-top: 12px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 10px 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v4-frame-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 700;
}

.v4-frame-quote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.38;
  color: var(--ink);
}

.v4-frame-sub {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--slate-deep);
}

.v4-frame-thumb {
  width: 82px;
  max-height: 58px;
  object-fit: contain;
  height: auto;
  align-self: flex-end;
  margin-top: 10px;
}

/* Builder + Decline Playbook 2-col */
.v4-two-col {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
}

.v4-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 24px;
  box-shadow: 6px 6px 0 var(--ink);
}

.v4-card--oat {
  background: var(--oat);
}

.v4-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v4-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.v4-chip {
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.v4-chip:hover {
  background: var(--oat);
}

.v4-chip.is-selected {
  background: var(--ink);
  color: var(--paper);
}

/* P18-style Messages window for Builder Output */
.v4-msg-window {
  margin-top: 18px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--ink);
}

.v4-msg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--oat);
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.v4-msg-body {
  padding: 16px;
}

.v4-msg-bubble {
  padding: 12px 15px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--oat);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.v4-msg-alt {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--slate-deep);
}

.v4-msg-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1.5px solid var(--ink);
  background: var(--paper);
}

.v4-plane-decor {
  width: 96px;
  height: auto;
  display: block;
}

/* ---------------- Section 02: 10:00 Campus Desk & Navigator (P11) ---------------- */
.v4-p11-split {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  gap: 24px;
  align-items: stretch;
}

.v4-clock-block {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 26px 28px;
  box-shadow: 8px 8px 0 var(--clay);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v4-clock-digits {
  font-family: var(--font-num);
  font-size: clamp(4.2rem, 8.2vw, 6.8rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.v4-clock-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--oat);
}

.v4-sticker-pasan {
  position: absolute;
  right: 14px;
  bottom: -14px;
  width: 96px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(3px 3px 0 var(--ink));
}

.v4-nav-stack {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--ink);
  background: var(--oat);
  box-shadow: 6px 6px 0 var(--ink);
}

.v4-nav-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  background: var(--oat);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.v4-nav-row:last-child {
  border-bottom: none;
}

.v4-nav-row:hover {
  background: var(--paper);
}

.v4-nav-row.is-active {
  background: var(--ink);
  color: var(--paper);
}

.v4-nav-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
}

.v4-nav-row.is-active .v4-nav-check {
  background: var(--v4-red);
  border-color: var(--paper);
  color: var(--paper);
}

.v4-nav-main {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
}

.v4-nav-sub {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  opacity: 0.78;
}

/* Booking Desk Workspace */
.v4-booking-workspace {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
  gap: 24px;
  align-items: start;
}

.v4-mode-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 14px;
  background: var(--oat);
  border: 1.5px dashed var(--ink);
  font-family: var(--font-ui);
  font-size: 12px;
}

.v4-slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.v4-slot-btn {
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.v4-slot-btn:hover:not(:disabled) {
  background: var(--oat);
}

.v4-slot-btn.is-selected {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--clay);
}

.v4-slot-btn:disabled {
  border-style: dashed;
  background: var(--oat);
  color: var(--slate-deep);
  cursor: not-allowed;
  opacity: 0.72;
}

.v4-slot-time {
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.v4-slot-meta {
  margin-top: 3px;
  font-family: var(--font-ui);
  font-size: 11px;
  opacity: 0.8;
}

.v4-consent-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: var(--oat);
  cursor: pointer;
  font-size: 15px;
}

.v4-consent-row input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--ink);
}

.v4-ticket {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 20px;
  box-shadow: 6px 6px 0 var(--sage-deep);
}

.v4-ticket-stub {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 2px dashed var(--ink);
}

.v4-walk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v4-walk-item {
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}

.v4-walk-min {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-deep);
}

.v4-walk-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0 4px;
}

/* ---------------- Section 03: Safety, 120-Dot Matrix (P12), Support & FAQ ---------------- */
.v4-p12-banner {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}

.v4-big-120 {
  font-family: var(--font-num);
  font-size: clamp(3.4rem, 6vw, 5.2rem);
  font-weight: 800;
  line-height: 0.9;
  border-bottom: 3px solid var(--clay);
  padding-bottom: 6px;
}

.v4-dot-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.v4-dot-block {
  display: grid;
  grid-template-columns: repeat(5, 7px);
  gap: 4px;
}

.v4-dot-pip {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
}

.v4-rules-lines {
  margin-top: 24px;
  border-top: 1.5px solid var(--ink);
}

.v4-rule-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 19px;
}

.v4-support-bar {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.v4-support-plate {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border: 2px solid var(--ink);
  background: var(--oat);
  box-shadow: 6px 6px 0 var(--ink);
}

.v4-support-plate--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--v4-red);
}

.v4-faq-item {
  border-bottom: 1.5px solid var(--ink);
}

.v4-faq-btn {
  width: 100%;
  padding: 16px 0;
  border: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.v4-faq-ans {
  padding: 0 0 16px;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--slate-deep);
}

/* ---------------- Closing Recurring Scene (P18) & Footer ---------------- */
.v4-close-bar {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 26px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.38;
  box-shadow: 7px 7px 0 var(--v4-red);
}

.v4-footer {
  position: relative;
  z-index: 2;
  background: var(--oat);
  border-top: 2px solid var(--ink);
  padding: 24px 0 32px;
}

.v4-footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--ink);
}

/* ---------------- Crisp First-Paint Reveal (Zero Blank Flash; Honors Reduced Motion & A Key) ---------------- */
@keyframes inkWipe {
  from {
    opacity: 0.94;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v4-wipe {
  animation: inkWipe 420ms var(--ease-wipe) both;
}

@media (prefers-reduced-motion: reduce) {
  .v4-wipe {
    animation: none !important;
    clip-path: none !important;
  }
  .v4-skyline-svg {
    transform: none !important;
    transition: none !important;
  }
}

html.motion-off .v4-wipe {
  animation: none !important;
  clip-path: none !important;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .v4-hero-grid,
  .v4-two-col,
  .v4-p11-split,
  .v4-booking-workspace,
  .v4-desk-banner {
    grid-template-columns: 1fr;
  }
  .v4-desk-spec {
    border-left: none;
    border-top: 1.5px solid var(--ink);
  }
  .v4-hero-mid {
    border-left: none;
    border-top: 1.5px solid var(--ink);
    padding-left: 0;
    padding-top: 18px;
  }
  .v4-frames-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v4-support-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .v4-frames-grid,
  .v4-slot-grid,
  .v4-inline-art-box--split {
    grid-template-columns: 1fr;
  }
  .v4-split-art-meta {
    border-left: none;
    border-top: 1.5px solid var(--ink);
  }
  .v4-p12-banner {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   V4 ARCHITECTURAL DEPTH LAYERS & CHOREOGRAPHED MOTION DESIGN SYSTEM
   Guided by motion-design-judgment & longscroll-collage-motion craft rules:
   - 4 physical print planes (Scaffold -> Backdrop -> Skyline -> Foreground)
   - Solid archival paper alternation (Bone #FAF9F5 / Oat #F1EFE6 / Blueprint / Archival #ECE8DE)
   - Exponential ease-out & mechanical stepped snaps (zero mushy fade/bounce)
   - 100% halted cleanly under prefers-reduced-motion or `A` key (html.motion-off)
   ========================================================================== */

:root {
  --ease-snap: cubic-bezier(0.16, 1, 0.3, 1);
  --paper-oat-alt: #F1EFE6;
  --paper-archival: #ECE8DE;
}

/* ---------------- Layer 0: Fixed Swiss 12-Col Scaffold & Editorial Margin Rails ---------------- */
.v4-page-scaffold {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.v4-grid-columns {
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.v4-grid-columns span {
  border-left: 1px solid rgba(20, 20, 19, 0.032);
}

.v4-grid-columns span:last-child {
  border-right: 1px solid rgba(20, 20, 19, 0.032);
}

.v4-margin-rail {
  display: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 35;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 10px;
  color: rgba(20, 20, 19, 0.56);
  pointer-events: none;
}

@media (min-width: 1400px) {
  .v4-margin-rail {
    display: flex;
  }
}

.v4-margin-rail--left {
  left: 14px;
}

.v4-margin-rail--right {
  right: 14px;
}

.v4-rail-track {
  position: relative;
  height: 224px;
  padding-left: 12px;
  border-left: 1.5px solid rgba(20, 20, 19, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v4-rail-needle {
  position: absolute;
  left: -4px;
  top: 0;
  width: 7px;
  height: 20px;
  background: var(--v4-red);
  border: 1px solid var(--ink);
  will-change: transform;
  transition: transform 90ms linear;
}

.v4-rail-mark {
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.45;
  transition: opacity 180ms ease, color 180ms ease, transform 180ms var(--ease-snap);
}

.v4-rail-mark.is-active {
  opacity: 1;
  color: var(--v4-red);
  transform: translateX(3px);
}

.v4-rail-vertical {
  writing-mode: vertical-rl;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 9.5px;
  color: rgba(20, 20, 19, 0.48);
}

.v4-rail-coord {
  writing-mode: vertical-rl;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-deep);
  font-variant-numeric: tabular-nums;
}

.v4-crosshair {
  font-size: 12px;
  line-height: 1;
  color: rgba(20, 20, 19, 0.42);
}

/* ---------------- Layer 1: Hero & Section Architectural Backdrops + Paper Cadence ---------------- */
.v4-hero {
  overflow: hidden;
  background-color: var(--paper);
}

.v4-hero-backdrop,
.v4-sec-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Constructivist cut-paper diagonal oat strip behind Hero right/mid columns */
.v4-hero-cut-band {
  position: absolute;
  top: 26px;
  right: -3%;
  width: 52%;
  height: 318px;
  background: var(--oat);
  border-top: 1.5px solid rgba(20, 20, 19, 0.22);
  border-bottom: 1.5px solid rgba(20, 20, 19, 0.22);
  border-left: 3px solid var(--clay);
  transform: skewY(-2deg);
  will-change: transform;
}

/* Narrow horizontal hatched registration strip tying Hero columns to skyline */
.v4-hero-hatch-strip {
  position: absolute;
  left: 0;
  top: 392px;
  width: 38%;
  height: 12px;
  border-top: 1px solid rgba(20, 20, 19, 0.35);
  border-bottom: 1px solid rgba(20, 20, 19, 0.35);
  background: repeating-linear-gradient(
    -45deg,
    rgba(20, 20, 19, 0.26) 0 1.2px,
    transparent 1.2px 6px
  );
  will-change: transform;
}

/* Monumental architectural outline numerals gliding on scroll parallax */
.v4-ghost-num {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.35px rgba(20, 20, 19, 0.085);
  user-select: none;
  will-change: transform;
}

.v4-ghost-num--hero {
  top: -12px;
  left: 24px;
  font-size: clamp(9rem, 17vw, 15.5rem);
}

.v4-ghost-num--right {
  top: 16px;
  right: 36px;
  font-size: clamp(9.5rem, 18vw, 16.5rem);
}

.v4-ghost-num--book {
  top: 18px;
  right: 32px;
  font-size: clamp(6.5rem, 13vw, 12.5rem);
}

/* Counter-rotating architectural compass reticles */
.v4-bg-compass {
  position: absolute;
  will-change: transform;
}

.v4-bg-compass--hero {
  width: 390px;
  height: 390px;
  top: -36px;
  right: 26%;
}

.v4-bg-compass--book {
  width: 320px;
  height: 320px;
  top: 24px;
  right: 22%;
}

/* Section Ground Alternation (Solid Archival Paper Stocks — Zero Fog/Blur!) */
.v4-section {
  overflow: hidden;
  background-color: var(--paper);
}

.v4-section--oat-paper {
  background-color: var(--paper-oat-alt);
}

.v4-section--bone-grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(20, 20, 19, 0.036) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.036) 1px, transparent 1px);
  background-size: 44px 44px;
}

.v4-section--archival {
  background-color: var(--paper-archival);
}

.v4-sec-rule-tag {
  position: absolute;
  top: 16px;
  right: 28px;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(20, 20, 19, 0.42);
}

/* Service 01 Constructivist top-right diagonal hatched architectural block */
.v4-corner-hatch {
  position: absolute;
  border: 1.5px solid rgba(20, 20, 19, 0.25);
  background: repeating-linear-gradient(
    -45deg,
    rgba(20, 20, 19, 0.18) 0 1.3px,
    transparent 1.3px 7px
  );
  will-change: transform;
}

.v4-corner-hatch--tr {
  top: 64px;
  right: 0;
  width: 220px;
  height: 44px;
  border-right: none;
}

/* Subtle dot-matrix blueprint field inside P08 Storyboard crop frame */
.v4-crop-frame--textured {
  background-color: rgba(250, 249, 245, 0.65);
  background-image: radial-gradient(rgba(20, 20, 19, 0.14) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Service 02 Top Hatched Architectural Seam Tape */
.v4-hatched-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 9px;
  border-bottom: 1.5px solid var(--ink);
  background: repeating-linear-gradient(
    -45deg,
    var(--ink) 0 1.4px,
    var(--oat) 1.4px 7px
  );
  z-index: 3;
}

/* Service 03 Constructivist Pigment Calibration Register Bars */
.v4-construct-bars {
  position: absolute;
  top: 66px;
  right: 28px;
  display: flex;
  gap: 7px;
  will-change: transform;
}

.v4-cbar {
  display: block;
  height: 11px;
  border: 1.5px solid var(--ink);
}

.v4-cbar--clay { width: 58px; background: var(--clay); }
.v4-cbar--sage { width: 38px; background: var(--sage); }
.v4-cbar--red  { width: 22px; background: var(--v4-red); }

/* ---------------- Constructivist Architectural Marquee Ticker Ribbon ---------------- */
.v4-ticker {
  position: relative;
  z-index: 4;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 10px 0;
}

.v4-ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: v4TickerScroll 32s linear infinite;
}

.v4-ticker:hover .v4-ticker-track {
  animation-play-state: paused;
}

.v4-ticker-item {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.v4-ticker-item--italic {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.v4-ticker-sep {
  font-size: 11px;
  line-height: 1;
}
.v4-ticker-sep--red  { color: var(--v4-red); }
.v4-ticker-sep--clay { color: var(--clay); }
.v4-ticker-sep--sage { color: var(--sage); }

@keyframes v4TickerScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---------------- Live 10:00 Clock Status Indicator & Progress Bar ---------------- */
.v4-clock-block {
  overflow: hidden;
}

.v4-clock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--oat);
}

.v4-clock-pip {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--stone);
  border: 1px solid var(--paper);
}

.v4-clock-block.is-running .v4-clock-pip {
  background: var(--v4-red);
  animation: v4PipPulse 1s steps(2, end) infinite;
}

.v4-clock-block.is-warmup .v4-clock-pip {
  background: var(--clay);
}

.v4-clock-block.is-running.is-warmup .v4-clock-pip {
  background: var(--v4-red);
}

@keyframes v4PipPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.85); }
}

.v4-clock-digits.is-tick {
  animation: v4DigitDetent 160ms var(--ease-snap);
}

@keyframes v4DigitDetent {
  0% { transform: translateY(-2px); color: var(--clay); }
  100% { transform: translateY(0); color: var(--paper); }
}

.v4-clock-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(250, 249, 245, 0.16);
}

.v4-clock-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--v4-red);
  transform-origin: left center;
  transition: width 320ms linear, background-color 200ms ease;
}

/* ---------------- Hero 4-Beat Mechanical Print Choreography ---------------- */
.v4-kicker-rule {
  transform-origin: left center;
  animation: v4RuleDraw 640ms var(--ease-snap) both;
}

@keyframes v4RuleDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.v4-hero-line {
  animation: v4HeroLineIn 460ms var(--ease-snap) both;
}

.v4-hero-line--delay {
  animation-delay: 85ms;
}

@keyframes v4HeroLineIn {
  from { opacity: 0.01; transform: translate3d(0, 14px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.v4-red-shard {
  animation: v4ShardStamp 520ms var(--ease-snap) 115ms both;
}

@keyframes v4ShardStamp {
  0%   { opacity: 0.01; transform: rotate(-4.5deg) scale(1.07); box-shadow: 0 0 0 var(--ink); }
  55%  { opacity: 1; transform: rotate(-0.4deg) scale(1.01); box-shadow: 7px 7px 0 var(--ink); }
  100% { opacity: 1; transform: rotate(-1deg) scale(1); box-shadow: 5px 5px 0 var(--ink); }
}

.v4-hatched-box::after {
  animation: v4ShadowExtrude 520ms var(--ease-snap) 220ms both;
}

@keyframes v4ShadowExtrude {
  from { transform: translate3d(-7px, -7px, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.v4-art-frame--hero {
  animation: v4HeroLineIn 520ms var(--ease-snap) 200ms both;
}

#heroSkyline {
  animation: v4SkylineRise 680ms var(--ease-snap) 260ms both;
}

@keyframes v4SkylineRise {
  from { opacity: 0.01; transform: translate3d(0, 18px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* ---------------- Scroll-Triggered Architectural Reveals (.v4-reveal) ---------------- */
html.v4-motion-ready:not(.motion-off) .v4-reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 460ms var(--ease-snap) var(--reveal-delay, 0ms),
    transform 460ms var(--ease-snap) var(--reveal-delay, 0ms);
}

html.v4-motion-ready:not(.motion-off) .v4-reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.v4-motion-ready:not(.motion-off) .v4-kicker-row.v4-reveal .v4-kicker-rule {
  transform: scaleX(0);
  transition: transform 620ms var(--ease-snap) 120ms;
  animation: none;
}

html.v4-motion-ready:not(.motion-off) .v4-kicker-row.v4-reveal.is-in .v4-kicker-rule {
  transform: scaleX(1);
}

/* 4-Frame P08 Storyboard Rhythmic Beat Stagger */
html.v4-motion-ready:not(.motion-off) .v4-crop-frame:not(.is-in) .v4-frame-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

html.v4-motion-ready:not(.motion-off) .v4-crop-frame.is-in .v4-frame-card {
  animation: v4FrameBeatIn 440ms var(--ease-snap) both;
}

.v4-crop-frame.is-in .v4-frame-card:nth-child(1) { animation-delay: 40ms; }
.v4-crop-frame.is-in .v4-frame-card:nth-child(2) { animation-delay: 125ms; }
.v4-crop-frame.is-in .v4-frame-card:nth-child(3) { animation-delay: 210ms; }
.v4-crop-frame.is-in .v4-frame-card:nth-child(4) { animation-delay: 295ms; }

@keyframes v4FrameBeatIn {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* 120-Dot Matrix Block-by-Block Mechanical Snap */
html.v4-motion-ready:not(.motion-off) #capacityBanner:not(.is-in) .v4-dot-block {
  opacity: 0.15;
  transform: scale(0.86);
}

html.v4-motion-ready:not(.motion-off) #capacityBanner.is-in .v4-dot-block {
  animation: v4DotBlockSnap 260ms var(--ease-snap) both;
}

#capacityBanner.is-in .v4-dot-block:nth-child(1) { animation-delay: 40ms; }
#capacityBanner.is-in .v4-dot-block:nth-child(2) { animation-delay: 105ms; }
#capacityBanner.is-in .v4-dot-block:nth-child(3) { animation-delay: 170ms; }
#capacityBanner.is-in .v4-dot-block:nth-child(4) { animation-delay: 235ms; }
#capacityBanner.is-in .v4-dot-block:nth-child(5) { animation-delay: 300ms; }
#capacityBanner.is-in .v4-dot-block:nth-child(6) { animation-delay: 365ms; }

@keyframes v4DotBlockSnap {
  from { opacity: 0.12; transform: translateY(6px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------------- Tactile Mechanical Interaction Micro-Motions ---------------- */
.v4-card,
.v4-support-plate,
.v4-art-frame,
.v4-desk-banner,
.v4-p12-banner {
  transition: transform 200ms var(--ease-snap), box-shadow 200ms var(--ease-snap);
}

.v4-card:hover,
.v4-support-plate:hover,
.v4-art-frame:hover {
  transform: translate3d(-2px, -2px, 0);
  box-shadow: 8px 8px 0 var(--ink);
}

.v4-support-plate--primary:hover {
  box-shadow: 8px 8px 0 var(--v4-red);
}

.v4-msg-window.is-flash-snap {
  animation: v4PlateFlash 240ms var(--ease-snap);
}

@keyframes v4PlateFlash {
  0%   { transform: translate3d(0, 0, 0); box-shadow: 5px 5px 0 var(--v4-red); border-color: var(--v4-red); }
  45%  { transform: translate3d(3px, 0, 0); box-shadow: 2px 2px 0 var(--v4-red); }
  100% { transform: translate3d(0, 0, 0); box-shadow: 5px 5px 0 var(--ink); border-color: var(--ink); }
}

.is-reply-snap {
  animation: v4ReplyShift 280ms var(--ease-snap) both;
}

.is-reply-snap--delay {
  animation: v4ReplyShift 320ms var(--ease-snap) 75ms both;
}

@keyframes v4ReplyShift {
  from { opacity: 0.25; transform: translate3d(-10px, 0, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

.v4-draft-stamp.is-stamped {
  animation: v4StampHit 240ms var(--ease-snap);
}

@keyframes v4StampHit {
  0%   { transform: scale(0.95); background: var(--clay); }
  60%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.v4-ticket {
  animation: v4TicketPrint 380ms var(--ease-snap) both;
}

@keyframes v4TicketPrint {
  from { opacity: 0; transform: translate3d(0, -14px, 0) scaleY(0.96); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); }
}

/* ---------------- Strict Reduced-Motion & `A` Key Freeze ---------------- */
html.motion-off *,
html.motion-off *::before,
html.motion-off *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

html.motion-off .v4-ticker-track {
  animation: none !important;
  transform: none !important;
}

html.motion-off [data-parallax],
html.motion-off [data-rotate] {
  transform: none !important;
}

html.motion-off .v4-reveal,
html.motion-off .v4-frame-card,
html.motion-off .v4-dot-block {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .v4-ticker-track,
  .v4-hero-line,
  .v4-red-shard,
  .v4-kicker-rule,
  .v4-hatched-box::after,
  .v4-art-frame--hero,
  #heroSkyline,
  .v4-clock-pip,
  .v4-ticket {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  [data-parallax],
  [data-rotate] {
    transform: none !important;
  }
}

@media (max-width: 1024px) {
  .v4-hero-cut-band,
  .v4-bg-compass,
  .v4-hero-hatch-strip,
  .v4-corner-hatch {
    display: none;
  }
}


/* ---------------- Dedicated Mobile Craft Adaptation (<= 640px · 390×844 Phone Ready) ---------------- */
@media (max-width: 640px) {
  .v4-wrap {
    padding: 0 16px;
  }

  /* Slim sticky mobile chrome (<= 78px): compact top utility row + single-line scrollable tabs */
  .v4-chrome-inner {
    padding: 8px 14px 0;
    gap: 8px;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .v4-chrome-right {
    padding-bottom: 2px;
    justify-content: space-between;
    gap: 6px;
  }

  .v4-pill {
    padding: 5px 9px;
    font-size: 11px;
    min-height: 32px;
  }

  .v4-dots,
  .v4-pill--tag {
    display: none;
  }

  .v4-tabs-left {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
  }

  .v4-tabs-left::-webkit-scrollbar {
    display: none;
  }

  .v4-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 11px 7px;
    font-size: 13px;
  }

  .v4-ruler {
    height: 8px;
    padding: 0 14px;
  }

  .v4-hero {
    padding-top: 22px;
  }

  .v4-hero-title {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    line-height: 0.98;
  }

  .v4-hero-actions {
    margin-top: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .v4-btn {
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .v4-btn--sm {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .v4-section {
    padding: 38px 0 46px;
  }

  .v4-section--flush-bottom {
    padding-bottom: 0;
  }

  .v4-h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.25rem);
  }

  .v4-lead {
    font-size: 16.5px;
  }

  .v4-card,
  .v4-p12-banner,
  .v4-support-plate,
  .v4-clock-block {
    padding: 18px 16px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .v4-clock-block {
    box-shadow: 5px 5px 0 var(--clay);
  }

  .v4-clock-digits {
    font-size: clamp(3.4rem, 16vw, 4.4rem);
  }

  .v4-timer-btn {
    min-height: 38px;
    padding: 7px 11px;
  }

  .v4-desk-spec {
    padding: 18px 16px;
  }

  .v4-inline-art-box--bleed {
    height: 210px;
  }

  .v4-crop-frame {
    padding: 12px 10px;
  }

  .v4-timeline-ticks {
    display: none;
  }

  /* Keep Hong Kong skyline bold & readable on narrow 390px phone screens (center IFC2 + BoC + Terracotta + Ferry) */
  .v4-skyline-svg {
    width: 100%;
    margin-left: 0;
    height: 158px;
    object-fit: cover;
    object-position: center bottom;
  }

  /* Scale background watermarks down cleanly so they add depth without clutter on mobile */
  .v4-ghost-num--hero,
  .v4-ghost-num--right,
  .v4-ghost-num--book {
    font-size: 5.5rem;
    top: 8px;
    right: 12px;
    left: auto;
    opacity: 0.55;
  }

  .v4-sec-rule-tag,
  .v4-construct-bars {
    display: none;
  }

  .v4-ticker-item {
    font-size: 10.5px;
  }

  .v4-ticker-item--italic {
    font-size: 13.5px;
  }
}
