/* JB Ornaments: site styles. Tokens come from context/visual-identity.md. */
:root {
  --night: #14100C;
  --night-2: #1F1913;
  --ink: #1E1A16;
  --ink-soft: #5E554B;
  --cream: #F5EFE4;
  --paper: #FBF8F2;
  --line: #E4D9C6;
  --gold: #C99A3E;
  --gold-deep: #9C7429;
  --gold-soft: #E9D29A;
  --wood: #8A4B2A;
  --silver: #B9BDC2;
  --radius: 18px;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1180px;
  --font-body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  /* scroll engine theme (film is dark) */
  --sw-bg: #14100C;
  --sw-ink: #F5EFE4;
  --sw-ink-soft: #CBBFA9;
  --sw-accent: #D9B45A;
  --sw-font-display: "Mukta", system-ui, sans-serif;
  --sw-font-body: "Mukta", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- language: English is primary; Hindi sits beneath headings as a smaller line ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.005em; }
.hi { display: block; font-family: var(--font-body); font-size: .62em; font-weight: 600; color: var(--gold-deep); margin-top: .45em; letter-spacing: 0; line-height: 1.35; }
h3 .hi { font-size: .78em; }
.dark .hi { color: var(--gold-soft); }
.en { display: block; font-size: .9em; color: var(--ink-soft); font-weight: 500; margin-top: .25em; }
.dark .en { color: #CBBFA9; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter);
  transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.on-light, .site-header.is-scrolled-light {
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.on-dark { color: var(--cream); }
.site-header.on-dark.is-solid { background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 46px; height: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .02em; }
.brand__txt small { font-size: .72rem; opacity: .75; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); }
.site-nav a.nav-link {
  text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1.1;
  font-weight: 600; font-size: .95rem; padding: 6px 2px; position: relative;
}
.site-nav a.nav-link small { font-size: .68rem; font-weight: 500; opacity: .7; }
.site-nav a.nav-link::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -2px; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .3s; transform-origin: 50% 50%;
}
.site-nav a.nav-link:hover::after, .site-nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 1.5px solid currentColor; color: inherit; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; cursor: pointer; }

/* header WhatsApp CTA: gold outline capsule with a chat glyph */
.cta-wa {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--gold); color: inherit; border-radius: 999px; padding: 8px 16px 8px 12px;
  font-weight: 700; font-size: .92rem; transition: background .25s, color .25s, transform .25s;
}
.cta-wa svg { width: 18px; height: 18px; flex: none; }
.cta-wa:hover { background: var(--gold); color: var(--night); transform: translateY(-1px); }

@media (max-width: 900px) {
  .menu-btn { display: inline-block; }
  .site-nav {
    position: fixed; inset: 64px 12px auto 12px; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 12px;
    box-shadow: 0 20px 50px rgba(20,16,12,.25); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a.nav-link { flex-direction: row; justify-content: space-between; padding: 12px 10px; border-radius: 10px; }
  .site-nav a.nav-link:hover { background: var(--cream); }
  .site-nav a.nav-link::after { display: none; }
  .site-nav .cta-wa { justify-content: center; margin-top: 6px; padding: 12px; }
  .brand__txt small { display: none; }
}

/* ---------- film (home) ---------- */
/* the engine declares its default theme on .sw-root itself, so the theme must be set on that element too */
#world.sw-root {
  --sw-bg: #14100C; --sw-ink: #F5EFE4; --sw-ink-soft: #CBBFA9; --sw-accent: #D9B45A;
  --sw-font-display: "Mukta", system-ui, sans-serif; --sw-font-body: "Mukta", system-ui, sans-serif;
}
#world .sw-copy { width: min(44vw, 520px); }
#world .sw-copy__num { color: var(--gold-soft); }
#world .sw-copy__title, #world .sw-copy__title-hi, #world .sw-copy__body { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.65); }
#world .sw-copy__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.12; }
#world .sw-copy__title-hi { font-family: var(--font-body); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: var(--gold-soft); margin: 12px 0 0; }
#world .sw-copy__body { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: #EADFCB; margin-top: 18px; }
#world .sw-copy__tags li { color: var(--night); background: var(--gold-soft); border-color: transparent; }
#world .sw-btn--primary { background: var(--gold); color: var(--night); }
#world .sw-btn--ghost { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 40%, transparent); }
#world .sw-hint { color: #CBBFA9; }
#world .sw-copylayer::before {
  width: min(64vw, 860px); background: linear-gradient(90deg, var(--night) 0%, color-mix(in srgb, var(--night) 88%, transparent) 42%, color-mix(in srgb, var(--night) 40%, transparent) 72%, transparent 100%);
}
@media (max-width: 860px) {
  #world .sw-copy { width: auto; }
  #world .sw-copylayer::before { background: linear-gradient(0deg, var(--night) 10%, color-mix(in srgb, var(--night) 75%, transparent) 50%, transparent 100%); }
  #world .sw-copy__title { font-size: clamp(1.8rem, 7.4vw, 2.5rem); }
}
.film-note { position: fixed; left: var(--gutter); bottom: 14px; z-index: 30; font-size: .72rem; color: #8F8370; pointer-events: none; }
@media (max-width: 860px) { .film-note { display: none; } }

/* once the cream content starts covering the film: hold the closing frame, hide the film's copy and rail */
#world .sw-particles { display: none; }
#world.is-past .sw-scene:last-child { opacity: 1 !important; }
#world.is-past .sw-copylayer, #world.is-past .sw-route, #world.is-past .sw-hint { opacity: 0 !important; transition: opacity .3s; }

/* everything after the film covers the engine's fixed layers */
.after-film { position: relative; z-index: 70; background: var(--cream); }

/* ---------- generic layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin: 0; }
.section-head p { font-size: 1.08rem; color: var(--ink-soft); margin: 16px 0 0; }
.kicker { font-size: .86rem; letter-spacing: 0; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 0 14px; }
.dark { background: var(--night); color: var(--cream); }
.dark .section-head p { color: #CBBFA9; }
.dark .kicker { color: var(--gold-soft); }

/* page hero for inner pages */
.page-hero { padding: clamp(120px, 16vw, 180px) 0 clamp(48px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.1; margin: 0; max-width: 20ch; }
.page-hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; color: var(--ink-soft); margin: 22px 0 0; }
.page-hero .rule { width: 72px; height: 3px; background: var(--gold); margin: 28px 0 0; border-radius: 2px; }

/* ---------- promise: three checks ---------- */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: chk; }
.check {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px 28px; overflow: hidden; transition: transform .35s, box-shadow .35s;
}
.check:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,26,22,.08); }
.check__num { font-family: var(--font-display); font-size: 3.6rem; line-height: 1; color: var(--gold); font-weight: 700; }
.check h3 { font-size: 1.32rem; margin: 18px 0 0; line-height: 1.25; }
.check p { margin: 12px 0 0; color: var(--ink-soft); }
.check p .en { font-size: .92em; }
.check .tick { position: absolute; right: 22px; top: 26px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; color: var(--gold-deep); }
@media (max-width: 860px) { .checks { grid-template-columns: 1fr; } }

/* ---------- bill calculator ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.calc__form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .98rem; }
.field label .en { display: inline; font-size: .82rem; margin-left: 6px; }
.field .hint { font-size: .84rem; color: var(--ink-soft); margin-top: 4px; }
.field input[type="number"] {
  width: 100%; margin-top: 8px; font: inherit; font-size: 1.1rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
}
.field input[type="number"]:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: inline-flex; margin-top: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.seg button { font: inherit; font-size: .88rem; font-weight: 600; border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.weight-slider { margin-top: 6px; }
.weight-slider input[type="range"] { width: 100%; accent-color: var(--gold); }
.weight-slider output { font-weight: 700; color: var(--gold-deep); }

/* the receipt: paper slip with a perforated top and bottom edge */
.receipt {
  position: sticky; top: 96px; background: var(--paper); border-radius: 6px; padding: 30px 28px 34px;
  box-shadow: 0 24px 60px rgba(30,26,22,.12); font-variant-numeric: tabular-nums;
  --hole: radial-gradient(circle at 8px 0, transparent 7px, var(--paper) 7.5px);
}
.receipt::before, .receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--hole); background-size: 16px 10px; }
.receipt::before { top: -9px; transform: rotate(180deg); }
.receipt::after { bottom: -9px; }
.receipt__head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1.5px dashed var(--line); padding-bottom: 14px; }
.receipt__head img { width: 40px; }
.receipt__head span { font-size: .78rem; color: var(--ink-soft); text-align: right; }
.receipt__row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.receipt__row span:first-child { font-weight: 600; }
.receipt__row span:first-child .en { display: block; font-size: .8rem; }
.receipt__row span:last-child { font-weight: 700; font-size: 1.08rem; white-space: nowrap; }
.receipt__row.is-total { border-bottom: 0; padding-top: 18px; }
.receipt__row.is-total span:last-child { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-deep); }
.receipt__note { font-size: .82rem; color: var(--ink-soft); margin: 14px 0 0; }
.receipt .pending { color: #B0A592; font-weight: 500; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .receipt { position: relative; top: 0; } }

/* ---------- buy-back steps (dark band) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: #2C241B; border-radius: var(--radius); overflow: hidden; }
.step { background: var(--night-2); padding: 28px 22px; }
.step__n { font-family: var(--font-display); color: var(--gold-soft); font-size: 1.1rem; }
.step h3 { margin: 12px 0 0; font-size: 1.2rem; line-height: 1.3; }
.step p { margin: 10px 0 0; color: #CBBFA9; font-size: .98rem; }
.terms { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.terms li { list-style: none; border: 1px solid #4A3D2E; border-radius: 999px; padding: 8px 14px; font-size: .9rem; color: #EADFCB; }
.terms { padding: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- product cards ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transform-style: preserve-3d; transition: box-shadow .35s;
  will-change: transform;
}
.card:hover { box-shadow: 0 22px 46px rgba(30,26,22,.12); }
.card__media { aspect-ratio: 4 / 5; background: var(--night); position: relative; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.badge { position: absolute; left: 12px; top: 12px; font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink); line-height: 1.2; }
.badge--plated { background: #E6E8EA; color: #3A3F45; }
.badge--gold { background: var(--gold-soft); color: #5A4416; }
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.12rem; line-height: 1.3; }
.card__facts { margin: 6px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--ink-soft); display: grid; gap: 4px; }
.card__facts li::before { content: "·"; color: var(--gold); font-weight: 800; margin-right: 6px; }
.card__ask { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-deep); text-decoration: none; font-size: .95rem; }
.card__ask:hover { text-decoration: underline; text-underline-offset: 4px; }
.card--soon .card__media { display: grid; place-items: center; background: radial-gradient(80% 70% at 50% 40%, #2A2119, var(--night)); }
.card--soon .card__media svg { width: 42%; color: var(--gold-soft); opacity: .9; }
.card--soon .soon { position: absolute; bottom: 12px; left: 12px; right: 12px; text-align: center; font-size: .8rem; color: #CBBFA9; }

/* filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: inherit; font-weight: 700; font-size: .92rem; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; transition: background .2s, border-color .2s; }
.chip small { font-weight: 500; color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] small { color: #CBBFA9; }
.fineprint { font-size: .86rem; color: var(--ink-soft); margin-top: 26px; max-width: 70ch; }

/* ---------- visit block ---------- */
.visit { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.visit__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.visit__photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; gap: 16px; margin: 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: .86rem; letter-spacing: 0; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-size: 1.05rem; }
.facts dd a { text-decoration: none; font-weight: 700; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
/* call CTA: solid ink pill */
.cta-call { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px; transition: transform .2s, background .2s; }
.cta-call:hover { transform: translateY(-2px); background: #000; }
/* directions CTA: underlined link with an arrow that slides */
.cta-dir { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); padding: 12px 4px; }
.cta-dir span { transition: transform .25s; }
.cta-dir:hover span { transform: translateX(4px); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } }

/* ---------- long-form content blocks (verify / about) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; line-height: 1.2; }
.prose p { margin: 0 0 14px; font-size: 1.06rem; }
.prose p.en-p { color: var(--ink-soft); font-size: .98rem; margin-top: -8px; }
.callout { border-left: 3px solid var(--gold); padding: 6px 0 6px 18px; margin: 18px 0; font-size: 1.12rem; font-weight: 700; }
.callout .en { font-weight: 500; }
.huid-demo { background: var(--night); color: var(--cream); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
.huid-demo .code { font-family: ui-monospace, Menlo, monospace; font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: .3em; color: var(--gold-soft); }
.huid-demo .code span { display: inline-block; animation: glint 3.2s ease-in-out infinite; }
@keyframes glint { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.bill-lines { counter-reset: line; padding: 0; margin: 0; display: grid; gap: 10px; }
.bill-lines li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.bill-lines li::before { counter-increment: line; content: counter(line); font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); }
.bill-lines b { display: block; }
.bill-lines .en { font-size: .88rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.timeline { position: relative; display: grid; gap: 24px; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--wood)); }
.timeline li { list-style: none; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold); }
.timeline .yr { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-deep); }
.timeline { margin: 0; }

.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--line); }
.notice { background: #FFF6E3; border: 1px solid #EBD39A; border-radius: 14px; padding: 16px 18px; font-size: .98rem; }
.notice b { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: #CBBFA9; padding: 64px 0 28px; position: relative; z-index: 70; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { width: 64px; }
.site-footer h4 { color: var(--cream); margin: 0 0 10px; font-size: 1rem; }
.site-footer p, .site-footer li { margin: 0 0 6px; font-size: .94rem; }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer a { text-decoration: none; color: var(--cream); }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .legal { border-top: 1px solid #2C241B; margin-top: 40px; padding-top: 18px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* =================== phones =================== */
/* phone action bar: Call + WhatsApp, always one thumb away */
.phone-bar, .calc-mini { display: none; }
@media (max-width: 860px) {
  .phone-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(12px);
    box-shadow: 0 -1px 0 var(--line), 0 -10px 30px rgba(30,26,22,.08);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .phone-bar.is-on { transform: none; }
  .phone-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
  }
  .phone-bar .pb-call { background: var(--ink); color: var(--paper); }
  .phone-bar .pb-wa { border: 1.5px solid var(--gold); color: var(--ink); background: var(--paper); }
  .phone-bar svg { width: 20px; height: 20px; }
  body.has-phone-bar .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  /* film: hide the tiny chapter dots (they sit on the copy and are too small to tap) */
  #world .sw-route { display: none; }
  #world .sw-copy { bottom: calc(clamp(64px, 11dvh, 104px) + env(safe-area-inset-bottom)); }

  /* calculator */
  .field-row { grid-template-columns: 1fr; }
  .seg button { min-height: 44px; padding: 8px 16px; }
  .weight-slider input[type="range"] { height: 44px; }
  .calc-mini {
    position: fixed; left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 94;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    background: var(--night); color: var(--cream); border-radius: 14px; padding: 12px 16px;
    box-shadow: 0 12px 30px rgba(20,16,12,.3); font-variant-numeric: tabular-nums;
    transform: translateY(160%); transition: transform .3s ease; pointer-events: none;
  }
  .calc-mini.is-on { transform: none; }
  .calc-mini b { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-soft); }
  .calc-mini small { display: block; font-size: .8rem; color: #CBBFA9; }

  /* bigger tap targets */
  .card__ask { min-height: 44px; display: inline-flex; align-items: center; }
  .chip { min-height: 44px; }
  .facts dd a { display: inline-block; padding: 10px 0; }
  .site-footer li a { display: inline-block; padding: 10px 0; }
  .cta-call, .cta-wa, .cta-dir { min-height: 48px; }

  /* type and spacing */
  body { font-size: 17px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 104px 0 36px; }
  .section-head h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .check { padding: 24px 20px; }
  .check__num { font-size: 2.8rem; }
  .rail { grid-auto-columns: 78%; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .receipt { padding: 24px 20px 28px; }
  .huid-demo .code { letter-spacing: .18em; }
  .map { aspect-ratio: 1 / 1; }
}
@media (max-width: 560px) {
  /* catalog: two columns so a phone shows more pieces per screen */
  .grid-products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-products .card { border-radius: 14px; }
  .grid-products .card__media { aspect-ratio: 1 / 1; }
  .grid-products .card__body { padding: 12px 12px 10px; gap: 4px; }
  .grid-products .card__body h3 { font-size: 1rem; }
  .grid-products .card__body h3 .hi { font-size: .82em; }
  .grid-products .card__facts { font-size: .82rem; }
  .grid-products .card__facts li:nth-child(n+2) { display: none; }
  .grid-products .card__ask { font-size: .88rem; }
  .grid-products .badge { left: 8px; top: 8px; font-size: .7rem; padding: 4px 8px; }
  .card--soon .soon { font-size: .72rem; bottom: 8px; }
  .chips { gap: 8px; }
  .chip { padding: 8px 14px; font-size: .88rem; }
}
@media (max-width: 360px) {
  .brand__txt b { font-size: .92rem; }
  .brand img { width: 40px; }
  .menu-btn { padding: 8px 12px; }
}

/* reveal on scroll: transform only, never hidden at rest (screenshot-safe) */
.rise { transform: translateY(18px); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rise.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { transform: none; transition: none; }
  .check, .card, .card__media img { transition: none; }
  .huid-demo .code span { animation: none; opacity: 1; }
}
