/* ==========================================================================
   ISPO — I'm So Proud Of
   Layout follows the homepage mockup (ISPO_Homepage_Mockup.png); tokens
   follow DESIGN.md / brand-tokens.json. Swap --font-brand when the final
   brand typeface is confirmed.
   ========================================================================== */

:root {
  --navy: #17324D;
  --blue: #28A9E2;
  --blue-ink: #007DAE;      /* text-safe blue on cream/white */
  --blue-strong: #1C6FC4;   /* headline accent */
  --aqua: #74D9E5;
  --aqua-ink: #00818C;      /* text-safe aqua on white */
  --yellow: #F5A800;
  --cream: #FFF8ED;
  --warm-cream: #FFF2D4;
  --pale-sky: #EAF8FD;
  --mist: #D7EDF6;
  --purple: #8E2DE2;
  --green: #9BD300;
  --coral: #EF4A22;
  --slate: #586777;
  --white: #FFFFFF;

  --font-brand: "Avenir Next", "Nunito", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --container: calc(1360px + 2 * var(--gutter));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 14px 34px rgba(23, 50, 77, 0.10);
  --shadow-sm: 0 6px 18px rgba(23, 50, 77, 0.09);
  --section-y: clamp(56px, 8vw, 104px);
  --wave-h: 18.75vw;        /* wave SVGs are 1600 x 300 */
}

/* ---------- Base ---------- */
*, *::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 {
  position: relative;
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-brand);
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 18px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35em;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFC21F, var(--yellow));
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(245, 168, 0, 0.30);
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 12px 34px; }
/* Secondary action: the golden fill is kept for the two sales CTAs. */
.btn--outline {
  background: var(--white);
  border: 2px solid var(--navy);
  box-shadow: none;
}
.btn--outline:hover { filter: none; background: var(--pale-sky); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.35em;
  min-height: 44px;
  color: var(--blue-ink);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 20px);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--navy); }
.btn--lg { min-height: 60px; padding: 15px 36px; font-size: clamp(19px, 1.65vw, 25px); }

/* ---------- Checks ---------- */
.checks { display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 38px;
  font-weight: 700;
  line-height: 1.4;
}
.checks li::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; height: auto; max-width: none; pointer-events: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 10; background: var(--cream); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: clamp(14px, 1.6vw, 24px);
}

.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand__img {
  width: clamp(190px, 20vw, 310px);
  height: auto;
  mix-blend-mode: multiply;   /* the logo file has a white background */
  filter: brightness(1.04) contrast(1.04);
}
.brand__wordmark {
  display: block;
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--navy);
}
.brand__tagline {
  margin-top: 2px;
  color: var(--blue-ink);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 17px);
}

.site-nav { display: flex; align-items: center; gap: clamp(20px, 4vw, 64px); }
.site-nav__list { display: flex; gap: clamp(16px, 3.4vw, 52px); }
.site-nav__list a {
  display: inline-block; padding: 8px 2px;
  font-weight: 500; font-size: 17px; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] { border-bottom-color: var(--yellow); }
.site-nav__list a[aria-current="page"] { font-weight: 700; }

.nav-toggle {
  display: none;
  align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px;
  border: 2px solid var(--navy); border-radius: 999px;
  background: var(--white); color: var(--navy);
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--mist); font-weight: 700; }
  .site-nav__cta { align-self: flex-start; }
  .js .site-nav {
    display: none;
    padding: 16px 20px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .js .site-nav.is-open { display: flex; }
}

/* ==========================================================================
   Hero — copy left, beach photo + KD right, soft waves below
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 46vw, 760px);
  padding-bottom: calc(var(--wave-h) * 0.8);
}

.hero__rays {
  position: absolute; z-index: 2;
  left: clamp(-20px, -0.5vw, 0px); top: 0;
  width: clamp(40px, 5.2vw, 84px);
  height: auto;
}

.hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: calc(var(--wave-h) * 0.25);
  width: 58%;
}
.hero__photo {
  position: relative; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 32% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to bottom, transparent 0%, #000 16%);
  mask-composite: intersect;
}
.hero__kd {
  position: absolute; z-index: 3;
  right: calc(-1 * clamp(0px, 3.5vw, 60px));
  bottom: calc(var(--wave-h) * 0.1);
  width: clamp(220px, 27vw, 440px);
  filter: drop-shadow(0 10px 14px rgba(23, 50, 77, 0.18));
}

.hero__inner { position: relative; z-index: 2; }
.hero__copy {
  max-width: min(50%, 700px);
  padding-top: clamp(20px, 3.4vw, 56px);
  padding-left: clamp(0px, 3.5vw, 60px);
}

.hero h1 {
  font-size: clamp(30px, 3.1vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.hero__accent { color: var(--blue-strong); }
.hero__swash { display: block; width: min(100%, 560px); height: clamp(12px, 1.2vw, 18px); margin-top: 6px; }

.hero__lead {
  margin-top: clamp(16px, 1.8vw, 28px);
  max-width: 30em;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  color: var(--navy);
}
.hero__link { margin-top: clamp(16px, 1.8vw, 26px); }

.wave--hero { position: absolute; z-index: 1; left: 0; bottom: -1px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section h2 { font-size: clamp(30px, 3vw, 44px); }

.section-head { max-width: 760px; margin: 0 auto; text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-head__intro { margin-top: 16px; font-size: clamp(17px, 1.45vw, 21px); color: var(--slate); }
.collection__price-line { color: var(--navy); font-weight: 600; }

/* ---------- Bundle ---------- */
.bundle {
  position: relative; z-index: 4;
  /* overlap only the solid lower part of the opening wave */
  margin-top: calc(var(--wave-h) * -0.4);
  padding-top: clamp(8px, 1.5vw, 20px);
  background: var(--pale-sky) url("../assets/images/section-bundle-background.svg") center / cover no-repeat;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-top: clamp(36px, 4vw, 56px);
}
.product {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.product__media {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0; /* keep every cover frame the same height */
  padding: 22px 22px 0;
  background: linear-gradient(180deg, var(--pale-sky), var(--white));
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(23, 50, 77, 0.12));
}

.preview-tag {
  position: absolute; left: 30px; top: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.25;
  box-shadow: var(--shadow-sm);
}

.product__body { padding: 20px 24px 28px; }
.product__label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.product--play .product__label     { color: var(--purple); }
.product--explore .product__label  { color: #A86A00; }
.product--memories .product__label { color: #C2380F; }
.product--express .product__label  { color: var(--aqua-ink); }
.product h3 { margin-top: 8px; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.2; }
.product__body p:last-child { margin-top: 10px; color: var(--slate); font-size: 16px; line-height: 1.55; }

.collection__cta { margin-top: clamp(36px, 4vw, 52px); text-align: center; }
.collection__cta-note { margin-top: 12px; color: var(--navy); font-size: clamp(15px, 1.2vw, 17px); }
.bundle__checks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px;
  margin-top: clamp(32px, 3.5vw, 48px);
}
.collection__details {
  max-width: 860px;
  margin: clamp(32px, 3.5vw, 48px) auto 0;
  padding: clamp(22px, 2.8vw, 38px) clamp(22px, 3.4vw, 48px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.collection__details h3 { font-size: clamp(22px, 2vw, 30px); text-align: center; }
.collection__details .checks { margin-top: clamp(16px, 1.8vw, 24px); font-size: clamp(16px, 1.25vw, 18px); }
.collection__details a { color: var(--blue-ink); font-weight: 700; text-underline-offset: 3px; }
.collection__details .checks li { font-weight: 500; line-height: 1.55; }
.collection__details .checks li strong { font-weight: 800; }
.bundle__buy {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px;
  margin-top: clamp(28px, 3vw, 40px);
  text-align: center;
}
.bundle__line { font-size: clamp(18px, 1.6vw, 23px); font-weight: 700; }

/* ---------- About ---------- */
.about { background: var(--cream) url("../assets/images/section-story-background.svg") center / cover no-repeat; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.about h2 { margin-top: 10px; max-width: 16ch; }
.about .lead { margin-top: 20px; max-width: 40em; }
/* Photo on the left; story text with the highlighted box on the right. */
.about__photos { display: grid; justify-items: center; }
.about__photos img {
  width: clamp(220px, 28vw, 420px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 40% 30%;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}
.about--compact { padding-block: clamp(48px, 6vw, 80px); }
.about--compact .about__photos img { width: clamp(220px, 24vw, 360px); }
.author__bio { margin-top: 18px; max-width: 40em; }
.author__bio p + p { margin-top: 14px; }
.author__closing { margin-top: 20px; max-width: 40em; font-weight: 700; color: var(--navy); }
.story__more { margin-top: 6px; }
.story__intro { margin-top: clamp(18px, 2vw, 26px); font-weight: 600; }
.story__checks { margin-top: 14px; }
.about__note {
  margin-top: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 40px);
  background: var(--warm-cream);
  border-radius: var(--radius);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Meet KD ---------- */
.kd { background: var(--cream); }
/* On the homepage KD follows the FAQ on the same cream, so don't double the gap. */
.faq + .kd { padding-top: clamp(8px, 1.5vw, 24px); }
.kd__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.kd h2 { margin-top: 10px; }
.kd .lead { margin-top: 20px; max-width: 32em; }
.kd__support {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 4px solid var(--aqua);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 700;
}
.kd__art { position: relative; display: flex; justify-content: center; }
.kd__art::before {
  content: "";
  position: absolute; inset: 8% 4% 4%;
  border-radius: 52% 48% 46% 54% / 50% 52% 48% 50%;
  background: var(--pale-sky);
}
.kd__img { position: relative; width: min(100%, 460px); }
.kd__bubbles { position: absolute; left: 2%; top: 0; width: clamp(80px, 10vw, 150px); }

/* ---------- Secondary pages ---------- */
.page-head {
  padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 56px);
  background: var(--cream) url("../assets/images/section-story-background.svg") center / cover no-repeat;
}
.page-head__inner > * { max-width: 860px; }
.page-head h1 { margin-top: 10px; font-size: clamp(36px, 4.2vw, 60px); }
.page-head .lead { margin-top: 18px; max-width: 40em; }
.page-section { background: var(--pale-sky); }
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.page-copy .lead { margin-top: 16px; }
.page-copy .checks, .give__points { margin-top: 22px; }
.page-copy .checks li { font-weight: 500; }
.page-copy .checks li strong { font-weight: 700; }
.info-card {
  padding: clamp(22px, 2.6vw, 34px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card h3, .info-card .info-card__title { font-size: clamp(18px, 1.5vw, 22px); color: var(--blue-ink); }
.info-card p { margin-top: 10px; color: var(--slate); }
.info-card--action .btn { margin-top: 20px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: clamp(18px, 2vw, 30px);
}
.contact__value { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.contact__value a { color: var(--navy); text-underline-offset: 4px; overflow-wrap: anywhere; }
.page-link { margin-top: 20px; }

/* ---------- Contact Us form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.contact-card {
  padding: clamp(24px, 3.4vw, 48px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card h2 { font-size: clamp(24px, 2.2vw, 32px); }
.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  margin-top: clamp(18px, 2vw, 26px);
}
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.field__req { color: #B42318; }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid #C9D3DC;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 17px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #7B8896; }
.field input:focus, .field textarea:focus { border-color: var(--blue-ink); }
.field input[aria-invalid="true"] { border-color: #C2362B; }
.field__error { margin-top: 6px; color: #B42318; font-size: 15px; font-weight: 600; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__error {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #FDECEA;
  color: #B42318;
  font-weight: 600;
}
.contact-form__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin-top: 24px;
}
.contact-form__actions .btn { border: 0; font-family: inherit; cursor: pointer; }
.contact-form__actions .btn:disabled { cursor: progress; opacity: .85; transform: none; filter: none; }
.contact-form__note { color: var(--slate); font-size: 14px; }
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(23, 50, 77, 0.25);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: promo-spin .8s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.contact-success {
  margin-top: clamp(18px, 2vw, 26px);
  padding: clamp(28px, 4vw, 48px) 24px;
  border-radius: var(--radius-sm);
  background: var(--pale-sky);
  text-align: center;
}
.contact-success:focus { outline: none; }
.contact-success__icon { margin: 0 auto 12px; }
.contact-success__title { font-size: clamp(22px, 2vw, 28px); font-weight: 800; }
.contact-success p + p { margin-top: 8px; color: var(--slate); font-size: 18px; }
.contact-art .kd__img { width: min(100%, 380px); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__inner { max-width: 900px; }
.faq h2 { text-align: center; }
.faq__list { display: grid; gap: 14px; margin-top: clamp(28px, 3vw, 40px); }
.faq details {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  position: relative;
  display: block;
  padding: 20px 64px 20px 24px;
  font-weight: 700;
  font-size: clamp(17px, 1.3vw, 19px);
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%;
  background: var(--pale-sky);
  color: var(--blue-ink);
  font-size: 22px; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px; color: var(--slate); }

/* ---------- Final CTA ---------- */
.final { padding-bottom: var(--section-y); }
.final__card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
  background: var(--warm-cream);
  border-radius: calc(var(--radius) + 8px);
  text-align: center;
}
.final__sun {
  position: absolute; right: -50px; top: -60px;
  width: clamp(140px, 16vw, 220px);
  opacity: .9;
}
.final h2 { position: relative; font-size: clamp(30px, 3.4vw, 48px); }
.final .lead { position: relative; margin-top: 14px; }
.final__price { position: relative; margin: 18px 0 20px; font-size: clamp(36px, 3.2vw, 46px); font-weight: 700; }

/* ---------- Checkout status ---------- */
.checkout-status {
  position: fixed; z-index: 50;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 40px;
  align-items: center;
  padding-block: clamp(36px, 4vw, 56px);
}
.site-footer__brand { font-size: 22px; font-weight: 700; }
.site-footer__brand span { font-weight: 500; opacity: .8; }
.site-footer__tagline { color: var(--aqua); font-weight: 500; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
.site-footer__links a { display: inline-block; padding: 8px 0; font-weight: 700; text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__links--legal { margin-top: 4px; opacity: .85; }
.site-footer__copy { grid-column: 1 / -1; font-size: 14px; opacity: .8; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  /* Hero stacks: copy first, then the photo with KD, then the waves. */
  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 0; }
  .hero__rays { display: none; }
  .hero__inner { order: 1; }
  .hero__copy { max-width: 600px; padding-left: 0; padding-top: 8px; }
  .hero__visual {
    order: 2;
    position: relative; top: auto; right: auto; bottom: auto;
    width: 100%;
    margin-top: 28px;
    aspect-ratio: 3 / 2;
  }
  .hero__photo {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 14%);
  }
  .hero__kd { right: 0; bottom: -8%; width: 40%; }

  .page-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-art .kd__img { width: min(56%, 260px); }

  .about__grid, .kd__grid { grid-template-columns: 1fr; }
  .kd__img { width: min(78%, 380px); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__links { justify-content: flex-start; }
}

@media (max-width: 599px) {
  body { font-size: 16px; }
  .site-header__inner { gap: 12px; }
  .brand__img { width: 170px; }
  .brand__tagline { font-size: 12px; }
  .nav-toggle { padding: 8px 14px; }
  .products { grid-template-columns: 1fr; }
  .product__media { aspect-ratio: auto; height: 360px; }
  .btn--lg { width: 100%; }
  .bundle__buy .btn { width: 100%; }
  .bundle__checks { flex-direction: column; align-items: flex-start; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__actions .btn { width: 100%; }
  .preview-tag { font-size: 10px; }
}

/* ==========================================================================
   Free-sample popup (homepage, js/popup.js)
   ========================================================================== */
html.promo-open { overflow: hidden; }

.promo {
  width: min(940px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  overflow: visible;
}
.promo::backdrop {
  background: rgba(23, 50, 77, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.promo[open] { animation: promo-in .35s cubic-bezier(.2, .8, .2, 1); }
.promo[open]::backdrop { animation: promo-fade .35s ease; }
@keyframes promo-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes promo-fade { from { opacity: 0; } to { opacity: 1; } }

.promo__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(23, 50, 77, 0.32);
}

.promo__close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.promo__close:hover { background: var(--pale-sky); }

/* Left: KD's world */
.promo__art {
  position: relative;
  display: grid; place-items: center;
  min-height: 100%;
  padding: 48px 28px 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.95) 0 34%, transparent 35%),
    radial-gradient(120% 90% at 50% 0%, #D9F1FA 0%, var(--pale-sky) 55%, #FFF3D6 100%);
}
.promo__bubbles { position: absolute; left: 8%; top: 7%; width: clamp(56px, 7vw, 84px); opacity: .9; }
.promo__cover {
  position: relative; z-index: 1;
  width: min(62%, 250px);
  border-radius: 6px;
  transform: rotate(-5deg);
  box-shadow: 0 18px 34px rgba(23, 50, 77, 0.28);
}
.promo__kd {
  position: absolute; z-index: 2;
  right: -3%; bottom: -3%;
  width: min(54%, 230px);
  filter: drop-shadow(0 10px 16px rgba(23, 50, 77, 0.18));
}

/* Right: copy and form */
.promo__body { padding: clamp(32px, 4.2vw, 54px) clamp(26px, 3.8vw, 50px) clamp(22px, 3vw, 34px); }
.promo__body h2 { margin-top: 10px; font-size: clamp(26px, 2.7vw, 36px); line-height: 1.12; }
.promo__desc { margin-top: 14px; color: var(--slate); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.promo__desc strong { color: var(--navy); }

.promo__form { display: grid; gap: 12px; margin-top: 22px; }
.promo__input {
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid #C9D3DC;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 17px;
}
.promo__input::placeholder { color: #7B8896; }
.promo__input:focus { border-color: var(--blue-ink); }
.promo__input[aria-invalid="true"] { border-color: #C2362B; }
.promo__error { margin-top: -4px; padding-left: 22px; color: #B42318; font-size: 15px; font-weight: 600; }

.promo__submit { width: 100%; min-height: 56px; border: 0; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.promo__submit:disabled { cursor: progress; opacity: .85; transform: none; filter: none; }
.promo__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(23, 50, 77, 0.25);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: promo-spin .8s linear infinite;
}
.promo__submit.is-loading .promo__spinner { display: inline-block; }
@keyframes promo-spin { to { transform: rotate(360deg); } }

.promo__consent {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 2px 6px;
  color: var(--slate); font-size: 14px; line-height: 1.45; text-align: left;
  cursor: pointer;
}
.promo__consent input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0;
  accent-color: var(--navy); cursor: pointer;
}
.promo__consent input:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.promo__privacy { color: var(--slate); font-size: 13.5px; line-height: 1.5; text-align: center; }

.promo__success {
  margin-top: 24px;
  padding: 26px 22px;
  border-radius: var(--radius-sm);
  background: var(--pale-sky);
  text-align: center;
}
.promo__success:focus { outline: none; }
.promo__success-icon { margin: 0 auto 10px; }
.promo__success-title { font-size: 21px; font-weight: 800; color: var(--navy); }
.promo__success p + p { margin-top: 6px; color: var(--slate); }

.promo__dismiss {
  display: block;
  min-height: 44px;
  margin: 10px auto 0;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--slate);
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.promo__dismiss:hover { color: var(--navy); }

/* Phones: compact and stacked */
@media (max-width: 700px) {
  .promo { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .promo__card { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); border-radius: 24px; }
  .promo__art { min-height: 0; height: 178px; padding: 18px 0 0; place-items: start center; }
  .promo__cover { width: auto; height: 150px; margin-right: 110px; transform: rotate(-5deg); }
  .promo__kd { right: auto; left: 50%; bottom: -14px; width: 150px; margin-left: -10px; }
  .promo__bubbles { left: 6%; top: 10%; width: 46px; }
  .promo__body { padding: 22px 22px 14px; text-align: center; }
  .promo__body h2 { font-size: 25px; }
  .promo__desc { font-size: 16px; }
  .promo__error { padding-left: 0; }
}

/* Short screens (small phones, phones held sideways): drop the picture strip so
   the sign-up button stays in view without scrolling. */
@media (max-height: 640px) {
  .promo { max-height: calc(100dvh - 16px); }
  .promo__card { grid-template-columns: 1fr; max-height: calc(100dvh - 16px); }
  .promo__art { display: none; }
  .promo__close { top: 8px; right: 8px; }
  .promo__body { padding: 20px 22px 8px; text-align: center; }
  .promo__body .eyebrow { padding-inline: 40px; }
  .promo__body h2 { margin-top: 6px; font-size: 22px; }
  .promo__desc { margin-top: 8px; font-size: 15px; line-height: 1.45; }
  .promo__form { gap: 9px; margin-top: 14px; }
  .promo__input { min-height: 48px; }
  .promo__submit { min-height: 50px; font-size: 17px; }
  .promo__privacy { font-size: 12.5px; }
  .promo__consent { font-size: 13px; }
  .promo__dismiss { margin-top: 2px; }
}
@media (max-height: 640px) and (min-width: 560px) {
  .promo { width: min(640px, calc(100vw - 32px)); }
  .promo__body { padding-inline: 32px; }
}