/* Saha Synergy. Hand-written, no framework.
   Ground: cream. One accent: ember. Gold for fine rules and small labels.
   Sage is used for text accents only, never as a fill. */

:root {
  --cream: #FAF7F2;
  --cream-soft: #F5ECD8;
  --paper: #FFFDFA;
  --ember: #B0552E;
  --ember-deep: #9A4724;
  --ember-bright: #D2693E;
  --gold: #B5935A;
  --gold-soft: #D4B989;
  --gold-ink: #7D6230;
  --sage: #3D5E35;
  --ink: #1E1208;
  --ink-soft: #5A5048;
  --line: #E4D9C8;
  --line-strong: #CFC0A8;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 132px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--ember-deep); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

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

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow-left > * { max-width: 860px; }

/* ---------- type ---------- */

h1, h2, h3, .statement, .display-line, .pull, .hero-sub, .footer-statement, .lede-serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.03; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; text-wrap: balance; }
h3 { font-size: 1.6rem; line-height: 1.2; font-weight: 600; }
h4 {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-ink); margin: 28px 0 10px;
}
.h-medium { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.h-small { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.2; }

p { color: var(--ink-soft); }
p + p, p + ul, ul + p, p + .actions, ul + .actions { margin-top: 1.15em; }
h2 + p, h1 + p, h3 + p { margin-top: 0.9em; }

.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-ink); line-height: 1.4; margin-bottom: 22px;
}
.label::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.label-spaced { margin-top: 48px; }

.lede { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.62; color: var(--ink-soft); max-width: 40em; text-wrap: pretty; }
.lede-serif { font-size: clamp(1.5rem, 2.4vw, 2rem); font-style: italic; color: var(--sage); line-height: 1.25; }
.fine { font-size: 0.95rem; color: var(--ink-soft); }

.pull {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.3; font-style: italic; color: var(--sage);
  margin-top: 1.4em; max-width: 26em; text-wrap: balance;
}
.statement { font-size: clamp(1.9rem, 3.6vw, 3.1rem); line-height: 1.14; max-width: 24em; }
.display-line { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.06; font-style: italic; color: var(--sage); margin-bottom: 0.5em; }

/* ---------- buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  line-height: 1.3; padding: 17px 30px; min-height: 52px;
  background: var(--ember); color: var(--cream); border: 1px solid var(--ember);
  border-radius: 2px; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: var(--cream); }
.btn-small { padding: 12px 20px; min-height: 44px; font-size: 0.72rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-on-dark { background: var(--ember-bright); border-color: var(--ember-bright); color: var(--ink); }
.btn-on-dark:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.actions-spaced { margin-top: 56px; }

.link-quiet {
  font-size: 0.95rem; font-weight: 500; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.link-quiet:hover { color: var(--ember-deep); border-color: var(--ember); }

/* ---------- header ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--cream); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }

.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 46px; height: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-weight: 500; font-size: 1.38rem; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand-tag { font-size: 0.56rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-ink); margin-top: 7px; white-space: nowrap; }
.brand-on-dark { color: var(--cream); }
.brand-on-dark .brand-tag { color: var(--gold-soft); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; align-items: center; gap: 26px; }
.site-nav li a {
  font-size: 0.88rem; font-weight: 500; color: var(--ink); text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid transparent; white-space: nowrap; transition: border-color 0.2s ease, color 0.2s ease;
}
.site-nav li a:hover { border-color: var(--gold); }
.site-nav li a[aria-current="page"] { color: var(--ember-deep); border-color: var(--ember); }

.nav-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-strong);
  border-radius: 2px; padding: 10px 14px; min-height: 44px; font: inherit; font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); content: ""; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1139px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream);
    border-bottom: 1px solid var(--line-strong); padding: 12px var(--gutter) 32px;
    flex-direction: column; align-items: stretch; gap: 24px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { align-self: flex-start; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1.08rem; letter-spacing: 0.16em; }
  .brand-tag { font-size: 0.47rem; letter-spacing: 0.24em; }
  .brand-mark { width: 38px; }
  .brand { gap: 10px; }
  .header-row { min-height: 72px; gap: 12px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle { padding: 10px 12px; min-width: 44px; justify-content: center; }
}

/* ---------- sections and layout ---------- */

.section { padding-block: var(--section); }
.section-soft { background: var(--cream-soft); }
.section-ruled { border-top: 1px solid var(--line); }
.section-tight-top { padding-top: clamp(40px, 5vw, 64px); }

.hero { padding-block: clamp(48px, 7vw, 104px) var(--section); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero-text .lede { margin-top: 28px; max-width: 33em; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

.page-hero { padding-block: clamp(48px, 7vw, 100px) clamp(32px, 4vw, 56px); }
.page-hero h1 + .lede, .page-hero h1 + .lede-serif { margin-top: 24px; }
.hero-sub { font-size: clamp(1.7rem, 3vw, 2.6rem); font-style: italic; color: var(--sage); line-height: 1.15; margin-top: 18px; }
.hero-sub + .lede { margin-top: 22px; }
.wide-media { margin-top: clamp(36px, 5vw, 64px); }
.wide-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--gold);
  transform: translate(16px, 16px); pointer-events: none;
}
.framed-left::before { transform: translate(-16px, 16px); }
.framed picture { position: relative; }

.split { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-media img { width: 100%; object-fit: cover; }
.split-media-tall img { aspect-ratio: 4 / 5; object-position: 50% 35%; }

.columns-2 { display: grid; gap: clamp(28px, 5vw, 72px); }
.columns-2 > * { min-width: 0; }
.statement + .columns-2 { margin-top: clamp(36px, 5vw, 64px); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split-media-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split-even { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split-form { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .columns-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .columns-wide-gap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
@media (max-width: 899px) {
  .split-media-left .split-media { order: 0; }
  .hero-media { max-width: 520px; }
  .split-media-tall { max-width: 520px; }
  .framed::before { transform: translate(10px, 10px); }
  .framed-left::before { transform: translate(10px, 10px); }
  .framed { margin-right: 10px; }
}

/* lists */
.rule-list li {
  position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line-strong); color: var(--ink);
  line-height: 1.55;
}
.rule-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.rule-list li::before { content: ""; position: absolute; left: 2px; top: 1.62em; width: 14px; height: 1px; background: var(--ember); }
.rule-list-large li { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.3; padding-block: 20px; }
.rule-list-large li::before { top: 1.75em; }
.rule-list a { color: var(--ink); }

.bring { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.bring > div { padding: 20px 0; border-bottom: 1px solid var(--line-strong); display: grid; gap: 4px; }
.bring dt { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.bring dd { color: var(--ink-soft); }
@media (min-width: 640px) {
  .bring > div { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: baseline; }
}

.steps { counter-reset: step; margin-top: 36px; border-top: 1px solid var(--line-strong); }
.steps li { counter-increment: step; position: relative; padding: 28px 0 28px 76px; border-bottom: 1px solid var(--line-strong); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 18px; font-family: var(--serif); font-size: 3.4rem;
  font-weight: 500; line-height: 1; color: var(--ember);
}
.steps h3 { font-size: 1.55rem; }
.step-note {
  display: inline-block; font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold-ink); margin-left: 8px; vertical-align: middle; white-space: nowrap;
}
.steps + .fine { margin-top: 28px; }
@media (max-width: 480px) {
  .steps li { padding-left: 52px; }
  .steps li::before { font-size: 2.6rem; top: 24px; }
  .step-note { display: block; margin: 8px 0 0; }
}

/* testimonials */
.voices { display: grid; gap: 24px; margin-top: 44px; align-items: start; }
.voices img { width: 100%; border-radius: 10px; box-shadow: 0 1px 0 rgba(30, 18, 8, 0.08), 0 18px 40px -24px rgba(30, 18, 8, 0.45); }
@media (min-width: 900px) { .voices { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 899px) { .voices figure { max-width: 520px; } }
.after-voices { margin-top: 48px; }

/* gallery */
.boards { display: grid; gap: 28px; margin-top: clamp(40px, 5vw, 64px); align-items: start; }
.boards img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.moments { display: grid; gap: 32px; margin-top: 40px; align-items: start; }
.moment img, .moment video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--cream-soft); }
.moment figcaption { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); margin-top: 14px; line-height: 1.25; }
@media (min-width: 700px) {
  .boards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .moments { grid-template-columns: repeat(2, minmax(0, 340px)); gap: 40px; }
}

/* best friend productions */
.services { display: grid; gap: 0; margin-top: 44px; border-top: 1px solid var(--line-strong); }
.services article { padding: 32px 0; border-bottom: 1px solid var(--line-strong); }
.services h3 { color: var(--ink); }
@media (min-width: 900px) {
  .services { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 7vw, 104px); }
  .services article { padding: 40px 0; }
}

.band { display: grid; gap: 32px; align-items: center; }
.band .lede { margin-top: 16px; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1fr) auto; gap: 72px; } }
.band .btn { justify-self: start; }

.audiences { display: grid; gap: 0; margin-top: 48px; }
.audiences article { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.audiences h3 { color: var(--ember-deep); font-style: italic; font-weight: 500; font-size: 1.8rem; }
@media (min-width: 900px) {
  .audiences { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
}

.paths { display: grid; gap: 56px; margin-top: 48px; }
.path > p:first-of-type { margin-top: 12px; }
.path h3 { font-size: 2rem; font-weight: 500; }
@media (min-width: 900px) { .paths { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); } }
.included { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--gold); }
.included h3 { font-size: 2rem; font-weight: 500; }
.included-grid { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 900px) { .included-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* pricing */
.brand-cards { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.brand-card {
  position: relative; background: var(--paper); border: 1px solid var(--line-strong); border-top: 2px solid var(--gold);
  padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.brand-card:hover { border-top-color: var(--ember); }
.brand-card h3 { font-size: 1.65rem; font-weight: 500; }
.brand-card h3 a { color: var(--ink); text-decoration: none; }
.brand-card h3 a::after { content: ""; position: absolute; inset: 0; }
.brand-card h3 a:hover { color: var(--ember-deep); }
.brand-card p { flex: 1; }
.brand-card-url { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; color: var(--gold-ink); overflow-wrap: anywhere; }
@media (min-width: 640px) { .brand-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .brand-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* book */
.calendly-frame { border: 1px solid var(--line-strong); background: var(--paper); margin-top: 8px; }
.calendly-inline-widget { min-width: 280px; width: 100%; height: 760px; }
@media (max-width: 700px) { .calendly-inline-widget { height: 1040px; } }
.calendly-fallback { margin-top: 20px; }

/* forms */
.contact-line { font-family: var(--serif); font-size: 1.4rem; margin-top: 0.7em; }
.contact-line a { color: var(--ink); text-decoration-color: var(--gold); overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--ember-deep); }
.contact-line + .fine { margin-top: 28px; }
.split-form-body > h2 { margin-bottom: 28px; }

.enquiry-form, .quiz-details { display: grid; gap: 22px; }
.field-row { display: grid; gap: 22px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
label { font-size: 0.84rem; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.req { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 2px; padding: 14px 16px; min-height: 52px;
  transition: border-color 0.2s ease;
}
textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
input:hover, textarea:hover { border-color: var(--gold); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; border-color: var(--ember); }
[aria-invalid="true"] { border-color: var(--ember-deep) !important; }
.field-error { font-size: 0.88rem; color: var(--ember-deep); font-weight: 500; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-note { font-size: 0.86rem; max-width: 26em; margin: 0; }
.form-status { font-size: 1rem; font-weight: 500; color: var(--ink); }
.form-status:empty { display: none; }
.form-status.is-error, .form-status.is-success { padding: 16px 20px; border-left: 2px solid var(--ember); background: var(--paper); }
.form-status.is-success { border-left-color: var(--gold); }
.form-status a { color: var(--ember-deep); }
.notice { padding: 20px 24px; border-left: 2px solid var(--gold); background: var(--paper); }

/* quiz */
.quiz { max-width: 800px; }
.quiz-intro p { font-size: 1.12rem; }
.quiz-progress { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.quiz-progress-text { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); white-space: nowrap; }
.quiz-progress-track { flex: 1; height: 2px; background: var(--line-strong); position: relative; }
.quiz-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ember); transition: width 0.3s ease; }
.quiz-area { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz legend { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.15; padding: 0; margin-bottom: 28px; color: var(--ink); }
.quiz h2:focus, .quiz legend:focus { outline: none; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option { position: relative; display: block; }
.quiz-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.quiz-option span {
  display: block; padding: 18px 20px 18px 54px; border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 2px; font-size: 1.02rem; font-weight: 400; line-height: 1.5; color: var(--ink); position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.quiz-option span::before {
  content: ""; position: absolute; left: 20px; top: 21px; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--gold-ink); background: var(--cream);
}
.quiz-option input:hover + span { border-color: var(--gold); }
.quiz-option input:checked + span { border-color: var(--ember); background: var(--cream-soft); }
.quiz-option input:checked + span::before { border-color: var(--ember); box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 9px var(--ember); }
.quiz-option input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.quiz-hint { font-size: 0.92rem; color: var(--ember-deep); font-weight: 500; margin-top: 16px; min-height: 1.6em; }
.quiz-back { background: none; border: 0; font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--ink); cursor: pointer; padding: 12px 0; border-bottom: 1px solid var(--gold); min-height: 44px; }
.quiz-back[disabled] { visibility: hidden; }

.quiz-result h2 { margin-bottom: 8px; }
.quiz-bars { display: grid; gap: 22px; margin: 40px 0 44px; }
.quiz-bar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.quiz-bar-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.quiz-bar-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.quiz-bar-tag.is-strongest { color: var(--sage); }
.quiz-bar-tag.is-stretched { color: var(--ember-deep); }
.quiz-bar-track { height: 12px; background: var(--cream-soft); border: 1px solid var(--line-strong); position: relative; }
.quiz-bar-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold); min-width: 3px; }
.quiz-bar.is-stretched .quiz-bar-fill { background: var(--ember); }
.quiz-bar-score { font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; }
.quiz-summary { border-top: 1px solid var(--gold); padding-top: 32px; }
.quiz-summary h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; margin: 20px 0 6px; }
.quiz-strongest { color: var(--sage); font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.35; }
.quiz-closing { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-strong); }

/* prose */
.prose p { font-size: 1.1rem; color: var(--ink); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--cream); padding-block: clamp(64px, 8vw, 112px) 40px; }
.site-footer p { color: #D9CFC0; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer :focus-visible { outline-color: var(--gold-soft); }
.footer-lead { display: grid; gap: 36px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(212, 185, 137, 0.35); }
.footer-statement { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.14; color: var(--cream) !important; max-width: 20em; }
.footer-cta { display: grid; gap: 24px; align-content: start; justify-items: start; }
@media (min-width: 900px) { .footer-lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 88px; align-items: end; } }
.footer-grid { display: grid; gap: 40px; padding-block: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 56px; } }
.footer-company { margin-top: 20px; font-size: 0.95rem; }
.footer-heading {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 16px; line-height: 1.4;
}
.site-footer li { margin-bottom: 4px; }
.site-footer li a { display: inline-block; padding: 5px 0; font-size: 0.98rem; border-bottom: 1px solid transparent; overflow-wrap: anywhere; }
.site-footer li a:hover { border-color: var(--gold-soft); }
.footer-brands { padding-top: 32px; border-top: 1px solid rgba(212, 185, 137, 0.35); }
.footer-brands ul { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.footer-legal { margin-top: 36px; font-size: 0.84rem; color: #B8AC9B !important; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
