/* Theresa Wong biography site. Plain CSS, no build step. */
:root {
  --ink: #1c1a19;
  --ink-soft: #4a4442;
  --paper: #fbf8f3;
  --paper-deep: #f1ebe2;
  --ox: #7e2a2a;
  --ox-deep: #5c1d1d;
  --ox-ink: #fbf0ea;
  --brass: #b07f2e;
  --tea: #dfe3d6;
  --line: #d8cfc3;
  --wa: #1f8a4c;
  --wa-hover: #176b3b;
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 72px);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5.5rem;
  --space-6: 8rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ox); text-underline-offset: 0.15em; }
a:hover { color: var(--ox-deep); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip-link {
  position: absolute; left: var(--space-2); top: -4rem;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; border-radius: 4px; z-index: 100;
}
.skip-link:focus { top: var(--space-2); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
}
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.55rem, 2.6vw, 2rem); }
p { margin: 0 0 var(--space-2); max-width: var(--measure); }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section { padding-block: var(--space-5); }
@media (min-width: 900px) { section { padding-block: var(--space-6); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--space-2); }
.brand {
  font-family: var(--font-display); font-size: 1.5rem; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.brand-mark { width: 34px; height: 34px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ox); }
.site-nav .nav-cta {
  background: var(--wa); color: #fff; padding: 0.55rem 1rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.45rem;
}
.site-nav .nav-cta:hover { background: var(--wa-hover); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 48px; height: 48px;
  cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 68px 0 0 0; background: var(--paper);
    transform: translateX(100%); transition: transform 240ms ease; padding: var(--space-3) var(--gutter);
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 1rem 0; font-size: 1.25rem; font-family: var(--font-display); font-weight: 400; }
  .site-nav .nav-cta { margin-top: var(--space-3); width: 100%; justify-content: center; font-family: var(--font-body); font-size: 1rem; border-radius: 12px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--ox); color: var(--ox-ink);
  padding-block: var(--space-4) 0;
  position: relative; overflow: hidden;
}
.hero .wrap { display: grid; gap: var(--space-3); align-items: end; }
.hero-text { padding-bottom: var(--space-4); }
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.92; margin-bottom: var(--space-3); color: #fff;
}
.hero .kicker {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2;
  color: var(--ox-ink); max-width: 20ch; margin-bottom: var(--space-3);
}
.hero .kicker em { font-style: italic; color: #f3cf8f; }
.hero p { color: var(--ox-ink); opacity: 0.92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 700;
  padding: 0.95rem 1.4rem; border-radius: 999px; min-height: 48px; transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  cursor: pointer; border: 0; font-size: 1rem;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-video { margin: 0; align-self: end; padding-bottom: var(--space-4); }
.hero-video video { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 478 / 850; border-radius: 180px 180px 24px 24px; background: var(--ox-deep); object-fit: cover; display: block; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.hero-video figcaption { font-size: 0.9rem; color: var(--ox-ink); opacity: 0.8; margin-top: var(--space-2); text-align: center; max-width: 360px; margin-inline: auto; }
@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-4); }
  .hero-video video, .hero-video figcaption { margin-inline: auto 0; }
}

/* ---------- video sections ---------- */
.video-split { display: grid; gap: var(--space-3); align-items: center; }
@media (min-width: 900px) {
  .video-split { grid-template-columns: 380px 1fr; gap: var(--space-5); }
  .video-split-reverse { grid-template-columns: 1fr 380px; }
}
.video-card { margin: 0; }
.video-card video { width: 100%; max-width: 380px; aspect-ratio: 478 / 850; border-radius: 20px; background: #000; display: block; box-shadow: 0 18px 44px rgba(28,26,25,0.18); }
.video-card figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: var(--space-1); max-width: 380px; }
.tea .video-card figcaption { color: #b8afa3; }
@media (max-width: 899px) { .video-card video { max-width: 320px; margin-inline: auto; } .video-card figcaption { text-align: center; margin-inline: auto; } }
.find-list { list-style: none; margin: 0; padding: 0; max-width: 520px; }
.find-list li { border-top: 1px solid var(--line); padding: 0.9rem 0 0.9rem 1.6rem; position: relative; font-size: 1.1rem; }
.find-list li:last-child { border-bottom: 1px solid var(--line); }
.find-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); }
.tea-steps { list-style: none; margin: var(--space-2) 0; padding: 0; counter-reset: tea; max-width: var(--measure); }
.tea-steps li { position: relative; padding: 0.7rem 0 0.7rem 3.2rem; color: #e5ded4; border-top: 1px solid #3a3533; }
.tea-steps li::before { counter-increment: tea; content: counter(tea, upper-alpha); position: absolute; left: 0; top: 0.35rem; font-family: var(--font-display); font-size: 2rem; color: var(--brass); }
.tea-steps li:nth-child(1)::before { content: "T"; } .tea-steps li:nth-child(2)::before { content: "E"; } .tea-steps li:nth-child(3)::before { content: "A"; }
.tea-steps strong { color: #fff; }

/* ---------- short version ---------- */
.short { background: var(--paper); }
.short .wrap { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .short .wrap { grid-template-columns: 1fr 2fr; } }
.short h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.short .lede { font-size: 1.3rem; color: var(--ink); }

/* ---------- story ---------- */
.story { background: var(--paper-deep); }
.story-head { max-width: var(--measure); margin-bottom: var(--space-4); }
.chapters { display: grid; gap: var(--space-4); }
.chapter { display: grid; gap: var(--space-2); }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 180px 1fr; gap: var(--space-3); align-items: start; }
  .chapters { gap: var(--space-5); }
}
.chapter-when { font-family: var(--font-display); font-size: 1.4rem; color: var(--ox); line-height: 1.2; }
.pull {
  margin: var(--space-3) 0; padding: var(--space-3) 0 var(--space-3) var(--space-3);
  border-left: 3px solid var(--brass);
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--ink);
}
.pull cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 0.9rem; color: var(--ink-soft); margin-top: var(--space-1); }

/* ---------- three things ---------- */
.three .wrap { display: grid; gap: var(--space-3); }
.three-head { max-width: var(--measure); }
.three-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); counter-reset: thing; }
.three-list li {
  border-top: 1px solid var(--line); padding-top: var(--space-2);
  display: grid; gap: var(--space-1);
}
@media (min-width: 720px) { .three-list li { grid-template-columns: 2.5rem 1fr; } }
.three-list li::before {
  counter-increment: thing; content: counter(thing);
  font-family: var(--font-display); font-size: 2rem; color: var(--brass); line-height: 1;
}
.three-list h3 { margin-bottom: 0.3rem; }

/* ---------- with Alice ---------- */
.tea { background: var(--ink); color: var(--paper); }
.tea .wrap { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .tea .wrap { grid-template-columns: 1fr 1fr; align-items: center; } }
.tea h2 { color: #fff; }
.tea p { color: #e5ded4; }
.tea .btn-wa { margin-top: var(--space-2); }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 0; max-width: 780px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1.25;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; position: absolute; right: 0.3rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ox); border-bottom: 2px solid var(--ox);
  transform: translateY(-70%) rotate(45deg); transition: transform 180ms ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-list .answer { padding: 0 0 1.4rem; }

/* ---------- contact ---------- */
.contact { background: var(--tea); }
.contact .wrap { display: grid; gap: var(--space-2); }
.contact .note { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-deep); border-top: 1px solid var(--line); padding-block: var(--space-4); font-size: 0.92rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ox); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: var(--space-2); font-size: 0.85rem; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22); transition: background 180ms ease, transform 180ms ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); }

/* ---------- placeholders (remove before launch) ---------- */
mark[data-placeholder] { background: #fff2a8; color: var(--ink); padding: 0 0.2em; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- inner pages ---------- */
.page-hero { background: var(--ox); color: var(--ox-ink); padding-block: var(--space-4) var(--space-5); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); color: #fff; line-height: 0.95; }
.page-hero .lede { color: var(--ox-ink); max-width: 58ch; }
.page-hero a { color: #f3cf8f; }
.page-hero-dark { background: var(--ink); }
.crumbs ol { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; opacity: 0.85; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.6; }
.crumbs a { color: inherit; }
.author-wrap { padding-block: 0 var(--space-5); }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-2); align-items: center; max-width: 720px; border: 1px solid var(--line); border-radius: 16px; padding: var(--space-2); background: var(--paper-deep); }
.author-box img { border-radius: 10px; width: 96px; height: 120px; object-fit: cover; }
.author-box p { margin: 0; font-size: 0.95rem; }
.related { background: var(--paper-deep); border-top: 1px solid var(--line); }
.related h2 { font-size: 1.6rem; margin-bottom: var(--space-2); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 720px) { .related ul { grid-template-columns: repeat(3, 1fr); } }
.related li { border-top: 2px solid var(--brass); padding-top: 0.8rem; display: grid; gap: 0.25rem; }
.related li a { font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.related li a:hover { color: var(--ox); }
.related li span { font-size: 0.92rem; color: var(--ink-soft); }
.site-nav a[aria-current="page"] { color: var(--ox); }
