:root {
  --pink: #FF80C1;
  --plum: #2B1030;
  --cream: #FFF4E6;
  --aqua: #83DDC9;
  --white: #FFFFFF;
  --plum-soft: rgba(43, 16, 48, 0.72);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --text-hero: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--plum);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 4px; }
.problem :focus-visible, .site-footer :focus-visible, .contact :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--plum); color: var(--white); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Cushion shapes: drawn by app.js behind the content */
.cushion { position: relative; isolation: isolate; }
.cushion > svg.cushion-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; pointer-events: none; }
.cushion > svg.cushion-bg path { fill: var(--cf, var(--pink)); stroke: var(--cs, none); stroke-width: var(--csw, 0); transition: fill 0.18s ease; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.6rem;
  font-weight: 800; font-size: var(--text-sm); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.18s ease;
}
.btn-plum { color: var(--white); --cf: var(--plum); }
.btn-plum:hover { --cf: #4A1F52; }
.btn:active { transform: scale(0.97); }
.btn-lg { min-height: 60px; padding: 0.9rem 2.2rem; font-size: var(--text-base); }
.btn-pink { color: var(--plum); --cf: var(--pink); }
.btn-pink:hover { --cf: #FF6FB5; }
.no-js .btn-plum { background: var(--plum); border-radius: 14px; }
.no-js .btn-pink { background: var(--pink); border-radius: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--pink); color: var(--plum); }
.site-header :focus-visible { outline-color: var(--plum); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.6rem; }
.brand { flex: none; display: block; border-radius: 12px; }
.brand img { width: 220px; }
nav { margin-left: auto; }
.nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 700; font-size: var(--text-sm); text-decoration: none; padding: 0.5rem 0; background: linear-gradient(var(--plum), var(--plum)) left bottom / 0 3px no-repeat; transition: background-size 0.2s ease; }
.header-email { font-weight: 800; font-size: var(--text-sm); text-decoration: none; padding: 0.75rem 0; margin-left: 0.5rem; background: linear-gradient(var(--plum), var(--plum)) left 78% / 100% 3px no-repeat; }
.header-email:hover { background-size: 0 3px; }
.nav-links a:hover { background-size: 100% 3px; }
@media (max-width: 760px) {
  nav { display: none; }
  .header-inner { gap: 0.75rem; }
  .header-email { margin-left: auto; }
  .brand img { width: 200px; }
}
/* Very narrow phones: logo drops just under the 200 px minimum so the button still fits. Flagged for review. */
@media (max-width: 359px) {
  .wrap { padding-inline: 1rem; }
  .brand img { width: 176px; }
}

/* Hero: full-width headline, quiet cushion graphic, no logo */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 9vw, 8rem) clamp(4rem, 9vw, 7.5rem); }
.eyebrow { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-size: min(4.6rem, calc((min(100vw, var(--wrap)) - 2 * var(--gutter)) / 14.9)); line-height: 0.98; letter-spacing: -0.045em; }
.hero h1 .h1-lead { white-space: nowrap; text-wrap: nowrap; }
.h1-lead { display: block; }
/* Yellowtail: the script accent. One weight only, so never bold. */
.h1-script { display: block; font-family: 'Yellowtail', cursive; font-weight: 400; font-size: 1.18em; letter-spacing: 0; word-spacing: 0.06em; text-wrap: wrap; line-height: 1.1; margin-top: 0.12em; }
@media (max-width: 600px) { .hero h1 { font-size: calc((100vw - 2 * var(--gutter)) / 11.2); } .h1-script { font-size: max(1.1em, 36px); } }
.hl { display: inline-block; padding: 0.02em 0.28em 0.1em; margin-left: -0.06em; white-space: nowrap; }
.no-js .hl { background: var(--pink); border-radius: 0.2em; }
.lede { font-size: var(--text-lg); line-height: 1.5; color: var(--plum-soft); margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 40ch; }
@media (max-width: 760px) {
}

/* Section basics */
.section-title { font-size: var(--text-xl); letter-spacing: -0.03em; }
.section-intro { color: var(--plum-soft); max-width: 46ch; }

/* Proof: client testimonial under the hero */
.proof { padding-block: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(43, 16, 48, 0.1); }
.proof-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.proof-mark { display: grid; place-items: center; width: clamp(64px, 7vw, 96px); aspect-ratio: 1; font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 900; line-height: 1; padding-top: 0.32em; }
.no-js .proof-mark { background: var(--pink); border-radius: 22px; }
.proof-body { min-width: 0; max-width: 62ch; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s linear 0.5s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
.no-js .slides { gap: 2.5rem; }
.no-js .slide { grid-area: auto; opacity: 1; visibility: visible; }
.no-js .proof-controls { display: none; }
.proof blockquote { margin: 0; }
.proof blockquote p { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.65rem); font-weight: 700; line-height: 1.4; letter-spacing: -0.012em; }
.proof figcaption { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; font-size: var(--text-sm); }
.proof figcaption strong { font-weight: 800; }
.proof figcaption span { color: var(--plum-soft); }
.proof-controls { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.pc-btn { --cf: var(--plum); width: 48px; height: 44px; display: grid; place-items: center; color: var(--white); border: 0; background: none; cursor: pointer; padding: 0; }
.pc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; position: relative; }
.pc-btn:hover { --cf: #4A1F52; }
.pc-dots { display: flex; gap: 0.15rem; margin-left: 0.5rem; }
.pc-dots button { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.pc-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 40%; background: rgba(43, 16, 48, 0.25); transition: background 0.2s, width 0.2s; }
.pc-dots button[aria-current="true"]::before { background: var(--plum); width: 22px; border-radius: 6px; }
.pc-pause { margin-left: auto; border: 0; background: none; font: inherit; font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); cursor: pointer; min-height: 44px; padding: 0 0.25rem; text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.pc-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } }
@media (max-width: 600px) { .proof-inner { grid-template-columns: 1fr; gap: 1.25rem; } .proof figcaption { flex-direction: column; } .pc-btn { width: 44px; } .pc-dots { margin-left: 0.2rem; gap: 0; } .pc-dots button { width: 20px; } .proof-controls { gap: 0.5rem; } }

/* Problem */
.problem { background: var(--plum); color: var(--white); padding-block: clamp(4rem, 9vw, 7.5rem); }
.problem .section-title { color: var(--pink); }
.script-title { font-family: 'Yellowtail', cursive; font-weight: 400; letter-spacing: 0; font-size: clamp(2.6rem, 1.9rem + 2.6vw, 4rem); line-height: 1.1; }
.quotes { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.quotes li { font-size: var(--text-lg); font-weight: 600; font-style: italic; line-height: 1.4; padding-top: 1.25rem; border-top: 2px solid rgba(255, 255, 255, 0.18); }
.quotes .q-big { grid-column: 1 / -1; font-size: clamp(1.5rem, 1.1rem + 2vw, 2.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; border-top: 0; padding-top: 0; max-width: 24ch; }
.problem-close { font-style: normal; font-weight: 700; margin-top: 3rem; font-size: var(--text-lg); max-width: 40ch; color: rgba(255, 255, 255, 0.86); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Services: three equal cushions */
.services { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 6rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.service-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: clamp(1.5rem, 2.5vw, 2rem); }
.service-grid { grid-auto-rows: auto; gap: 0; border-top: 1px solid rgba(43, 16, 48, 0.16); }
.card { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 1.25rem clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid rgba(43, 16, 48, 0.16); }
.card-head { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.5rem); }
.card-body { display: flex; flex-direction: column; gap: 0.9rem; }
.card-num { flex: none; width: clamp(64px, 6vw, 80px); aspect-ratio: 1; display: grid; place-items: center; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); font-weight: 900; letter-spacing: -0.02em; color: var(--plum); }
.card-num.num-plum { color: var(--white); }
.no-js .card-num { background: var(--pink); border-radius: 16px; }
.card h3 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.2rem); font-weight: 900; letter-spacing: -0.03em; max-width: 14ch; }
.card p { line-height: 1.55; }
.card-note { font-weight: 800; }
.ticks { list-style: none; padding: 0; margin: 0.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ticks li { font-weight: 700; font-size: var(--text-xs); line-height: 1.3; padding: 0.4rem 0.85rem; border: 2px solid var(--plum); border-radius: 999px; }
.also { margin-top: clamp(2rem, 4vw, 2.75rem); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; font-size: var(--text-sm); }
.also-label { font-weight: 800; }
.also-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 0; }
.also-list li { font-weight: 600; }
.also-list li + li::before { content: "|"; padding-inline: 0.85rem; color: rgba(43, 16, 48, 0.4); font-weight: 400; }
@media (max-width: 760px) {
  .card { grid-template-columns: 1fr; }
  .also { flex-direction: column; align-items: flex-start; }
  .also-list { gap: 0.5rem; }
  .also-list li { padding: 0.35rem 0.9rem; border: 2px solid var(--plum); border-radius: 999px; font-size: var(--text-xs); font-weight: 700; }
  .also-list li + li::before { content: none; }
}

/* How it works */
.how { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 9vw, 7rem); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: 1.1rem; }
.step-num { width: 72px; height: 56px; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; }
.steps h3 { font-size: var(--text-lg); font-weight: 800; margin-bottom: 0.4rem; }
.steps p { color: var(--plum-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2rem; } .steps li { flex-direction: row; align-items: flex-start; } .step-num { flex: none; width: 60px; height: 48px; font-size: 1.25rem; } }

/* About */
.about { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid rgba(43, 16, 48, 0.1); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.about-art { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.photo-clip { display: block; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 28px; background: #ddd; }
.photo-clip.is-clipped { border-radius: 0; }
.photo-clip img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { display: flex; flex-direction: column; gap: 1.15rem; max-width: 60ch; }
.about-copy .section-title { margin-bottom: 0.4rem; }
.creds { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.6rem; }
.creds li { font-weight: 700; font-size: var(--text-sm); padding-left: 1.6rem; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.6rem; background: var(--pink); border-radius: 40%; }
.creds a { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; text-underline-offset: 5px; display: inline-block; padding-block: 0.6rem; margin-block: -0.6rem; }
.creds a:hover { text-decoration-color: var(--plum); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 300px; } }

/* Contact: plum, so the pink cushion logo stands out */
.contact { background: var(--plum); color: var(--white); padding-block: clamp(4.5rem, 10vw, 8rem); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.contact h2 { font-size: clamp(1.25rem, 0.8rem + 2.25vw, 2.625rem); letter-spacing: -0.04em; }
.contact p { max-width: 42ch; font-size: var(--text-lg); line-height: 1.5; color: rgba(255, 255, 255, 0.88); }
.contact .btn { margin-top: 0.75rem; }
.contact--cream { background: var(--cream); color: var(--plum); border-top: 1px solid rgba(43, 16, 48, 0.1); }
.contact--cream p { color: var(--plum-soft); }

/* Footer */
.site-footer { background: var(--plum); color: var(--white); padding-block: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; font-size: var(--text-sm); }
.footer-inner img { width: 112px; }
.footer-inner p { text-align: right; }
@media (max-width: 600px) { .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; } .footer-inner p { text-align: left; } }
