/* BRUSHSAVARA v4: the owner's brand (brand/brand-book.md, D17/D18) on the v3 layout. Shared by the Shopify theme and site/build.py.
   Fonts are self-hosted (OFL, brand/fonts): no request to Google (D13). */
@font-face { font-family: "Cinzel"; src: url("cinzel.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("montserrat.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
html, body { background: #F3EFE6; margin: 0; }
.sv {
  /* palette from the owner's brand board; contrast in brand/brand-book.md §1 */
  --bg: #F3EFE6; --surface: #FBF9F4; --ink: #2E3D34; --muted: #59645C; --gold: #C8A46A; --olive: #6A7A4E;
  --line: rgba(46, 61, 52, .16); --field: #7D857E;
  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", "Trajan Pro", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip) { html { overflow-x: hidden; } } /* Safari < 16: the rotated hero drawing (ledger S4-15) */
.sv *, .sv *::before, .sv *::after { box-sizing: border-box; }
.sv ::selection { background: rgba(200, 164, 106, .35); }
.sv :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
.sv :where(h1, h2, h3) { font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; text-wrap: balance; }
.sv a { color: inherit; }
.sv :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sv-wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 900px) { .sv-wrap { padding-left: 48px; padding-right: 48px; } }

/* ---------- Buttons ---------- */
.sv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--ink); color: #F3EFE6; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .04em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.sv a.sv-btn { color: #F3EFE6; text-decoration: none; }
.sv-btn:hover { background: #24312A; }
.sv-btn:active { transform: scale(.97); }
.sv-btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.sv-btn--block { width: 100%; }
.sv-more { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.sv-more:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }

/* ---------- Nav ---------- */
.sv-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(243, 239, 230, .84); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.sv-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.sv-mark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.sv-mark img { display: block; height: 30px; width: auto; }
@media (max-width: 420px) { .sv-mark img { height: 24px; } }

/* ---------- Hero ---------- */
.sv-hero { text-align: center; padding-top: 48px; }
@media (min-width: 900px) { .sv-hero { padding-top: 72px; } }
.sv-emblem { display: block; width: 88px; height: auto; margin: 0 auto 22px; }
.sv-status {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
@media (min-width: 700px) { .sv-status::before, .sv-status::after { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; } }
.sv-hero h1 { font-size: clamp(34px, 6.6vw, 76px); line-height: 1.08; letter-spacing: .01em; margin-top: 18px; }
.sv-hero h1 span { display: block; }
.sv-lede { font-size: clamp(17px, 2vw, 19px); line-height: 1.6; color: var(--muted); max-width: 34rem; margin: 20px auto 0; }
.sv-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 30px; }
.sv-product { margin: 44px auto 0; max-width: 1100px; }
.sv-product svg { display: block; width: 100%; height: auto; }
.sv-caption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
@media (max-width: 700px) {
  .sv-product { margin-top: 56px; }
  .sv-product svg { width: 122%; margin-left: -11%; margin-top: 24px; margin-bottom: 56px; transform: rotate(-11deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .sv-in { animation: sv-rise .8s var(--ease) both; }
  .sv-in--1 { animation-delay: .05s; } .sv-in--2 { animation-delay: .17s; } .sv-in--3 { animation-delay: .29s; }
  .sv-in--4 { animation-delay: .41s; }
  .sv-in--5 { animation: sv-settle 1.2s var(--ease) .5s both; }
}
@keyframes sv-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sv-settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.sv-sec { padding-top: 96px; }
@media (min-width: 900px) { .sv-sec { padding-top: 136px; } }
.sv-h2 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.12; }
.sv-h2::before { content: ""; display: block; width: 9px; height: 9px; margin: 0 auto 20px; background: var(--gold); transform: rotate(45deg); } /* the diamond from the logo's A */
.sv-center { text-align: center; }
.sv-sub { font-size: 17px; color: var(--muted); max-width: 34rem; margin-top: 14px; }
.sv-center .sv-sub { margin-left: auto; margin-right: auto; }

/* ---------- Signup tile ---------- */
.sv-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.sv-signup { max-width: 640px; margin: 36px auto 0; padding: 28px 22px; text-align: left; }
@media (min-width: 700px) { .sv-signup { padding: 40px; } }
.sv-form { display: grid; gap: 20px; }
.sv-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.sv-input {
  width: 100%; height: 54px; padding: 0 18px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--field); border-radius: 12px;
}
.sv-input::placeholder { color: var(--muted); }
.sv-input:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); background: #fff; }
.sv-who { border: 0; margin: 0; padding: 0; }
.sv-who legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 8px; }
.sv-who legend span { font-weight: 400; color: var(--muted); }
.sv-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-pill { position: relative; }
.sv-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sv-pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--field); font-size: 14px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.sv-pill input:checked + span { background: var(--ink); color: #F3EFE6; border-color: var(--ink); }
.sv-pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.sv-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.sv-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.sv-fine { font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.sv-error { background: #FBE9E7; color: #8A1C0E; padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.sv-success { font-weight: 600; }

/* ---------- Scroll story (signature) ---------- */
.sv-story { --p: 1; --q: clamp(0, calc((var(--p) - .34) * 3), 1); position: relative; }
.sv-story__stage { padding-top: 96px; }
.sv-story__brush { margin: 40px auto 0; max-width: 1000px; }
.sv-story__brush svg { display: block; width: 100%; height: auto; overflow: visible; }
.sv-steps { list-style: none; margin: 32px auto 0; padding: 0; max-width: 900px; display: grid; gap: 22px; }
@media (min-width: 800px) { .sv-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.sv-steps h3 { font-size: 26px; }
.sv-steps p { color: var(--muted); margin-top: 6px; text-wrap: pretty; }
.sv-dots { display: none; }
/* scroll mode (JS on, motion allowed) */
.sv-story.is-scroll { height: 300vh; }
.sv-story.is-scroll .sv-story__stage {
  position: sticky; top: 0; height: 100vh; height: 100dvh; padding-top: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.sv-story.is-scroll .sv-story__stage > .sv-wrap { width: 100%; }
.sv-story.is-scroll .sv-steps { display: block; position: relative; height: 112px; text-align: center; max-width: 520px; }
.sv-story.is-scroll .sv-steps li { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sv-story.is-scroll[data-active="0"] [data-step="0"],
.sv-story.is-scroll[data-active="1"] [data-step="1"],
.sv-story.is-scroll[data-active="2"] [data-step="2"] { opacity: 1; transform: none; }
.sv-story.is-scroll .sv-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.sv-dots i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--line); transition: background .3s; }
.sv-story[data-active="0"] .sv-dots i:nth-child(1),
.sv-story[data-active="1"] .sv-dots i:nth-child(2),
.sv-story[data-active="2"] .sv-dots i:nth-child(3) { background: var(--gold); }
@media (max-width: 600px) { .sv-story__brush { margin-left: -12px; margin-right: -12px; } }
/* the drawing reacts to --p */
.sv-story .sch-piston { transform: translateX(calc(var(--q) * 492px)); }
.sv-story .sch-paste { transform-box: fill-box; transform-origin: right center; transform: scaleX(calc(1 - var(--q) * .82)); }
.sv-story .sch-dots { opacity: clamp(0, calc((var(--p) - .62) * 4), 1); }
.sv-story .sch-turn { transform-box: fill-box; transform-origin: center; transform: rotate(calc(min(var(--p), .34) * 1060deg)); opacity: clamp(0, calc((.4 - var(--p)) * 6), 1); }

/* ---------- Tiles ---------- */
.sv-facts { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 800px) { .sv-facts { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.sv-fact { padding: 32px 28px; }
.sv-fact h3 { font-size: 21px; line-height: 1.25; }
.sv-fact p { color: var(--muted); margin-top: 10px; }

/* ---------- FAQ ---------- */
.sv-faq { max-width: 760px; margin: 36px auto 0; }
.sv-faq details { border-top: 1px solid var(--line); }
.sv-faq details:last-child { border-bottom: 1px solid var(--line); }
.sv-faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-size: 17px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { color: var(--muted); padding-bottom: 22px; max-width: 62ch; }

/* ---------- Final band + footer (dark, as on the brand board) ---------- */
.sv-final { background: var(--ink); color: #F3EFE6; text-align: center; padding-top: 104px; padding-bottom: 104px; margin-top: 120px; }
.sv-final .sv-h2::before { background: var(--gold); }
.sv-final .sv-sub { color: #C2C3BA; }
.sv .sv-final a.sv-btn { background: #F3EFE6; color: var(--ink); margin-top: 28px; }
.sv .sv-final a.sv-btn:hover { background: #fff; }
.sv-final :focus-visible, .sv-foot :focus-visible { outline-color: #F3EFE6; }
.sv-foot { background: var(--ink); color: #C2C3BA; font-size: 13px; padding-bottom: 36px; }
.sv-foot__in { border-top: 1px solid rgba(200, 164, 106, .45); padding-top: 28px; }
.sv-foot__logo { display: block; height: 26px; width: auto; margin-bottom: 14px; }
.sv-foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.sv-foot a, .sv-foot__link { color: #F3EFE6; text-decoration: none; padding: 12px 0; display: inline-block; }
.sv-foot__link { background: none; border: 0; font: inherit; cursor: pointer; }
.sv-foot__link:hover, .sv-foot a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.sv-foot p { margin-top: 10px; }

/* ---------- Thank-you ---------- */
.sv-merci { text-align: center; padding-top: 72px; padding-bottom: 96px; }
.sv-merci h1 { font-size: clamp(32px, 6vw, 60px); line-height: 1.1; }
.sv-merci .sv-lede { margin-top: 16px; }
.sv-offer { max-width: 560px; margin: 40px auto 0; padding: 32px 28px; text-align: left; display: grid; gap: 14px; }
.sv-offer h2 { font-size: 22px; line-height: 1.25; }
.sv-offer p { color: var(--muted); }
.sv-offer strong { color: var(--ink); }
.sv-back { margin-top: 28px; }
.sv-offer .sv-fine a { display: inline-block; padding: 12px 0; }

/* ---------- Legal ---------- */
.sv-legal { max-width: 720px; padding-top: 64px; padding-bottom: 80px; }
.sv-legal h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; margin-bottom: 24px; }
.sv-legal h2 { font-size: 21px; margin: 40px 0 12px; }
.sv-legal p, .sv-legal li { margin: 0 0 12px; }
.sv-legal ul, .sv-legal ol { padding-left: 22px; margin: 0 0 16px; }
.sv-legal em { color: var(--muted); }
.sv-legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 24px; display: block; overflow-x: auto; }
.sv-legal th, .sv-legal td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); min-width: 120px; }
@media (max-width: 700px) {
  .sv-legal table, .sv-legal tbody, .sv-legal tr, .sv-legal td { display: block; min-width: 0; }
  .sv-legal thead { display: none; }
  .sv-legal tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .sv-legal td { border: 0; padding: 4px 0; }
  .sv-legal td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-top: 6px; }
}
.sv-ph { background: #FFE58A; color: #3A2E00; padding: 0 2px; border-radius: 3px; }
