@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
/* amandadoggett.com
   Palette, type and motion. Edit the tokens below to retune the whole site. */

@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("../fonts/mrs-saint-delafield-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --cream: #FDFBF7;
  --paper: #FFFFFF;
  --sand: #F6F0E6;
  --sand-deep: #EDE3D2;
  --blush: #EADBC2;
  --crimson: #B10D1B;
  --crimson-deep: #8D0915;
  --ink: #1C1315;
  --muted: #6F5C5E;
  --black: #0F0D0D;
  --line: rgba(177, 13, 27, 0.13);

  --serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Mrs Saint Delafield", "Snell Roundhand", cursive;

  --nav-h: 72px;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure { margin: 0; }

:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--crimson);
  font-size: 1.75em;
  line-height: 0.6;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 0.08em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  font: 500 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  color: var(--ink); background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn-accent { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.btn-accent:hover { background: var(--crimson-deep); border-color: var(--crimson-deep); color: #fff; }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--crimson-deep); }
.btn-cream:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-small { min-height: 44px; padding: 10px 22px; font-size: 0.95rem; }

/* Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(253, 251, 247, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--nav-h); }
.brand { font: 600 1.25rem/1 var(--serif); letter-spacing: 0.01em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.98rem; position: relative; padding: 6px 0; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--crimson);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .js .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--ease); }
  .nav.open .nav-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .js .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 12px var(--gutter) 28px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  .js .nav.open .nav-links { display: flex; }
  .js .nav-links a:not(.btn) { font: 500 1.9rem/1.5 var(--serif); }
  .js .nav-links .btn { margin-top: 12px; }
  /* Without JavaScript the links simply wrap under the name. */
  html:not(.js) .nav-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  html:not(.js) .nav-links { gap: 16px; flex-wrap: wrap; }
}

/* Hero */
.hero { padding: calc(var(--nav-h) + clamp(24px, 5vh, 64px)) 0 clamp(48px, 8vh, 96px); min-height: 100svh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 88px); align-items: center; will-change: transform, opacity; }
.hero h1 {
  font: 600 clamp(3.4rem, 9.2vw, 8.4rem)/0.92 var(--serif);
  letter-spacing: -0.02em; text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero-tag { margin-top: clamp(20px, 3vw, 36px); font: 500 italic clamp(1.25rem, 2vw, 1.8rem)/1.3 var(--serif); color: var(--crimson); }
.hero-line { margin-top: 18px; max-width: 30em; font-size: clamp(1.1rem, 1.45vw, 1.4rem); color: var(--ink); }
.hero-cta { margin-top: clamp(28px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }

.portrait { position: relative; margin: 0 0 0 auto; width: 100%; max-width: min(480px, calc((100svh - var(--nav-h) - 110px) * 0.77)); }
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  transform: translate(-7%, 5%);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(170deg, var(--blush), var(--sand) 70%);
}
.portrait::after {
  content: ""; position: absolute; z-index: 0; right: -5%; top: 9%; width: 30%; aspect-ratio: 1;
  border-radius: 50%; background: var(--crimson); opacity: 0.9;
}
.portrait img {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px 18px 18px; background: var(--sand);
}

.motion .hero h1 span, .motion .hero-tag, .motion .hero-line, .motion .hero-cta, .motion .portrait {
  animation: rise 1.1s var(--ease) both;
}
.motion .hero h1 span:nth-child(2) { animation-delay: 0.1s; }
.motion .hero-tag { animation-delay: 0.28s; }
.motion .hero-line { animation-delay: 0.38s; }
.motion .hero-cta { animation-delay: 0.48s; }
.motion .portrait { animation-delay: 0.2s; animation-duration: 1.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero { min-height: 0; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { font-size: clamp(3rem, 16.2vw, 7.5rem); }
  .portrait { margin: 0 auto; max-width: min(400px, 84%); }
}

/* Sections */
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 168px) 0; }
.h2 { font: 500 clamp(2.5rem, 6vw, 5.2rem)/1.02 var(--serif); letter-spacing: -0.015em; }

.motion .reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }

/* Welcome */
.welcome { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.welcome p { font: 400 clamp(1.6rem, 3.5vw, 3.1rem)/1.28 var(--serif); letter-spacing: -0.01em; max-width: 24em; }
.welcome .w { transition: opacity 0.4s linear; }
.welcome .hello { display: inline-block; margin-right: 0.15em; }

/* Timeline */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.stack { display: grid; gap: 20px; }
.tcard {
  background: var(--sand); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(24px, 4vw, 52px);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(16px, 4vw, 64px); align-items: start;
  min-height: clamp(250px, 34vh, 340px);
  box-shadow: 0 -10px 30px -18px rgba(27, 23, 22, 0.28);
}
.tcard:nth-child(even) { background: var(--sand-deep); }
.tcard.next { background: var(--crimson); color: #fff; border-color: transparent; }
.tcard .month { font: 500 clamp(2.4rem, 6.4vw, 5.6rem)/0.98 var(--serif); letter-spacing: -0.02em; }
.tcard h3 { font: 600 clamp(1.25rem, 2.1vw, 1.9rem)/1.2 var(--serif); }
.tcard p { margin-top: 12px; max-width: 32em; color: var(--muted); }
.tcard.next p { color: rgba(255, 255, 255, 0.88); }

.motion .tcard { position: sticky; top: calc(var(--nav-h) + 20px + var(--i) * 14px); }
.motion .stack { gap: 10vh; padding-bottom: 6vh; }

@media (max-width: 720px) {
  .tcard { grid-template-columns: 1fr; gap: 14px; min-height: 290px; border-radius: 18px; align-content: start; }
  .motion .tcard { top: calc(var(--nav-h) + 12px + var(--i) * 10px); }
}

/* What I teach */
.teach { background: var(--paper); border-top: 1px solid var(--line); }
.teach-grid { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.teach-col { border-top: 1.5px solid var(--ink); padding-top: 22px; }
.teach-col .num { font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; color: var(--crimson); }
.teach-col h3 { margin-top: 18px; font: 500 clamp(1.7rem, 2.6vw, 2.4rem)/1.1 var(--serif); }
.teach-col p { margin-top: 14px; color: var(--muted); }
.teach-where { margin-top: clamp(48px, 7vw, 96px); font: 400 italic clamp(1.25rem, 2.2vw, 1.8rem)/1.4 var(--serif); max-width: 30em; }
@media (max-width: 820px) { .teach-grid { grid-template-columns: 1fr; } }

/* The book */
.book-card {
  background: var(--sand); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: center;
}
.cover { position: relative; width: 100%; max-width: 340px; aspect-ratio: 2 / 3; margin: 0 auto; }
.cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 60px -28px rgba(27, 23, 22, 0.55); }
.cover-placeholder {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 20px;
  border: 2px dashed var(--crimson); border-radius: 6px; background: var(--paper);
  font: 500 0.95rem/1.5 var(--sans); color: var(--crimson);
}
.cover.missing img { display: none; }
.cover.missing .cover-placeholder { display: grid; }
.book-label { font: 500 0.85rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); }
.book-title { margin-top: 18px; font: 500 clamp(2.3rem, 5.2vw, 4.6rem)/1.02 var(--serif); letter-spacing: -0.015em; }
.book-copy { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.book-rank { margin-top: 20px; font: 500 italic 1.2rem/1.4 var(--serif); color: var(--crimson); }
.book-card .btn { margin-top: 32px; }
@media (max-width: 780px) { .book-card { grid-template-columns: 1fr; } .cover { max-width: 240px; margin: 0; } }

/* Kind words */
.kind { background: var(--paper); border-top: 1px solid var(--line); }
.kind-pin { padding: clamp(80px, 12vw, 168px) 0; }
.kind-grid { display: grid; gap: 40px; }
.deck { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.qcard {
  background: var(--black); color: var(--cream); border-radius: 18px;
  padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.qcard blockquote { font: 400 clamp(1rem, 1.25vw, 1.2rem)/1.55 var(--sans); }
.qcard.short blockquote { font: 500 clamp(2.2rem, 4vw, 3.4rem)/1.1 var(--serif); }
.qcard figcaption { font: 500 1.5rem/1 var(--serif); display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.qcard figcaption small { font: 500 0.75rem/1 var(--sans); letter-spacing: 0.16em; color: rgba(247, 243, 236, 0.55); }
.stars { margin-top: 8px; font-size: 1rem; }
.stars b { color: var(--crimson); letter-spacing: 0.18em; font-size: 1.15rem; margin-right: 10px; font-weight: 400; }
.stars a { text-underline-offset: 4px; }
.stars a:hover { color: var(--crimson); }

@media (min-height: 600px) {
  .motion .kind { height: calc(100vh + 2 * 70vh + 30vh); height: calc(100svh + 2 * 70svh + 30svh); }
  .motion .kind-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--nav-h) + 16px) 0 24px; display: flex; align-items: center; overflow: hidden; }
  .motion .kind-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 5vw, 80px); }
  .motion .deck { display: block; position: relative; width: min(500px, 100%); height: clamp(360px, 60vh, 540px); margin: 0 auto; }
  .motion .qcard { position: absolute; inset: 0; will-change: transform; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(247, 243, 236, 0.08); }
}
@media (min-height: 600px) and (max-width: 860px) {
  .motion .kind-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .motion .kind-head { display: flex; flex-direction: column; gap: 4px; }
  .motion .kind .h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .motion .deck { width: min(440px, 90%); height: clamp(340px, 54svh, 480px); order: 2; }
  .motion .stars { font-size: 0.9rem; }
}

/* Book me */
.bookme { background: var(--crimson); color: #fff; }
.bookme .h2 { max-width: 12em; }
.formats { margin-top: 24px; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.88); }
.blank-form { margin-top: clamp(40px, 6vw, 80px); }
.blank-form .sentence { font: 400 clamp(1.5rem, 3.5vw, 3rem)/1.75 var(--serif); letter-spacing: -0.005em; max-width: 26em; }
.blank-form input, .blank-form select {
  font: inherit; font-style: italic; color: #fff; background: transparent;
  border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 0;
  padding: 0 0.15em; margin: 0 0.1em; line-height: 1.25; max-width: 100%;
  transition: border-color 0.3s, background 0.3s;
}
.blank-form input { width: var(--w, 9em); }
.blank-form input::placeholder { color: rgba(255, 255, 255, 0.55); opacity: 1; }
.blank-form input:focus, .blank-form select:focus { outline: none; border-bottom-color: #fff; background: rgba(255, 255, 255, 0.1); }
.blank-form select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.1em; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.15em center; background-size: 0.5em;
}
.blank-form select option { color: var(--ink); background: var(--cream); font-style: normal; font-family: var(--sans); font-size: 1rem; }
.blank-form .blank { white-space: nowrap; }
.blank-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { margin-top: clamp(32px, 4vw, 52px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.form-foot .btn { min-width: 160px; font-size: 1.05rem; }
.form-status { font-size: 1rem; min-height: 1.6em; }
@media (max-width: 560px) {
  .blank-form .sentence { line-height: 1.9; }
  .blank-form input { width: min(var(--w, 9em), calc(100vw - 2 * var(--gutter) - 1em)); }
  .blank-form select { max-width: calc(100vw - 2 * var(--gutter) - 1em); }
}

/* Footer */
.footer { background: var(--sand); padding: clamp(56px, 8vw, 104px) 0 40px; }
.signup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.signup p { font: 500 clamp(1.6rem, 3vw, 2.6rem)/1.15 var(--serif); letter-spacing: -0.01em; max-width: 14em; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input[type="email"] {
  flex: 1 1 220px; min-height: 52px; padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: var(--paper); font: 400 1rem var(--sans); color: var(--ink); min-width: 0;
}
.signup .form-status { flex-basis: 100%; font-size: 0.95rem; color: var(--muted); }
.foot-line { padding-top: 32px; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.98rem; color: var(--muted); }
.foot-line > span:not(:last-child)::after { content: "\00B7"; margin: 0 12px; color: var(--crimson); }
.foot-line a { color: var(--ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.foot-line a:hover { color: var(--crimson); }
@media (max-width: 760px) { .signup { grid-template-columns: 1fr; align-items: start; } }

/* About page */
.about { padding: calc(var(--nav-h) + clamp(40px, 8vw, 104px)) 0 clamp(80px, 10vw, 140px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.about h1 { font: 500 clamp(3rem, 8vw, 7rem)/0.98 var(--serif); letter-spacing: -0.02em; }
.about-body { margin-top: clamp(32px, 5vw, 64px); display: grid; gap: 1.3em; max-width: 36em; }
.about-body p:first-child { font: 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.4 var(--serif); }
.about-body p { font-size: clamp(1.05rem, 1.25vw, 1.2rem); }
.quals { margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; border-top: 1.5px solid var(--ink); max-width: 36em; }
.quals strong { color: var(--crimson); font-weight: 600; }
.quals a { text-underline-offset: 4px; }
.quals a:hover { color: var(--crimson); }
.about .btn { margin-top: 36px; }
.about .portrait { position: sticky; top: calc(var(--nav-h) + 40px); max-width: 420px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about .portrait { position: relative; top: 0; margin: 8px auto 0; max-width: min(360px, 80%); }
}

/* Anyone who has asked for less motion sees everything, statically. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------
   Bright and airy pass: light, blush and crimson. Overrides the above.
   ------------------------------------------------------------------ */
body { background: var(--cream); }
.script { font-size: 1.9em; line-height: 0.5; padding: 0 0.1em 0 0.04em; vertical-align: -0.04em; }
.h2 { font-weight: 500; }

/* Hero: soft light behind everything, photo in an arch, turning badge */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(234, 219, 194, 0.85), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(246, 240, 230, 0.95), transparent 70%);
}
.hero-tag { font-weight: 500; }
.portrait::before { background: linear-gradient(175deg, #fff, var(--blush)); transform: translate(-6%, 4%); box-shadow: 0 40px 80px -40px rgba(177, 13, 27, 0.35); }
.portrait::after { display: none; }
.portrait img { box-shadow: 0 30px 70px -36px rgba(120, 10, 20, 0.45); background: var(--blush); }
.badge { position: absolute; z-index: 2; left: -11%; bottom: 7%; width: clamp(104px, 34%, 164px); height: auto; filter: drop-shadow(0 14px 24px rgba(120, 10, 20, 0.22)); }
.badge-bg { fill: var(--crimson); }
.badge text { font: 600 15px var(--sans); letter-spacing: 0.2em; fill: #fff; }
.badge-star { fill: #fff; }
.badge-spin { transform-origin: 100px 100px; }
.motion .badge-spin { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .badge { left: -9%; } }

/* Moving strip under the hero */
.marquee { background: var(--crimson); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-track > div { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); white-space: nowrap; }
.marquee span { font: 500 italic clamp(1.05rem, 1.6vw, 1.4rem)/1 var(--serif); }
.marquee i { font-style: normal; font-size: 0.8rem; opacity: 0.85; }
.motion .marquee-track { animation: slide 38s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Welcome */
.welcome { background: var(--paper); border: 0; }
.welcome p { max-width: 22em; }

/* Timeline: white cards on a blush wash, month in crimson */
.work { background: linear-gradient(180deg, var(--paper), var(--sand) 18%, var(--sand) 82%, var(--paper)); }
.tcard, .tcard:nth-child(even) {
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 -14px 40px -22px rgba(177, 13, 27, 0.28), 0 1px 0 #fff inset;
}
.tcard:nth-child(even) { background: #FBF6EE; }
.tcard .month { color: var(--crimson); font-style: italic; font-weight: 500; }
.tcard h3 { font-weight: 600; }
.tcard.next { background: var(--crimson); }
.tcard.next .month { color: #fff; }

/* What I teach */
.teach { background: var(--paper); border: 0; }
.teach-col { border-top: 0; padding: clamp(24px, 3vw, 40px); background: var(--sand); border-radius: 24px; }
.teach-col:nth-child(2) { background: var(--sand-deep); }
.teach-col::before { content: "\2726"; color: var(--crimson); font-size: 1.1rem; }
.teach-col h3 { margin-top: 14px; }
.teach-col p { color: var(--ink); opacity: 0.82; }
.teach-where { color: var(--crimson); }

/* The book */
.book { background: var(--paper); }
.book-card { background: linear-gradient(135deg, var(--sand), var(--sand-deep)); border: 0; border-radius: 36px; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.cover { aspect-ratio: 1; max-width: 520px; }
.cover img { border-radius: 24px; transform: rotate(-2deg); box-shadow: 0 40px 70px -34px rgba(60, 10, 20, 0.55); }
.book-lead { margin-top: 22px; font: 500 italic clamp(1.2rem, 1.8vw, 1.6rem)/1.35 var(--serif); color: var(--crimson); }
.book-copy { margin-top: 16px; }
.book-rank { font-style: normal; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink); }
@media (max-width: 780px) { .book-card { grid-template-columns: 1fr; } .cover { max-width: 100%; margin: 0; } }

/* Kind words */
.kind { background: linear-gradient(180deg, var(--paper), var(--sand)); border: 0; }
.stars { font: 600 0.85rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson); margin-top: 14px; }
.qcard blockquote { font-size: clamp(1.02rem, 1.3vw, 1.25rem); }
.qcard figcaption small { text-transform: uppercase; }

/* Footer and About */
.footer { background: var(--sand); }
.about { position: relative; isolation: isolate; }
.about::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 90% 12%, rgba(234, 219, 194, 0.8), transparent 70%); }
.about h1 .script { font-size: 1.5em; }
.quals { border-top-color: var(--crimson); }

/* Timeline cards with a short list */
.tcard ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 32em; color: var(--muted); }
.tcard li { position: relative; padding-left: 1.5em; }
.tcard li::before { content: "\2726"; position: absolute; left: 0; top: 0.1em; font-size: 0.8em; color: var(--crimson); }
.tcard.next ul { color: rgba(255, 255, 255, 0.92); }
.tcard.next li::before { color: #fff; }

/* About page text */
.about-body a { color: var(--crimson); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.about-body .purpose { font: 500 italic clamp(1.35rem, 2.2vw, 1.85rem)/1.4 var(--serif); color: var(--crimson); }

/* Name lockup: Amanda in script, DOGGETT in Bodoni */
.hero h1 { font-weight: 600; letter-spacing: 0; line-height: 0.9; }
.hero h1 .first {
  font-family: var(--script); font-weight: 400; text-transform: none; color: var(--crimson);
  font-size: 1.5em; line-height: 0.82; letter-spacing: 0; margin: 0.06em 0 -0.04em 0.03em; white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand .b1 { font: 400 2.5rem/1 var(--script); color: var(--crimson); padding: 0.1em 0.08em 0 0.04em; }
.brand .b2 { font: 600 0.95rem/1 var(--serif); letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 720px) { .brand .b1 { font-size: 2.2rem; } .brand .b2 { font-size: 0.85rem; } }
.welcome p, .blank-form .sentence { font-weight: 500; }
.tcard h3, .teach-col h3 { font-weight: 600; }
.h2, .book-title, .about h1 { font-weight: 500; letter-spacing: -0.01em; }

/* ------------------------------------------------------------------
   2026 so far: vertical timeline
   ------------------------------------------------------------------ */
.work-grid { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.work-head { margin: 0; position: sticky; top: calc(var(--nav-h) + 40px); }
.tl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(44px, 6vw, 72px); }
.tl-line { position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: rgba(177, 13, 27, 0.16); border-radius: 2px; }
.tl-progress { position: absolute; inset: 0; background: var(--crimson); transform-origin: top; border-radius: 2px; }
.motion .tl-progress { transform: scaleY(var(--p, 0)); }
.tl-item { position: relative; padding-left: clamp(44px, 5vw, 60px); min-width: 0; }
.tl-dot {
  position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--crimson); border: 4px solid var(--paper); box-shadow: 0 0 0 2px var(--crimson);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.motion .tl-item:not(.on) .tl-dot { background: var(--paper); transform: scale(0.85); }
.tl-month { font: 600 0.95rem/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--crimson); }
.tl-item h3 { margin-top: 10px; font: 600 clamp(1.65rem, 2.8vw, 2.5rem)/1.15 var(--serif); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.tl-desc { margin-top: 10px; font-size: clamp(1.1rem, 1.3vw, 1.25rem); line-height: 1.6; color: var(--ink); max-width: 30em; }
.tl-card { background: var(--crimson); color: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 60px -34px rgba(177, 13, 27, 0.6); }
.tl-next .tl-month, .tl-next h3 { color: #fff; }
.tl-next ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.5; }
.tl-next li { position: relative; padding-left: 1.5em; }
.tl-next li::before { content: "\2726"; position: absolute; left: 0; top: 0.15em; font-size: 0.8em; }
.tl-next .tl-dot { top: 30px; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-head { position: static; }
}

/* ------------------------------------------------------------------
   Readability: bigger, darker, sturdier text (especially on phones)
   ------------------------------------------------------------------ */
:root { --muted: #4E3F42; }
body { font-size: 1.125rem; line-height: 1.7; }
/* Bodoni's hairlines fade at small sizes, so smaller serif text gets more weight */
.hero-tag, .teach-where, .book-lead, .about-body .purpose, .teach-col h3, .brand .b2, .signup p, .marquee span { font-weight: 600; }
.hero-line { color: var(--ink); }
.teach-col p { opacity: 1; color: var(--ink); font-size: clamp(1.08rem, 1.2vw, 1.15rem); }
.book-copy { font-size: clamp(1.1rem, 1.3vw, 1.2rem); }
.book-rank { font-size: 1rem; }
.stars { font-size: 0.95rem; }
.qcard figcaption small { font-size: 0.78rem; color: rgba(247, 243, 236, 0.75); }
.foot-line { font-size: 1rem; color: var(--ink); }
.about-body p { color: var(--ink); }
.formats { color: #fff; }
@media (max-width: 720px) {
  body { font-size: 1.1875rem; }
  .hero-line { font-size: 1.2rem; }
  .hero-tag { font-size: 1.4rem; }
  .welcome p { font-weight: 600; font-size: clamp(1.6rem, 6.6vw, 2rem); line-height: 1.35; }
  .teach-col p, .book-copy, .about-body p { font-size: 1.15rem; }
  .teach-where, .book-lead { font-size: 1.3rem; }
  .marquee span { font-size: 1.15rem; }
  .blank-form .sentence { font-weight: 600; }
  .foot-line { font-size: 1.02rem; }
  .signup input[type="email"] { font-size: 1.05rem; }
}
@media (min-height: 600px) and (max-width: 860px) {
  .motion .qcard blockquote { font-size: 1.08rem; line-height: 1.6; }
  .motion .deck { height: clamp(400px, 58svh, 520px); }
}
.work-head .h2 { white-space: nowrap; font-size: clamp(2.6rem, 4.4vw, 4.6rem); }

/* Welcome now leads straight into What I teach */
.welcome + .teach { padding-top: 0; }

/* ------------------------------------------------------------------
   Two ways to work with me
   ------------------------------------------------------------------ */
.ventures { background: linear-gradient(180deg, var(--paper), var(--sand) 55%, var(--paper)); }
.welcome + .ventures { padding-top: clamp(24px, 4vw, 56px); }
.venture-grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.venture { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(28px, 4vw, 56px); border-radius: 32px; }
.venture-trc { background: var(--crimson); color: #fff; box-shadow: 0 40px 70px -40px rgba(177, 13, 27, 0.7); }
.venture-rf { background: var(--paper); border: 1px solid var(--line); box-shadow: 0 40px 70px -46px rgba(120, 10, 20, 0.45); }
.venture-label { font: 600 0.9rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
.venture-trc .venture-label { color: rgba(255, 255, 255, 0.85); }
.venture h3 { font: 600 clamp(2rem, 3.6vw, 3.2rem)/1.05 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.venture p:not(.venture-label) { font-size: clamp(1.1rem, 1.3vw, 1.2rem); line-height: 1.65; max-width: 32em; }
.venture .btn { margin-top: auto; }
.venture h3 + p { margin-bottom: 12px; }
@media (max-width: 820px) { .venture-grid { grid-template-columns: 1fr; } }

/* Long paragraphs in a clean, easy-to-read face instead of Bodoni */
.welcome p { font-family: var(--sans); font-weight: 500; letter-spacing: -0.015em; line-height: 1.4; font-size: clamp(1.45rem, 2.8vw, 2.45rem); max-width: 26em; }
.blank-form .sentence { font-family: var(--sans); font-weight: 500; letter-spacing: -0.01em; font-size: clamp(1.35rem, 2.9vw, 2.4rem); }
.blank-form input, .blank-form select { font-style: normal; }
@media (max-width: 720px) {
  .welcome p { font-weight: 500; font-size: 1.45rem; line-height: 1.45; }
  .blank-form .sentence { font-weight: 500; font-size: 1.3rem; line-height: 2; }
}
