:root {
  color-scheme: light;
  --ink: #201d25;
  --muted: #55515b;
  --accent: #b51738;
  --rule: #ddd9df;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fcfbfa;
}
* { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.whatsapp-link {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 20px;
  border-radius: 32px;
  background: #14783e;
  color: #fff;
  box-shadow: 0 4px 22px #001b2638;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.whatsapp-link:hover { background: #106332; }
@media (max-width: 600px) {
  .whatsapp-link { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  body { padding-bottom: 76px; }
}
@media print {
  .whatsapp-link { display: none; }
}
a { color: inherit; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.masthead {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-size: 23px; font-weight: 800; letter-spacing: -.045em; text-decoration: none; }
.dot { display: inline-block; width: 11px; height: 11px; background: var(--accent); border-radius: 50%; margin-right: 9px; }
nav { display: flex; gap: 26px; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover, summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-areas: "intro portrait" "action portrait";
  grid-template-rows: 1fr auto;
  gap: 22px clamp(24px, 4vw, 58px);
  padding-block: 35px 44px;
}
.intro { grid-area: intro; align-self: end; }
.label { font-size: 13px; line-height: 1.45; letter-spacing: .14em; font-weight: 800; }
.label span { display: inline-block; width: 24px; height: 2px; background: var(--accent); margin: 0 7px 4px 0; }
h1 { margin-top: 17px; font-size: clamp(39px, 5vw, 70px); line-height: 1; letter-spacing: -.062em; font-weight: 800; }
h1 span, h1 strong { display: block; text-wrap: balance; }
h1 strong { color: var(--accent); font-weight: inherit; }
.hero > figure { grid-area: portrait; align-self: center; }
figure { display: flex; flex-direction: column; min-width: 0; background: var(--ink); color: white; }
figure img { width: 100%; height: auto; display: block; object-fit: cover; }
.hero > figure img { aspect-ratio: 1 / 1.03; object-position: center 27%; }
figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 15px; }
figcaption span { color: #e3dfe5; }
.hero-action { grid-area: action; padding-bottom: 12px; }
.hero-action p, .offer p:not(.label), .story div p:not(.label) { font-size: 19px; line-height: 1.55; max-width: 52ch; }
.hero-action p, .story div p:not(.label) { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; margin-top: 19px; padding: 10px 15px; color: white; background: var(--accent); text-decoration: none; font-weight: 750; }
.button:hover { background: #92102d; }
small { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; align-items: center; padding: clamp(24px, 4vw, 54px); background: var(--ink); color: #fff; scroll-margin-top: 16px; }
h2 { margin: 9px 0 12px; font-size: clamp(32px, 4vw, 53px); line-height: 1.03; letter-spacing: -.05em; }
.offer .label { color: #ffafbd; }
details { background: #fcfbfa; color: var(--ink); padding: 20px; border-left: 5px solid var(--accent); }
summary { cursor: pointer; font-size: 20px; line-height: 1.35; font-weight: 750; }
summary span { display: block; }
.sample { font-size: 12px; letter-spacing: .1em; color: var(--accent); margin-bottom: 8px; }
.offer details p { margin-top: 12px; font-size: 17px; }
.story { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; padding-block: 58px; scroll-margin-top: 10px; }
.story h2 { margin-top: 0; }
.story div p:not(.label) + p { margin-top: 15px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--rule); padding-block: 20px; font-size: 14px; }
footer span { color: var(--muted); }
:focus-visible { outline: 3px solid #2162bc; outline-offset: 5px; }
.skip { position: absolute; top: 8px; left: 10px; z-index: 1; background: white; padding: 10px; transform: translateY(-150%); }
.skip:focus { transform: none; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 70px; }
  .wordmark { font-size: 21px; }
  nav { gap: 11px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "intro" "portrait" "action"; grid-template-rows: auto; padding-block: 24px 26px; }
  h1 { font-size: clamp(32px, 8.7vw, 60px); }
  .hero > figure img { aspect-ratio: 1.22; object-position: center 21%; }
  .offer, .story { grid-template-columns: 1fr; gap: 18px; }
  .story { padding-block: 38px; }
}
@media (max-width: 370px) {
   .masthead { flex-wrap: wrap; gap: 8px; padding-block: 12px; }
  nav { flex-wrap: wrap; }
}

button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
.button { border: 0; text-align: left; }
.offer { align-items: start; }
.offer-intro { position: sticky; top: 24px; }
.offer-intro small { color: #e3dfe5; }
.check-card, .enquiry { min-width: 0; background: #fcfbfa; color: var(--ink); padding: clamp(20px, 3vw, 32px); border-top: 5px solid var(--accent); }
.offer .check-card .label, .enquiry .label { color: var(--accent); }
.check-card h3, .enquiry h3, legend { margin: 10px 0; font-size: clamp(23px, 2.6vw, 34px); line-height: 1.13; letter-spacing: -.035em; font-weight: 780; }
.offer .check-card p:not(.label), .contact p:not(.label) { font-size: 17px; line-height: 1.55; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: flex; gap: 10px; align-items: baseline; border: 1px solid var(--rule); margin-top: 8px; padding: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: #fff1f3; }
.choice input { margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.actions .button { margin-top: 0; }
.secondary { color: var(--ink); background: transparent; border: 1px solid var(--rule); min-height: 46px; padding: 8px 12px; font-weight: 650; }
.secondary:hover { border-color: var(--ink); }
.result-list { list-style: none; padding: 0; margin: 16px 0; }
.result-list li { border-top: 1px solid var(--rule); padding: 12px 0; }
.result-list small { margin: 4px 0; }
.story { grid-template-columns: minmax(160px, 235px) 1fr; gap: clamp(24px, 5vw, 65px); align-items: center; }
.story h2 { margin-top: 8px; }
.story-portrait img { aspect-ratio: 1; object-position: center; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; background: #f4eff0; padding: clamp(24px, 4vw, 54px); margin-bottom: 36px; }
.enquiry form > label:not(.choice) { display: block; font-weight: 700; margin-top: 14px; margin-bottom: 5px; }
.enquiry form > input, .enquiry select { width: 100%; min-height: 45px; padding: 8px; color: var(--ink); border: 1px solid #8c858d; background: white; }
.topic-select { position: relative; }
.topic-select select { appearance: none; padding-inline: 12px 36px; }
.topic-select::after {
  content: "";
  position: absolute;
  inset-inline-end: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.enquiry form > p { margin-top: 8px; }
#enquiry-reset { margin-top: 12px; }
@media (max-width: 760px) {
  .offer-intro { position: static; }
  .story, .contact { grid-template-columns: 1fr; gap: 18px; }
  .story-portrait { width: min(100%, 235px); }
}
@media print {
  body.print-summary .masthead, body.print-summary .hero, body.print-summary .offer-intro,
  body.print-summary .story, body.print-summary .contact, body.print-summary footer,
  body.print-summary .skip, body.print-summary .check-card .actions { display: none; }
  body.print-summary, body.print-summary .offer { background: white; color: black; }
  body.print-summary .wrap { width: 100%; }
  body.print-summary .offer { display: block; padding: 0; }
  body.print-summary .check-card { padding: 0; border: 0; }
  .result-list li { break-inside: avoid; }
}

/* Portrait and editorial layout */
:root { --ink: #352031; --muted: #594555; --accent: #8b254e; --rule: #e6d3dc; background: #fff9f6; }
.wordmark, h1, h2, .check-card h3, legend {
  font-family: Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.wordmark { font-size: 28px; }
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: clamp(22px, 4vw, 54px);
  margin-block: 24px 46px;
  background: #f4dce7;
  border-radius: 28px;
  column-gap: clamp(22px, 5vw, 70px);
}
h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: .99; }
h1 strong { font-style: italic; }
.hero > figure {
  position: relative;
  padding: 10px;
  background: #512544;
  border-radius: 48% 48% 20px 20px / 40% 40% 20px 20px;
}
.hero > figure img {
  aspect-ratio: 1 / 1.04;
  object-position: center 18%;
  border-radius: inherit;
}
.hero figcaption {
  position: absolute;
  bottom: 22px;
  right: 20px;
  transform: rotate(-5deg);
  color: var(--ink);
  background: #ffdf8f;
  border-radius: 6px;
  font: italic 19px Georgia, serif;
}
.button { border-radius: 999px; padding-inline: 20px; }
.topics { margin-block: 46px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; }
.topic-grid details { border: 0; border-radius: 16px; background: #f9e2a9; }
.topic-grid details:nth-child(2) { background: #efdfef; }
.topic-grid details:nth-child(3) { background: #f5dbe2; }
.topic-grid summary span { font-size: 13px; margin-bottom: 8px; }
.topic-grid p { margin-block: 12px; line-height: 1.5; }
.offer, .contact { border-radius: 24px; background: #eee4f5; color: var(--ink); }
.offer .label, .offer-intro small { color: var(--accent); }
.check-card, .enquiry { border: 1px solid var(--rule); border-radius: 18px; background: #fffcfa; }
.story { display: block; max-width: 680px; margin-inline: auto; }
.contact { background: #f6e2e9; }
@media (max-width: 760px) {
  .hero, .topic-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { row-gap: 18px; margin-block: 16px 32px; }
  .hero > figure { width: min(100%, 440px); justify-self: center; }
  .hero > figure img { aspect-ratio: 1.25; }
}
@media print {
  body.print-summary .topics { display: none; }
}

/* Full-width magazine cover */
:root { --cover: #c14a34; --cream: #fff4e5; --lime: #e9fa87; background: #fbf1e4; }
.masthead-band { background: var(--cover); color: var(--cream); }
.masthead { border-bottom: 0; }
.masthead .dot { background: var(--lime); }
.masthead nav { gap: 8px; }
.masthead nav a { padding: 8px 13px; border-radius: 999px; color: var(--ink); background: #ffd6c8; }
.masthead nav a:nth-child(2) { background: #ffc8fb; }
.masthead nav a:nth-child(3) { background: #005134; color: #fff; }
.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(0, 1fr);
  grid-template-areas: "intro intro intro" "action portrait cta";
  grid-template-rows: auto auto;
  align-items: start;
  gap: 20px clamp(16px, 3vw, 44px);
  margin: 0;
  padding: 34px 0 60px;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at 50% 80%, #c74836, var(--cover) 72%);
  box-shadow: 0 0 0 100vmax var(--cover);
  clip-path: inset(0 -100vmax);
}
.intro { text-align: center; }
.intro .label span { background: var(--lime); }
.hero h1 { font-size: clamp(45px, 8.4vw, 118px); color: #fff; }
.hero h1 strong { color: inherit; }
.hero-action, .hero-cta { padding-top: clamp(18px, 4vw, 52px); }
.hero-action p { color: inherit; font-size: 22px; font-weight: 500; line-height: 1.4; }
.hero-cta { grid-area: cta; }
.hero-cta small { color: inherit; max-width: 28ch; line-height: 1.45; }
.hero-cta .button {
  --lime: #e7fb75;
  margin-top: 0;
  width: min(100%, 252px);
  min-height: 68px;
  padding: 4px;
  gap: 0;
  border: 3px solid var(--lime);
  background: transparent;
  color: var(--lime);
}
.hero-cta .button span:first-child {
  flex: 1;
  padding: 11px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: #302329;
  font: 700 16px/1.05 "Courier New", monospace;
  text-align: center;
}
.hero-cta .button:hover span:first-child { background: #f4ffac; }
.hero-cta .button span:last-child { flex: 0 0 39px; display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero-cta .button svg { animation: hero-arrow-nudge 2.4s ease-in-out infinite; }
  @keyframes hero-arrow-nudge {
    0%, 55%, 100% { transform: translateY(0); }
    75% { transform: translateY(4px); }
  }
}
.hero > figure { padding: 0; background: transparent; align-self: start; }
.hero > figure img { aspect-ratio: 1.14; object-position: center 24%; }
.hero figcaption { background: #ffd2be; }
.topics {
  position: relative;
  margin-top: -24px;
  padding: clamp(18px, 4vw, 44px);
  border-radius: 24px;
  background: #fff8ed;
  border: 1px solid #ead6c3;
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "intro intro" "portrait action" "portrait cta";
    gap: 16px 22px;
  }
  .hero-action, .hero-cta { padding-top: 0; }
}
@media (max-width: 600px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "portrait" "action" "cta";
    padding-top: 22px;
  }
  .hero-action { padding-bottom: 0; }
  .hero-cta { padding-block: 16px; text-align: center; }
  .hero-cta small { margin-inline: auto; }
  .hero > figure { width: min(100%, 365px); }
}

.masthead .wordmark {
  color: #fff;
  display: grid;
  justify-items: start;
  font-size: clamp(25px, 3.25vw, 46px);
  line-height: .86;
  padding-block: 14px;
  letter-spacing: -.025em;
}
.wordmark em { font-weight: 500; margin-left: .32em; }
.hero::before {
  background: radial-gradient(ellipse closest-side at 50% 66%, #e16444 0%, #d95c3f 55%, var(--cover) 100%);
}
.hero:has(.portrait-cutout) { padding-bottom: 24px; }
.hero .portrait-cutout {
  z-index: 1;
  margin-top: clamp(-64px, -4vw, -28px);
  align-self: end;
}
.hero .portrait-cutout img {
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  display: block;
  mask-image: linear-gradient(#000 88%, transparent);
}
.hero-cta, .hero-action { z-index: 2; }
@media (max-width: 850px) {
  .hero .portrait-cutout { align-self: center; margin-top: -16px; }
}
@media (max-width: 600px) {
  .hero .portrait-cutout { width: min(78%, 340px); margin-top: -14px; }
  .hero:has(.portrait-cutout) { padding-bottom: 52px; }
}

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-display: swap;
}
:root { font-family: "Instrument Sans", Arial, sans-serif; }
.wordmark, h1, h2, .check-card h3, legend {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.025em;
}
.wordmark em { font-weight: 400; }
.hero .portrait-cutout img {
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center top;
}

.wordmark span:first-child { font-size: .86em; }
.wordmark span:last-child { white-space: nowrap; }
.wordmark em { font-size: .76em; margin: 0; vertical-align: .23em; }
.hero .portrait-cutout img { aspect-ratio: .83; mask-image: linear-gradient(#000 95%, transparent); }
@media (max-width: 600px) {
  .masthead { flex-wrap: wrap; gap: 8px 12px; padding-block: 8px; }
  .masthead nav { flex-basis: 100%; flex-wrap: wrap; }
}

.kit-preview {
  position: relative;
  margin: -24px 0 32px;
  padding: clamp(20px, 4vw, 44px);
  border-radius: 24px;
  background: #ffd2be;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 20px 36px;
}
.kit-preview h2 { font-size: clamp(32px, 4vw, 48px); }
.kit-preview a { font-weight: 700; text-underline-offset: 4px; }
.kit-preview + .topics { margin-top: 0; }
.kit-preview-answer {
  border-radius: 16px;
  background: #f9e2a9;
  padding: 22px;
}
.kit-preview-card p + p { margin-top: 8px; font-size: 19px; line-height: 1.4; }
@media (max-width: 760px) {
  .kit-preview { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  body.print-summary .kit-preview { display: none; }
}
