/* ═════════════════════════════════════════════════════════════════════
   OLGA RICHARDSON PRO
   Ballroom at midnight: ink black, champagne gold, chandelier light.
   Type: Cormorant Garamond (the gown) over Jost (the frame).
   ═════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #0b0a0d;   /* the ballroom at the edge of the light */
  --ink-soft:   #131118;
  --ink-panel:  #17141c;
  --gold:       #c9a24d;   /* champagne */
  --gold-hi:    #e8c87e;   /* caught by the chandelier */
  --gold-dim:   rgba(201, 162, 77, .32);
  --ivory:      #f2ead9;   /* warm stage ivory */
  --ivory-dim:  #b7ad9a;
  --rose:       #d9a291;   /* the faintest blush, used almost never */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: Jost, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-hi); }
::selection { background: rgba(201,162,77,.35); }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
em { font-style: italic; }

/* ── topbar ─────────────────────────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(22px, 5vw, 60px);
  background: linear-gradient(180deg, rgba(11,10,13,.85), rgba(11,10,13,0));
  backdrop-filter: blur(2px);
}
.wordmark {
  font-family: 'Cormorant Garamond', serif; font-size: 21px; letter-spacing: .04em;
  color: var(--ivory);
}
.wordmark span { color: var(--gold); font-style: italic; }
.topnav { display: flex; gap: clamp(18px, 3vw, 40px); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.topnav a { color: var(--ivory-dim); }
.topnav a:hover { color: var(--gold-hi); }
@media (max-width: 640px) { .topnav { display: none; } }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background: url('img/duet-bw.jpg') center 22% / cover no-repeat;
  filter: grayscale(1) contrast(1.06) brightness(.72);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 108%, rgba(11,10,13,.97) 8%, rgba(11,10,13,.55) 45%, rgba(11,10,13,.35) 100%),
    linear-gradient(180deg, rgba(11,10,13,.55), rgba(11,10,13,.18) 35%, rgba(11,10,13,.88) 88%);
}
#shimmer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.hero-inner { position: relative; padding: 90px 22px 40px; }
.hero-over {
  margin: 0 0 18px; font-size: 12.5px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold);
}
.hero h1 {
  margin: 0; font-size: clamp(64px, 13vw, 158px); line-height: .92;
  letter-spacing: .01em; color: var(--ivory); font-weight: 300;
  text-shadow: 0 4px 60px rgba(0,0,0,.65);
}
.gold-rule {
  width: 120px; height: 1px; margin: 34px auto 30px;
  background: linear-gradient(90deg, transparent, var(--gold-hi), transparent);
  position: relative;
}
.gold-rule::after {
  content: '✦'; position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  color: var(--gold-hi); font-size: 11px; background: transparent;
}
.hero-line {
  margin: 0 0 42px; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(21px, 3vw, 30px); line-height: 1.45; color: var(--ivory);
  opacity: .94;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-gold, .btn-line {
  display: inline-block; padding: 15px 36px; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; transition: all .3s;
}
.btn-gold {
  color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  box-shadow: 0 6px 34px rgba(201,162,77,.28);
}
.btn-gold:hover { color: var(--ink); box-shadow: 0 8px 48px rgba(201,162,77,.5); transform: translateY(-2px); }
.btn-line {
  color: var(--ivory); border: 1px solid var(--gold-dim);
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
}
.hero-scroll span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }

/* ── laurels (titles marquee) ───────────────────────────────────────── */
.laurels {
  border-top: 1px solid rgba(201,162,77,.14);
  border-bottom: 1px solid rgba(201,162,77,.14);
  padding: 20px 0; overflow: hidden; background: var(--ink-soft);
}
.laurels-track {
  display: flex; gap: 34px; width: max-content; align-items: center;
  animation: glide 46s linear infinite;
  font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivory-dim);
  padding-left: 34px;
}
.laurels-track i { color: var(--gold); font-style: normal; font-size: 10px; }
.laurels-track span { white-space: nowrap; }
@keyframes glide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .laurels-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 22px; }
  .hero-scroll span { animation: none; }
}

/* ── shared section chrome ──────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 16px; font-size: 12px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold);
}
section h2 {
  margin: 0 0 26px; font-size: clamp(38px, 6vw, 64px); line-height: 1.08;
  color: var(--ivory); letter-spacing: .005em;
}
section h2 em { color: var(--gold-hi); }

/* ── story ──────────────────────────────────────────────────────────── */
.story {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(90px, 14vh, 150px) clamp(22px, 5vw, 60px) clamp(60px, 8vh, 100px);
}
.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 4vw, 54px);
  margin-top: clamp(40px, 6vh, 70px);
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.chapter-n {
  margin: 0 0 8px; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 30px; color: var(--gold); opacity: .85;
}
.chapter h3 {
  margin: 0 0 14px; font-size: 26px; color: var(--ivory);
  border-top: 1px solid rgba(201,162,77,.25); padding-top: 18px;
}
.chapter p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--ivory-dim); }
.chapter strong { color: var(--ivory); font-weight: 400; }

/* ── gold moment ────────────────────────────────────────────────────── */
.moment { padding: clamp(30px, 6vh, 80px) clamp(22px, 5vw, 60px); }
.moment figure { max-width: 760px; margin: 0 auto; position: relative; }
.moment img {
  width: 100%; display: block;
  box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 60px rgba(201,162,77,.08);
}
.moment figcaption {
  margin-top: 18px; text-align: center; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 19px; color: var(--gold);
}

/* ── coach ──────────────────────────────────────────────────────────── */
.coach {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(70px, 10vh, 130px) clamp(22px, 5vw, 60px);
}
.coach-cols {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(34px, 5vw, 70px);
  margin-top: clamp(30px, 5vh, 50px);
}
@media (max-width: 900px) { .coach-cols { grid-template-columns: 1fr; } }
.coach-text .lead {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(24px, 3vw, 31px); line-height: 1.4; color: var(--ivory);
  margin: 0 0 22px;
}
.coach-text p { font-size: 16px; line-height: 1.8; color: var(--ivory-dim); margin: 0 0 18px; }
.coach-kicker {
  color: var(--gold-hi) !important; font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 21px !important;
}
.coach-marks { list-style: none; margin: 0; padding: 0; }
.coach-marks li {
  padding: 20px 0 20px 26px; position: relative;
  border-bottom: 1px solid rgba(201,162,77,.13);
  font-size: 15px; line-height: 1.7; color: var(--ivory-dim);
}
.coach-marks li::before {
  content: '✦'; position: absolute; left: 0; top: 22px; color: var(--gold); font-size: 11px;
}
.coach-marks b { display: block; color: var(--ivory); font-weight: 400; letter-spacing: .02em; margin-bottom: 4px; }

/* ── anima parlor ───────────────────────────────────────────────────── */
.anima {
  max-width: 860px; margin: 0 auto; text-align: center;
  padding: clamp(70px, 10vh, 130px) clamp(22px, 5vw, 60px);
}
.anima-sub {
  max-width: 620px; margin: 0 auto clamp(34px, 5vh, 54px);
  font-size: 16px; line-height: 1.75; color: var(--ivory-dim);
}
.parlor {
  text-align: left; background: linear-gradient(165deg, var(--ink-panel), var(--ink-soft));
  border: 1px solid rgba(201,162,77,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), inset 0 1px 0 rgba(232,200,126,.08);
}
.parlor-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid rgba(201,162,77,.16);
  background: linear-gradient(90deg, rgba(201,162,77,.1), transparent 70%);
}
.parlor-lamp {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-hi); box-shadow: 0 0 12px var(--gold-hi);
  animation: lamp 3.4s ease-in-out infinite;
}
@keyframes lamp { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.parlor-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: var(--ivory); }
.parlor-role { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: .8; }

.messages {
  min-height: 240px; max-height: 420px; overflow-y: auto;
  padding: 24px 22px; display: flex; flex-direction: column; gap: 14px;
  scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent;
}
.msg {
  max-width: 82%; padding: 13px 17px; font-size: 15px; line-height: 1.65;
  white-space: pre-wrap; word-wrap: break-word;
}
.from-anima {
  align-self: flex-start; color: var(--ivory);
  background: rgba(201,162,77,.09); border-left: 2px solid var(--gold);
}
.from-you {
  align-self: flex-end; color: var(--ink);
  background: linear-gradient(135deg, #e5d3a8, var(--gold));
}
.msg.thinking { color: var(--gold-hi); background: transparent; border: none; font-style: italic; }
.msg.thinking .dots i { animation: think 1.4s infinite; font-style: normal; }
.msg.thinking .dots i:nth-child(2) { animation-delay: .2s; }
.msg.thinking .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes think { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }
.msg.resting {
  align-self: center; text-align: center; max-width: 92%;
  background: rgba(201,162,77,.07); border: 1px solid rgba(201,162,77,.3);
  color: var(--ivory); font-size: 14.5px;
}
.msg.resting a { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }

.composer {
  display: flex; border-top: 1px solid rgba(201,162,77,.16);
}
.composer input {
  flex: 1; padding: 17px 22px; font: 300 15px Jost, sans-serif;
  background: transparent; border: none; outline: none; color: var(--ivory);
}
.composer input::placeholder { color: rgba(183,173,154,.55); }
.composer button {
  padding: 0 30px; border: none; cursor: pointer;
  font: 400 12px Jost, sans-serif; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  transition: filter .25s;
}
.composer button:hover { filter: brightness(1.12); }
.composer button:disabled { filter: grayscale(.6) brightness(.7); cursor: default; }

/* ── begin ──────────────────────────────────────────────────────────── */
.begin {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(90px, 14vh, 160px) clamp(22px, 5vw, 60px);
}
.begin-photo {
  /* atmospheric until approved photography arrives (same swap-back rule as .hero-photo) */
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 112%, rgba(201,162,77,.16) 0%, rgba(201,162,77,.05) 50%, transparent 75%),
    radial-gradient(ellipse 40% 30% at 50% -5%, rgba(232,200,126,.09), transparent 70%),
    linear-gradient(180deg, #0b0a0d, #14111a 55%, #0d0b10);
}
.begin::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--ink) 0%, transparent 35%, rgba(11,10,13,.3) 100%);
}
.begin-inner { position: relative; max-width: 700px; margin: 0 auto; }
.begin-line { font-size: 16.5px; line-height: 1.8; color: var(--ivory); margin: 0 0 36px; }
.begin-line strong { color: var(--gold-hi); font-weight: 400; }
.begin-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.begin-fine { font-size: 13.5px; color: var(--ivory-dim); }

/* ── footer ─────────────────────────────────────────────────────────── */
.footer {
  text-align: center; padding: 60px 22px 46px;
  border-top: 1px solid rgba(201,162,77,.14);
}
.foot-name { margin: 0 0 6px; font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--ivory); }
.foot-name span { color: var(--gold); font-style: italic; }
.foot-line { margin: 0 0 22px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); }
.foot-links { display: flex; gap: 28px; justify-content: center; margin-bottom: 20px; font-size: 14px; }
.foot-fine { margin: 0; font-size: 12px; color: rgba(183,173,154,.5); letter-spacing: .2em; text-transform: uppercase; }

/* ── mobile laurels: the glide is a desktop luxury ───────────────────
   On small screens the marquee becomes misplaced text, so below 640px
   it becomes what it actually is: an engraved list of titles, centered,
   wrapped, still gold, no motion. Desktop is untouched. */
@media (max-width: 640px) {
  .laurels { padding: 26px 22px; }
  .laurels-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 12px;
    column-gap: 14px;
    padding-left: 0;
    font-size: 11.5px;
    letter-spacing: .18em;
    line-height: 1.7;
    text-align: center;
  }
  .laurels-track span { white-space: normal; }
  /* the trailing separator has no partner once the loop stops looping */
  .laurels-track i:last-child { display: none; }
}
