/* Lo D Ráquira
   Palette: Shadow Grey #242331, Deep Walnut #533E2D, Golden Earth #A27035,
   Camel #B88B4A, Golden Sand #DDCA7D. Warm, like fired clay. */
:root {
  --kaolin: #f6efdc;      /* page: Golden Sand, very light */
  --paper: #fffcf3;       /* raised surfaces */
  --moss: #533e2d;        /* feature sections: Deep Walnut */
  --moss-2: #6b4f37;
  --sage: #b88b4a;        /* secondary accent: Camel */
  --sage-soft: #f0e6c8;
  --oxide: #a27035;       /* main accent: Golden Earth */
  --oxide-hover: #8a5c29;
  --sun: #ddca7d;         /* prices on walnut: Golden Sand */
  --earth: #a27035;
  --clay: #ddca7d;        /* photo tiles */
  --ink: #242331;         /* text: Shadow Grey */
  --muted: #5f5449;
  --line: #e6dbbd;
  --on-dark: #fbf6e8;
  --on-dark-muted: #e3d4b8;
  --focus: #a27035;
  --on-accent: #ffffff;
  --radius-s: 8px;
  --radius-l: 22px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--kaolin); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--oxide); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 10px 14px; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { top: 12px; }

/* type scale (1.25) */
h1, h2, h3 { margin: 0; line-height: 1.05; font-family: var(--font-display); font-weight: 600; letter-spacing: -.015em; font-optical-sizing: auto; }
.display { font-size: clamp(2.7rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.03em; line-height: .98; }
.display em, h2 em { font-style: italic; font-weight: 400; color: var(--oxide); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 500; letter-spacing: -.025em; }
h3 { font-size: 1.35rem; letter-spacing: -.005em; line-height: 1.2; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oxide-hover); margin: 0 0 8px; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.small { font-size: .9rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn {
  box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--oxide) 80%, transparent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--oxide); color: var(--on-accent); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s;
}
.btn:hover { background: var(--oxide-hover); color: var(--on-accent); }
.btn.line { background: transparent; color: var(--ink); border-color: currentColor; }
.btn.line:hover { background: var(--ink); color: var(--kaolin); }
.on-dark .btn.line { color: var(--on-dark); }
.on-dark .btn.line:hover { background: var(--on-dark); color: var(--moss); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }

/* header */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--kaolin) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.36rem; letter-spacing: -.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-family: var(--font); font-weight: 500; font-size: .82rem; color: var(--muted); letter-spacing: 0; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; }
.site-head .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p { margin: 0; color: var(--muted); font-size: 1.1rem; }
.on-dark { background: radial-gradient(120% 100% at 100% 0%, var(--moss-2), var(--moss) 65%); color: var(--on-dark); }
.on-dark .section-head p, .on-dark .small { color: var(--on-dark-muted); }

/* product: sizes drawn to scale */
.lineup { display: grid; grid-template-columns: 27fr 30fr 35fr; gap: clamp(10px, 2vw, 24px); align-items: end; }
.pot { margin: 0; }
.pot picture { display: block; background: var(--clay); border-radius: var(--radius-l) var(--radius-l) var(--radius-s) var(--radius-s); overflow: hidden; }
.pot img { width: 100%; height: 100%; object-fit: cover; }
.pot[data-h="27"] picture { aspect-ratio: 1 / .77; }
.pot[data-h="30"] picture { aspect-ratio: 1 / .86; }
.pot[data-h="35"] picture { aspect-ratio: 1 / 1; }
.pot figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-top: 2px solid var(--ink); margin-top: 12px; padding-top: 10px; }
.pot b { font-size: 1.15rem; }
.pot span { color: var(--muted); font-size: .95rem; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; margin-top: clamp(40px, 6vw, 72px); }
.spec table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 600; width: 42%; padding-right: 16px; }
.spec td { color: var(--muted); }
.frost { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--oxide); background: var(--paper); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .96rem; }
.frost b { display: block; margin-bottom: 2px; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ffffff2e; }
.tier { padding: 26px 24px 28px 0; border-bottom: 1px solid #ffffff2e; }
.tier + .tier { padding-left: 24px; border-left: 1px solid #ffffff2e; }
.tier h3 { margin-bottom: 4px; }
.tier .range { color: var(--on-dark-muted); font-size: .95rem; margin-bottom: 20px; }
.tier .price { font-family: var(--font-display); font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 500; color: var(--sun); letter-spacing: -.035em; line-height: 1; }
.tier .price small { font-family: var(--font); color: var(--on-dark-muted); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--on-dark-muted); }
.tier .margin { margin-top: 12px; font-size: .95rem; color: var(--on-dark-muted); }
.tier.is-active { box-shadow: inset 0 4px 0 var(--sun); }

.config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 6vw, 64px); align-items: start; }
.config-intro h3 { font-size: 1.6rem; margin-bottom: 10px; }
.stepper { display: inline-flex; align-items: stretch; border: 2px solid var(--on-dark); border-radius: 999px; overflow: hidden; margin: 10px 0 14px; }
.stepper button { width: 54px; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: inherit; }
.stepper button:hover { background: #ffffff1a; }
.stepper input { width: 84px; text-align: center; border: 0; background: transparent; font-size: 1.5rem; font-weight: 800; padding: 10px 0; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.receipt { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: 26px; }
.receipt .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-variant-numeric: tabular-nums; }
.receipt .row span:first-child { color: var(--muted); }
.receipt .total { border-top: 2px solid var(--ink); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.35rem; }
.receipt .total span:first-child { color: var(--ink); }
.receipt .actions { display: grid; gap: 10px; margin-top: 20px; }
.receipt .btn.line { color: var(--ink); }
.receipt .btn.line:hover { background: var(--ink); color: var(--paper); }
.receipt .msg { margin: 14px 0 0; font-size: .92rem; color: var(--muted); }
.receipt .msg.warn { color: var(--oxide); font-weight: 600; }
.sample-line { margin-top: 26px; padding-top: 20px; border-top: 1px solid #ffffff2e; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.sample-line p { margin: 0; color: var(--on-dark-muted); }
.sample-line b { color: var(--on-dark); }

/* story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.story .prose p { font-size: 1.1rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--sage); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--kaolin); border: 3px solid var(--sage); }
.timeline li:last-child::before { background: var(--oxide); border-color: var(--oxide); }
.timeline b { display: block; font-size: 1.1rem; }
.timeline span { color: var(--muted); }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.reasons div { padding: 24px 0; border-top: 1px solid var(--line); }
.reasons h3 { margin-bottom: 8px; }
.reasons p { color: var(--muted); margin: 0; }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sage); font-weight: 800; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--on-dark-muted); margin: 0; }

/* faq */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.12rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* forms */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fields .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field small { color: var(--muted); font-weight: 400; }
.input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--kaolin); color: var(--ink); }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 45%, transparent); }
.input[aria-invalid="true"] { border-color: var(--oxide); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--oxide); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; font-weight: 600; margin: 16px 0 0; }
.alert.err { background: color-mix(in srgb, var(--oxide) 14%, transparent); color: var(--oxide); }
.alert.ok { background: var(--sage-soft); color: var(--ink); }
.alert[hidden] { display: none; }
.quote-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list b { display: block; }

/* footer */
.site-foot { background: var(--moss); color: var(--on-dark); padding: 56px 0 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot a { color: var(--on-dark); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot h3 { font-size: 1rem; margin-bottom: 12px; }
.legal-line { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ffffff2e; color: var(--on-dark-muted); font-size: .86rem; }
.legal-line p { max-width: none; margin: 0 0 4px; }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: 40px 0 96px; }
.co h1 { font-size: clamp(2.1rem, 4vw, 3rem); letter-spacing: -.03em; margin-bottom: 8px; }
.co fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.co legend { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; padding: 0; }
.co aside { position: sticky; top: 96px; }
.kind-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.kind-switch button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-weight: 600; cursor: pointer; }
.kind-switch button[aria-pressed="true"] { background: var(--ink); color: var(--kaolin); }
.co .stepper { border-color: var(--ink); margin: 4px 0 6px; }
.co .stepper button:hover { background: var(--sage-soft); }
.mini { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.mini picture { width: 92px; flex: none; border-radius: 10px; overflow: hidden; background: var(--clay); aspect-ratio: 1; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
#paypal-area { margin-top: 18px; min-height: 60px; }
.done { text-align: left; padding: 72px 0 120px; max-width: 720px; }
.done h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.035em; margin-bottom: 18px; }

/* legal pages */
.doc { max-width: 760px; padding: 56px 0 96px; }
.doc h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 12px; }
.doc h2 { font-size: 1.45rem; margin: 40px 0 12px; letter-spacing: -.01em; }
.doc li { margin-bottom: 6px; }
.doc .todo { background: color-mix(in srgb, var(--oxide) 12%, transparent); border-left: 4px solid var(--oxide); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .95rem; }

/* responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .site-head .btn { display: none; }
  .nav.open { display: grid; position: absolute; top: 72px; left: 0; right: 0; background: var(--kaolin); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; gap: 0; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .section-head, .spec, .config, .story, .quote-wrap, .co { grid-template-columns: minmax(0, 1fr); }
  .co aside { position: static; order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .brand small { display: none; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .tier, .tier + .tier { padding: 22px 0; border-left: 0; }
  .tier.is-active { box-shadow: inset 4px 0 0 var(--sage); padding-left: 18px; }
  .reasons, .steps, .fields { grid-template-columns: minmax(0, 1fr); }
  .lineup { gap: 8px; }
  .pot figcaption { display: block; }
  .pot span { display: block; font-size: .82rem; }
  .pot b { font-size: 1rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- interactive 3D planters ---------- */
.viewer3d { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.v3d-stage {
  position: relative; min-height: 460px; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden;
  background-color: var(--tint, #efe1b0);
  background-image:
    radial-gradient(60% 55% at 50% 42%, #fffaf0cc 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, #533e2d1f 100%);
  transition: background-color .9s cubic-bezier(.4, 0, .2, 1);
  box-shadow: inset 0 0 0 1px var(--line);
}
.v3d-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; outline: none; }
.v3d-stage canvas:active { cursor: grabbing; }
.v3d-stage canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--focus); }
.v3d-dim { position: absolute; left: 0; top: 0; pointer-events: none; font: 600 .82rem/1 var(--font); color: var(--on-accent); background: var(--oxide); padding: 5px 8px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.viewer3d:not([data-mode="all"]) .v3d-dim { opacity: 1; }
.v3d-hint { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: .82rem; color: var(--on-dark-muted); transition: opacity .4s; }
.viewer3d.touched .v3d-hint { opacity: 0; }
.v3d-spin { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fffcf3e0; color: var(--moss); display: grid; place-items: center; cursor: pointer; }
.v3d-spin svg { width: 20px; height: 20px; }
.v3d-spin[aria-pressed="false"] { opacity: .6; }
.v3d-fallback { display: none; position: absolute; inset: 0; align-items: center; padding: 16px; }
.viewer3d.no-webgl .v3d-fallback { display: flex; }
.viewer3d.no-webgl .v3d-hint, .viewer3d.no-webgl .v3d-spin { display: none; }
.v3d-side { display: flex; flex-direction: column; gap: 22px; }
.v3d-panel h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 500; margin-bottom: 14px; }
.v3d-panel p { color: var(--muted); }
.v3d-measure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.v3d-measure div { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.v3d-measure dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.v3d-measure dd { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.v3d-sizes { list-style: none; padding: 0; margin: 0; }
.v3d-sizes li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.v3d-sizes b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.v3d-sizes span { color: var(--muted); }
.v3d-note { margin-top: auto; }
@media (max-width: 980px) {
  .viewer3d { grid-template-columns: minmax(0, 1fr); }
  .v3d-stage { min-height: 0; aspect-ratio: auto; height: clamp(300px, 80vw, 520px); }
}
@media (max-width: 680px) {
    }

/* ---------- redesign: organic shapes, rounded cards ---------- */
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.dark { background: var(--moss); color: var(--on-dark); box-shadow: 0 10px 24px -12px #533e2d; }
.btn.dark:hover { background: #3f2f22; color: var(--on-dark); }

.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 80px) 0 clamp(90px, 10vw, 140px); }
.hero-blob { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(42% 60% at 8% 92%, #ddca7d66 0 60%, transparent 61%),
    radial-gradient(55% 75% at 92% 30%, #ddca7d40 0 55%, transparent 56%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .display { margin: 6px 0 22px; }
.hero .lede { margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; font-size: .95rem; color: var(--muted); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg, .promise svg { width: 22px; height: 22px; fill: none; stroke: var(--moss); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; margin: 0; }
.hero-arch { position: relative; aspect-ratio: 1 / .92; border-radius: 48% 52% 46% 54% / 56% 50% 50% 44%;
  background: radial-gradient(70% 60% at 50% 30%, #fffaf0, transparent 70%), linear-gradient(160deg, #efe1b0, #ddca7d 60%, #b88b4a);
  display: flex; align-items: flex-end; justify-content: center; padding: 0 6% 16%; overflow: hidden; box-shadow: 0 40px 80px -50px #533e2d; }
.hero-arch picture { width: 100%; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 40px -24px #533e2dcc; }
.hero-arch img { width: 100%; }
.stamp { position: absolute; top: 2%; right: 2%; width: clamp(96px, 11vw, 132px); }
.stamp circle { fill: var(--oxide); }
.stamp text { fill: #fffaf0; font: 600 10.5px var(--font); letter-spacing: 2.2px; }
.stamp-pot { fill: none; stroke: #fffaf0; stroke-width: 2; }
@media (prefers-reduced-motion: no-preference) {
  .stamp text { animation: stamp-spin 24s linear infinite; transform-origin: 60px 60px; }
  @keyframes stamp-spin { to { transform: rotate(360deg); } }
}
.hero-visual figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); text-align: center; }

.trust { margin-top: clamp(-70px, -6vw, -40px); position: relative; z-index: 2; }
.trust-card { list-style: none; margin: 0; padding: 26px clamp(16px, 3vw, 32px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: 0 24px 50px -36px #533e2d99; }
.trust-card li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 4px; padding: 6px 14px; }
.trust-card li + li { border-left: 1px solid var(--line); }
.trust-card .ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px; background: #efe1b0; }
.trust-card li:nth-child(2) .ico { background: #ead2b0; }
.trust-card li:nth-child(3) .ico { background: var(--oxide); }
.trust-card li:nth-child(3) .ico svg { stroke: #fff; }
.trust-card li:nth-child(4) .ico { background: #f0e2c9; }
.trust-card svg { width: 24px; height: 24px; fill: none; stroke: var(--moss); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-card b { font-weight: 600; }
.trust-card li > span:last-child { font-size: .88rem; color: var(--muted); }

/* viewer: video-style size chips + big size number behind the pot */
.v3d-big { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font: 500 clamp(8rem, 20vw, 16rem)/1 var(--font-display);
  color: #fffaf0; opacity: .6; pointer-events: none; white-space: nowrap; letter-spacing: -.04em; }
.v3d-big.swap { animation: big-swap .9s ease-in-out; }
@keyframes big-swap { 0% { opacity: 0; } 100% { opacity: .6; } }
.viewer3d.moving .v3d-dim { opacity: 0 !important; }
.v3d-choose-label { margin: 0 0 10px; font-size: .9rem; font-weight: 500; color: var(--muted); }
.v3d-chips { display: flex; gap: 10px; }
.v3d-chips button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  font: 600 1rem var(--font); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.v3d-chips button:hover { border-color: var(--oxide); transform: translateY(-2px); }
.v3d-chips button[aria-pressed="true"] { background: var(--moss); border-color: var(--moss); color: var(--on-dark); }
.v3d-panel:not([hidden]) { animation: panel-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* split band */
.split-band { padding: clamp(56px, 8vw, 100px) 0 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr 1fr; border-radius: var(--radius-l); overflow: hidden; min-height: 300px; }
.split-cta { background: var(--moss); color: var(--on-dark); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.split-cta h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.split-cta p { color: var(--on-dark-muted); }
.split-cta .btn { align-self: flex-start; margin-top: 8px; }
.split-photo { background: #efe1b0; }
.split-photo picture, .split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-quote { margin: 0; background: #3f2f22; color: var(--on-dark); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.split-quote::before { content: "\201C"; font: 600 4rem/1 var(--font-display); color: var(--sun); height: 40px; }
.split-quote p { font: 400 clamp(1.3rem, 2vw, 1.6rem)/1.35 var(--font-display); margin-bottom: 16px; }
.split-quote footer { font-size: .9rem; color: var(--on-dark-muted); }

/* promise strip */
.promise { border-top: 1px solid var(--line); padding: 34px 0; }
.promise .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; }
.promise-line { margin: 0; font: 500 1.35rem/1.25 var(--font-display); padding-right: 48px; border-right: 1px solid var(--line); }
.promise ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 0; margin: 0; }
.promise li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.promise svg { width: 30px; height: 30px; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .trust-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .trust-card li:nth-child(3) { border-left: 0; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-cta { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .trust-card { grid-template-columns: minmax(0, 1fr); }
  .trust-card li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-photo { height: 220px; }
  .promise-line { border-right: 0; padding-right: 0; }
}

/* ---------- 3D / Photo / Compare ---------- */
.v3d-stage canvas { transition: left .6s cubic-bezier(.4, 0, .2, 1), width .6s cubic-bezier(.4, 0, .2, 1), top .6s cubic-bezier(.4, 0, .2, 1), height .6s cubic-bezier(.4, 0, .2, 1), opacity .4s; }
.v3d-views { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; padding: 4px; gap: 2px; border-radius: 999px; background: #fffcf3e6; box-shadow: 0 6px 18px -10px #533e2d; }
.v3d-views button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font: 600 .85rem var(--font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.v3d-views button:hover { color: var(--ink); }
.v3d-views button[aria-pressed="true"] { background: var(--moss); color: var(--on-dark); }
.v3d-photo { position: absolute; top: 0; left: 0; bottom: 0; width: 100%; display: grid; place-items: center; padding: 64px 28px 28px; pointer-events: none; opacity: 0;
  transition: opacity .45s, width .6s cubic-bezier(.4, 0, .2, 1), height .6s cubic-bezier(.4, 0, .2, 1); }
.v3d-photo figure { grid-area: 1 / 1; margin: 0; max-width: 100%; max-height: 100%; opacity: 0; transform: scale(.97); transition: opacity .45s, transform .45s; }
.v3d-photo picture { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 44px -26px #533e2dcc; border: 6px solid #fffcf3; }
.v3d-photo img { max-height: min(420px, calc(100% - 0px)); width: auto; max-width: 100%; object-fit: contain; }
.viewer3d[data-mode="all"] [data-photo="all"], .viewer3d[data-mode="No.1"] [data-photo="No.1"],
.viewer3d[data-mode="No.2"] [data-photo="No.2"], .viewer3d[data-mode="No.3"] [data-photo="No.3"] { opacity: 1; transform: none; }
.v3d-tag { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font: 600 .75rem var(--font); letter-spacing: .08em; text-transform: uppercase;
  color: var(--moss); background: #fffcf3e6; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.v3d-tag-3d { opacity: 0; transition: opacity .3s; pointer-events: none; left: 76%; }

/* photo only */
.viewer3d[data-view="photo"] .v3d-photo { opacity: 1; pointer-events: auto; }
.viewer3d[data-view="photo"] canvas { opacity: 0; pointer-events: none; }
.viewer3d[data-view="photo"] :is(.v3d-big, .v3d-dim, .v3d-hint, .v3d-spin) { opacity: 0 !important; pointer-events: none; }
.viewer3d[data-view="photo"] .v3d-photo img { max-height: 380px; min-width: min(300px, 100%); }

/* compare: photo on the left, live 3D on the right */
.viewer3d[data-view="compare"] .v3d-photo { opacity: 1; width: 48%; padding: 64px 12px 48px 20px; }
.viewer3d[data-view="compare"] canvas { left: 48%; width: 52%; }
.viewer3d[data-view="compare"] .v3d-tag-3d { opacity: 1; }
.viewer3d[data-view="compare"] .v3d-big { opacity: 0; }
.viewer3d[data-view="compare"] .v3d-stage::after { content: ""; position: absolute; left: 48%; top: 64px; bottom: 20px; border-left: 1.5px dashed #533e2d40; }
.viewer3d[data-view="compare"] .v3d-hint { left: 50%; }
@media (max-width: 680px) {
  .v3d-views button { padding: 7px 11px; }
  .viewer3d[data-view="compare"] .v3d-stage { height: clamp(460px, 130vw, 620px); }
  .viewer3d[data-view="compare"] .v3d-photo { width: 100%; bottom: auto; height: 48%; padding: 60px 16px 10px; }
  .viewer3d[data-view="compare"] canvas { left: 0; width: 100%; top: 48%; height: 52%; }
  .viewer3d[data-view="compare"] .v3d-stage::after { left: 20px; right: 20px; top: 48%; bottom: auto; border-left: 0; border-top: 1.5px dashed #533e2d40; }
  .viewer3d[data-view="compare"] .v3d-tag-3d { left: 50%; }
  .viewer3d[data-view="compare"] .v3d-photo .v3d-tag { bottom: 0; }
  .viewer3d[data-view="compare"] .v3d-hint { left: 16px; }
}

/* ---------- Ráquira ---------- */
.raquira { background: linear-gradient(180deg, transparent, #efe1b055 30%, #efe1b055 70%, transparent); }
.raq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.raq-copy h2 { margin: 6px 0 22px; }
.raq-copy .lede { margin-bottom: 18px; }
.raq-copy > p:not(.lede):not(.eyebrow) { color: var(--muted); }
.raq-facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.raq-facts li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.raq-facts b { display: block; font: 500 1.4rem/1.1 var(--font-display); color: var(--oxide-hover); margin-bottom: 4px; }
.raq-facts span { font-size: .88rem; color: var(--muted); }
.raq-art { margin: 0; position: relative; }
.raq-art picture { display: block; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -40px #533e2d; aspect-ratio: 4 / 3.4; }
.raq-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.raq-art figcaption { position: absolute; left: 18px; top: 18px; display: flex; align-items: center; gap: 6px; background: #fffcf3e6; padding: 7px 12px 7px 9px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.raq-art figcaption svg { width: 18px; height: 18px; box-shadow: none; border-radius: 0; fill: none; stroke: var(--oxide); stroke-width: 2; }
.raq-steps-h { margin: clamp(48px, 6vw, 72px) 0 22px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 500; }
.raq-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: rs; }
.raq-steps li { counter-increment: rs; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px 20px; }
.raq-steps li::before { content: counter(rs, decimal-leading-zero); display: block; font: 500 .85rem var(--font); color: var(--oxide-hover); letter-spacing: .1em; margin-bottom: 10px; }
.raq-steps b { display: block; font: 500 1.25rem var(--font-display); margin-bottom: 4px; }
.raq-steps span { font-size: .9rem; color: var(--muted); }
@media (max-width: 980px) {
  .raq-grid { grid-template-columns: minmax(0, 1fr); }
  .raq-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .raq-facts { grid-template-columns: minmax(0, 1fr); }
  .raq-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* photos fill their side of the stage instead of sitting at their small native size */
.v3d-photo figure { width: min(100%, 440px); }
.v3d-photo figure[data-photo="all"] { width: min(100%, 620px); }
.v3d-photo img { width: 100%; height: auto; max-height: none; }
.viewer3d[data-view="photo"] .v3d-photo img { max-height: none; min-width: 0; }
.viewer3d:is([data-view="compare"], [data-view="photo"]) .v3d-big { visibility: hidden; }
.viewer3d[data-view="compare"] .v3d-hint { display: none; }
@media (max-width: 680px) {
  .viewer3d[data-view="compare"] .v3d-stage { height: clamp(520px, 150vw, 640px); }
  .viewer3d[data-view="compare"] .v3d-photo figure { width: auto; }
  .viewer3d[data-view="compare"] .v3d-photo img { width: auto; max-width: 100%; max-height: 190px; }
}

/* ---------- verified-content layout ---------- */
.raq-steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.raq-source { margin-top: 18px; }
.care { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.care li { background: #ffffff10; border: 1px solid #ffffff24; border-radius: 18px; padding: 20px 18px; }
.care h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--sun); }
.care p { margin: 0; color: var(--on-dark-muted); font-size: .95rem; }
.steps-light li::before { border-color: var(--oxide); color: var(--oxide-hover); }
.steps-light p { color: var(--muted); }
.split-note::before { content: none; }
.split-note .eyebrow { color: var(--sun); }
@media (max-width: 980px) {
  .raq-steps-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .care { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .raq-steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care { grid-template-columns: minmax(0, 1fr); }
}

/* The stage stretches to the height of the text column beside it; with aspect-ratio
   that height would set its width and push it into the next column. Pin the width. */
.v3d-stage { width: 100%; min-width: 0; }
.viewer3d { align-items: start; }

/* Compare is the only view now (no 3D / Photo switch), so the top spacing reserved for the switch goes */
.viewer3d[data-view="compare"] .v3d-photo { padding: 28px 12px 52px 20px; }
.viewer3d[data-view="compare"] .v3d-stage::after { top: 24px; }
@media (max-width: 680px) {
  .viewer3d[data-view="compare"] .v3d-photo { padding: 20px 16px 12px; }
}

/* ---------- scroll-expansion block (vanilla take on the "scroll expand media" component) ----------
   The section is taller than the screen; its inner part sticks while you scroll through it,
   and scroll-expand.js turns the scroll position into --p (0 → 1). Normal page scrolling is never blocked. */
.sx { position: relative; height: 230vh; margin-top: clamp(40px, 6vw, 80px); }
.sx-sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; display: grid; place-items: center; background: var(--moss); }
.sx-bg { position: absolute; inset: 0; opacity: calc(1 - var(--p, 0)); }
.sx-bg picture, .sx-bg img { width: 100%; height: 100%; object-fit: cover; }
.sx-bg::after { content: ""; position: absolute; inset: 0; background: #24233133; }
.sx-media { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: var(--sx-w, 300px); height: var(--sx-h, 400px); max-width: 95vw; max-height: 85vh;
  border-radius: 22px; overflow: hidden; box-shadow: 0 0 60px #0000004d; background: #efe1b0; }
.sx-media picture, .sx-media img { width: 100%; height: 100%; object-fit: cover; }
.sx-shade { position: absolute; inset: 0; background: #2423318c; opacity: calc(.7 - var(--p, 0) * .55); }
.sx-text { position: relative; z-index: 2; text-align: center; color: #fffaf0; pointer-events: none; text-shadow: 0 2px 24px #00000059; }
.sx-title { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 500; line-height: 1.02; margin: 10px 0; }
.sx-title span { display: block; }
.sx-title .sx-go-right { font-style: italic; color: var(--sun); }
.sx-kicker { margin: 0 auto; max-width: none; font-size: clamp(.95rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.sx-go-left { transform: translateX(calc(var(--sx-x, 0vw) * -1)); }
.sx-go-right { transform: translateX(var(--sx-x, 0vw)); }
.sx-hint { opacity: calc(1 - var(--p, 0) * 2); }
/* reduced motion: no scroll effect, just the photo at its final size */
@media (prefers-reduced-motion: reduce) {
  .sx { height: auto; }
  .sx-sticky { position: relative; height: 70vh; }
  .sx-bg { opacity: 0; }
  .sx-media { --sx-w: 95vw; --sx-h: 70vh; }
  .sx-text, .sx-hint { display: none; }
}
.sx-media { top: calc(50% + 36px); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }

/* ---------- scroll-expansion in the Ráquira section ----------
   Start: small photo of Ráquira over the full-screen photo of the clay figures.
   End: the photo sits in the right column and the explanation appears on the left (desktop). */
.raq-expand .sx { margin-top: 0; }
.raq-expand .sx-sticky { background: var(--kaolin); display: block; }
.raq-expand .sx-bg::after { background: #24233166; }
.raq-expand .sx-media { left: var(--sx-l, calc(50% - 150px)); top: var(--sx-t, calc(50% - 164px)); transform: none;
  width: var(--sx-w, 300px); height: var(--sx-h, 400px); max-width: none; max-height: none; background: var(--moss); z-index: 1; }
.sx-place { position: absolute; left: 16px; top: 16px; z-index: 2; margin: 0; display: flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px;
  border-radius: 999px; background: #fffcf3e6; color: var(--ink); font-size: .85rem; font-weight: 600; opacity: var(--p, 0); }
.sx-place svg { width: 18px; height: 18px; fill: none; stroke: var(--oxide); stroke-width: 2; }
.raq-expand .sx-text { position: absolute; inset: 0; display: grid; place-content: center; z-index: 2; transition: opacity .4s; }
.sx-done .sx-text { opacity: 0; }
/* the explanation, left column, inside the sticky area */
.sx-layout { position: relative; height: 100%; display: flex; align-items: center; padding-top: 72px; }
.sx-copy { width: 50%; padding-right: clamp(24px, 4vw, 56px); opacity: var(--pc, 0); transform: translateY(calc((1 - var(--pc, 0)) * 24px)); }
.sx-copy h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin: 6px 0 16px; }
.sx-copy .lede { font-size: 1.08rem; margin-bottom: 12px; }
.sx-copy > p:not(.lede):not(.eyebrow) { font-size: .98rem; }
.sx-copy .raq-facts { margin-top: 16px; }
.raq-copy-mobile { display: none; }
/* steps below */
.raq-expand .raq-content { padding-top: clamp(40px, 5vw, 64px); }
@media (max-width: 980px) {
  .sx-copy { display: none; }
  .raq-copy-mobile { display: block; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .raq-expand .sx-sticky { height: 100vh; }
  .raq-expand .sx-media { --sx-w: inherit; --sx-h: inherit; }
  .raq-expand .sx-bg { opacity: 0; }
}

/* ---------- centred animated hero (vanilla take on the "animated hero" component) ---------- */
.hero-centered .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--sage-soft);
  color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; margin-bottom: 28px; transition: background-color .2s; }
.hero-pill:hover { background: #ead9ad; color: var(--ink); }
.hero-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-centered .hero-title { max-width: none; margin: 0 0 22px; font-size: clamp(2.7rem, 7vw, 5.6rem); letter-spacing: -.035em; }
.hero-title > span { display: block; }
.hero-rotator { position: relative; display: block; height: 1.15em; overflow: hidden; padding-bottom: .1em; }
.hero-word { position: absolute; left: 0; right: 0; top: 0; font-style: italic; font-weight: 500; color: var(--oxide); white-space: nowrap;
  opacity: 0; transform: translateY(110%);
  transition: transform .9s cubic-bezier(.34, 1.45, .64, 1), opacity .5s ease; }
.hero-word.is-on { opacity: 1; transform: translateY(0); }
.hero-word.is-past { opacity: 0; transform: translateY(-110%); }
.hero-centered .lede { margin: 0 auto 30px; max-width: 46rem; text-align: center; }
.hero-centered .hero-ctas { justify-content: center; margin-bottom: clamp(36px, 5vw, 56px); }
.hero-centered .hero-visual { width: min(100%, 860px); }
.hero-frame { border-radius: 28px; padding: clamp(14px, 2.4vw, 26px); background: linear-gradient(160deg, #efe1b0, #ddca7d 60%, #b88b4a); box-shadow: 0 40px 80px -50px #533e2d; }
.hero-frame picture { display: block; border-radius: 18px; overflow: hidden; }
.hero-frame img { width: 100%; }
.hero-centered .stamp { top: -36px; right: -18px; }
@media (prefers-reduced-motion: reduce) { .hero-word { transition: opacity .3s; transform: none !important; } }
@media (max-width: 680px) {
  .hero-centered .hero-title { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-centered .stamp { width: 84px; top: -28px; right: -6px; }
}

/* ---------- testimonial globe ---------- */
.tg[hidden] { display: none; }
.tg { position: relative; overflow: hidden; background: radial-gradient(40% 60% at 28% 50%, #efe1b07a, transparent 72%); }
.tg-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.tg-wide .tg-stage { display: grid; grid-template-columns: auto minmax(0, 34rem); column-gap: clamp(36px, 5vw, 72px); align-items: center; justify-content: center; }
.tg-globe { position: relative; flex: none; touch-action: pan-y; user-select: none; cursor: grab; }
.tg-globe.dragging { cursor: grabbing; }
.tg-canvas, .tg-canvas canvas { position: absolute; inset: 0; display: block; }
.tg-fallback { display: none; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid var(--line);
  background: radial-gradient(circle at 36% 30%, #fffcf3, #efe1b0 72%); }
.tg-nogl .tg-fallback { display: block; }
.tg-pins { position: absolute; inset: 0; pointer-events: none; }
.tg-pin { position: absolute; left: 0; top: 0; width: var(--pin, 40px); height: var(--pin, 40px); padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; opacity: 0; will-change: transform; }
.tg-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--tone); opacity: .3; animation: tg-ping 3s ease-out infinite; }
.tg-pin.is-featured::before { opacity: .85; }
@keyframes tg-ping { 0% { transform: scale(1); } 70%, 100% { transform: scale(1.9); opacity: 0; } }
.tg-pin > img, .tg-pin > .tg-initials { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px var(--kaolin), 0 0 0 4px var(--tone), 0 6px 14px -6px #533e2d; transition: transform .2s; }
.tg-pin.is-featured > img, .tg-pin.is-featured > .tg-initials { transform: scale(1.3); }
.tg-pin:focus-visible { outline: none; }
.tg-pin:focus-visible > * { outline: 2px solid var(--ink); outline-offset: 6px; }
.tg-initials { background: var(--tone); color: #fffcf3; font: 600 .78rem var(--font); letter-spacing: .04em; }
.tg-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 6px 0 12px; }
.tg-caption { color: var(--muted); margin-bottom: 14px; }
.tg-stats { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0 0 22px; }
.tg-stats div { display: flex; align-items: baseline; gap: 6px; }
.tg-stats dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.tg-stats dt { color: var(--muted); font-size: .92rem; }
.tg-card-wrap { position: relative; width: 100%; max-width: 34rem; }
.tg-cards { display: grid; }
.tg-card { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; min-height: 220px; padding: 24px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 50px -40px #533e2d; }
.tg-card.leaving { pointer-events: none; }
.tg-card-top { display: flex; align-items: center; gap: 12px; padding-right: 120px; min-height: 28px; }
.tg-qmark { width: 28px; height: 28px; fill: var(--sun); flex: none; }
.tg-stars { color: var(--oxide); letter-spacing: 2px; font-size: .95rem; }
.tg-example { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #c4521f; padding: 3px 8px; border-radius: 999px; }
.tg-card blockquote { margin: 12px 0 0; }
.tg-card blockquote p { margin: 0; font: 400 1.15rem/1.55 var(--font-display); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tg-card figcaption { margin-top: auto; padding-top: 20px; display: flex; align-items: center; gap: 12px; }
.tg-card-av { width: 44px; height: 44px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--tone); }
.tg-card-av > * { display: grid; place-items: center; width: 100%; height: 100%; object-fit: cover; }
.tg-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tg-who b { font-size: .95rem; }
.tg-who span { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-where { text-align: right; font-size: .82rem; color: var(--muted); line-height: 1.25; }
.tg-where small { display: block; font-size: .7rem; letter-spacing: .1em; }
.tg-nav { position: absolute; top: 20px; right: 16px; z-index: 2; display: flex; align-items: center; gap: 2px; }
.tg-nav[hidden] { display: none; }
.tg-nav button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.tg-nav button:hover { background: var(--sage-soft); color: var(--ink); }
.tg-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-count { min-width: 44px; text-align: center; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tg-leader { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: visible; pointer-events: none; z-index: 5; }
.tg-leader g { opacity: 0; transition: opacity .2s; }
.tg-leader line { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1; vector-effect: non-scaling-stroke; transform-origin: 0 0; }
.tg-dot-a { fill: var(--ink); fill-opacity: .55; }
.tg-dot-b { fill: var(--kaolin); stroke: var(--ink); stroke-opacity: .5; stroke-width: 1.2; }
.tg-wide .tg-globe { grid-row: 1 / span 2; }
.tg:not(.tg-wide) .tg-head { text-align: center; }
.tg:not(.tg-wide) .tg-stats { justify-content: center; }
@media (max-width: 520px) { .tg-card { padding: 18px; } .tg-card-top { padding-right: 104px; } .tg-card blockquote p { font-size: 1.02rem; } }
@media (prefers-reduced-motion: reduce) { .tg-pin::before { animation: none; } }

/* ---------- motion: hero load-in + reveal on scroll ----------
   Only opacity and transform are animated (compositor-friendly, no layout work).
   Everything is skipped for visitors who prefer reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero-centered .hero-pill,
  .hero-centered .hero-title,
  .hero-centered .lede,
  .hero-centered .hero-ctas,
  .hero-centered .hero-visual { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-centered .hero-title { animation-delay: .08s; }
  .hero-centered .lede { animation-delay: .18s; }
  .hero-centered .hero-ctas { animation-delay: .26s; }
  .hero-centered .hero-visual { animation-delay: .36s; animation-duration: 1.1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

  .reveal-on .rv { opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--rv-i, 0) * 90ms); }
  .reveal-on .rv.rv-left { transform: translateX(-28px); }
  .reveal-on .rv.rv-right { transform: translateX(28px); }
  .reveal-on .rv.rv-zoom { transform: scale(.96); }
  .reveal-on .rv.in { opacity: 1; transform: none; }
}

/* ---------- section bands: stronger contrast between sections ----------
   cream (page) → warm white → sand, with walnut and shadow-grey as dark anchors */
:root { --band-paper: #ffffff; --band-sand: #e9d8a8; --band-ink: #36271c; } /* slightly stronger steps between bands; ink = deep walnut */
.band-paper { background: var(--band-paper); }
.band-sand { background: var(--band-sand); }
.band-ink { background: var(--band-ink); color: var(--on-dark); }
/* cards that sat on cream keep separating on the new bands */
.band-sand .form-card, .band-sand .v3d-measure div { background: var(--paper); border-color: #e2d2a4; }
.band-sand .input { background: #fffdf7; }
.band-sand .timeline li::before { background: var(--band-sand); }
.band-paper .faq details, .band-paper .faq details:last-child { border-color: #ece2c8; }
/* FAQ and the trade band had no top padding because they followed a same-colour block */
.split-band { padding-bottom: clamp(56px, 8vw, 100px); }
/* testimonials on the dark band */
.tg.band-ink { background: radial-gradient(42% 60% at 28% 50%, #533e2d, var(--band-ink) 72%); }
.band-ink .eyebrow { color: var(--sun); }
.band-ink .tg-head h2 { color: var(--on-dark); }
.band-ink .tg-head h2 em { color: var(--sun); }
.band-ink .tg-caption, .band-ink .tg-stats dt { color: var(--on-dark-muted); }
.band-ink .tg-card { color: var(--ink); border-color: transparent; box-shadow: 0 30px 60px -30px #000; }
.band-ink .tg-pin > img, .band-ink .tg-pin > .tg-initials { box-shadow: 0 0 0 2px var(--band-ink), 0 0 0 4px var(--tone), 0 6px 14px -6px #000; }
.band-ink .tg-leader line { stroke: #f4efe3; stroke-opacity: .45; }
.band-ink .tg-dot-a { fill: #f4efe3; fill-opacity: .7; }
.band-ink .tg-dot-b { fill: var(--band-ink); stroke: #f4efe3; stroke-opacity: .7; }
.band-ink .tg-fallback { background: radial-gradient(circle at 36% 30%, #6b4f37, #3f2f22 72%); border-color: #ffffff22; }

/* small labels stay readable on the deeper sand band (4.9:1) */
.band-sand .eyebrow { color: #774f22; }
