/* =====================================================================
   HOW TO EDIT (owner): layout and components for the whole website.
   Colours and fonts are NOT here - change them in css/tokens.css.
   Only touch this file for layout changes (sizes, spacing, columns).
   Sections are marked with ==== headings so you can find things.
   ===================================================================== */

/* ==== 1. Reset and base ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-3); letter-spacing: -0.01em; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--space-4); }
a { color: var(--text); text-decoration-color: var(--steel); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--accent-text); }
strong { font-weight: 600; }
small, .small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }
code, pre, kbd { font-family: var(--font-mono); font-size: 0.92em; }
pre { background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); overflow: auto; white-space: pre-wrap; word-break: break-word; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-left: 1.25rem; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--text-muted); font-weight: 500; font-size: var(--fs-sm); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==== 2. Utilities ================================================= */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-center { text-align: center; }
.text-accent { color: var(--accent-text); }
.stack > * + * { margin-top: var(--space-4); }
.stack--tight > * + * { margin-top: var(--space-2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-6 { margin-top: var(--space-6); } .mt-7 { margin-top: var(--space-7); }
[hidden] { display: none !important; }
/* The shop's links stay out of sight from the very first moment while the shop is closed (js/early.js decides) */
html[data-shop="closed"] [data-feature="showProducts"] { display: none !important; }

.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: var(--space-3); }

.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.22em; font-size: var(--fs-xs); color: var(--accent-text); font-weight: 600; margin: 0 0 var(--space-3); }
.lede { font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; }

.section { padding-block: var(--space-8); }
.section--tight { padding-block: var(--space-6); }
.section--sunken { background: var(--bg-sunken); border-block: 1px solid var(--border); }
.section__head { max-width: 62ch; margin-bottom: var(--space-6); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lede { margin-inline: auto; }
.section__head h2 { margin-bottom: var(--space-2); }

/* ==== 3. Buttons, badges, notices =================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.8rem 1.35rem; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-md); line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { box-shadow: var(--shadow-glow); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--silver); }
.btn--secondary:hover { border-color: var(--accent-text); }
.btn--ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.btn--ghost:hover { color: var(--text); background: var(--bg-sunken); }
.btn--danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn--sm { padding: 0.5rem 0.95rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--fs-lg); }
.btn--block { width: 100%; }
.btn .icon { width: 1.1em; height: 1.1em; }
.link-button { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-decoration-color: var(--steel); text-underline-offset: .2em; cursor: pointer; font: inherit; }
.link-button:hover { text-decoration-color: var(--accent-text); }

.badge { display: inline-flex; align-items: center; gap: .35em; padding: .18em .6em; border-radius: var(--radius-pill); font-family: var(--font-heading); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--border-strong); color: var(--text-muted); vertical-align: middle; }
.badge--soon { border-color: var(--accent-text); color: var(--accent-text); background: var(--accent-soft); }
.badge--example { border-color: var(--warn); color: var(--warn); background: rgba(255, 200, 87, .1); }
.badge--ok { border-color: var(--ok); color: var(--ok); }
.badge--warn { border-color: var(--warn); color: var(--warn); }
.badge--danger { border-color: var(--danger); color: var(--danger); }

.notice { border: 1px solid var(--border-strong); border-left-width: 4px; border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); background: var(--bg-elevated); margin: 0 0 var(--space-4); font-size: var(--fs-sm); }
.notice--info { border-left-color: var(--info); }
.notice--ok { border-left-color: var(--ok); }
.notice--warn { border-left-color: var(--warn); }
.notice--danger { border-left-color: var(--danger); }
.notice p:last-child { margin-bottom: 0; }

.draft-banner { background: rgba(255, 200, 87, .12); border: 1px dashed var(--warn); color: var(--text); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); font-size: var(--fs-sm); margin-bottom: var(--space-6); }

/* ==== 4. Header and navigation ====================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand__img { height: 18px; width: auto; }
@media (min-width: 640px) { .brand__img { height: 21px; } }

.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--text); transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); }
.site-nav__list a { display: inline-flex; align-items: center; gap: .4em; padding: .55rem .85rem; border-radius: var(--radius-pill); text-decoration: none; color: var(--text-muted); font-family: var(--font-heading); font-weight: 500; }
.site-nav__list a:hover { color: var(--text); background: var(--bg-sunken); }
.site-nav__list a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.site-nav__tools { display: flex; align-items: center; gap: var(--space-3); }

.currency-switch { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 2px; }
.currency-switch button { background: transparent; border: 0; color: var(--text-muted); padding: .3rem .7rem; border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-sm); min-width: 2.6rem; }
.currency-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

.cart-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; }
.cart-button .icon { width: 22px; height: 22px; }
.cart-button__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); }

/* Mobile: the menu becomes a panel under the header */
@media (max-width: 959.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto;
    background: var(--bg-elevated); border-bottom: 1px solid var(--border); padding: var(--space-4) var(--gutter) var(--space-6);
    display: none; flex-direction: column; gap: var(--space-5);
  }
  body.nav-open .site-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  .site-nav__list { flex-direction: column; }
  .site-nav__list a { font-size: var(--fs-lg); padding: .75rem 1rem; }
  .site-nav__tools { flex-wrap: wrap; justify-content: space-between; }
  .site-nav__cta { flex: 1 1 100%; }
}
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--space-5); }
}

/* ==== 5. Footer ===================================================== */
.site-footer { margin-top: 0; border-top: 1px solid var(--border); background: var(--bg-sunken); padding-top: var(--space-7); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__brand img { width: 170px; height: auto; margin-bottom: var(--space-3); }
.site-footer__tagline { font-family: var(--font-heading); color: var(--text-muted); text-transform: uppercase; letter-spacing: .18em; font-size: var(--fs-xs); }
.site-footer__heading { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .16em; color: var(--text-muted); margin-bottom: var(--space-3); }
.footer-links, .contact-list, .social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a, .contact-list a, .social-list a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .contact-list a:hover, .social-list a:hover { color: var(--accent-text); }
.social-list { grid-auto-flow: column; justify-content: start; gap: var(--space-4); margin-top: var(--space-4); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-5); margin-top: var(--space-6); border-top: 1px solid var(--border); color: var(--text-faint); }
.site-footer__bottom p { margin: 0; }

.pillars { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); margin: 0; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .2em; font-size: var(--fs-sm); color: var(--text-muted); }
.pillars span { display: inline-flex; align-items: center; gap: var(--space-3); }
.pillars span + span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pillars--small { font-size: var(--fs-xs); gap: var(--space-2) var(--space-4); }

/* ==== 6. Hero ======================================================== */
.hero { position: relative; overflow: hidden; padding-block: var(--space-8) var(--space-7); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(45% 70% at 78% 45%, rgba(0, 200, 232, .14), transparent 70%),
  linear-gradient(180deg, rgba(37, 47, 58, .5), transparent 80%); }
.hero__grid { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -0.03em; margin-bottom: var(--space-4); max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--accent-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__visual svg { width: 100%; height: auto; }
.hero__meta { margin-top: var(--space-5); }

/* ==== 7. Cards and grids =========================================== */
.grid { display: grid; gap: var(--space-4); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.card { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); transition: transform .28s var(--ease), border-color .2s; }
.card--hover:hover, a.card:hover { transform: translateY(-3px); }
a.card { display: block; color: inherit; text-decoration: none; }
.card h3 { margin-top: var(--space-4); }
.card p:last-child { margin-bottom: 0; }
.card--accent { border-color: var(--accent-text); }
.card__icon { width: 40px; height: 40px; color: var(--accent-text); }
.card__status { margin-left: auto; }
.card--muted { opacity: .8; }

.service { display: flex; flex-direction: column; gap: var(--space-2); }
.service__title { display: flex; align-items: center; gap: var(--space-3); margin: 0; font-size: var(--fs-lg); }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding: var(--space-5); padding-top: var(--space-6); background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.steps li::before { content: "0" counter(step); position: absolute; top: var(--space-3); right: var(--space-4); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-lg); color: var(--silver); }
.steps h3 { font-size: var(--fs-lg); }

.stat-list { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0; padding: 0; list-style: none; }
.stat { background: var(--bg-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.stat__label { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--text-faint); }
.stat__value { display: block; font-family: var(--font-heading); font-size: var(--fs-lg); font-weight: 600; margin-top: .15rem; }
.stat__value small { font-size: var(--fs-xs); color: var(--text-muted); font-weight: 400; }

/* ==== 8. Forms ======================================================= */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field > label, .field__legend { font-weight: 500; font-size: var(--fs-sm); }
.field__hint { font-size: var(--fs-xs); color: var(--text-faint); margin: 0; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea, .input {
  width: 100%; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-text); outline: 3px solid var(--accent-soft); outline-offset: 0; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--danger); }
.field input[type="file"] { padding: .55rem; }
fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
legend { padding: 0; }
.checkbox { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); }
.checkbox input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent-text); flex-shrink: 0; }
.radio-list { display: grid; gap: var(--space-2); }
.radio-list label { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-md); cursor: pointer; }
.radio-list label:has(input:checked) { border-color: var(--accent-text); background: var(--accent-soft); }
.radio-list input { accent-color: var(--accent-text); width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
input[type="range"] { width: 100%; accent-color: var(--accent-text); }
.form-status { margin-top: var(--space-2); }

.send-panel { margin-top: var(--space-5); padding: var(--space-5); border: 1px solid var(--accent); border-radius: var(--radius-lg); background: var(--bg-elevated); }
.send-panel__title { margin-bottom: var(--space-2); }
.send-panel__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0; }
.send-panel__preview summary { cursor: pointer; color: var(--text-muted); }
.send-panel__preview pre { margin-top: var(--space-3); font-size: var(--fs-sm); }

/* ==== 9. Prose (legal and long text pages) ========================== */
.prose { max-width: 72ch; font-size: 1.05rem; }
.prose h2 { margin-top: var(--space-7); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.prose h3 { margin-top: var(--space-5); }
.prose li + li { margin-top: var(--space-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--space-4); }
.table-scroll table { min-width: 560px; }
.prose .placeholder, .placeholder { background: rgba(255, 200, 87, .18); color: var(--warn); padding: 0 .3em; border-radius: 4px; font-family: var(--font-mono); font-size: .9em; }
.page-head { padding-block: var(--space-7) var(--space-5); border-bottom: 1px solid var(--border); margin-bottom: var(--space-6); }
.page-head h1 { margin-bottom: var(--space-2); }
.page-head .lede { margin-bottom: 0; }
.toc { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4) var(--space-5); margin-bottom: var(--space-6); font-size: var(--fs-sm); }
.toc ol { margin: var(--space-2) 0 0; padding-left: 1.2rem; columns: 2; column-gap: var(--space-5); }
.toc a { text-decoration: none; color: var(--text-muted); }
.toc a:hover { color: var(--accent-text); }

/* ==== 10. Products, cart, checkout ================================== */
.product-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product-card__media { aspect-ratio: 4 / 3; background: var(--bg-sunken); display: grid; place-items: center; border-bottom: 1px solid var(--border); position: relative; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media .badge { position: absolute; top: var(--space-3); left: var(--space-3); background: var(--bg); }
.product-card__body { padding: var(--space-4) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.product-card__title { margin: 0; font-size: var(--fs-lg); }
.product-card__title .link-button { text-decoration: none; font-family: var(--font-heading); font-weight: 600; text-align: left; }
.product-card__title .link-button:hover { color: var(--accent-text); }
.product-card__desc { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-2); }
.price { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); }
.price--muted { color: var(--text-muted); font-weight: 500; font-size: var(--fs-md); }
.placeholder-art { width: 38%; color: var(--steel); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 38px; height: 38px; background: transparent; border: 0; color: var(--text); font-size: 1.2rem; }
.qty button:hover { background: var(--bg-sunken); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; padding: 0; -moz-appearance: textfield; min-height: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-table th:last-child, .cart-table td:last-child { text-align: right; white-space: nowrap; }
.cart-table td:first-child { min-width: 7rem; }
.cart-table .cart-item__name { font-weight: 500; }
.cart-table .cart-item__variant { color: var(--text-muted); font-size: var(--fs-sm); }
.cart-empty { text-align: center; padding: var(--space-8) var(--space-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }
.checkout-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .checkout-grid { grid-template-columns: 1.3fr .9fr; } .checkout-grid .summary { position: sticky; top: calc(var(--header-h) + var(--space-4)); } }
.summary__row { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); }
.summary__row--total { border-bottom: 0; font-weight: 700; font-size: var(--fs-lg); font-family: var(--font-heading); }
.order-ref { font-family: var(--font-mono); font-size: var(--fs-lg); color: var(--accent-text); }
.bank-details { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0; }
.bank-details dt { color: var(--text-muted); }
.bank-details dd { margin: 0; }

/* ==== 11. Dialog ===================================================== */
.dialog { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-elevated); color: var(--text); padding: 0; width: min(760px, 100% - 2rem); max-height: calc(100dvh - 2rem); box-shadow: var(--shadow-card); }
.dialog::backdrop { background: rgba(22, 33, 44, .45); }
.dialog__inner { padding: var(--space-5); display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .dialog__inner--split { grid-template-columns: 1fr 1fr; } }
.dialog__close { position: absolute; top: var(--space-3); right: var(--space-3); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font-size: 1.2rem; }
.dialog__media { aspect-ratio: 1; border-radius: var(--radius-md); background: var(--bg-sunken); display: grid; place-items: center; overflow: hidden; }
@media (max-width: 759.98px) { .dialog__media { aspect-ratio: 16 / 10; } }
.dialog__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==== 12. Print tool ================================================= */
.tool { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 960px) { .tool { grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); } .tool__viewer { position: sticky; top: calc(var(--header-h) + var(--space-4)); } }
.tool > * { min-width: 0; }
.viewer { position: relative; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--bg-sunken); overflow: hidden; aspect-ratio: 4 / 3; width: 100%; }
@media (min-width: 640px) { .viewer { min-height: 320px; } }
.viewer canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.viewer__overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-5); text-align: center; }
.viewer__legend { position: absolute; left: var(--space-3); bottom: var(--space-3); display: flex; gap: var(--space-3); font-size: var(--fs-xs); color: var(--text-muted); background: color-mix(in srgb, var(--bg) 80%, transparent); padding: .3rem .6rem; border-radius: var(--radius-pill); }
.viewer__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .35em; vertical-align: middle; }
.viewer__legend .swatch-model { background: #A9B8C6; }
.viewer__legend .swatch-overhang { background: #FF6B5E; }
.viewer__tools { position: absolute; top: var(--space-3); right: var(--space-3); display: flex; gap: var(--space-2); }
.viewer__tools button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--bg) 85%, transparent); color: var(--text); }
.viewer__tools button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.dropzone { border: 2px dashed var(--border-strong); border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); text-align: center; background: var(--bg-elevated); transition: border-color .15s, background .15s; }
.dropzone.is-over { border-color: var(--accent-text); background: var(--accent-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone__icon { width: 44px; height: 44px; margin: 0 auto var(--space-3); color: var(--accent-text); }
.file-chip { display: inline-flex; align-items: center; gap: var(--space-3); padding: .4rem .5rem .4rem .9rem; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); font-size: var(--fs-sm); max-width: 100%; }
.file-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.option-cards { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.option-card { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-elevated); cursor: pointer; }
.option-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.option-card:has(input:checked) { border-color: var(--accent-text); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.option-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-card__img { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); background: var(--bg-sunken); overflow: hidden; }
.option-card__img img { width: 100%; height: 100%; object-fit: cover; }
.option-card__title { font-weight: 600; font-family: var(--font-heading); }
.option-card__desc { font-size: var(--fs-xs); color: var(--text-muted); }
.option-card__price { font-size: var(--fs-xs); color: var(--text-faint); }
.option-card:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.help { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-sunken); padding: 0 var(--space-4); font-size: var(--fs-sm); }
.help summary { padding: var(--space-3) 0; cursor: pointer; font-weight: 500; }
.help p:last-child { margin-bottom: var(--space-3); }

.results { display: grid; gap: var(--space-4); }
.results__price { font-family: var(--font-heading); font-size: var(--fs-2xl); font-weight: 700; line-height: 1; }
.results__price small { display: block; font-size: var(--fs-sm); color: var(--text-muted); font-weight: 400; margin-top: .4rem; font-family: var(--font-body); }
.meter { height: 8px; border-radius: var(--radius-pill); background: var(--bg-sunken); overflow: hidden; border: 1px solid var(--border); }
.meter > span { display: block; height: 100%; width: var(--value, 0%); background: var(--accent); }
.meter--warn > span { background: var(--warn); }
.meter--danger > span { background: var(--danger); }
.range-labels { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-faint); }
.illustration { width: 100%; max-width: 220px; height: auto; border-radius: var(--radius-sm); }

/* ==== 13. Toast, misc pages ========================================== */
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 20px); z-index: 100; background: var(--bg-elevated); border: 1px solid var(--accent); color: var(--text); border-radius: var(--radius-pill); padding: .7rem 1.2rem; display: flex; gap: var(--space-4); align-items: center; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-width: calc(100% - 2rem); box-shadow: var(--shadow-card); }
.toast--show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast__action { color: var(--accent-text); font-weight: 600; white-space: nowrap; }

.coming-soon { text-align: center; padding-block: var(--space-8); display: grid; justify-items: center; }
.coming-soon h1 { font-size: var(--fs-hero); }
.coming-soon .lede { margin-inline: auto; }
.coming-soon .pillars { justify-content: center; margin-top: var(--space-5); }
.error-page { text-align: center; padding-block: var(--space-9); }
.error-page .lede { margin-inline: auto; }
.error-page .cluster { justify-content: center; margin-top: var(--space-5); }
.error-page__code { font-family: var(--font-heading); font-size: clamp(5rem, 20vw, 12rem); line-height: .9; font-weight: 700; color: var(--accent-text); letter-spacing: -0.05em; }

.cta-band { background: linear-gradient(135deg, var(--bg-elevated), var(--bg-sunken)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: var(--space-2); }
.cta-band p { margin: 0; color: var(--text-muted); }

.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.trust-list li { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust-list svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-text); margin-top: .15rem; }

/* ==== 13b. Redesign components ====================================== */
/* WhatsApp buttons */
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { box-shadow: 0 6px 20px rgba(14, 122, 63, .3); }
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lift); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* The two customer journeys */
.paths { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); }
.path__tag { align-self: flex-start; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: .3em .8em; border-radius: var(--radius-pill); }
.path h3 { font-size: var(--fs-xl); margin: 0; }
.path p { color: var(--text-muted); margin: 0; }
.path__list { list-style: none; margin: var(--space-2) 0 var(--space-4); padding: 0; display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.path__list li { display: flex; gap: var(--space-2); align-items: flex-start; }
.path__list li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; margin-top: .5em; border-radius: 50%; background: var(--accent); }
.path .btn { margin-top: auto; align-self: flex-start; }

/* Numbered timeline (custom order process) */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline li { counter-increment: tl; position: relative; padding-top: var(--space-7); }
.timeline li::before { content: counter(tl); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 600; background: var(--accent-soft); color: var(--accent-text); border: 1px solid var(--accent); }
.timeline h3 { font-size: var(--fs-md); margin-bottom: var(--space-1); }
.timeline p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* Page hero for inner pages */
.page-hero { padding-block: var(--space-8) var(--space-6); }
.page-hero h1 { max-width: 18ch; letter-spacing: -0.02em; }
.page-hero .cluster { margin-top: var(--space-5); }

/* Collapsible estimator */
.fold { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); box-shadow: var(--shadow-card); }
.fold > summary { list-style: none; cursor: pointer; padding: var(--space-5) var(--space-6); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-lg); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--silver); transition: transform .2s var(--ease); }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold > summary small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-muted); font-size: var(--fs-sm); margin-top: .2rem; }
.fold__body { padding: 0 var(--space-6) var(--space-6); }
@media (max-width: 639.98px) { .fold > summary { padding: var(--space-4); } .fold__body { padding: 0 var(--space-4) var(--space-4); } }

/* Product detail */
.spec-list { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0; font-size: var(--fs-sm); }
.spec-list dt { color: var(--text-faint); }
.spec-list dd { margin: 0; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.feature-list li { display: flex; gap: var(--space-2); }
.feature-list li::before { content: "✓"; color: var(--accent-text); font-weight: 700; }
.product-card { cursor: default; }
.product-card:hover { transform: translateY(-3px); }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__media img { transition: transform .4s var(--ease); }

/* Checkout */
.checkout-section { padding: var(--space-5) 0; border-top: 1px solid var(--border); }
.checkout-section:first-child { border-top: 0; padding-top: 0; }
.checkout-section h2 { font-size: var(--fs-lg); margin-bottom: var(--space-4); }
.summary { padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-sunken); }
.summary h2 { font-size: var(--fs-lg); }
.summary__items { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-3); font-size: var(--fs-sm); }
.summary__items li { display: flex; justify-content: space-between; gap: var(--space-4); }
.summary__items small { display: block; color: var(--text-faint); }
.pay-note { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-sunken); font-size: var(--fs-sm); }
.pay-note svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--accent-text); margin-top: .1rem; }
.pay-note p { margin: 0; }
.order-status { display: inline-flex; align-items: center; gap: .5em; padding: .35em .9em; border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-sm); border: 1px solid var(--border-strong); }
.order-status--paid { color: var(--ok); border-color: var(--ok); background: rgba(27, 127, 82, .08); }
.order-status--pending { color: var(--warn); border-color: var(--warn); background: rgba(143, 91, 0, .07); }
.order-status--failed { color: var(--danger); border-color: var(--danger); background: rgba(185, 52, 38, .07); }

/* Gentle reveal on scroll (added by js/site.js; skipped for reduced motion) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==== 13c. Character: glow, bands, blueprint grid, hero visual ==== */
/* The page itself: deep ink with two soft glows and a faint grid, so it never reads as a flat sheet. */
body { background: var(--bg); }
.site-header { background: color-mix(in srgb, var(--bg) 78%, transparent); }
.card { background: linear-gradient(180deg, var(--bg-raised), var(--bg-elevated)); }
.btn--primary { box-shadow: 0 0 0 1px rgba(0, 200, 232, .4), 0 8px 24px rgba(0, 200, 232, .18); }
.btn--secondary { background: rgba(244, 247, 250, .04); }
.btn--secondary:hover { border-color: var(--accent); box-shadow: none; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea { background: var(--bg-sunken); }
.summary, .pay-note, .cart-empty { background: var(--bg-elevated); }
.dialog { background: var(--bg-raised); }
.dialog::backdrop { background: rgba(5, 9, 13, .7); }
.toast { background: var(--bg-raised); }

/* Bands (footer, call-to-action, key facts) sit on Slate so they stand apart from the page. */
.theme-dark { color: var(--text); }
.site-footer.theme-dark { background: linear-gradient(180deg, #0E151C, #080C11); border-top: 1px solid var(--border); margin-top: 0; }
.cta-band.theme-dark { background: linear-gradient(135deg, var(--slate), #17212B 70%); border: 1px solid var(--border); padding: var(--space-7) var(--space-6); position: relative; overflow: hidden; }
.cta-band.theme-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-band.theme-dark::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 200, 232, .22), transparent); pointer-events: none; }
.cta-band.theme-dark > * { position: relative; }
main > .section:last-child { padding-bottom: var(--space-8); }

/* Fine blueprint grid behind the hero areas and the pale-silver sections */
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px; opacity: .7;
  mask-image: radial-gradient(75% 90% at 75% 20%, #000, transparent 75%); -webkit-mask-image: radial-gradient(75% 90% at 75% 20%, #000, transparent 75%); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--border); background:
  radial-gradient(50% 90% at 90% 0%, rgba(0, 200, 232, .16), transparent 70%), linear-gradient(180deg, rgba(37, 47, 58, .55), transparent); }
.section--sunken { background: linear-gradient(180deg, rgba(12, 18, 25, .85), rgba(12, 18, 25, .55)); }

/* Section labels get a short measuring tick */
.eyebrow { display: flex; align-items: center; gap: .9em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--silver)); flex-shrink: 0; }
.section__head--center .eyebrow { justify-content: center; }

/* Numbered cards */
.grid--numbered { counter-reset: card; }
.grid--numbered > .card { counter-increment: card; position: relative; overflow: hidden; }
.grid--numbered > .card::before { content: "0" counter(card); position: absolute; top: var(--space-5); right: var(--space-5); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--silver); }
.grid--numbered > .card::after, .path::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--silver) 60%, transparent); opacity: 0; transition: opacity .25s; }
.grid--numbered > .card:hover::after, .path:hover::after { opacity: 1; }
.path { position: relative; overflow: hidden; }
.card__icon { padding: 9px; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--accent-soft); }
.trust-list li { padding: var(--space-4) 0; border-bottom: 1px solid var(--border); }
.trust-list li:first-child { border-top: 1px solid var(--border); }
.timeline li { padding-left: 0; border-top: 1px solid var(--border); padding-top: calc(var(--space-7) + var(--space-3)); }
.timeline li::before { top: var(--space-4); }

/* Hero printer. The live 3D scene is drawn by js/hero-3d.js; the rules below frame it
   and animate the flat fallback drawing. */
.hero__visual { filter: none; }
.hero3d { position: relative; aspect-ratio: 1 / 1; border-radius: 26px; overflow: hidden; border: 1px solid var(--border); background: radial-gradient(70% 60% at 50% 42%, rgba(0, 200, 232, .13), transparent 70%), linear-gradient(180deg, var(--slate), #121A22); }
.hero3d::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 26px 26px; }
.hero3d canvas, .hero3d svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero3d__readout, .hero3d__caption { position: absolute; right: 5.4%; margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--silver); white-space: nowrap; }
.hero3d__readout { bottom: 5.5%; right: auto; left: 5.4%; font-variant-numeric: tabular-nums; }
.hero3d__caption { bottom: 5.5%; }
.hero3d__caption span { color: var(--sky); }
/* ==== 13d. Liquid Glass ==============================================
   The look of Apple's current interfaces: controls and panels are sheets of
   translucent glass floating above the content. Each sheet blurs and enriches
   what is behind it, has a bright hairline along its top edge where light
   catches it, a soft shadow beneath, and generously rounded corners.
   The recipe lives in the four --glass values in css/tokens.css.           */
.glass, .card, .site-header, .cta-band.theme-dark, .summary, .pay-note, .fold, .toc, .steps li, .stat, .help,
.option-card, .dropzone, .send-panel, .hero3d, .toast, .dialog, .cart-empty, .notice, .radio-list label {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
/* Live blur is costly, so only the layers that float over moving content get it. */
.site-header, .toast { -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.card { border-radius: var(--radius-lg); }
.card--hover:hover, a.card:hover, .product-card:hover { border-color: rgba(244, 247, 250, .28); }

/* Floating capsule toolbar, like a macOS window toolbar */
.site-header { top: 10px; margin: 10px auto 0; width: min(var(--container) + 2rem, 100% - 20px); border-radius: var(--radius-pill); border-bottom: 1px solid var(--glass-border); background: var(--glass-bg-strong); }
.site-header__inner { width: auto; padding-inline: clamp(.9rem, 2vw, 1.4rem) clamp(.5rem, 1.2vw, .75rem); min-height: 60px; }
:root { --header-h: 80px; }
.site-nav__list a { padding: .5rem .9rem; transition: background-color .18s, color .18s; }
.site-nav__list a:hover { background: rgba(244, 247, 250, .08); }
.site-nav__list a[aria-current="page"] { background: rgba(244, 247, 250, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); color: var(--text); }
.nav-toggle { border-radius: 50%; border-color: var(--glass-border); background: rgba(244, 247, 250, .06); }
@media (max-width: 959.98px) {
  .site-nav { inset: calc(100% + 8px) 0 auto 0; max-height: calc(100dvh - 100px); border-radius: 28px; border: 1px solid var(--glass-border); background: rgba(17, 24, 32, .94); box-shadow: var(--glass-shadow-lift); padding: var(--space-4); }
}

/* Segmented control (currency) */
.currency-switch { background: rgba(0, 0, 0, .25); border-color: var(--glass-border); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.currency-switch button { transition: background-color .18s, color .18s; }
.currency-switch button[aria-pressed="true"] { background: rgba(244, 247, 250, .18); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 3px rgba(0, 0, 0, .3); }
.cart-button { border-color: var(--glass-border); background: rgba(244, 247, 250, .06); }

/* Buttons: capsules. The main one is tinted glass with a bright top edge. */
.btn { transition: transform .22s var(--ease), background-color .18s, border-color .18s, filter .18s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn:active { transform: scale(.97); transition-duration: .08s; }
.btn--primary { background: linear-gradient(180deg, #37D8F2, var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 8px 26px rgba(0, 200, 232, .28); }
.btn--secondary, .theme-dark .btn--secondary { background: var(--glass-bg); border-color: var(--glass-border); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn--secondary:hover { background: rgba(244, 247, 250, .14); border-color: rgba(244, 247, 250, .3); }
.btn--whatsapp { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 22px rgba(14, 122, 63, .3); }
.wa-float { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 30px rgba(0, 0, 0, .45); }

/* Fields: recessed glass wells */
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea {
  background: rgba(0, 0, 0, .28); border-color: var(--glass-border); border-radius: var(--radius-md); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: 4px solid var(--accent-soft); }
.qty { border-color: var(--glass-border); background: rgba(0, 0, 0, .25); }

/* Panels */
.cta-band.theme-dark { border-radius: 32px; }
.hero3d { border-radius: 36px; background: radial-gradient(70% 60% at 50% 40%, rgba(0, 200, 232, .16), transparent 70%), var(--glass-bg); }
.hero3d::before { opacity: .6; mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent); }
.hero3d__readout, .hero3d__caption { font-size: 10.5px; }
.dialog { background: var(--glass-bg-strong); border-radius: 32px; -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.dialog::backdrop { background: rgba(5, 9, 13, .62); }
.dialog__close { background: rgba(244, 247, 250, .1); border-color: var(--glass-border); }
.toast { background: var(--glass-bg-strong); border-color: var(--glass-border); }
.product-card__media, .dialog__media, .option-card__img, .viewer { background: rgba(0, 0, 0, .28); }
.product-card__media { border-bottom-color: var(--glass-border); }
.badge { background: rgba(244, 247, 250, .06); }
.path__tag { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.section--sunken { background: linear-gradient(180deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, .10)); border-block-color: var(--glass-border); }
.site-footer.theme-dark { background: rgba(8, 12, 17, .6); border-top: 1px solid var(--glass-border); }
h1, h2, h3, h4 { letter-spacing: -0.022em; }
.hero__title { letter-spacing: -0.035em; font-weight: 700; }

/* The colour behind the glass: one still layer the browser paints once and then just slides content over. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; transform: translateZ(0); background:
  radial-gradient(42% 38% at 80% 12%, rgba(0, 200, 232, .20), transparent 70%),
  radial-gradient(38% 40% at 8% 44%, rgba(137, 151, 165, .18), transparent 70%),
  radial-gradient(40% 36% at 74% 90%, rgba(0, 200, 232, .11), transparent 70%),
  radial-gradient(30% 28% at 28% 4%, rgba(220, 227, 234, .08), transparent 70%); }

/* Visitors who ask their device for less transparency get solid panels instead. */
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-bg: #1B2530; --glass-bg-strong: #1B2530; --glass-blur: none; }
}

/* ==== 13e. Layout on large screens, and small pieces ================== */
:root { color-scheme: dark; }          /* dark scrollbars, menus and form pop-ups to match */
@media (min-width: 1700px) { html { font-size: 106.25%; } }
@media (min-width: 2200px) { html { font-size: 115%; } }
.hero__title { max-width: 18ch; }
.hero .lede { font-size: var(--fs-xl); color: var(--text); max-width: 26ch; letter-spacing: -0.015em; line-height: 1.3; }
.hero3d { box-shadow: var(--glass-shadow), 0 30px 70px rgba(0, 0, 0, .35); max-width: 560px; margin-inline: auto; width: 100%; }
@media (min-width: 1700px) { .hero3d { max-width: 660px; } }
.printer2d { display: block; }
.site-nav__list .badge { font-size: .6rem; padding: .14em .55em; letter-spacing: .1em; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.page-hero.coming-soon { padding-block: var(--space-9) var(--space-8); }
.page-hero.coming-soon h1 { max-width: none; font-size: var(--fs-hero); letter-spacing: -0.035em; }
.page-hero.coming-soon .eyebrow, .page-hero.coming-soon .cluster { justify-content: center; }
.page-hero.coming-soon .cluster { margin-top: var(--space-6); }

/* Product video: a play button first; YouTube's player only after it is pressed */
.video-box { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--bg-sunken); border: 1px solid var(--border-strong); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-box__play { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; gap: var(--space-3); background: transparent; border: 0; color: var(--text); font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-md); }
.video-box__play:hover { background: var(--accent-soft); color: var(--accent-text); }
.video-box__icon { width: 44px; height: 44px; padding: 8px; border-radius: 50%; border: 1px solid currentColor; }

/* Notice at the top of every page (text set in the admin dashboard) */
.site-banner { background: var(--bg-raised); border-bottom: 1px solid var(--warn); color: var(--text); text-align: center; padding: var(--space-2) var(--gutter); font-size: var(--fs-sm); }
.site-banner p { margin: 0 auto; max-width: 90ch; }

/* ==== 14. Print styles (paper) ====================================== */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn, .toast, .wa-float, .send-panel__actions { display: none !important; }
  body::before { display: none; }
  body { background: #fff !important; color: #000; }
  a { color: #000; }
}

/* ==== 13f. Home-page printer: still picture and smooth entrance ==== */
/* The still waits out of sight, and fades in only if the 3D is late (js/early.js),
   or straight away for "reduce motion" and devices without 3D. */
.hero3d__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .6s cubic-bezier(.16, 1, .3, 1); }
html[data-hero="wait"] .hero3d__poster { opacity: 0; }
html[data-hero="live-from-still"] .hero3d__poster { z-index: 1; }
