/* The Good Toast: shared styles for index.html and process.html
   Tokens and layout replicate the approved mockups. */

:root {
  --bg: #FCFAF6;
  --card: #FFFFFF;
  --ink: #23211D;
  --muted: #6E675D;
  --wine: #6B1F2A;
  --wine-deep: #521721;
  --wine-soft: #F4E6E4;
  --gold: #B8893B;
  --gold-soft: #F3E7D2;
  --border: #E9E2D5;
  --sans: 'Onest', -apple-system, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'Spline Sans Mono', monospace;
  --r: 20px;
  --shadow: 0 1px 2px rgba(35,33,29,0.04), 0 12px 32px rgba(35,33,29,0.06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }

.btn {
  display: inline-block;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--wine);
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 150ms ease, background 150ms ease;
}
.btn:hover { transform: translateY(-1px); background: var(--wine-deep); }
.btn-soft { background: var(--wine-soft); color: var(--wine); }
.btn-soft:hover { background: #EDD8D5; }

header { position: sticky; top: 0; z-index: 50; background: rgba(252,250,246,0.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.wordmark { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ink); text-decoration: none; }
.wordmark b { color: var(--wine); font-weight: 500; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--wine); }
.nav .btn { padding: 9px 20px; font-size: 14px; }

.h2 { font-weight: 700; font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.025em; line-height: 1.08; }
.h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--wine); }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.sec-head .chip { margin-bottom: 18px; }
.sec-head p { color: var(--muted); margin-top: 16px; font-size: 17.5px; }
section { padding: 88px 0; }

/* hero (home) */
.hero { padding: 84px 0 64px; text-align: center; }
.hero .chip { margin-bottom: 28px; animation: up 600ms ease both; }
.hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin: 0 auto;
  animation: up 600ms ease 80ms both;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--wine); letter-spacing: -0.01em; }
.hero p { color: var(--muted); font-size: 18.5px; max-width: 52ch; margin: 24px auto 34px; animation: up 600ms ease 160ms both; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* hero (process variant) */
.hero--process { padding: 80px 0 40px; }
.hero--process .chip { margin-bottom: 26px; }
.hero--process h1 {
  font-size: clamp(38px, 5.8vw, 66px);
  line-height: 1.05;
  max-width: 18ch;
}
.hero--process h1 em { letter-spacing: 0; }
.hero--process p { margin: 22px auto 0; }

/* waveform signature (home) */
.wave-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  max-width: 860px;
  margin: 60px auto 0;
  padding: 34px 34px 26px;
  text-align: left;
  animation: up 600ms ease 260ms both;
}
.wave-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.wave-top .t { font-weight: 600; font-size: 15px; }
.wave-top .m { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 92px; }
.wave i { flex: 1; background: var(--border); border-radius: 3px; min-height: 8%; }
.wave i.talk { height: 34%; background: #DCCFC0; }
.wave i.peak { background: var(--wine); }
.wave i.pause { height: 8%; background: var(--border); }
.wave-notes { display: flex; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; gap: 10px; }
.wave-notes span { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.wave-notes b { color: var(--wine); font-weight: 500; }

/* thesis (home) */
.thesis-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.thesis-card p { color: var(--muted); font-size: 17.5px; margin-bottom: 16px; }
.thesis-card p strong { color: var(--ink); font-weight: 600; }
.thesis-card .pull {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 27px; line-height: 1.35; color: var(--wine);
}

/* how it works (home) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.step .n {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--wine-soft); color: var(--wine);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* big weddings (home) */
.bigrooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.room {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.room .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--gold-soft); color: var(--gold);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.room h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.room p { font-size: 14.5px; color: var(--muted); }

/* packages (home) */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) + 4px);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--wine); box-shadow: 0 1px 2px rgba(35,33,29,0.04), 0 16px 40px rgba(107,31,42,0.13); position: relative; }
.plan.featured::after {
  content: "MOST BOOKED";
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  background: var(--wine); color: #fff;
  padding: 4px 12px; border-radius: 999px;
}
.plan .who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.plan h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 4px; font-variant-numeric: tabular-nums; color: var(--wine); }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 26px; flex: 1; }
.plan li { font-size: 14.5px; color: var(--muted); padding: 7px 0 7px 26px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--wine-soft);
  box-shadow: inset 0 0 0 1px var(--wine);
}
.plan .btn { text-align: center; }
.fine { text-align: center; color: var(--muted); font-size: 13.5px; max-width: 72ch; margin: 30px auto 0; }
.fine b { color: var(--ink); font-weight: 600; }
.fine a { color: var(--wine); font-weight: 600; }

/* the standard (home) */
.standard-card {
  background: linear-gradient(160deg, #481520, #2A0D13);
  color: #F4EFE6;
  border-radius: calc(var(--r) + 8px);
  padding: 64px 56px;
  text-align: center;
}
.standard-card .h2 { color: #F4EFE6; }
.standard-card .h2 em { color: var(--gold); }
.standard-card p { color: #CBB3B0; max-width: 58ch; margin: 20px auto 0; font-size: 17px; }
.standard-card p a { color: var(--gold); font-weight: 600; }
.rebate {
  display: inline-block;
  font-family: var(--mono); font-size: 13.5px;
  color: var(--gold);
  border: 1px solid rgba(184,137,59,0.45);
  border-radius: 999px;
  padding: 11px 20px;
}
.standard-card .rebate { margin-top: 28px; }

/* about (home) */
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  padding: 56px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
}
.portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r);
  background:
    radial-gradient(ellipse 80% 55% at 50% 22%, rgba(184,137,59,0.18), transparent 65%),
    linear-gradient(170deg, #EFE8DA, #E4DACA);
  border: 1px solid var(--border);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 18px;
}
.portrait span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.about-copy .chip { margin-bottom: 18px; }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.about-copy .sig {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 24px; color: var(--wine); margin-top: 6px;
}

/* faq (home) */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  color: var(--wine);
  font-size: 20px;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* proof (home) */
.clips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clip {
  aspect-ratio: 4/5;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.clip .play {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wine-soft); color: var(--wine);
  display: grid; place-items: center;
}
.clip .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* philosophy: trained not scripted (process) */
.balance-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--r) + 6px);
  box-shadow: var(--shadow);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.balance-card h2 { margin-bottom: 6px; }
.balance-card .lead { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; color: var(--wine); line-height: 1.35; margin-top: 14px; }
.balance-card p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.balance-card p strong { color: var(--ink); font-weight: 600; }
.keep-cut { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.kc {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
}
.kc.keep { background: var(--gold-soft); border-color: #E5D3AE; }
.kc.cut { background: var(--wine-soft); border-color: #E3C6C3; }
.kc h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.kc.keep h4 { color: var(--gold); }
.kc.cut h4 { color: var(--wine); }
.kc ul { list-style: none; }
.kc li { font-size: 14px; color: var(--ink); padding: 4px 0; }

/* timeline (process) */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; left: 25px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; padding: 0 0 40px 76px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .wk {
  position: absolute; left: 0; top: 0;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--wine); color: #fff;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  box-shadow: 0 0 0 6px var(--bg);
}
.tl-item.alt .wk { background: var(--gold); }
.tl-item h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 6px 0 8px; }
.tl-item p { color: var(--muted); font-size: 15.5px; max-width: 58ch; }
.tl-item .yours {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono); font-size: 12px;
  color: var(--wine);
  background: var(--wine-soft);
  border-radius: 999px;
  padding: 6px 14px;
}
.tl-item .onsite {
  display: inline-block;
  margin-top: 12px; margin-left: 8px;
  font-family: var(--mono); font-size: 12px;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 6px 14px;
}

/* session anatomy (process) */
.anatomy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ana {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.ana .n {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--wine-soft); color: var(--wine);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  margin-bottom: 18px;
}
.ana h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.ana p { font-size: 14.5px; color: var(--muted); }
.ana .ex {
  margin-top: 16px;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  font-family: var(--mono); font-size: 12px; line-height: 1.8;
  color: var(--muted);
}
.ana .ex b { color: var(--wine); font-weight: 500; }

/* agreement (process) */
.agree-card {
  background: linear-gradient(160deg, #481520, #2A0D13);
  color: #F4EFE6;
  border-radius: calc(var(--r) + 8px);
  padding: 64px 56px;
}
.agree-card .sec-head { text-align: left; margin: 0 0 40px; max-width: none; }
.agree-card .h2 { color: #F4EFE6; }
.agree-card .h2 em { color: var(--gold); }
.agree-card .sec-head p { color: #CBB3B0; }
.agree-card .chip { background: transparent; color: #CBB3B0; border-color: rgba(203,179,176,0.35); }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.term {
  border: 1px solid rgba(203,179,176,0.25);
  border-radius: var(--r);
  padding: 22px 22px;
}
.term h4 { font-size: 15.5px; font-weight: 700; color: #F4EFE6; margin-bottom: 6px; }
.term h4 span { font-family: var(--mono); font-size: 12px; color: var(--gold); margin-right: 10px; }
.term p { font-size: 14px; color: #CBB3B0; }
.agree-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.agree-foot .ours { font-size: 15px; color: #CBB3B0; max-width: 52ch; }
.agree-foot .ours b { color: #F4EFE6; }
.agree-foot .ours a { color: var(--gold); font-weight: 600; }
.agree-foot .rebate { white-space: nowrap; }

/* final */
.final { text-align: center; padding-bottom: 120px; }
.final .h2 { max-width: 18ch; margin: 0 auto 18px; }
.final p { color: var(--muted); max-width: 46ch; margin: 0 auto 32px; }

footer { border-top: 1px solid var(--border); padding: 30px 0 110px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; align-items: baseline; }
.foot .fm { font-family: var(--serif); font-style: italic; font-size: 20px; }
.foot .fm b { color: var(--wine); font-weight: 500; }
.foot p { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.foot a { color: var(--muted); }

.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: rgba(252,250,246,0.92); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.mobile-bar .btn { display: block; text-align: center; }

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .steps, .bigrooms { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .thesis-card, .about-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 26px; }
  .portrait { max-width: 320px; }
  .clips { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .balance-card { grid-template-columns: 1fr; padding: 40px 32px; gap: 30px; }
  .anatomy { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 44px; }
  .hero--process { padding: 56px 0 30px; }
  .steps, .bigrooms { grid-template-columns: 1fr; }
  .wave-card { padding: 24px 20px 18px; }
  .wave-notes span:nth-child(3) { display: none; }
  .standard-card { padding: 44px 26px; }
  .keep-cut { grid-template-columns: 1fr; }
  .agree-card { padding: 44px 26px; }
  .agree-foot .rebate { white-space: normal; text-align: center; }
  .tl-item { padding-left: 66px; }
  .nav .btn { display: none; }
  .mobile-bar { display: block; }
}
