:root {
  --rose: #ceb6b1;
  --eggplant: #4c3a4f;
  --mist: #d4dfe0;
  --coral: #e3c981;
  --sage: #afc8a6;
  --cream: #f4efec;
  --gold: #d5b68a;
  --ink: #241c24;
  --muted: #685e66;
  --white: #fffaf7;
  --line: rgba(76, 58, 79, 0.16);
  --shadow: 0 28px 80px rgba(76, 58, 79, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(76, 58, 79, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(76, 58, 79, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  max-width: 880px;
  font-size: clamp(3rem, 6.4vw, 5.55rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  background: var(--eggplant);
  color: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(160px, 250px) 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 0.7rem;
  background: rgba(244, 239, 236, 0.88);
  box-shadow: 0 10px 30px rgba(76, 58, 79, 0.12);
  backdrop-filter: blur(16px);
}

.brand img {
  width: min(230px, 44vw);
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a,
.footer-links a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--eggplant);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--eggplant);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(76, 58, 79, 0.22);
}

.button-primary:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  background: #382a3a;
}

.button-secondary {
  border-color: rgba(76, 58, 79, 0.32);
  background: rgba(255, 250, 247, 0.72);
  color: var(--ink);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--eggplant);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 7rem clamp(1.2rem, 5vw, 5rem) 3rem;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../img/newborn-detail.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(244, 239, 236, 0.96) 0%, rgba(244, 239, 236, 0.8) 44%, rgba(244, 239, 236, 0.14) 78%),
    linear-gradient(0deg, rgba(76, 58, 79, 0.18), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.eyebrow,
.section-kicker,
.offer-label {
  margin-bottom: 1rem;
  color: var(--eggplant);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 1.3rem;
  color: #443740;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 0;
  background: rgba(76, 58, 79, 0.18);
  border: 1px solid rgba(76, 58, 79, 0.18);
}

.hero-facts div {
  min-height: 104px;
  padding: 1rem;
  background: rgba(255, 250, 247, 0.75);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.intro-band {
  background: var(--eggplant);
  color: var(--white);
}

.intro-band h2 {
  color: var(--white);
}

.intro-band p {
  color: rgba(255, 250, 247, 0.78);
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.42fr 1fr 0.65fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.intro-grid .section-kicker {
  color: var(--gold);
}

.section-light {
  background: rgba(255, 250, 247, 0.62);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}

.split-copy p,
.visual-copy p,
.signup-copy p {
  font-size: 1.04rem;
}

.workshop-panel {
  display: grid;
  gap: 1rem;
}

.workshop-panel article,
.offer-card,
.next-box,
.signup-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.8);
  box-shadow: var(--shadow);
}

.workshop-panel article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.25rem;
}

.workshop-panel span {
  color: var(--rose);
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.workshop-panel h3,
.workshop-panel p,
.offer-card h3,
.offer-card p {
  margin-bottom: 0.45rem;
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: stretch;
  padding-block: 0;
  background: var(--mist);
}

.visual-media {
  min-height: 660px;
}

.visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-copy {
  align-self: center;
  max-width: 650px;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.2rem, 6vw, 5rem);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.section-deep {
  background: var(--eggplant);
  color: var(--white);
}

.section-deep p,
.section-deep .section-kicker {
  color: rgba(255, 250, 247, 0.75);
}

.section-deep .section-kicker {
  color: var(--gold);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 2rem;
}

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

.offer-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  background: rgba(255, 250, 247, 0.94);
  color: var(--ink);
}

.offer-card .offer-label {
  color: var(--eggplant);
}

.offer-card a {
  margin-top: auto;
  color: var(--eggplant);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.marion-layout {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.portrait-mark {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), var(--cream));
}

.portrait-mark img {
  width: 88%;
  mix-blend-mode: multiply;
}

.cred-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.cred-row span {
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(76, 58, 79, 0.22);
  border-radius: 999px;
  background: rgba(175, 200, 166, 0.28);
  color: var(--eggplant);
  font-size: 0.82rem;
  font-weight: 700;
}

.testimonial-band {
  background: var(--rose);
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.quote-layout h2 {
  margin-bottom: 0;
  color: var(--eggplant);
}

.quote-layout p {
  color: #3f343e;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 247, 0.72);
}

summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--ink);
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
}

.signup-section {
  background:
    linear-gradient(135deg, rgba(175, 200, 166, 0.45), rgba(212, 223, 224, 0.54)),
    var(--cream);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.signup-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--eggplant);
  font-size: 0.82rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(76, 58, 79, 0.26);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 48px;
  padding: 0 0.85rem;
}

textarea {
  resize: vertical;
  padding: 0.75rem 0.85rem;
}

input:focus,
textarea:focus,
summary:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(227, 201, 129, 0.8);
  outline-offset: 3px;
}

.consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.consent input {
  min-height: auto;
  margin-top: 0.3rem;
}

.site-footer {
  padding: 2rem clamp(1.2rem, 4vw, 3rem);
  background: var(--white);
}

.footer-inner {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
}

.footer-inner img,
.thanks-logo img {
  width: 210px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(100deg, rgba(244, 239, 236, 0.96), rgba(244, 239, 236, 0.72)),
    url("../img/newborn-detail.png") center / cover fixed;
}

.thanks-shell {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 2rem 0 4rem;
}

.thanks-logo {
  display: inline-block;
  margin-bottom: clamp(3rem, 8vw, 7rem);
}

.thanks-hero {
  width: min(780px, 100%);
}

.thanks-hero h1 {
  font-size: clamp(3rem, 7vw, 6.3rem);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.next-box {
  width: min(700px, 100%);
  margin-top: 3rem;
  padding: 1.4rem;
}

.next-box h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.next-box ol {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .intro-grid,
  .split,
  .visual-section,
  .marion-layout,
  .quote-layout,
  .faq-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .visual-media {
    min-height: 420px;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.75rem 1rem;
  }

  .brand img {
    width: 176px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0.6rem 0.75rem;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 86vh;
    padding: 6.6rem 1rem 2.4rem;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(244, 239, 236, 0.96) 0%, rgba(244, 239, 236, 0.88) 52%, rgba(244, 239, 236, 0.42) 100%);
  }

  .hero-bg {
    background-position: 64% center;
  }

  .hero-facts {
    display: none;
  }

  .workshop-panel article {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
