/* Niscaya site styles. Brand: black/white wordmark (#060808) + one red accent (#D91B28).
   Font: Plus Jakarta Sans (SIL OFL 1.1, Tokotype), self-hosted Latin subset.
   Shape rule: buttons and chips are pills; cards and photos use --r (16px); small tiles --r-sm (10px);
   --r-lg (24px) only for page-level containers (buy panel, product gallery).
   Borders: --field-border (3:1) on form fields and outline buttons; --line / --line-strong are decorative.
   Motion rule: transform/opacity only, under 300ms; prefers-reduced-motion is the only opt-out. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.44ab085f.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light dark;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --ink: #060808;
  --ink-2: #262c31;
  --muted: #586069;
  --line: #e0e3e8;
  --line-strong: #c6ccd3;
  --field-border: #848d96;
  --accent: #d91b28;
  --accent-hover: #c01521;
  --accent-ink: #bf1320;
  --on-accent: #ffffff;
  --accent-soft: #fbeaeb;
  --tint: #e6eaf0;
  --photo: #ffffff;
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgb(16 24 32 / 0.05), 0 10px 28px -14px rgb(16 24 32 / 0.18);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 60px;
  --gutter: 16px;
  --maxw: 1200px;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --step-3: clamp(1.5rem, 1.28rem + 1vw, 2.125rem);
  --step-4: clamp(1.875rem, 1.5rem + 1.8vw, 2.75rem);
  --step-5: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0c0d;
    --surface: #131618;
    --surface-2: #1a1e21;
    --ink: #f3f5f6;
    --ink-2: #d4d9de;
    --muted: #9aa3ab;
    --line: #262b30;
    --line-strong: #3a4148;
    --field-border: #6b747d;
    --accent: #d91b28;
    --accent-hover: #c01521;
    --accent-ink: #f0525b;
    --on-accent: #ffffff;
    --accent-soft: #2b1517;
    --tint: #1b2025;
    --photo: #eef0f2;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 14px 34px -18px rgb(0 0 0 / 0.7);
  }
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-h: 68px; } }

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.015em; word-spacing: 0.05em; font-weight: 780; }
h2 { font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.015em; word-spacing: 0.05em; font-weight: 740; }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: -0.01em; font-weight: 680; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong, b { font-weight: 700; }
small { font-size: var(--step--1); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
input, select { font: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.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;
}
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 8px; }
.muted { color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--ink-2); line-height: 1.55; max-width: 62ch; }
.measure { max-width: 68ch; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--bg); } }
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border-radius: 6px; }
.logo img { height: 21px; width: auto; }
@media (min-width: 1024px) { .logo img { height: 23px; } }
.nav-desktop { display: none; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 620; font-size: 0.9375rem; color: var(--ink-2);
  transition: background-color 160ms ease, color 160ms ease;
}
.nav-desktop a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) and (pointer: fine) { .nav-desktop a:hover { background: var(--surface-2); color: var(--ink); } }
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 2px; align-items: center; }
  .menu { display: none; }
}
.menu { position: static; }
.menu > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--field-border); background: var(--surface);
  font-weight: 650; font-size: 0.9375rem; cursor: pointer; user-select: none;
  transition: transform 140ms var(--ease-out);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:active { transform: scale(0.97); }
.menu > summary .i-close { display: none; }
.menu[open] > summary .i-open { display: none; }
.menu[open] > summary .i-close { display: block; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter) 24px;
}
.menu[open] .menu-panel { animation: menu-in 200ms var(--ease-out); }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; text-decoration: none; font-weight: 680; font-size: 1.125rem; border-bottom: 1px solid var(--line); }
.menu-panel a .i { color: var(--muted); }
.menu-panel .menu-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.menu-panel .menu-cats a { min-height: 44px; font-size: 0.875rem; font-weight: 620; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0 14px; background: var(--surface); }
.menu-panel .menu-label { margin: 20px 0 0; font-size: var(--step--1); color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------- buttons, chips, cards */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.6rem 1.15rem; border-radius: var(--r-pill);
  border: 1px solid transparent; font-weight: 680; font-size: 0.9375rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--field-border); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--accent-hover); }
  .btn-ink:hover { background: var(--ink-2); }
  .btn-ghost:hover { background: var(--surface); border-color: var(--ink-2); }
}
.btn-lg { min-height: 52px; padding-inline: 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { max-width: 100%; white-space: normal; text-align: center; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0.35rem 0.95rem;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink-2); font-size: 0.875rem; font-weight: 620; line-height: 1.2; text-decoration: none;
  white-space: nowrap; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip .n { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: inherit; opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .chip:hover { border-color: var(--ink-2); } }
.chip-static { cursor: default; min-height: 34px; background: var(--surface-2); border-color: transparent; }
a.chip-static { cursor: pointer; min-height: 44px; }
.chip-static:active { transform: none; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.grid { display: grid; gap: clamp(12px, 2vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }

/* ---------------------------------------------------------------- photo frames
   Product photos always sit on a light photo surface (both themes) so dark products stay visible.
   Opaque photos get a frame in their own edge colour; cut-outs and white photos get padding. */
.ph { position: relative; display: block; overflow: hidden; background: var(--photo); border-radius: var(--r); isolation: isolate; min-height: 0; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ph-pad img { padding: 9%; }
.ph-white { background: #ffffff; }
.ph-ext img { padding: 0; }
/* small source photos (long side < 700 / < 500 px) get more margin in big frames, so they are not
   blown up 2-3x on retina screens. Square edge-extended photos carry that margin in the file. */
:is(.gallery-slide, .pcard .ph, .ptile .ph, .need-tile .ph, .cat-covers .ph).ph-pad.ph-lowres img { padding: 14%; }
:is(.gallery-slide, .pcard .ph, .ptile .ph, .need-tile .ph, .cat-covers .ph).ph-pad.ph-tiny img { padding: 20%; }
@media (prefers-color-scheme: dark) {
  .ph { filter: brightness(0.95); }
  /* one photo-surface colour in dark mode: white-background photos blend into it */
  .ph-white { background: var(--photo); }
  .ph-white img { mix-blend-mode: multiply; }
}

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-tight { padding-block: clamp(1.5rem, 4vw, 3rem); }
.section-head { display: grid; gap: 0.5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); max-width: 70ch; }
.section-head p { margin: 0; color: var(--muted); }
.section-foot { margin-top: 1.5rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-weight: 680; text-decoration: none; color: var(--ink); }
.link-arrow .i { transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { text-decoration: underline; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .link-arrow:hover .i { transform: translateX(3px); } }

.page-head { padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem); }
.page-head h1 { margin-top: 0.75rem; max-width: 24ch; }
.page-head .lead { margin-top: 0.75rem; }

/* breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; font-size: var(--step--1); color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; padding: 0 4px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--ink); text-decoration: underline; } }
.crumbs .i { width: 14px; height: 14px; opacity: 0.6; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------------------------------------------------------------- home hero */
.hero { padding-block: clamp(1.25rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: center; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink-2); font-size: 0.9375rem; margin: 0 0 14px; }
.hero-kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.02em; word-spacing: 0.08em; font-weight: 760; max-width: 20ch; }
.hero .lead { margin: 18px 0 26px; max-width: 46ch; }
.hero-visual { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.hero-visual .tile-main { grid-column: 1 / -1; }
@media (min-width: 960px) { .hero-visual { grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; } .hero-visual .tile-main { grid-column: 1; grid-row: 1 / 3; } }
.ptile { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
.ptile .ph { border-radius: 0; aspect-ratio: 1; flex: 1; }
.tile-main .ph { aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .tile-main .ph { aspect-ratio: auto; min-height: 340px; } }
.ptile-cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px 12px; font-size: 0.8125rem; font-weight: 650; color: var(--ink-2); border-top: 1px solid var(--line); }
.ptile-cap span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; }
.ptile-cap .i { color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .ptile:hover { box-shadow: var(--shadow); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .ptile:hover { transform: translateY(-2px); } }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 300ms var(--ease-out) both; }
  .rise-2 { animation-delay: 60ms; }
  .rise-3 { animation-delay: 120ms; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: fade 300ms ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  @keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }
  .btn:active, .chip:active, .menu > summary:active { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- need tiles (bento, exact 5 cells) */
.need { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.need > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .need { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .need > :nth-child(1), .need > :nth-child(2) { grid-column: span 3; }
  .need > :nth-child(n + 3) { grid-column: span 2; }
}
.need-tile { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
.need-tile .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.need-tile-body { padding: 14px 16px 16px; display: grid; gap: 2px; align-content: start; }
.need-tile-body strong { font-size: 1rem; font-weight: 720; letter-spacing: -0.01em; line-height: 1.25; }
.need-tile-body span { font-size: var(--step--1); color: var(--muted); }
.need > :first-child { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.need > :first-child .ph { aspect-ratio: 1; }
.need > :first-child .need-tile-body { align-content: center; padding: 18px; }
@media (min-width: 900px) {
  .need > :nth-child(1), .need > :nth-child(2) { grid-template-rows: none; grid-template-columns: 1.1fr 1fr; }
  .need > :nth-child(1) .ph, .need > :nth-child(2) .ph { aspect-ratio: 5 / 4; }
  .need > :nth-child(1) .need-tile-body, .need > :nth-child(2) .need-tile-body { align-content: center; padding: 22px; }
  .need > :nth-child(1) strong, .need > :nth-child(2) strong { font-size: var(--step-2); }
}
@media (hover: hover) and (pointer: fine) { .need-tile:hover { box-shadow: var(--shadow); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .need-tile:hover { transform: translateY(-2px); } }
.cat-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------------------------------------------------------------- product cards */
.pgrid { display: grid; gap: 20px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pcard .ph { aspect-ratio: 1; border: 1px solid var(--line); }
.pcard .ph img { transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pcard:hover .pcard-title a { text-decoration: underline; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .pcard:hover .ph img { transform: scale(1.035); } }
.pcard-title { font-size: 0.9375rem; font-weight: 680; line-height: 1.3; letter-spacing: -0.005em; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 699px) { .pcard-title { -webkit-line-clamp: 3; } }
.pcard-title a { text-decoration: none; }
.pcard-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.pcard-title a:focus-visible { outline: none; }
.pcard:has(a:focus-visible) .ph { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.pcard-short { margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.pcard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pcard-meta .i { width: 14px; height: 14px; }

/* horizontal scroller on phones, grid from 900px */
.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 44%); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; list-style: none; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; }
@media (min-width: 700px) { .scroller { grid-auto-columns: minmax(180px, 30%); } }
@media (min-width: 1024px) {
  .scroller.to-grid { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 28px 18px; }
}

/* ---------------------------------------------------------------- tools list */
.tool-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .tool-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.tool-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms ease, border-color 160ms ease; }
.tool-row .tool-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); }
.tool-row .tool-ic .i { width: 24px; height: 24px; }
.tool-row strong { display: block; font-size: 1rem; font-weight: 720; letter-spacing: -0.01em; }
.tool-row span.d { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.tool-row > .i { color: var(--muted); transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tool-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow); } .tool-row:hover > .i { color: var(--ink); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .tool-row:hover > .i { transform: translateX(3px); } }

/* ---------------------------------------------------------------- video cards */
.vcard { margin: 0; display: grid; gap: 8px; min-width: 0; }
.vcard-play { position: relative; display: block; border-radius: var(--r); overflow: hidden; background: #0d1012; aspect-ratio: 9 / 16; text-decoration: none; color: #fff; }
.vcard.landscape .vcard-play { aspect-ratio: 4 / 3; }
.vcard-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms var(--ease-out), opacity 200ms ease; }
.vcard.landscape .vcard-play img { object-fit: contain; }
.vcard-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.45), transparent 42%); pointer-events: none; }
.vcard-btn { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 8px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.94); color: #060808; font-size: 0.8125rem; font-weight: 700; transition: transform 140ms var(--ease-out); }
.vcard-btn .i { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.vcard-play:active .vcard-btn { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .vcard-play:hover img { transform: scale(1.03); } }
.vcard video { width: 100%; height: 100%; border-radius: var(--r); background: #0d1012; aspect-ratio: 9 / 16; object-fit: contain; }
video:focus-visible { outline-color: var(--ink); }
.vcard.landscape video { aspect-ratio: 4 / 3; }
.vcard figcaption { font-size: 0.875rem; font-weight: 650; line-height: 1.35; }
.vcard figcaption a { text-decoration: none; }
.vcard figcaption a:hover { text-decoration: underline; }
.vcard figcaption .muted { display: block; font-weight: 500; font-size: 0.8125rem; }
.vgrid .vcard.landscape .vcard-play, .scroller .vcard.landscape .vcard-play { aspect-ratio: 9 / 16; }
.vgrid .vcard.landscape video, .scroller .vcard.landscape video { aspect-ratio: 9 / 16; }
.vgrid { display: grid; gap: 18px 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 16px; } }
.video-solo { max-width: 340px; }
.video-solo.landscape { max-width: 620px; }

/* ---------------------------------------------------------------- trust */
.trust-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; } }
.facts { display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.facts > div { display: grid; gap: 2px; padding: 14px 0; }
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 650; line-height: 1.45; }
.facts dd small { display: block; font-weight: 500; color: var(--muted); margin-top: 2px; }
.proof { display: grid; gap: 14px; align-content: start; padding: 18px 0 0; border-top: 1px solid var(--line-strong); }
.proof-num { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.proof-num b { font-size: clamp(2.75rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; font-variant-numeric: tabular-nums; }
.proof-num span { font-size: 1.125rem; font-weight: 650; color: var(--muted); }
.proof p { margin: 0; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.proof-stats div { background: var(--surface-2); border-radius: var(--r-sm); padding: 12px 14px; }
.proof-stats b { display: block; font-size: 1.25rem; font-weight: 780; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-stats span { font-size: 0.8125rem; color: var(--muted); line-height: 1.35; display: block; }
.source { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.source a { color: var(--ink-2); }

.quotes { display: grid; gap: 0 40px; margin-top: 28px; list-style: none; padding: 0; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { margin: 0; padding: 18px 0 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.quote blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--ink); font-weight: 560; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 0.8125rem; color: var(--muted); line-height: 1.45; }
.quote figcaption a { color: var(--ink-2); font-weight: 650; }

/* ---------------------------------------------------------------- guides */
.glist { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .glist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .glist.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gcard { position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow 200ms ease, border-color 160ms ease; }
.gcard .ph { width: 88px; height: 88px; border-radius: var(--r-sm); }
.gcard.noimg { grid-template-columns: 1fr; }
.gcard h3 { font-size: 1rem; line-height: 1.35; }
.gcard h3 a { text-decoration: none; }
.gcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.gcard p { margin: 4px 0 0; font-size: 0.875rem; color: var(--muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .gmeta { margin-top: 8px; font-size: 0.75rem; color: var(--muted); font-weight: 600; display: flex; gap: 12px; flex-wrap: wrap; }
@media (hover: hover) and (pointer: fine) { .gcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); } .gcard:hover h3 a { text-decoration: underline; } }

/* ---------------------------------------------------------------- buy panel */
.buy-panel { display: grid; gap: 18px; padding: clamp(20px, 4vw, 40px); background: var(--tint); border-radius: var(--r-lg); }
@media (min-width: 900px) { .buy-panel { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px; } }
.buy-panel h2 { max-width: 20ch; }
.buy-panel p { margin: 0; color: var(--ink-2); }
.buy-panel .stores { display: grid; gap: 10px; }
.store { display: grid; gap: 2px; padding: 14px 16px; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color 160ms ease, box-shadow 200ms ease; }
a.store b { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 2px; }
@media (hover: hover) and (pointer: fine) { a.store:hover { border-color: var(--line-strong); box-shadow: var(--shadow); } }
.store b { font-size: 0.9375rem; }
.store span { font-size: 0.8125rem; color: var(--muted); }

/* ---------------------------------------------------------------- products index + filters */
.filters { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .filters { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; align-items: center; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row + .filter-row { margin-top: 8px; }
.filter-label { flex: none; font-size: 0.75rem; font-weight: 700; color: var(--muted); min-width: 52px; }
@media (min-width: 1024px) { .filter-row { flex-wrap: wrap; overflow: visible; } }
.filter-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0 14px; font-size: 0.875rem; color: var(--muted); }
.filter-status button { background: none; border: 0; min-height: 44px; padding: 0 4px; font-weight: 680; color: var(--ink); text-decoration: underline; cursor: pointer; }
.empty { padding: 32px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.empty p { color: var(--muted); }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- category page */
.cat-head { display: grid; gap: 20px; padding-block: clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 960px) { .cat-head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; } }
.cat-head h1 { margin-top: 0.75rem; }
.cat-intro { margin-top: 0.75rem; color: var(--ink-2); max-width: 64ch; }
.cat-intro p:last-child { margin-bottom: 0; }
.cat-covers { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.cat-covers .ph { aspect-ratio: 1; border: 1px solid var(--line); }
.cat-covers.n1 { grid-template-columns: 1fr; max-width: 320px; }
.cat-covers.n2 { grid-template-columns: 1fr 1fr; }
.helper { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

/* ---------------------------------------------------------------- product page */
.product-top { display: grid; gap: 24px; padding-top: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .product-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 52px; align-items: start; } .gallery { position: sticky; top: calc(var(--header-h) + 16px); } }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; border-radius: var(--r-lg); scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { margin: 0; scroll-snap-align: center; aspect-ratio: 1; border-radius: var(--r-lg); border: 1px solid var(--line); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; list-style: none; padding: 0; }
.gallery-thumbs a { display: block; width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; transition: border-color 160ms ease; }
.gallery-thumbs a .ph { width: 100%; height: 100%; border-radius: 7px; }
.gallery-thumbs a[aria-current="true"] { border-color: var(--ink); }
.gallery-count { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); }
.pinfo h1 { font-size: var(--step-4); margin-top: 10px; }
.pinfo .lead { margin-top: 12px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; line-height: 1.5; }
.checks .i { width: 20px; height: 20px; color: var(--ink-2); margin-top: 2px; }
.variants { margin-top: 20px; }
.variants h2, .buybox h2, .kicker { font-size: 0.875rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); margin-bottom: 8px; }
.variants ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.variants p { margin: 8px 0 0; font-size: 0.8125rem; color: var(--muted); }
.buybox { margin-top: 22px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.buybox .btn { width: 100%; white-space: normal; text-align: center; }
.buybox p { margin: 2px 0 0; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.pblock { display: grid; gap: 24px; padding-block: clamp(2rem, 5vw, 3.5rem) 0; }
@media (min-width: 960px) { .pblock.with-video { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; } .pblock.with-video.landscape { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.specs { display: grid; gap: 8px; margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); grid-auto-flow: row dense; }
@media (min-width: 700px) { .specs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); } }
.spec { padding: 12px 14px; background: var(--surface-2); border-radius: var(--r-sm); min-width: 0; }
.spec dt { font-size: 0.75rem; font-weight: 650; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-weight: 650; line-height: 1.45; overflow-wrap: anywhere; }
.spec.wide { grid-column: 1 / -1; }
.boxlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.boxlist li { display: flex; gap: 10px; align-items: flex-start; }
.boxlist .i { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.help-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* asides: notes and tips (product pages, guides, tools) */
.note, .tip, aside.note, aside.tip { position: relative; margin: 1.5rem 0; padding: 14px 16px 14px 18px; border-radius: var(--r); background: var(--tint); color: var(--ink-2); line-height: 1.55; }
.note::before, .tip::before { display: block; font-size: 0.75rem; font-weight: 750; color: var(--ink); margin-bottom: 4px; }
.note::before { content: "Catatan"; }
.tip::before { content: "Tips"; color: var(--accent-ink); }
.note > :last-child, .tip > :last-child { margin-bottom: 0; }
.note ul, .tip ul { margin: 0; }
.note-plain::before { content: none; }

/* ---------------------------------------------------------------- guide article */
.article-head { padding-block: clamp(1.25rem, 3vw, 2.25rem) 0; }
.article-head h1 { margin-top: 0.75rem; max-width: 26ch; font-size: var(--step-4); }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.byline b { color: var(--ink-2); font-weight: 650; }
.article-hero { margin-top: 24px; max-width: 760px; }
.article-hero .ph { aspect-ratio: 16 / 9; border: 1px solid var(--line); }
.toc { margin: 28px 0 0; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); max-width: 760px; }
.toc p { margin: 0 0 6px; font-weight: 700; font-size: 0.875rem; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 0.9375rem; }
.toc a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink-2); line-height: 1.4; }
.toc a:hover { text-decoration: underline; color: var(--ink); }
.prose { max-width: 720px; font-size: 1.0625rem; line-height: 1.72; color: var(--ink-2); }
.prose > * { margin-top: 0; }
.prose h2 { font-size: var(--step-3); margin: 2.4em 0 0.6em; color: var(--ink); }
.prose h3 { font-size: var(--step-2); margin: 1.8em 0 0.5em; }
.prose h4 { font-size: var(--step-1); margin: 1.5em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1em; }
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--ink); font-weight: 600; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--ink); font-weight: 520; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--r); background: var(--photo); }
.prose figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 8px; }
.prose code { font-size: 0.9em; background: var(--surface-2); padding: 0.1em 0.35em; border-radius: 6px; }
.table-scroll { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; min-width: 480px; }
.table-scroll th, .table-scroll td { text-align: left; vertical-align: top; padding: 10px 14px; }
.table-scroll thead th { background: var(--surface-2); font-weight: 700; color: var(--ink); font-size: 0.875rem; }
.table-scroll tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 45%, transparent); }
.prose .embed { margin: 1.8em 0; }
.prose .embed.video-solo { max-width: 320px; }
.prose .embed.video-solo.landscape { max-width: 600px; }
@media (min-width: 700px) { .prose .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } }
.embed-product { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); position: relative; }
.embed-product .ph { width: 96px; height: 96px; border-radius: var(--r-sm); }
.embed-product strong { display: block; color: var(--ink); line-height: 1.35; }
.embed-product span { display: block; font-size: 0.875rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.embed-product a { text-decoration: none; font-weight: inherit; }
.embed-product a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.prose .pgrid { margin: 1.5em 0; }
.prose .pgrid li { margin: 0; }
.tool-cta { display: block; margin: 1.8em 0; }
.faq { max-width: 760px; display: grid; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; font-weight: 680; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) { .faq summary .i { transition: transform 200ms var(--ease-out); } }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details > div { padding: 0 16px 16px; color: var(--ink-2); }
.sources { max-width: 760px; font-size: 0.9375rem; color: var(--ink-2); padding-left: 1.3em; display: grid; gap: 6px; }
.sources a { overflow-wrap: anywhere; }
.how-made { max-width: 760px; font-size: 0.875rem; }

/* ---------------------------------------------------------------- tool page */
.tool-body { margin-top: 8px; }
.tool-intro { margin-top: 0.75rem; }

/* ---------------------------------------------------------------- inspirasi */
.anchor-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
.anchor-row::-webkit-scrollbar { display: none; }
.vgroup + .vgroup { margin-top: clamp(2.5rem, 6vw, 4rem); }
.vgroup .section-head { margin-bottom: 1rem; }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); max-width: 78ch; }
.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.plain-list li b { display: block; color: var(--ink); }
.plain-list li span { color: var(--muted); font-size: 0.9375rem; }

/* ---------------------------------------------------------------- 404 */
.nf { padding-block: clamp(2.5rem, 8vw, 6rem); max-width: 720px; }
.nf h1 { font-size: var(--step-5); letter-spacing: -0.035em; }
.search { display: grid; gap: 6px; margin: 24px 0 8px; }
.search label { font-weight: 680; font-size: 0.9375rem; }
.search input { min-height: 50px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--field-border); background: var(--surface); color: var(--ink); width: 100%; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search-results { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); text-decoration: none; background: var(--surface); border: 1px solid var(--line); }
.search-results .ph { width: 48px; height: 48px; border-radius: 8px; flex: none; }
.search-results span { font-weight: 620; font-size: 0.9375rem; line-height: 1.35; }

/* ---------------------------------------------------------------- footer */
.site-footer { margin-top: clamp(2rem, 4vw, 3rem); background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 5vw, 4rem) 28px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 26px; width: auto; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 36ch; }
.footer-col h2 { font-size: 0.8125rem; font-weight: 750; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-col ul { gap: 0; }
@media (max-width: 759px) { .footer-col ul { grid-template-columns: 1fr 1fr; column-gap: 16px; } }
.footer-col a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink-2); line-height: 1.3; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-col address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.footer-col address span { display: block; }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.8125rem; color: var(--muted); line-height: 1.55; }
.footer-legal p { margin: 0; }

/* ---------------------------------------------------------------- review pass (10 Nov): header store link, menu, phone hero */
.nav-desktop a.nav-store { margin-left: 10px; gap: 6px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--field-border); }
.nav-desktop a.nav-store .i { width: 1em; height: 1em; }
.menu > summary .l-close { display: none; }
.menu[open] > summary .l-open { display: none; }
.menu[open] > summary .l-close { display: inline; }
.menu-panel { z-index: 2; box-shadow: none; }
.menu-panel a.menu-store { margin: 8px 0 4px; padding: 10px 14px; min-height: 60px; border: 1px solid var(--field-border); border-radius: var(--r); background: var(--surface); font-size: 1rem; }
.menu-panel a.menu-store b { display: block; }
.menu-panel a.menu-store small { display: block; color: var(--muted); font-weight: 520; font-size: 0.8125rem; }
.menu-panel a.menu-store .i { color: var(--ink); }
.menu-scrim { display: none; position: absolute; left: 0; right: 0; top: 100%; height: 100vh; z-index: 1; background: rgb(6 8 8 / 0.38); }
html.menu-open { overflow: hidden; }
html.menu-open .menu-scrim { display: block; }
@media (prefers-reduced-motion: no-preference) { html.menu-open .menu-scrim { animation: fade 200ms ease; } }
@media (min-width: 900px) { .menu-scrim { display: none !important; } }

@media (prefers-color-scheme: dark) {
  .btn-ink { background: var(--surface-2); color: var(--ink); border-color: var(--field-border); }
}
@media (hover: hover) and (pointer: fine) and (prefers-color-scheme: dark) { .btn-ink:hover { background: var(--line); } }

@media (max-width: 479px) {
  .hero { padding-bottom: 1.75rem; }
  .hero .lead { margin: 14px 0 20px; }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero .btn-row .btn { padding-inline: 0.6rem; gap: 0.35rem; }
  .hero-grid { gap: 22px; }
  .hero-visual { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-visual .tile-main { grid-column: auto; }
  .hero-visual .ptile .ph { aspect-ratio: 1; }
  .hero-visual .ptile-cap { display: none; }
}

.store-note { margin: 2px 0 0; padding: 0 4px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.5; }

/* ---------------------------------------------------------------- tables: sticky first column, scroll hint */
.table-wrap { position: relative; margin: 1.5em 0; }
.table-wrap > .table-scroll { margin: 0; }
.table-hint { display: none; margin: 0 0 6px; font-size: 0.8125rem; color: var(--muted); }
@media (max-width: 699px) { .table-wrap.is-scrollable .table-hint { display: block; } }
.table-wrap::after { content: ""; position: absolute; top: 1px; right: 1px; bottom: 1px; width: 36px; pointer-events: none; border-radius: 0 var(--r) var(--r) 0; background: linear-gradient(to right, transparent, var(--surface)); opacity: 0; transition: opacity 160ms ease; }
.table-wrap.is-scrollable:not(.at-end)::after { opacity: 1; }
.table-scroll :is(th, td):first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--line); }
.table-scroll thead th:first-child { background: var(--surface-2); }
.table-scroll tbody tr:nth-child(even) > :first-child { background: color-mix(in srgb, var(--surface-2) 45%, var(--surface)); }
@media (max-width: 699px) { .table-scroll :is(th, td):first-child { max-width: 44vw; } }

/* ---------------------------------------------------------------- guide: table of contents beside the text on wide screens */
.article-body { margin-top: 28px; }
.article-body > .toc { margin: 0 0 32px; }
.toc ol { gap: 0; }
@media (min-width: 1100px) {
  .article-body.has-toc { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 56px; align-items: start; }
  .article-body.has-toc > .prose { grid-column: 1; grid-row: 1; }
  .article-body.has-toc > .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); margin: 0; max-height: calc(100dvh - var(--header-h) - 48px); overflow-y: auto; font-size: 0.9375rem; }
  .article-body.has-toc > .toc ol { font-size: 0.875rem; }
}

/* ---------------------------------------------------------------- category covers repeat the grid on phones */
@media (max-width: 959px) { .cat-covers { display: none; } }

/* ---------------------------------------------------------------- video sheet on phones (site.js) */
.vdialog { padding: 0; border: 0; background: transparent; color: #ffffff; width: min(92vw, 420px); max-width: none; max-height: 94dvh; overflow: visible; }
.vdialog::backdrop { background: rgb(6 8 8 / 0.94); }
.vdialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.vdialog-title { color: #ffffff; font-weight: 680; font-size: 0.9375rem; line-height: 1.35; text-decoration: underline; text-underline-offset: 0.18em; min-height: 44px; display: inline-flex; align-items: center; }
.vdialog-close { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: #ffffff; color: #060808; font-weight: 700; cursor: pointer; transition: transform 140ms var(--ease-out); }
.vdialog-close:active { transform: scale(0.97); }
.vdialog-close:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
.vdialog video { display: block; width: 100%; height: auto; max-height: calc(94dvh - 64px); border-radius: var(--r); background: #0d1012; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) { .vdialog[open] { animation: sheet-in 220ms var(--ease-out); } }
@media (prefers-reduced-motion: reduce) { .vdialog[open] { animation: fade 200ms ease; } .vdialog-close:active { transform: none; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- print */
@media print { .site-header, .site-footer, .filters, .buybox .btn, .vcard-play { display: none !important; } body { background: #fff; } }

/* ---------------------------------------------------------------- small utilities (no inline styles: CSP) */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.pb-0 { padding-bottom: 0 !important; }
.footer-sub { margin-top: 20px; }

/* generated: photo frame colours matched to each photo's own edge */
.bg-070707{background-color:#070707}
.bg-1b1a1f{background-color:#1b1a1f}
.bg-1f2c53{background-color:#1f2c53}
.bg-201f23{background-color:#201f23}
.bg-292925{background-color:#292925}
.bg-312f32{background-color:#312f32}
.bg-353333{background-color:#353333}
.bg-3a3c42{background-color:#3a3c42}
.bg-555352{background-color:#555352}
.bg-685c4b{background-color:#685c4b}
.bg-68696f{background-color:#68696f}
.bg-717172{background-color:#717172}
.bg-7690be{background-color:#7690be}
.bg-7c6f5b{background-color:#7c6f5b}
.bg-81735b{background-color:#81735b}
.bg-8b939f{background-color:#8b939f}
.bg-8e959c{background-color:#8e959c}
.bg-908b83{background-color:#908b83}
.bg-91a9bc{background-color:#91a9bc}
.bg-93684c{background-color:#93684c}
.bg-979293{background-color:#979293}
.bg-9fb4c3{background-color:#9fb4c3}
.bg-a1a6a4{background-color:#a1a6a4}
.bg-a3c2a7{background-color:#a3c2a7}
.bg-a7a7a8{background-color:#a7a7a8}
.bg-aa8570{background-color:#aa8570}
.bg-ad9a8e{background-color:#ad9a8e}
.bg-ada9a6{background-color:#ada9a6}
.bg-af888b{background-color:#af888b}
.bg-b2aca7{background-color:#b2aca7}
.bg-b2b5bd{background-color:#b2b5bd}
.bg-b4b2b3{background-color:#b4b2b3}
.bg-b7c7d9{background-color:#b7c7d9}
.bg-baaeb3{background-color:#baaeb3}
.bg-babab8{background-color:#babab8}
.bg-bcb1a6{background-color:#bcb1a6}
.bg-be9d7d{background-color:#be9d7d}
.bg-c1c4cb{background-color:#c1c4cb}
.bg-c6b7aa{background-color:#c6b7aa}
.bg-c9ccb9{background-color:#c9ccb9}
.bg-cacbcc{background-color:#cacbcc}
.bg-cccccd{background-color:#cccccd}
.bg-cfd0d0{background-color:#cfd0d0}
.bg-d0bcab{background-color:#d0bcab}
.bg-d2bdc2{background-color:#d2bdc2}
.bg-d3d3d4{background-color:#d3d3d4}
.bg-d4d9dd{background-color:#d4d9dd}
.bg-d7d9dd{background-color:#d7d9dd}
.bg-d8d9da{background-color:#d8d9da}
.bg-dbd9d9{background-color:#dbd9d9}
.bg-dbdbdc{background-color:#dbdbdc}
.bg-dcdddc{background-color:#dcdddc}
.bg-dee1e7{background-color:#dee1e7}
.bg-dfdfde{background-color:#dfdfde}
.bg-e0e0e0{background-color:#e0e0e0}
.bg-e2e1e2{background-color:#e2e1e2}
.bg-e3e1e3{background-color:#e3e1e3}
.bg-e3e4e8{background-color:#e3e4e8}
.bg-e3e8e9{background-color:#e3e8e9}
.bg-e4e7e7{background-color:#e4e7e7}
.bg-e6e6e6{background-color:#e6e6e6}
.bg-e6e7e7{background-color:#e6e7e7}
.bg-e8e7e6{background-color:#e8e7e6}
.bg-e9e6e2{background-color:#e9e6e2}
.bg-e9e9e9{background-color:#e9e9e9}
.bg-e9eae9{background-color:#e9eae9}
.bg-ececec{background-color:#ececec}
.bg-ededed{background-color:#ededed}
.bg-ededef{background-color:#ededef}
.bg-eeeae9{background-color:#eeeae9}
.bg-eeefee{background-color:#eeefee}
.bg-f4f4f4{background-color:#f4f4f4}
.bg-f8f8f8{background-color:#f8f8f8}
