/* ==========================================================================
   PELA Products — shared stylesheet  ·  "Catalog board" (card / bento)
   Single tinted-gradient background; every block is a floating card.
   Type:  Hanken Grotesk, one warm humanist sans, varied by weight and size.
   Color: dark-blue ink + blueprint-blue accent + warm ivory neutrals.
   ========================================================================== */

/* ---- Self-hosted fonts --------------------------------------------------- */
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-var.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* ---- Design tokens ------------------------------------------------------- */
:root {
  --ink: #11304f;
  --ink-deep: #0b2238;
  --ink-700: #1d4a70;
  --accent: #192f4d;        /* logo blue — primary CTA */
  --accent-600: #14263e;    /* darker logo blue — hover / link text */
  --accent-100: #d1d5db;    /* light logo blue — borders / tints */
  --accent-050: #e8eaed;    /* lightest logo blue — soft fills */

  --surface: #ffffff;
  --surface-2: #eef1f6;
  --border: #e3e1d6;
  --border-strong: #cdd3dd;

  --text: #25303a;
  --text-soft: #54616d;
  --text-faint: #5c6873;

  --warn: #9c5a0e;
  --warn-bg: #f7ecd6;

  /* Brand red + pink (from the logo) — used for safety / caution notes */
  --brand-red: #c5362a;
  --brand-red-700: #9b2a20;  /* darker red — caution text */
  --brand-pink: #e1a6b6;
  --brand-pink-050: #f9edf0; /* lightest pink — soft fill */
  --focus: #192f4d;

  /* Logo colours, matched to pelaproducts.eu */
  --brand-steel: #2d4b75;   /* PELA wordmark + outer pillars */
  --brand-steel-soft: #dc91b4; /* outer pillars — pink accent */
  --brand-mark-red: #c64544;   /* triangle + centre pillar */

  /* One warm humanist sans for everything; display & "mono" alias it so the
     whole site reads as a single voice, distinguished only by weight + size. */
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: var(--font-sans);

  /* Type scale — hand-set by eye, not a single mechanical ratio */
  --fs-300: 0.8125rem;
  --fs-400: 1.0625rem;
  --fs-500: 1.225rem;
  --fs-600: clamp(1.35rem, 1.18rem + 0.6vw, 1.55rem);
  --fs-700: clamp(1.7rem, 1.3rem + 1.7vw, 2.4rem);
  --fs-800: clamp(2.2rem, 1.55rem + 2.6vw, 3.3rem);
  --lh-tight: 1.04;
  --lh-snug: 1.28;
  --lh-base: 1.6;
  --measure: 66ch;

  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem; --sp-9: 6rem;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(11, 34, 56, 0.04), 0 16px 34px -22px rgba(11, 34, 56, 0.30);
  --shadow-hover: 0 2px 4px rgba(11, 34, 56, 0.05), 0 22px 42px -20px rgba(11, 34, 56, 0.36);
  --container: 1160px;
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  font-family: var(--font-sans); font-size: var(--fs-400); line-height: var(--lh-base);
  color: var(--text);
  background:
    radial-gradient(120% 80% at 88% -10%, rgba(25, 47, 77, 0.14), rgba(25, 47, 77, 0) 58%),
    radial-gradient(95% 65% at 6% 4%, rgba(197, 54, 42, 0.07), rgba(197, 54, 42, 0) 52%),
    linear-gradient(168deg, #fbf6ee 0%, #f1ece1 44%, #e6e6f2 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures contextual;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-wrap: pretty;
  hanging-punctuation: first allow-end;
}
::selection { background: var(--accent); color: #fff; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-600); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 var(--sp-4); font-weight: 600; font-optical-sizing: auto; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); }
/* Tracking is optical: only the largest sizes close up; small headings sit at 0. */
h1 { font-size: var(--fs-800); line-height: var(--lh-tight); letter-spacing: -0.018em; font-weight: 700; }
h2 { font-size: var(--fs-700); line-height: 1.12; letter-spacing: -0.011em; }
h3 { font-size: var(--fs-500); line-height: var(--lh-snug); letter-spacing: 0; }
p { margin: 0 0 var(--sp-4); max-width: var(--measure); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.2rem; }
li { margin: 0 0 var(--sp-2); }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
:where(h2, h3, section, div)[id] { scroll-margin-top: 96px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--sp-3); top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: var(--sp-2) var(--sp-4); border-radius: var(--radius); transition: top 0.15s ease; }
.skip-link:focus { top: var(--sp-3); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(var(--sp-6), 4vw, var(--sp-8)); }
.lede { font-size: var(--fs-500); line-height: 1.55; color: var(--text-soft); max-width: 56ch; text-wrap: pretty; }
.stack > * + * { margin-top: var(--sp-4); }
.muted { color: var(--text-faint); }
.text-center { text-align: center; }

/* ---- Card primitive ------------------------------------------------------ */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-card);
}
.card--ink { background: var(--ink); border-color: rgba(255,255,255,0.08); color: #cfe0ee; }
.card--ink h1, .card--ink h2, .card--ink h3 { color: #fff; }
/* Closing CTA: gentle gradient, slightly lighter ink up top to a bit darker below */
.card--cta { background: linear-gradient(165deg, #163d63 0%, #11304f 48%, #0c2540 100%); }
.card--accent { background: var(--accent-050); border-color: var(--accent-100); }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { text-decoration: none; }

/* Page header card (inner pages) */
.page-head { padding: clamp(var(--sp-5), 4vw, var(--sp-7)); }

/* Title cards get a whisper-soft brand wash so the page header reads as the
   header — blue glow top-right, a touch of brand pink bottom-left, over white. */
.page-head:not(.card--ink), .tile-hero:not(.card--ink) {
  background:
    radial-gradient(125% 135% at 100% 0%, rgba(25, 47, 77, 0.06), rgba(25, 47, 77, 0) 55%),
    radial-gradient(95% 120% at 0% 100%, rgba(225, 166, 182, 0.12), rgba(225, 166, 182, 0) 55%),
    var(--surface);
}
.page-head h1 { margin-bottom: var(--sp-3); }
.page-head .lede { margin-bottom: 0; }

/* ---- Header (floating card) --------------------------------------------- */
site-header, site-footer { display: block; }
.site-header { position: sticky; top: 0; z-index: 50; background: transparent; padding-top: var(--sp-3); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: 60px; padding: var(--sp-2) var(--sp-3) var(--sp-2) var(--sp-4);
  background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(150%) blur(12px);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.brand { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: auto; height: 50px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 1000; font-size: 2.05rem; letter-spacing: 0.02em; color: var(--accent); }
.brand__tag { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }

.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--border-strong); border-radius: var(--radius); cursor: pointer; color: var(--ink); }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after { position: absolute; top: 6px; }

.site-nav ul { list-style: none; display: flex; gap: var(--sp-1); margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: var(--sp-2) var(--sp-3); border-radius: var(--radius); text-decoration: none; color: var(--text-soft); font-weight: 500; font-size: 0.92rem; }
.site-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--accent-600); background: var(--accent-050); }

/* ---- Buttons ------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: var(--sp-2); padding: 0.8em 1.4em; border-radius: var(--radius); font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem; line-height: 1; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(165deg, #21436a 0%, #192f4d 50%, #122236 100%); color: #fff; }
.btn--primary:hover { background: linear-gradient(165deg, #1b3a5e 0%, #14263e 50%, #0d1c2e 100%); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn--secondary:hover { color: var(--accent-600); border-color: var(--accent); background: var(--accent-050); }
.btn--onink { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn--onink:hover { background: rgba(255,255,255,0.18); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); align-items: center; }

/* ---- Bento mosaic -------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-4); align-items: stretch; }
.bento > * { margin: 0; min-width: 0; }
.b-3 { grid-column: span 3; } .b-4 { grid-column: span 4; } .b-5 { grid-column: span 5; }
.b-6 { grid-column: span 6; } .b-7 { grid-column: span 7; } .b-8 { grid-column: span 8; } .b-12 { grid-column: span 12; }

/* Hero headline tile */
.tile-hero { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(var(--sp-5), 4vw, var(--sp-7)); }
.tile-hero h1 { margin-bottom: var(--sp-4); }

/* Product showcase tile */
.tile-product { position: relative; display: flex; flex-direction: column; }
.tile-product .shot { flex: 1; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-radius: var(--radius); padding: var(--sp-5); }
.tile-product .shot img, .tile-product .shot svg { width: 100%; max-width: 220px; height: auto; }
.tile-product .caption { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1.5px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-soft); text-transform: uppercase; }
.tile-product .caption b { color: var(--ink); font-weight: 700; }

/* Stat tiles */
.stat { display: flex; flex-direction: column; justify-content: center; gap: var(--sp-1); }
.stat__n { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); color: var(--ink); line-height: 1; }
.stat__l { font-size: 0.86rem; color: var(--text-faint); }

/* Step tiles (how it works) */
.tile-step .n { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--accent-600); margin-bottom: var(--sp-3); }
.tile-step h3 { margin-bottom: var(--sp-2); }
.tile-step p { color: var(--text-soft); margin: 0; }

/* Section label inside bento */
.tile-label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); background: transparent; border: 0; box-shadow: none; padding: var(--sp-4) var(--sp-2) 0; }
.tile-label h2 { margin: 0; }

/* ---- Generic grids (inner pages) ---------------------------------------- */
.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.price { font-family: var(--font-mono); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sku { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-faint); text-transform: uppercase; margin: 0; }

/* Product cards */
.product { display: flex; flex-direction: column; position: relative; }
.product__media { background: var(--surface-2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-4); padding: var(--sp-4) var(--sp-6); width: fit-content; max-width: 100%; overflow: hidden; }
.product__media img, .product__media svg { width: auto; height: 230px; max-width: 100%; object-fit: contain; }
.product .sku { margin-bottom: var(--sp-1); }
.product h3 { margin-bottom: var(--sp-1); }
.product .cap { color: var(--text-faint); font-size: 0.95rem; margin: 0 0 var(--sp-3); }
.product .price { margin: auto 0 0; padding-top: var(--sp-3); font-size: 1.1rem; }

/* Description product rows: fixed image column (left) + text column */
.product-row { grid-template-columns: 280px 1fr; }
.product-row .product__media { width: 100%; max-width: 100%; margin: 0; padding: var(--sp-3); }
.product-row .product__media img { width: 100%; height: auto; max-width: 100%; }

/* Spec list — datasheet */
.spec-list { list-style: none; padding: 0; margin: var(--sp-3) 0 0; font-family: var(--font-mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.spec-list li { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-2) 0; border-top: 1px solid var(--border); margin: 0; }
.spec-list .k { color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.78rem; }
.spec-list .v { font-weight: 700; text-align: right; color: var(--ink); }

/* Steps (how-to procedures) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.steps > li { position: relative; counter-increment: step; margin: 0; padding: var(--sp-5) var(--sp-5) var(--sp-5) calc(var(--sp-8) + var(--sp-3)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: grid; gap: var(--sp-4) var(--sp-5); align-items: center; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: var(--sp-5); top: var(--sp-5); font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--accent-600); }
.step-content { min-width: 0; }
.steps h3 { margin-bottom: var(--sp-2); }
.step-content p:last-child { margin-bottom: 0; }
.step-media { margin: 0; }
.step-media img { display: block; width: 100%; max-width: 240px; height: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); }
@media (min-width: 640px) {
  .steps > li { grid-template-columns: 1fr 210px; }
  .step-media img { max-width: 100%; }
}

/* Applications — card grid */
.app-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 820px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .app-grid { grid-template-columns: 1fr; } }
.app-grid li { margin: 0; padding: var(--sp-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: flex; gap: var(--sp-4); align-items: flex-start; }
.app__icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent); background: var(--accent-050); border-radius: 10px; }
.app__icon svg { width: 22px; height: 22px; }
.app-grid strong { display: block; color: var(--ink); margin-bottom: 2px; }
.app-grid .note { display: block; color: var(--text-faint); font-size: 0.9rem; margin-top: var(--sp-2); }

/* Photo gallery (real-world application photos) */
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.photo-grid figure { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.photo-grid img { display: block; width: 100%; height: 160px; object-fit: contain; background: var(--surface-2); padding: var(--sp-3); }
.photo-grid figcaption { padding: var(--sp-3) var(--sp-4); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-soft); border-top: 1px solid var(--border); }

/* Product lineup figure */
.lineup { width: fit-content; max-width: 100%; margin: var(--sp-5) auto; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-5) var(--sp-6); text-align: center; }
.lineup img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.lineup figcaption { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-soft); }

/* Split page header: text (left) + lineup image (right) */
.page-head--media { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-6); align-items: center; }
.page-head--media > div { min-width: 0; }
.page-head--media .lineup { width: auto; margin: 0; padding: var(--sp-3); text-align: left; }
.page-head--media .lineup img { width: 100%; margin: 0; }
.page-head--media .lineup figcaption { text-align: left; }

/* Reviews — hand-balanced columns; first cards top-aligned, no fixed row gaps */
.reviews { display: flex; gap: var(--sp-4); align-items: flex-start; }
.review-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-4); }
@media (max-width: 920px) { .reviews { flex-wrap: wrap; } .review-col { flex: 1 1 320px; } }
@media (max-width: 600px) { .review-col { flex: 1 1 100%; } }
.review-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--sp-5); }
.review-group h3 { color: var(--ink); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--ink); margin-top: 0; }
.review-list { list-style: none; padding: 0; margin: 0; }
.review-list li { margin: 0; padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.review-list li:last-child { border-bottom: 0; }
.review-list .pub { font-weight: 600; color: var(--ink); }
.review-list a.pub { text-decoration: none; }
.review-list a.pub:hover { text-decoration: underline; }
.review-list .meta { color: var(--text-soft); }
.review-group__note { margin: 0 0 var(--sp-3); color: var(--text-soft); font-size: 0.85rem; }
.review-pdf { display: inline-block; margin-left: 6px; font-family: var(--font-mono); background: var(--brand-red); color: #fff; font-size: 0.62rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.06em; vertical-align: middle; text-decoration: none; }
.review-pdf:hover { background: var(--brand-red-700); }

/* Badges */
.badge { display: inline-block; font-family: var(--font-mono); background: var(--accent-050); color: var(--accent-600); font-size: 0.66rem; font-weight: 700; padding: 3px 9px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.06em; vertical-align: middle; }

/* Notes */
.note-box { background: var(--accent-050); border: 1px solid var(--accent-100); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: var(--sp-4) var(--sp-5); color: var(--ink-700); }
.note-box--warn { background: var(--brand-pink-050); border-color: var(--brand-pink); border-left-color: var(--brand-red); color: var(--brand-red-700); }

/* Contact */
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.contact-card h2 { margin-bottom: 0; }
.contact-card .email-link, .contact-card .cta-row { margin-top: auto; padding-top: var(--sp-3); }
.contact-card .cta-row { margin-bottom: 0; }
.email-link { font-family: var(--font-mono); font-size: var(--fs-500); font-weight: 700; color: var(--accent-600); word-break: break-word; }

/* ---- Footer (dark card) -------------------------------------------------- */
.site-footer { background: transparent; margin-top: var(--sp-8); padding-bottom: var(--sp-6); }
.footer-card { background: var(--ink-deep); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: var(--sp-7) var(--sp-6) var(--sp-5); color: #b9cadb; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 var(--sp-4); font-weight: 700; }
.site-footer a { color: #b9cadb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.footer-brand .brand__name { color: #fff; font-size: 1.45rem; }
.footer-brand p { color: #93a8bd; margin-top: var(--sp-3); max-width: 38ch; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: var(--sp-6); padding-top: var(--sp-4); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; color: #7e94aa; display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; }

/* ---- Video tile + lightbox ----------------------------------------------- */
.tile-video { position: relative; display: block; width: 100%; min-height: 280px; padding: 0; overflow: hidden; border: 1px solid var(--border); background: var(--ink); cursor: pointer; text-align: center; }
.tile-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.74; transition: opacity 0.25s ease, transform 0.4s ease; }
.tile-video:hover .tile-video__poster, .tile-video:focus-visible .tile-video__poster { opacity: 0.58; transform: scale(1.03); }
.tile-video__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3); min-height: 280px; padding: var(--sp-6); }
.tile-video__play { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); box-shadow: var(--shadow-hover); transition: transform 0.15s ease, background 0.15s ease; }
.tile-video:hover .tile-video__play, .tile-video:focus-visible .tile-video__play { transform: scale(1.08); background: #fff; }
.tile-video__play svg { width: 28px; height: 28px; margin-left: 5px; }
.tile-video__label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-500); color: #fff; }
.tile-video__sub { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.82); }

.video-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: var(--sp-5); }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(8, 20, 33, 0.82); backdrop-filter: blur(2px); animation: vm-fade 0.2s ease; }
.video-modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 880px; animation: vm-pop 0.22s ease; }
.video-modal__frame { position: relative; aspect-ratio: 4 / 3; background: #000; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6); }
.video-modal__frame video { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-hover); display: flex; align-items: center; justify-content: center; }
.video-modal__close:hover { background: var(--accent-050); }
@keyframes vm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vm-pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 920px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-7, .b-8, .b-12 { grid-column: span 6; }
  .b-5 { grid-column: span 6; }
  .b-4 { grid-column: span 3; }
  .b-6 { grid-column: span 6; }
  .b-3 { grid-column: span 3; }
  .tile-product { grid-column: span 6; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; gap: var(--sp-3); }
  .bento > * { grid-column: 1 / -1 !important; }
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(100% + var(--sp-2)); left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: var(--sp-3); }
  .site-nav a { display: block; padding: var(--sp-3) var(--sp-4); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; }
  .product-row .product__media { max-width: 300px; margin: 0 auto; }
  .page-head--media { grid-template-columns: 1fr; }
  .page-head--media .lineup { max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
