/* =========================================================================
   UnaTribe — Meta Ads landing page
   Brand: UnaTribe Brand Guideline 2025 (El Messiri / Nunito Sans)
   ========================================================================= */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "El Messiri";
  src: url("../fonts/ElMessiri-Variable.woff2") format("woff2-variations"),
       url("../fonts/ElMessiri-Variable.ttf") format("truetype-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/NunitoSans-Variable.woff2") format("woff2-variations"),
       url("../fonts/NunitoSans-Variable.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/NunitoSans-Italic-Variable.woff2") format("woff2-variations"),
       url("../fonts/NunitoSans-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — straight from the guideline */
  --gold:        #E0BE5A;
  --gold-deep:   #D59F1E;
  --gold-warm:   #E8B648;
  --gold-pale:   #E0C767;
  --brown:       #5B4434;
  --forest:      #2A3026;
  --charcoal:    #2C2B29;
  --terracotta:  #A05B38;
  --sand:        #BFB8A6;

  /* Derived surfaces */
  --forest-deep: #222720;
  --forest-mid:  #262C22;
  --close:       #1E231C;
  --sand-warm:   #C7C1B0;
  --sand-paper:  #D4CFC1;

  /* Ink */
  --ink-dark:      #21251E;
  --ink-dark-soft: #3E4438;
  --ink-light:     #EDEAE0;
  --ink-light-dim: rgba(237, 234, 224, 0.72);
  --ink-light-faint: rgba(237, 234, 224, 0.5);

  --line-light: rgba(237, 234, 224, 0.14);
  --line-dark:  rgba(33, 37, 30, 0.16);

  /* Type Families */
  --font-display: "El Messiri", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Typography Scale Tokens (H1-H6, P) */
  --font-h1-family: "El Messiri", "Iowan Old Style", Georgia, serif;
  --font-h1-size: clamp(1.875rem, 8.4vw, 4rem);
  --font-h1-lh: 1.14;
  --font-h1-weight: 500;
  --font-h1-ls: normal;

  --font-h2-family: "El Messiri", "Iowan Old Style", Georgia, serif;
  --font-h2-size: clamp(1.85rem, 3.6vw, 2.875rem);
  --font-h2-lh: 1.18;
  --font-h2-weight: 500;
  --font-h2-ls: normal;

  --font-h3-family: "El Messiri", "Iowan Old Style", Georgia, serif;
  --font-h3-size: clamp(1.1875rem, 2vw, 1.5rem);
  --font-h3-lh: 1.25;
  --font-h3-weight: 500;
  --font-h3-ls: normal;

  --font-h4-family: "El Messiri", "Iowan Old Style", Georgia, serif;
  --font-h4-size: 1.0625rem;
  --font-h4-lh: 1.45;
  --font-h4-weight: 500;
  --font-h4-ls: normal;

  --font-h5-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h5-size: 0.875rem;
  --font-h5-lh: 1.4;
  --font-h5-weight: 700;
  --font-h5-ls: 0.14em;

  --font-h6-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h6-size: 0.75rem;
  --font-h6-lh: 1.4;
  --font-h6-weight: 700;
  --font-h6-ls: 0.2em;

  --font-p-family: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-p-size: 1.0625rem;
  --font-p-lh: 1.7;
  --font-p-weight: 350;
  --font-p-ls: normal;

  /* Button Tokens */
  --btn-bg: var(--gold);
  --btn-bg-hover: var(--gold-deep);
  --btn-text-color: #21251E;
  --btn-radius: 999px;
  --btn-pad-y: 1.05rem;
  --btn-pad-x: 2.25rem;
  --btn-font-size: 1rem;
  --btn-font-weight: 700;
  --btn-letter-spacing: 0.01em;
  --btn-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.7);

  /* Hero & Visuals */
  --hero-bg-image: url('/images/hero_visual.jpg');

  /* Spacing scale */
  --s-1: 0.5rem;
  --s-2: 0.75rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 2.75rem;
  --s-7: 3.5rem;
  --s-8: 5rem;
  --s-9: 7rem;
  --s-10: 9.5rem;

  --shell: 1280px;
  --shell-narrow: 760px;
  --radius: 4px;

  /* Vertical rhythm. Every section and every gap between groups inside one
     comes from this set — reach for a token, never a fresh clamp, or the page
     drifts back into nine values that are all nearly the same. */
  --section-pad:       clamp(5rem, 11vw, 9.5rem);      /* section to section */
  --section-pad-tight: clamp(3.75rem, 7.5vw, 6.5rem);  /* same background continues */
  --gap-head:          var(--s-4);                     /* heading to its lead */
  --gap-group:         clamp(2rem, 4.5vw, 2.75rem);    /* heading block to content */
  --gap-close:         clamp(2.75rem, 5.5vw, 3.5rem);  /* content to pull line or CTA */
  --gap-col:           clamp(2.5rem, 6vw, 4.5rem);     /* between columns */

  /* Page texture — fine film grain, drawn once as an inline SVG */
  --texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--forest);
  color: var(--ink-light);
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, .h1, .hero__title {
  margin: 0;
  font-family: var(--font-h1-family, var(--font-display));
  font-size: var(--font-h1-size, clamp(1.875rem, 8.4vw, 4rem));
  line-height: var(--font-h1-lh, 1.14);
  font-weight: var(--font-h1-weight, 500);
  letter-spacing: var(--font-h1-ls, normal);
}
h2, .h2, .section-head__title, #testimonialsTitle, #receiveTitle, #credibilityTitle, #howTitle, #faqTitle, #finalTitle {
  margin: 0;
  font-family: var(--font-h2-family, var(--font-display));
  font-size: var(--font-h2-size, clamp(1.85rem, 3.6vw, 2.875rem));
  line-height: var(--font-h2-lh, 1.18);
  font-weight: var(--font-h2-weight, 500);
  letter-spacing: var(--font-h2-ls, normal);
}
h3, .h3, .pattern__title {
  margin: 0;
  font-family: var(--font-h3-family, var(--font-display));
  font-size: var(--font-h3-size, clamp(1.1875rem, 2vw, 1.5rem));
  line-height: var(--font-h3-lh, 1.25);
  font-weight: var(--font-h3-weight, 500);
  letter-spacing: var(--font-h3-ls, normal);
}
h4, .h4, .step__title, .quote blockquote {
  margin: 0;
  font-family: var(--font-h4-family, var(--font-display));
  font-size: var(--font-h4-size, 1.0625rem);
  line-height: var(--font-h4-lh, 1.45);
  font-weight: var(--font-h4-weight, 500);
  letter-spacing: var(--font-h4-ls, normal);
}
h5, .h5, .credibility__kicker, .eyebrow {
  margin: 0;
  font-family: var(--font-h5-family, var(--font-body));
  font-size: var(--font-h5-size, 0.875rem);
  line-height: var(--font-h5-lh, 1.4);
  font-weight: var(--font-h5-weight, 700);
  letter-spacing: var(--font-h5-ls, 0.14em);
}
h6, .h6, .step__num, .quote figcaption b {
  margin: 0;
  font-family: var(--font-h6-family, var(--font-body));
  font-size: var(--font-h6-size, 0.75rem);
  line-height: var(--font-h6-lh, 1.4);
  font-weight: var(--font-h6-weight, 700);
  letter-spacing: var(--font-h6-ls, 0.05em);
}
p, .body, .lead, .faq__body p {
  margin: 0;
  font-family: var(--font-p-family, var(--font-body));
  font-size: var(--font-p-size, 1.0625rem);
  line-height: var(--font-p-lh, 1.7);
  font-weight: var(--font-p-weight, 350);
  letter-spacing: var(--font-p-ls, normal);
}
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Global textile cover overlay fixed to the left edge — sits above every surface */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/assets/img/hero-bg.png');
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
  opacity: 0.40;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 3;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Visually hidden but still in the accessibility tree — unlike [hidden] or
   display:none, which most browsers drop from it, breaking aria-labelledby. */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--forest);
  padding: 0.75rem 1.25rem; font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

:where(a, button, summary, [role="radio"]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.shell--narrow { max-width: var(--shell-narrow); }

.section {
  position: relative;
  padding-block: var(--section-pad);
  z-index: 1;
}
/* A section continuing on the same background needs less air above it than one
   that arrives on a new colour — but not none, or its heading crowds whatever
   ended the section before. */
.section--tight { padding-top: var(--section-pad-tight); }

.section--sand {
  background: var(--sand);
  color: var(--ink-dark);
}

.section--forest {
  background: var(--forest-mid);
  color: var(--ink-light);
}
/* A soft light source keeps the dark fields from reading as flat fill */
.section--forest::before,
.section--close::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(224, 190, 90, 0.055), transparent 62%);
  pointer-events: none;
}
.section--close {
  background: var(--close);
  color: var(--ink-light);
  text-align: center;
}
.section--sand::after {
  /* subtle woven paper cast on the light fields */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(255, 255, 255, 0.42), transparent 60%),
    radial-gradient(80% 70% at 50% 115%, rgba(91, 68, 52, 0.12), transparent 65%);
  pointer-events: none;
}
/* Where sand meets sand there is no edge to light, and two stacked casts read
   as a seam across the page. The lower section keeps only its foot shadow. */
.section--sand + .section--sand::after {
  background: radial-gradient(80% 70% at 50% 115%, rgba(91, 68, 52, 0.12), transparent 65%);
}
.section > .shell { position: relative; z-index: 2; }

/* ---------- Brand lockup ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  text-decoration: none;
  line-height: 1;
}
.brand__mark {
  display: block;
  flex: none;
  /* the material lift: the mark sits *on* the surface rather than in it */
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.5)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
}
.brand__mark svg,
.brand__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand__word {
  font-family: var(--font-display, "El Messiri", serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  /* Authentic solid gold embroidery texture */
  background-image:
    linear-gradient(180deg, rgba(255, 242, 205, 0.16) 0%, rgba(0, 0, 0, 0.12) 100%),
    url('/assets/img/gold-embroidery.jpg');
  background-size: 100% 100%, 75px 75px;
  background-blend-mode: overlay, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 1px 0 rgba(255, 240, 195, 0.25))
          drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.85));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.brand--lg .brand__mark { width: clamp(62px, 7vw, 86px); height: clamp(62px, 7vw, 86px); }
.brand--lg { flex-direction: column; gap: 0.55rem; }
.brand--lg .brand__word { font-size: clamp(1.4375rem, 2.6vw, 1.9375rem); }
.brand--sm .brand__mark { width: 34px; height: 34px; }
.brand--sm .brand__word { font-size: 1.3125rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: var(--btn-pad-y, 1.05rem) var(--btn-pad-x, 2.25rem);
  border: 0;
  border-radius: var(--btn-radius, 999px);
  font-family: var(--font-body);
  font-weight: var(--btn-font-weight, 700);
  font-size: var(--btn-font-size, 1rem);
  letter-spacing: var(--btn-letter-spacing, 0.01em);
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease, background-color 0.3s ease;
}
.btn--gold {
  color: #161A13;
  background-color: #D2A43B;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.06) 45%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, #DFB956 0%, #C9972E 50%, #B88522 100%);
  border: 1px solid rgba(255, 240, 195, 0.45);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(115, 78, 14, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.22),
    0 12px 28px -8px rgba(20, 26, 18, 0.45);
  text-shadow: 0 1px 0 rgba(255, 248, 220, 0.4);
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -2px 0 rgba(115, 78, 14, 0.45),
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 16px 36px -8px rgba(20, 26, 18, 0.55),
    0 0 25px rgba(224, 190, 90, 0.35);
}
.btn--gold:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn--ghost {
  color: var(--ink-light);
  background: transparent;
  border-radius: var(--btn-radius, 999px);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.btn--lg { padding: calc(var(--btn-pad-y, 1.05rem) * 1.15) calc(var(--btn-pad-x, 2.25rem) * 1.2); font-size: calc(var(--btn-font-size, 1rem) * 1.0625); }
.btn--sm { padding: calc(var(--btn-pad-y, 1.05rem) * 0.65) calc(var(--btn-pad-x, 2.25rem) * 0.6); font-size: calc(var(--btn-font-size, 1rem) * 0.875); }

.link-btn {
  background: none; border: 0; padding: 0.35rem 0;
  font-size: 0.875rem; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; opacity: 0.7;
}
.link-btn:hover { opacity: 1; }

/* ---------- Sticky header ---------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 50;
  padding-block: 0.85rem;
  transition: padding-block 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.5s ease,
              box-shadow 0.5s ease,
              backdrop-filter 0.5s ease;
}
.site-header .brand__mark {
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header .brand__word {
  transition: font-size 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              letter-spacing 0.55s ease;
}
.site-header .site-header__cta {
  transition: opacity 0.45s ease 0.08s,
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.45s ease;
}

.site-header.is-stuck {
  background: rgba(30, 35, 28, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

/* Desktop-only: 2x+ header at initial top scroll, shrinks on scroll */
@media (min-width: 900px) {
  .site-header {
    padding-block: 2.25rem;
  }
  .site-header .brand--sm .brand__mark {
    width: 86px;
    height: 86px;
  }
  .site-header .brand--sm .brand__word {
    font-size: 2.85rem;
    letter-spacing: -0.025em;
  }
  /* CTA is hidden on initial top screen */
  .site-header .site-header__cta {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-6px) scale(0.95);
  }

  /* Scrolled state on Desktop: smoothly appears */
  .site-header.is-stuck {
    padding-block: 0.75rem;
  }
  .site-header.is-stuck .brand--sm .brand__mark {
    width: 34px;
    height: 34px;
  }
  .site-header.is-stuck .brand--sm .brand__word {
    font-size: 1.3125rem;
    letter-spacing: -0.015em;
  }
  .site-header.is-stuck .site-header__cta {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0) scale(1);
    padding: calc(var(--btn-pad-y, 1.05rem) * 0.65) calc(var(--btn-pad-x, 2.25rem) * 0.6);
    font-size: 0.875rem;
  }
}

/* Mobile & Tablet below 860px (untouched) */
@media (max-width: 860px) {
  .site-header__cta { display: none; }
}
@media (max-width: 640px) {
  .site-header { padding-block: 0.6rem; }
  .brand--sm .brand__mark { width: 30px; height: 30px; }
  .brand--sm .brand__word { font-size: 1.1875rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(115% 78% at 50% 8%, #333A2E 0%, rgba(51, 58, 46, 0) 58%),
    radial-gradient(100% 60% at 50% 108%, rgba(20, 24, 18, 0.85), rgba(20, 24, 18, 0) 62%),
    var(--forest);
  padding-block: 5.5rem 3.5rem;
}
/* Full-height hero only where the two columns actually sit side by side.
   On a phone the artifact is meant to run past the fold, not be squeezed
   into it. */
@media (min-width: 900px) {
  .hero {
    min-height: 100svh;
    padding-block: clamp(8.5rem, 18vh, 12rem) clamp(4rem, 9vh, 6rem);
  }
}
/* Oversized mark, barely there — the "material" the page is printed on */
.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(118vh, 132vw);
  aspect-ratio: 1;
  transform: translate(-50%, -44%);
  opacity: 0.028;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 35%, transparent 78%);
}
.hero__watermark svg,
.hero__watermark img { width: 100%; height: 100%; object-fit: contain; }

/* Mobile first: one column, message before artifact. On a 375x667 screen the
   eyebrow, headline, lead and button all sit above the fold, and the phone
   artifact starts peeking in — which is what invites the scroll. */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.25rem, 6vw, 4rem);
  align-items: center;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(0.9rem, 2.6vh, 1.6rem);
}
.hero__title {
  max-width: 17ch;
  font-family: "El Messiri", serif;
  font-size: clamp(2rem, 6.2vw, 64px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-wrap: balance;

  /* Solid continuous gold embroidery texture sampled from the original slide */
  background-image:
    linear-gradient(180deg, rgba(255, 242, 205, 0.16) 0%, rgba(0, 0, 0, 0.12) 100%),
    url('/assets/img/gold-embroidery.jpg');
  background-size: 100% 100%, 120px 120px;
  background-blend-mode: overlay, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;

  /* Clean tactile embossed bevel */
  filter: drop-shadow(0 1px 0 rgba(255, 240, 195, 0.25))
          drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.85));

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.hero__title em,
.physical-level,
.embroidery-text {
  font-style: normal;
  font-family: "El Messiri", serif;
  font-weight: 400;
  letter-spacing: -0.025em;

  background-image:
    linear-gradient(180deg, rgba(255, 242, 205, 0.16) 0%, rgba(0, 0, 0, 0.12) 100%),
    url('/assets/img/gold-embroidery.jpg');
  background-size: 100% 100%, 120px 120px;
  background-blend-mode: overlay, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;

  filter: drop-shadow(0 1px 0 rgba(255, 240, 195, 0.25))
          drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.85));
}
.hero__lead {
  max-width: 42ch;
  font-size: clamp(0.9375rem, 3.9vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-light-dim);
  text-wrap: pretty;
}
.hero__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: clamp(0.25rem, 1.5vh, 0.75rem);
}
.hero__action .microcopy { max-width: 34ch; }

/* The artifact, and a soft gold halo so it reads as lit rather than pasted on */
.hero__visual {
  position: relative;
  display: grid;
  justify-items: center;
}
.hero__halo {
  position: absolute;
  inset: -12% -6%;
  background: radial-gradient(closest-side, rgba(224, 190, 90, 0.22), transparent 72%);
  pointer-events: none;
}
.hero__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero__img {
  width: min(340px, 78vw);
  max-height: 480px;
  object-fit: cover;
  border-radius: 24px;
  border: 1.5px solid rgba(224, 190, 90, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(224, 190, 90, 0.18);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero__img:hover {
  transform: none;
  border-color: rgba(224, 190, 90, 0.65);
  box-shadow:
    0 0 0 1.5px rgba(224, 190, 90, 0.65),
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 55px rgba(224, 190, 90, 0.35);
}
.receive__img {
  width: min(360px, 80vw);
  max-height: 520px;
  object-fit: cover;
  border-radius: 24px;
  border: 1.5px solid rgba(224, 190, 90, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(224, 190, 90, 0.15);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.receive__img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 1.5px rgba(224, 190, 90, 0.55),
    0 32px 75px -15px rgba(0, 0, 0, 0.95),
    0 0 50px rgba(224, 190, 90, 0.25);
}
/* On the sand section the phone separates by itself. Against the dark hero it
   needs its own edge and a lighter screen, or it sinks into the background. */
.hero__visual .phone {
  position: relative;
  width: min(300px, 74vw);
  background: linear-gradient(160deg, #4A5142, #2F362B 55%, #1C201A);
  box-shadow:
    inset 0 0 0 1px rgba(224, 190, 90, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 70px -30px rgba(0, 0, 0, 0.9);
}
.hero__visual .phone__screen { background: linear-gradient(170deg, #38402F, #272D22); }

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .hero__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .hero__card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero__img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 28px;
  }
  .hero__visual .phone {
    width: min(330px, 32vw);
    height: 100%;
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
  }
  .hero__action {
    align-items: center;
    text-align: center;
  }
  .hero__title {
    font-size: clamp(2.25rem, 3.8vw, 60px);
    max-width: 18ch;
    line-height: 1.05;
  }
  .hero__lead {
    max-width: 44ch;
    margin-inline: auto;
  }
  .hero__action .microcopy {
    max-width: none;
    text-align: center;
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.75rem, 4vh, 2.75rem);
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  width: 1px;
  height: clamp(38px, 6vh, 58px);
  overflow: hidden;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(224, 190, 90, 0.75));
  animation: scrollCue 2.6s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { transform: translateY(-100%); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* ---------- Shared typography ---------- */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--gap-head);
}
.section--sand .eyebrow { color: var(--brown); }
.eyebrow--whisper {
  margin: 0;
  font-size: clamp(0.625rem, 1.1vw, 0.6875rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(191, 184, 166, 0.5);
}

.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.875rem);
  letter-spacing: -0.012em;
  text-wrap: balance;
  max-width: 20ch;
}
.h2--sm { font-size: clamp(1.5rem, 2.4vw, 1.9375rem); }
.h2--center { max-width: none; text-align: center; margin-inline: auto; }
.h2--display {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.lead {
  margin-top: var(--gap-head);
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 300;
  opacity: 0.9;
  text-wrap: pretty;
}
.section--close .lead { margin-inline: auto; }
.body { margin-top: var(--gap-head); max-width: 62ch; opacity: 0.86; }
.note { margin-top: var(--gap-head); max-width: 62ch; font-size: 0.9375rem; opacity: 0.66; }

.pull {
  margin-top: var(--gap-close);
  max-width: 46ch;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--gold);
  text-wrap: pretty;
}
.section--sand .pull { color: var(--brown); }
.pull--quiet {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.7;
  color: inherit;
}
.section--sand .pull--quiet { color: var(--ink-dark); }

.microcopy {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  opacity: 0.6;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  margin-top: var(--gap-close);
}

/* ---------- Block 3 — assessment on-ramp ---------- */
.section--quiz { scroll-margin-top: 4.5rem; }
/* The CTA scrolls to the card, not the section, so the section's own top
   padding does not push the question off a short screen. */
.quiz { scroll-margin-top: 5.5rem; }

/* Atmospheric Fullscreen Step Photo Background */
.quiz__backdrop {
  position: fixed;
  inset: 0;
  background-color: var(--forest);
  background-image: 
    radial-gradient(ellipse at center, rgba(30, 36, 28, 0.72) 0%, rgba(18, 22, 17, 0.94) 100%),
    url('/assets/img/quiz/step-01.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

/* assessment.html — centered floating card over atmospheric photo background */
.section--assessment {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-y: auto;
  padding-block: clamp(2rem, 5vw, 4rem);
}
.section--assessment .shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

.quiz {
  max-width: 850px;
  margin-inline: auto;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-radius: 20px;
  border: 1.5px solid rgba(224, 190, 90, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset,
    0 12px 28px -6px rgba(26, 31, 23, 0.18),
    0 35px 75px -15px rgba(20, 25, 18, 0.52),
    0 0 50px rgba(224, 190, 90, 0.18);
  padding: clamp(2.25rem, 5vw, 4.25rem);
}

/* One segment for all 15 questions — width set inline by main.js as step/15. */
.quiz__progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(33, 37, 30, 0.12);
  overflow: hidden;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.quiz__progress-bar {
  display: block;
  height: 100%;
  width: 6.666%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quiz__stage[data-quiz-question] {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3.5vw, 2.25rem);
}
.quiz__panel { min-width: 0; width: 100%; }

/* The in-card photo column is hidden; photo is now full background */
.quiz__visual {
  display: none !important;
}

.quiz__prompt {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-dark);
  margin-bottom: var(--s-2);
}
.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.quiz__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42, 48, 38, 0.08);
  border: 1px solid rgba(224, 190, 90, 0.4);
  color: var(--ink-dark);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  line-height: 1;
}
.quiz__back-btn:hover {
  background: rgba(224, 190, 90, 0.22);
  border-color: var(--gold-deep);
  color: #121610;
  transform: translateX(-3px);
}
.quiz__back-btn svg {
  transition: transform 0.22s ease;
}
.quiz__back-btn:hover svg {
  transform: translateX(-2px);
}
.quiz__counter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0.85;
}
.quiz__counter-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(213, 159, 30, 0.25);
}
.quiz__field { margin: var(--s-4) 0 0; padding: 0; border: 0; }
.quiz__question {
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-dark);
  max-width: 46ch;
}
.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: calc(var(--s-4) * 1.15);
}
@media (min-width: 700px) { .quiz__options { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.quiz__option {
  padding: 1.15rem 0.75rem;
  text-wrap: balance;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(33, 37, 30, 0.16);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-dark);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.quiz__option:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.quiz__option[aria-checked="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(224, 190, 90, 0.65), 0 4px 12px rgba(0, 0, 0, 0.2);
}
.quiz__hint {
  margin-top: calc(var(--s-4) * 1.15);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-dark-soft);
  opacity: 0.9;
}

.quiz__stage--saved { text-align: center; display: grid; justify-items: center; gap: 0.75rem; }
.quiz__saved-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--forest);
  background: linear-gradient(135deg, #E8B648, #D59F1E);
  box-shadow: inset 0 1px 0 rgba(255, 249, 226, 0.6);
}
.quiz__saved-mark svg { width: 24px; height: 24px; }
.quiz__saved-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--ink-dark);
}
.quiz__saved-text { max-width: 34ch; color: var(--ink-dark-soft); }
.quiz__safety-note {
  max-width: 40ch;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-dark-soft);
  background: rgba(160, 91, 56, 0.1);
  border: 1px solid rgba(160, 91, 56, 0.28);
  border-radius: 6px;
  padding: 0.85rem 1rem;
}
.quiz__safety-note a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 2px; }
.quiz__stage--saved .btn { margin-top: 0.5rem; }
.quiz__stage--saved .microcopy { color: var(--ink-dark); }
.quiz__stage--saved .link-btn { color: var(--ink-dark); }

/* ---------- Assessment Result Card High-Contrast Typography ---------- */
.quiz__stage--result {
  color: var(--ink-dark, #21251E);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.quiz__stage--result .result-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.quiz__stage--result .result-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(224, 190, 90, 0.25);
  border: 1px solid var(--gold-deep, #D59F1E);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #433022;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quiz__stage--result .result-title {
  font-family: var(--font-display, "El Messiri", Georgia, serif);
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1A2016 !important;
  margin: 0 0 6px;
}

.quiz__stage--result .result-subtitle {
  font-size: 0.95rem;
  color: #444E40 !important;
  line-height: 1.5;
  margin: 0;
}

.quiz__stage--result .result-primary-card {
  background: #FFFFFF;
  border: 1.5px solid var(--gold, #E0BE5A);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.quiz__stage--result .result-primary-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5B4434;
  margin-bottom: 6px;
}

.quiz__stage--result .result-primary-title {
  font-family: var(--font-display, "El Messiri", Georgia, serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #1A2016 !important;
  margin: 0 0 8px;
}

.quiz__stage--result .result-primary-level {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #433022;
  background: rgba(224, 190, 90, 0.3);
  border: 1px solid rgba(213, 159, 30, 0.45);
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.quiz__stage--result .result-primary-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #2B3327 !important;
  margin: 0;
}

.quiz__stage--result .result-pattern-item {
  background: #FFFFFF;
  border: 1px solid rgba(224, 190, 90, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.quiz__stage--result .result-pattern-name {
  font-size: 1rem;
  font-weight: 700;
  color: #1A2016 !important;
  display: block;
  margin-bottom: 2px;
}

.quiz__stage--result .result-pattern-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555E50 !important;
}

.quiz__stage--result .result-pattern-score {
  font-size: 0.95rem;
  font-weight: 800;
  color: #433022;
  background: rgba(224, 190, 90, 0.3);
  border: 1px solid rgba(213, 159, 30, 0.4);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.quiz__stage--result .result-stab-card {
  background: #FAF7F0;
  border: 1px solid rgba(213, 159, 30, 0.35);
  border-left: 5px solid var(--gold-deep, #D59F1E);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.quiz__stage--result .result-stab-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #433022;
  margin-bottom: 6px;
}

.quiz__stage--result .result-stab-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2B3327 !important;
  margin: 0;
}

.quiz__stage--result .result-route-card {
  background: var(--forest, #2A3026);
  color: #F0E7CF;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.quiz__stage--result .result-route-card h4 {
  font-family: var(--font-display, "El Messiri", Georgia, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFFFFF !important;
  margin: 0 0 10px;
}

.quiz__stage--result .result-route-card p {
  font-size: 0.9rem;
  color: #E8E2D2 !important;
  line-height: 1.55;
}

/* ---------- Block 4 — Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 3vw, 3rem);
  max-width: 1050px;
  margin: calc(var(--gap-group) * 1.25) auto 0;
}
@media (min-width: 860px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  color: var(--ink-dark);
}
.trust__icon {
  width: 32px;
  height: 32px;
  color: var(--brown);
  opacity: 0.9;
  margin-bottom: 0.2rem;
}
.trust__item b {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-dark);
  text-align: center;
}
.trust__item span {
  font-size: 0.9375rem;
  opacity: 0.85;
  line-height: 1.5;
  color: var(--ink-dark-soft);
  text-align: center;
  max-width: 24ch;
}

.proof-line {
  max-width: 960px;
  margin-inline: auto;
  margin-top: calc(var(--gap-group) * 1.1);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: center;
  color: var(--ink-dark);
  opacity: 0.85;
}

/* ---------- Block 5 — Recognition ---------- */
.statements { margin-top: var(--gap-group); display: grid; gap: 0; max-width: 58ch; }
.statements li {
  position: relative;
  padding: 1.05rem 0 1.05rem 1.9rem;
  border-bottom: 1px solid var(--line-light);
  font-weight: 300;
  opacity: 0.92;
  text-wrap: pretty;
}
.statements li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.75rem;
  width: 9px; height: 1px;
  background: var(--gold);
  opacity: 0.85;
}
.statements li:first-child { border-top: 1px solid var(--line-light); }
.statements--sm li { font-size: 0.9375rem; padding-block: 0.85rem; }
.section--sand .statements li { border-color: var(--line-dark); }
.section--sand .statements li::before { background: var(--brown); }

.statements--center {
  margin: var(--gap-group) auto 0;
  display: grid;
  gap: 0;
  width: 100%;
  max-width: 60ch;
}
.statements--center li {
  position: relative;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--line-light);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0.95;
  text-align: center;
}
.statements--center li::before {
  display: none;
}
.statements--center li:first-child { border-top: 1px solid var(--line-light); }
.statements--center.statements--sm li { font-size: 1rem; padding-block: 1.05rem; }

/* ---------- Block 7 — What you receive ---------- */
.receive__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.25rem, 6vw, 4rem);
  align-items: center;
}
.receive__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.6vh, 1.6rem);
}
.receive__lead {
  max-width: 44ch;
  font-size: clamp(0.9375rem, 3.9vw, 1.1875rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dark);
  opacity: 0.9;
  text-wrap: pretty;
  margin-inline: auto;
}
.receive__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.receive__halo {
  position: absolute;
  inset: -12% -6%;
  background: radial-gradient(closest-side, rgba(224, 190, 90, 0.22), transparent 72%);
  pointer-events: none;
}
.receive__card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 25px 60px -15px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(224, 190, 90, 0.16);
  line-height: 0;
}
.receive__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(340px, 85vw);
  max-height: 480px;
  border-radius: 20px;
  border: 1.5px solid rgba(224, 190, 90, 0.4);
  transform: none !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.receive__img:hover {
  transform: none !important;
  border-color: rgba(224, 190, 90, 0.75);
  box-shadow: 0 0 30px rgba(224, 190, 90, 0.25);
}

@media (min-width: 900px) {
  .receive__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .receive__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100%;
  }
  .receive__copy .eyebrow {
    text-align: center;
  }
  .receive__copy .h2 {
    text-align: center;
    max-width: 24ch;
    font-size: clamp(1.45rem, 2.3vw, 1.95rem);
    line-height: 1.28;
    margin-inline: auto;
  }
  .receive__copy .lead,
  .receive__copy .receive__lead {
    text-align: center;
    max-width: 44ch;
    margin-inline: auto;
  }
  .receive__copy .ticks {
    margin-block: 16px;
  }
  .receive__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
  }
  .receive__card {
    display: inline-flex;
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 24px;
  }
  .receive__img {
    width: auto;
    height: auto;
    max-width: 560px;
    max-height: 630px;
    border-radius: 24px;
  }
}

.ticks {
  margin-block: 16px;
  display: grid;
  gap: 16px;
  max-width: 46ch;
  margin-inline: auto;
  text-align: left;
}
.ticks li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.ticks--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-block: 16px;
  gap: 16px;
  max-width: 46ch;
  margin-inline: auto;
}
.ticks--center li {
  padding-left: 0;
  text-align: center;
  position: relative;
}
.ticks--center li::before {
  display: none;
}

.phone {
  width: min(300px, 78vw);
  padding: 12px;
  border-radius: 34px;
  background: linear-gradient(160deg, #3A4033, var(--forest) 55%, #1C201A);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 30px 60px -34px rgba(33, 37, 30, 0.95);
}
.phone__screen {
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.75rem;
  background: linear-gradient(170deg, #2E3529, #232821);
  color: var(--ink-light);
  text-align: center;
}
.phone__eyebrow {
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); opacity: 0.85;
}
.phone__headline {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
}
.phone__band { margin-top: 0.15rem; font-size: 0.75rem; opacity: 0.6; }
.phone__band span { color: var(--gold); opacity: 0.95; }
.radar { width: 100%; margin-top: 0.5rem; }
.radar__grid { fill: none; stroke: rgba(237, 234, 224, 0.18); stroke-width: 1; }
.radar__shape { fill: rgba(224, 190, 90, 0.2); stroke: var(--gold); stroke-width: 1.5; }
.radar__dots { fill: var(--gold); }
.phone__legend {
  display: grid; gap: 0.4rem; margin-top: 0.75rem;
  font-size: 0.6875rem; text-align: left;
}
.phone__legend li { display: flex; align-items: center; gap: 0.5rem; opacity: 0.75; }
.phone__legend i {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--gold);
}
.phone__legend li:nth-child(2) i { opacity: 0.6; }
.phone__legend li:nth-child(3) i { opacity: 0.35; }
.receive__caption { font-size: 0.75rem; opacity: 0.55; text-align: center; max-width: 30ch; }

.patterns {
  display: grid;
  gap: 1px;
  margin-top: var(--gap-close);
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}
@media (min-width: 780px) { .patterns { grid-template-columns: repeat(3, 1fr); } }
.pattern { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0rem, 2vw, 1.75rem); background: var(--sand); }
.pattern:first-child { padding-left: 0; }
.pattern__title {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.6rem;
}
.pattern p { font-size: 0.9375rem; line-height: 1.6; opacity: 0.82; }

/* ---------- Block 7b — Testimonials Carousel ---------- */
.testimonials-carousel {
  position: relative;
  margin-top: var(--gap-group);
  width: 100%;
  max-width: 100%;
}
.testimonials-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.75rem 0 1.25rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}
.testimonials-carousel__track::-webkit-scrollbar {
  display: none;
}
.testimonials-carousel__slide {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(224, 190, 90, 0.35);
  border-radius: 16px;
  box-shadow:
    0 10px 30px -10px rgba(26, 31, 23, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.testimonials-carousel__slide:hover {
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  box-shadow:
    0 16px 36px -10px rgba(26, 31, 23, 0.18),
    0 0 25px rgba(224, 190, 90, 0.2);
}

@media (min-width: 600px) and (max-width: 859px) {
  .testimonials-carousel__track {
    grid-auto-columns: calc((100% - 1.25rem) / 2);
  }
}
@media (min-width: 860px) {
  .testimonials-carousel__track {
    grid-auto-columns: calc((100% - 2.5rem) / 3);
    gap: 1.25rem;
  }
}

.testimonials-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.testimonials-carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(224, 190, 90, 0.5);
  color: var(--ink-dark);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.testimonials-carousel__arrow:hover {
  background: var(--forest);
  color: var(--sand);
  border-color: var(--forest);
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
.testimonials-carousel__arrow:active {
  transform: scale(0.95);
}
.testimonials-carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.testimonials-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(33, 37, 30, 0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.testimonials-carousel__dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(213, 159, 30, 0.25);
}

.quote__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  display: block;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-dark);
  text-wrap: pretty;
}
.quote figcaption { margin-top: auto; font-size: 0.875rem; line-height: 1.45; }
.quote figcaption b { display: block; font-weight: 700; color: var(--brown); font-size: 0.9375rem; margin-bottom: 2px; }
/* ---------- Block 8 — Author / Credibility ---------- */
.author-section {
  position: relative;
  overflow: hidden;
}
.author-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 850px) {
  .author-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: center;
  }
}
.author-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.author-photo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.author-halo {
  position: absolute;
  inset: -14%;
  background: radial-gradient(closest-side, rgba(224, 190, 90, 0.25), transparent 70%);
  pointer-events: none;
}
.author-photo {
  position: relative;
  z-index: 2;
  width: min(280px, 70vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(224, 190, 90, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 20px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(224, 190, 90, 0.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  transform: none !important;
}
.author-photo:hover {
  transform: none !important;
  border-color: rgba(224, 190, 90, 0.8);
  box-shadow:
    0 0 0 2px rgba(224, 190, 90, 0.75),
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 55px rgba(224, 190, 90, 0.35);
}
@media (min-width: 850px) {
  .author-photo {
    width: 420px;
    max-width: 100%;
  }
}
.author-photo--placeholder {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
}
.author-content-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.author-bio {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--sand-warm);
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
}
.author-bio strong {
  color: var(--ink-light);
  font-weight: 600;
}
.author-pull {
  margin-top: 0.5rem;
  border-left: none;
  border-top: 1px solid rgba(224, 190, 90, 0.35);
  border-bottom: 1px solid rgba(224, 190, 90, 0.35);
  padding: 1.15rem 0.5rem;
  font-style: italic;
  color: #F0E7CF;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  text-align: center;
  max-width: 48ch;
  margin-inline: auto;
}

/* ---------- Block 9 — Steps ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: var(--gap-group);
  background: transparent;
  border-block: none;
  counter-reset: step;
}
@media (min-width: 600px) and (max-width: 899px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(224, 190, 90, 0.35);
  border-radius: 16px;
  box-shadow:
    0 8px 24px -6px rgba(26, 31, 23, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: clamp(1.75rem, 3vw, 2.35rem) clamp(1rem, 1.8vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.step:first-child {
  padding-left: clamp(1rem, 1.8vw, 1.5rem);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  box-shadow:
    0 14px 32px -8px rgba(26, 31, 23, 0.14),
    0 0 22px rgba(224, 190, 90, 0.2);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold-deep);
  -webkit-text-stroke: 1px rgba(33, 37, 30, 0.4);
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-dark);
  margin-bottom: 0.5rem;
  text-align: center;
  line-height: 1.35;
}
.step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-dark-soft);
  opacity: 0.9;
  text-align: center;
  max-width: 26ch;
}

/* ---------- Block 10 + 11 — Split ---------- */
.split { display: grid; gap: var(--gap-col); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.stages { margin-top: var(--gap-group); display: grid; gap: 0.9rem; }
.stages > div { display: grid; gap: 0.2rem; }
.stages dt { font-weight: 700; color: var(--gold); font-size: 0.9375rem; letter-spacing: 0.01em; }
.stages dd { margin: 0; font-size: 0.9375rem; font-weight: 300; opacity: 0.78; }

/* ---------- Block 12 — FAQ ---------- */
.faq { margin-top: var(--gap-group); border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 500;
  color: var(--ink-dark);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after,
.faq__item summary::before {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  background: var(--brown);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq__item summary::before { width: 14px; height: 1.5px; transform: translateY(-50%); }
.faq__item summary::after { width: 1.5px; height: 14px; right: 10px; transform: translateY(-50%); }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.faq__body { padding: 0 clamp(0rem, 4vw, 3rem) 1.6rem 0; }
.faq__body p { font-size: 0.9375rem; line-height: 1.7; opacity: 0.82; max-width: 62ch; }

/* ---------- Block 13 — Final CTA ---------- */
.final { display: grid; justify-items: center; gap: var(--s-4); }
.final .btn { margin-top: var(--s-3); }

/* ---------- Block 14 — Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: #1A1E18;
  color: var(--ink-light-faint);
  padding-block: var(--section-pad-tight) calc(var(--section-pad-tight) + env(safe-area-inset-bottom));
  font-size: 0.9375rem;
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--line-light);
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.25rem;
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
}
.site-footer__contact {
  color: var(--gold);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  font-weight: 600;
  opacity: 0.95;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.site-footer__contact:hover {
  opacity: 1;
  color: var(--gold-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
}
.site-footer__links a {
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  font-weight: 500;
  color: var(--ink-light);
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.site-footer__links a:hover {
  opacity: 1;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__statement { margin-top: var(--s-4); max-width: 80ch; line-height: 1.7; font-size: 0.9375rem; opacity: 0.76; }
.site-footer__copy { margin-top: var(--s-4); font-size: 0.875rem; opacity: 0.55; }

/* AI Loading Shimmer & Hydration Styles */
.ai-loading-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D59F1E;
  background: rgba(213, 159, 30, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(213, 159, 30, 0.3);
  transition: all 0.3s ease;
}

.ai-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D59F1E;
  animation: aiPulse 1.4s infinite ease-in-out;
}

@keyframes aiPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

.ai-skeleton-line {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(33,37,30,0.06) 25%, rgba(213,159,30,0.18) 50%, rgba(33,37,30,0.06) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.8s infinite ease-in-out;
  margin-bottom: 8px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.55rem clamp(1rem, 4vw, 1.5rem) calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(26, 30, 24, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 -1px 0 var(--line-light);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sticky-cta.is-visible { transform: none; }
/* A slim bar: the terms sit beside the button rather than inside it, so the
   button stays one line and the whole strip keeps off the reading area. */
.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 30rem;
  margin-inline: auto;
}
.sticky-cta__note {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--ink-light-faint);
}
/* Two class names deep on purpose: the small-screen rule that stretches buttons
   to full width has the same weight as a single class and sits later in the
   file, so a one-class selector here would lose to it. */
.sticky-cta .sticky-cta__btn {
  flex: none;
  width: auto;
  max-width: none;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
}
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero { padding-block: clamp(6rem, 12vh, 8rem) 6rem; }
  .hero__inner { gap: clamp(2.5rem, 7vh, 4rem); }
  .btn { width: 100%; max-width: 22rem; }
  .btn--sm { width: auto; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
  .pattern:first-child, .step:first-child { padding-left: 0; }
  .pattern, .step { padding-inline: 0; }
}

/* ==========================================================================
   UnaTribe PDF Print Stylesheet (Authentic Warm Brand Palette)
   ========================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 14mm 16mm;
  }

  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  body {
    background: #FBF9F4 !important;
    color: #1E241C !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 10pt !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide web UI controls */
  .site-header,
  .site-footer,
  .quiz__progress,
  .quiz__stage--intro,
  .quiz__stage--question,
  .quiz__stage--saved,
  .link-btn,
  .btn,
  #downloadPdfBtn,
  #retakeAssessmentBtn,
  #resultRatingBlock,
  .sticky-cta {
    display: none !important;
  }

  .quiz__stage--result {
    display: block !important;
  }

  /* Result Header Print */
  .result-header {
    text-align: center !important;
    padding-bottom: 10pt !important;
    border-bottom: 1.5pt solid rgba(213, 159, 30, 0.3) !important;
    margin-bottom: 12pt !important;
  }

  .result-badge {
    color: #D59F1E !important;
    background: rgba(213, 159, 30, 0.1) !important;
    border: 1pt solid rgba(213, 159, 30, 0.25) !important;
    font-size: 7.5pt !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
    padding: 3pt 8pt !important;
    border-radius: 12pt !important;
  }

  .result-title {
    font-family: Georgia, "Playfair Display", serif !important;
    font-size: 22pt !important;
    color: #1E241C !important;
    margin: 6pt 0 4pt !important;
  }

  .result-synonyms {
    color: #9C7110 !important;
    font-size: 9.5pt !important;
    font-weight: 600 !important;
  }

  .result-meta-row {
    color: #5B4E38 !important;
    font-size: 8.5pt !important;
    margin-top: 4pt !important;
  }

  /* Cards in PDF */
  .result-card,
  .result-stab-card,
  .result-route-card {
    background: #FFFFFF !important;
    border: 1pt solid rgba(33, 37, 30, 0.14) !important;
    border-radius: 8pt !important;
    padding: 10pt 12pt !important;
    margin-top: 8pt !important;
    page-break-inside: avoid !important;
    color: #1E241C !important;
  }

  .result-card div,
  .result-card p,
  .result-card span {
    color: #1E241C !important;
  }

  .result-card [style*="color: #5B4E38"],
  .result-card [style*="color: #3A4434"],
  .result-card [style*="color: #9C7110"] {
    color: #5B4E38 !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
  }

  .result-card--insight {
    background: rgba(213, 159, 30, 0.04) !important;
    border: 1.5pt solid rgba(213, 159, 30, 0.35) !important;
  }

  #resultAiInsight p {
    color: #1E241C !important;
    font-size: 9.5pt !important;
    line-height: 1.6 !important;
    margin-bottom: 6pt !important;
  }

  /* Patterns List */
  .result-pattern-item {
    background: #F8F6F0 !important;
    border: 1pt solid rgba(33, 37, 30, 0.08) !important;
    padding: 6pt 8pt !important;
  }

  .result-pattern-name {
    color: #1E241C !important;
    font-size: 9.5pt !important;
  }

  .result-pattern-sub {
    color: #5B4E38 !important;
    font-size: 8.5pt !important;
  }

  .result-pattern-score {
    color: #9C7110 !important;
    font-weight: 700 !important;
  }

  /* Footer disclaimer in PDF */
  .site-footer__statement {
    color: #5B4E38 !important;
    font-size: 8pt !important;
    text-align: center !important;
    margin-top: 14pt !important;
    border-top: 1pt solid rgba(33, 37, 30, 0.12) !important;
    padding-top: 6pt !important;
  }

  .site-footer__statement::after {
    content: "\A© UnaTribe · unowa.eu · assessment.personafield.com";
    white-space: pre;
    display: block;
    font-size: 7.5pt;
    color: #8C7E68;
    margin-top: 3pt;
  }
}

.btn-pdf-download:hover {
  background: #FFFFFF !important;
  border-color: #D59F1E !important;
  color: #9C7110 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(213, 159, 30, 0.18) !important;
}

.btn-pdf-download:active {
  transform: translateY(0);
}

/* ==========================================================================
   Fixed Debossed Cover Logo Background (Lightweight & Hardware Accelerated)
   ========================================================================== */
.section {
  position: relative;
  z-index: auto !important;
}
.section > .shell,
.quiz,
.quote,
.step,
.receive__card,
.author-photo-wrapper {
  position: relative;
  z-index: 10 !important;
}
.quiz {
  background: #FCFAF6 !important;
}

.fixed-bg-ornament {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fixed-bg-ornament__graphic {
  width: min(115vw, 115vh, 1170px);
  height: min(115vw, 115vh, 1170px);
  background-image: url('/assets/img/logo-symbol-dual-surface.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  pointer-events: none;
  transform: translateZ(0);
}
