/* ==========================================================================
   Bazar SR — core stylesheet
   Tokens · base · shared components · homepage sections
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------ */
:root {
  /* brand — sampled from assets/images/bazar-vojka-logo.png (#016FB9) */
  --brand: #016fb9;
  --brand-dark: #01518a;
  --brand-deep: #023a63;
  --brand-light: #4c9bd6;
  --brand-tint: #e3eef8;

  /* neutrals — hazy studio off-white like the reference sky */
  --bg: #f2f2ef;
  --bg-2: #e8e8e4;
  --surface: #ffffff;
  --ink: #111417;
  --ink-2: #2b3036;
  --muted: #5d636a;     /* 5.6:1 on --bg */
  --muted-2: #62686f;   /* 5.0:1 on --bg (small meta text) */
  --line: rgba(17, 20, 23, 0.12);
  --line-strong: rgba(17, 20, 23, 0.22);
  --line-light: rgba(255, 255, 255, 0.28);

  --glass-light: rgba(255, 255, 255, 0.5);
  --glass-dark: rgba(22, 32, 44, 0.58);

  --ok: #1f8a4c;
  --err: #c0332b;

  /* type */
  --font-display: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* type scale (phase 2): display (hero, JS-fitted) / h1 / h2 / h3 / lead / body / small / micro */
  --fs-micro: 0.6875rem;      /* 11px — labels, nav, buttons */
  --fs-small: 0.8125rem;      /* 13px */
  --fs-body: 1rem;            /* 16px */
  --fs-lead: 1.0625rem;       /* 17px — section intros */
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);   /* 22–30 */
  --fs-h2: clamp(2.5rem, 1.3rem + 4.2vw, 5.5rem);       /* 40–88 */
  --fs-h1: clamp(3.25rem, 1.4rem + 6.4vw, 8.5rem);      /* 52–136 */
  --fs-num: clamp(2.75rem, 1.6rem + 3.4vw, 5.25rem);    /* 44–84 — figures */
  --fs-num-xl: clamp(3.5rem, 2rem + 5vw, 8rem);         /* 56–128 — stats band */
  --track-micro: 0.14em;

  /* layout */
  --gutter: clamp(20px, 4.5vw, 72px);
  --maxw: 1440px;
  --nav-h: 84px;
  --bar-h: 68px;             /* height of the sticky (scrolled) bar; 0 while it is hidden on scroll-down */
  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 18px;          /* unified with --radius in phase 2 */
  --section: clamp(80px, 10vw, 160px);
  --dur: 0.35s;              /* hover/press transitions */
  --shadow-card: 0 1px 2px rgba(17, 20, 23, 0.04), 0 28px 56px -40px rgba(17, 20, 23, 0.3);
  --shadow-lift: 0 2px 4px rgba(17, 20, 23, 0.05), 0 40px 70px -40px rgba(1, 111, 185, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --shadow-soft: 0 30px 60px -30px rgba(17, 20, 23, 0.28);
}

/* ---------- Reset / base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  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: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px;
  background: var(--ink); color: #fff; border-radius: 8px; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography helpers ------------------------------------------ */
.display, h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h2 { font-size: var(--fs-h2); letter-spacing: -0.035em; line-height: 0.98; font-weight: 400; }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; line-height: 1.15; }
.accent { color: var(--brand); font-weight: 300; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.caps {
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.75;
  color: var(--ink-2);
}

.micro {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--track-micro);
  line-height: 1.5;
}
.bracket {
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--track-micro); color: var(--muted);
  white-space: nowrap;
}
.bracket::before { content: "[\00a0\00a0"; }
.bracket::after { content: "\00a0\00a0]"; }

/* underline link — nav style (U–VERGE BEST PROJECTS) */
.link-u {
  position: relative; display: inline-block;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color var(--dur) var(--ease), background-size var(--dur) var(--ease);
  padding-bottom: 1px;
}
.link-u:hover { color: var(--brand); background-size: 0% 1px; background-position: 100% 100%; }
.link-u--hover { background-size: 0% 1px; background-position: 100% 100%; }
.link-u--hover:hover { background-size: 100% 1px; background-position: 0 100%; }

/* "+ READ MORE" marker link */
.plus-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-micro);
}
.plus-link__icon {
  position: relative; width: 12px; height: 12px; flex: none; color: var(--brand);
  transition: transform var(--dur) var(--ease);
}
.plus-link__icon::before, .plus-link__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transform: translate(-50%, -50%);
}
.plus-link__icon::before { width: 100%; height: 1.5px; }
.plus-link__icon::after { width: 1.5px; height: 100%; }
.plus-link__label {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size var(--dur) var(--ease);
}
.plus-link:hover .plus-link__icon, a:hover .plus-link .plus-link__icon, .p-card:hover .plus-link__icon { transform: rotate(90deg); }
.plus-link:hover .plus-link__label, a:hover .plus-link__label, .p-card:hover .plus-link__label { background-size: 0 1px; background-position: 100% 100%; }
.plus-link:hover .plus-link__label { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Buttons ----------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: var(--track-micro);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--brand); transform: translateY(101%); transition: transform 0.4s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--brand { --btn-bg: var(--brand); }
.btn--brand::before { background: var(--brand-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { color: #fff; }
.btn--sm { min-height: 42px; padding: 0 20px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn__inner { display: inline-flex; align-items: center; gap: 12px; pointer-events: none; }
[data-magnetic] { will-change: transform; }

/* ---------- Glass ------------------------------------------------------- */
.glass {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 60px -44px rgba(17, 20, 23, 0.35);
  border-radius: var(--radius);
}
.glass--dark {
  background: var(--glass-dark);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, 0.9); }
  .glass--dark { background: rgba(22, 32, 44, 0.86); }
}

/* ---------- Preloader --------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center;
  background: var(--bg); clip-path: inset(0 0 0 0);
}
.preloader__inner { width: min(360px, 62vw); display: grid; gap: 28px; justify-items: center; }
.preloader__logo { width: 100%; clip-path: inset(0 100% 0 0); animation: pl-reveal 0.9s 0.1s var(--ease) forwards; }
.preloader__bar { position: relative; width: 100%; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span {
  position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0);
  animation: pl-bar 1.1s 0.15s var(--ease-in-out) forwards;
}
.preloader__meta { display: flex; justify-content: space-between; width: 100%; color: var(--muted); }
.preloader.is-done { animation: pl-out 0.8s var(--ease-in-out) forwards; pointer-events: none; }
@keyframes pl-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes pl-bar { to { transform: scaleX(1); } }
@keyframes pl-out { to { clip-path: inset(0 0 100% 0); } }
html.no-preloader .preloader { display: none; }

/* ---------- Page transition overlay ------------------------------------- */
.page-wipe {
  position: fixed; inset: 0; z-index: 8500; pointer-events: none;
  background: var(--brand); transform: translateY(100%); visibility: hidden;
}
.page-wipe.is-leaving, .page-wipe.is-entered, html.is-entering .page-wipe { visibility: visible; }
.page-wipe__logo {
  position: absolute; left: 50%; top: 50%; width: min(220px, 40vw);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s;
}
.page-wipe.is-leaving { transform: translateY(0); transition: transform 0.55s var(--ease-in-out); pointer-events: all; }
.page-wipe.is-leaving .page-wipe__logo { opacity: 1; transition-delay: 0.25s; }
html.is-entering .page-wipe { transform: translateY(0); }
html.is-entering .page-wipe .page-wipe__logo { opacity: 1; }
.page-wipe.is-entered { transform: translateY(-100%); transition: transform 0.7s var(--ease-in-out); }

/* ---------- Custom cursor ----------------------------------------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand); }
.cursor__ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(1, 111, 185, 0.55);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease),
    background-color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.3s;
  display: grid; place-items: center;
}
.cursor__label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity 0.25s;
}
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(1, 111, 185, 0.1); border-color: var(--brand); }
.cursor.is-view .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--brand); border-color: var(--brand); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* ---------- Navbar ------------------------------------------------------ */
/* one inline row: logo · 7 items (2 with dropdowns) · SR/EN · quote · burger.
   Transparent over the hero; frosted + compact once scrolled; hides on scroll down. */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 800; height: var(--nav-h);
  transition: height 0.45s var(--ease), transform 0.2s ease;
}
/* the frosted layer is a pseudo-element so the dropdown panels (siblings, not children)
   can run their own backdrop-filter against the page */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, 0.78); border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.nav.is-scrolled { --nav-h: 68px; }
/* blur only while the bar is actually frosted (no backdrop work over the hero) */
.nav.is-scrolled::before { opacity: 1; -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: clamp(16px, 2vw, 36px); }
.nav__logo { flex: none; display: block; }
.nav__logo img { height: 34px; width: auto; transform-origin: 0 50%; transition: transform 0.45s var(--ease); }
.nav.is-scrolled .nav__logo img { transform: scale(0.84); }
.nav__main { flex: 1; align-self: stretch; display: flex; justify-content: center; min-width: 0; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: var(--nav-gap, clamp(22px, 2.3vw, 38px)); }
.nav__item { display: flex; align-items: center; }
.nav__item--about { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding-block: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  color: var(--ink); transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__item.is-open > .nav__link::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__item.is-current > .nav__link { color: var(--brand); }
.nav__item.is-current > .nav__link::before {
  content: ""; position: absolute; left: 50%; bottom: -3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand);
}
.nav__chev { width: 20px; height: 32px; margin-left: 1px; display: grid; place-items: center; color: var(--ink-2); border-radius: 6px; transition: color 0.3s; }
.nav__chev svg { width: 10px; height: 10px; transition: transform 0.3s var(--ease); }
.nav__chev:hover, .nav__item.is-open > .nav__chev { color: var(--brand); }
.nav__item.is-open > .nav__chev svg { transform: rotate(180deg); }
.nav__badge {
  display: inline-block; padding: 3px 6px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; line-height: 1; text-transform: none;
  margin-block: -6px; /* never changes the link's line box: every label keeps one baseline */
}
.nav__end { flex: none; display: flex; align-items: center; gap: clamp(10px, 1vw, 18px); margin-left: auto; }
.nav__cta { min-height: 40px; padding: 0 18px; }

/* ---- dropdown panels (shared glass) ---- */
.mega, .drop {
  position: absolute; top: 100%; z-index: 2;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 20px;
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 50px 90px -40px rgba(17, 20, 23, 0.38), 0 0 0 1px rgba(17, 20, 23, 0.05);
  opacity: 0; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
/* invisible bridge over the gap between the bar and the panel (hover intent) */
.mega::before, .drop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.drop { left: -22px; width: 330px; padding: 8px; transform: translateY(-8px); margin-top: 2px; }
.mega { left: 50%; width: min(1180px, calc(100vw - 2 * var(--gutter))); transform: translate(-50%, -8px); margin-top: 6px; }
.nav__item.is-open > .drop { opacity: 1; transform: none; }
.nav__item.is-open > .mega { opacity: 1; transform: translate(-50%, 0); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mega, .drop { background: rgba(255, 255, 255, 0.97); }
}
.drop__list { list-style: none; margin: 0; padding: 0; display: grid; }
.drop__link { display: grid; gap: 3px; padding: 13px 16px; border-radius: 13px; transition: background-color 0.3s var(--ease); }
.drop__link:hover, .drop__link:focus-visible { background: rgba(255, 255, 255, 0.85); }
.drop__link:focus-visible { outline-offset: -2px; }
.drop__t { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.2; transition: color 0.3s; }
.drop__link:hover .drop__t, .drop__link[aria-current="page"] .drop__t { color: var(--brand); }
.drop__d { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ---- PROIZVODI mega menu: categories | live preview | catalogue CTA ---- */
.mega__inner { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(220px, 270px); }
.mega__zone { padding: 26px; min-width: 0; }
.mega__label { display: block; margin-bottom: 14px; }
.mega__cats { padding-right: 14px; border-right: 1px solid var(--line); }
.mega__cats ul { list-style: none; margin: 0 0 0 -10px; padding: 0; display: grid; gap: 2px; }
.mega__cat {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 14px; gap: 14px; align-items: center;
  padding: 6px 12px 6px 6px; border-radius: 14px; transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mega__cat:focus-visible { outline-offset: -2px; }
.mega__thumb {
  width: 46px; aspect-ratio: 1; border-radius: 11px; background: var(--plate, #ecebe8); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 4px;
}
.mega__thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.mega__cat-text { display: grid; gap: 1px; }
.mega__cat-name { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; letter-spacing: -0.01em; transition: color 0.3s; }
.mega__cat-count { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mega__cat > svg { width: 14px; height: 14px; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.mega__cat.is-active { background: rgba(255, 255, 255, 0.85); box-shadow: 0 0 0 1px var(--line), 0 12px 24px -18px rgba(17, 20, 23, 0.4); }
.mega__cat.is-active .mega__cat-name { color: var(--brand); }
.mega__cat.is-active > svg { opacity: 1; transform: none; }
.mega__previews { container-type: inline-size; display: grid; }
.mega__preview { display: grid; gap: 18px; align-content: start; animation: mega-in 0.45s var(--ease); }
@keyframes mega-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mega__preview-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.mega__preview-title { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.03em; }
.mega__preview-desc { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 46ch; }
.mega__preview-all { flex: none; padding-bottom: 2px; }
.mega__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@container (max-width: 480px) {
  .mega__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__cards li:nth-child(n + 4) { display: none; }
  .mega__preview-desc { display: none; }
}
.mega__card { display: grid; gap: 10px; align-content: start; }
.mega__card:focus-visible { outline-offset: 2px; border-radius: 12px; }
.mega__card-media {
  position: relative; aspect-ratio: 1; border-radius: 13px; background: var(--plate, #ecebe8); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 12%;
  box-shadow: 0 0 0 1px var(--line); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.mega__card-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; transition: transform 0.45s var(--ease); }
.mega__card:hover .mega__card-media { box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-lift); transform: translateY(-2px); }
.mega__card:hover .mega__card-media img { transform: scale(1.04); }
.mega__card-name { font-family: var(--font-display); font-size: 0.875rem; line-height: 1.25; letter-spacing: -0.005em; transition: color 0.3s; }
.mega__card:hover .mega__card-name { color: var(--brand); }
.mega__card-price { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2); line-height: 1.3; margin-top: -4px; }
.mega__card-price small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }
.mega__card--more .mega__card-media { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mega__card--more .plus-link__icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.mega__card--more:hover .plus-link__icon { transform: rotate(90deg); }
.mega__cta {
  margin: 10px; padding: 24px; border-radius: 14px; display: flex; flex-direction: column; gap: 18px; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(76, 155, 214, 0.55), transparent 60%), linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
}
.mega__cta .bracket { color: rgba(255, 255, 255, 0.78); margin-bottom: 0; }
.mega__cta-main {
  display: flex; gap: 14px; align-items: flex-start; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.05;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.mega__cta-main .plus-link__icon { width: 16px; height: 16px; margin-top: 0.3em; color: #fff; transition: transform var(--dur) var(--ease); }
.mega__cta-main:hover .plus-link__icon { transform: rotate(90deg); }
.mega__cta-main > span:last-child { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease); }
.mega__cta-main:hover > span:last-child { background-size: 100% 1px; }
.mega__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
.mega__facts li { padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.mega__facts b { font-weight: 700; color: #fff; }
.mega__quote {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: #fff; color: var(--ink);
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: var(--track-micro); text-transform: uppercase;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mega__quote svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.mega__quote:hover { background: var(--ink); color: #fff; }
.mega__quote:hover svg { transform: translateX(3px); }
.mega__cta a:focus-visible { outline-color: #fff; }

.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang button {
  min-width: 38px; height: 28px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); transition: background-color 0.3s, color 0.3s;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:not([aria-pressed="true"]):hover { color: var(--brand); }

.burger {
  position: relative; width: 48px; height: 44px; display: grid; place-items: center; z-index: 2; margin-right: -8px;
}
.burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink);
  transition: transform 0.55s var(--ease), top 0.55s var(--ease), left 0.55s var(--ease), background-color 0.3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; left: 16px; }
.burger:hover span:nth-child(2) { left: 8px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; left: 8px; transform: rotate(-45deg); }

/* ---------- Full-screen menu -------------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 790; visibility: hidden;
  background: var(--bg);
  clip-path: circle(0% at calc(100% - var(--gutter) - 18px) 42px);
  transition: clip-path 0.9s var(--ease-in-out), visibility 0s linear 0.9s;
  overflow: hidden auto; overscroll-behavior: contain;
}
.menu-open .menu { visibility: visible; clip-path: circle(150% at calc(100% - var(--gutter) - 18px) 42px); transition: clip-path 0.9s var(--ease-in-out), visibility 0s; }
.menu-open .nav::before { opacity: 0; }
.menu-open .nav { transform: none; }
.nav__main, .nav__cta { transition: opacity 0.35s var(--ease), visibility 0s; }
.menu-open .nav__main, .menu-open .nav__cta { opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.menu__inner {
  min-height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 120px);
  padding-top: calc(var(--nav-h) + clamp(16px, 4vh, 64px)); padding-bottom: 40px; align-items: end;
}
.menu__links { list-style: none; padding: 0; display: grid; }
.menu__links > li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__row {
  display: flex; align-items: center; gap: 16px 20px;
  transform: translateY(105%); transition: transform 0.9s var(--ease);
}
.menu__row > a {
  flex: 1; display: inline-flex; align-items: center; gap: 14px; min-width: 0;
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.035em;
  font-size: clamp(2.1rem, 0.9rem + 3.6vh + 2vw, 5.4rem); line-height: 1.08; padding: 0.04em 0; transition: color 0.3s;
}
.menu__row > a .nav__badge { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.04em; padding: 5px 8px; transform: translateY(-0.6em); }
.menu__row > a:hover, .menu__row > a[aria-current="page"] { color: var(--brand); }
.menu__row > a:focus-visible, .menu__sub a:focus-visible { outline-offset: -3px; }
.menu__sub-label { color: var(--muted); }
.menu__toggle {
  flex: none; position: relative; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.menu__toggle i::before, .menu__toggle i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px; background: currentColor;
  transition: transform 0.4s var(--ease);
}
.menu__toggle i::after { transform: rotate(90deg); }
.menu__toggle:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.has-sub.is-open .menu__toggle { background: var(--ink); color: #fff; box-shadow: none; }
.has-sub.is-open .menu__toggle i::after { transform: rotate(0deg); }
.menu__sub { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.55s var(--ease), visibility 0s linear 0.55s; }
.has-sub.is-open .menu__sub { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 0.55s var(--ease), visibility 0s; }
.menu__sub-inner { overflow: hidden; min-height: 0; }
.menu__sub ul { list-style: none; margin: 0; padding: 4px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 3vw, 48px); }
.menu__sub a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; min-height: 46px;
  border-top: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem); letter-spacing: -0.01em;
  transition: color 0.3s;
}
.menu__sub a:hover, .menu__sub a[aria-current="page"] { color: var(--brand); }
.menu__count { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.menu-open .menu__row { transform: translateY(0); }
.menu-open .menu__links > li:nth-child(1) .menu__row { transition-delay: 0.28s; }
.menu-open .menu__links > li:nth-child(2) .menu__row { transition-delay: 0.33s; }
.menu-open .menu__links > li:nth-child(3) .menu__row { transition-delay: 0.38s; }
.menu-open .menu__links > li:nth-child(4) .menu__row { transition-delay: 0.43s; }
.menu-open .menu__links > li:nth-child(5) .menu__row { transition-delay: 0.48s; }
.menu-open .menu__links > li:nth-child(6) .menu__row { transition-delay: 0.53s; }
.menu-open .menu__links > li:nth-child(7) .menu__row { transition-delay: 0.58s; }
.menu__cta { margin-top: clamp(24px, 4vh, 40px); opacity: 0; transform: translateY(16px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.menu-open .menu__cta { opacity: 1; transform: none; transition-delay: 0.62s; }
.menu__aside { display: grid; gap: 32px; align-content: end; opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.8s var(--ease); }
.menu-open .menu__aside { opacity: 1; transform: none; transition-delay: 0.55s; }
.menu__aside .micro { color: var(--muted); margin-bottom: 8px; }
.menu__aside p, .menu__aside a { font-size: 1.05rem; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Hero (homepage) --------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  color: var(--ink); isolation: isolate; background: var(--bg-2);
}
.hero__slider { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; margin: 0; }
.hero__slider .swiper-wrapper, .hero__slider .swiper-slide { height: 100%; }
.hero__slide { overflow: hidden; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%;
  transform: scale(1.07); transform-origin: 75% 80%;
}
.hero__slide.swiper-slide-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
/* phase 3: no full-frame veil — the photo stays at full saturation; light only where text sits:
   top-left corner (title start), a soft band behind the title, bottom-left behind the glass card */
.hero__veil {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(243, 242, 238, 0.5) 0%, rgba(243, 242, 238, 0.28) 24%, rgba(243, 242, 238, 0) 44%),
    linear-gradient(135deg, rgba(243, 242, 238, 0.78) 0%, rgba(243, 242, 238, 0.35) 35%, rgba(243, 242, 238, 0) 65%),
    radial-gradient(ellipse 58% 52% at 0% 100%, rgba(243, 242, 238, 0.5) 0%, rgba(243, 242, 238, 0) 70%);
}
.hero__rings { position: absolute; inset: 0; z-index: -1; pointer-events: none; width: 100%; height: 100%; }
.hero__rings circle { fill: none; stroke: var(--ink); stroke-opacity: 0.09; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__rings circle.is-brand { stroke: var(--ink); stroke-opacity: 0.1; }
.hero__rings line { stroke: var(--ink); stroke-opacity: 0.08; stroke-width: 1; vector-effect: non-scaling-stroke; }

.hero__inner {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + clamp(0px, 0.8vh, 12px)); padding-bottom: clamp(28px, 4vh, 48px);
}
/* display word — JS fits it to the container width (and to the height left above the card) */
.hero__title { margin: 0; font-weight: 600; line-height: 0.8; letter-spacing: -0.03em; overflow: hidden; }
.hero__word {
  display: inline-block; white-space: nowrap; font-size: var(--hero-fs, clamp(4.5rem, 23vw, 30rem));
  margin-left: -0.035em; padding: 0.03em 0.02em 0.05em 0;
  background: linear-gradient(128deg, var(--ink) 0%, var(--ink) 36%, #0f355a 62%, var(--brand-dark) 88%, var(--brand) 100%);
  background-size: 112% 112%; background-position: 0 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.6s var(--ease);
}
.hero[data-slide="1"] .hero__word { background-position: 50% 50%; }
.hero[data-slide="2"] .hero__word { background-position: 100% 100%; }
.hero__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 64px); align-items: start;
  margin-top: clamp(8px, 1.4vh, 16px);
}
.hero__intro { display: contents; }
.hero__sub { display: flex; align-items: flex-start; gap: clamp(14px, 1.6vw, 26px); }
.hero__script {
  font-family: var(--font-display); font-weight: 400; color: var(--brand);
  font-size: clamp(3.2rem, 1.1rem + 6vw, 8.5rem); line-height: 0.9; letter-spacing: -0.035em;
}
.hero__sub .bracket { margin-top: 1.1em; color: var(--ink-2); font-size: 10.5px; }
.hero__lead { position: relative; max-width: 52ch; padding-top: 1.1em; font-size: 0.75rem; letter-spacing: 0.08em; line-height: 1.8; color: var(--ink); text-transform: uppercase; text-shadow: 0 0 10px rgba(243, 242, 238, 0.9), 0 0 2px rgba(243, 242, 238, 0.8); }
/* localized glow directly behind the copy (it can sit over saturated bins) */
.hero__lead::before, .hero__sub::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -18% -12% -26% -10%;
  background: radial-gradient(closest-side, rgba(243, 242, 238, 0.82), rgba(243, 242, 238, 0.5) 55%, rgba(243, 242, 238, 0));
}
.hero__sub { position: relative; }
.hero__sub::before { inset: -22% -16% -30% -12%; background: radial-gradient(closest-side, rgba(243, 242, 238, 0.85), rgba(243, 242, 238, 0.5) 55%, rgba(243, 242, 238, 0)); }

/* rotating badge — right, just under the title */
.hero__badge {
  position: relative; margin-top: clamp(-28px, -1.6vw, -8px);
  width: clamp(116px, 9.5vw, 156px); aspect-ratio: 1; display: grid; place-items: center; color: var(--ink);
}
.hero__badge::before { content: ""; position: absolute; inset: -14%; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(243, 242, 238, 0.8) 60%, rgba(243, 242, 238, 0)); pointer-events: none; }
.hero__badge svg.badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.hero__badge text { font-family: var(--font-body); font-size: 9.2px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; fill: currentColor; }
.hero__badge .badge-ring {
  width: 54%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(17, 20, 23, 0.2);
  display: grid; place-items: center; transition: transform var(--dur) var(--ease), border-color var(--dur), background-color var(--dur);
}
.hero__badge .badge-plus { width: 16px; height: 16px; color: var(--brand); transition: transform var(--dur) var(--ease); }
.hero__badge:hover .badge-ring { transform: scale(1.1); border-color: var(--brand); background: rgba(255, 255, 255, 0.45); }
.hero__badge:hover .badge-plus { transform: rotate(90deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* glass card — mirrors the reference "GREEN VALLEY" card */
.hero__card {
  position: relative; margin-top: auto; align-self: flex-start;
  width: min(440px, 100%); padding: 32px; border-radius: 20px; display: grid; color: var(--ink);
  margin-bottom: clamp(44px, 6vh, 64px); /* keeps clear of the assistant button */
}
.hero__card-title { font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + 0.45vw, 1.45rem); font-weight: 400; line-height: 1.15; letter-spacing: -0.005em; text-transform: uppercase; }
.hero__card-text { font-size: 0.6875rem; line-height: 1.75; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); max-width: 40ch; }
.hero__panels { display: grid; }
.hero__panel { grid-area: 1 / 1; display: grid; gap: 16px; opacity: 0; transform: translateY(8px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.hero__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero__stats { display: flex; gap: clamp(24px, 3vw, 44px); margin-top: 4px; }
.hero__stat { display: flex; align-items: flex-start; gap: 8px; }
.hero__stat b { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.75rem, 2.3rem + 1vw, 3.5rem); line-height: 0.88; letter-spacing: -0.04em; }
.hero__stat span { font-size: 9.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.5; margin-top: 3px; color: var(--ink-2); max-width: 14ch; }
.hero__stat span::before { content: "[\00a0"; } .hero__stat span::after { content: "\00a0]"; }
.hero__card .plus-link { color: var(--ink); margin-top: 4px; }

.hero__pager {
  position: absolute; right: var(--gutter); bottom: calc(clamp(28px, 4vh, 48px) + clamp(44px, 6vh, 64px));
  display: flex; align-items: center; gap: 16px; padding: 5px 20px 5px 5px; border-radius: 999px;
  font-family: var(--font-display); color: var(--ink); line-height: 1;
  background: rgba(255, 255, 255, 0.5); border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 40px -30px rgba(17, 20, 23, 0.4);
}
.hero__bullets { display: flex; gap: 2px; }
.hero__bullets button {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em; line-height: 1; width: 36px; height: 36px; border-radius: 50%;
  color: var(--ink-2); transition: color var(--dur), background-color var(--dur);
}
.hero__bullets button:hover { color: var(--brand); }
.hero__bullets button[aria-current="true"] { color: #fff; background: var(--ink); }
.hero__progress { width: clamp(80px, 9vw, 150px); height: 1px; background: rgba(17, 20, 23, 0.2); position: relative; overflow: hidden; }
.hero__progress span { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.hero__count { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); min-width: 48px; font-variant-numeric: tabular-nums; }
.hero__count b { color: var(--ink); font-weight: 500; }

/* ---------- Sections ---------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 112px); }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: #fff; }
.section-head { display: grid; gap: clamp(16px, 1.6vw, 24px); margin-bottom: clamp(40px, 5vw, 80px); }
.section-head__label { display: flex; gap: 10px 22px; align-items: center; flex-wrap: wrap; }
.section-head__label .micro { color: var(--muted); }
.section-head__main { display: grid; gap: 24px; }
.section-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 56px; flex-wrap: wrap; }
.section-head__row .lead { max-width: 44ch; }
.section-head__row .h2 { max-width: 16ch; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* marquee of references */
.marquee { padding-block: clamp(28px, 3vw, 44px); border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee__head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; color: var(--muted); }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(36px, 4vw, 72px); padding-right: clamp(36px, 4vw, 72px); }
.marquee__item { flex: none; display: flex; align-items: center; gap: 14px; }
.marquee__item img {
  height: clamp(44px, 4vw, 60px); width: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05);
  opacity: 0.62; transition: filter 0.4s, opacity 0.4s;
}
.marquee__item:hover img { filter: none; opacity: 1; }
html:not(.motion) .marquee__track { animation: marquee 60s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* about teaser */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.about-teaser__text { display: grid; gap: clamp(28px, 3vw, 44px); }
.about-teaser__head { display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.values { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.values li {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.values__n { font-family: var(--font-display); font-size: 0.875rem; color: var(--brand); letter-spacing: 0.04em; }
.values__t { font-family: var(--font-display); font-size: clamp(1.15rem, 0.9rem + 0.7vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.25; }
.about-teaser__media { position: relative; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--bg-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__media .media-frame { aspect-ratio: 4 / 4.4; }
.about-teaser__media .media-frame img { height: 118%; margin-top: -9%; }
.about-teaser__badge {
  position: absolute; left: -28px; bottom: 36px; padding: 20px 24px; display: grid; gap: 4px; max-width: 240px;
}
.about-teaser__badge b { font-family: var(--font-display); font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--brand); letter-spacing: -0.03em; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.4vw, 24px); }
.cat-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(340px, 30vw, 520px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate; color: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.cat-card__img { position: absolute; inset: 0; z-index: -2; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 20, 23, 0) 34%, rgba(17, 20, 23, 0.26) 58%, rgba(10, 22, 36, 0.84) 100%);
  transition: opacity 0.6s;
}
.cat-card__top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; }
.cat-card__top .bracket { color: var(--ink); background: rgba(255, 255, 255, 0.72); padding: 6px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cat-card__body { padding: clamp(20px, 2vw, 30px); display: grid; gap: 12px; }
.cat-card__title { font-family: var(--font-display); font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1; font-weight: 400; }
.cat-card__desc { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.82); max-width: 40ch; line-height: 1.55; }
.cat-card .plus-link { color: #fff; }
.cat-card .plus-link__icon { color: #8cc4ef; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-lift); }
.cat-card:hover .cat-card__img img { transform: scale(1.04); }
.cat-card--wide { grid-column: span 2; }

/* product cards (featured + catalog) — product floats on a plate tinted to its photo backdrop */
.p-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.p-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 1.5px var(--brand), var(--shadow-lift); }
.p-card__media {
  position: relative; aspect-ratio: 1; margin: 8px 8px 0; border-radius: calc(var(--radius) - 6px);
  background: var(--plate, #ecebe8); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 13%;
}
.plate-img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  /* soften the photo's edges into the plate so the product "floats" */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  transition: transform 0.45s var(--ease);
}
.p-card:hover .plate-img { transform: scale(1.04); }
.p-card__cat { position: absolute; left: 22px; top: 20px; color: var(--muted); z-index: 1; }
.p-card__body { display: grid; gap: 10px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.p-card__name { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.015em; font-weight: 400; }
.p-card__dims { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.dims-l { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.p-card__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.p-card__price { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.p-card__price small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); margin-top: 5px; }
.p-card__link { position: absolute; inset: 0; z-index: 2; }
.p-card__link:focus-visible { outline-offset: -3px; border-radius: var(--radius); }
.dots { display: flex; gap: 6px; align-items: center; }
.dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); display: block; }

.featured { overflow: hidden; }
.featured .swiper { overflow: visible; }
.featured .swiper-slide { width: clamp(270px, 24vw, 380px); height: auto; }
.slider-ctrl { display: flex; align-items: center; gap: 18px; }
.slider-ctrl__btn {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.slider-ctrl__btn:hover { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.slider-ctrl__btn.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
.slider-ctrl__btn svg { width: 18px; height: 18px; }
.slider-bar { position: relative; height: 1px; background: var(--line); margin-top: clamp(32px, 4vw, 56px); }
.slider-bar .swiper-scrollbar-drag { background: var(--brand); height: 3px; top: -1px; border-radius: 3px; }
.featured .swiper-scrollbar { position: relative; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--line); border-radius: 0; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.16); }
.stat { padding: clamp(28px, 3vw, 48px) clamp(16px, 2vw, 32px) 0 0; display: grid; gap: 14px; align-content: start; border-right: 1px solid rgba(255, 255, 255, 0.12); padding-left: clamp(0px, 2vw, 32px); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display); font-weight: 300; font-size: var(--fs-num-xl); line-height: 0.9; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, #9fcdf2 120%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__num sup { font-size: 0.4em; vertical-align: top; position: relative; top: 0.25em; margin-left: 0.04em; -webkit-text-fill-color: var(--brand-light); }
.stat__label { color: rgba(255, 255, 255, 0.62); }
.stats-band__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 4vw, 64px); flex-wrap: wrap; }
.stats-band__head .h2 { color: #fff; max-width: 14ch; }
.stats-band__head .accent { color: var(--brand-light); }
.section--ink .muted, .section--ink .lead { color: rgba(255, 255, 255, 0.66); }
.section--ink .bracket { color: rgba(255, 255, 255, 0.55); }

/* delivery strip */
.delivery { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: stretch; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { position: relative; padding: 28px 24px 8px 0; display: grid; gap: 14px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--font-display); color: var(--brand); font-size: 0.875rem; letter-spacing: 0.04em; }
.step__t { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 0.7vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.15; }
.step__d { font-size: var(--fs-small); color: var(--muted); }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.step + .step::before { left: -4px; }
.free-ship {
  position: relative; overflow: hidden; border-radius: var(--radius-l); min-height: 360px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate;
}
.free-ship > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.free-ship::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(200deg, rgba(1, 81, 138, 0.1) 20%, rgba(2, 40, 70, 0.75) 100%); }
.free-ship__panel { margin: 18px; padding: 24px; display: grid; gap: 10px; width: calc(100% - 36px); }
.free-ship__amount { font-family: var(--font-display); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.aks-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #fff; color: var(--ink); justify-self: start; }
.aks-badge b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #d71920; color: #fff; font-family: var(--font-display); font-size: 10px; letter-spacing: 0.04em; }

/* gallery preview / masonry */
.masonry { columns: 4 260px; column-gap: clamp(12px, 1.2vw, 20px); }
.masonry__item { break-inside: avoid; margin-bottom: clamp(12px, 1.2vw, 20px); position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); width: 100%; }
.masonry__item img { width: 100%; transition: transform 0.6s var(--ease); }
.masonry__item:hover img { transform: scale(1.04); }
.masonry__item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; border-radius: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4;
  color: var(--ink); background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease);
}
.masonry__item:hover figcaption, .masonry__item:focus-visible figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9200; display: grid; grid-template-rows: auto 1fr auto; visibility: hidden; opacity: 0;
  background: rgba(14, 17, 20, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.lightbox.is-open { visibility: visible; opacity: 1; transition: opacity 0.4s var(--ease); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--gutter); gap: 16px; }
.lightbox__caption { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.75); }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(56px, 7vw, 120px); min-height: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100svh - 160px); object-fit: contain; border-radius: 8px; transition: opacity 0.3s, transform 0.5s var(--ease); }
.lightbox__img.is-loading { opacity: 0; transform: scale(0.98); }
.lightbox__btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); transition: background-color 0.3s;
}
.lightbox__btn:hover { background: var(--brand); box-shadow: none; }
.lightbox__btn svg { width: 18px; height: 18px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__count { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.06em; padding: 16px; text-align: center; color: rgba(255, 255, 255, 0.7); }

/* CTA */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-l); min-height: clamp(460px, 40vw, 640px); display: grid; place-items: center; isolation: isolate; padding: clamp(20px, 4vw, 64px); }
.cta__bg { position: absolute; inset: -6%; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(115%); transform: scale(1.06); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(242, 242, 239, 0.35), rgba(1, 81, 138, 0.35)); }
.cta__panel { width: min(880px, 100%); padding: clamp(28px, 4.5vw, 72px); display: grid; gap: 24px; justify-items: start; border-radius: var(--radius-l); }

.cta__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.cta__phone { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.01em; }

/* ---------- Footer ------------------------------------------------------ */
.footer { position: relative; background: var(--bg); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 120px); overflow: hidden; }
.footer a { transition: color var(--dur) var(--ease); }
.footer a:hover { color: var(--brand); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 3.4vw, 64px); padding-bottom: clamp(48px, 6vw, 96px); }
.footer__brand { display: grid; gap: 22px; align-content: start; }
.footer__brand img.logo { width: 150px; }
.footer__brand p { max-width: 36ch; font-size: var(--fs-small); color: var(--muted); line-height: 1.65; }
.footer__vojka { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--muted); }
.footer__vojka img { width: 22px; height: auto; }
.footer h3 {
  font-family: var(--font-body); font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-micro);
  color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 0.95rem; }
.footer address { font-style: normal; font-size: 0.95rem; line-height: 1.7; margin-bottom: 14px; }
.footer__h-gap { margin-top: 32px; }
.footer__menu a { display: inline-flex; align-items: center; gap: 10px; }
.footer__menu .menu__count { font-size: 10.5px; color: var(--muted-2); }
.footer__menu .nav__badge { margin-block: 0; }
.footer__social { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.footer__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--dur), box-shadow var(--dur), color var(--dur); }
.footer__icon:hover { background: var(--brand); color: #fff !important; box-shadow: none; }
.footer__icon svg { width: 16px; height: 16px; fill: currentColor; }
.footer__word {
  display: inline-block; font-family: var(--font-display); font-weight: 600; line-height: 0.76; letter-spacing: -0.03em; white-space: nowrap;
  font-size: var(--hero-fs, 23vw); margin: 0 0 -0.04em -0.035em; padding-top: 0.04em; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 20, 23, 0.06) 0%, rgba(1, 111, 185, 0.22) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-block: 22px 96px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); } /* bottom room: the floating widgets never cover the credit line */
.footer__bottom a { color: var(--ink-2); }

/* ---------- Floating widgets -------------------------------------------- */
.to-top {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 700;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 14px 30px -12px rgba(1, 111, 185, 0.7);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s linear 0.4s, background-color 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), background-color 0.3s; }
.to-top:hover { background: var(--brand-dark); }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 2; }
.to-top svg.ring .bg { stroke: rgba(255, 255, 255, 0.25); }
.to-top svg.ring .fg { stroke: #fff; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }
.to-top .arrow { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.to-top:hover .arrow { transform: translateY(-3px); }

/* AI assistant */
.assistant { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 710; }
.assistant__fab {
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--brand); box-shadow: 0 16px 34px -14px rgba(17, 20, 23, 0.45), 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease);
}
.assistant__fab:hover { transform: scale(1.06); }
.assistant__fab img { width: 30px; height: 30px; object-fit: contain; border-radius: 8px; }
.assistant__fab .ic-close { position: absolute; width: 20px; height: 20px; opacity: 0; transform: rotate(-90deg); transition: opacity 0.3s, transform 0.4s var(--ease); }
.assistant.is-open .assistant__fab img { opacity: 0; }
.assistant.is-open .assistant__fab .ic-close { opacity: 1; transform: none; }
.assistant__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: pulse 2.4s var(--ease) infinite; pointer-events: none; }
.assistant__pulse:nth-child(2) { animation-delay: 1.2s; }
.assistant.is-open .assistant__pulse, .assistant.was-opened .assistant__pulse { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
.assistant__hint {
  position: absolute; left: 72px; bottom: 10px; white-space: nowrap; padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  background: #fff; box-shadow: 0 10px 30px -14px rgba(17, 20, 23, 0.4), 0 0 0 1px var(--line); font-size: var(--fs-small);
  opacity: 0; transform: translateX(-6px); transition: opacity 0.4s, transform 0.5s var(--ease); pointer-events: none;
}
.assistant.show-hint .assistant__hint { opacity: 1; transform: none; }
.assistant__panel {
  position: absolute; left: 0; bottom: 76px; width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100vh - 140px)); height: min(600px, calc(100svh - 140px));
  display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden;
  background: rgba(250, 250, 248, 0.78); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 22px;
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 40px 80px -30px rgba(17, 20, 23, 0.45), 0 0 0 1px var(--line);
  transform-origin: 30px calc(100% + 40px); transform: scale(0.6); opacity: 0; visibility: hidden;
  transition: transform 0.5s var(--ease), opacity 0.35s, visibility 0s linear 0.5s;
}
.assistant.is-open .assistant__panel { transform: none; opacity: 1; visibility: visible; transition: transform 0.5s var(--ease), opacity 0.35s; }
.assistant__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.assistant__avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; flex: none; }
.assistant__avatar img { width: 24px; }
.assistant__title { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.assistant__status { font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.assistant__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.assistant__head .assistant__x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.assistant__head .assistant__x:hover { background: rgba(17, 20, 23, 0.06); color: var(--ink); }
.assistant__head .assistant__x svg { width: 16px; height: 16px; }
.assistant__log { overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 86%; display: grid; gap: 4px; }
.msg__b { padding: 11px 14px; border-radius: 16px; font-size: 0.875rem; line-height: 1.55; }
.msg__b a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.msg__b ul { padding-left: 18px; margin: 6px 0; }
.msg__b li + li { margin-top: 2px; }
.msg__t { font-size: 10px; color: var(--muted-2); letter-spacing: 0.04em; }
.msg--bot { align-self: flex-start; }
.msg--bot .msg__b { background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.msg--user { align-self: flex-end; justify-items: end; }
.msg--user .msg__b { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.assistant__chips { display: flex; gap: 8px; padding: 10px 18px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
.assistant__chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 13px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color 0.25s, color 0.25s, box-shadow 0.25s; }
.chip:hover { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 1px var(--brand); }
.assistant__form { display: flex; gap: 8px; padding: 12px 14px 14px; }
.assistant__form input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: 0.9rem; }
.assistant__form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1, 111, 185, 0.15); }
.assistant__form button { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.assistant__form button svg { width: 18px; height: 18px; }

/* ---------- Page hero (sub pages) --------------------------------------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 120px)); padding-bottom: clamp(40px, 6vw, 90px); min-height: clamp(520px, 74vh, 820px); display: flex; align-items: flex-end; background: var(--bg-2); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 115%; object-fit: cover; object-position: 60% 70%; }
/* phase 3: photo stays visible; light only directly behind the text blocks (glows travel with them)
   plus a soft band under the transparent nav */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(243, 242, 238, 0.62) 0%, rgba(243, 242, 238, 0.2) 14%, rgba(243, 242, 238, 0) 26%),
    linear-gradient(0deg, rgba(243, 242, 238, 0.55) 0%, rgba(243, 242, 238, 0) 30%);
}
.page-hero--busy::before {
  background:
    linear-gradient(180deg, rgba(243, 242, 238, 0.9) 0%, rgba(243, 242, 238, 0.55) 16%, rgba(243, 242, 238, 0) 32%),
    linear-gradient(0deg, rgba(243, 242, 238, 0.6) 0%, rgba(243, 242, 238, 0) 34%);
}
.page-hero__inner > :first-child, .page-hero__aside { position: relative; }
.page-hero__inner > :first-child { justify-self: start; max-width: 100%; } /* glow centres on the text, not the column */
.page-hero__inner > :first-child::before, .page-hero__aside::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -28% -22% -34% -16%;
  background: radial-gradient(closest-side, rgba(243, 242, 238, 0.94) 0%, rgba(243, 242, 238, 0.82) 45%, rgba(243, 242, 238, 0.45) 72%, rgba(243, 242, 238, 0));
}
.page-hero__aside::before { inset: -34% -20% -40% -18%; }
.page-hero__inner { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.page-hero__crumbs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--ink-2); margin-bottom: clamp(18px, 3vh, 32px); }
/* bracketed micro-label above the heading (same pattern as the section heads) */
.page-hero__crumbs::before { content: "["; margin-right: 4px; color: var(--muted); }
.page-hero__crumbs::after { content: "]"; margin-left: 4px; color: var(--muted); }
.page-hero__aside .caps { color: var(--ink); text-shadow: 0 0 10px rgba(243, 242, 238, 0.9), 0 0 2px rgba(243, 242, 238, 0.8); }
.page-hero__crumbs a:hover { color: var(--brand); }
.page-hero__crumbs li { display: flex; gap: 10px; align-items: center; }
.page-hero__crumbs li + li::before { content: "/"; color: var(--muted-2); }
.page-hero__title { font-size: var(--fs-h1); line-height: 0.88; letter-spacing: -0.04em; font-weight: 500; }
.page-hero__title .accent { display: block; font-weight: 300; }
.page-hero__aside { max-width: 400px; display: grid; gap: 18px; justify-items: start; padding-bottom: 0.6em; }

/* ---------- Forms ------------------------------------------------------- */
.field { display: grid; gap: 8px; position: relative; }
.field label { font-size: var(--fs-micro); font-weight: 600; text-transform: uppercase; letter-spacing: var(--track-micro); color: var(--ink-2); }
.field label .req { color: var(--brand); }
.input {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line-strong); transition: border-color 0.3s, box-shadow 0.3s; font-size: 1rem;
}
textarea.input { min-height: 160px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111417' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.input:hover { border-color: rgba(17, 20, 23, 0.36); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(1, 111, 185, 0.14); }
.field.is-invalid .input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(192, 51, 43, 0.1); }
.field__err { font-size: 12px; color: var(--err); min-height: 0; display: none; }
.field.is-invalid .field__err { display: block; }

/* ---------- Reveal (initial states only when motion is on) -------------- */
html.motion [data-reveal] { opacity: 0; transform: translateY(40px); }
html.motion [data-reveal="fade"] { transform: none; }
html.motion [data-reveal="scale"] { transform: scale(0.96); }
html.motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 0.6s, transform 0.8s var(--ease); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; will-change: transform; }
html.motion [data-split]:not(.is-split) { opacity: 0; }
/* safety net: if main.js fails to boot, never leave content hidden */
html.motion:not(.js-ready) [data-reveal], html.motion:not(.js-ready) [data-split] { animation: bz-reveal-fallback 0.6s 2.5s forwards; }
@keyframes bz-reveal-fallback { to { opacity: 1; transform: none; } }

/* ---------- Responsive -------------------------------------------------- */
@media (max-width: 1365px) {
  .nav__list { --nav-gap: clamp(18px, 1.8vw, 26px); }
  .nav__link { letter-spacing: 0.12em; }
}
@media (max-width: 1279.98px) {
  .nav__cta { display: none; } /* still in the mega menu + overlay menu */
}
html.nav-hidden { --bar-h: 0px; }
@media (max-width: 1099.98px) {
  :root { --nav-h: 72px; --bar-h: 64px; }
  html.nav-hidden { --bar-h: 0px; }
  .nav.is-scrolled { --nav-h: 64px; }
  .nav__main, .nav__cta { display: none; }
}
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .about-teaser, .delivery { grid-template-columns: 1fr; }
  .about-teaser__badge { left: 16px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card--wide { grid-column: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 28px; }
  .menu__inner { grid-template-columns: 1fr; align-items: start; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__label { padding-top: 0; }
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__intro { display: grid; gap: 16px; justify-items: start; }
  .hero__lead { padding-top: 0; }
  .hero__badge { margin-top: 0; }
  .page-hero__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero__row { grid-template-columns: 1fr; }
  .hero__lead { font-size: 0.6875rem; }
  .hero__badge { display: none; }
  .hero__card { padding: 22px; width: 100%; margin-bottom: 84px; }
  .hero__card-text { display: none; }
  .hero__stat b { font-size: 2.6rem; }
  .hero__pager { right: auto; left: 50%; transform: translateX(-50%); bottom: 22px; padding: 4px; }
  .hero__card.glass { background: rgba(255, 255, 255, 0.55); }
  .hero__progress, .hero__count { display: none; }
  .hero__slide img { object-position: 64% 100%; }
  .page-hero--left .page-hero__bg img { object-position: 8% 70%; }
  /* phones: the text stack fills the lower half, so the light rises from the bottom; the photo stays clear above */
  .page-hero::before, .page-hero--busy::before {
    background:
      linear-gradient(180deg, rgba(243, 242, 238, 0.7) 0%, rgba(243, 242, 238, 0) 18%),
      linear-gradient(0deg, rgba(243, 242, 238, 0.9) 0%, rgba(243, 242, 238, 0.78) 38%, rgba(243, 242, 238, 0.35) 58%, rgba(243, 242, 238, 0) 74%);
  }
  .hero__veil {
    background:
      linear-gradient(180deg, rgba(243, 242, 238, 0.7) 0%, rgba(243, 242, 238, 0.45) 26%, rgba(243, 242, 238, 0) 46%),
      linear-gradient(0deg, rgba(243, 242, 238, 0.5) 0%, rgba(243, 242, 238, 0) 34%);
  }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card--wide { grid-column: auto; }
  .cat-card { min-height: 360px; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .step + .step::before { left: 0; }
  .values li { grid-template-columns: 44px 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .stat__num { font-size: clamp(3rem, 15vw, 4.5rem); }
  .masonry { columns: 2 140px; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: -58px; transform: none; }
  .assistant__hint { display: none; }
  /* stack widgets: assistant above the back-to-top on the same side would collide with content; keep left/right and smaller */
  .to-top { width: 50px; height: 50px; }
  .assistant__fab { width: 54px; height: 54px; }
  .assistant__panel { bottom: 68px; height: min(560px, calc(100svh - 110px)); }
}
/* touch: comfortable tap targets (≥ 44px) */
@media (pointer: coarse) {
  .lang button { min-width: 44px; height: 44px; }
  .hero__bullets button { width: 44px; height: 44px; }
  .filter { height: 44px; }
  .chip { min-height: 40px; padding: 9px 15px; }
  .footer ul a, .menu__aside a { display: inline-block; padding-block: 6px; }
  .assistant__head .assistant__x { width: 44px; height: 44px; }
  .nav__chev { width: 44px; height: 44px; margin: 0 -12px 0 -10px; }
  .nav__cta { min-height: 44px; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .menu__sub-label { display: none; }
  .menu__sub ul { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero__badge svg.badge-text { animation: none; }
  .hero__slide img { transform: none !important; animation: none !important; }
  .assistant__pulse { display: none; }
}
