/* ===================================================
   Sovereign Health — Body Audit Stylesheet v1.1
   Design tokens from §6 handoff + reference site
   Mobile-first, no framework, no bundler
   =================================================== */

/* ---- Tokens ---- */
:root {
  --cream:      #F4EFE4;
  --panel:      #FBF8F1;
  --panel-dark: #EDE6D8;
  --navy:       #172A45;
  --navy-soft:  #2C4160;
  --gold:       #B4892C;
  --gold-deep:  #c49a2e;   /* G2: primary button/accent gold */
  --gold-muted: #9A7220;   /* darker gold for small text labels */
  --gold-soft:  #E7D9B4;
  --gold-pale:  #F5EFD8;
  --green:      #5C6B4A;
  --green-deep: #3E4A31;

  --text:       #1a1a1a;
  --text-soft:  #4a4a4a;
  --text-muted: #7a7a7a;
  --border:     #d8cebb;
  --border-soft:#e8e0d0;

  --display-font: 'Cormorant Garamond', Georgia, serif;
  --body-font:    'EB Garamond', Georgia, serif;

  --wrap-max: 700px;
  --wrap-pad: 1.5rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 1.25;
  color: var(--green-deep);
}
h1 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.6rem;
  font-family: var(--body-font);
}
p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
}
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}
section          { padding: 3rem 0; }
section.section-prose { padding: 2.75rem 0; }
section.tight    { padding: 2rem 0; }

/* ================================================================
   MASTHEAD
   ================================================================ */
.masthead {
  background: var(--green-deep);
  text-align: center;
  padding: 2rem var(--wrap-pad) 1.75rem;
}
.masthead::before {
  content: "";
  display: block;
  width: 60%;
  max-width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  margin: 0 auto 1.25rem;
}
.masthead::after {
  content: "";
  display: block;
  width: 60%;
  max-width: 300px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  margin: 1.25rem auto 0;
}
.masthead-logo {
  max-width: 300px;
  width: 86%;
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
  /* Render gold logo as white on navy: brightness(0) = all black, invert = all white */
  filter: brightness(0) invert(1);
}
.tagline {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  opacity: 0.85;
}

/* ================================================================
   ORNAMENTAL DIVIDER
   ================================================================ */
.divider-ornament {
  display: flex;
  align-items: center;
  padding: 0 2rem;
  margin: 0.25rem 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
}
.divider-ornament::before { background: linear-gradient(90deg, transparent, var(--border)); }
.divider-ornament::after  { background: linear-gradient(90deg, var(--border), transparent); }
.divider-ornament .diamond {
  padding: 0 1rem;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ================================================================
   EYEBROW & LEAD
   ================================================================ */
.eyebrow {
  font-family: var(--body-font);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 0.75rem;
}
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}
.lead.center { text-align: center; }

/* ================================================================
   EMPHASIS LINE
   ================================================================ */
.emphasis-line {
  font-family: var(--display-font);
  font-style: italic;
  font-size: clamp(1.25rem, 3.5vw, 1.6rem);
  color: var(--green-deep);
  font-weight: 500;
  text-align: center;
  margin: 1.75rem 0;
  padding: 0 0.5rem;
  line-height: 1.45;
}
.emphasis-line-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin: 1.75rem 0;
}
.emphasis-line-with-icon .emphasis-line {
  margin: 0;
}
.body-map-sm {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ================================================================
   HERO SECTION — Two-column with card on desktop
   ================================================================ */
.hero-section {
  padding: 3.5rem 0 3rem;
}
.hero-two-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}
.hero-text { flex: 1; }
.hero-card {
  flex-shrink: 0;
  align-self: center;
  background: var(--panel);
  border: 1px solid var(--gold-soft);
  padding: 1.75rem 1.5rem;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.hero-card::before {
  content: "◇";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--panel);
  padding: 0 0.5rem;
  color: var(--gold);
  font-size: 0.8rem;
  line-height: 1;
}
.hero-card-line {
  font-family: var(--display-font);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.35;
  display: block;
  margin-bottom: 0.25rem;
}
.hero-card-line:last-child { margin-bottom: 0; }
.hero-card-divider {
  width: 40px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0.6rem auto;
}

/* CTA frame below hero two-col */
.hero-frame {
  border: 1px solid var(--gold-soft);
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  text-align: center;
  background: var(--gold-pale);
}
.hero-frame::before {
  content: "◇";
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-pale);
  padding: 0 0.75rem;
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-wrap {
  text-align: center;
  margin: 2rem 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-deep);
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  min-height: 56px;
  min-width: 44px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  line-height: 1.3;
  text-align: center;
}
.btn:hover, .btn:focus-visible { background: var(--green-deep); outline: none; }
.btn:active { background: var(--navy-soft); }
.btn-sub {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  line-height: 1.55;
  margin-bottom: 0;
}
.btn-compliance {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  font-style: normal;
  margin-bottom: 0;
}

/* ================================================================
   TRUTH CARDS
   ================================================================ */
.truth-card {
  background: var(--panel);
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold-deep);
  padding: 1.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}
.truth-card--sage { border-left-color: var(--green); }
.truth-card p {
  font-family: var(--display-font);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--green-deep);
  line-height: 1.5;
  margin: 0;
}

/* ================================================================
   TESTIMONIALS — with portrait photo
   ================================================================ */
.testimonials-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}
.testimonials-heading p {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-family: var(--body-font);
  margin: 0;
}
.testimonial {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
}
.testimonial::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold), var(--gold-soft));
}
.testimonial-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: 2px solid var(--gold-soft);
  margin-top: 0.1rem;
}
.testimonial-body { flex: 1; min-width: 0; }
.testimonial-body p {
  font-style: italic;
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.attr {
  font-family: var(--body-font);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-style: normal;
  display: block;
  margin-bottom: 0;
}

/* ================================================================
   BODY MAP — featured + caption
   ================================================================ */
.body-map-featured {
  max-width: 340px;
  width: 80%;
  margin: 2rem auto 0;
  display: block;
}
.body-map-caption {
  text-align: center;
  font-family: var(--display-font);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-muted);
  line-height: 1.55;
  margin-top: 0.75rem;
}

/* ================================================================
   HOW IT WORKS — 3-step timeline
   ================================================================ */
.how-works-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
  position: relative;
}
.timeline-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
/* Vertical connecting line */
.timeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 48px;
  top: 100px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-soft), transparent);
}
.timeline-icon {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-icon img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.timeline-body { flex: 1; padding-top: 0.5rem; }
.timeline-step-num {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-family: var(--body-font);
  display: block;
  margin-bottom: 0.2rem;
}
.timeline-step-title {
  font-family: var(--display-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--green-deep);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  display: block;
}
.timeline-step-desc {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   ARTTEMIS SECTION — two-column
   ================================================================ */
.arttemis-two-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.arttemis-photo-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 198px;
  margin: 0;
}
.arttemis-photo {
  width: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}
.arttemis-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--panel-dark);
  border: 2px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arttemis-photo-placeholder span {
  font-family: var(--display-font);
  font-size: 3.5rem;
  color: var(--gold-soft);
  font-weight: 600;
  line-height: 1;
}
.arttemis-copy { flex: 1; }

/* ================================================================
   HOW IT WORKS — Interactive tabs
   ================================================================ */
.how-works-tabs {
  margin: 2rem 0;
}
.tabs-nav {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0;
}
.tab-btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-bottom: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: background 0.18s, color 0.18s;
}
.tab-btn:hover {
  background: var(--panel);
  color: var(--green-deep);
}
.tab-btn.active {
  background: var(--green-deep);
  color: var(--gold-soft);
  border-color: var(--green-deep);
}
.tab-panel {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border-soft);
}
.tab-panel.active {
  display: flex;
}
.tab-icon-box {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background: var(--gold-pale);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
.tab-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tab-body { flex: 1; }
.tab-body .timeline-step-num,
.tab-body .timeline-step-title,
.tab-body .timeline-step-desc { display: block; }

/* ================================================================
   BODY MAP ACCENT BOX — "The map exists" emphasis line
   ================================================================ */
.body-map-accent-box {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  background: var(--gold-pale);
  border: 1px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}
.body-map-accent-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ================================================================
   FLOW GRAPHIC — "What happens after"
   ================================================================ */
.flow-graphic {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 2rem 0 1.5rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--border-soft);
}
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem 0;
}
.flow-step-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.flow-step-text {
  flex: 1;
}
.flow-step-label {
  font-family: var(--display-font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-deep);
  display: block;
  line-height: 1.2;
}
.flow-step-sublabel {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.2;
  margin-top: 0.1rem;
  display: block;
}
.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0.1rem 0 0.1rem 15px;
  color: var(--gold);
  font-size: 1.1rem;
}

/* ================================================================
   SECTION HEADING ACCENT
   ================================================================ */
.section-prose h2 {
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
}
.section-prose h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--gold-deep);
  margin-top: 0.5rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--green-deep);
  color: var(--gold-soft);
  text-align: center;
  padding: 2.25rem var(--wrap-pad);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  line-height: 1.9;
  font-family: var(--body-font);
  border-top: 1px solid rgba(180,137,44,0.2);
}
footer .wrap { max-width: 100%; }
.footer-ornament { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }

/* ================================================================
   AUDIT SPA — Steps
   ================================================================ */
.step         { display: none; min-height: calc(100vh - 140px); }
.step.active  { display: block; }
.step-inner {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 2.5rem var(--wrap-pad) 3rem;
}

/* ---- Part header ---- */
.part-num {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-family: var(--body-font);
  margin-bottom: 0.5rem;
}
.part-title {
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 5.5vw, 2.3rem);
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.part-instruction {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ---- Progress bar ---- */
.progress-bar {
  height: 2px;
  background: var(--gold-soft);
  margin-bottom: 2.25rem;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--gold-deep);
  transition: width 0.4s ease;
}
.wheel-reveal-wrap {
  margin: 0 calc(-1 * var(--wrap-pad));
  width: calc(100% + 2 * var(--wrap-pad));
  height: 300px;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--cream);
}
.wheel-reveal-img {
  width: 100%;
  display: block;
}

/* ---- Checkbox list ---- */
.checkbox-list { list-style: none; margin-bottom: 2.5rem; }
.checkbox-item { margin-bottom: 0.5rem; }
.checkbox-item label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-soft);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.checkbox-item label:hover {
  background: var(--gold-pale);
  border-color: var(--gold-soft);
}
.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  position: relative;
  top: 3px;
  transition: background 0.12s, border-color 0.12s;
  border-radius: 0;
  flex-shrink: 0;
}
.checkbox-item input[type="checkbox"]:checked {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}
.checkbox-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.checkbox-item input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 2px;
}
.checkbox-item:has(input:checked) label {
  background: var(--gold-pale);
  border-color: var(--gold-soft);
  color: var(--green-deep);
}

/* ---- Opening ---- */
.opening-lede {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}

/* ---- Results form ---- */
.form-intro {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}
.form-group { margin-bottom: 1rem; }
.form-group input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--body-font);
  font-size: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--text);
  transition: border-color 0.15s;
  min-height: 44px;
  -webkit-appearance: none;
}
.form-group input:focus { outline: none; border-color: var(--gold-deep); background: #fff; }
.form-group input::placeholder { color: var(--text-muted); font-style: italic; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.form-error {
  color: #c0392b;
  font-size: 0.88rem;
  min-height: 1.2rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* ---- Reveal ---- */
.reveal-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.reveal-notice { margin-bottom: 2rem; }
.reveal-opener {
  font-family: var(--display-font);
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  line-height: 1.65;
  color: var(--green-deep);
  font-style: italic;
  border-left: 3px solid var(--gold-deep);
  padding: 1.1rem 1.5rem;
  background: var(--gold-pale);
  margin-bottom: 0;
}
.reveal-list { margin-bottom: 2.5rem; }
.reveal-section-group { margin-bottom: 1.75rem; }
.reveal-section-group h4 { margin-bottom: 0.5rem; }
.reveal-section-group ul { list-style: none; padding: 0; }
.reveal-section-group ul li {
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  border-left: 2px solid var(--gold-soft);
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 0.35rem;
  background: var(--panel);
}

.reveal-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}
.reveal-divider::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.reveal-divider::after {
  content: "◇";
  padding: 0 1rem;
  font-size: 0.9rem;
  color: var(--gold);
}
.reveal-divider-right {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.reveal-reframe p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.25rem;
}
.keep-line {
  font-family: var(--display-font);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* Masterclass teaser image — mobile crop, desktop wide */
.masterclass-teaser {
  margin: 2rem calc(-1 * var(--wrap-pad)) 0;
  height: 156px;
  overflow: hidden;
}
.masterclass-teaser-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}
.masterclass-bridge {
  padding: 1.25rem 0 0.25rem;
}
.masterclass-bridge p {
  font-size: 0.97rem;
  color: var(--text-soft);
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.workshop-invite {
  background: #0c1437;
  color: #fff;
  padding: 2.25rem 1.75rem;
  margin-top: 2.5rem;
  text-align: center;
}
.workshop-invite::before {
  content: "";
  display: block;
  width: 50%;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,217,180,0.4), transparent);
  margin: 0 auto 1.5rem;
}
.workshop-invite h3 {
  font-family: var(--display-font);
  color: var(--gold-soft);
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.workshop-invite p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.workshop-invite .btn {
  background: #c49a2e;
  color: #fff;
  width: 100%;
  max-width: 440px;
  font-size: 0.88rem;
  padding: 1.1rem 1.5rem;
}
.workshop-invite .btn:hover { background: var(--gold); }
.workshop-invite .btn-sub { color: rgba(255,255,255,0.5); margin-top: 0.6rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (min-width: 640px) {
  section { padding: 4rem 0; }
  section.section-prose { padding: 3.5rem 0; }
  .hero-section { padding: 4.5rem 0 3.5rem; }
  .step-inner { padding: 3.5rem var(--wrap-pad) 4rem; }
  .testimonial { flex-direction: row; align-items: flex-start; }
  .testimonial-photo { width: 84px; height: 84px; }
  .masthead-logo { max-width: 360px; }

  .arttemis-two-col {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .arttemis-photo-wrap {
    width: 180px;
    max-width: 180px;
    margin: 0;
    flex-shrink: 0;
  }

  .tab-panel {
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
  }

  .how-works-timeline {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }
  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding-bottom: 0;
    padding-right: 1rem;
  }
  .timeline-step:not(:last-child)::after {
    left: auto;
    right: 0;
    top: 48px;
    bottom: auto;
    width: 1rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-soft), transparent);
  }
  .timeline-icon { margin-bottom: 0.75rem; }
  .timeline-body { padding-top: 0; }

  .flow-graphic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
  }
  .flow-arrow { display: none; }
  .flow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .flow-step-icon {
    height: 135px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 24px;
    margin-top: 0;
  }
  .flow-step-icon img {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: top center;
  }
  /* Per-icon sizes — scaled to fit ~133px column, keeping relative proportions */
  .flow-step:nth-child(1) .flow-step-icon img { max-height: 130px; }
  .flow-step:nth-child(3) .flow-step-icon img { max-height: 70px; }
  .flow-step:nth-child(5) .flow-step-icon img { max-height: 100px; }
  .flow-step:nth-child(7) .flow-step-icon img { max-height: 118px; }
  .flow-step-text {
    text-align: center;
    padding: 0;
  }
  .flow-step-label { font-size: 0.95rem; }
  /* Arrows between columns via pseudo-element, centered on the icon row */
  .flow-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 65px;
    right: -1rem;
    font-size: 1.1rem;
    color: var(--gold-soft);
    line-height: 1;
    transform: translateX(50%);
  }

  /* Masterclass teaser — desktop: full-height, centered at ~600px */
  .masterclass-teaser {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 100vw);
    height: auto;
    overflow: visible;
    margin-top: 2.5rem;
    margin-left: 0;
    margin-right: 0;
  }
  .masterclass-teaser-img {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
  }
}
