/* ═══ ChatGPT Speak — design system (light) ═══ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 200 500;
  font-display: swap;
  src: url(../fonts/jost.woff2) format('woff2');
}

:root {
  --bg: #fdfcfa;
  --bg-soft: #f5f3ef;
  --bg-card: #ffffff;
  --ink: #1a1815;
  --ink-dim: #55504a;
  --muted: #8a847b;
  --line: rgba(26, 24, 21, 0.1);
  --bronze: #a8722a;
  --glow: #3e93c9;
  --photo-ink: #f2ede4;
  --photo-dim: #cfc9bf;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --card-shadow: 0 1px 2px rgba(26, 24, 21, 0.04), 0 10px 30px rgba(26, 24, 21, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(168, 114, 42, 0.22); }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.002em;
  line-height: 1.08;
}

/* ═══ Navigation ═══════════════════════════ */
/* Sits over dark hero imagery at the top of every page: light text.
   Once scrolled, flips to warm white glass with dark text. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: 70px;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--photo-ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-brand em { font-style: italic; font-weight: 400; color: var(--photo-dim); transition: color 0.3s; }
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-tabs a {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--photo-dim);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 100px;
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-tabs a:hover { color: #ffffff; }
.nav-tabs a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}
.nav.scrolled {
  background: rgba(253, 252, 250, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.nav.scrolled .nav-brand { color: var(--ink); }
.nav.scrolled .nav-brand em { color: var(--ink-dim); }
.nav.scrolled .nav-tabs a { color: var(--ink-dim); }
.nav.scrolled .nav-tabs a:hover { color: var(--ink); }
.nav.scrolled .nav-tabs a.active {
  color: var(--ink);
  background: rgba(26, 24, 21, 0.07);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--photo-ink);
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
}
.nav.scrolled .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 1220px) {
  .nav-tabs {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(253, 252, 250, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 12px var(--pad) 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-tabs.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-tabs a,
  .nav.scrolled .nav-tabs a {
    padding: 14px 8px;
    font-size: 13px;
    border-radius: 0;
    border-bottom: 1px solid rgba(26, 24, 21, 0.06);
    color: var(--ink-dim);
  }
  .nav-tabs a:hover,
  .nav.scrolled .nav-tabs a:hover { color: var(--ink); }
  .nav-tabs a.active,
  .nav.scrolled .nav-tabs a.active { background: none; color: var(--bronze); }
  .nav-toggle { display: block; }
}

/* ═══ Full hero (overview page) ════════════ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #0d0c0b;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.06);
  animation: heroDrift 22s ease-out forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(13,12,11,0.5) 0%, rgba(13,12,11,0) 24%),
    linear-gradient(to top, rgba(13,12,11,0.82) 0%, rgba(13,12,11,0.3) 36%, rgba(13,12,11,0) 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad) clamp(64px, 10vh, 120px);
  max-width: 1280px;
  margin: 0 auto;
  color: var(--photo-ink);
}
.hero-content .kicker { color: #dcb277; }
.hero h1 {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  margin-bottom: 28px;
  color: #fbf8f3;
}
.nw { white-space: nowrap; }
.hero-sub {
  max-width: 580px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--photo-dim);
  line-height: 1.75;
}
.hero-sub strong { color: #fbf8f3; font-weight: 400; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(251,248,243,0.7));
  animation: scrollHint 2.4s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: translateX(-50%) scaleY(1); }
}

/* Mobile: title and tagline crown the photo; the product owns the frame. */
.hero-tagline { display: none; }
.hero-intro { display: none; }
@media (max-width: 768px) {
  .hero {
    height: 92svh;
    min-height: 520px;
    align-items: flex-start;
  }
  .hero-scroll { display: none; }
  .hero::before {
    background:
      linear-gradient(to bottom, rgba(13,12,11,0.78) 0%, rgba(13,12,11,0.35) 26%, rgba(13,12,11,0) 44%),
      linear-gradient(to top, rgba(13,12,11,0.3) 0%, rgba(13,12,11,0) 22%);
  }
  .hero img { object-position: 52% 66%; }
  .hero-content {
    padding: 100px 24px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content .kicker {
    margin-bottom: 14px;
    color: #dcb277;
  }
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 42px);
    font-weight: 500;
    margin-bottom: 12px;
  }
  .hero-content .hero-sub { display: none; }
  .hero-tagline {
    display: block;
    font-family: var(--serif);
    font-style: italic;
    font-size: 21px;
    color: rgba(251, 248, 243, 0.85);
  }
  .hero-intro {
    display: block;
    padding: clamp(48px, 8vh, 72px) var(--pad) 8px;
    text-align: center;
  }
  .hero-intro .hero-sub {
    color: var(--ink-dim);
    margin: 0 auto;
  }
  .hero-intro .hero-sub strong { color: var(--ink); }
}

/* ═══ Page hero (tab pages) ════════════════ */
.page-hero {
  position: relative;
  min-height: clamp(380px, 52svh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0d0c0b;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.6;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(13,12,11,0.65) 0%, rgba(13,12,11,0.1) 42%),
    linear-gradient(to top, rgba(13,12,11,0.85) 0%, rgba(13,12,11,0.3) 52%, rgba(13,12,11,0) 82%);
}
.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(44px, 7vh, 80px);
  padding-top: 140px;
}
.page-hero .kicker { color: #dcb277; }
.page-hero h1 {
  font-size: clamp(44px, 6.4vw, 92px);
  font-weight: 400;
  max-width: 16ch;
  margin-bottom: 20px;
  color: #fbf8f3;
}
.page-hero .lead { max-width: 640px; color: var(--photo-dim); }
.page-hero .lead strong { color: #fbf8f3; }
@media (max-width: 768px) {
  .page-hero { min-height: clamp(320px, 44svh, 460px); }
  .page-hero .container { padding-top: 110px; }
}

/* ═══ Layout primitives ════════════════════ */
.section { padding: clamp(80px, 12vh, 150px) var(--pad); position: relative; }
.section.tight { padding-top: clamp(44px, 6vh, 80px); }
.section.soft { background: var(--bg-soft); }
.container { max-width: 1140px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section .container { padding-left: 0; padding-right: 0; }
.container.narrow { max-width: 780px; }

.kicker {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(38px, 5.2vw, 66px);
  margin-bottom: 26px;
  max-width: 20ch;
}
.center { text-align: center; }
.center h2, .center .lead { margin-left: auto; margin-right: auto; }
.lead {
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--ink-dim);
  max-width: 620px;
  line-height: 1.8;
}
.lead strong, .lead b { color: var(--ink); font-weight: 400; }
.lead + .lead { margin-top: 18px; }
.lead .serif, p .serif { font-size: 1.12em; }

/* Big poetic statement */
.statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.24;
  max-width: 22ch;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.statement em { font-style: italic; color: var(--bronze); }
.statement .dim { color: var(--muted); }

/* Quote pills */
.quotes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 860px;
  margin: 48px auto 0;
}
.quotes.left { justify-content: flex-start; margin-left: 0; }
.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 21px);
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 11px 26px;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.03);
}
@media (max-width: 640px) { .quote { white-space: normal; } }

/* Dialogue exchange */
.dialogue {
  max-width: 640px;
  margin: 52px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dialogue .you, .dialogue .speak {
  max-width: 82%;
  padding: 14px 24px;
  border-radius: 22px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
}
.dialogue .you {
  align-self: flex-end;
  background: rgba(168, 114, 42, 0.09);
  border: 1px solid rgba(168, 114, 42, 0.25);
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 21px);
  border-bottom-right-radius: 6px;
}
.dialogue .speak {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  border-bottom-left-radius: 6px;
  position: relative;
  padding-left: 44px;
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.03);
}
.section.soft .dialogue .speak { background: #fbfaf8; }
.dialogue .speak::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 23px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid var(--glow);
  box-shadow: 0 0 8px rgba(62, 147, 201, 0.5);
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--card-shadow);
}
.card:hover {
  border-color: rgba(168, 114, 42, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(26, 24, 21, 0.05), 0 16px 40px rgba(26, 24, 21, 0.08);
}
.card h3 {
  font-size: 27px;
  margin-bottom: 14px;
  color: var(--ink);
}
.card p { font-size: 15px; color: var(--ink-dim); line-height: 1.75; }
.card p strong { color: var(--ink); font-weight: 400; }
.card .q {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  display: block;
  margin-top: 13px;
  font-size: 19px;
  line-height: 1.4;
}
.card .q.dim { color: var(--muted); }

/* Pillar cards (overview) */
.pillar {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 34px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--card-shadow);
}
.pillar:hover {
  border-color: rgba(168, 114, 42, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(26, 24, 21, 0.05), 0 18px 44px rgba(26, 24, 21, 0.09);
}
.pillar .kicker { margin-bottom: 12px; }
.pillar h3 {
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 10px;
}
.pillar p { font-size: 15px; color: var(--ink-dim); line-height: 1.7; }
.pillar .more {
  display: inline-block;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* Word list */
.wordlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 40px;
  max-width: 820px;
}
.wordlist span {
  font-size: 14.5px;
  color: var(--ink-dim);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  box-shadow: 0 1px 2px rgba(26, 24, 21, 0.03);
}

/* Ring — the device stays an object: dark, physical, glowing */
.ring-divider {
  display: flex;
  justify-content: center;
  padding: 10px 0 0;
}
.ring {
  width: 74px; height: 74px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 30%, #3a3a40, #1c1c1f 65%);
  box-shadow: 0 14px 34px rgba(26, 24, 21, 0.28), inset 0 1px 1px rgba(255,255,255,0.14);
}
.ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: #101012;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.8);
}
.ring::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(62, 147, 201, 0.75);
  filter: blur(0.4px);
  box-shadow: 0 0 18px rgba(62, 147, 201, 0.45), inset 0 0 12px rgba(62, 147, 201, 0.2);
  animation: ringPulse 4s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Flow steps */
.flow {
  max-width: 720px;
  margin: 48px auto 0;
  border-left: 1px solid var(--line);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.flow .step { position: relative; }
.flow .step::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 10px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bronze);
  box-shadow: 0 0 0 4px rgba(168, 114, 42, 0.14);
}
.flow .step h3 { font-size: 25px; margin-bottom: 8px; }
.flow .step p { color: var(--ink-dim); font-size: 15.5px; }
.flow .step .q { font-family: var(--serif); font-style: italic; color: var(--ink); }

/* Contrast pairs */
.pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 52px;
}
.pair {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.pair .no {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.pair .no-q {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(138, 132, 123, 0.55);
  font-size: 19px;
  margin-bottom: 22px;
}
.pair .yes {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.pair .yes-q {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 25px;
}

/* Wall of sayings */
.wall {
  columns: 3;
  column-gap: 16px;
  max-width: 1000px;
  margin: 60px auto 0;
}
@media (max-width: 900px) { .wall { columns: 2; } }
@media (max-width: 560px) { .wall { columns: 1; } }
.wall .quote {
  display: block;
  white-space: normal;
  margin-bottom: 16px;
  break-inside: avoid;
  text-align: center;
  font-size: 20px;
}
.wall .quote.highlight {
  border-color: rgba(168, 114, 42, 0.5);
  color: var(--bronze);
}

/* Closing */
.closing {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 120px var(--pad);
  background: #0d0c0b;
}
.closing img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
  opacity: 0.55;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, rgba(13,12,11,0.55) 0%, rgba(13,12,11,0.25) 100%);
}
.closing-content { position: relative; z-index: 2; }
.closing .kicker { margin-bottom: 26px; color: #dcb277; }
.closing h2 {
  font-size: clamp(48px, 7.5vw, 104px);
  max-width: none;
  margin-bottom: 10px;
  color: #fbf8f3;
}
.closing h2 .live { font-style: italic; color: #dcb277; }

/* Prev / next pagination */
.pagenav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.pagenav a {
  display: block;
  text-decoration: none;
  padding: clamp(36px, 6vh, 60px) var(--pad);
  transition: background 0.3s;
}
.pagenav a:hover { background: var(--bg-soft); }
.pagenav .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.pagenav .title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--ink);
}
.pagenav .next { text-align: right; border-left: 1px solid var(--line); }
.pagenav a:only-child { grid-column: 2; text-align: right; }
@media (max-width: 640px) {
  .pagenav { grid-template-columns: 1fr; }
  .pagenav .next { border-left: none; border-top: 1px solid var(--line); }
}

/* Footer */
footer {
  padding: 48px var(--pad) 60px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
  background: var(--bg-soft);
}
footer .nav-brand { font-size: 20px; display: inline-block; margin-bottom: 14px; color: var(--ink); }
footer .nav-brand em { color: var(--ink-dim); }
footer .tagline { margin-bottom: 18px; color: var(--ink-dim); }
footer .disclaimer {
  max-width: 520px;
  margin: 0 auto 10px;
  font-size: 12.5px;
  color: var(--muted);
}
footer .credit { color: var(--muted); }
footer .credit a {
  color: var(--bronze);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 114, 42, 0.35);
  transition: border-color 0.25s, color 0.25s;
}
footer .credit a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero img { animation: none; transform: none; }
}
