/* The Clarity Reset™ — MAHMAN
   Warm ivory, deep charcoal, restrained antique gold. No gradients. */

:root {
  --bg: #f7f3ea;          /* warm ivory */
  --bg-band: #f0eadf;     /* soft cream band */
  --bg-hero: #ebe3d4;     /* hero field */
  --ink: #1f1d1a;         /* deep charcoal */
  --ink-soft: #46413a;    /* body copy, 8.5:1 on ivory */
  --gold: #8c6a2b;        /* antique gold — text & buttons, AA on ivory */
  --gold-dark: #735620;   /* hover */
  --gold-rule: #b8924f;   /* thin decorative rules */
  --gold-wash: #ebdfc8;   /* numeral / icon discs */
  --line: #ddd3c2;        /* hairlines */
  --on-gold: #fbf8f1;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --measure: 34rem;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 7vw, 5.5rem);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.0625rem, 0.3vw + 1rem, 1.1875rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, p, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Wordmark & buttons ---------- */

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  /* trailing tracking would push it off-centre */
  margin-right: -0.22em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 2.1em;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--gold);
  border-radius: 1px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn:focus-visible { outline-color: var(--ink); }
.btn .arrow { font-size: 1.05em; }

.btn--small { padding: 0.55em 1.1em; font-size: 0.9375rem; }
.btn--wide { min-width: 15rem; }

.meta {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}
.meta .sep { color: var(--gold-rule); padding: 0 0.35em; }

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.site-header .wordmark { font-size: clamp(1.25rem, 2vw, 1.625rem); }

/* ---------- Headings ---------- */

.section-title {
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw + 0.9rem, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title::after,
.rule::after {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  margin-top: 1.1rem;
  background: var(--gold-rule);
}

.eyebrow {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ---------- Hero ---------- */

.hero { background: var(--bg-hero); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.hero h1 {
  margin-top: 0.4rem;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.6vw + 1rem, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 .tm {
  font-size: 0.3em;
  vertical-align: 1.75em;
  letter-spacing: 0;
  margin-left: 0.02em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-top: 1.5rem;
  background: var(--gold-rule);
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: clamp(1.3125rem, 1vw + 1rem, 1.625rem);
  line-height: 1.3;
  color: var(--ink);
}
.hero .support {
  margin-top: 1rem;
  max-width: 29rem;
  color: var(--ink-soft);
}
.hero .actions { margin-top: 1.9rem; }
.hero .meta { margin-top: 1rem; }

.cover {
  justify-self: center;
  width: 100%;
  max-width: 22.5rem;
  margin: 0;
}
.cover img {
  width: 100%;
  aspect-ratio: 612 / 792;
  box-shadow:
    0 1px 2px rgba(31, 29, 26, 0.18),
    0 18px 40px -12px rgba(31, 29, 26, 0.45),
    0 40px 70px -30px rgba(31, 29, 26, 0.35);
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--band { background: var(--bg-band); }

/* What this helps you do */
.helps .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.helps .intro p {
  margin-top: 1.5rem;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 1.125em;
  line-height: 1.5;
}

.checklist li,
.xlist li {
  position: relative;
  padding-left: 2.1rem;
  line-height: 1.45;
}
.checklist li + li,
.xlist li + li { margin-top: 0.85rem; }
.checklist .icon,
.xlist .icon {
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
}
.helps .checklist { padding-top: 0.35rem; color: var(--ink-soft); }

/* Numbered five days + deliverables share one column system */
.leave .section-bridge {
  margin-top: 1.5rem;
  max-width: 42rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.columns {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2.5rem;
}
.columns > li {
  padding: 0.25rem clamp(0.75rem, 1.4vw, 1.4rem) 0.5rem;
  text-align: center;
}
.columns > li + li { border-left: 1px solid var(--line); }

.disc {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}
.disc svg { width: 1.6rem; height: 1.6rem; color: var(--ink); }

.columns h3 {
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.25;
}
.columns .day-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.columns p {
  margin-top: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.9875rem;
  line-height: 1.5;
}

/* Visually hidden, still announced */
.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;
}

/* For you / not */
.fit .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.fit .col { padding-right: clamp(1.5rem, 4vw, 3.5rem); }
.fit .col + .col {
  padding-right: 0;
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
  border-left: 1px solid var(--line);
}
.fit ul { margin-top: 1.75rem; color: var(--ink-soft); }
.fit .closing {
  margin-top: 1.5rem;
  max-width: var(--measure);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Final CTA */
.final {
  background: var(--bg-band);
  text-align: center;
  padding: var(--section) 0 clamp(2.5rem, 5vw, 3.5rem);
}
.final .rule-top {
  width: 2.5rem;
  height: 1px;
  margin: 0 auto 1.75rem;
  background: var(--gold-rule);
  border: 0;
}
.final h2 {
  font-weight: 400;
  font-size: clamp(1.625rem, 2.2vw + 0.9rem, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.final .final-support {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 0.7vw + 1rem, 1.35rem);
  line-height: 1.4;
}
.final .final-kicker {
  margin-top: 0.55rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}
.final .meta { margin-top: 0.85rem; }
.final .actions { margin-top: 1.75rem; }
.page-end {
  background: var(--bg-band);
  text-align: center;
  padding: 0 0 clamp(2rem, 4vw, 2.75rem);
}
.page-end .wordmark { font-size: 1rem; }

/* ---------- Access page ---------- */

.access {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.access main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0;
  background: var(--bg-hero);
}
.access-card {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: center;
  max-width: 46rem;
  margin: 0 auto;
}
.access-card .cover { max-width: 11rem; }
.access-card h1 {
  font-weight: 400;
  font-size: clamp(2.125rem, 3vw + 1rem, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.access-card h1 .tm { font-size: 0.34em; vertical-align: 1.7em; letter-spacing: 0; }
.access-card h2 {
  margin-top: 1.4rem;
  font-weight: 400;
  font-size: clamp(1.375rem, 1vw + 1rem, 1.625rem);
  line-height: 1.25;
}
.access-card h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 1.4rem;
  background: var(--gold-rule);
}
.access-card p {
  margin-top: 0.75rem;
  max-width: 30rem;
  color: var(--ink-soft);
}
.access-card .actions { margin-top: 1.75rem; }
.access-card .meta { margin-top: 0.9rem; }

.site-footer {
  padding: 1.75rem 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.site-footer .wordmark { font-size: 0.9375rem; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); }

  /* five columns → two, with the fifth centred beneath */
  .columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.25rem;
  }
  .columns > li + li { border-left: 0; }
  .columns > li:nth-child(even) { border-left: 1px solid var(--line); }
  .columns > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }
  .hero .copy { text-align: left; }
  .cover { max-width: 16rem; }

  .helps .wrap,
  .fit .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .fit .col,
  .fit .col + .col { padding: 0; border-left: 0; }
  .fit .col + .col { padding-top: 2.5rem; border-top: 1px solid var(--line); }

  .access-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .access-card .cover { max-width: 9rem; justify-self: start; }
}

@media (max-width: 560px) {
  .site-header .wrap { min-height: 3.75rem; }
  .site-header .wordmark { letter-spacing: 0.18em; margin-right: 0; }

  .btn--wide,
  .hero .btn,
  .access-card .btn { width: 100%; min-width: 0; }

  /* one clean column: disc left, text right */
  .columns {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
    margin-top: 2rem;
  }
  .columns > li,
  .columns > li:last-child:nth-child(odd) {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 1.1rem;
    max-width: none;
    padding: 1.25rem 0;
    text-align: left;
    border-left: 0;
  }
  .columns > li:nth-child(even) { border-left: 0; }
  .columns > li + li { border-top: 1px solid var(--line); }
  .columns .disc {
    grid-row: 1 / span 2;
    width: 3rem;
    height: 3rem;
    margin: 0;
    font-size: 1.3rem;
  }
  .columns .disc svg { width: 1.4rem; height: 1.4rem; }
  .columns p { margin-top: 0.35rem; }

  .final .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
