/* =========================================================
   Orla Media: styles
   ========================================================= */

:root {
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --tint: #F3EEE6;
  --ink: #171411;
  --ink-2: #5E5850;
  --ink-3: #8A837A;
  --line: #E7E0D5;
  --line-2: #D9D0C3;
  --orange: #FA5706;
  --orange-ink: #BF3F00;
  --orange-soft: #FFF1E8;

  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --shadow-sm: 0 1px 2px rgba(23, 20, 17, .04), 0 2px 8px rgba(23, 20, 17, .04);
  --shadow: 0 1px 2px rgba(23, 20, 17, .04), 0 12px 32px -8px rgba(23, 20, 17, .10);
  --shadow-lg: 0 2px 4px rgba(23, 20, 17, .04), 0 24px 60px -16px rgba(23, 20, 17, .18);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--orange); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
[tabindex="-1"]:focus { outline: none; }

.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: 12px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap-narrow { max-width: calc(760px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 8.6vw + .6rem, 6.4rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; }
.h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw + 1rem, 3.75rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.4rem);
  line-height: 1.08;
  letter-spacing: -.015em;
}
.lead {
  font-size: clamp(1.125rem, .5vw + 1rem, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  text-wrap: pretty;
}
.prose p { color: var(--ink-2); text-wrap: pretty; }
.prose p + p { margin-top: 1.1em; }
.prose a, .text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.prose a:hover, .text-link:hover { color: var(--orange-ink); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  background: var(--tint);
  color: var(--ink);
}
.pill-orange { background: var(--orange-soft); color: var(--orange-ink); }
.pill-orange::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: color .35s var(--ease), transform .2s var(--ease), box-shadow .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
@media (hover: hover) {
  .btn:hover { color: var(--ink); box-shadow: 0 10px 24px -10px rgba(250, 87, 6, .55); }
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .icon { transform: translateX(3px); }
}
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(250, 247, 242, .82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; border-radius: 8px; }
.brand img { height: 26px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.03); }
@media (min-width: 768px) { .brand img { height: 30px; } }

.nav { display: none; }
.nav-list { display: flex; gap: 4px; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--tint); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
}

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background-color .25s var(--ease);
}
.menu-btn:hover { background: var(--tint); }
.menu-icon { position: relative; width: 20px; height: 12px; }
.menu-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-icon span:first-child { top: 0; }
.menu-icon span:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 49;
  padding: 8px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(23, 20, 17, .25);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .5s var(--ease), visibility 0s;
}
.mobile-menu li {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open li:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open li:nth-child(4) { transition-delay: .12s; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu a[aria-current="page"]::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(23, 20, 17, .25);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }

@media (min-width: 900px) {
  .nav { display: block; margin-right: 12px; }
  .menu-btn, .mobile-menu, .menu-backdrop { display: none; }
}

/* ---------- Sections ---------- */
main { display: block; }
.page-hero { padding: clamp(40px, 8vw, 120px) 0 clamp(40px, 6vw, 80px); }
.page-hero .lead { margin-top: 24px; }
.section { padding: clamp(48px, 8vw, 112px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }

.cta-block {
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 128px);
  text-align: center;
}

/* ---------- Home ---------- */
.home-hero {
  display: grid;
  gap: 28px;
  padding-top: clamp(28px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.home-hero .display { font-size: clamp(2.9rem, 9.4vw + .4rem, 5.6rem); }
.home-hero .lead { margin-top: 20px; }
.home-quiz { min-width: 0; }
.quiz-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: .875rem;
  color: var(--ink-2);
  text-align: center;
}
.quiz-note::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
@media (min-width: 1024px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    min-height: calc(100svh - var(--header-h) - 40px);
  }
  .home-hero .lead { margin-top: 28px; }
}

/* ---------- Quiz ---------- */
.quiz-card {
  position: relative;
  padding: 20px 18px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(231, 224, 213, .7);
}
@media (min-width: 480px) { .quiz-card { padding: 28px 28px 32px; } }

.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  margin-bottom: 12px;
}
.quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px 6px 8px;
  margin-left: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s var(--ease), background-color .25s var(--ease), opacity .3s var(--ease);
}
.quiz-back .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.quiz-back:hover { color: var(--ink); background: var(--tint); }
.quiz-back:hover .icon { transform: translateX(-3px); }
.quiz-back[hidden] { display: inline-flex; visibility: hidden; opacity: 0; }
.quiz-count {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.quiz-progress {
  height: 4px;
  margin-bottom: 28px;
  border-radius: 4px;
  background: var(--tint);
  overflow: hidden;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--orange);
  transition: width .6s var(--ease);
}

.quiz-stage { position: relative; }
.quiz-step[hidden] { display: none; }
.quiz-q {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.2vw + 1.2rem, 2.4rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.quiz-options { display: grid; gap: 10px; }

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 64px;
  padding: 14px 16px 14px 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    border-color .25s var(--ease),
    background-color .25s var(--ease),
    box-shadow .3s var(--ease),
    transform .35s var(--ease);
}
.opt-text { flex: 1; display: grid; gap: 2px; }
.opt-label { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; }
.opt-hint { font-size: .875rem; line-height: 1.35; color: var(--ink-2); }
.opt-tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .4s var(--ease);
}
.opt-tick svg {
  width: 14px; height: 14px;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset .35s var(--ease) .05s;
}
@media (hover: hover) {
  .opt:hover {
    border-color: var(--line-2);
    box-shadow: 4px 5px 14px -2px rgba(23, 20, 17, .16);
    transform: translate(-3px, -3px);
    transition-duration: .25s, .25s, .2s, .2s;
    transition-timing-function: var(--ease), var(--ease), ease-out, ease-out;
  }
  .opt:hover .opt-tick { border-color: var(--ink-3); }
}
/* Shiny glare: soft diagonal streak, ~1s sweep then ~3s pause, staggered per button */
.opt { overflow: hidden; }
.opt::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%; left: 0;
  width: 45%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transform: translateX(-160%) skewX(-20deg);
  pointer-events: none;
  animation: opt-glare 4s linear infinite;
  animation-delay: calc(var(--gi, 0) * 450ms);
}
.opt:nth-child(2) { --gi: 1; }
.opt:nth-child(3) { --gi: 2; }
.opt:nth-child(4) { --gi: 3; }
@keyframes opt-glare {
  0% { opacity: 0; transform: translateX(-160%) skewX(-20deg); }
  3% { opacity: .55; }
  22% { opacity: .55; }
  25%, 100% { opacity: 0; transform: translateX(340%) skewX(-20deg); }
}

/* Tactile key press (classes added by JS on pointerdown / click) */
.opt.is-down {
  transform: translate(2px, 2px) scale(.97);
  box-shadow: 0 0 1px rgba(23, 20, 17, .08);
  transition-duration: .08s;
  transition-timing-function: ease-out;
}
.opt.is-press { animation: key-press .4s linear; }
.opt.is-release { animation: key-release .3s linear; }
.opt.is-press, .opt.is-release { pointer-events: none; }
.opt.is-down::after, .opt.is-press::after, .opt.is-release::after { animation: none; opacity: 0; }
@keyframes key-press {
  0% { transform: none; }
  20% { transform: translate(2px, 2px) scale(.97); box-shadow: 0 0 1px rgba(23, 20, 17, .08); animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  70% { transform: translate(-1px, -1px) scale(1.01); box-shadow: 0 0 0 6px rgba(250, 87, 6, .18); }
  100% { transform: none; box-shadow: 0 0 0 3px rgba(250, 87, 6, .12); }
}
@keyframes key-release {
  0% { transform: translate(2px, 2px) scale(.97); box-shadow: 0 0 1px rgba(23, 20, 17, .08); animation-timing-function: cubic-bezier(.3, 1.6, .5, 1); }
  50% { transform: translate(-1px, -1px) scale(1.01); box-shadow: 0 0 0 6px rgba(250, 87, 6, .18); }
  100% { transform: none; box-shadow: 0 0 0 3px rgba(250, 87, 6, .12); }
}
@media (prefers-reduced-motion: reduce) {
  .opt::after { display: none; }
  .opt.is-down, .opt.is-press, .opt.is-release, .opt:hover { transform: none; animation: none; }
}
.opt[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange-soft);
  box-shadow: 0 0 0 3px rgba(250, 87, 6, .12);
}
.opt[aria-pressed="true"] .opt-tick {
  background: var(--orange);
  border-color: var(--orange);
  animation: tick-pop .45s var(--ease);
}
.opt[aria-pressed="true"] .opt-tick svg { stroke-dashoffset: 0; }
@keyframes tick-pop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@media (min-width: 480px) {
  .quiz-options-2 { grid-template-columns: 1fr 1fr; }
  .quiz-options-2 .opt { min-height: 72px; }
}

/* Form step */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.field label { font-size: .9375rem; font-weight: 600; }
.field input {
  width: 100%;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 1.0625rem; /* 17px stops iOS zooming in */
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field input:hover { border-color: var(--line-2); }
.field input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(23, 20, 17, .08);
}
.field input[aria-invalid="true"] { border-color: #C4320A; background: #FFF8F5; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(196, 50, 10, .12); }
.field-error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .875rem;
  line-height: 1.4;
  color: #B02D08;
}
.field-error[hidden] { display: none; }
.field-error::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8v5H7.1V4zm0 6.2h1.8V12H7.1v-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm-.9 4h1.8v5H7.1V4zm0 6.2h1.8V12H7.1v-1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.quiz-submit { width: 100%; margin-top: 24px; min-height: 56px; font-size: 1.0625rem; }
.quiz-submit[aria-busy="true"] { pointer-events: none; opacity: .75; }
.quiz-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.quiz-submit[aria-busy="true"] .spinner { display: block; }
.quiz-submit[aria-busy="true"] .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-small {
  margin-top: 14px;
  font-size: .875rem;
  color: var(--ink-2);
  text-align: center;
}
.quiz-alert {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #FFF4EF;
  border: 1px solid #F6CDB9;
  font-size: .9375rem;
  line-height: 1.5;
}
.quiz-alert[hidden] { display: none; }
.quiz-alert a { font-weight: 600; color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }

.quiz-card.is-done .quiz-top { display: none; }
.quiz-card.is-done .quiz-progress { margin-bottom: 36px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Thank you */
.quiz-done { padding: 12px 0 4px; text-align: center; }
.quiz-done-mark {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
}
.quiz-done-mark svg { width: 28px; height: 28px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.quiz-step.is-shown .quiz-done-mark { animation: done-pop .6s var(--ease) both; }
.quiz-step.is-shown .quiz-done-mark svg { animation: draw .5s var(--ease) .25s forwards; }
@keyframes done-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.quiz-done .quiz-q { margin-bottom: 12px; font-size: clamp(2.4rem, 3vw + 1.4rem, 3.2rem); overflow-wrap: anywhere; }
.quiz-done p { color: var(--ink-2); margin: 0 auto 26px; max-width: 24em; }

/* ---------- Cards and grids ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
@media (min-width: 768px) { .card { padding: 40px; } }
@media (hover: hover) {
  .card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
}

.service {
  display: grid;
  gap: 28px;
}
.service + .service { margin-top: 16px; }
.service .pill { margin-bottom: 18px; }
.service p { color: var(--ink-2); margin-top: 16px; max-width: 32em; }
.service-feature { padding-top: 32px; }
.includes-title { font-weight: 600; font-size: .9375rem; margin-bottom: 12px; }
.includes li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.includes li:last-child { border-bottom: 1px solid var(--line); }
.includes .check {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-ink);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.includes .check svg { width: 12px; height: 12px; }
.card-hover:hover .includes .check { background: var(--orange); color: #fff; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
}

.addon {
  margin-top: 16px;
  display: grid;
  gap: 16px;
  background: transparent;
  border-style: dashed;
  border-color: var(--line-2);
}
.addon p { color: var(--ink-2); max-width: 36em; }
@media (min-width: 900px) {
  .addon { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

.prices {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.prices p { color: var(--ink-2); margin: 20px auto 32px; }

/* Steps */
.steps { display: grid; gap: 12px; counter-reset: step; }
.step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.25rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color .4s var(--ease), transform .5s var(--ease);
  transform-origin: left bottom;
}
.step h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.step p { color: var(--ink-2); }
@media (hover: hover) {
  .step:hover .step-num { color: var(--orange); transform: scale(1.06); }
}
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } .step.card { padding: 32px 28px; } }

/* ---------- Cycle (How it works) ---------- */
.cycle-wrap {
  display: grid;
  gap: 28px;
  align-items: center;
  justify-items: center;
}
.cycle {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  container-type: inline-size;
}
.cycle svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  overflow: visible;
}
.cycle-track { fill: none; stroke: var(--line-2); stroke-width: .35; stroke-dasharray: .6 1.2; }
.cycle-arc {
  fill: none;
  stroke: var(--orange);
  stroke-width: .7;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
}
.cycle-core {
  position: absolute;
  inset: 22%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.cycle-core-num {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.cycle-core-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 11cqw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}
.cycle-core-name, .cycle-core-num { transition: opacity .3s var(--ease), transform .45s var(--ease); }
.cycle-core.is-swapping .cycle-core-name,
.cycle-core.is-swapping .cycle-core-num { opacity: 0; transform: translateY(8px); }

.cycle-node {
  --a: 0deg;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: clamp(.8125rem, 3.2cqw, .9375rem);
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(40cqw) rotate(calc(var(--a) * -1));
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), scale .5s var(--ease);
}
.cycle-node::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.cycle-node:hover { color: var(--ink); border-color: var(--line-2); }
.cycle-node.is-done { color: var(--ink); }
.cycle-node.is-done::before { background: var(--ink); }
.cycle-node[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--orange);
  scale: 1.08;
  box-shadow: 0 10px 24px -10px rgba(250, 87, 6, .5);
}
.cycle-node[aria-pressed="true"]::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(250, 87, 6, .18);
}

.cycle-detail {
  width: 100%;
  max-width: 440px;
  text-align: center;
}
.cycle-detail-text {
  min-height: 2.3em;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.6vw + 1.2rem, 2.6rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.cycle-detail-text.is-swapping { opacity: 0; transform: translateY(8px); }
.cycle-toggle { margin-top: 20px; }
.cycle-toggle .icon { width: 16px; height: 16px; }
@media (min-width: 960px) {
  .cycle-wrap { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .cycle-detail { text-align: left; justify-self: start; }
}

/* ---------- About ---------- */
.about-hero {
  display: grid;
  gap: 32px;
  padding-top: clamp(28px, 6vw, 96px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1B1A22;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo[data-reveal] img { transform: scale(1.08); }
.photo.is-in img { transform: scale(1); }
.about-text .display { margin-bottom: 28px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 500;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.facts li:hover { border-color: var(--line-2); transform: translateY(-2px); }
@media (min-width: 900px) {
  .about-hero { grid-template-columns: .85fr 1fr; gap: 72px; align-items: start; }
}
.results {
  display: grid;
  gap: 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  background:
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 18px 18px;
}
.results p { color: var(--ink-2); max-width: 36em; }
@media (min-width: 768px) { .results { padding: 56px; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(1.125rem, .6vw + 1rem, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  border-radius: 4px;
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.75px;
  margin: -.875px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .45s var(--ease), background-color .3s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item summary:hover .faq-icon { border-color: var(--orange); }
.faq-item[open] .faq-icon { background: var(--orange); border-color: var(--orange); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44em; }

/* ---------- Privacy ---------- */
.legal h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 44px 0 12px;
}
.legal p { color: var(--ink-2); }

/* ---------- 404 ---------- */
.not-found {
  min-height: calc(100svh - var(--header-h) - 120px);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.not-found .lead { margin: 24px auto 32px; }
.not-found-mark {
  width: 88px; height: 88px;
  margin: 0 auto 28px;
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-8px) rotate(-6deg); } }

/* ---------- Footer ---------- */
.site-footer { padding: 0 8px 8px; }
@media (min-width: 768px) { .site-footer { padding: 0 12px 12px; } }
.footer-panel {
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #EDE8E0;
  padding: 48px 0 28px;
  overflow: hidden;
}
@media (min-width: 768px) { .footer-panel { padding: 72px 0 32px; } }
.footer-top { display: grid; gap: 40px; }
.footer-logo { width: 72px; height: auto; margin-bottom: 24px; }
.footer-tag {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  max-width: 14em;
  text-wrap: balance;
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols h2 {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #A39B90;
  margin-bottom: 14px;
}
.footer-cols li + li { margin-top: 6px; }
.footer-link {
  position: relative;
  display: inline-block;
  padding: 2px 0;
  border: 0;
  background: none;
  color: #EDE8E0;
  text-decoration: none;
  font-size: 1rem;
  text-align: left;
  transition: color .25s var(--ease);
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.footer-link:hover { color: #fff; }
.footer-link:hover::after { transform: scaleX(1); transform-origin: left; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #332E29;
  font-size: .8125rem;
  color: #A39B90;
}
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-cols { grid-template-columns: 1fr 1.3fr; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  gap: 10px;
  padding: 12px 12px 12px 16px;
  border-radius: 20px;
  background: var(--ink);
  color: #EDE8E0;
  box-shadow: 0 20px 50px -12px rgba(23, 20, 17, .45);
  font-size: .875rem;
  line-height: 1.4;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie.is-in { transform: none; opacity: 1; }
.cookie a { color: #fff; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.cookie :focus-visible { outline-color: #fff; }
.cookie-actions { display: flex; gap: 8px; }
.cookie .btn { flex: 1; min-height: 40px; padding: 6px 16px; font-size: .875rem; }
.cookie .btn-accept { --btn-bg: #EDE8E0; --btn-fg: var(--ink); }
.cookie .btn-decline { --btn-bg: transparent; --btn-fg: #EDE8E0; box-shadow: inset 0 0 0 1.5px #4A443D; }
.cookie .btn-decline:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }
@media (max-width: 639px) {
  .cookie { grid-template-columns: 1fr auto; align-items: center; }
  .cookie .btn { flex: none; }
  .cookie-actions { flex-direction: column; gap: 6px; }
}
@media (min-width: 640px) {
  .cookie {
    left: auto; right: 16px; bottom: 16px;
    max-width: 440px;
    padding: 18px 18px 18px 22px;
  }
  .cookie .btn { flex: none; }
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .photo[data-reveal] { transform: none; clip-path: inset(8% 8% 8% 8% round 28px); transition: opacity .9s var(--ease), clip-path 1.2s var(--ease); }
.js .photo[data-reveal].is-in { clip-path: inset(0 0 0 0 round 28px); }

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .04em .12em;
  margin: 0 -.04em -.12em;
}
.split .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 55ms + var(--d, 0ms));
}
.split.is-in .w > span { transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal], .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .photo img { transform: none !important; }
}
