/* Palette pulled from the flower-wall photo */
:root {
  --cream: #fff8ee;
  --paper: #fffdf8;
  --ink: #2b1e16;
  --ink-soft: #5c4a3d;
  --sun: #f5b700;
  --marigold: #e8892b;
  --cobalt: #2f4bd8;
  --rose: #f26b9a;
  --terracotta: #c9784a;
  --line: #ecdcc6;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cobalt); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); letter-spacing: -0.02em; }
h1 em { font-style: italic; font-weight: 500; color: var(--marigold); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 99; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .9rem;
}
.small { font-size: .9rem; color: var(--ink-soft); }
.daisy { width: 1.4em; height: 1.4em; color: var(--ink); vertical-align: -0.35em; }

/* Buttons */
.btn {
  display: inline-block; font: 700 1rem var(--sans); text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--cream); border: 2px solid var(--ink);
  padding: .85rem 1.6rem; border-radius: 999px;
  box-shadow: 4px 4px 0 var(--sun);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--sun); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--sun); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: 4px 4px 0 var(--rose); }
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--rose); }
.btn--small { padding: .5rem 1.1rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--sun); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font: 700 1.2rem var(--serif); color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: .45rem; }
.nav nav { display: flex; align-items: center; gap: 1.5rem; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--marigold); }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
}
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.75rem 0 1.25rem; }
.hero__note { font-size: .92rem; color: var(--ink-soft); }
.hero__photo { position: relative; }
.photo-frame {
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--cobalt);
  aspect-ratio: 4 / 5; background: #fff;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sticker {
  position: absolute; font: 700 .9rem var(--sans); padding: .55rem 1rem; border-radius: 999px;
  border: 2px solid var(--ink); white-space: nowrap;
}
.sticker--one { background: var(--sun); top: 12%; left: -8%; transform: rotate(-7deg); }
.sticker--two { background: var(--rose); color: #fff; bottom: 10%; right: -6%; transform: rotate(5deg); }

/* Stats */
.stats { background: var(--ink); color: var(--cream); }
.stats ul {
  list-style: none; margin: 0 auto; max-width: var(--max);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stats strong { display: block; font: 700 clamp(2.2rem, 4vw, 3rem) var(--serif); color: var(--sun); line-height: 1; margin-bottom: .4rem; }
.stats li:nth-child(2) strong { color: var(--rose); }
.stats li:nth-child(3) strong { color: #8fa2ff; }
.stats li:nth-child(4) strong { color: var(--marigold); }
.stats span { font-size: .95rem; opacity: .85; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 6.5rem) clamp(1.25rem, 4vw, 3rem); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.card {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 2rem 1.75rem; position: relative;
}
.card::before {
  content: ""; position: absolute; top: -14px; left: 1.75rem; width: 28px; height: 28px;
  border-radius: 50%; border: 2px solid var(--ink);
}
.card--sun { box-shadow: 8px 8px 0 var(--sun); }
.card--sun::before { background: var(--sun); }
.card--blue { box-shadow: 8px 8px 0 var(--cobalt); }
.card--blue::before { background: var(--cobalt); }
.card--rose { box-shadow: 8px 8px 0 var(--rose); }
.card--rose::before { background: var(--rose); }
.card p { color: var(--ink-soft); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { padding: .45rem 0 .45rem 1.6rem; border-top: 1px dashed var(--line); position: relative; font-weight: 500; font-size: .98rem; }
.card li::before { content: "✿"; position: absolute; left: 0; color: var(--marigold); }

/* Story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.story__intro p:not(.eyebrow) { font-size: 1.15rem; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 2rem 2rem; }
.timeline li::before {
  content: ""; position: absolute; left: -11px; top: .35rem; width: 19px; height: 19px; border-radius: 50%;
  background: var(--sun); border: 2px solid var(--ink);
}
.timeline li:nth-child(2)::before { background: var(--cobalt); }
.timeline li:nth-child(3)::before { background: var(--rose); }
.timeline li:nth-child(4)::before { background: var(--marigold); }
.timeline__when { font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--terracotta); }
.timeline h3 { margin: .2rem 0 .4rem; font-size: 1.25rem; }
.timeline h3 span { font-weight: 500; font-style: italic; }
.timeline p { color: var(--ink-soft); margin: 0; }
.skills { grid-column: 1 / -1; }
.skills h3 { margin-bottom: 1rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 999px; padding: .4rem .95rem; font-size: .92rem; font-weight: 500; }
.chips li:nth-child(4n+1) { background: #fff1c2; }
.chips li:nth-child(4n+2) { background: #dfe5ff; }
.chips li:nth-child(4n+3) { background: #ffdce8; }
.chips li:nth-child(4n+4) { background: #ffe5cc; }

/* Podcast */
.podcast {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--sun); border: 2px solid var(--ink); border-radius: calc(var(--radius) * 1.5);
  padding: clamp(2rem, 5vw, 3.5rem); margin-top: 1rem; margin-bottom: 1rem;
}
.podcast .eyebrow { color: var(--ink); }
.podcast__embed { border-radius: 14px; border: 0; background: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro p:not(.eyebrow):not(.small) { font-size: 1.15rem; color: var(--ink-soft); }
.form {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 10px 10px 0 var(--cobalt);
}
.form__row { margin: 0 0 1.25rem; border: 0; padding: 0; }
.form label, .form legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: .4rem; padding: 0; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--ink); border-radius: 12px; padding: .75rem .9rem;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px #c9d2ff; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { margin: 0; font-weight: 500; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-block; padding: .45rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--cream); transition: background .15s;
}
.pills label:hover span { background: #fff1c2; }
.pills input:checked + span { background: var(--ink); color: var(--cream); }
.pills input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 1rem 0 0; font-weight: 500; min-height: 1.5em; }
.form__status.is-error { color: #b3261e; }
.form__status.is-ok { color: #1f7a3a; }
.form.is-sent .form__row, .form.is-sent fieldset, .form.is-sent button { display: none; }
.form.is-sent .form__status { font: 500 1.35rem/1.4 var(--serif); color: var(--ink); margin: 0; }

/* Footer */
.gingham {
  height: 46px;
  background-color: #f3dcc7;
  background-image:
    linear-gradient(90deg, rgba(201,120,74,.55) 50%, transparent 50%),
    linear-gradient(rgba(201,120,74,.55) 50%, transparent 50%);
  background-size: 18px 18px;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.footer__inner {
  max-width: var(--max); margin: 0 auto; padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .95rem;
}
.footer__inner p { margin: 0; }
.footer__inner a { color: var(--ink); margin-left: 1.25rem; font-weight: 500; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .story, .podcast, .contact { grid-template-columns: 1fr; }
  .hero__photo { max-width: 380px; margin: 0 auto; width: 100%; }
  .cards { grid-template-columns: 1fr; gap: 2rem; }
  .stats ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav nav a:not(.btn) { display: none; }
  .sticker--one { left: -2%; }
  .sticker--two { right: -2%; }
  .footer__inner a { margin: 0 1.25rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
