/* PISA Watch Parts storefront. Ported from the approved static site (src/template.html). */
/* Layout: black brand bands top and bottom, a cool steel-white shop floor between them, products set like parts in a tray. */
:root {
  --ink: #0b0c0e;          /* header, footer, primary buttons */
  --steel: #17191c;        /* raised surfaces on black */
  --silver: #c8ccd2;       /* brand metal, text on black */
  --silver-hi: #eef0f3;
  --line-dark: #2a2d32;
  --paper: #f3f4f5;        /* page floor */
  --tile: #e6e8eb;         /* product trays */
  --card: #ffffff;
  --text: #15171a;
  --muted: #5d636b;
  --line: #d8dbdf;
  --sale: #8a2f2f;
  --font-display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1320px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--paper); color: var(--text); font: 400 15px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { font-variant-numeric: lining-nums; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #7d8794; outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font: 500 11px/1.4 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.topbar { background: #000; color: var(--silver); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar span:last-child { color: #8b9097; }
header.site { position: relative; z-index: 50; background: var(--ink); color: var(--silver); border-bottom: 1px solid var(--line-dark); }
header.site .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px 24px; padding-block: 16px 0; }
.head-left { justify-self: start; }
.logo { justify-self: center; }
.logo img { display: block; height: 68px; width: auto; }

.head-actions { justify-self: end; }
.icon-btn.search-trigger { width: auto; border-radius: 0; display: flex; gap: 10px; padding: 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
nav.main { grid-column: 1 / -1; display: flex; justify-content: center; gap: 40px; border-top: 1px solid var(--line-dark); padding-block: 6px; }
nav.main a { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; position: relative; color: var(--silver); }
nav.main a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--silver-hi); transition: right .3s ease; }
nav.main a:hover::after, nav.main a[aria-current="page"]::after { right: 0; }
.head-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { background: none; border: 0; color: var(--silver); width: 42px; height: 42px; display: grid; place-items: center; position: relative; border-radius: 50%; }
.icon-btn:hover { background: var(--steel); color: var(--silver-hi); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--silver); color: var(--ink); font: 600 10px/18px var(--font-body); text-align: center; }
.menu-btn { display: none; }

/* ---------- title band ---------- */
.title-band { background: var(--ink) radial-gradient(120% 140% at 85% 0%, #2a2e34 0%, #0b0c0e 55%); color: var(--silver-hi); }
.title-band .wrap { padding-block: 54px 46px; display: grid; gap: 10px; }
.title-band h1 { font: 500 clamp(40px, 6vw, 68px)/1.05 var(--font-display); letter-spacing: .06em; margin: 0; text-wrap: balance; }
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9aa0a8; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--silver-hi); }
.title-band p { margin: 4px 0 0; max-width: 62ch; color: #aeb3ba; font-size: 14px; }

/* ---------- shop layout ---------- */
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; padding-block: 48px 80px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.toolbar .count { font-size: 13px; color: var(--muted); }
.toolbar-r { display: flex; gap: 10px; align-items: center; }
.select { appearance: none; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2315171a' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line); padding: 10px 38px 10px 14px; font-size: 13px; border-radius: 0; }
.filter-toggle { display: none; background: var(--ink); color: var(--silver-hi); border: 0; padding: 10px 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -12px 0 24px; }
.chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); padding: 5px 10px; font-size: 12px; }
.chip button { border: 0; background: none; padding: 0; line-height: 1; font-size: 15px; color: var(--muted); }
.chip.clear { background: none; border-color: transparent; text-decoration: underline; cursor: pointer; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.card { display: grid; gap: 14px; align-content: start; }
.tray { position: relative; aspect-ratio: 1 / 1.08; background: linear-gradient(160deg, #eceef1 0%, var(--tile) 55%, #dcdfe3 100%); overflow: hidden; display: block; }
.tray svg.render { position: absolute; inset: 8% 8% 18%; width: 84%; height: 74%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .tray svg.render { transform: scale(1.05) rotate(-4deg); }
.tray .dim { position: absolute; left: 14px; bottom: 12px; font: 500 11px/1 var(--font-mono); color: #4d535b; letter-spacing: .04em; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge { background: var(--ink); color: var(--silver-hi); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; }
.badge.light { background: var(--card); color: var(--text); }
.quick { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; transform: translateY(100%); transition: transform .35s ease; }
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick button, .quick a { border: 0; background: var(--ink); color: var(--silver-hi); padding: 13px 16px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.quick a { background: var(--steel); border-left: 1px solid var(--line-dark); }
.quick button:hover, .quick a:hover { background: #2b2f35; }
.card .meta { display: grid; gap: 4px; }
.card h3 { margin: 0; font: 500 15.5px/1.35 var(--font-body); letter-spacing: .01em; text-wrap: balance; }
.card h3 a:hover { color: var(--muted); }
.card .spec { font-size: 12.5px; color: var(--muted); }
.price { font: 500 15px/1.4 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); grid-column: 1 / -1; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.pager button { min-width: 42px; height: 42px; border: 1px solid var(--line); background: var(--card); font-size: 13px; font-variant-numeric: tabular-nums; }
.pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--silver-hi); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .gap { align-self: center; padding: 0 6px; color: var(--muted); }

/* sidebar widgets */
aside.side { display: grid; gap: 38px; align-content: start; }
.widget h4 { margin: 0 0 16px; font: 600 18px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.search-box { display: flex; border: 1px solid var(--line); background: var(--card); }
.search-box input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; background: none; font-size: 13px; }
.search-box input:focus { outline: none; }
.search-box button { border: 0; background: var(--ink); color: var(--silver-hi); width: 46px; display: grid; place-items: center; }
.search-box svg { width: 16px; height: 16px; }
.facet { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13.5px; }
.facet.scroll { max-height: 300px; overflow-y: auto; padding-right: 6px; }
.facet button { width: 100%; display: flex; justify-content: space-between; gap: 10px; border: 0; background: none; padding: 5px 0; text-align: left; color: var(--text); }
.facet button:hover { color: var(--muted); }
.facet button[aria-pressed="true"] { font-weight: 600; }
.facet button[aria-pressed="true"]::before { content: ""; width: 6px; height: 6px; background: var(--ink); align-self: center; margin-right: -2px; }
.facet button span:first-child { flex: 1; }
.facet .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.range { display: grid; gap: 14px; }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; gap: 4px; }
.range input { width: 100%; border: 1px solid var(--line); background: var(--card); padding: 9px 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); background: var(--ink); color: var(--silver-hi); padding: 14px 26px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--silver-hi); }
.btn.block { width: 100%; }
.note-card { background: var(--ink); color: #b9bec5; padding: 26px 24px; font-size: 13px; display: grid; gap: 10px; }
.note-card h4 { color: var(--silver-hi); border-color: var(--line-dark); margin-bottom: 4px; }
.note-card ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; padding-block: 48px 40px; }
.gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; }
.thumbs { display: grid; gap: 12px; }
.thumbs button { border: 1px solid transparent; padding: 0; background: var(--tile); aspect-ratio: 1; display: grid; place-items: center; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs svg { width: 80%; height: 80%; }
.stage { position: relative; background: linear-gradient(160deg, #eceef1 0%, var(--tile) 55%, #d9dce0 100%); aspect-ratio: 1; display: grid; place-items: center; }
.stage svg { width: 82%; height: 82%; }
.stage .dim { position: absolute; left: 18px; bottom: 16px; font: 500 12px/1 var(--font-mono); color: #4d535b; }
.summary { display: grid; gap: 22px; align-content: start; }
.summary h1 { font: 300 clamp(26px, 3vw, 38px)/1.2 var(--font-body); margin: 0; letter-spacing: .01em; text-wrap: balance; }
.summary .price { font-size: 24px; font-weight: 400; }
.summary .price small { font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-left: 8px; }
.lede { color: var(--muted); margin: 0; max-width: 60ch; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 28px; font-size: 11px; line-height: 2; letter-spacing: .16em; text-transform: uppercase; }
.specs dd { font-variant-numeric: tabular-nums; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-grid; grid-template-columns: 40px 48px 40px; border: 1px solid var(--line); background: var(--card); }
.qty button { border: 0; background: none; font-size: 16px; }
.qty input { border: 0; text-align: center; background: none; font-variant-numeric: tabular-nums; width: 100%; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; min-width: 200px; }
.caution { border-left: 2px solid var(--ink); background: var(--card); padding: 14px 16px; font-size: 13px; color: var(--muted); }
.caution strong { color: var(--text); }
.pmeta { font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.pmeta b { color: var(--text); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-right: 6px; }
.tabs { border-top: 1px solid var(--line); margin-top: 16px; }
.tablist { display: flex; gap: 36px; flex-wrap: wrap; justify-content: center; }
.tablist button { border: 0; background: none; padding: 22px 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-top: 2px solid transparent; margin-top: -1px; }
.tablist button[aria-selected="true"] { color: var(--text); border-top-color: var(--ink); }
.tabpanel { max-width: 860px; margin: 0 auto; padding: 24px 0 8px; font-size: 14.5px; }
.tabpanel p { margin: 0 0 14px; }
.tabpanel table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tabpanel td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabpanel td:first-child { width: 38%; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.drawing-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.drawing-wrap svg { display: block; width: 100%; max-width: 640px; margin: 0 auto; height: auto; }
.related { padding-block: 56px 90px; }
.related h2 { font: 500 34px/1.2 var(--font-display); letter-spacing: .04em; text-align: center; margin: 0 0 36px; }
.related .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5,6,8,.55); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--card); z-index: 80; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); display: grid; grid-template-rows: auto 1fr auto; padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) 0; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font: 600 24px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.drawer-head .icon-btn { color: var(--text); }
.drawer-head .icon-btn:hover { background: var(--paper); color: var(--text); }
.drawer-body { overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line .mini { background: var(--tile); aspect-ratio: 1; display: grid; place-items: center; }
.line .mini svg { width: 78%; height: 78%; }
.line h5 { margin: 0 0 2px; font: 500 13.5px/1.35 var(--font-body); }
.line .sub { font-size: 12px; color: var(--muted); }
.line .qty { grid-template-columns: 30px 34px 30px; margin-top: 8px; font-size: 13px; }
.line .qty button, .line .qty input { height: 30px; }
.line .rm { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.drawer-foot small { color: var(--muted); font-size: 12px; }
.order-form { display: grid; gap: 10px; }
.order-form input, .order-form textarea { border: 1px solid var(--line); padding: 10px 12px; font-size: 13px; width: 100%; background: var(--paper); }
.order-form label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; gap: 4px; }
.done { background: var(--paper); padding: 16px; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--silver-hi); padding: 12px 20px; font-size: 13px; z-index: 90; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; padding-block: 48px 80px; align-items: start; }
.checkout h2 { font: 600 24px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
.fields label, .agree { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: grid; gap: 6px; }
.fields input, .fields textarea { border: 1px solid var(--line); background: var(--card); padding: 12px 14px; font-size: 14px; width: 100%; letter-spacing: 0; text-transform: none; color: var(--text); }
.fields textarea { min-height: 76px; resize: vertical; }
.agree { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--text); margin: 22px 0; }
.agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.pay-options { display: grid; gap: 12px; }
.pay-options .btn { width: 100%; padding-block: 16px; }
.pay-options .hint { font-size: 12.5px; color: var(--muted); margin: -4px 0 6px; }
.order-box { background: var(--card); border: 1px solid var(--line); padding: 26px 24px; display: grid; gap: 4px; }
.order-box .row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.order-box .row span:first-child { min-width: 0; }
.order-box .row.total { font-size: 16px; font-weight: 600; border-bottom: 0; padding-top: 14px; }
.form-msg { font-size: 13px; padding: 12px 14px; border-left: 2px solid var(--sale); background: var(--card); color: var(--text); }
.result { max-width: 640px; margin: 0 auto; padding-block: 72px 96px; display: grid; gap: 18px; text-align: center; justify-items: center; }
.result h1 { font: 500 clamp(34px, 5vw, 52px)/1.1 var(--font-display); margin: 0; }
.result p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .checkout { grid-template-columns: minmax(0, 1fr); } .fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
footer.site { background: var(--ink); color: #9ea4ab; font-size: 13px; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-block: 64px 40px; }
footer.site h6 { margin: 0 0 14px; color: var(--silver-hi); font: 600 16px/1.2 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer.site a:hover, footer.site button.link:hover { color: var(--silver-hi); }
footer.site button.link { border: 0; background: none; padding: 0; color: inherit; text-align: left; }
footer.site img { height: 66px; width: auto; margin-bottom: 14px; }
.legal { border-top: 1px solid var(--line-dark); }
footer.site .legal .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; grid-template-columns: none; font-size: 11.5px; letter-spacing: .08em; }

/* ---------- home ---------- */
.home { padding-bottom: 0; }
.h-hero { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; padding-top: 28px; height: min(80vh, 760px); min-height: 540px; }
.h-tile { position: relative; overflow: hidden; display: block; border: 0; padding: 0; margin: 0; background: var(--ink); color: #fff; text-align: left; width: 100%; height: 100%; font: inherit; cursor: pointer; }
.h-tile.big { grid-row: 1 / 3; }
.h-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.h-tile:hover img, .h-tile:focus-visible img { transform: scale(1.045); }
.h-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,0) 35%, rgba(5,6,8,.62) 100%); }
.h-cap { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; display: grid; gap: 10px; justify-items: start; }
.big .h-cap { left: 24px; right: 24px; bottom: 52px; justify-items: center; text-align: center; gap: 14px; }
.h-cap h1 { font: italic 500 clamp(52px, 6vw, 86px)/.92 var(--font-display); margin: 0; color: #fff; letter-spacing: .01em; }
.h-cap p { margin: 0; max-width: 40ch; color: rgba(255,255,255,.88); font-size: 14px; }
.h-cap h2 { font: 400 clamp(22px, 2.3vw, 32px)/1.1 var(--font-body); letter-spacing: .03em; text-transform: uppercase; margin: 0; }
.h-cap .n { font-size: 12px; color: rgba(255,255,255,.75); letter-spacing: .12em; text-transform: uppercase; }
.more { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.h-hero .big .h-cap { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) both .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 44px; border-bottom: 1px solid var(--line); }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk svg { width: 36px; height: 36px; flex: none; stroke: var(--text); fill: none; stroke-width: 1.2; }
.perk h3 { margin: 0; font: 500 12.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.perk p { margin: 5px 0 0; font-size: 13px; color: var(--muted); }

.h-sec { padding-top: 96px; }
.h-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin: 0 auto 36px; }
.h-head h2 { font: 500 clamp(34px, 3.8vw, 52px)/1.05 var(--font-display); letter-spacing: .05em; margin: 0; text-transform: uppercase; text-wrap: balance; }
.h-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.feat-tabs { display: flex; gap: 8px 30px; justify-content: center; flex-wrap: wrap; margin: -8px 0 40px; }
.feat-tabs button { border: 0; background: none; padding: 6px 0; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.feat-tabs button:hover { color: var(--text); }
.feat-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--ink); }
.h-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#featGrid { transition: opacity .25s; }
#featGrid.swap { opacity: 0; }
.center { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.h-help { padding-bottom: 110px; }
.h-help .center { margin-top: 8px; }

.h-banner { position: relative; overflow: hidden; display: grid; align-items: center; min-height: 460px; color: #fff; background: var(--ink); }
.h-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.h-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,6,8,.86) 0%, rgba(5,6,8,.55) 42%, rgba(5,6,8,0) 72%); }
.h-banner .inner { position: relative; z-index: 2; padding: 56px clamp(24px, 6vw, 80px); display: grid; gap: 18px; max-width: 600px; justify-items: start; }
.h-banner .mark { height: 46px; width: auto; }
.h-banner h2 { font: italic 500 clamp(46px, 6vw, 84px)/.95 var(--font-display); margin: 0; }
.h-banner p { margin: 0; color: rgba(255,255,255,.86); max-width: 44ch; }
.h-banner .more { color: #fff; background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 3px; cursor: pointer; }



.h-guide { margin-top: 110px; background: var(--ink); color: #b9bec5; }
.h-guide .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.h-guide figure { margin: 0; position: relative; align-self: stretch; min-height: 480px; }
.h-guide figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-guide .txt { padding-block: 80px; display: grid; gap: 20px; justify-items: start; }
.h-guide h2 { color: var(--silver-hi); font: 500 clamp(36px, 4vw, 56px)/1.05 var(--font-display); letter-spacing: .04em; text-transform: uppercase; margin: 0; }
.h-guide ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: s; }
.h-guide li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; color: #c9cdd3; }
.h-guide li::before { counter-increment: s; content: counter(s); font: italic 500 28px/1 var(--font-display); color: var(--silver-hi); }
.h-guide .actions .btn { white-space: nowrap; flex: none; }
.h-guide .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.h-guide .btn.light:hover { color: #fff; border-color: #fff; }
.h-guide .btn.outline { background: transparent; color: var(--silver-hi); border-color: #4a4f56; }
.h-guide .btn.outline:hover { border-color: var(--silver-hi); }
.photo-credits { flex-basis: 100%; font-size: 11px; color: #6f757c; letter-spacing: .02em; line-height: 1.6; }
.photo-credits a { text-decoration: underline; text-decoration-color: #3a3f45; }

@media (max-width: 1100px) {
  .h-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .h-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; min-height: 0; padding-top: 12px; }
  .h-hero .big { grid-row: auto; aspect-ratio: 4 / 5; height: auto; }
  .h-hero .h-tile:not(.big) { aspect-ratio: 16 / 9; height: auto; }
  .h-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-guide .wrap { padding-left: 0; padding-right: 0; gap: 0; }
  .h-guide figure { min-height: 0; aspect-ratio: 16 / 10; }
  .h-guide .txt { padding: 48px var(--gutter-r) 64px var(--gutter-l); }
  .h-sec { padding-top: 72px; }
  .h-banner { min-height: 520px; align-items: end; }
  .h-banner::before { background: linear-gradient(0deg, rgba(5,6,8,.9) 0%, rgba(5,6,8,.55) 55%, rgba(5,6,8,.1) 100%); }
  .h-banner .inner { padding: 40px 24px; }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 32px; }
  .h-cap { left: 20px; right: 20px; bottom: 20px; }
  .big .h-cap { bottom: 36px; }
  .search-trigger span { display: none; }
  .h-hero .big::after { background: linear-gradient(180deg, rgba(5,6,8,.2) 0%, rgba(5,6,8,.55) 40%, rgba(5,6,8,.88) 100%); }
}

/* ---------- pages ---------- */
#app { min-height: calc(100vh - 360px); } /* keeps the footer at the bottom on short pages */
.page { padding-block: 56px 96px; }
.page-note { margin: 56px 0 0; font-size: 12.5px; color: var(--muted); max-width: 70ch; }
.page h2 { font: 500 clamp(26px, 2.6vw, 34px)/1.15 var(--font-display); letter-spacing: .05em; text-transform: uppercase; margin: 0 0 14px; }
.page h3 { font: 500 12.5px/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; }
.note-link { color: var(--silver-hi); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* brands */
.brand-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.field-line { border: 1px solid var(--line); background: var(--card); padding: 12px 16px; font-size: 14px; width: min(340px, 100%); }
.letters { display: flex; flex-wrap: wrap; gap: 2px; }
.letters a { width: 34px; height: 34px; display: grid; place-items: center; font: 500 18px/1 var(--font-display); color: var(--muted); }
.letters a:hover { background: var(--ink); color: var(--silver-hi); }
.brand-index { columns: 3 260px; column-gap: 56px; }
.letter-group { break-inside: avoid; margin-bottom: 36px; scroll-margin-top: 24px; }
.letter-group h2 { font: italic 500 44px/1 var(--font-display); margin: 0 0 10px; text-transform: none; }
.letter-group ul { list-style: none; margin: 0; padding: 0; }
.letter-group button { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 12px 0; text-align: left; font-size: 15px; transition: padding .2s, color .2s; }
.letter-group button:hover { padding-left: 8px; color: var(--muted); }
.letter-group .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.brand-none { color: var(--muted); }

/* fitting guide */
.g-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 48px; border-bottom: 1px solid var(--line); }
.g-step:first-child { padding-top: 8px; }
.g-step:nth-child(3) { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.page.guide h2 span { display: inline-block; min-width: 1.4em; font-style: italic; color: var(--muted); }
.g-text { display: grid; gap: 14px; justify-items: start; }
.g-text p { margin: 0; max-width: 58ch; }
.g-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tile); }
.g-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-draw { display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.g-draw svg { width: 100%; height: auto; }
.g-profiles, .g-mats { padding-block: 48px; border-bottom: 1px solid var(--line); }
.g-profiles > p { margin: 0 0 24px; color: var(--muted); }
.prof-row, .mat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.prof { margin: 0; background: var(--card); padding: 20px 22px 24px; display: grid; gap: 6px; }
.prof svg { width: 100%; max-width: 220px; margin: -10px auto 0; display: block; }
.prof p, .mat-row p { margin: 0; font-size: 13.5px; color: var(--muted); }
.g-mats { border-bottom: 0; }
.mat-row > div { border-top: 2px solid var(--ink); padding-top: 18px; display: grid; gap: 8px; justify-items: start; align-content: start; }
.mat-row .more, .g-text .more { background: none; border-left: 0; border-right: 0; border-top: 0; color: var(--text); cursor: pointer; margin-top: 4px; }
.page.guide + .h-guide { margin-top: 0; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: grid; grid-template-columns: 40px 1fr; column-gap: 18px; row-gap: 2px; background: var(--card); padding: 22px 24px; border: 1px solid var(--line); transition: border-color .2s; }
a.c-card:hover { border-color: var(--ink); }
.c-card svg { grid-row: 1 / 4; width: 34px; height: 34px; fill: none; stroke: var(--text); stroke-width: 1.2; }
.c-card h3 { margin: 0; }
.c-card p { margin: 0; color: var(--muted); font-size: 14px; }
.c-card .more { justify-self: start; margin-top: 8px; font-size: 10.5px; }
.ask { background: var(--card); border: 1px solid var(--line); padding: 36px 34px; }
.ask .lede { margin: 0 0 24px; }
.ask textarea { min-height: 120px; }
.ask-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
#askMsg .form-msg { margin-top: 16px; }

/* legal */
.legal-page { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: 24px; display: grid; border-top: 1px solid var(--line); }
.legal-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-nav a:hover, .legal-nav a[aria-current="page"] { color: var(--text); }
.legal-nav a[aria-current="page"]::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--ink); vertical-align: middle; margin-right: 10px; }
.prose { max-width: 720px; font-size: 15px; line-height: 1.75; }
.prose .updated { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; margin: 0 0 24px; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); margin: 40px 0 10px; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #9aa0a8; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul.biz { list-style: none; padding: 18px 22px; background: var(--card); border: 1px solid var(--line); gap: 6px; }
.prose .biz b { display: inline-block; min-width: 180px; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 860px) {
  .page { padding-block: 40px 72px; }
  .g-step, .contact, .legal-page { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .prof-row, .mat-row { grid-template-columns: minmax(0, 1fr); }
  .legal-nav { position: static; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .ask { padding: 26px 20px; }
  .prose .biz b { display: block; min-width: 0; }
}

/* ---------- motion ---------- */
#app.enter { animation: view-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }
.cart-count.bump { animation: bump .5s cubic-bezier(.2,.7,.2,1); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* product cards: a lighter tray and a lifted crystal on hover */
.tray::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 42%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.card:hover .tray::before { opacity: 1; }
.card h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s; }
.card:hover h3 a { background-size: 100% 1px; }
.card h3 a:hover { color: inherit; }

/* slim pinned bar (desktop) */
.minibar { position: fixed; top: 0; left: 0; right: 0; z-index: 55; background: rgba(11,12,14,.97); color: var(--silver); border-bottom: 1px solid var(--line-dark); transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.minibar.show { transform: none; }
.minibar .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding-block: 6px; }
.logo-sm img { display: block; height: 40px; width: auto; }
.mini-nav { display: flex; justify-content: center; gap: 34px; }
.mini-nav a { font-size: 11.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; position: relative; }
.mini-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: var(--silver-hi); transition: right .3s ease; }
.mini-nav a:hover::after, .mini-nav a[aria-current="page"]::after { right: 0; }

/* crystal finder */
.finder-fab { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 74; display: flex; align-items: center; gap: 10px; border: 1px solid #3a3f46; background: var(--ink); color: var(--silver-hi); padding: 13px 20px 13px 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(5,6,8,.25); transition: transform .25s, background .25s; }
.finder-fab:hover { transform: translateY(-2px); background: #1b1e22; }
.finder-fab svg { width: 20px; height: 20px; }
body.finder-open .finder-fab { opacity: 0; pointer-events: none; }
.finder { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 75; width: min(420px, calc(100vw - 40px)); height: min(640px, calc(100vh - 40px)); background: var(--card); box-shadow: 0 24px 60px rgba(5,6,8,.3); display: grid; grid-template-rows: auto 1fr auto; animation: finder-in .35s cubic-bezier(.2,.7,.2,1); }
.finder[hidden] { display: none; }
@keyframes finder-in { from { opacity: 0; transform: translateY(16px); } }
.finder-head { display: flex; align-items: flex-start; gap: 6px; background: var(--ink); color: var(--silver-hi); padding: 18px 14px 16px 22px; }
.finder-head > div { flex: 1; }
.finder-head h2 { margin: 0; font: 500 24px/1.1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
.finder-head p { margin: 4px 0 0; font-size: 12.5px; color: #9aa0a8; }
.finder-head .icon-btn { width: 36px; height: 36px; }
.finder-log { overflow-y: auto; overflow-x: hidden; padding: 20px 18px 12px; display: grid; gap: 10px; align-content: start; background: var(--paper); scroll-behavior: smooth; }
.f-msg { min-width: 0; max-width: 92%; font-size: 13.5px; line-height: 1.55; animation: finder-in .3s ease; }
.f-msg.bot { background: var(--card); padding: 12px 14px; border: 1px solid var(--line); }
.f-msg.bot p { margin: 0 0 8px; } .f-msg.bot p:last-child { margin: 0; }
.f-msg.bot a { text-decoration: underline; text-underline-offset: 3px; }
.f-msg.me { justify-self: end; background: var(--ink); color: var(--silver-hi); padding: 9px 14px; }
.f-msg.choices, .f-msg.bot:has(.f-results) { max-width: 100%; }
.f-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.f-choices button, .f-choices a { border: 1px solid var(--line); background: var(--card); padding: 8px 12px; font-size: 12.5px; color: var(--text); transition: background .2s, color .2s, border-color .2s; }
.f-choices button:hover, .f-choices a:hover { background: var(--ink); color: var(--silver-hi); border-color: var(--ink); }
.f-choices .f-wa { background: var(--ink); color: var(--silver-hi); border-color: var(--ink); }
.f-results { display: grid; gap: 6px; margin-top: 10px; }
.f-item { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; background: var(--paper); }
.f-thumb { background: var(--tile); aspect-ratio: 1; display: grid; place-items: center; }
.f-thumb svg { width: 82%; height: 82%; }
.f-item .f-name { display: block; overflow-wrap: anywhere; font-weight: 500; font-size: 13px; line-height: 1.3; text-decoration: none; }
.f-item .f-spec { display: block; font-size: 11.5px; color: var(--muted); }
.f-item .price { font-size: 13px; }
.f-add { border: 0; background: var(--ink); color: var(--silver-hi); padding: 8px 12px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.f-add:hover { background: #2b2f35; }
.f-tip { color: var(--muted); font-size: 12.5px; }
.finder-input { display: flex; border-top: 1px solid var(--line); background: var(--card); }
.finder-input[hidden] { display: none; }
.finder-input input { flex: 1; min-width: 0; border: 0; padding: 16px 18px; font-size: 14px; background: none; }
.finder-input input:focus { outline: none; }
.finder-input .btn { padding: 0 20px; border: 0; }
.note-card .btn.light { margin-top: 6px; }
.note-card .btn.light:hover { color: var(--silver-hi); border-color: var(--silver-hi); }
.side-head, .side-foot { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .mini-nav { gap: 20px; }
  .shop { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  nav.main { gap: 22px; }
}
@media (max-width: 860px) {
  header.site .wrap { padding-block: 8px; }
  nav.main { display: none; }
  header.site { position: sticky; top: 0; }
  .minibar { display: none; }
  nav.main.open { display: grid; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 100%); overflow-y: auto; align-content: start; background: var(--ink); padding: 8px var(--gutter-r) 32px var(--gutter-l); gap: 0; justify-content: stretch; border-top: 1px solid var(--line-dark); animation: view-in .3s ease; }
  nav.main.open a { font: 500 26px/1.2 var(--font-display); letter-spacing: .08em; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  nav.main.open a::after { display: none; }
  nav.main.open a[aria-current="page"] { color: var(--silver-hi); }
  aside.side.open { display: grid; position: fixed; inset: 0; z-index: 85; overflow-y: auto; background: var(--card); padding: 0 20px; border: 0; gap: 30px; animation: view-in .3s ease; }
  aside.side.open .side-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; background: var(--card); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .side-head h3 { margin: 0; font: 600 22px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }
  .side-head .icon-btn { color: var(--text); }
  aside.side.open .side-foot { display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--card); padding: 14px 0 max(14px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
  .side-foot .btn { flex: 1; padding-inline: 12px; }
  aside.side.open .note-card { display: none; }
  body.filters-open { overflow: hidden; }
  .finder { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; }
  body.finder-open { overflow: hidden; }
  .finder-fab { padding: 12px 16px 12px 12px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .menu-btn { display: grid; }
  .head-actions { grid-column: 3; }
  .logo img { height: 46px; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  aside.side { display: none; }
  .filter-toggle { display: inline-flex; }
  .product { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  footer.site .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .grid { gap: 32px 14px; }
  .card h3 { font-size: 15.5px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(3, 72px); order: 2; }
  .quick { transform: none; position: static; }
  .tray .quick { position: absolute; }
  .quick button, .quick a { padding: 10px 8px; font-size: 10px; letter-spacing: .12em; }
  .toolbar-r { width: 100%; }
  .toolbar-r .select { flex: 1; min-width: 0; }
  footer.site .wrap { grid-template-columns: 1fr; }
  .topbar span:last-child { display: none; }
}
