/* Aloftify — shared stylesheet
   Layout: single column, ivory ground, teal bands marking the turns in the argument */

:root {
  --teal: #123C39;
  --teal-deep: #0C2B29;
  --gold: #B08D57;
  --gold-light: #D9C08E;
  --ivory: #F6F4EF;
  --cream: #FBFAF7;
  --border: #E3DED2;
  --ink: #1C2421;
  --ink-soft: #5A6360;
  --on-dark: #EDE7DA;
  --on-dark-soft: #B4C2BE;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Libre Franklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  color-scheme: light;
}

* { 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(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.band { width: 100%; }
.band--ivory { background: var(--ivory); }
.band--cream { background: var(--cream); }
.band--teal { background: var(--teal); color: var(--on-dark); }

.inner {
  max-width: 1060px;
  margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
  padding-block: 86px;
}
.inner--narrow { max-width: 780px; }
.inner--tight { padding-block: 58px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.band--teal .eyebrow { color: var(--gold-light); }

/* ---------- masthead + nav ---------- */
.masthead {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 20;
}
.masthead .inner {
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--teal);
  line-height: 1;
  text-decoration: none;
}
.wordmark span { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px 26px;
  flex-wrap: wrap;
}
.nav a {
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav a:hover { color: var(--teal); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--gold); }
.nav .btn-sm {
  background: var(--teal);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav .btn-sm:hover { background: var(--teal-deep); color: var(--cream); border-bottom-color: transparent; }

/* ---------- hero ---------- */
.hero .inner { padding-block: 90px 76px; }
.hero h1 {
  font-size: clamp(34px, 5.8vw, 58px);
  line-height: 1.08;
  color: var(--teal);
  max-width: 20ch;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lede {
  font-size: clamp(18px, 2.1vw, 20.5px);
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 0 18px;
}
.hero-kicker {
  font-family: var(--display);
  font-size: clamp(19px, 2.2vw, 22px);
  font-style: italic;
  color: var(--teal);
  max-width: 48ch;
  margin: 0 0 36px;
}

/* page headers on interior pages */
.page-head .inner { padding-block: 72px 58px; }
.page-head h1 {
  font-size: clamp(31px, 4.6vw, 46px);
  line-height: 1.12;
  color: var(--teal);
  max-width: 24ch;
  margin-bottom: 20px;
}
.page-head p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}

/* ---------- buttons ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--cream);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 34px;
  border-radius: 2px;
  transition: background 180ms ease;
}
.btn:hover { background: var(--teal-deep); }
.btn--gold { background: var(--gold); color: #22180C; }
.btn--gold:hover { background: #9C7A47; }
.btn--ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: var(--ivory); }
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.cta-aside { font-size: 14.5px; color: var(--ink-soft); max-width: 30ch; }
.band--teal .cta-aside { color: var(--on-dark-soft); }

/* ---------- section headings ---------- */
.section-head { margin-bottom: 46px; max-width: 36ch; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.16;
  color: var(--teal);
}
.band--teal .section-head h2 { color: var(--on-dark); }
.section-head p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 16px 0 0;
  max-width: 52ch;
}
.band--teal .section-head p { color: var(--on-dark-soft); }

/* ---------- signal list ---------- */
.signals { list-style: none; margin: 0; padding: 0; max-width: 72ch; }
.signals li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 21px 0;
  border-top: 1px solid var(--border);
  line-height: 1.58;
}
.signals li:last-child { border-bottom: 1px solid var(--border); }
.tick {
  flex: 0 0 auto;
  width: 23px; height: 23px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}
.tick svg { width: 12px; height: 12px; display: block; }
.signals .text { min-width: 0; }

.verdict {
  margin-top: 44px;
  background: var(--teal);
  color: var(--on-dark);
  padding: 34px 36px;
  border-radius: 3px;
  max-width: 72ch;
}
.verdict p { margin: 0; font-size: 17.5px; line-height: 1.6; }
.verdict p + p { margin-top: 12px; font-size: 15.5px; color: var(--on-dark-soft); }
.verdict strong { color: var(--gold-light); font-weight: 500; }

/* ---------- three-up panes ---------- */
.triad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.pane {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 34px 30px;
  min-width: 0;
}
.pane--primary { background: var(--teal); border-color: var(--teal); }
.pane-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.pane--primary .pane-mark { background: var(--gold); }
.pane-mark svg { width: 21px; height: 21px; display: block; }
.pane h3 { font-size: 19.5px; line-height: 1.3; color: var(--teal); margin-bottom: 13px; }
.pane--primary h3 { color: var(--on-dark); }
.pane p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }
.pane--primary p { color: var(--on-dark-soft); }

/* ---------- services ---------- */
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 30px 48px;
  padding: 42px 0;
  border-top: 1px solid var(--border);
}
.service:last-of-type { border-bottom: 1px solid var(--border); }
.service-title h3 { font-size: 23px; line-height: 1.22; color: var(--teal); margin-bottom: 10px; }
.service-title .claim {
  font-family: var(--display);
  font-style: italic;
  font-size: 16.5px;
  color: var(--gold);
  margin: 0;
  max-width: 26ch;
}
.service-body p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.62; }
.service-body ul { list-style: none; margin: 0; padding: 0; }
.service-body li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-body li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- how we work ---------- */
.practice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 34px 40px;
}
.practice-item { min-width: 0; }
.practice-item h3 {
  font-size: 18px;
  color: var(--on-dark);
  margin-bottom: 9px;
  padding-top: 15px;
  border-top: 2px solid var(--gold);
}
.practice-item p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--on-dark-soft); }

/* light-band variant of the same pattern */
.band--ivory .practice-item h3,
.band--cream .practice-item h3 { color: var(--teal); }
.band--ivory .practice-item p,
.band--cream .practice-item p { color: var(--ink-soft); }

/* ---------- pull quote ---------- */
.quote { max-width: 62ch; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--display);
  font-size: clamp(21px, 2.8vw, 27px);
  line-height: 1.4;
  font-style: italic;
  color: var(--teal);
  margin: 0 0 22px;
}
.quote cite {
  font-family: var(--body);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- video testimonials ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px 30px;
}
.video-card { min-width: 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  background: var(--teal);
  border-radius: 3px;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
/* empty slot styling, until a real video is dropped in */
.video-frame--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed var(--gold);
  background: var(--ivory);
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
}
.video-frame--empty svg { width: 36px; height: 36px; }
.video-frame--empty span { font-size: 13.5px; letter-spacing: 0.04em; max-width: 30ch; }
.video-meta { margin-top: 16px; }
.video-meta h3 { font-size: 19px; color: var(--teal); margin-bottom: 4px; }
.video-meta .role {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.video-meta p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- written testimonial cards ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 30px 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
}
.testimonial .attrib {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}
.testimonial .avatar {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ivory);
  border: 1px solid var(--border);
}
.testimonial .avatar--initial {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 19px;
  color: var(--gold);
  background: var(--teal);
  border-color: var(--teal);
}
.testimonial .who { min-width: 0; }
.testimonial .who strong {
  display: block;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--teal);
}
.testimonial .who span { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- screenshot / image proof ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.proof {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--cream);
  padding: 14px;
  min-width: 0;
}
.proof img { border-radius: 2px; width: 100%; }
.proof figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.proof--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 190px;
  border: 1px dashed var(--gold);
  background: var(--ivory);
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  padding: 24px;
}
.proof--empty svg { width: 32px; height: 32px; }

/* ---------- results strip ---------- */
.results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px 36px;
}
.result { min-width: 0; }
.result .figure {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.result h3 { font-size: 16.5px; color: var(--on-dark); margin-bottom: 6px; }
.result p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--on-dark-soft); }

/* ---------- case notes ---------- */
.case {
  border-top: 1px solid var(--border);
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: 24px 48px;
}
.case:last-of-type { border-bottom: 1px solid var(--border); }
.case-who h3 { font-size: 20px; color: var(--teal); margin-bottom: 6px; }
.case-who .sector {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.case-what p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.62; }
.case-what p:last-child { margin-bottom: 0; }
.case-what .label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}

/* ---------- about ---------- */
.about-body { max-width: 66ch; }
.about-body p { font-size: 17.5px; line-height: 1.68; margin: 0 0 20px; }
.about-body p:last-child { margin-bottom: 0; }
.credentials { list-style: none; margin: 0; padding: 0; }
.credentials li {
  padding: 15px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: 6px 26px;
  font-size: 16px;
}
.credentials li:last-child { border-bottom: 1px solid var(--border); }
.credentials .when {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 4px;
}
.credentials .what strong { display: block; font-weight: 500; color: var(--teal); }
.credentials .what span { color: var(--ink-soft); font-size: 15px; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px 44px;
}
.contact-block { min-width: 0; }
.contact-block h3 {
  font-size: 18px;
  color: var(--teal);
  margin-bottom: 8px;
  padding-top: 15px;
  border-top: 2px solid var(--gold);
}
.contact-block p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.contact-block a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-block a:hover { color: var(--gold); }

/* ---------- closing band ---------- */
.closer { text-align: center; }
.closer h2 {
  font-size: clamp(27px, 3.9vw, 39px);
  line-height: 1.14;
  color: var(--on-dark);
  max-width: 25ch;
  margin: 0 auto 20px;
}
.closer p {
  font-size: 17.5px;
  color: var(--on-dark-soft);
  max-width: 50ch;
  margin: 0 auto 34px;
}
.closer .cta-row { justify-content: center; }
.contact-line { margin-top: 32px; font-size: 15px; color: var(--on-dark-soft); }
.contact-line a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--gold); }
.contact-line a:hover { color: var(--gold-light); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--border); background: var(--cream); }
footer .inner {
  padding-block: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px 30px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--teal); }

/* ---------- editor notes (delete the class to hide) ---------- */
.note {
  background: #FFF8E8;
  border: 1px solid var(--gold-light);
  border-radius: 3px;
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #6B5324;
  margin-bottom: 36px;
}
.note strong { color: #4E3C19; }
.note code {
  background: #F3E7CC;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 13px;
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .inner { padding-block: 58px; }
  .hero .inner { padding-block: 60px 50px; }
  .page-head .inner { padding-block: 50px 42px; }
  .masthead { position: static; }
  .masthead .inner { padding-block: 16px; }
  .nav { gap: 6px 18px; }
  .service, .case { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .credentials li { grid-template-columns: 1fr; gap: 4px; }
  .verdict { padding: 26px 24px; }
  .pane { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ===================== IMAGERY ===================== */

/* two-column hero with a photo alongside */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px 56px;
  align-items: center;
}
.hero-figure {
  position: relative;
  margin: 0;
  min-width: 0;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}
/* thin gold frame offset behind the photo */
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  z-index: -1;
}

/* portrait on the about page */
.portrait {
  float: right;
  width: 260px;
  max-width: 42%;
  margin: 4px 0 24px 32px;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}
.portrait figcaption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* full-width image band between sections */
.image-band {
  width: 100%;
  height: clamp(220px, 34vw, 380px);
  overflow: hidden;
  background: var(--teal);
}
.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* generic empty image placeholder, same language as the video slots */
.img-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px dashed var(--gold);
  border-radius: 3px;
  background: var(--ivory);
  color: var(--ink-soft);
  text-align: center;
  padding: 24px;
  font-size: 13.5px;
  line-height: 1.5;
}
.img-empty svg { width: 34px; height: 34px; }
.img-empty code {
  background: #EFE8D8;
  padding: 1px 5px;
  border-radius: 2px;
  font-size: 12.5px;
}
.img-empty--wide { aspect-ratio: 21 / 9; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { max-width: 420px; }
  .hero-figure::after { inset: 12px -12px -12px 12px; }
}
@media (max-width: 560px) {
  .portrait {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 0 26px;
  }
}

/* ===================== SCORECARD ===================== */

.score-intro { max-width: 60ch; }
.score-intro p { font-size: 17.5px; line-height: 1.66; margin: 0 0 18px; }

.quiz { max-width: 76ch; }
.quiz-progress {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.quiz-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 36px;
}
.quiz-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 260ms ease;
}

.q {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 28px;
  align-items: center;
}
.q:last-of-type { border-bottom: 1px solid var(--border); }
.q-text { min-width: 0; font-size: 16.5px; line-height: 1.55; }
.q-text small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.q-answers { display: flex; gap: 10px; flex-shrink: 0; }
.q-answers label {
  cursor: pointer;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink-soft);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
  user-select: none;
}
.q-answers input { position: absolute; opacity: 0; width: 0; height: 0; }
.q-answers label:hover { border-color: var(--gold); color: var(--teal); }
.q-answers input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--cream);
}
.q-answers input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.q-answers span {
  display: inline-block;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--cream);
  color: var(--ink-soft);
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.q-answers label:hover span { border-color: var(--gold); color: var(--teal); }

.quiz-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.quiz-hint { font-size: 14.5px; color: var(--ink-soft); }

/* result */
.result-card {
  background: var(--teal);
  color: var(--on-dark);
  border-radius: 3px;
  padding: 40px 38px;
  margin-top: 40px;
}
.result-score {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.result-score .num {
  font-family: var(--display);
  font-size: 58px;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.result-score .of { font-size: 15px; color: var(--on-dark-soft); letter-spacing: 0.08em; }
.result-card h3 {
  font-size: 25px;
  color: var(--on-dark);
  margin-bottom: 14px;
}
.result-card > p { font-size: 16.5px; line-height: 1.64; color: var(--on-dark-soft); margin: 0 0 14px; }
.result-card > p:last-of-type { margin-bottom: 0; }
.result-flags { list-style: none; margin: 24px 0 0; padding: 0; }
.result-flags li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--on-dark);
}
.result-flags li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.result-flags-label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 26px 0 0;
}

/* opt-in */
.optin {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  padding: 34px 32px;
  margin-top: 28px;
  max-width: 76ch;
}
.optin h3 { font-size: 21px; color: var(--teal); margin-bottom: 10px; }
.optin > p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 22px; max-width: 54ch; }
.optin-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.optin-form label { position: absolute; left: -9999px; }
.optin-form input[type="text"],
.optin-form input[type="email"] {
  flex: 1 1 190px;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: #FFFFFF;
  color: var(--ink);
}
.optin-form input::placeholder { color: #9AA3A0; }
.optin-form input:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.optin-form button {
  flex: 0 0 auto;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border: none;
  border-radius: 2px;
  background: var(--teal);
  color: var(--cream);
  cursor: pointer;
  transition: background 170ms ease;
}
.optin-form button:hover { background: var(--teal-deep); }
.optin-fine { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-soft); }
.optin-thanks {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--teal);
}

/* home-page teaser band */
.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 44px;
  align-items: center;
}
.teaser h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.18; color: var(--on-dark); margin-bottom: 12px; }
.teaser p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--on-dark-soft); max-width: 54ch; }

@media (max-width: 680px) {
  .q { grid-template-columns: 1fr; }
  .teaser { grid-template-columns: 1fr; }
  .result-card { padding: 30px 24px; }
  .optin { padding: 26px 22px; }
}

/* ===================== PRACTICE ICONS ===================== */
.practice-item { display: flex; flex-direction: column; }
.practice-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.practice-icon svg { width: 20px; height: 20px; display: block; }
.practice-item h3 { border-top: none; padding-top: 0; }
.band--ivory .practice-icon,
.band--cream .practice-icon { border-color: var(--gold); }

/* client face inside a case note */
.case-who .client {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.case-who .client img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.case-who .client span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* about page portrait, floated beside the story */
.about-body .portrait-img {
  float: right;
  width: 280px;
  max-width: 42%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
  margin: 4px 0 26px 34px;
}
.about-body .lead-line {
  font-family: var(--display);
  font-size: clamp(21px, 2.6vw, 26px);
  font-style: italic;
  color: var(--teal);
  margin: 26px 0;
}
@media (max-width: 620px) {
  .about-body .portrait-img {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 0 26px;
  }
}

/* ===================== CLIENT LOGO STRIP ===================== */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.logo-tile {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 3px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  min-width: 0;
}
.logo-tile img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* text wordmark tile, for clients whose logo file we don't have */
.logo-tile--text {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.25;
  color: var(--teal);
  text-align: center;
  letter-spacing: 0.01em;
}
.logo-tile--text small {
  display: block;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 7px;
}

/* single featured video testimonial */
.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 34px 44px;
  align-items: center;
}
.video-aside { min-width: 0; }
.video-aside .avatar--lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}
.video-aside h3 { font-size: 21px; color: var(--teal); margin-bottom: 4px; }
.video-aside .role {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.video-aside p { margin: 0; font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); }
@media (max-width: 760px) {
  .video-feature { grid-template-columns: 1fr; gap: 24px; }
}

/* two client faces on one case note */
.case-who .client--pair .faces { display: flex; flex-shrink: 0; }
.case-who .client--pair .faces img { margin: 0; }
.case-who .client--pair .faces img + img { margin-left: -14px; }

/* ===================== OFFER BLOCK ===================== */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}
.offer-main { min-width: 0; }
.offer-main h2 {
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.14;
  color: var(--teal);
  margin-bottom: 20px;
}
.offer-lede { font-size: 17px; line-height: 1.65; margin: 0 0 16px; }
.offer-label {
  font-size: 12.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 28px 0 12px;
}
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-list li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.offer-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 11px; height: 11px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.offer-side {
  background: var(--teal);
  color: var(--on-dark);
  border-radius: 3px;
  padding: 32px 30px;
  min-width: 0;
  position: sticky;
  top: 92px;
}
.offer-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(217, 192, 142, 0.3);
}
.offer-price .amount {
  font-family: var(--display);
  font-size: 52px;
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.offer-price .unit { font-size: 14px; color: var(--on-dark-soft); }
.offer-side p { font-size: 15px; line-height: 1.6; color: var(--on-dark-soft); margin: 0 0 22px; }
.offer-side .btn { display: block; text-align: center; }
.offer-fine { margin: 18px 0 0; font-size: 14px; }
.offer-fine a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid rgba(217,192,142,0.5); }
.offer-fine a:hover { color: var(--on-dark); }

.after-note {
  margin: 34px 0 0;
  padding: 20px 24px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  border-radius: 3px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  max-width: 76ch;
}

/* ===================== FIT ===================== */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 34px 48px;
}
.fit-col { min-width: 0; }
.fit-col h3 {
  font-size: 19px;
  color: var(--teal);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.fit-list { list-style: none; margin: 0; padding: 0; }
.fit-list li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink);
}
.fit-list li::before {
  position: absolute;
  left: 0; top: 9px;
  font-size: 15px;
  line-height: 1.58;
}
.fit-list--yes li::before { content: "\2713"; color: var(--teal); font-weight: 600; }
.fit-list--no li::before { content: "\2014"; color: var(--gold); }
.fit-note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; }
  .offer-side { position: static; }
}

/* ===================== HERO CARD ===================== */
.hero-card {
  background: var(--teal);
  color: var(--on-dark);
  border-radius: 3px;
  padding: 34px 32px;
  min-width: 0;
  align-self: center;
}
.hero-card-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 14px;
}
.hero-card h2 {
  font-size: 25px;
  line-height: 1.22;
  color: var(--on-dark);
  margin-bottom: 14px;
}
.hero-card > p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  margin: 0 0 20px;
}
.hero-card-list { list-style: none; margin: 0 0 26px; padding: 0; }
.hero-card-list li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14.5px;
  color: var(--on-dark);
  line-height: 1.5;
}
.hero-card-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 6px;
  color: var(--gold-light);
  font-size: 14px;
}
.hero-card .btn { display: block; text-align: center; }

/* ===================== MEET SECTION ===================== */
.meet {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 36px 52px;
  align-items: center;
}
.meet-figure { margin: 0; position: relative; min-width: 0; }
.meet-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 3px;
}
.meet-figure::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  z-index: -1;
}
.meet-body { min-width: 0; }
.meet-body h2 {
  font-size: clamp(27px, 3.4vw, 34px);
  color: var(--teal);
  margin-bottom: 18px;
}
.meet-body p { font-size: 16.5px; line-height: 1.66; margin: 0 0 16px; }
.meet-body p:last-of-type { margin-bottom: 0; }

@media (max-width: 860px) {
  .meet { grid-template-columns: 1fr; gap: 28px; }
  .meet-figure { max-width: 340px; }
  .meet-figure::after { inset: 10px -10px -10px 10px; }
}

/* ===================== HERO: TEXTURE + FIT ===================== */

/* A fine paper grain plus a soft warm wash from the upper right.
   Both sit under the content and are deliberately almost invisible. */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(105% 85% at 86% 8%, rgba(176, 141, 87, 0.10) 0%, rgba(176, 141, 87, 0) 58%),
    linear-gradient(180deg, #FFFDF9 0%, var(--cream) 62%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}
/* hairline at the foot of the hero, so it resolves into the logo strip */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(227,222,210,0) 0%, var(--border) 18%, var(--border) 82%, rgba(227,222,210,0) 100%);
}

/* Tighter so the whole opening fits on a laptop screen without scrolling. */
.hero .inner { padding-block: 54px 46px; }
.hero h1 {
  font-size: clamp(31px, 4.6vw, 50px);
  line-height: 1.06;
  margin-bottom: 20px;
  max-width: 18ch;
}
.hero-lede { font-size: clamp(17px, 1.8vw, 19px); margin-bottom: 14px; }
.hero-kicker { font-size: clamp(18px, 2vw, 20.5px); margin-bottom: 26px; }
.hero-grid { gap: 32px 48px; }
.hero-card { padding: 28px 26px; }
.hero-card h2 { font-size: 22px; margin-bottom: 11px; }
.hero-card > p { font-size: 15px; margin-bottom: 16px; }
.hero-card-list { margin-bottom: 22px; }
.hero-card-list li { padding: 4px 0 4px 24px; font-size: 14px; }
.hero-card .btn { padding: 15px 28px; }

/* Shorter laptop screens: compress a little further again. */
@media (min-width: 861px) and (max-height: 860px) {
  .hero .inner { padding-block: 40px 34px; }
  .hero h1 { font-size: clamp(30px, 3.9vw, 44px); margin-bottom: 16px; }
  .hero-lede { font-size: 17px; margin-bottom: 12px; }
  .hero-kicker { font-size: 18px; margin-bottom: 22px; }
  .hero-card { padding: 24px 24px; }
  .hero-card h2 { font-size: 20px; }
  .hero-card > p { font-size: 14.5px; margin-bottom: 14px; }
  .hero-card-list { margin-bottom: 18px; }
  .btn { padding: 14px 28px; }
}

/* ===================== LOGO MARQUEE ===================== */
.logo-marquee {
  position: relative;
  overflow: hidden;
  /* fade the logos out at both edges so they drift in and out */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logo-scroll 65s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }

.logo-track .logo-tile {
  flex: 0 0 auto;
  width: 190px;
  min-height: 96px;
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  /* the set is duplicated, so travelling half the track loops seamlessly */
  to   { transform: translateX(calc(-50% - 9px)); }
}

/* give the band a little more air above and below the belt */
.logo-marquee-band .inner { padding-block: 54px; }
.logo-marquee-band .eyebrow { margin-bottom: 26px; }

@media (max-width: 600px) {
  .logo-track .logo-tile { width: 150px; min-height: 84px; padding: 14px 16px; }
  .logo-track .logo-tile img { max-height: 46px; }
}

/* No motion: fall back to a scrollable row that sits still. */
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { overflow-x: auto; }
  .logo-track { animation: none; }
}

/* ===================== AVAILABILITY BAR ===================== */
.availability {
  background: var(--teal-deep);
  color: var(--on-dark);
  font-size: 14px;
  text-align: center;
}
.availability .inner {
  padding-block: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}
.availability .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7FBF9E;
  flex-shrink: 0;
}
.availability a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(217,192,142,0.45);
}
.availability a:hover { color: #fff; }

/* ===================== WORK SAMPLES ===================== */
.samples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px 26px;
}
.sample { min-width: 0; }
.sample-shot {
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  padding: 10px;
  overflow: hidden;
}
.sample-shot img { width: 100%; border-radius: 2px; display: block; }
.sample-shot--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--gold);
  background: var(--ivory);
  text-align: center;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  padding: 24px;
}
.sample-shot--empty svg { width: 30px; height: 30px; }
.sample-shot--empty code { background: #EFE8D8; padding: 1px 5px; border-radius: 2px; font-size: 12.5px; }
.sample-meta { margin-top: 15px; }
.sample-meta h3 { font-size: 18.5px; color: var(--teal); margin-bottom: 5px; }
.sample-meta .tool {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 9px;
}
.sample-meta p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ===================== TRUST ===================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px 40px;
}
.trust-item { min-width: 0; display: flex; flex-direction: column; }
.trust-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.trust-icon svg { width: 19px; height: 19px; display: block; }
.trust-item h3 { font-size: 17.5px; color: var(--teal); margin-bottom: 8px; }
.trust-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ===================== REFERRAL TIERS ===================== */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.tier {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tier--primary { background: var(--teal); border-color: var(--teal); }
.tier-amount {
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.tier--primary .tier-amount { color: var(--gold-light); }
.tier-when {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.tier--primary .tier-when { color: var(--on-dark-soft); border-bottom-color: rgba(217,192,142,0.3); }
.tier h3 { font-size: 19px; color: var(--teal); margin-bottom: 10px; }
.tier--primary h3 { color: var(--on-dark); }
.tier p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--ink-soft); }
.tier--primary p { color: var(--on-dark-soft); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px 36px;
  counter-reset: step;
}
.step-item { min-width: 0; }
.step-item .num {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--gold-light);
  display: block;
  margin-bottom: 10px;
}
.band--ivory .step-item .num, .band--cream .step-item .num { color: #E0D3B6; }
.step-item h3 { font-size: 17px; color: var(--teal); margin-bottom: 7px; }
.band--teal .step-item h3 { color: var(--on-dark); }
.step-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.band--teal .step-item p { color: var(--on-dark-soft); }
