/* ═══════════════════════════════════════════════════════════
   ELLEO LIMITED — Obsidian Monolith
   Stylesheet v1 · 23 May 2026
   ═══════════════════════════════════════════════════════════ */

/* ▰▰ DESIGN TOKENS — Warm cream + ink + bronze ▰▰ */
:root {
  /* Palette */
  --obsidian: #F0EBE0;            /* warm cream — page bg */
  --midnight: #E5DDC9;            /* slightly deeper cream — surfaces */
  --raised:   #D9CFB6;            /* card raised */
  --hairline: rgba(26, 27, 34, 0.08);
  --emphatic: rgba(26, 27, 34, 0.22);

  --chrome:   #1A1B22;            /* ink — primary text / headlines */
  --text:     #2E2F38;            /* secondary text */
  --muted:    #76695A;            /* warm muted grey */

  --bronze:        #A87E3A;       /* deeper bronze that reads on cream */
  --bronze-warm:   #BA8C45;
  --bronze-deep:   #8B6328;

  /* Type — Roboto family across the system */
  --font-display: 'Roboto', system-ui, sans-serif;
  --font-body:    'Roboto', system-ui, sans-serif;
  --font-mono:    'Roboto Mono', 'JetBrains Mono', monospace;

  /* Spacing — 8px base */
  --s-1:  8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;
  --s-9: 192px;

  /* Easing — Vercel's house curve */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ▰▰ RESET ▰▰ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--obsidian);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: none; }

/* Disable cursor: none on touch */
@media (hover: none) {
  body, button, a { cursor: auto; }
  .cursor { display: none !important; }
}

::selection { background: var(--bronze); color: var(--obsidian); }

/* ═══════════════════════════════════════════════════════════
   LOADER
   ═══════════════════════════════════════════════════════════ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--obsidian);
  display: grid;
  place-items: center;
  gap: var(--s-4);
  opacity: 1;
  transition: opacity 600ms var(--ease-out-expo);
  pointer-events: all;
}
.loader.is-done {
  opacity: 0;
  pointer-events: none;
}

.loader-mark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--chrome);
  opacity: 0;
  transform: translateY(8px);
  animation: loaderMarkIn 900ms var(--ease-out-expo) 120ms forwards;
}
.loader-accent {
  color: var(--bronze);
  font-style: italic;
}

@keyframes loaderMarkIn {
  to { opacity: 1; transform: translateY(0); }
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.loader-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--bronze);
  transition: width 200ms linear;
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 90;
}
.cursor-dot {
  position: fixed;
  top: -4px; left: -4px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bronze);
  transform: translate3d(var(--cx, 50vw), var(--cy, 50vh), 0);
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  top: -16px; left: -16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(26, 27, 34, 0.35);
  transform: translate3d(var(--rx, 50vw), var(--ry, 50vh), 0) scale(var(--rscale, 1));
  will-change: transform;
  transition: width 240ms var(--ease-out-quart), height 240ms var(--ease-out-quart);
}

/* ═══════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: var(--s-3) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms var(--ease-out-expo);
}
.nav.is-ready { opacity: 1; }
.nav > * { pointer-events: auto; }

.nav-mark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  display: inline-flex;
}
.nav-accent { color: var(--bronze); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--text);
  transition: color 240ms var(--ease-out-quart);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
}
.nav-links a:hover { color: var(--chrome); }
.nav-cta {
  color: var(--bronze) !important;
}
.nav-cta:hover { color: var(--bronze-warm) !important; }

@media (max-width: 768px) {
  .nav { padding: var(--s-3); }
  .nav-links { gap: var(--s-3); }
  .nav-links a:not(.nav-cta):not(:nth-last-child(-n+1)) { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   STAGE (pinned canvas)
   ═══════════════════════════════════════════════════════════ */
.stage {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.stage-vignette {
  position: absolute;
  inset: 0;
  /* Light vignette: cream edges, transparent centre so the monolith stays sharp */
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(240, 235, 224, 0.4) 100%),
    linear-gradient(180deg, rgba(240, 235, 224, 0.2) 0%, transparent 20%, transparent 80%, rgba(240, 235, 224, 0.3) 100%);
  pointer-events: none;
}
.stage-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(168, 126, 58, 0.08) 0%, transparent 60%),
    var(--obsidian);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL CONTAINER + CHAPTERS
   ═══════════════════════════════════════════════════════════ */
.scroll {
  position: relative;
  z-index: 2;
}

.chapter {
  position: relative;
  min-height: 100vh;
  padding: var(--s-7) var(--s-6);
  display: flex;
  align-items: center;
}
.chapter--arrival { min-height: 100vh; }
.chapter--tension { min-height: 110vh; }
.chapter--portal  { min-height: 180vh; align-items: center; }
.chapter--fracture { min-height: 100vh; align-items: center; }
.chapter--project { min-height: 110vh; }
.chapter--studio { min-height: 80vh; align-items: center; }
.chapter--resolve { min-height: 100vh; padding-bottom: var(--s-7); }

/* Portal chapter: copy fades out as you scroll through the opening */
.portal-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: center;
  text-align: center;
  max-width: 36ch;
  /* Inside the portal, the background gets warmer. Cream halo keeps text
     readable against the warm bronze glow pouring through. */
  text-shadow:
    0 1px 22px rgba(255, 251, 243, 0.95),
    0 0 60px rgba(255, 251, 243, 0.7);
}
.portal-headline { max-width: 18ch; }
.chapter--portal .label-text { color: var(--chrome); }
.chapter--portal .display-headline em.accent {
  color: var(--chrome);
  text-decoration: underline;
  text-decoration-color: var(--bronze);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.chapter-inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.chapter-inner.align-right {
  align-items: flex-end;
  text-align: right;
}
.chapter-inner.centered {
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .chapter { padding: var(--s-5) var(--s-3); }
}

/* ▰▰ LABEL (mono small caps) ▰▰ */
.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.label-rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--bronze);
}
.label.centered { justify-content: center; }

/* ▰▰ HERO HEADLINE (chapter 1) ▰▰ */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--chrome);
  max-width: 14ch;
}
.hero-headline em {
  font-style: italic;
  color: var(--bronze);
  font-weight: 300;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .word { display: inline-block; }

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 44ch;
  margin-top: var(--s-3);
}

.hero-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* ▰▰ DISPLAY HEADLINE (chapters 2, 5) ▰▰ */
.display-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--chrome);
  max-width: 14ch;
}
.display-headline em {
  font-style: italic;
  color: var(--bronze);
  font-weight: 300;
}
.display-headline .line { display: block; overflow: hidden; }
.display-headline .word { display: inline-block; }

.display-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 52ch;
  margin-top: var(--s-3);
}

/* ▰▰ BUTTONS ▰▰ */
.btn {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 18px 28px;
  border: 1px solid var(--emphatic);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: border-color 240ms var(--ease-out-quart), background 240ms var(--ease-out-quart);
}
.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  position: relative;
  z-index: 2;
}
.btn-arrow {
  display: inline-block;
  transition: transform 280ms var(--ease-out-quart);
}
.btn-primary {
  background: var(--bronze);
  color: #FAF7F0;              /* cream-white on bronze for contrast */
  border-color: var(--bronze);
}
.btn-primary:hover {
  background: var(--bronze-warm);
  border-color: var(--bronze-warm);
}
.btn-primary:hover .btn-arrow { transform: translate(4px, -2px); }
.btn-ghost {
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--chrome);
  color: var(--chrome);
}

.resolve-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--s-4);
}

/* ▰▰ SCROLL CUE ▰▰ */
.scroll-cue {
  position: absolute;
  bottom: var(--s-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: scrollCueIn 800ms var(--ease-out-expo) 2200ms forwards;
}
.scroll-cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--bronze), transparent);
  animation: scrollCuePulse 2400ms ease-in-out infinite;
}
@keyframes scrollCueIn { to { opacity: 1; } }
@keyframes scrollCuePulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* ═══════════════════════════════════════════════════════════
   CHAPTER 03 — FRACTURE / SHARDS
   ═══════════════════════════════════════════════════════════ */
.shards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
  width: 100%;
}
@media (max-width: 900px) {
  .shards-grid { grid-template-columns: 1fr; }
}

.shard {
  padding: var(--s-5) var(--s-4);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.85) 0%, rgba(229, 221, 201, 0.75) 100%);
  border: 1px solid rgba(26, 27, 34, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  overflow: hidden;
  transition: border-color 400ms var(--ease-out-quart);
}
.shard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(168, 126, 58, 0.08) 100%);
  opacity: 0;
  transition: opacity 400ms var(--ease-out-quart);
}
.shard:hover {
  border-color: var(--emphatic);
}
.shard:hover::before { opacity: 1; }

.shard-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bronze);
}
.shard-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--chrome);
}
.shard-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
}
.shard-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-2);
  transition: color 240ms var(--ease-out-quart);
}
.shard-link:hover { color: var(--bronze-warm); }
.shard-link:hover span { transform: translateX(4px); }
.shard-link span { transition: transform 240ms var(--ease-out-quart); display: inline-block; }

/* ═══════════════════════════════════════════════════════════
   PROJECT CHAPTERS — CMS 2.0, Reception, Jacob Law
   ═══════════════════════════════════════════════════════════ */
.project-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s-6);
  align-items: center;
}
.chapter--project-reverse .project-layout {
  grid-template-columns: 7fr 5fr;
}
.chapter--project-reverse .project-copy { order: 2; }
.chapter--project-reverse .project-preview { order: 1; }

@media (max-width: 1100px) {
  .project-layout, .chapter--project-reverse .project-layout {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .chapter--project-reverse .project-copy { order: 1; }
  .chapter--project-reverse .project-preview { order: 2; }
}

.project-copy {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.project-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--chrome);
}
.project-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
}
.project-title .line { display: block; overflow: hidden; }

.project-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--text);
  max-width: 36ch;
  margin-top: var(--s-2);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--hairline);
}
.project-meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.project-meta dd {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--chrome);
  line-height: 1.4;
}

.project-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  max-width: 52ch;
  margin-top: var(--s-3);
}

.project-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  margin-top: var(--s-3);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bronze);
  width: max-content;
  transition: color 240ms var(--ease-out-quart);
}
.project-link:hover { color: var(--bronze-warm); border-color: var(--bronze-warm); }

/* ── Generic browser window chrome ── */
.window {
  background: #FFFBF3;
  border-radius: 10px;
  border: 1px solid rgba(26, 27, 34, 0.12);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 20px 50px -20px rgba(26, 27, 34, 0.2),
    0 6px 20px -10px rgba(26, 27, 34, 0.15);
}
.window-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #F4ECDC 0%, #ECE3CE 100%);
  border-bottom: 1px solid rgba(26, 27, 34, 0.08);
}
.window-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
  border: 0.5px solid rgba(0,0,0,0.15);
}
.dot-r { background: #E56A52; }
.dot-y { background: #E6B23F; }
.dot-g { background: #6FB85A; }
.window-url {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--muted);
  background: rgba(255, 251, 243, 0.7);
  padding: 4px 14px;
  border-radius: 4px;
  border: 1px solid rgba(26, 27, 34, 0.08);
  min-width: 220px;
  text-align: center;
}
.window-body {
  min-height: 420px;
}

/* ── CMS 2.0 preview ── */
.cms-preview {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 460px;
  background: #FAF5E8;
}
.cms-sidebar {
  background: #F4ECD8;
  border-right: 1px solid rgba(26, 27, 34, 0.08);
  padding: 14px 0;
}
.cms-search {
  height: 30px;
  margin: 0 14px 12px;
  background: rgba(255, 251, 243, 0.7);
  border: 1px solid rgba(26, 27, 34, 0.08);
  border-radius: 6px;
}
.cms-cases {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.cms-cases li {
  padding: 7px 14px;
  border-bottom: 1px solid rgba(26, 27, 34, 0.05);
}
.cms-cases li.active {
  background: rgba(168, 126, 58, 0.12);
  color: var(--chrome);
  border-left: 2px solid var(--bronze);
}
.cms-main { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.cms-tabs {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(26, 27, 34, 0.08);
  padding-bottom: 10px;
}
.cms-tabs .active {
  color: var(--chrome);
  position: relative;
}
.cms-tabs .active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -11px;
  height: 1px; background: var(--bronze);
}
.cms-card {
  padding: 14px 16px;
  background: #FFFBF3;
  border: 1px solid rgba(26, 27, 34, 0.08);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cms-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  width: max-content;
  padding: 3px 8px;
  background: rgba(168, 126, 58, 0.12);
  border-radius: 4px;
}
.cms-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--chrome);
}
.cms-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.cms-rows > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  border-bottom: 1px dashed rgba(26, 27, 34, 0.08);
  padding-bottom: 6px;
}
.cms-rows span:first-child { color: var(--muted); }
.cms-rows span:last-child { color: var(--chrome); font-family: var(--font-mono); font-size: 11px; }
.cms-rows .bronze { color: var(--bronze); }
.cms-rows .pulse {
  position: relative;
  padding-left: 14px;
}
.cms-rows .pulse::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bronze);
  transform: translateY(-50%);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; box-shadow: 0 0 0 4px rgba(168, 126, 58, 0.2); }
}
.cms-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 4px;
  background: #FFFBF3;
  border: 1px solid rgba(26, 27, 34, 0.08);
  border-radius: 6px;
}
.t-event {
  flex: 1;
  height: 2px;
  background: rgba(26, 27, 34, 0.1);
  position: relative;
  margin: 0 14px 0 0;
}
.t-event:last-child { margin-right: 0; }
.t-event::before {
  content: '';
  position: absolute;
  left: -7px; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(26, 27, 34, 0.15);
  transform: translateY(-50%);
}
.t-event.done { background: var(--bronze); }
.t-event.done::before { background: var(--bronze); }
.t-event.active::before {
  background: var(--bronze);
  box-shadow: 0 0 0 5px rgba(168, 126, 58, 0.25);
  animation: pulseDot 1.6s ease-in-out infinite;
}

/* ── Reception phone preview ── */
.phone {
  width: 320px;
  max-width: 100%;
  height: 640px;
  margin: 0 auto;
  border-radius: 38px;
  background: linear-gradient(180deg, #1A1B22 0%, #0F1014 100%);
  padding: 12px;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(26, 27, 34, 0.3),
    0 10px 30px -15px rgba(26, 27, 34, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #06070B;
  border-radius: 14px;
  z-index: 2;
}
.phone-screen {
  background: #0E1018;
  border-radius: 28px;
  height: 100%;
  padding: 38px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.call-bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.call-status {
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.call-no { color: rgba(232, 236, 244, 0.5); }
.call-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.call-turn {
  background: rgba(232, 236, 244, 0.06);
  border-radius: 12px;
  padding: 10px 12px;
  max-width: 88%;
}
.call-turn .who {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 236, 244, 0.4);
  margin-bottom: 4px;
}
.call-turn p {
  font-size: 12.5px;
  line-height: 1.4;
  color: #E8ECF4;
}
.call-turn.caller {
  align-self: flex-start;
}
.call-turn.agent {
  align-self: flex-end;
  background: rgba(168, 126, 58, 0.2);
}
.call-turn.agent .who { color: var(--bronze); }
.caret { animation: blink 0.9s steps(1, end) infinite; color: var(--bronze); }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.call-meta {
  padding-top: 10px;
  border-top: 1px solid rgba(232, 236, 244, 0.08);
}
.wave {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  height: 32px;
}
.wave i {
  display: inline-block;
  width: 3px;
  background: var(--bronze);
  border-radius: 2px;
  animation: waveBar 1.4s ease-in-out infinite;
}
.wave i:nth-child(1) { height: 30%; animation-delay: 0.0s; }
.wave i:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.wave i:nth-child(3) { height: 80%; animation-delay: 0.2s; }
.wave i:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.wave i:nth-child(5) { height: 90%; animation-delay: 0.4s; }
.wave i:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.wave i:nth-child(7) { height: 70%; animation-delay: 0.6s; }
.wave i:nth-child(8) { height: 90%; animation-delay: 0.7s; }
.wave i:nth-child(9) { height: 50%; animation-delay: 0.8s; }
.wave i:nth-child(10) { height: 70%; animation-delay: 0.9s; }
.wave i:nth-child(11) { height: 40%; animation-delay: 1.0s; }
.wave i:nth-child(12) { height: 25%; animation-delay: 1.1s; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ── jacoblaw.ie preview ── */
.jl-preview {
  height: 460px;
  background: #1A1B22;
  color: #F0EBE0;
  padding: 22px 28px 0;
  display: flex;
  flex-direction: column;
}
.jl-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(240, 235, 224, 0.1);
}
.jl-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: #F0EBE0;
}
.jl-mark i {
  font-style: normal;
  color: var(--bronze);
  margin: 0 2px;
}
.jl-nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.65);
}
.jl-hero {
  flex: 1;
  padding-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jl-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}
.jl-hero h4 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #F0EBE0;
}
.jl-hero h4 em {
  font-style: italic;
  color: var(--bronze);
  font-weight: 300;
}
.jl-hero p {
  font-size: 13px;
  color: rgba(240, 235, 224, 0.6);
  line-height: 1.5;
  max-width: 32ch;
}
.jl-cta { display: flex; gap: 10px; margin-top: 8px; }
.jl-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: var(--bronze);
  color: #1A1B22;
  border-radius: 2px;
}
.jl-btn.ghost {
  background: transparent;
  color: rgba(240, 235, 224, 0.85);
  border: 1px solid rgba(240, 235, 224, 0.25);
}
.jl-strip {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(240, 235, 224, 0.1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240, 235, 224, 0.55);
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: var(--s-7) var(--s-6) var(--s-5);
  border-top: 1px solid var(--hairline);
  background: var(--obsidian);
  position: relative;
  z-index: 3;
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: var(--s-5);
}
@media (max-width: 768px) {
  .footer { padding: var(--s-5) var(--s-3); }
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--chrome);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  list-style: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}
.footer-nav a {
  color: var(--text);
  transition: color 240ms var(--ease-out-quart);
}
.footer-nav a:hover { color: var(--chrome); }

/* ═══════════════════════════════════════════════════════════
   ANIMATION ENTRY STATES
   ═══════════════════════════════════════════════════════════ */
/* Initial states only — GSAP handles animation */
[data-reveal] { opacity: 0; }
[data-split] .word { display: inline-block; }

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 200ms !important;
  }
  [data-split] .word { transform: translateY(0); }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor { display: none; }
}
