/*
  12 Weeks. One Big Change. : offer page
  Desktop (840px and wider) reproduces the three A4 pages of the PDF at 794px wide, value for value.
  Below that the same pages reflow into one column. Nothing is restyled; only grids collapse and the
  side padding shrinks.

  Breakpoints
    >= 840px   PDF layout, pages centred at 794px
    <  840px   fluid width, side padding 32px
    <  720px   grids collapse to fewer columns
    <  480px   phone: side padding 22px, one column throughout
*/

/* ---------- Tokens ---------- */
:root {
  --paper: #FAF8F5;
  --ink: #1C1B19;
  --forest: #14352F;
  --forest-2: #1F4A41;
  --sand: #EFE9DF;
  --rule: #D6CDBD;
  --muted: #5B574F;
  --accent: #A33A0B;
  --accent-light: #F2915F;
  --on-forest: #C9D6D1;
  --on-forest-2: #E3EBE8;
  --backdrop: #DDD8CE;

  --serif: Fraunces, Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --pad: 48px;
}

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

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

body {
  margin: 0;
  background: var(--backdrop);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
strong { font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
.bal { text-wrap: balance; }

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

/* ---------- Pages ---------- */
.doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 32px 0;
}

.sheet {
  position: relative;
  width: 794px;
  min-height: 1123px;
  background: var(--paper);
  color: var(--ink);
}

.sheet--1 { display: flex; flex-direction: column; }
.sheet--2,
.sheet--3 { padding: 48px var(--pad) 48px; }

/* ---------- Shared type ---------- */
.h-section {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
}

.text { font-size: 14.5px; line-height: 21px; }
.text--tight { margin-top: 8px; }
.text--pair { margin-top: 8px; }

.block { margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  background: var(--accent-light);
  color: var(--forest);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
}
.btn--hero {
  display: inline-block;
  flex: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  padding: 13px 22px;
}
.btn--price {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  line-height: 20px;
  letter-spacing: 0.04em;
  padding: 14px 8px;
}
.btn:focus-visible { outline-color: var(--paper); }

/* ---------- Page 1: hero ---------- */
.hero {
  position: relative;
  flex: none;
  min-height: 384px;
  background: var(--forest);
  padding: 44px var(--pad) 64px var(--pad);
}

.eyebrow {
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero__title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 52px;
  line-height: 53px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero__tagline {
  margin-top: 14px;
  max-width: 700px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 28px;
  color: var(--paper);
}
.hero__tagline span { color: var(--accent-light); }

.hero__sub {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 22px;
  color: var(--on-forest);
}

.cta-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cta-row__main { font-size: 13.5px; line-height: 20px; color: var(--paper); }
.cta-row__note { margin-top: 2px; font-size: 12px; line-height: 16px; color: var(--on-forest); }

.hero__mountains {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/* ---------- Page 1: body ---------- */
.p1-body {
  flex: 1;
  padding: 14px var(--pad) 40px var(--pad);
}

.lead {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 30px;
  color: var(--ink);
}
.lead span { color: var(--accent); }

.stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.9fr 1.1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.stats li { padding: 12px 10px 12px 12px; border-left: 1px solid var(--rule); }
.stats li:first-child { border-left: 0; }
.stat__value {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  line-height: 26px;
  color: var(--accent);
}
.stat__label {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--muted);
}

.pair {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
}
.tick { width: 36px; height: 3px; background: var(--accent); }
.h-section--pair { margin-top: 10px; }

.callout {
  margin-top: 24px;
  background: var(--sand);
  padding: 18px 24px 20px 24px;
}
.callout__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 26px;
}

.faq { margin-top: 16px; display: grid; row-gap: 6px; }

/* ---------- Page 2 ---------- */
.method-title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 34px;
  line-height: 40px;
}
.method-intro { margin-top: 8px; font-size: 15px; line-height: 22px; }

.wired { margin-top: 14px; border-bottom: 1px solid var(--rule); }
.wired li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
  border-top: 1px solid var(--rule);
}
.wired__letter {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  background: var(--forest);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
}

.weeks {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.week { background: var(--sand); padding: 14px 16px; }
.week__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.week__text { margin-top: 6px; font-size: 14px; line-height: 20px; }
.weeks__note { margin-top: 12px; color: var(--muted); }

.bio {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 28px;
}
.portrait {
  position: relative;
  min-height: 300px;
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
}
.portrait img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
}
.portrait__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 18px 14px 18px;
  background: linear-gradient(to top, rgba(20, 53, 47, 0.97) 35%, rgba(20, 53, 47, 0));
}
.portrait__name { font-size: 15px; line-height: 20px; font-weight: 700; }
.portrait__role { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--on-forest); }

.bio__text { font-size: 14.5px; line-height: 21px; }
.bio__text p + p { margin-top: 8px; }

/* ---------- Page 3 ---------- */
.cases {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.case {
  background: var(--sand);
  padding: 18px 20px 16px 20px;
  display: flex;
  flex-direction: column;
}
.case__name { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--accent); }
.case__role { font-size: 13px; line-height: 18px; color: var(--muted); }
.case__text { margin-top: 8px; font-size: 14.5px; line-height: 22px; }
.case__foot { margin-top: auto; padding-top: 12px; }
.case__foot-inner { border-top: 1px solid var(--rule); padding-top: 12px; }
.case__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
}
.case__tag { margin-top: 8px; font-size: 13px; line-height: 18px; }

.block--get { margin-top: 16px; }
.get {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.get__item { border: 1px solid var(--rule); padding: 12px 14px; }
.get__item--hl { border-color: var(--accent); background: var(--sand); }
.get__title { font-size: 14.5px; line-height: 20px; font-weight: 700; }
.get__text { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.get__text strong { color: var(--accent); }

.booking { margin-top: 16px; }

.price {
  margin-top: 10px;
  background: var(--forest);
  color: var(--paper);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 200px;
  column-gap: 26px;
  align-items: start;
}
.price__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.price__amount {
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 50px;
  line-height: 54px;
}
.price__week { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--on-forest); }
.price__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
}
.price__title span { color: var(--accent-light); }
.price__text { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--on-forest-2); }

.ps { margin-top: 12px; }

/* =====================================================================
   Below 840px: pages become one fluid column. Same pages, same order.
   ===================================================================== */
@media screen and (max-width: 839px) {
  :root { --pad: 32px; }

  body { background: var(--paper); }
  .doc { display: block; padding: 0; }
  .sheet { width: 100%; min-height: 0; }
  .sheet + .sheet { border-top: 1px solid var(--rule); }
  .sheet--2,
  .sheet--3 { padding-top: 40px; }

  .hero { min-height: 0; padding-top: 40px; }
  .hero__title {
    font-size: clamp(28px, calc((100vw - 2 * var(--pad)) / 9.9), 52px);
    line-height: 1.0192;
  }
}

/* ---------- Below 720px: collapse the grids ---------- */
@media screen and (max-width: 719px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li { border-left: 0; border-top: 1px solid var(--rule); }
  .stats li:nth-child(-n+2) { border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--rule); }
  .stats li:last-child { grid-column: 1 / -1; border-left: 0; }

  .pair { grid-template-columns: 1fr; row-gap: 26px; }
  .weeks { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; row-gap: 18px; }
  .portrait { width: 190px; }
  .cases { grid-template-columns: 1fr; }
  .get { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .price { grid-template-columns: 1fr; row-gap: 20px; }
}

/* ---------- Phones ---------- */
@media screen and (max-width: 479px) {
  :root { --pad: 22px; }

  .sheet--2,
  .sheet--3 { padding-top: 36px; }
  .hero { padding-top: 36px; }

  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn--hero { display: block; text-align: center; }

  .callout { padding-left: 18px; padding-right: 18px; }
  .case { padding-left: 18px; padding-right: 18px; }
  .price { padding-left: 20px; padding-right: 20px; }

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

/* ---------- Print: reproduces the 3-page A4 PDF ---------- */
@page { size: 794px 1123px; margin: 0; }
@media print {
  :root { --pad: 48px; }
  body { background: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .doc { display: block; padding: 0; }
  .sheet { width: 794px; height: 1123px; min-height: 0; overflow: hidden; break-after: page; border-top: 0 !important; }
  .sheet:last-child { break-after: auto; }
}
