/* ==========================================================================
   Laura Sanner, PT — landing page
   Palette sampled from the "Pregnancy Pain" cover (teal title, floral
   confetti) and from the portrait (the light-blue pullover).
   Mobile-first: base rules are the small-screen design; media queries
   only ever scale up.
   ========================================================================== */

:root {
  /* Colour ---------------------------------------------------------------- */
  --ink:        #0F332C;  /* deep pine — body text, dark panels            */
  --ink-soft:   #45635B;  /* secondary text                                */
  --teal:       #4B9C8A;  /* the cover's title teal — decorative           */
  --teal-deep:  #2B7C6C;  /* accessible teal for links + buttons           */
  --rose:       #C65F6F;  /* floral rose                                   */
  --wheat:      #D9A85F;  /* floral wheat                                  */
  --sky:        #C1CCD2;  /* the pullover in her portrait                  */
  --paper:      #F5F8F7;  /* page ground, a whisper of mint                */
  --card:       #FFFFFF;
  --rule:       #DCE6E3;

  /* Type ------------------------------------------------------------------ */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Karla", "Helvetica Neue", Arial, sans-serif;

  /* Space ----------------------------------------------------------------- */
  --gutter:  1.375rem;
  --band:    clamp(3.75rem, 13vw, 7.5rem);
  --radius:  14px;
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body,
h1, h2, h3, p, dl, dd, figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--teal-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  text-decoration: none; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* Shared layout ------------------------------------------------------------ */
.wrap { width: min(100% - (var(--gutter) * 2), 64rem); margin-inline: auto; }
[id] { scroll-margin-top: 4.5rem; }
.section { padding-block: var(--band); }

/* Shared type -------------------------------------------------------------- */
.eyebrow {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--sky); }

.dot {
  width: 5px; height: 5px; flex: none;
  border-radius: 50%;
  background: var(--wheat);
}

.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-top: 1.1rem;
}

.section__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 60;
  font-weight: 500;
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 2rem;
}
.section__title--light { color: var(--card); }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .005em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn--solid { background: var(--ink); color: var(--card); }
.btn--solid:hover { background: var(--teal-deep); color: var(--card); transform: translateY(-2px); }
.btn--quiet {
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule);
  background: transparent;
}
.btn--quiet:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--teal); }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}
.masthead__name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "opsz" 20;
  font-weight: 500;
  font-size: clamp(.9375rem, 3.6vw, 1.0625rem);
  letter-spacing: -.01em;
}
.masthead__name i { color: var(--teal-deep); }
.masthead__call {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.25rem; padding: 0 .95rem;
  border-radius: 999px;
  background: var(--ink); color: var(--card);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none;
}
.masthead__call:hover { background: var(--teal-deep); color: var(--card); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.75rem, 10vw, 5.5rem) var(--band); }
.hero__inner { display: grid; gap: clamp(2.25rem, 8vw, 3.5rem); }

.hero__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 45, "WONK" 1, "opsz" 144;
  font-weight: 400;
  font-size: clamp(3rem, 15vw, 4.75rem);
  line-height: .95;
  letter-spacing: -.035em;
}
.hero__creds {
  display: block;
  margin-top: .32em;
  font-style: italic;
  font-weight: 400;
  font-size: .28em;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 40;
  letter-spacing: .07em;
  line-height: 1;
  color: var(--teal-deep);
}

.hero__actions {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.75rem;
}

/* Portrait: an arch, not an avatar circle — a doorway you walk through. */
.portrait {
  position: relative;
  width: min(19rem, 86%);
  justify-self: start;
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  background: var(--sky);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.portrait img {
  position: relative;
  width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);
}

/* ── Practice record ──────────────────────────────────────────────────── */
.practice { padding-block: 0 var(--band); }

.record { border-top: 1px solid var(--rule); }
.record__row {
  display: grid;
  gap: .2rem .5rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.record dt {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--teal-deep);
  padding-top: .35rem;
}
.record dd { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.record b { color: var(--ink); font-weight: 700; }

/* ── Contact: the signature block ─────────────────────────────────────── */
/* The page has one job, so the phone number is the largest type on it. */
.contact { background: var(--ink); color: var(--card); }
.contact :focus-visible { outline-color: var(--sky); }

.line {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.line:first-of-type { border-top: 0; padding-top: .25rem; }

.line__value {
  font-family: var(--display);
  font-variation-settings: "SOFT" 45, "WONK" 1, "opsz" 144;
  font-weight: 300;
  font-size: clamp(2.125rem, 11.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--teal);
  text-decoration: none;
  transition: color .2s ease;
  word-break: break-word;
}
.line__value:hover { color: var(--wheat); }
.line__value--email { font-size: clamp(1.375rem, 7vw, 3rem); }

.line__meta { display: flex; align-items: center; gap: 1rem; }
.line__label {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--sky);
}

.copy {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  color: var(--card);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.copy:hover { background: var(--card); border-color: var(--card); color: var(--ink); }
.copy[data-done] { background: var(--teal); border-color: var(--teal); color: var(--ink); }

/* ── Book ─────────────────────────────────────────────────────────────── */
.book__inner { display: grid; gap: clamp(2rem, 8vw, 3.5rem); }

.book__cover {
  width: min(14rem, 62%);
  justify-self: center;
}
.book__cover img {
  width: 100%;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    -1px 0 0 rgba(15, 51, 44, .1),
    18px 22px 42px -18px rgba(15, 51, 44, .45);
  transition: transform .3s ease;
}
.book__cover a:hover img { transform: translateY(-5px) rotate(-1deg); }

.book__title {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "WONK" 0, "opsz" 144;
  font-weight: 500;
  font-size: clamp(2.25rem, 11vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.book__title i {
  display: block;
  text-transform: lowercase;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 144;
  letter-spacing: -.01em;
  color: var(--teal-deep);
}
.book__sub {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.book__text p + p { margin-top: 1rem; }
.book__text > p:last-child { margin-top: 1.75rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding-block: 3rem;
}
.footer__inner { display: grid; gap: .4rem; }
.footer__name {
  font-family: var(--display);
  font-variation-settings: "SOFT" 40, "opsz" 40;
  font-weight: 500;
  font-size: 1.25rem;
}
.footer__name i { color: var(--teal-deep); }
.footer__lines { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.footer__fine {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font-size: .8125rem;
  color: var(--ink-soft);
  margin-top: .5rem;
}

/* ── Toast ────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%; bottom: 1.25rem;
  transform: translate(-50%, 1rem);
  z-index: 40;
  background: var(--ink);
  color: var(--card);
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(15, 51, 44, .6);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}
.toast[data-show] { opacity: 1; transform: translate(-50%, 0); }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal[data-seen] { opacity: 1; transform: none; }
.js-off .reveal { opacity: 1; transform: none; }

/* ── Larger screens ───────────────────────────────────────────────────── */
@media (min-width: 40rem) {
  :root { --gutter: 2.25rem; }
  body { font-size: 1.125rem; }

  .record__row {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
    padding-block: 1.4rem;
  }

  .line {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 2rem;
  }
  .line__meta { flex: none; }
}

@media (min-width: 60rem) {
  .hero__inner {
    grid-template-columns: 1fr minmax(17rem, 22rem);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .portrait { width: 100%; justify-self: end; }

  .book__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4.5rem;
  }
  .book__cover { width: 15.5rem; justify-self: start; }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .footer__lines { grid-column: 1; }
  .footer__fine { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; justify-content: flex-end; }
}

/* ── Motion + print ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .copy, .toast { display: none; }
  body { background: #fff; }
  .contact { background: #fff; color: #000; }
  .section__title--light, .line__label { color: #000; }
  .line__value { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
