:root {
  --ink: #0B1214;
  --surface: #121A1C;
  --teal: #2DD4D4;
  --teal-dim: #1AA8A8;
  --teal-soft: #163A3A;
  --paper: #F4F6F6;
  --mute: #7A8A8C;
  --mute-soft: #4A5A5C;
  --border: #1E2A2C;
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

.sr-only:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 10px 14px;
  clip: auto; white-space: normal;
  background: var(--teal); color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: 0.12em;
  text-decoration: none; font-weight: 600;
  border-radius: 2px;
  z-index: 100;
}

a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 1px;
}

.holding {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 5vw, 48px) clamp(20px, 5vw, 48px);
  padding-left: clamp(28px, 5vw, 56px);
}

.stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--teal);
  z-index: 5;
}

.meta {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.8;
  z-index: 4;
  display: flex;
  flex-direction: column;
}

.meta-line { display: block; }
.meta-muted { color: var(--mute); }
.meta-teal { color: var(--teal); }
.meta-link {
  transition: opacity 200ms ease;
}
.meta-link:hover { opacity: 0.75; }

.meta-tl {
  top: clamp(24px, 5vw, 48px);
  left: clamp(28px, 5vw, 56px);
}
.meta-tr {
  top: clamp(24px, 5vw, 48px);
  right: clamp(20px, 5vw, 48px);
  text-align: right;
  align-items: flex-end;
}
.meta-bl {
  bottom: clamp(24px, 5vw, 48px);
  left: clamp(28px, 5vw, 56px);
}
.meta-br {
  bottom: clamp(24px, 5vw, 48px);
  right: clamp(20px, 5vw, 48px);
  text-align: right;
  align-items: flex-end;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 56px);
  position: relative;
  z-index: 3;
  padding: 48px 0;
}

.logo-wrap {
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap svg {
  width: clamp(140px, 28vw, 220px);
  height: auto;
  display: block;
}

.timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 16px);
}

.brick {
  width: 10px;
  height: 10px;
  background: var(--teal);
  border-radius: 1px;
  opacity: 0;
  animation: brick-fall 400ms cubic-bezier(0.4, 0, 0.3, 1) forwards;
  animation-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

@media (min-width: 641px) {
  .brick {
    width: 12px;
    height: 12px;
  }
}

.timeline-label {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 24px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
  animation: label-fade 600ms ease-out forwards;
  animation-delay: 2700ms;
}

.timeline-label .year {
  color: var(--teal);
  font-weight: 600;
}

.timeline-label .dots {
  color: var(--mute);
  letter-spacing: 0.5em;
  padding: 0 0.2em 0 0.7em;
  font-weight: 500;
}

.ghost-wall {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ghost-brick {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 1px;
  opacity: 0;
  animation: ghost-fall 500ms ease-out forwards;
  will-change: opacity, transform;
}

@keyframes brick-fall {
  0%   { transform: translateY(-14px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes ghost-fall {
  0%   { transform: translateY(-10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0.12; }
}

@keyframes label-fade {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.reduced-motion .brick,
.reduced-motion .ghost-brick,
.reduced-motion .timeline-label {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.reduced-motion .ghost-brick {
  opacity: 0.12 !important;
}

@media (max-width: 640px) {
  .meta { font-size: 9px; letter-spacing: 0.2em; line-height: 1.7; }
  .stage { gap: 40px; padding: 32px 0; }
  .timeline-row { gap: 8px; }
}

@media (max-width: 380px) {
  .meta { font-size: 8.5px; letter-spacing: 0.18em; }
  .timeline-row { gap: 6px; }
  .brick { width: 8px; height: 8px; }
}

@media (max-height: 600px) and (orientation: landscape) {
  .stage { gap: 24px; padding: 16px 0; }
  .logo-wrap svg { width: clamp(120px, 20vw, 180px); }
}

@media print {
  .ghost-wall { display: none; }
  .brick, .ghost-brick, .timeline-label {
    animation: none;
    opacity: 1;
  }
  body { background: white; color: black; }
  .logo-wrap { color: black; }
  .meta-teal, .brick, .stripe { color: black; background: black; }
}
