/* coming-soon.css — Teethgirlxoxo.cc Coming Soon "The Inevitable Drop"
 * Neo-brutalist + Cutesy + Latina Goth single-scroll experience.
 * Minimalist gothic dread, high-contrast silhouettes, and live crucible telemetry. */

@property --accent { syntax: '<color>'; inherits: true; initial-value: #ff453a; }

:root {
  --canvas: #0c0b10;   /* night: the photo is dark, the page ink is dark */
  --ink: #ffffff;      /* stark white at the top, ramps to dark red on scroll */
  --night: #0c0b10;
  --paper: #f6f1e4;
  --toast: #b08d57;
  --tomato: #ff453a;
  --magenta: #ff2d8d;
  --teal: #29f7dc;
  --ochre: #e8a33d;
  --uv: #8b5cf6;
  --stroke: 3px;
  --font-goth: 'UnifrakturMaguntia', 'Pirata One', serif;   /* heraldic blackletter: headings */
  --font-sans: 'Pirata One', 'UnifrakturMaguntia', serif;   /* blackletter that stays legible */
  /* hall backdrop — driven by coming-soon.js on scroll */
  --hall-blur: 0px;
  --glow: 0.45;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--canvas); color: var(--ink); }
body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.06rem;
  line-height: 1.65;
  overflow-x: hidden;
  transition: --accent 0.8s ease;
  /* heraldic shadow: engraves the blackletter and holds it off the photo */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.7);
  font-synthesis-weight: none;  /* blackletter has one weight; no faux-bold smear */
}

/* ---- edge gutters with floating gothic-cutesy motifs ---- */
.edge {
  position: fixed; top: 0; bottom: 0; width: 100px; z-index: 10;
  display: flex; align-items: center; pointer-events: none;
}
.edge-left { left: 0; justify-content: center; border-right: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.edge-right { right: 0; justify-content: center; border-left: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.edge-left { transform: scaleX(-1); }

.motif {
  position: absolute; width: 64px; height: 64px;
  fill: none; stroke: var(--accent); stroke-width: var(--stroke);
  opacity: 0; transform: translateX(-30px) scale(0.7);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
}
.motif.active {
  opacity: 0.95; transform: translateX(0) scale(1);
  animation: float 4.5s ease-in-out infinite;
}

.edge-left .m-tooth { top: 22%; }
.edge-left .m-fang { top: 44%; }
.edge-left .m-seltzer { top: 66%; }
.edge-right .m-heart { top: 28%; }
.edge-right .m-tooth { top: 50%; }
.edge-right .m-fang { top: 72%; }

@keyframes float {
  0%, 100% { transform: translateY(-8px) rotate(-2deg); }
  50% { transform: translateY(8px) rotate(2deg); }
}

/* ---- header & live telemetry indicator ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px;
  background: color-mix(in srgb, var(--canvas) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid color-mix(in srgb, var(--ink) 12%, transparent);
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; letter-spacing: -0.03em; font-size: 1.15rem;
}
.brand-mark { font-size: 1.3rem; }
.telemetry {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-goth); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: color-mix(in srgb, var(--ink) 75%, transparent);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ---- monolithic sections: thin centered scroll ---- */
main {
  position: relative; z-index: 20;
  max-width: 640px; margin: 0 auto;
}
.block {
  min-height: 74vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 84px 12%;
  position: relative;
}
#omen.block {
  /* hero: pure text, no clock overlap — the clocks get their own section */
  justify-content: flex-start;
  padding-top: 140px;
}
#omen .hero-cta { margin-top: 40px; }

/* giant watermark words removed — no drifting text behind the sections */

/* ---- liminal hall backdrop -------------------------------------------- */
/* Sits under every other layer (bg clocks, clock stage, fog, rails, content).
 * Three stacked pieces: the photo, a scrim that carves out a legible column
 * over the vanishing point, and an accent glow standing in for "the light at
 * the end". --hall-zoom / --hall-blur / --glow are written by the scroll loop. */
.hall {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
  /* fill = the photo's own rendered edge tone (near-black): the photo
   * brightens to ~#000 at every border, so the surrounding fill must be
   * black too or its edges read as a seam against the lighter canvas */
  background: #000;
}
/* full-bleed cover: the drop is a 1266x700 thumbnail; cover upscales it
 * (max ~1.54x at 1080p — fine for a dark night shot under the DOF blur)
 * so every viewport is photo edge-to-edge instead of showing fill bands */
.hall::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("/bg/street-2743.jpg");
  background-size: cover;
  background-position: center top; background-repeat: no-repeat;
  filter: blur(var(--hall-blur, 0px)) brightness(1.42) contrast(1.08);
}
/* shallow depth of field: a second, blurred copy of the same photo, masked so
 * only the periphery goes soft while the centre stays readable. */
.hall-dof {
  position: absolute; inset: 0;
  background-image: url("/bg/street-2743.jpg");
  background-size: cover; /* must match .hall::before or the blur misaligns */
  background-position: center top; background-repeat: no-repeat;
  filter: blur(7px) brightness(1.08);
  -webkit-mask-image: radial-gradient(ellipse 46% 58% at 50% 46%, transparent 26%, #000 82%);
  mask-image: radial-gradient(ellipse 46% 58% at 50% 46%, transparent 26%, #000 82%);
}
.hall::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    /* ink floor + ceiling only — no halo over the centre of the scroll */
    linear-gradient(180deg,
      color-mix(in srgb, var(--canvas) 58%, transparent) 0%,
      color-mix(in srgb, var(--canvas) 10%, transparent) 22%,
      transparent 52%,
      color-mix(in srgb, var(--canvas) 24%, transparent) 82%,
      color-mix(in srgb, var(--canvas) 68%, transparent) 100%);
}
/* the light at the end, tinted by the scroll accent — screen so it adds light */
.hall-glow {
  position: absolute; inset: 0; z-index: 2;
  opacity: var(--glow, 0.45);
  mix-blend-mode: screen;
  background: radial-gradient(ellipse 38% 30% at 50% 42%,
    color-mix(in srgb, var(--accent) 34%, transparent) 0%,
    color-mix(in srgb, var(--accent) 12%, transparent) 46%,
    transparent 80%);
  transition: opacity 0.35s linear;
}
@media (max-width: 860px) {
  /* cover is ~1:1 on a phone (845px image vs ~844px viewport height) */
  .hall::before, .hall-dof { background-size: cover; background-position: center; }
  .hall::after {
    background:
      linear-gradient(180deg,
        color-mix(in srgb, var(--canvas) 84%, transparent) 0%,
        color-mix(in srgb, var(--canvas) 40%, transparent) 26%,
        color-mix(in srgb, var(--canvas) 46%, transparent) 72%,
        color-mix(in srgb, var(--canvas) 90%, transparent) 100%),
      radial-gradient(ellipse 66% 70% at 50% 46%,
        color-mix(in srgb, var(--canvas) 50%, transparent) 0%,
        color-mix(in srgb, var(--canvas) 22%, transparent) 58%,
        transparent 86%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hall-dof { display: none; }
}

/* drifting fog layer between background and content */
.fog {
  position: fixed; inset: -20%; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 20% 30%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 35% 25% at 75% 70%, color-mix(in srgb, var(--accent) 5%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 55% 15%, color-mix(in srgb, var(--ink) 2%, transparent) 0%, transparent 70%);
  animation: fog-drift 26s ease-in-out infinite alternate;
}
@keyframes fog-drift {
  from { transform: translate(-2%, -1%) scale(1); }
  to { transform: translate(2%, 2%) scale(1.06); }
}

/* the dedicated clock highlight section — long, clear view */
.clock-section {
  justify-content: flex-start;
  padding-top: 120px;
  min-height: 280vh; /* the full-view moment lasts */
}
.clock-caption {
  font-family: var(--font-goth);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900; color: var(--ink);
  text-align: center; width: 100%;
  text-transform: uppercase; letter-spacing: 0.04em;
  text-shadow: 0 0 26px color-mix(in srgb, var(--accent) 60%, transparent);
  margin-bottom: 8vh;
}
.clock-hint { margin-top: 24px; font-size: 1rem; color: color-mix(in srgb, var(--ink) 60%, transparent); }

/* bold zig-zag narration weaving between the fixed clocks */
.zig {
  font-family: var(--font-goth);
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--ink);
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 55%, transparent);
  width: 78%;
  margin: 26vh 0;
  text-align: left;
}
.zig-r { text-align: right; margin-left: auto; }
.zig:nth-of-type(odd)  { transform: rotate(-1.2deg); }
.zig:nth-of-type(even) { transform: rotate(1.2deg); }

/* unified 3-tier closing section */
.tier { margin-top: 72px; }
.tier-label {
  font-family: var(--font-goth);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.tier-copy {
  font-size: 1.1rem; line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 85%, transparent);
  margin-bottom: 24px;
}
.tier .portal-links { font-size: 0.85rem; margin-top: 28px; }

.block::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent) 7%, transparent) 0%, transparent 65%);
  pointer-events: none;
}

.kicker {
  font-family: var(--font-goth); font-size: 0.78rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: "—"; color: var(--accent);
}

h1.monolith-title {
  font-size: clamp(3rem, 7.5vw, 6.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 24px;
}
h2.monolith-sub {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* engraved heraldic drop: the big blackletter sits in its own shadow */
h1.monolith-title, h2.monolith-sub, .clock-caption, .zig, .ig-mega-handle {
  text-shadow:
    0 3px 0 rgba(0, 0, 0, 0.55),
    0 8px 26px rgba(0, 0, 0, 0.85),
    0 0 30px color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ---- §1: countdown clock (neo-brutalist) ---- */
.countdown-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 580px; margin: 36px 0;
}
.countdown-box {
  background: var(--canvas);
  border: 2px solid var(--ink);
  padding: 18px 12px;
  text-align: center;
  box-shadow: 6px 6px 0 var(--accent);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.countdown-box:hover {
  transform: translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--accent);
}
.countdown-val {
  font-family: var(--font-goth); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1; margin-bottom: 6px; color: var(--ink);
}
.countdown-label {
  font-family: var(--font-goth); font-size: 0.65rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: color-mix(in srgb, var(--ink) 60%, transparent);
}

.dread-whisper {
  font-size: 1.15rem; color: color-mix(in srgb, var(--ink) 80%, transparent);
  max-width: 56ch; line-height: 1.6; margin-bottom: 28px;
}
.dread-whisper em {
  font-style: italic; color: var(--accent); font-weight: 600;
}

.hero-cta {
  display: inline-block;
  background: var(--tomato); color: #fff;
  border: 2px solid var(--ink);
  font-family: var(--font-goth); font-size: 0.95rem; font-weight: 700;
  padding: 14px 34px; text-decoration: none;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: fit-content;
}
.hero-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}

/* ---- §2: veiled reliquary grid ---- */
.reliquary-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px; margin-top: 40px;
}
.specimen-card {
  background: var(--canvas);
  border: 2px solid var(--ink);
  padding: 24px;
  position: relative;
  box-shadow: 8px 8px 0 var(--accent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.specimen-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--accent);
}
.specimen-art-frame {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  margin-bottom: 20px; position: relative;
}
.specimen-art-frame svg {
  width: 140px; height: 140px;
  filter: blur(1.5px) contrast(140%) drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 40%, transparent));
  transition: filter 0.4s ease, transform 0.4s ease;
}
.specimen-card:hover .specimen-art-frame svg {
  filter: blur(0px) contrast(100%) drop-shadow(0 0 24px color-mix(in srgb, var(--accent) 70%, transparent));
  transform: scale(1.08);
}
.veil-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--canvas); border: 1px solid var(--accent);
  color: var(--accent); font-family: var(--font-goth); font-size: 0.62rem;
  letter-spacing: 0.1em; padding: 2px 8px; text-transform: uppercase;
}
.specimen-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.specimen-meta {
  font-family: var(--font-goth); font-size: 0.75rem; color: color-mix(in srgb, var(--ink) 65%, transparent);
  margin-bottom: 12px;
}
.specimen-desc { font-size: 0.88rem; color: color-mix(in srgb, var(--ink) 78%, transparent); }

/* ---- §3: the rite / initiate waitlist ---- */
.initiate-box {
  background: color-mix(in srgb, var(--canvas) 90%, transparent);
  border: 2px solid var(--ink);
  padding: 40px; max-width: 620px;
  box-shadow: 10px 10px 0 var(--accent);
  margin-top: 32px;
}
.initiate-form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 8px; }
.form-row label {
  font-family: var(--font-goth); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink);
}
.form-row input {
  background: var(--canvas); color: var(--ink);
  border: 2px solid var(--ink); padding: 14px 16px;
  font-family: var(--font-sans); font-size: 1rem;
  outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row input:focus {
  border-color: var(--accent);
  box-shadow: 4px 4px 0 var(--accent);
}
.submit-btn {
  background: var(--magenta); color: #fff;
  border: 2px solid var(--ink);
  padding: 16px 24px;
  font-family: var(--font-goth); font-size: 0.95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  cursor: pointer; box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 8px;
}
.submit-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}
.submit-btn:disabled {
  opacity: 0.6; cursor: not-allowed;
}

/* ---- ticket display upon completion ---- */
.initiate-ticket {
  display: none;
  background: var(--canvas);
  border: 2px solid var(--accent);
  padding: 28px; margin-top: 24px;
  box-shadow: 8px 8px 0 var(--accent);
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.ticket-header {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent);
  padding-bottom: 12px; margin-bottom: 16px;
}
.ticket-badge {
  font-family: var(--font-goth); font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--accent); text-transform: uppercase;
}
.ticket-number {
  font-family: var(--font-goth); font-size: 2.2rem; font-weight: 900;
  color: var(--ink); margin-bottom: 8px;
}
.ticket-msg {
  font-size: 0.92rem; color: color-mix(in srgb, var(--ink) 80%, transparent);
  margin-bottom: 18px;
}
.ticket-actions {
  display: flex; gap: 12px; font-family: var(--font-goth); font-size: 0.8rem;
}
.copy-ticket-btn {
  background: var(--canvas); color: var(--ink);
  border: 1px solid var(--ink); padding: 8px 16px; cursor: pointer;
}
.copy-ticket-btn:hover {
  background: var(--ink); color: var(--canvas);
}

/* ---- §3: follow — the maker, one link ---- */
.lore-content { max-width: 64ch; margin-top: 24px; }
.lore-content p {
  font-size: 1.15rem; line-height: 1.7;
  color: color-mix(in srgb, var(--ink) 85%, transparent);
  margin-bottom: 20px;
}
.ig-mega {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 36px; padding: 34px 28px;
  background: var(--canvas);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--accent);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.3s ease;
}
.ig-mega:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 var(--accent);
  border-color: var(--accent);
}
.ig-mega-handle {
  font-family: var(--font-goth);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1;
  color: var(--ink); /* white against the black canvas */
  word-break: break-all;
}
.ig-mega-sub {
  font-family: var(--font-goth);
  font-size: 1.05rem; letter-spacing: 0.12em;
  color: var(--accent);
}
.lore-quote {
  border-left: 3px solid var(--accent);
  padding-left: 20px; font-style: italic; margin: 28px 0;
  color: color-mix(in srgb, var(--ink) 95%, transparent);
}

/* ---- §5: crucible telemetry & footer ---- */
.crucible-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 32px 0; max-width: 720px;
}
.crucible-node {
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
  padding: 16px; font-family: var(--font-goth);
}
.node-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--ink) 60%, transparent); margin-bottom: 6px;
}
.node-status { font-size: 0.95rem; font-weight: 700; color: var(--accent); }

.portal-links {
  display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px;
  font-family: var(--font-goth); font-size: 0.88rem;
}
.portal-links a {
  color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.portal-links a:hover { color: var(--accent); }

.consent-note {
  margin-top: 14px; font-size: 0.78rem;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
}
.consent-note a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); }
.consent-note a:hover { color: var(--ink); }

footer.sanctuary-footer {
  margin-top: 60px; font-family: var(--font-goth); font-size: 0.78rem;
  color: color-mix(in srgb, var(--ink) 50%, transparent);
}

/* ---- side rails removed: no drifting vertical text, no lattice/dot pattern -- */

/* ---- mobile responsiveness ---- */
@media (max-width: 860px) {
  main { max-width: none; margin: 0 10px; }
  .block { padding: 90px 7%; }
  .edge { width: 44px; }
  .motif { width: 36px; height: 36px; }
  .site-header { padding: 14px 20px; }
  .telemetry span:last-child { display: none; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
  .initiate-box { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .motif.active { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- conflicting clock ensemble: fixed wrapper around the scroll ---- */
.clock-stage {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
}
.clock-ensemble {
  display: block; margin: 0;
  will-change: transform, opacity, filter;
  transition: transform 0.15s linear, opacity 0.15s linear, filter 0.15s linear;
}
.clock-unit {
  position: absolute; width: 150px;
  border: none; padding: 0;
  background: none;
  box-shadow: none;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), width 0.35s ease;
}

/* mid-page: the scattered faces tidy themselves into a plain list */
.clock-ensemble.listed {
  display: grid;
  grid-template-columns: repeat(2, minmax(96px, 150px));
  gap: 22px 40px;
  justify-content: center;
  align-content: center;
  width: min(420px, 92vw);
}
.clock-ensemble.listed .clock-unit {
  position: static;
  width: 100%;
  transform: none !important;
  text-shadow: none;
}
.clock-ensemble.listed .clock-inner { animation-play-state: paused; }
.clock-ensemble.listed .digital { font-size: 0.95rem; }
/* wrap around the 640px column: hugging its edges, alternating sides */
.clock-unit:nth-of-type(1) { top: 8%;  left: max(200px, calc(50% - 320px - 190px)); }
.clock-unit:nth-of-type(2) { top: 24%; right: max(200px, calc(50% - 320px - 190px)); }
.clock-unit:nth-of-type(3) { top: 44%; left: max(200px, calc(50% - 320px - 190px)); }
.clock-unit:nth-of-type(4) { top: 58%; right: max(200px, calc(50% - 320px - 190px)); }
.clock-unit:nth-of-type(5) { bottom: 16%; left: max(200px, calc(50% - 320px - 190px)); }
.clock-unit:nth-of-type(6) { bottom: 10%; right: max(200px, calc(50% - 320px - 190px)); }
.clock-unit.clock-unstable:nth-of-type(odd) { left: auto; right: max(200px, calc(50% - 320px - 190px)); }
.clock-unit.clock-unstable:nth-of-type(even) { right: auto; left: max(200px, calc(50% - 320px - 190px)); }
.clock-unit.clock-unstable {
  box-shadow: none;
}
.clock-name {
  font-family: var(--font-goth); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent);
}
.clock-unit .countdown-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.clock-unit .countdown-box { border: none; box-shadow: none; background: none; padding: 0; }
.clock-unit .countdown-val {
  font-size: 2.7rem; font-weight: 900;
  text-shadow: 0 0 16px color-mix(in srgb, var(--accent) 60%, transparent);
}
.clock-unit .countdown-label {
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}
.clock-disclaimer {
  font-family: var(--font-goth); font-size: 0.75rem; font-style: italic;
  color: color-mix(in srgb, var(--ink) 55%, transparent); margin-top: 4px;
}
@media (max-width: 860px) {
  /* phones: no room to scatter, so the list layout is the only layout */
  .clock-ensemble {
    display: grid; grid-template-columns: repeat(2, minmax(96px, 1fr));
    gap: 16px; width: min(340px, 90vw);
    align-self: center;
  }
  .clock-stage { display: flex; align-items: center; justify-content: center; }
  .clock-unit { position: static; width: auto; }
}
@media (max-width: 860px) {
  .clock-ensemble { grid-template-columns: 1fr; }
}

/* ---- ambient background clocks (35 tiny floaters, side zones only) ---- */
.bg-clock-layer {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
  font-family: var(--font-goth);
}
.bg-clock {
  position: absolute;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
  will-change: transform;
}
/* the bob lives on the inner node so the scroll parallax can own the outer one */
.bg-clock-inner { animation: bg-clock-float ease-in-out infinite alternate; display: block; }
.bg-clock svg { width: 100%; height: auto; display: block; }
@keyframes bg-clock-float {
  from { transform: translateY(-16px) rotate(-1.5deg); }
  to { transform: translateY(16px) rotate(1.5deg); }
}
@media (max-width: 900px) {
  .bg-clock-layer { display: none; }
}

/* ---- for now: no buttons, no boxes — plain text links ------------------ */
/* placeholder until the real link/nav gets designed: kill every filled box,
 * shadow and border, keep the words. delete this block when links land. */
.hero-cta, .submit-btn, .copy-ticket-btn, .ig-mega {
  background: none; border: none; box-shadow: none; padding: 0;
  width: fit-content; cursor: pointer;
  color: var(--accent); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 4px;
  font-family: var(--font-goth); font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.hero-cta:hover, .submit-btn:hover, .copy-ticket-btn:hover, .ig-mega:hover {
  transform: none; box-shadow: none; color: var(--ink); border-color: var(--ink);
}
.ig-mega { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.ig-mega-handle { color: var(--ink); }
.initiate-box, .initiate-ticket { background: none; border: none; box-shadow: none; padding: 0; }
.form-row input {
  background: none; border: none;
  border-bottom: 2px solid var(--ink);
  padding: 8px 0;
}
.form-row input:focus { border-color: var(--accent); box-shadow: none; }

/* ---- unified titles & sections ----------------------------------------- */
/* one scale, one treatment: every section heading is an uppercase blackletter
 * line with the same tracking, and every section label is the same kicker. */
h1.monolith-title, h2.monolith-sub {
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-bottom: 24px;
}
.kicker, .clock-caption {
  font-family: var(--font-goth); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); text-align: left;
  margin-bottom: 16px; width: 100%; text-shadow: none;
}
.zig { font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 18vh 0; }

/* ---- clocks: analog faces that drift, digital countdowns in Helvetica --- */
.clock-inner { animation: clock-drift 14s ease-in-out infinite alternate; }
@keyframes clock-drift {
  from { transform: translate(0, 0) rotate(-1.5deg); }
  to   { transform: translate(12px, -16px) rotate(1.5deg); }
}
.clock-face {
  width: 100%; height: auto; display: block;
  fill: none; stroke: var(--ink); stroke-width: 1.4;
  opacity: 0.9; filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.7));
}
.clock-face .tick { stroke-width: 2.6; opacity: 0.75; }
.clock-face .hand {
  stroke-linecap: round; stroke-width: 3;
  transform-box: view-box; transform-origin: 50px 50px;
  animation-name: clock-spin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.clock-face .hand-h { stroke-width: 4.5; }
.clock-face .hand-m { stroke-width: 3; }
.clock-face .hand-s { stroke: var(--accent); stroke-width: 1.3; }
.clock-face .pin { fill: var(--accent); stroke: none; }
@keyframes clock-spin { to { transform: rotate(360deg); } }

/* perf: ghost/crosser hands step instead of sweep — SVG animations repaint on
 * the main thread and the floater layer is fixed (always in-viewport), so 100+
 * hands at 60fps was the page's frame budget. stepped ticks are invisible on
 * ≤68px faces at 14-45% opacity; the hero ensemble keeps its smooth sweep. */
.bg-clock .hand-h { animation-timing-function: steps(24, end); }
.bg-clock .hand-m { animation-timing-function: steps(60, end); }

.digital {
  display: inline-flex; gap: 1px;
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem; font-weight: 500;
  letter-spacing: 0.02em; font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-shadow: 0 0 14px rgba(0, 0, 0, 0.85);
}
.digital span::after { content: ":"; opacity: 0.45; margin-left: 1px; }
.digital span:last-child::after { content: ""; }

/* the 35 ambient floaters are the same bare countdown, same typeface */
.bg-clock { font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  /* no drift / no zoom, but the hands keep time — a frozen clock reads as broken */
  .clock-inner { animation: none; }
}





/* ---- roomier type: fill the column, breathe between blocks -------------- */
.block { min-height: 92vh; padding-top: 120px; padding-bottom: 120px; }
.kicker, .tier-label, .clock-caption { margin-bottom: 30px; }
.dread-whisper, .tier-copy {
  line-height: 1.85; max-width: 54ch;
  margin-bottom: 44px;
}
.zig {
  line-height: 1.32; width: 84%;
  margin: 26vh 0;
}
.zig-r { margin-left: auto; }
.tier { margin-top: 104px; }
.tier-copy { margin-top: 10px; }
footer.sanctuary-footer { margin-top: 84px; line-height: 1.9; }

/* ---- merged close section: instagram + waitlist, one large block --------- */
#rite { min-height: 175vh; justify-content: flex-start; padding-top: 140px; }
#rite .monolith-sub { padding-right: 0; }
#rite .tier-list { margin-top: 130px; }
#rite .tier-copy {
  max-width: 46ch;
  margin: 10px auto 0;
  text-align: center;
  font-weight: 500;   /* 20% up from the 400 body weight */
}
#rite .initiate-box { margin: 46px 0 0; max-width: 520px; }
#rite .portal-links { margin-top: 46px; }
#rite .ig-mega { margin-top: 10px; }
#rite footer.sanctuary-footer { margin-top: 140px; }

/* ---- colourway flash: flips at intervals, but crossfades smoothly -------- */
body, h1, h2, p, span, div, a, label, button, .digital, .bg-clock {
  transition: color 0.55s ease;
}
.clock-face, .clock-face .hand, .clock-face .tick, .clock-face .pin {
  transition: stroke 0.55s ease, fill 0.55s ease;
}
@media (prefers-reduced-motion: reduce) {
  .clock-inner { animation: none; }
}

/* ---- link legibility ---------------------------------------------------- */
/* blackletter at 1rem is decorative, not readable: links switch to the same
 * sans as the digital clocks, sentence case, and get a shadow to sit off the
 * photo. instagram links lose the heavy display weight entirely. */
.hero-cta, .submit-btn, .copy-ticket-btn, .ig-mega, .portal-links a {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  text-transform: none; letter-spacing: 0.01em;
  font-size: 1.05rem; font-weight: 500;
  color: var(--accent);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.8);
  border-bottom-width: 2px; padding-bottom: 3px;
}
.ig-mega .ig-mega-handle {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 400; letter-spacing: 0; line-height: 1.2;
  color: var(--ink); text-transform: none;
}
.ig-mega .ig-mega-sub {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.92rem; font-weight: 400;
  letter-spacing: 0.01em; color: var(--accent);
  text-transform: none;
}
.ig-mega { border-bottom-color: color-mix(in srgb, var(--accent) 55%, transparent); }
/* ---- helvetica pass: one family, all lowercase, no glow, asymmetric ------ */
/* everything below is a single reversible styling pass. delete this block to
 * fall back to the blackletter treatment. */

/* one typeface, everywhere */
:root { --font-goth: Helvetica, 'Helvetica Neue', Arial, sans-serif;
        --font-sans: Helvetica, 'Helvetica Neue', Arial, sans-serif;
        --link: #ff453a; }

body, .block, main, p, a, span, div, label, input, button,
h1.monolith-title, h2.monolith-sub, .kicker, .zig, .clock-caption,
.tier-label, .tier-copy, .ig-mega-handle, .ig-mega-sub, .bg-clock, .digital {
  font-family: Helvetica, 'Helvetica Neue', Arial, sans-serif;
}

/* all lowercase, titles stay the biggest thing on screen */
body { text-transform: lowercase; }
h1.monolith-title, h2.monolith-sub { text-transform: lowercase; }
.telemetry, .brand, .form-row label, .submit-btn, .ticket-badge,
.ig-mega-handle, .ig-mega-sub, .hero-cta { text-transform: lowercase; }
h1.monolith-title { font-size: clamp(2.6rem, 8vw, 6.4rem); font-weight: 500; letter-spacing: -0.02em; }
h2.monolith-sub   { font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 500; letter-spacing: -0.01em; }
.kicker, .tier-label, .clock-caption { text-transform: lowercase; letter-spacing: 0.02em; font-size: 0.85rem; font-weight: 500; }
.zig { font-size: clamp(1.15rem, 2.4vw, 1.7rem); font-weight: 400; letter-spacing: -0.01em; }
.dread-whisper, .tier-copy { font-size: 1.05rem; font-weight: 400; }
/* soften every remaining heavy weight — sizes (the ratios) stay untouched */
.bg-clock, .digital, .clock-name { font-weight: 400; }
.countdown-val, .ticket-number, .ig-mega-handle, .brand, .submit-btn { font-weight: 500; }
.clock-caption, .telemetry, .ticket-badge, .kicker, .tier-label { font-weight: 400; }

/* colourway: text white, links red — both swap as you scroll (--ink / --link) */
body, h1, h2, p, span, div, label, .clock-face, .digital { color: var(--ink); }
.hero-cta, .submit-btn, .copy-ticket-btn, .ig-mega,
.ig-mega-handle, .ig-mega-sub, .portal-links a { color: var(--link); }
.hero-cta:hover, .submit-btn:hover, .copy-ticket-btn:hover,
.ig-mega:hover, .ig-mega-handle:hover, .portal-links a:hover { color: var(--ink); }

/* no underlines anywhere */
.hero-cta, .submit-btn, .copy-ticket-btn, .ig-mega, .portal-links a,
.ig-mega-handle, .ig-mega-sub, a { border-bottom: none; text-decoration: none; }

/* no glow, no haze, no drop shadows */
* { text-shadow: none !important; }
.hall-glow, .fog { display: none; }
.clock-face { filter: none; }
.pulse-dot { box-shadow: none; }
.countdown-box, .specimen-card, .initiate-box, .initiate-ticket { box-shadow: none; }

/* centred scroll, asymmetric type inside it */
main {
  max-width: 660px;
  margin: 0 auto;
}
.block { border: none; padding-left: 0; padding-right: 0; }
/* headings sit flush left, running text is pushed in — the asymmetry lives in
 * the type, not in the column */
h1.monolith-title, h2.monolith-sub, .kicker, .tier-label, .clock-caption {
  text-align: left; margin-left: 0; padding-right: 18%;
}
.dread-whisper, .tier-copy { margin-left: 14%; padding-right: 4%; max-width: 46ch; }
.tier { margin-left: 14%; }
.initiate-box, .initiate-ticket, .initiate-form { margin-left: 6%; }
footer.sanctuary-footer { margin-left: 14%; }
/* glitch is pure decoration — see glitch block below */
.clock-caption { text-align: left; }

/* "the clocks" — pulled big out of the caption tier, with an uneasy void
 * between the two words (word-spacing inherits into the glitch ghost layers,
 * so the slices stay aligned with the base text) */
.clock-caption {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 500;
  word-spacing: clamp(1.5rem, 6vw, 4rem);
}

/* ---- glitch title effect (adapted from the classic clip-rect CodePen) ----
 * each heading line is a .glitch span with data-text; ::before/::after are
 * offset colored copies sliced by animated clip rects. no solid background on
 * the layers — the page bg is a photo, so the ghosts show through as slices. */
.glitch {
  position: relative;
  display: inline-block;
  color: #ffffff;   /* base text stays white between red blips */
  /* hard white↔red flicker — ~20% of each cycle reads red */
  animation: glitch-flash 1.8s steps(1, end) infinite;
}
@keyframes glitch-flash {
  0%, 70% { color: #ffffff; }
  72%, 82% { color: #ff453a; }
  84%, 90% { color: #ffffff; }
  92%, 100% { color: #ff2437; }
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: none !important;
}
.glitch::after {
  animation: glitch-a 1.6s linear infinite alternate-reverse;
  left: 2px;
  text-shadow: -1px 0 #ff453a !important;
}
.glitch::before {
  animation: glitch-b 2.4s linear infinite alternate-reverse;
  left: -2px;
  text-shadow: 1px 0 #ff453a !important;
}
@keyframes glitch-a {
  0% { clip: rect(42px, 9999px, 44px, 0); }
  5% { clip: rect(12px, 9999px, 59px, 0); }
  10% { clip: rect(48px, 9999px, 29px, 0); }
  15% { clip: rect(42px, 9999px, 73px, 0); }
  20% { clip: rect(63px, 9999px, 27px, 0); }
  25% { clip: rect(34px, 9999px, 55px, 0); }
  30% { clip: rect(86px, 9999px, 73px, 0); }
  35% { clip: rect(20px, 9999px, 20px, 0); }
  40% { clip: rect(26px, 9999px, 60px, 0); }
  45% { clip: rect(25px, 9999px, 66px, 0); }
  50% { clip: rect(57px, 9999px, 98px, 0); }
  55% { clip: rect(5px, 9999px, 46px, 0); }
  60% { clip: rect(82px, 9999px, 31px, 0); }
  65% { clip: rect(54px, 9999px, 27px, 0); }
  70% { clip: rect(28px, 9999px, 99px, 0); }
  75% { clip: rect(45px, 9999px, 69px, 0); }
  80% { clip: rect(23px, 9999px, 85px, 0); }
  85% { clip: rect(54px, 9999px, 84px, 0); }
  90% { clip: rect(45px, 9999px, 47px, 0); }
  95% { clip: rect(37px, 9999px, 20px, 0); }
  100% { clip: rect(4px, 9999px, 91px, 0); }
}
@keyframes glitch-b {
  0% { clip: rect(65px, 9999px, 100px, 0); }
  5% { clip: rect(52px, 9999px, 74px, 0); }
  10% { clip: rect(79px, 9999px, 85px, 0); }
  15% { clip: rect(75px, 9999px, 5px, 0); }
  20% { clip: rect(67px, 9999px, 61px, 0); }
  25% { clip: rect(14px, 9999px, 79px, 0); }
  30% { clip: rect(1px, 9999px, 66px, 0); }
  35% { clip: rect(86px, 9999px, 30px, 0); }
  40% { clip: rect(23px, 9999px, 98px, 0); }
  45% { clip: rect(85px, 9999px, 72px, 0); }
  50% { clip: rect(71px, 9999px, 75px, 0); }
  55% { clip: rect(2px, 9999px, 48px, 0); }
  60% { clip: rect(30px, 9999px, 16px, 0); }
  65% { clip: rect(59px, 9999px, 50px, 0); }
  70% { clip: rect(41px, 9999px, 62px, 0); }
  75% { clip: rect(2px, 9999px, 82px, 0); }
  80% { clip: rect(47px, 9999px, 73px, 0); }
  85% { clip: rect(3px, 9999px, 27px, 0); }
  90% { clip: rect(26px, 9999px, 55px, 0); }
  95% { clip: rect(42px, 9999px, 97px, 0); }
  100% { clip: rect(38px, 9999px, 49px, 0); }
}






