/* KUBANYCHBEK storefront — hand-written CSS, no framework.
   Design notes: see DESIGN_NOTES.md. Signature: one oversized orange ribbon,
   repeated sparingly (hero, process section, footer). Everything around it
   stays calm: teal type, pale ground, white product canvases. */

/* ---------- fonts (self-hosted, OFL; see assets/fonts/LICENSES) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wdth-normal.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-wdth-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --teal: #004d55;
  --ink: #073b40;
  --teal-hover: #00646e;
  --orange: #f24b12;
  --orange-text: #b8380b;      /* orange for text on light grounds (5.1:1 on white) */
  --ground: #eeedea;
  --ground-deep: #e4e2dd;
  --card: #ffffff;
  --text: #1f3437;
  --muted: #4b5d60;            /* 5.9:1 on --ground */
  --line: #d5d2cb;
  --line-strong: #b9b5ac;
  --on-teal: #ffffff;
  --on-teal-muted: #c5dcdc;
  --error: #a3260b;
  --success: #0d5f3f;
  --focus: #f24b12;

  --font-display: "Bricolage Grotesque", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* type scale (minor third, fluid at the top) */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.9rem);
  --step-5: clamp(3rem, 1.8rem + 5.4vw, 6.6rem);

  --radius-xs: 8px;
  --radius-s: 14px;
  --radius-m: 22px;
  --radius-l: 36px;
  --radius-pill: 999px;

  --wrap: 1320px;
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --section: clamp(4rem, 2.5rem + 6vw, 8rem);
  --header-h: 72px;

  --shadow-card: 0 1px 0 rgba(7, 59, 64, 0.06), 0 12px 32px -18px rgba(7, 59, 64, 0.28);
  --shadow-pop: 0 24px 60px -20px rgba(7, 59, 64, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-weight: 750; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; letter-spacing: -0.005em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: #ffd2bf; color: var(--ink); }

.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;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-xs);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }
html:not(.js) .js-only { display: none !important; }
html.js .no-js-only { display: none !important; }
.noscript-note {
  background: #fff7e9; border: 1px solid #e8c79a; color: var(--ink);
  padding: 0.75rem 1rem; border-radius: var(--radius-xs); font-size: var(--step--1); max-width: 60ch;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.5em;
  border: 2px solid var(--btn-bg); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms, border-color 160ms, color 160ms;
}
.btn:hover { --btn-bg: var(--teal-hover); color: var(--btn-fg); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { --btn-bg: var(--teal); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--teal-hover); }
.btn--small { min-height: 44px; padding: 0.5em 1.1em; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn.is-confirmed { --btn-bg: var(--ink); }
.text-link { font-weight: 700; color: var(--teal); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; gap: clamp(0.75rem, 2vw, 2rem);
  min-height: var(--header-h);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); letter-spacing: -0.005em;
  color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap;
}
.wordmark:hover { color: var(--teal); text-decoration: none; }
.wordmark img { width: 30px; height: 30px; border-radius: 8px; }
.wordmark--logo img.logo-lockup { width: auto; height: 32px; border-radius: 0; display: block; }
.site-footer .wordmark--logo img.logo-lockup { height: 40px; }
.primary-nav ul { display: flex; gap: clamp(0.75rem, 1.6vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--orange), var(--orange)) left calc(100% - 8px) / 0 2px no-repeat;
  transition: background-size 200ms var(--ease-out);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background-size: 100% 2px; }
.header-search { flex: 1; max-width: 380px; margin-left: auto; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input {
  width: 100%; min-height: 44px; padding: 0.5rem 1rem 0.5rem 2.6rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: #fff;
}
.search-field input:focus-visible { outline-offset: 1px; border-color: var(--teal); }
.search-field input::placeholder { color: #6b7a7c; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-width: 44px; min-height: 44px; padding: 0 0.75rem;
  border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink);
  font-weight: 700; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--ground-deep); color: var(--ink); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-btn { background: var(--teal); color: #fff; padding: 0 1rem 0 0.85rem; }
.cart-btn:hover { background: var(--teal-hover); color: #fff; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.35em;
  border-radius: var(--radius-pill); background: #fff; color: var(--ink);
  font-size: 0.85rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump 380ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle, .search-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle, html.js .search-toggle { display: inline-flex; }
  .header-inner { flex-wrap: wrap; gap: 0.25rem 0.5rem; }
  .wordmark { margin-right: auto; }
  .primary-nav { order: 5; width: 100%; }
  html.js .primary-nav { display: none; }
  html.js .primary-nav.is-open { display: block; animation: drop 220ms var(--ease-out); }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.25rem 0 1rem; }
  .primary-nav li + li { border-top: 1px solid var(--line); }
  .primary-nav a { width: 100%; min-height: 52px; font-size: 1.15rem; font-family: var(--font-display); font-weight: 650; background: none; }
  .header-search { order: 4; flex-basis: 100%; max-width: none; padding-bottom: 0.75rem; }
  html.js .header-search { display: none; }
  html.js .header-search.is-open { display: block; }
  .cart-btn .cart-label { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 520px) {
  .wordmark { font-size: 1.25rem; gap: 0.45rem; }
  .wordmark img { width: 26px; height: 26px; border-radius: 7px; }
  /* never push search/cart/menu to a second row: cap width by the space left after the three buttons;
     object-fit keeps proportions if the cap applies */
  .wordmark--logo img.logo-lockup { height: 26px; width: auto; max-width: calc(100vw - 212px); object-fit: contain; object-position: left center; }
  .header-actions { gap: 0.1rem; }
  .icon-btn { padding: 0 0.5rem; min-width: 42px; }
  .cart-btn { padding: 0 0.7rem 0 0.6rem; }
}
@media (max-width: 359px) {
  .wordmark:not(.wordmark--logo) img { display: none; }
  .wordmark--logo img.logo-lockup { height: 22px; }
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs { padding-top: 1.25rem; font-size: var(--step--1); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(3rem, 2rem + 4vw, 6rem); overflow: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center; gap: clamp(1rem, 3vw, 3rem);
}
.hero-title { font-size: var(--step-5); line-height: 0.92; letter-spacing: -0.03em; margin-bottom: 0.4em; color: var(--teal); }
.hero-title span { display: block; }
.hero-title .t-heavy { font-weight: 800; }
.hero-title .t-light { font-weight: 300; color: var(--ink); }
.hero-lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink); max-width: 34ch; }
.hero-note { color: var(--muted); max-width: 42ch; font-size: var(--step-0); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.hero-visual { position: relative; isolation: isolate; }
.ribbon {
  position: absolute; z-index: -1; pointer-events: none;
  background: var(--orange);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
}
.hero-visual .ribbon { left: 6%; right: calc(-1 * var(--gutter) - 40vw); top: 18%; bottom: 8%; transform: rotate(-7deg); transform-origin: left center; }
.hero-visual picture, .hero-visual img { width: 100%; height: auto; }
.hero-figure { position: relative; margin: 0; }
.hotspots { list-style: none; margin: 0; padding: 0; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 40px; padding: 0.3rem 0.9rem 0.3rem 0.35rem;
  background: #fff; color: var(--ink); border-radius: var(--radius-pill);
  font-weight: 700; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow-card);
  transition: transform 180ms var(--ease-out);
}
.hotspot::before {
  content: "+"; display: inline-grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: var(--teal); color: #fff; font-size: 1.2rem; line-height: 1;
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.04); color: var(--teal); text-decoration: none; }
.hotspot--arc { left: 50%; top: 13%; }
.hotspot--linea { left: 30%; top: 95%; }
.hotspot--forma { left: 89%; top: 46%; }

.hero-reveal > * { animation: rise 700ms var(--ease-out) both; }
.hero-reveal > *:nth-child(2) { animation-delay: 80ms; }
.hero-reveal > *:nth-child(3) { animation-delay: 160ms; }
.hero-reveal > *:nth-child(4) { animation-delay: 240ms; }
.hero-visual .ribbon { animation: sweep 900ms var(--ease-out) both 120ms; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes sweep { from { transform: rotate(-7deg) scaleX(0.6); opacity: 0; } }

@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 0.5rem; }
  .hero-visual .ribbon { left: 10%; top: 22%; bottom: 12%; }
  .hotspots { position: static; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
  .hotspot { position: static; transform: none; }
  .hotspot:hover { transform: none; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head p { margin: 0; color: var(--muted); max-width: 46ch; }
.two-weight { font-weight: 300; }
.two-weight b { font-weight: 750; display: block; }

/* ---------- spotlight band (teal) ---------- */
.band { position: relative; padding-block: clamp(3.5rem, 6vw, 6rem); color: var(--on-teal); isolation: isolate; }
.band::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 calc(var(--gutter) * 0.5) 0 calc(-1 * var(--gutter));
  left: 0;
  background: var(--teal);
  border-radius: 0 360px 360px 0;
  transform: skewY(-3deg);
}
.band h2 { color: #fff; }
.band .section-head p { color: var(--on-teal-muted); }
.spotlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(140px, 0.7fr); gap: clamp(0.75rem, 1.6vw, 1.5rem); align-items: stretch; }
.spot {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); color: var(--ink); border-radius: var(--radius-m);
  padding: 0.75rem 0.75rem 1.25rem; text-decoration: none; overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms;
}
.spot:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); color: var(--ink); text-decoration: none; }
.spot img { aspect-ratio: 1; object-fit: contain; border-radius: var(--radius-s); background: #fff; }
.spot-name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); margin: 0.75rem 0.5rem 0.15rem; line-height: 1.15; }
.spot-meta { margin: 0 0.5rem; color: var(--muted); font-size: var(--step--1); }
.spot-price { margin: 0.4rem 0.5rem 0; font-weight: 700; color: var(--ink); }
.spot-more {
  display: grid; place-content: center; text-align: center; gap: 0.25rem;
  border-radius: var(--radius-pill); border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--step-2);
  padding: 1.5rem; transition: background-color 200ms, border-color 200ms;
}
.spot-more small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--on-teal-muted); }
.spot-more:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; text-decoration: none; }
@media (max-width: 1000px) {
  .spotlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spot-more { grid-column: 1 / -1; border-radius: var(--radius-m); padding: 1rem; }
}
@media (max-width: 640px) {
  .band::before { border-radius: 0 120px 120px 0; transform: skewY(-2deg); right: 0; }
  .spotlights { grid-template-columns: 1fr 1fr; }
  .spot:first-child { grid-column: 1 / -1; }
  .spot:first-child img { max-height: 260px; width: 100%; }
}

/* ---------- pairings ---------- */
.pairings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.pairing {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2vw, 1.75rem);
  background: var(--card); border-radius: var(--radius-l); padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: var(--shadow-card); align-items: center;
}
.pairing-media { position: relative; border-radius: calc(var(--radius-l) - 12px); overflow: hidden; aspect-ratio: 1; background: var(--ground-deep); }
.pairing-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.pairing:hover .pairing-media img { transform: scale(1.03); }
.pairing h3 { font-size: var(--step-2); margin-bottom: 0.35em; }
.pairing p { color: var(--muted); }
.pairing-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; }
.pairing-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.7rem 0.9rem; border-radius: var(--radius-s); background: var(--ground);
  color: var(--ink); font-weight: 650; text-decoration: none; min-height: 48px;
}
.pairing-list a:hover { background: var(--ground-deep); color: var(--teal); }
.pairing-list .price-tag { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
@media (max-width: 1100px) { .pairings { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pairing { grid-template-columns: 1fr; } .pairing-media { aspect-ratio: 4 / 3; } }

/* ---------- product cards / grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 340px) { .product-grid { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card); border-radius: var(--radius-m); padding: 0.75rem 0.75rem 1rem;
  box-shadow: var(--shadow-card);
}
.card-media { display: block; border-radius: var(--radius-s); overflow: hidden; background: #fff; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 400ms var(--ease-out); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 0.85rem 0.4rem 0; }
.card-title { font-size: 1.15rem; margin: 0 0 0.25rem; line-height: 1.2; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-m); }
.card-title a:hover { color: var(--teal); }
.card:has(.card-title a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.card-title a:focus-visible { outline: none; }
.card-meta { margin: 0; color: var(--muted); font-size: var(--step--1); line-height: 1.4; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.9rem; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.card .add-btn { position: relative; z-index: 2; }
.card-foot .btn { min-height: 44px; padding: 0.45em 1em; font-size: 0.95rem; }

@media (max-width: 560px) {
  .product-grid .card { padding: 0.5rem 0.5rem 0.75rem; border-radius: var(--radius-s); }
  .product-grid .card-title { font-size: 1rem; }
  .product-grid .card-body { padding: 0.6rem 0.25rem 0; }
  .product-grid .card-foot { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .product-grid .card-foot .btn { width: 100%; padding-inline: 0.5rem; }
  .product-grid .price { font-size: 1.25rem; }
}

/* ---------- editorial ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.editorial-media { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 3 / 2; background: var(--ground-deep); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.measure-note { display: flex; gap: 0.9rem; align-items: start; margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 4px solid var(--orange); background: var(--card); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.measure-note svg { width: 28px; height: 28px; flex: none; color: var(--teal); margin-top: 2px; }
.measure-note p { margin: 0; font-size: var(--step-0); color: var(--text); }
@media (max-width: 860px) { .editorial { grid-template-columns: 1fr; } .editorial-media { aspect-ratio: 4 / 3; } }

/* ---------- process ---------- */
.process { position: relative; isolation: isolate; overflow: clip; }
.process .ribbon { right: calc(-1 * var(--gutter)); left: 46%; top: 16%; height: 70%; border-radius: var(--radius-pill) 0 0 var(--radius-pill); transform: rotate(5deg); opacity: 1; }
.process-card { background: var(--card); border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 3.5rem); box-shadow: var(--shadow-card); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); counter-reset: step; }
.step { counter-increment: step; position: relative; }
.step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--ground); color: var(--teal); margin-bottom: 1rem; }
.step-icon svg { width: 34px; height: 34px; }
.step h3 { font-size: var(--step-2); display: flex; gap: 0.5rem; align-items: baseline; }
.step h3::before { content: counter(step); font-weight: 300; color: var(--orange-text); }
.step p { color: var(--muted); margin: 0; }
.process-foot { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.process-foot p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .process .ribbon { left: 30%; top: 40%; } }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 0.75rem; max-width: 880px; }
.faq-item { background: var(--card); border-radius: var(--radius-s); box-shadow: var(--shadow-card); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 650; font-size: var(--step-1); color: var(--ink); line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ground) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23004d55' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 200ms var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-s); }
.faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: var(--step-2); }

/* ---------- contact cta ---------- */
.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: clamp(1.75rem, 4vw, 3.5rem);
}
.cta-panel h2 { color: #fff; margin-bottom: 0.3em; }
.cta-panel p { color: var(--on-teal-muted); }
.cta-contacts { display: grid; gap: 0.75rem; }
.cta-contacts a {
  display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; min-height: 56px;
  border-radius: var(--radius-s); background: rgba(255, 255, 255, 0.08); color: #fff; text-decoration: none; font-weight: 650;
  overflow-wrap: anywhere;
}
.cta-contacts a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.cta-contacts svg { width: 22px; height: 22px; flex: none; color: var(--orange); }
.cta-contacts small { display: block; font-weight: 500; color: var(--on-teal-muted); font-size: 0.85rem; }
@media (max-width: 860px) { .cta-panel { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem; color: var(--on-teal); overflow: clip; }
.site-footer::before {
  content: ""; position: absolute; z-index: -2; inset: 0 0 0 clamp(0px, 10vw, 180px);
  background: var(--teal); border-radius: 280px 0 0 0;
}
.site-footer::after {
  content: ""; position: absolute; z-index: -3; left: -8vw; top: -10px; width: min(46vw, 560px); height: 300px;
  background: var(--orange); border-radius: var(--radius-pill); transform: rotate(-9deg);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); padding-left: clamp(0px, 10vw, 180px); }
.site-footer .wordmark { color: #fff; font-size: 1.9rem; }
.footer-id { font-style: normal; color: var(--on-teal-muted); line-height: 1.6; }
.footer-id strong { color: #fff; }
.footer-id a, .site-footer nav a { color: #fff; }
.site-footer h2 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 0.75rem; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.site-footer nav a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; color: var(--on-teal-muted); }
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 3rem; padding-left: clamp(0px, 10vw, 180px); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; color: var(--on-teal-muted); font-size: var(--step--1); position: relative; }
.footer-base p { margin: 0; max-width: none; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; padding-left: 0; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer::before { inset: 0; border-radius: 120px 0 0 0; }
  .footer-base { padding-left: 0; }
  .site-footer::after { width: 60vw; height: 160px; top: -30px; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page heads ---------- */
.page-head { padding-block: clamp(1.75rem, 3vw, 3rem) clamp(1.25rem, 2vw, 2rem); }
.page-head h1 { margin-bottom: 0.25em; }
.page-head .lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin: 0; }
.page-head--ribbon { position: relative; isolation: isolate; overflow: clip; }
.page-head--ribbon .ribbon { right: -10vw; width: 34vw; min-width: 220px; top: 10%; height: 64%; transform: rotate(-6deg); }
@media (max-width: 700px) { .page-head--ribbon .ribbon { display: none; } }

/* ---------- shop ---------- */
.shop-tools {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: end; justify-content: space-between;
  padding: 1rem; margin-bottom: 1.5rem; background: var(--card); border-radius: var(--radius-m); box-shadow: var(--shadow-card);
}
.shop-tools .field { flex: 1 1 260px; }
.shop-tools .field--sort { flex: 0 1 240px; }
.field label, .field .label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; font-size: 0.95rem; }
.field .hint { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.3rem; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-xs); background: #fff; color: var(--text);
}
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline-offset: 1px; border-color: var(--teal); }
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none; padding-right: 2.5rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073b40' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.8rem center / 16px no-repeat;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.result-bar { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; color: var(--muted); }
.result-bar p { margin: 0; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--card); border-radius: var(--radius-m); }
.empty-state h2 { font-size: var(--step-2); }
.empty-state p { margin-inline: auto; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- product page ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-top: 1.25rem; }
.gallery { position: relative; }
.gallery-main {
  position: relative; margin: 0; background: #fff; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 1;
  box-shadow: var(--shadow-card);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main figcaption { position: absolute; left: 1rem; bottom: 1rem; right: 5rem; font-size: 0.9rem; color: var(--muted); background: rgba(255, 255, 255, 0.9); padding: 0.35rem 0.7rem; border-radius: var(--radius-xs); width: fit-content; }
.zoom-btn {
  position: absolute; right: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 1rem;
  border: 0; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer;
}
.zoom-btn:hover { background: var(--teal); }
.zoom-btn svg { width: 18px; height: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 96px)); gap: 0.75rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.thumb {
  display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s);
  background: #fff; cursor: pointer; overflow: hidden; aspect-ratio: 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--teal); box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--teal); }
.thumb:hover { border-color: var(--line-strong); }
.buybox { position: sticky; top: calc(var(--header-h) + 1rem); }
.buybox h1 { font-size: var(--step-3); margin-bottom: 0.35em; }
.buybox .summary { font-size: var(--step-1); color: var(--ink); }
.buy-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin: 0.5rem 0 1rem; }
.buy-price .price { font-size: var(--step-3); }
.buy-price .per { color: var(--muted); font-weight: 600; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; margin: 0 0 1.5rem; padding: 1rem 1.1rem; background: var(--card); border-radius: var(--radius-s); font-size: 0.98rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; }
.add-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: end; }
.qty { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff; overflow: hidden; }
.qty button { width: 46px; min-height: 46px; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.qty button:hover { background: var(--ground); }
.qty button:focus-visible { outline-offset: -3px; }
.qty input { width: 3.2rem; border: 0; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small button { width: 38px; min-height: 38px; font-size: 1.1rem; }
.qty--small input { width: 2.6rem; }
.add-form .btn { flex: 1 1 200px; }
.add-form .field { flex: none; }
.order-disclosure { margin-top: 1rem; font-size: 0.95rem; color: var(--muted); }
.order-disclosure a { font-weight: 600; }
.ask-link { margin: 0.75rem 0 0; font-size: 0.98rem; }
.form-msg { min-height: 1.5em; margin-top: 0.5rem; font-weight: 600; font-size: 0.95rem; }
.form-msg.is-error { color: var(--error); }
.product-details { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.prose h2 { font-size: var(--step-2); margin-top: 1.75em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: 0.4em; max-width: 66ch; }
.prose ul { margin: 0 0 1.25em; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius-s); overflow: hidden; font-size: 0.98rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.75rem 1rem; vertical-align: top; border-bottom: 1px solid var(--ground-deep); }
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:last-child > * { border-bottom: 0; }
.panel { background: var(--card); border-radius: var(--radius-m); padding: clamp(1.1rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-card); }
.panel + .panel { margin-top: 1rem; }
.panel h2 { font-size: var(--step-1); font-family: var(--font-display); }
.panel ul { margin: 0; }
.related .card-meta.reason { margin-top: 0.4rem; color: var(--text); }
@media (max-width: 900px) {
  .product-layout, .product-details { grid-template-columns: 1fr; }
  .buybox { position: static; }
}

/* ---------- lightbox ---------- */
.lightbox { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-m); background: #fff; }
.lightbox::backdrop { background: rgba(7, 59, 64, 0.72); }
.lightbox img { width: 100%; height: auto; max-height: calc(94vh - 72px); object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0.75rem 0.75rem 1.25rem; border-bottom: 1px solid var(--ground-deep); }
.lightbox-bar p { margin: 0; font-weight: 600; color: var(--ink); }

/* ---------- cart drawer ---------- */
.cart-drawer {
  margin: 0 0 0 auto; height: 100%; max-height: 100dvh; width: min(100vw, 460px); max-width: 100vw;
  padding: 0; border: 0; background: var(--ground); color: var(--text);
  box-shadow: var(--shadow-pop); border-radius: var(--radius-l) 0 0 var(--radius-l);
  overscroll-behavior: contain;
}
.cart-drawer[open] { display: flex; flex-direction: column; animation: drawer-in 320ms var(--ease-out); }
.cart-drawer.is-closing { animation: drawer-out 220ms ease-in forwards; }
.cart-drawer::backdrop { background: rgba(7, 59, 64, 0.5); animation: fade-in 300ms ease both; }
.cart-drawer.is-closing::backdrop { animation: fade-out 220ms ease forwards; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes drawer-out { to { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.1rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: var(--step-2); }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem 1.25rem; }
.drawer-foot:empty { display: none; }
.drawer-foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: #fff; }
.cart-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0.9rem; padding: 0.75rem; background: #fff; border-radius: var(--radius-s); }
.cart-line img { width: 76px; height: 76px; border-radius: var(--radius-xs); object-fit: contain; background: #fff; border: 1px solid var(--ground-deep); }
.cart-line h3 { font-size: 1rem; margin: 0 0 0.1rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.cart-line h3 a { color: var(--ink); text-decoration: none; }
.cart-line h3 a:hover { text-decoration: underline; }
.cart-line .meta { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cart-line-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.6rem; }
.line-total { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ink); }
.remove-btn { border: 0; background: none; padding: 0.3rem 0.2rem; min-height: 36px; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 0.9rem; }
.remove-btn:hover { color: var(--error); }
.line-msg { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; color: var(--error); font-weight: 600; }
.subtotal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 700; color: var(--ink); }
.subtotal-row .amount { font-family: var(--font-display); font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.subtotal-note { font-size: 0.92rem; color: var(--muted); margin: 0.35rem 0 1rem; }
.drawer-actions { display: grid; gap: 0.6rem; }
.cart-empty { text-align: center; padding: 2.5rem 0.5rem; }
.cart-empty p { margin-inline: auto; color: var(--muted); }
.storage-warning { font-size: 0.9rem; background: #fff7e9; border: 1px solid #e8c79a; border-radius: var(--radius-xs); padding: 0.6rem 0.8rem; margin: 0 0 0.75rem; }
@media (max-width: 520px) { .cart-drawer { border-radius: 0; } }

/* ---------- order request ---------- */
.order-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.order-summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.summary-lines { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.6rem; }
.summary-lines li { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--ground-deep); }
.summary-lines .meta { grid-column: 1 / -1; font-size: 0.9rem; color: var(--muted); }
.summary-lines .name { font-weight: 700; color: var(--ink); }
.summary-lines .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field .req { color: var(--error); font-weight: 700; }
.field-error { display: block; color: var(--error); font-weight: 600; font-size: 0.92rem; margin-top: 0.35rem; }
.field-error:empty { display: none; }
.check { display: flex; gap: 0.75rem; align-items: start; }
.check input { width: 22px; height: 22px; margin-top: 0.15rem; accent-color: var(--teal); flex: none; }
.error-summary { border: 2px solid var(--error); border-radius: var(--radius-s); background: #fff3ef; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.error-summary h2 { font-size: var(--step-1); color: var(--error); margin-bottom: 0.4rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--error); font-weight: 600; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status-panel { border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); background: #fff; box-shadow: var(--shadow-card); border-top: 6px solid var(--teal); }
.status-panel.is-warning { border-top-color: var(--orange); }
.status-panel.is-success { border-top-color: var(--success); }
.status-panel h2 { font-size: var(--step-2); }
.status-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); background: #fff1e9; color: var(--orange-text); font-size: 0.92rem; margin-bottom: 0.75rem; }
.status-panel.is-success .status-badge { background: #e6f3ed; color: var(--success); }
.request-text { width: 100%; min-height: 260px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; line-height: 1.5; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius-xs); padding: 1rem; white-space: pre-wrap; resize: vertical; color: var(--text); }
.action-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }
.copy-inline { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.feedback { font-weight: 600; color: var(--success); min-height: 1.4em; }
.feedback.is-error { color: var(--error); }
@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- content pages ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.content-layout .prose { background: var(--card); border-radius: var(--radius-l); padding: clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow-card); }
.content-layout .prose p, .content-layout .prose li { max-width: 70ch; }
.side-nav { position: sticky; top: calc(var(--header-h) + 1rem); }
.side-nav h2 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.side-nav a { display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius-xs); text-decoration: none; color: var(--ink); font-weight: 600; }
.side-nav a:hover { background: var(--card); }
.side-nav a[aria-current="page"] { background: var(--teal); color: #fff; }
.policy-meta { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } .side-nav { position: static; } }

.contact-card { background: var(--card); border-radius: var(--radius-m); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-card); }
.contact-card h2 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.contact-card p { margin: 0 0 0.5rem; color: var(--muted); }
.contact-card .big { font-size: 1.2rem; font-weight: 700; overflow-wrap: anywhere; }
.contact-card address { font-style: normal; font-size: 1.1rem; color: var(--ink); line-height: 1.5; }
.still-life { border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ground-deep); }
.still-life img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.fact-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.fact-list dt { font-weight: 700; color: var(--ink); }
.fact-list dd { margin: 0; color: var(--text); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- contact form ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-form-panel { padding: clamp(1.25rem, 3.5vw, 2.5rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.contact-form-panel > h2 { font-size: var(--step-3); margin-bottom: 0.3em; }
.contact-form-panel:focus { outline: none; }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside .still-life { aspect-ratio: 4 / 3; }
.contact-form { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
.choice-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-fieldset legend { padding: 0; margin-bottom: 0.6rem; font-weight: 700; color: var(--ink); }
.choice-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
  position: relative; display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 44px; padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-pill); background: #fff;
  color: var(--ink); font-weight: 600; cursor: pointer; line-height: 1.2;
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;
}
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); flex: none; cursor: pointer; }
.choice input:focus-visible { outline: none; }
.choice:hover { border-color: var(--teal); }
.choice:has(input:checked) { border-color: var(--teal); background: #e6f0f0; box-shadow: inset 0 0 0 1px var(--teal); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice:has(input[aria-invalid="true"]) { border-color: var(--error); }
.choice-group--compact .choice { padding-inline: 0.75rem 1rem; }
.topic-hint {
  margin: 0; max-width: none; padding: 0.85rem 1rem; border-left: 4px solid var(--orange);
  background: var(--ground); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; color: var(--text); font-size: 0.98rem;
}
.route-note { margin: 0; color: var(--muted); font-size: 0.95rem; }
.route-note strong { color: var(--ink); overflow-wrap: anywhere; }
.contact-form .error-summary h3 { font-size: var(--step-1); color: var(--error); margin-bottom: 0.4rem; }
#cf-status { margin-top: 1.5rem; }
#cf-status .status-panel h3 { font-size: var(--step-2); }
#cf-status .status-panel { box-shadow: none; background: var(--ground); }
#cf-status .request-text { background: #fff; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .choice-group:not(.choice-group--compact) { display: grid; } .choice { width: 100%; } .choice-group--compact .choice { width: auto; } }

.notfound { text-align: left; padding-block: var(--section); }
.notfound h1 { font-size: var(--step-5); color: var(--teal); }

/* ---------- live region toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 60; transform: translate(-50%, 150%);
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; border-radius: var(--radius-pill);
  font-weight: 600; box-shadow: var(--shadow-pop); max-width: calc(100vw - 2rem);
  visibility: hidden; opacity: 0; transition: transform 260ms var(--ease-out), opacity 200ms, visibility 0s linear 260ms;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; opacity: 1; transition: transform 260ms var(--ease-out), opacity 200ms, visibility 0s; }

/* ---------- motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .card:hover .card-media img, .pairing:hover .pairing-media img, .spot:hover { transform: none; }
}
@media print {
  .site-header, .site-footer, .cart-drawer, .toast, .ribbon { display: none !important; }
  body { background: #fff; }
}
