:root {
  --kd-bg: #faf9f7; --kd-surface: #fffdfb; --kd-text: #1a1a1a; --kd-muted: #6b6b6b;
  --kd-accent: #0047ff; --kd-on-accent: #fefeff; --kd-accent-2: #ff6f91; --kd-accent-ink: #0047ff;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--kd-bg);
  color: var(--kd-text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--kd-accent);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 88rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1rem;
}

.rule {
  height: 1px;
  background: var(--kd-text);
  border: 0;
  margin: 0;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--kd-text);
  background: var(--kd-bg);
}

.site-header .wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.wordmark {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.nav a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
}

.nav a:hover, .nav a:focus-visible { color: var(--kd-accent-ink); background-size: 100% 1px; }

.nav .nav-hide { display: none; }

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.75rem;
}

.hero-bar {
  grid-column: 1 / -1;
}

.hero-bar span {
  display: block;
  height: 0.875rem;
  background: var(--kd-accent);
}

.hero h1 {
  grid-column: 1 / -1;
  font-size: clamp(3rem, 15vw, 10.5rem);
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.hero-sub {
  grid-column: 1 / -1;
  font-size: 1.125rem;
  max-width: 34ch;
  color: var(--kd-text);
}

.hero-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo {
  grid-column: 1 / -1;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--kd-surface);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 1.4rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--kd-text);
  border-radius: 0;
}

.btn-primary {
  background: var(--kd-accent);
  border-color: var(--kd-accent);
  color: var(--kd-on-accent);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--kd-text);
  border-color: var(--kd-text);
}

.btn-ghost { color: var(--kd-text); }

.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--kd-text);
  color: var(--kd-bg);
}

/* Sections */
.section { padding: 4.5rem 0; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.25rem;
  padding-top: 1.25rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  grid-column: 1 / -1;
  font-size: clamp(2.4rem, 11vw, 6.5rem);
}

.section-head .lede {
  grid-column: 1 / -1;
  color: var(--kd-muted);
  font-size: 1.125rem;
  max-width: 40ch;
}

/* About */
.about-body {
  row-gap: 2rem;
}

.about-photo {
  grid-column: 1 / -1;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.25rem;
  max-width: 38rem;
}

.about-text .pull {
  font-family: "Inter Tight", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  padding-top: 1.25rem;
  border-top: 1px solid var(--kd-text);
}

.about-text .pull em {
  font-style: normal;
  color: var(--kd-accent-ink);
}

/* Stages: pregnancy → birth → postpartum is a real sequence */
.stages {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 0.75rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--kd-text);
}

.stage:last-child { border-bottom: 1px solid var(--kd-text); }

.stage-num {
  grid-column: 1 / 3;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 9vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--kd-accent-ink);
}

.stage h3 {
  grid-column: 3 / -1;
  font-size: clamp(1.75rem, 7vw, 3.5rem);
  align-self: end;
}

.stage p {
  grid-column: 3 / -1;
  color: var(--kd-muted);
  max-width: 40ch;
}

.extras-title {
  font-family: "Inter Tight", sans-serif;
  margin: 4rem 0 0;
}

.extras {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.extra {
  padding: 1.5rem 0;
  border-top: 1px solid color-mix(in srgb, var(--kd-text) 30%, transparent);
  display: grid;
  gap: 0.5rem;
}

.extra h3 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.extra p { color: var(--kd-muted); }

/* Highlights */
.highlights {
  background: var(--kd-surface);
  border-top: 1px solid var(--kd-text);
  border-bottom: 1px solid var(--kd-text);
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.highlight {
  padding: 1.75rem 0;
  border-top: 1px solid var(--kd-text);
  display: grid;
  gap: 0.75rem;
}

.highlight:first-child { border-top: 0; }

.highlight h3 {
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  letter-spacing: -0.04em;
}

.highlight p { color: var(--kd-muted); max-width: 32ch; }

.highlight-mark {
  display: block;
  width: 2.5rem;
  height: 0.375rem;
  background: var(--kd-accent-2);
}

/* Gallery */
.gallery {
  row-gap: 1rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g1 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.g2 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }

.gallery-word {
  grid-column: 1 / -1;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  align-self: end;
}

.gallery-word span { color: var(--kd-accent-ink); }

/* CTA */
.cta {
  background: var(--kd-accent);
  color: var(--kd-on-accent);
}

.cta .section-head { margin-bottom: 2rem; }

.cta .section-head h2 { color: var(--kd-on-accent); }

.cta-text {
  grid-column: 1 / -1;
  font-size: 1.1875rem;
  max-width: 38ch;
  margin-bottom: 2rem;
}

.cta-rule { background: var(--kd-on-accent); }

.btn-invert {
  background: var(--kd-on-accent);
  border-color: var(--kd-on-accent);
  color: var(--kd-text);
}

.btn-invert:hover, .btn-invert:focus-visible {
  background: var(--kd-text);
  border-color: var(--kd-text);
  color: var(--kd-on-accent);
}

.cta :focus-visible { outline-color: var(--kd-on-accent); }

/* Footer */
.site-footer {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  row-gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--kd-text);
}

.footer-name {
  grid-column: 1 / -1;
  font-style: normal;
}

.footer-name strong {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.footer-name span { color: var(--kd-muted); display: block; }

.footer-links {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-links p { color: var(--kd-muted); font-size: 0.9375rem; }

.footer-links a {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.footer-links a:hover, .footer-links a:focus-visible { color: var(--kd-accent-ink); }

/* Tablet */
@media (min-width: 40rem) {
  .wrap { padding: 0 2rem; }
  .nav .nav-hide { display: inline; }
  .hero-sub { grid-column: 1 / 9; }
  .hero-photo { grid-column: 5 / -1; aspect-ratio: 16 / 10; }
  .about-photo { grid-column: 1 / 7; }
  .about-text { grid-column: 7 / -1; }
  .stage-num { grid-column: 1 / 2; }
  .stage h3 { grid-column: 3 / 8; }
  .stage p { grid-column: 8 / -1; align-self: end; }
  .extras { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; }
  .highlight-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 2rem; }
  .highlight { border-top: 0; }
  .highlight + .highlight { border-left: 1px solid var(--kd-text); padding-left: 2rem; }
  .g1 { grid-column: 1 / 9; }
  .g2 { grid-column: 9 / -1; aspect-ratio: auto; }
  .gallery-word { grid-column: 1 / 9; }
  .footer-name { grid-column: 1 / 8; }
  .footer-links { grid-column: 9 / -1; }
}

/* Desktop poster */
@media (min-width: 64rem) {
  .hero { padding: 0 0 6rem; }
  .hero-inner { row-gap: 2.5rem; }
  .hero-bar { grid-column: 1 / -1; }
  .hero-bar span { height: 1.25rem; }
  .hero h1 { grid-column: 1 / 10; grid-row: 2; padding-top: 1rem; }
  .hero-sub { grid-column: 1 / 6; grid-row: 3; }
  .hero-actions { grid-column: 1 / 6; grid-row: 4; align-self: start; }
  .hero-photo { grid-column: 9 / -1; grid-row: 3 / 5; aspect-ratio: 3 / 4; }
  .section { padding: 7rem 0; }
  .section-head h2 { grid-column: 1 / 9; }
  .section-head .lede { grid-column: 9 / -1; align-self: end; }
  .about-photo { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
  .about-text { grid-column: 7 / 12; align-self: end; }
  .cta-text { grid-column: 1 / 7; }
}

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
  .nav a { transition: color 0.2s ease, background-size 0.25s ease; }
  .footer-links a { transition: color 0.2s ease; }
}
