/* Owner letter: "Notes on {venue}". Paper, ink, their photos, their words. */

:root {
  --paper: #f5f1ea;
  --paper-deep: #ebe4d8;
  --card: #fffdf9;
  --ink: #1d1a16;
  --ink-soft: #3b352e;
  --muted: #6e655b;
  --line: rgba(29, 26, 22, 0.12);
  --accent: #23392f;
  --accent-soft: rgba(35, 57, 47, 0.08);
  --clay: #9a5a32;
  --shadow: 0 22px 50px rgba(40, 30, 18, 0.1);
  --font: "Sora", system-ui, sans-serif;
  --display: "Newsreader", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body.owner-body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(680px, calc(100% - 2 * var(--pad))); margin-inline: auto; }
.wrap-wide { width: min(1080px, calc(100% - 2 * var(--pad))); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; }

/* —— Sample banner (only on /) —— */
.sample-banner {
  margin: 0;
  padding: 0.6rem var(--pad);
  text-align: center;
  font-size: 0.8rem;
  color: var(--paper);
  background: var(--accent);
}

/* —— Nav —— */
.letter-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.letter-nav__mark { font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--ink-soft); }
.letter-nav a { text-decoration: none; letter-spacing: 0.03em; }
.letter-nav a:hover { color: var(--ink); }
.is-sample .letter-nav a,
.is-sample .site-foot a { display: none; }

/* —— Hero —— */
.letter-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas:
    "copy photos"
    "ledger ledger";
  column-gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 3.5rem);
}

.letter-hero__copy { grid-area: copy; animation: rise 0.8s var(--ease) both; }

.kicker {
  margin: 0 0 1.1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}

.letter-hero__headline {
  margin: 0 0 1.4rem;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.letter-hero__follow {
  display: block;
  margin-top: 0.6rem;
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--muted);
}
.letter-hero__follow:empty { display: none; }

.letter-hero__value {
  margin: 0 0 1.9rem;
  max-width: 33rem;
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Their photos, pinned like prints */
.letter-hero__photos {
  grid-area: photos;
  position: relative;
  min-height: 320px;
  animation: rise 0.9s var(--ease) 0.1s both;
}
.letter-hero__photos:empty { display: none; }
.print {
  margin: 0;
  padding: 10px 10px 0;
  background: var(--card);
  box-shadow: var(--shadow);
  transform: rotate(-1.6deg);
}
.print img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
}
.print figcaption {
  padding: 0.55rem 0.2rem 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
}
.print--second {
  position: absolute;
  width: 46%;
  right: -4%;
  bottom: -12%;
  transform: rotate(3deg);
}
.print--second img { aspect-ratio: 1; }
.print.is-broken { display: none; }

/* What I went through, as numbers */
.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem 2rem;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.ledger:empty { display: none; }
.ledger div { animation: rise 0.7s var(--ease) both; }
.ledger div:nth-child(2) { animation-delay: 0.08s; }
.ledger div:nth-child(3) { animation-delay: 0.16s; }
.ledger div:nth-child(4) { animation-delay: 0.24s; }
.ledger dt {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1;
  color: var(--clay);
  letter-spacing: -0.02em;
}
.ledger dd {
  margin: 0.4rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 15rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* —— Buttons —— */
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-play:hover { transform: translateY(-1px); background: #1a2c24; }
.btn-play:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-stop {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.btn-stop[hidden] { display: none; }

/* —— What I found —— */
.found { padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.found__head { max-width: 40rem; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.found__head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 0.75rem; }
.found__head p { margin: 0; color: var(--muted); font-size: 1rem; }

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(3rem, 7vw, 4.75rem); }

.note {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0 clamp(1.5rem, 4vw, 3rem);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.note.is-in { opacity: 1; transform: none; }

.note__meta { padding-top: 0.35rem; }
.note__main { min-width: 0; }
.note__n {
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--clay);
}
.note__source {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.note__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  line-height: 1.15;
}
.note__body {
  margin: 1.35rem 0 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Artifact: a quote from their reviews */
.quote {
  margin: 0;
  padding: 1.4rem 1.5rem 1.2rem;
  background: var(--card);
  border-left: 3px solid var(--clay);
  box-shadow: 0 10px 30px rgba(40, 30, 18, 0.06);
  max-width: 40rem;
}
.quote__stars { color: #c08a2b; letter-spacing: 0.15em; font-size: 0.8rem; margin-bottom: 0.55rem; }
.quote p {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.12rem, 2.2vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote footer { margin-top: 0.85rem; font-size: 0.8rem; color: var(--muted); }
.quote footer strong { color: var(--ink-soft); font-weight: 500; }

/* Artifact: the path a new inquiry takes today */
.path { list-style: none; margin: 0; padding: 0; max-width: 34rem; position: relative; }
.path li {
  position: relative;
  padding: 0 0 1.15rem 1.9rem;
}
.path li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--accent);
}
.path li::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 1.2rem;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.path li:last-child { padding-bottom: 0; }
.path li:last-child::after { display: none; }
.path li:last-child::before { border-style: dashed; border-color: var(--muted); }
.path__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.path__text {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.35;
  word-break: break-word;
}
.path li:last-child .path__text { font-style: italic; color: var(--muted); }

/* Artifact: chips (listings, spaces) */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.88rem;
}

/* —— How a new inquiry could go —— */
.scene {
  background: var(--paper-deep);
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}
.scene__head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.scene__head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 0.75rem; }
.scene__head p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.scene__grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.phone {
  position: relative;
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(40, 30, 18, 0.16), 0 0 0 8px #fff, 0 0 0 9px var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: min(620px, 78svh);
}
.phone__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: #fbf8f3;
}
.phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent) center / cover no-repeat;
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.05rem;
  flex: none;
}
.phone__who { display: grid; line-height: 1.25; }
.phone__who strong { font-size: 0.92rem; font-weight: 600; }
.phone__who small { font-size: 0.72rem; color: var(--muted); }

.thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1rem 1.4rem;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.thread:empty::after {
  content: "Press play to watch a new inquiry come in.";
  margin: auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.bubble {
  max-width: 84%;
  padding: 0.7rem 0.9rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
  animation: bubbleIn 0.45s var(--ease) both;
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bubble--guest {
  align-self: flex-end;
  background: #e7efe9;
  color: var(--ink);
  border-bottom-right-radius: 5px;
}
.bubble--agent {
  align-self: flex-start;
  background: #f1ece4;
  color: var(--ink);
  border-bottom-left-radius: 5px;
}
.bubble__who {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.status-line {
  align-self: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  animation: bubbleIn 0.4s var(--ease) both;
  text-align: center;
  max-width: 92%;
}

/* Calendar opens as a sheet inside the phone */
.booking-stage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.1rem 1.2rem;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 40px rgba(40, 30, 18, 0.14);
  animation: sheetUp 0.45s var(--ease);
}
.booking-stage[hidden] { display: none; }
.phone.is-booking .thread { padding-bottom: 350px; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

.booking-hint { margin: 0 0 0.4rem; color: var(--muted); font-size: 0.85rem; }
.cal-month { font-family: var(--display); font-size: 1.1rem; margin: 0 0 0.6rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.28rem; margin-bottom: 0.8rem; }
.cal-dow { text-align: center; font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cal-day {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbf8f3;
  font: inherit;
  font-size: 0.78rem;
  white-space: nowrap;
  cursor: pointer;
  color: var(--ink);
  min-width: 0;
  padding: 0;
}
.cal-day.is-empty { border: none; background: transparent; pointer-events: none; }
.cal-day.is-blocked { opacity: 0.3; cursor: not-allowed; }
.cal-day:not(:disabled):not(.is-blocked) { border-color: rgba(35, 57, 47, 0.35); font-weight: 500; }
.cal-day:not(:disabled):hover { border-color: var(--accent); }
.cal-day.is-selected { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.cal-times { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.85rem; min-height: 2.5rem; }
.cal-time {
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.cal-time.is-selected { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 500; }
.booking-stage .btn-play { width: 100%; }

/* Side column: play + beats + results */
.theater__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-bottom: 1.75rem; }

.beats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.beats li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.55rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}
.beats li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  transform: translateY(0.05rem);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.beats li.is-active { color: var(--ink); font-weight: 500; }
.beats li.is-active::before { border-color: var(--clay); background: rgba(154, 90, 50, 0.2); }
.beats li.is-done { color: var(--ink-soft); }
.beats li.is-done::before { background: var(--accent); border-color: var(--accent); }

.results {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.results.is-visible { opacity: 1; transform: none; }
.results[hidden] { display: none; }
.results h3 { font-size: 1.35rem; margin: 0 0 0.9rem; }
.results-list { list-style: none; margin: 0; padding: 0; }
.results-list li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.results-list .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}
.disclaimer { margin: 0.9rem 0 0; font-size: 0.78rem; color: var(--muted); }

/* —— Close —— */
.close { padding: clamp(3.5rem, 9vw, 5.5rem) 0; text-align: center; }
.close__text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: balance;
}

.site-foot {
  padding: 1.75rem 0 5.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-foot a { text-decoration: none; color: var(--accent); font-weight: 500; }

/* —— Voice FAB + panel —— */
.voice-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(40, 30, 18, 0.14);
}
.voice-fab { transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.voice-fab.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }
.voice-fab__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fae84;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(95, 174, 132, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(95, 174, 132, 0); }
}

.voice-panel {
  position: fixed;
  right: 1rem;
  bottom: 4.4rem;
  z-index: 45;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(70vh, 520px);
  overflow: auto;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.2rem;
}
.voice-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; }
.voice-panel__close { border: none; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); min-width: 44px; min-height: 44px; }
.voice-step { text-align: center; }
.voice-orb { position: relative; width: 72px; height: 72px; margin: 0.5rem auto 1rem; }
.voice-orb-core { position: absolute; inset: 18px; border-radius: 50%; background: var(--accent); }
.voice-orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(35, 57, 47, 0.25); animation: orbPulse 2.4s ease infinite; }
.voice-orb-ring.r2 { inset: 8px; animation-delay: 0.4s; }
.voice-orb[data-state="listening"] .voice-orb-core,
.voice-orb[data-state="speaking"] .voice-orb-core { background: #2f5d50; }
.voice-orb[data-state="speaking"] .voice-orb-ring { animation-duration: 1.2s; }
@keyframes orbPulse { 0%, 100% { transform: scale(0.92); opacity: 0.35; } 50% { transform: scale(1.05); opacity: 0.85; } }
.voice-hint { font-size: 0.9rem; color: var(--muted); margin: 0 0 1rem; }
.voice-hint.quiet { font-size: 0.82rem; }
.voice-lead-form { display: grid; gap: 0.65rem; text-align: left; }
.voice-lead-form label { display: grid; gap: 0.25rem; font-size: 0.78rem; color: var(--muted); }
.voice-lead-form input {
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fbf8f3;
}
.voice-lead-error { color: #8a3b2b; font-size: 0.82rem; margin: 0; }
.voice-state-label { font-weight: 500; margin: 0 0 0.35rem; }
.voice-caption { font-size: 0.9rem; color: var(--muted); min-height: 2.5rem; margin: 0 0 0.75rem; }

/* —— Ledger intro —— */
.ledger-wrap { grid-area: ledger; margin-top: clamp(2.5rem, 6vw, 4rem); }
.ledger-wrap .ledger { margin-top: 0.75rem; }
.ledger-intro {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--muted);
}
.ledger-intro:empty { display: none; }

/* —— Research file —— */
.file { padding: 0 0 clamp(3.5rem, 8vw, 5.5rem); }
.file[hidden] { display: none; }
.file__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: clamp(1.75rem, 4vw, 3rem); align-items: start; }
.file__cols > div:empty { display: none; }
.file__source { margin: 0 0 0.6rem; display: flex; gap: 0.7rem; align-items: baseline; font-size: 0.92rem; color: var(--ink-soft); }
.file__source strong { font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--clay); line-height: 1; }

/* —— Insight stat callout —— */
.stat {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  padding: 0.9rem 1.2rem;
  max-width: 34rem;
  background: var(--card);
  border-left: 3px solid var(--clay);
  border-radius: 0 12px 12px 0;
}
.stat strong { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--clay); white-space: nowrap; }
.stat span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45; }
.note__title + .note__body { margin-top: 0; }

/* —— Sound toggle + celebration —— */
.btn-sound {
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}
.btn-sound[aria-pressed="false"] { text-decoration: line-through; }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 80; }
.file__label {
  margin: 0 0 0.9rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.file__side > div + div { margin-top: 2rem; }
.file__pages { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.file__pages li { display: grid; font-size: 0.9rem; line-height: 1.35; }
.file__pages small { color: var(--muted); font-size: 0.74rem; word-break: break-all; }

/* —— Sign off —— */
.signoff { margin: 2rem 0 0; display: grid; gap: 0.2rem; font-family: var(--display); font-size: 1.15rem; color: var(--muted); }
.signoff:empty { display: none; }
.signoff strong { font-weight: 500; font-style: italic; font-size: 1.5rem; color: var(--ink); }
.signoff__role { font-family: var(--font); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }
.person__role { font-size: 0.78rem !important; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay) !important; }
.print-note { display: none; }

/* —— Home ("who I am") —— */
.notice-bar {
  margin: 0;
  padding: 0.6rem var(--pad);
  text-align: center;
  font-size: 0.8rem;
  color: var(--paper);
  background: var(--clay);
}
.notice-bar--soft { background: var(--accent); }
.notice-bar[hidden] { display: none; }
.letter-nav a[hidden], .btn-play[hidden] { display: none; }

.person { display: flex; align-items: center; gap: 0.9rem; margin: 0 0 1.75rem; }
.person:empty { display: none; }
.person__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--accent) center / cover no-repeat;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.5rem;
}
.person__text { display: grid; line-height: 1.35; }
.person__text strong { font-weight: 600; }
.person__text span { font-size: 0.9rem; color: var(--ink-soft); }
.person__text small { font-size: 0.8rem; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.25rem; }
.step {
  padding: 1.4rem 1.3rem 1.3rem;
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line);
  position: relative;
}
.step__n { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--clay); }
.step h3 { margin: 0.8rem 0 0.5rem; font-size: 1.3rem; line-height: 1.2; }
.step p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }
.step.is-done::after {
  content: "You are here";
  position: absolute;
  top: 1.2rem;
  right: 1.1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1.25rem; }
.outcome {
  padding: 1.5rem 1.4rem 1.4rem;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.outcome__n { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--clay); }
.outcome h3 { margin: 0.8rem 0 0.5rem; font-size: 1.35rem; line-height: 1.2; }
.outcome p { margin: 0; font-size: 0.93rem; line-height: 1.6; color: var(--ink-soft); }

.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1rem 2rem; max-width: 52rem; }
.promises li { position: relative; padding-left: 2rem; font-family: var(--display); font-size: 1.2rem; line-height: 1.4; }
.promises li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 0.6rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.close__btn { margin-top: 2rem; }

/* —— Small screens —— */
@media screen and (max-width: 860px) {
  .letter-hero {
    grid-template-columns: 1fr;
    grid-template-areas: "photos" "copy" "ledger";
    padding-top: 1.5rem;
  }
  .letter-hero__photos { min-height: 0; margin: 0 2.5rem 2.25rem 0.25rem; }
  .print { padding: 7px 7px 0; }
  .print img { aspect-ratio: 16 / 10; }
  .print figcaption { padding: 0.35rem 0.15rem 0.5rem; font-size: 0.8rem; }
  .print--second { width: 34%; right: -2.25rem; bottom: -1.5rem; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file__cols { grid-template-columns: 1fr; }
  .note { grid-template-columns: 1fr; }
  .note__meta { display: flex; align-items: baseline; gap: 0.9rem; margin-bottom: 0.9rem; padding: 0; }
  .note__n { font-size: 2rem; }
  .note__source { margin: 0; }
  .scene__grid { grid-template-columns: 1fr; }
  .phone { height: min(560px, 80svh); }
  .scene__side { order: -1; }
  .theater__actions { margin-bottom: 0.5rem; }
  .beats { display: none; }
}

@media screen and (max-width: 520px) {
  .letter-hero .btn-play,
  .theater__actions .btn-play { width: 100%; }
  .results-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .ledger dt { font-size: 2rem; }
  .quote { padding: 1.1rem 1.1rem 1rem; }
  .letter-nav__mark { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .note { opacity: 1; transform: none; }
}

/* —— Print / PDF: the whole page as a finished document —— */
@page { size: Letter; margin: 0.45in; }
@media print {
  html, body.owner-body { background: var(--paper) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .voice-fab, .voice-panel, .theater__actions, .confetti, .booking-stage, .letter-nav a, .site-foot a, #heroCta { display: none !important; }
  .wrap, .wrap-wide { width: 100%; }
  .letter-hero { grid-template-columns: 1.2fr 1fr; padding-top: 1rem; }
  .letter-hero__headline { font-size: 2.3rem; }
  .note { opacity: 1 !important; transform: none !important; break-inside: avoid; }
  .notes { gap: 2.2rem; }
  .found { padding: 2rem 0 1.5rem; break-before: page; }
  .file { break-before: page; padding-bottom: 1.5rem; }
  .scene { break-before: page; padding: 1.75rem 0; }
  .scene__grid { grid-template-columns: 330px 1fr; gap: 1.75rem; }
  .phone { height: auto !important; overflow: visible; box-shadow: 0 0 0 1px var(--line); border-radius: 18px; }
  .bubble, .status-line, .step, .outcome, .stat { break-inside: avoid; }
  .letter-hero__photos { min-height: 250px; }
  .print--second { right: 0; }
  .letter-hero__value { font-size: 0.95rem; }
  .ledger dt { font-size: 2.1rem; }
  .scene__head { margin-bottom: 1.25rem; }
  .phone .thread { overflow: visible; max-height: none; }
  .results { opacity: 1 !important; transform: none !important; box-shadow: 0 0 0 1px var(--line); }
  .results[hidden] { display: block !important; }
  .beats { display: grid !important; }
  .close { padding: 2rem 0 1rem; break-inside: avoid; }
  .print-note { display: block; margin: 1.75rem auto 0; max-width: 34rem; font-size: 0.82rem; color: var(--muted); word-break: break-word; }
  .site-foot { padding-bottom: 0; }
}

/* Company wordmark on the About page */
.home-page .letter-nav__mark {
  font-style: normal;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
