/*
 * The Business of Being You
 *
 * One idea per card, stacked on a warm sand ground. Palette and type follow
 * zonalord.com. Copper #a65f32 is for button grounds and marks only; small
 * copper text uses --accent-text, which clears WCAG AA on ivory.
 */

@font-face {
  font-family: 'Source Serif 4 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('/fonts/source-serif-4-latin-wght-normal.woff2') format('woff2-variations');
}

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --ground: #e9ddce;
  --card: #fdfaf5;
  --tint: #f7f2ea;
  --ink: #18324b;
  --ink-soft: #3f4b50;
  --ink-muted: #56656c;
  --accent: #a65f32;
  --accent-text: #90522b;
  --accent-strong: #8a4e29;
  --rule: #d8cec2;
  --rule-strong: #bfaf9b;
  --border-interactive: #927a5d;
  --inverse-text: #f7f2ea;
  --inverse-muted: #c9d3d8;

  --serif: 'Source Serif 4 Variable', Georgia, 'Times New Roman', serif;
  --sans: 'Inter Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --text-sm: 0.9375rem;
  --text-base: clamp(1.0625rem, 0.99rem + 0.3vw, 1.15rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  --text-2xl: clamp(1.6rem, 1.35rem + 1vw, 2.1rem);
  --text-4xl: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);

  --pad: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--serif); color: var(--ink); font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.2; margin: 0;
}
h2 { font-size: var(--text-2xl); margin-bottom: 1.25rem; }
h3 { font-size: var(--text-lg); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

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

.small { font-size: var(--text-sm); color: var(--ink-muted); }

/* ------------------------------------------------------------- Layout */

.page {
  width: 100%; max-width: 62rem; margin: 0 auto;
  padding: clamp(1rem, 0.5rem + 2vw, 2.5rem) clamp(0.75rem, 0.25rem + 2vw, 1.5rem);
  display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.75rem);
}

.card {
  background: var(--card); border-radius: var(--radius);
  padding: var(--pad);
  box-shadow: 0 1px 2px rgba(24, 50, 75, 0.06);
}

/* --------------------------------------------------------------- Buttons */

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.4rem;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  border-radius: 4px; font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
}
.button:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.button.secondary { background: transparent; color: var(--accent-text); border-color: var(--border-interactive); }
.button.secondary:hover { background: var(--tint); color: var(--accent-strong); }
.button.inverse { background: var(--inverse-text); color: var(--ink); border-color: var(--inverse-text); }
.button.inverse:hover { background: #fff; border-color: #fff; color: var(--ink); }
.button.outline-light { background: transparent; color: var(--inverse-text); border-color: var(--inverse-text); }
.button.outline-light:hover { background: rgba(247, 242, 234, 0.12); color: #fff; }

/* ---------------------------------------------------------------- Opening */

.hero-card {
  padding: 0; overflow: hidden; background: var(--ink); color: var(--inverse-muted);
  display: grid;
}
@media (min-width: 48rem) { .hero-card { grid-template-columns: 1.5fr 1fr; } }
.hero-text { padding: var(--pad); align-self: center; }
.hero-card h1 { color: var(--inverse-text); font-size: var(--text-4xl); line-height: 1.08; margin-bottom: 1rem; }
.eyebrow {
  font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em;
  color: #e3b08c; margin-bottom: 0.9rem;
}
.subtitle { font-family: var(--serif); font-size: var(--text-xl); color: var(--inverse-text); line-height: 1.35; }
.hero-lead { color: var(--inverse-muted); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (max-width: 47.99rem) { .hero-image { order: -1; max-height: 22rem; overflow: hidden; } }

/* ------------------------------------------------------------ At a glance */

.glance {
  list-style: none; margin: 0; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule);
}
@media (min-width: 48rem) { .glance { grid-template-columns: repeat(4, 1fr); } }
.glance li {
  background: var(--card); padding: 1.1rem 1.25rem;
  font-family: var(--serif); font-size: var(--text-lg); color: var(--ink); line-height: 1.3;
}
.glance-label {
  display: block; font: 600 0.75rem/1.4 var(--sans); text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent-text); margin-bottom: 0.3rem;
}

/* ------------------------------------------------------ Image beside text */

.split-card { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 48rem) { .split-card { grid-template-columns: 1fr 1.25fr; gap: 2.5rem; } }
.card-image img { border-radius: 4px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* --------------------------------------------------------------- Approach */

.lead-text { font-size: var(--text-lg); max-width: 46rem; }
.steps-row { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.75rem; }
@media (min-width: 48rem) { .steps-row { grid-template-columns: repeat(3, 1fr); } }
.steps-row li {
  background: var(--tint); border-top: 3px solid var(--accent); border-radius: 0 0 4px 4px;
  padding: 1.1rem 1.2rem; font-size: var(--text-sm);
}
.step-word { display: block; font-family: var(--serif); font-size: var(--text-xl); color: var(--ink); margin-bottom: 0.25rem; }

/* ----------------------------------------------------------- How it works */

.feature-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .feature-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; } }
.feature-grid h3 { margin-bottom: 0.35rem; }
.feature-grid h3::before {
  content: ''; display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--accent); margin-right: 0.6rem; vertical-align: 0.15em;
}
.feature-grid p { font-size: var(--text-sm); margin: 0; }
.receive { padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: var(--text-sm); }

/* ------------------------------------------------------------ Eight weeks */

.weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
@media (min-width: 40rem) { .weeks { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
@media (min-width: 60rem) { .weeks { grid-template-columns: repeat(4, 1fr); } }
.weeks li {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--tint); border-radius: 4px; padding: 0.8rem 1rem;
  font-family: var(--serif); color: var(--ink); line-height: 1.3;
}
.week-num {
  flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--inverse-text);
  font: 600 0.875rem/1 var(--sans);
}

/* ------------------------------------------------------------------ About */

.credentials { font-size: var(--text-sm); color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 1rem; }

/* ---------------------------------------------------------------- Options */

.tiers { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 56rem) { .tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.tier {
  display: flex; flex-direction: column;
  background: var(--tint); border: 1px solid var(--rule); border-radius: 4px; padding: 1.5rem 1.35rem;
}
.tier.featured { border: 2px solid var(--ink); background: var(--card); }
.tier h3 { font-size: var(--text-xl); margin-bottom: 0.4rem; }
.tier-summary { font-size: var(--text-sm); color: var(--ink-muted); }
.price { font-family: var(--serif); font-size: var(--text-2xl); color: var(--ink); margin: 0.25rem 0 0.15rem; }
.price-alt { font-size: var(--text-sm); margin-bottom: 0.35rem; }
.rates-note { font-size: var(--text-sm); color: var(--ink-muted); margin-bottom: 1.25rem; }
.not-included { font-size: var(--text-sm); color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 0.9rem; }
.tier-actions { margin-top: auto; padding-top: 1rem; display: grid; gap: 0.6rem; }
.conversation { margin-top: 1.5rem; text-align: center; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: var(--text-sm); }
.ticks li { position: relative; padding-left: 1.5rem; margin-bottom: 0.55rem; }
.ticks li::before {
  content: ''; position: absolute; left: 0.1rem; top: 0.55em;
  width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent);
}

/* ------------------------------------------------------------- Next steps */

.next-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.25rem; }
.next-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: start; }
.step-num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: 600 1rem/1 var(--sans);
}
.next-steps h3 { margin: 0.35rem 0 0.25rem; }
.next-steps p { font-size: var(--text-sm); margin: 0; }

/* -------------------------------------------------- Disclosures and FAQs */

details summary {
  cursor: pointer; list-style: none; position: relative; padding-right: 2.25rem;
  font-family: var(--serif); color: var(--ink);
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font: 400 1.5rem/1 var(--sans); color: var(--accent-text);
}
details[open] summary::after { content: '\2212'; }

.dates-details { border-top: 1px solid var(--rule); padding-top: 1rem; }
.dates-details summary { font-size: var(--text-base); padding-block: 0.25rem; }
.dates-details p { font-size: var(--text-sm); margin-top: 0.75rem; }

.faqs { border-top: 1px solid var(--rule-strong); }
.faqs details { border-bottom: 1px solid var(--rule-strong); }
.faqs summary { padding-block: 1.05rem; font-size: var(--text-lg); }
.faqs details p { font-size: var(--text-sm); padding-bottom: 1rem; }

/* ---------------------------------------------------------------- Closing */

.closing { background: var(--ink); color: var(--inverse-muted); text-align: center; }
.closing h2 { color: var(--inverse-text); }
.closing .cta-row { justify-content: center; }

.site-footer { text-align: center; font-size: var(--text-sm); color: var(--ink-muted); padding: 0.5rem 0 1rem; }

/* How it works: app and sessions side by side */
.two-col { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .two-col { grid-template-columns: 1.15fr 1fr; } }
.col-box { background: var(--tint); border-top: 3px solid var(--accent); border-radius: 0 0 4px 4px; padding: 1.4rem 1.35rem; }
.col-box h3 { margin-bottom: 0.9rem; }
.col-box p { font-size: var(--text-sm); }
.col-box .ticks { margin: 0; }
.mini-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; counter-reset: s; }
.mini-steps li {
  counter-increment: s; display: flex; gap: 0.75rem; align-items: center;
  background: var(--card); border-radius: 4px; padding: 0.7rem 0.9rem; font-size: var(--text-sm);
}
.mini-steps li::before {
  content: counter(s); flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--inverse-text);
  font: 600 0.8rem/1 var(--sans);
}
.mini-steps strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }

/* Week labels, small above each name */
.weeks li { flex-direction: column; align-items: flex-start; gap: 0.2rem; }
.week-label {
  font: 600 0.72rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent-text);
}

/* Credentials as a clear list */
ul.credentials { list-style: none; margin: 1.25rem 0 0; padding: 1rem 0 0; display: grid; gap: 0.4rem; }
ul.credentials li { position: relative; padding-left: 1.25rem; color: var(--ink); }
ul.credentials li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.6rem; height: 2px; background: var(--accent); }

.faq-more { margin-top: 1.5rem; font-size: var(--text-sm); }

.price .tax { font: 500 0.75rem/1 var(--sans); color: var(--ink-muted); letter-spacing: 0.02em; margin-left: 0.35rem; vertical-align: middle; white-space: nowrap; }

/* Opening: quiet concentric rings in place of the photo */
.hero-art { background: #1f3d59; min-height: 14rem; }
.hero-art svg { display: block; width: 100%; height: 100%; }
@media (max-width: 47.99rem) { .hero-art { order: -1; height: 12rem; } }

/* Who I am: portrait at its natural upright shape */
@media (min-width: 48rem) { .about-card { grid-template-columns: 0.8fr 1.4fr; align-items: start; } }
.about-card .card-image img { aspect-ratio: 4 / 5; object-position: center 20%; }
@media (max-width: 47.99rem) { .about-card .card-image { max-width: 18rem; } }

.status-pill {
  display: inline-block; margin-bottom: 1.1rem; padding: 0.35rem 0.8rem;
  border: 1px solid #e3b08c; border-radius: 999px;
  font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.04em; color: #f7f2ea;
}
.status-pill::before {
  content: ''; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: #d08d61; margin-right: 0.5rem; vertical-align: 0.05em;
}

/* Weeks with a short explanation under each name */
@media (min-width: 60rem) { .weeks { grid-template-columns: repeat(2, 1fr); } }
.weeks li { padding: 1rem 1.1rem; gap: 0.3rem; }
.week-name { font-family: var(--serif); font-size: var(--text-lg); color: var(--ink); }
.week-desc { font: 400 var(--text-sm)/1.5 var(--sans); color: var(--ink-soft); }

.role-line {
  margin: -0.6rem 0 1.25rem; font: 600 0.8125rem/1.4 var(--sans);
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-text);
}

/* The three fields Positive Intelligence draws on */
.fields { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .fields { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.fields li {
  display: grid; grid-template-columns: 3rem 1fr; column-gap: 0.9rem; align-items: center;
  background: var(--tint); border-radius: 4px; padding: 1rem 1.1rem;
}
@media (min-width: 40rem) { .fields li { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 1.4rem 1rem; } }
.fields svg {
  width: 3.5rem; height: 3.5rem; grid-row: span 2;
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 40rem) { .fields svg { grid-row: auto; margin-bottom: 0.6rem; } }
.field-name { font-family: var(--serif); font-size: var(--text-lg); color: var(--ink); line-height: 1.25; }
.field-desc { font-size: var(--text-sm); color: var(--ink-muted); }
.definition { max-width: 46rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--accent); background: var(--tint); border-radius: 0 4px 4px 0; }

/* Positive Intelligence wheel */
.wheel-row { display: grid; gap: 1.5rem; align-items: center; margin-bottom: 1.75rem; }
@media (min-width: 48rem) { .wheel-row { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; } }
.pq-wheel { width: 100%; max-width: 22rem; justify-self: center; display: block; }
.pq-wheel-labels { font: 600 15px var(--sans); fill: #f7f2ea; letter-spacing: 0.02em; }
.pq-wheel-centre { font: 500 22px var(--serif); fill: var(--ink); }

.sub-heading { margin: 0.5rem 0 1rem; }
.core-parts { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.75rem; }
@media (min-width: 48rem) { .core-parts { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.core-parts li {
  display: grid; gap: 0.35rem; align-content: start;
  background: var(--tint); border-radius: 4px; padding: 1.2rem 1.2rem 1.3rem;
}
.core-parts strong { font-family: var(--serif); font-weight: 500; font-size: var(--text-lg); }
.core-parts li > span:last-child { font-size: var(--text-sm); }
.part-num {
  width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font: 600 0.875rem/1 var(--sans); margin-bottom: 0.35rem;
}

.assess-card h2 { margin-bottom: 0.75rem; }
.assess-options { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .assess-options { grid-template-columns: 1fr 1fr; } }
.assess-item { display: flex; flex-direction: column; background: var(--canvas); border: 1px solid var(--rule); border-radius: 3px; padding: 1.25rem; }
.assess-item h3 { margin-bottom: 0.5rem; }
.assess-item p { font-size: var(--text-sm); }
.assess-item .button { margin-top: auto; }
.assess-note { font-size: var(--text-sm); color: var(--ink-muted); margin: 1rem 0 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.closing-note { margin-top: 1.5rem; font-size: var(--text-sm); color: var(--inverse-muted); }
.closing-note a { color: #e3b08c; }
.closing-note a:hover { color: #f7f2ea; }

.start-picker { display: grid; gap: 0.35rem; margin-top: 1rem; font-size: var(--text-sm); }
.start-picker label { color: var(--ink); font-weight: 600; }
.start-picker select {
  min-height: 3rem; padding: 0.6rem 0.75rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--canvas-raised); border: 1px solid var(--border-interactive); border-radius: 3px;
}
.start-picker[hidden] { display: none; }

.tier-schedule { font-size: var(--text-sm); color: var(--ink); background: var(--canvas); border-left: 3px solid var(--accent); padding: 0.75rem 1rem; margin: 0.5rem 0 0; }
