/* Layout: one narrow left-aligned column, read like a private transcript; the hero is an unanswered message. */
:root {
  --night: #000000;      /* page: the brand's pure black */
  --night-2: #120304;    /* raised surfaces: form field, typing bubble */
  --signal: #d60016;     /* neon ring and mark */
  --crimson: #ab0000;    /* wordmark red: bubble, buttons */
  --crimson-lit: #c8000f;/* buttons under light: hover, focus */
  --bone: #ece4d8;       /* primary text */
  --ash: #a8968f;        /* secondary text, warm grey */
  --gold: #f2bc8c;       /* the banner gold: entry line, title, prices */
  --gold-deep: #d29c6c;  /* lower edge of the gold title */
  --line: #2a0a0c;       /* dividers */

  --display: "Cinzel", "Trajan Pro", "Optima", Georgia, serif;
  --text: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;

  --step--1: 0.9375rem;
  --step-0: 1.1875rem;
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.25rem + 3.2vw, 3rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.6vw, 4rem);

  --measure: 38rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html, body { overflow-x: hidden; }

.wrap {
  position: relative;
  z-index: 1;
  max-width: calc(var(--measure) + 2 * 16px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

/* header */
.site-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 1.5rem 0.5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--crimson);
  text-decoration: none;
}
.wordmark img { width: 1.6rem; height: auto; }
.wordmark:hover { color: var(--signal); }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-family: var(--display); font-size: 0.8125rem; letter-spacing: 0.06em; }
.site-nav a { color: var(--ash); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bone); }

/* the unanswered message */
.thread {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding-block: 3.5rem 0.5rem;
}
.bubble {
  max-width: 17rem;
  padding: 0.7rem 1rem;
  border-radius: 1.15rem 1.15rem 0.3rem 1.15rem;
  background: var(--crimson);
  color: var(--bone);
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}
.receipt { font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 0.75rem; color: var(--ash); }
.typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 0.75rem 0.9rem;
  margin-top: 1.25rem;
  border-radius: 1.15rem 1.15rem 1.15rem 0.3rem;
  background: var(--night-2);
  opacity: 0;
  animation: typing-life 7s ease-in-out 1.2s 1 both;
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ash);
  animation: dot 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
/* appears, hesitates, and is gone: no reply comes */
@keyframes typing-life {
  0% { opacity: 0; }
  10%, 55% { opacity: 1; }
  70%, 100% { opacity: 0; }
}

/* the whisper: NoirEva's voice is always set in the display face */
.whisper {
  font-family: var(--text);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 2.5rem 0 0;
}
.whisper .soft { display: block; color: var(--ash); }
.verdict {
  font-family: var(--text);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.25;
  text-wrap: balance;
  margin: 1.5rem 0 0;
  max-width: 30rem;
}

/* gift */
.gift { padding-block: 2.5rem 3.5rem; border-bottom: 1px solid var(--line); }
.gift h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}
.gift p { margin: 0 0 1.25rem; color: var(--ash); max-width: 32rem; }
.signup { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup label { flex-basis: 100%; font-size: var(--step--1); color: var(--ash); }
.signup input[type="email"] {
  flex: 1 1 14rem;
  min-width: 0;
  font: inherit;
  color: var(--bone);
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.8rem 0.95rem;
}
.signup input[type="email"]::placeholder { color: #75625d; }
.signup input[type="email"]:focus-visible { outline: 2px solid var(--signal); outline-offset: 1px; }
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--bone);
  background: var(--crimson);
  border: 0;
  border-radius: 0.5rem;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--crimson-lit); color: var(--bone); }
.btn-quiet { background: transparent; border: 1px solid var(--line); }
.btn-quiet:hover { background: var(--night-2); border-color: var(--crimson-lit); }
.form-note { flex-basis: 100%; margin: 0.25rem 0 0; font-size: var(--step--1); color: var(--ash); min-height: 1.3em; }
.form-note[data-state="ok"] { color: var(--bone); }
.form-note[data-state="error"] { color: #d88a93; }

/* sections */
.section { padding-block: 3.25rem; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; }
.section > h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.1;
  margin: 0 0 0.6rem;
  text-wrap: balance;
}
.lede { color: var(--ash); margin: 0 0 2rem; max-width: 32rem; }

/* the file index: track numbers are the real CUT FILE numbering */
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.file {
  display: grid;
  grid-template-columns: 5.25rem 1fr auto;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.file:last-child { border-bottom: 1px solid var(--line); }
.file .nums { font-variant-numeric: tabular-nums; color: var(--gold); font-size: var(--step--1); letter-spacing: 0.04em; }
.file h3 { font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.15; margin: 0; }
.file .price { font-variant-numeric: tabular-nums; color: var(--gold); white-space: nowrap; }
.file p { grid-column: 2 / 4; margin: 0.15rem 0 0; color: var(--ash); max-width: 30rem; }
.file .meta { grid-column: 2 / 4; font-size: var(--step--1); color: var(--ash); }
.file .actions { grid-column: 2 / 4; margin-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.file h3, .file p { min-width: 0; }

.bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--crimson);
  border-radius: 0.6rem;
}
.bundle strong { font-weight: 600; }
.bundle .price { color: var(--gold); font-variant-numeric: tabular-nums; }
.bundle s { color: var(--ash); }

/* listening rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.rules li { font-family: var(--text); font-style: italic; font-size: var(--step-1); line-height: 1.35; }
.rules li.warn { font-family: var(--text); font-size: var(--step-0); color: var(--ash); margin-top: 0.5rem; }

/* tiers on the custom page */
.tiers { display: grid; gap: 0; }
.tier { padding-block: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.35rem; }
.tier:last-child { border-bottom: 1px solid var(--line); }
.tier h3 { font-family: var(--display); font-weight: 500; font-size: var(--step-2); margin: 0; }
.tier p { margin: 0; color: var(--ash); max-width: 32rem; }
.tier .btn { justify-self: start; margin-top: 0.5rem; }

.page-title {
  font-family: var(--display);
  font-weight: 500;
  color: var(--crimson);
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 3rem 0 1rem;
  text-wrap: balance;
}

/* footer */
.site-foot { padding-block: 2.5rem 3rem; font-size: var(--step--1); color: var(--ash); display: grid; gap: 1rem; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; }
.site-foot a { color: var(--ash); }
.site-foot a:hover { color: var(--bone); }
.disclaimer { max-width: 32rem; margin: 0; }

@media (max-width: 30rem) {
  .file { grid-template-columns: 1fr auto; }
  .file .nums { grid-column: 1 / 3; }
  .file p, .file .meta, .file .actions { grid-column: 1 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  .typing { animation: none; opacity: 0; }
  .typing span { animation: none; }
}

.foot-logo { width: 5.5rem; height: auto; opacity: 0.9; }
.tagline { font-family: var(--display); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--crimson); margin: 0; }

/* entry: continues the profile banner word for word */
.entry {
  position: relative;
  text-align: center;
  padding-block: 3rem 3.25rem;
  border-bottom: 1px solid var(--line);
}
.silk {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}
.entry-line {
  font-family: var(--display);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin: 0;
}
.entry-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 0.6rem + 5.6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0.75rem auto 1.5rem;
  text-wrap: balance;
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold) 35%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(242, 188, 140, 0.18));
}
.entry-mark { display: block; width: 4.5rem; height: auto; margin: 0 auto 2.25rem; }
.entry .gift { border-bottom: 0; padding-block: 0; max-width: 30rem; margin: 0 auto; }
.entry .gift p { margin-inline: auto; }
.entry .signup { justify-content: center; text-align: left; }
.recognition .thread { padding-top: 0.5rem; }
.recognition .whisper { margin-top: 1.5rem; }
.recognition .verdict { margin-bottom: 1.75rem; }
.section > h2.whisper {
  font-family: var(--text);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.12;
  margin: 1.5rem 0 0;
}

.private { font-size: var(--step--1); color: var(--ash); margin: 0.75rem auto 0; }

/* listen: the voice is the product, so it is heard before it is described */
.listen { text-align: center; }
.listen > h2 { margin-top: 0.5rem; }
.player { display: inline-flex; align-items: center; gap: 1rem; margin: 1rem 0 0.5rem; }
.play {
  width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: transparent; color: var(--bone);
  border: 2px solid var(--signal);
  box-shadow: 0 0 14px 1px rgba(214, 0, 22, 0.55), inset 0 0 12px rgba(214, 0, 22, 0.35);
  display: grid; place-items: center; cursor: pointer;
}
.play:hover { box-shadow: 0 0 22px 3px rgba(214, 0, 22, 0.7), inset 0 0 14px rgba(214, 0, 22, 0.45); }
.play svg { width: 1.75rem; height: 1.75rem; fill: currentColor; }
.play .icon-pause { display: none; }
.play[aria-pressed="true"] .icon-play { display: none; }
.play[aria-pressed="true"] .icon-pause { display: inline; }
.time { font-variant-numeric: tabular-nums; color: var(--ash); font-size: var(--step--1); min-width: 6.5em; text-align: left; }
.listen .verdict { margin: 1rem auto 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .play[aria-pressed="true"] { animation: ring 2.4s ease-in-out infinite; }
  @keyframes ring { 50% { box-shadow: 0 0 26px 5px rgba(214, 0, 22, 0.7), inset 0 0 16px rgba(214, 0, 22, 0.5); } }
}

.consent { margin-top: 0.35rem; font-size: 0.8125rem; opacity: 0.8; }
