/* ==========================================================================
   Yoga Organization — styles
   Direction: "03 Request first" (lime accent) from the design canvas.
   ========================================================================== */

:root {
  /* Palette */
  --bg: #FFFFFF;
  --surface: #F3F3F1;     /* panels, the sentence form, cards */
  --surface-2: #EDEDEA;   /* image placeholders, pressed */
  --ink: #1C1C1A;
  --ink-2: #45453F;       /* body copy */
  --muted: #6B6B65;       /* small labels: AA on white and on --surface */
  --faint: #85857F;       /* large text only (headline second lines) */
  --line: #E6E6E2;
  --line-2: #D6D6D1;
  --accent: #E4F87A;      /* lime */
  --accent-hover: #D9F05C;
  --accent-ink: #1C1C1A;
  --error: #B3261E;

  /* Type */
  --font: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --container: 1440px;
  --pad: clamp(20px, 3vw, 40px);
  --section-y: clamp(88px, 10vw, 140px);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

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

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */
h1, h2 { font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(44px, 5.4vw, 82px); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.h-small { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.muted { color: var(--faint); }

.mono { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.5; }
.label { color: var(--muted); margin-bottom: 20px; }
.section-sub { color: var(--ink-2); max-width: 30em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 18px;
  border: 0; border-radius: var(--r);
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .15s;
}
.btn svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.btn:hover svg { transform: translateX(2px); }
.btn[data-prev]:hover svg { transform: translateX(-2px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-plain { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-plain:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-lg { min-height: 56px; padding: 0 22px; border-radius: var(--r-md); font-size: 16px; }

/* Lime button with a white square holding the arrow */
.btn-boxed { padding: 0 6px 0 18px; }
.btn-box {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm);
  background: #fff; color: var(--ink);
}
.btn-boxed:hover .btn-box svg { transform: translateX(2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 15px; text-decoration: none;
}
.link-arrow svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .2s; }
.link-arrow:hover { color: var(--ink-2); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--r);
  background: var(--accent); color: var(--accent-ink); transition: background-color .2s, color .2s;
}
.icon-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.icon-btn:hover { background: var(--accent-hover); }
.icon-btn:disabled { background: var(--surface); color: var(--faint); cursor: default; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px 40px; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  font-size: 17px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.brand-mark { width: 22px; height: 22px; }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a { font-size: 14px; text-decoration: none; transition: color .2s; }
.site-nav a:hover { color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.header-cta { flex: none; }

.nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: var(--r);
  background: var(--surface); flex: none;
}
.nav-toggle-bar {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, top .25s;
}
.nav-toggle-bar:nth-of-type(2) { top: 18px; }
.nav-toggle-bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(2) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-of-type(3) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    padding: 8px var(--pad) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(28, 28, 26, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
}
.nav-cta { display: none; }
@media (max-width: 560px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .site-nav .nav-cta { display: flex; width: 100%; margin-top: 20px; border-bottom: 0; padding: 0 22px; font-size: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 104px) 0 0; }
.hero-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 32px 64px; padding-bottom: 48px;
}
.hero-head h1 { flex: 1 1 640px; }
.hero-side { flex: 0 1 340px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 10px; }
.hero-side p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.hero-side .link-arrow { align-self: flex-start; }

/* The fill-in sentence form */
.sentence {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px;
  padding: 14px 14px 14px 28px; border-radius: var(--r-lg); background: var(--surface);
  font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.02em;
}
.sentence-input {
  min-height: 48px; padding: 0 16px; border: 0; border-radius: var(--r);
  background: #fff; color: var(--ink);
  transition: box-shadow .2s;
}
.sentence-input::placeholder { color: #7A7A74; opacity: 1; }
.sentence-input:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.sentence-size { width: 72px; text-align: center; padding: 0 10px; }
.sentence-dest { width: 250px; }
.sentence-when { width: 160px; }
.sentence-submit { margin-left: auto; }

.covers { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 0 4px; color: var(--muted); }
.covers .ink { color: var(--ink); }

@media (max-width: 720px) {
  .hero-head { padding-bottom: 32px; }
  .sentence { padding: 18px; gap: 10px 10px; }
  .sentence-dest { flex: 1 1 200px; width: auto; }
  .sentence-submit { width: 100%; margin-left: 0; margin-top: 6px; }
}

/* ---------- Destinations carousel ---------- */
.places-section { padding-top: 88px; }
.places-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.places-nav { display: flex; gap: 8px; }

.places {
  display: flex; gap: 20px; overflow-x: auto;
  margin-right: calc(-1 * var(--pad)); padding: 4px var(--pad) 8px 4px; margin-left: -4px;
  scroll-snap-type: x mandatory; scroll-padding-left: 4px;
  scrollbar-width: none;
}
.places::-webkit-scrollbar { display: none; }
.places > li { flex: 0 0 300px; scroll-snap-align: start; }

.place {
  display: flex; flex-direction: column; gap: 12px; width: 100%;
  padding: 0; border: 0; background: none; text-align: left; color: var(--ink);
  border-radius: var(--r-md);
}
.place img {
  width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover;
  border-radius: var(--r-md); background: var(--surface-2);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), filter .3s;
}
.place:hover img { transform: translateY(-4px); filter: brightness(1.03); }
.place-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.place-name { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.place-season { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

@media (max-width: 600px) {
  .places > li { flex-basis: 76%; }
}

/* ---------- Sections ---------- */
.section { padding-top: var(--section-y); }
.section-flush { padding-top: var(--section-y); }
#faq { padding-bottom: var(--section-y); }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head h2 { margin-bottom: 0; }
.section-head .section-sub { margin-top: 20px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { border-top: 1px solid var(--line-2); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.step-num { color: var(--muted); margin-bottom: 28px; }
.step p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 32px; } .step-num { margin-bottom: 12px; } }

/* Included */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 24px 28px; border-radius: var(--r-lg); background: var(--surface);
}
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r);
  background: #fff; margin-bottom: 36px;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card:first-child .card-icon { background: var(--accent); }
.card-num { color: var(--muted); }
.card p:last-child { font-size: 15px; color: var(--ink-2); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } .card-icon { margin-bottom: 20px; } }

/* Why (dark block) */
.dark-block {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px clamp(48px, 7vw, 120px);
  padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); background: var(--ink); color: #F4F4F1;
}
.dark-block .label { color: #A3A39C; }
.dark-block h2 { color: #fff; margin-bottom: 24px; }
.dark-block h2 .muted { color: #A3A39C; }
.why-intro > p:not(.label) { color: #CFCFC9; max-width: 28em; margin-bottom: 32px; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; align-content: start; }
.why-list li { padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.why-list h3 { color: #fff; margin-bottom: 8px; }
.why-list p { font-size: 15px; color: #BDBDB6; }
@media (max-width: 960px) { .dark-block { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Gallery (slow, endless strip) ---------- */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 48px); }
.icon-btn-quiet { background: var(--surface); color: var(--ink); }
.icon-btn-quiet:hover { background: var(--accent); }
.marquee-toggle .i-play, .marquee-toggle[aria-pressed="true"] .i-pause { display: none; }
.marquee-toggle[aria-pressed="true"] .i-play { display: block; }
.marquee-toggle .i-play path { fill: currentColor; stroke: none; }

.marquee {
  --tile-h: clamp(220px, 26vw, 380px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-track li { flex: none; height: var(--tile-h); margin-right: 16px; }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); background: var(--surface-2); }
.g-tall { aspect-ratio: 3 / 4; }
.g-wide { aspect-ratio: 4 / 3; }

.marquee.is-running .marquee-track { animation: marquee var(--marquee-duration, 90s) linear infinite; }
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@media (hover: hover) { .marquee.is-running:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* No motion wanted: a plain strip you can scroll sideways */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-toggle { display: none; }
}
@media (max-width: 600px) { .marquee { --tile-h: 220px; } .marquee-track li { margin-right: 12px; } }

/* ---------- Plan / form ---------- */
.plan-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.plan-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.plan-intro h2 { margin-bottom: 20px; }
.plan-note {
  margin-top: 28px; padding: 14px 16px; border-radius: var(--r); background: var(--surface);
  font-size: 14px; color: var(--ink-2); max-width: 30em;
}
@media (max-width: 960px) { .plan-grid { grid-template-columns: 1fr; } .plan-intro { position: static; } }

.plan-card { padding: clamp(20px, 3.2vw, 40px); border-radius: var(--r-lg); background: var(--surface); }

.progress { display: flex; gap: 8px; margin-bottom: 32px; }
.progress li { flex: 1; padding-top: 12px; border-top: 2px solid var(--line-2); color: var(--muted); transition: border-color .3s, color .3s; }
.progress li.is-active, .progress li.is-done { border-top-color: var(--ink); color: var(--ink); }
@media (max-width: 480px) { .progress-label { font-size: 10.5px; } }

.form-step { border: 0; padding: 0; margin: 0; min-width: 0; animation: stepIn .3s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-title { padding: 0; margin-bottom: 24px; font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; }
.step-title:focus { outline: none; }

.field { margin-bottom: 22px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field > label:not(.check), .label-text { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 4px; }

.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"],
.field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: #fff; border: 1px solid transparent; border-radius: var(--r);
  font-size: 16px; color: var(--ink);
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%231C1C1A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.field input::placeholder, .field textarea::placeholder { color: #7A7A74; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: transparent; }
.field input:disabled { color: var(--muted); background: rgba(255, 255, 255, .55); cursor: not-allowed; }
.field input[type="date"] { cursor: pointer; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-hint:empty { display: none; }
.field-half { max-width: calc(50% - 8px); }
@media (max-width: 560px) { .field-half { max-width: none; } }

/* Follow-up questions that appear after a choice */
.subfield { animation: stepIn .25s ease both; }
.field + .subfield, .field + .field.subfield { margin-top: -6px; }
.check-flush { margin: -8px 0 22px; }
[data-field="dates"] .field-row { row-gap: 16px; }
.step-intro { margin: -12px 0 24px; font-size: 14px; color: var(--muted); max-width: 34em; }
.field-error { display: none; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--error); }
.field.is-invalid .field-error { display: block; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); }
.field.is-invalid .choice-body { box-shadow: inset 0 0 0 1px rgba(179, 38, 30, .55); }

/* Number stepper */
.stepper { display: flex; gap: 6px; }
.stepper input[type="number"] { text-align: center; font-weight: 500; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn {
  flex: none; width: 48px; border: 0; border-radius: var(--r); background: #fff; font-size: 20px; line-height: 1; color: var(--ink);
  transition: background-color .2s;
}
.stepper-btn:hover { background: var(--accent); }

/* Checkbox */
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.check-inline { margin-top: 12px; }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none;
  border: 1px solid var(--line-2); border-radius: 6px; background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.check input::after {
  content: ""; width: 10px; height: 5px; border: 1.6px solid var(--ink); border-top: 0; border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s;
}
.check input:checked { background: var(--accent); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }

/* Choice tiles */
.choices { display: grid; gap: 8px; }
.choices-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) { .choices-3 { grid-template-columns: 1fr; } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-body {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 14px 16px; border-radius: var(--r); background: #fff;
  box-shadow: inset 0 0 0 1px transparent;
  transition: background-color .15s, box-shadow .15s;
}
.choice-body strong { font-size: 15px; font-weight: 500; }
.choice-body small { font-size: 13px; color: var(--muted); }
.choice:hover .choice-body { box-shadow: inset 0 0 0 1px var(--line-2); }
.choice input:checked + .choice-body { background: var(--accent); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + .choice-body small { color: var(--ink-2); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 480px) {
  .choices-3 .choice-body { flex-direction: row; justify-content: space-between; align-items: baseline; }
}

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: #fff; font-size: 14px; color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line); transition: all .15s;
}
.chip span::before { content: "+"; color: var(--muted); }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--line-2); }
.chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.chip input:checked + span::before { content: "✓"; color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

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

/* "Ayda will message you on WhatsApp" note at the end of the form */
.handoff {
  display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 20px;
  padding: 14px 16px; border-radius: var(--r); background: #fff;
  font-size: 14px; color: var(--ink-2);
}
.handoff svg {
  width: 20px; height: 20px; flex: none; margin-top: 1px;
  fill: var(--accent); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round;
}
.handoff strong { color: var(--ink); font-weight: 600; }

/* Form footer */
.form-status { font-size: 14px; font-weight: 500; color: var(--error); }
.form-status:not(:empty) { margin-bottom: 16px; }
.form-nav { display: flex; align-items: center; gap: 12px; padding-top: 24px; margin-top: 4px; border-top: 1px solid var(--line-2); }
.form-step-count { margin-right: auto; color: var(--muted); }
.form-nav .btn-plain { min-height: 56px; border-radius: var(--r-md); }
@media (max-width: 480px) {
  .form-nav { flex-wrap: wrap; }
  .form-step-count { width: 100%; order: -1; }
  .form-nav .btn { flex: 1; }
}

/* Success */
.form-success { padding: 8px 0 4px; animation: stepIn .35s ease both; }
.form-success:focus { outline: none; }
.success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-md); background: var(--accent); margin-bottom: 24px; }
.success-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.success-mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .15s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 30px; font-weight: 400; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 12px; }
.form-success > p { color: var(--ink-2); max-width: 34em; margin-bottom: 24px; }
.success-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 10px 24px;
  padding: 20px 22px; margin-bottom: 20px; border-radius: var(--r); background: #fff; font-size: 15px;
}
.success-summary dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 2px; }
.success-summary dd { font-weight: 500; overflow-wrap: anywhere; }
.success-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.success-actions .btn { min-height: 48px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-grid .section-sub a { font-weight: 500; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 36px; height: 36px; flex: none; border-radius: var(--r-sm); background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' fill='none' stroke='%231C1C1A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
  transition: transform .25s, background-color .2s;
}
.faq summary:hover::after { background-color: var(--accent); }
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--accent); }
.faq p { padding: 0 60px 24px 0; color: var(--ink-2); max-width: 40em; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .faq summary { font-size: 16px; } .faq p { padding-right: 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 16px; max-width: 26em; color: var(--ink-2); }
.footer-col .label { margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   Logo pattern (the four-petal mark)
   To remove: delete this block. Original saved in _backup-before-pattern/.
   ========================================================================== */

/* 1. Hero: one oversized outline mark bleeding off the top-right corner */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(320px, 42vw, 620px); aspect-ratio: 1;
  top: clamp(-120px, -8vw, -40px); right: clamp(-180px, -10vw, -60px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23E3E3DE' stroke-width='0.05'%3E%3Cellipse cx='11' cy='6' rx='2.6' ry='5'/%3E%3Cellipse cx='11' cy='16' rx='2.6' ry='5'/%3E%3Cellipse cx='6' cy='11' rx='5' ry='2.6'/%3E%3Cellipse cx='16' cy='11' rx='5' ry='2.6'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: mark-turn 140s linear infinite;
}
@keyframes mark-turn { to { transform: rotate(360deg); } }

/* 2. Dark block: a tiled field of small marks in lime, fading out of the bottom-right corner */
.dark-block { position: relative; isolation: isolate; overflow: hidden; }
.dark-block::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='-11 -11 44 44' fill='none' stroke='%23E4F87A' stroke-width='1'%3E%3Cellipse cx='11' cy='6' rx='2.6' ry='5'/%3E%3Cellipse cx='11' cy='16' rx='2.6' ry='5'/%3E%3Cellipse cx='6' cy='11' rx='5' ry='2.6'/%3E%3Cellipse cx='16' cy='11' rx='5' ry='2.6'/%3E%3C/svg%3E") right bottom / 44px 44px repeat;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 42% 62% at 100% 100%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
          mask-image: radial-gradient(ellipse 42% 62% at 100% 100%, #000 0%, rgba(0,0,0,.35) 45%, transparent 75%);
}

@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }
