/* ═══════════════════════════════════════════════════════════
   BRASS ART — header.css
   Production-ready · MODX Evolution · Refactored

   TABLE OF CONTENTS
   ──────────────────
   01  Variables
   02  Reset & Base
   03  Typography
   04  Layout Utilities
   05  Custom Cursor
   06  Scroll Reveal
   07  Buttons
   08  Header Shell
   09  Header Row 1 — Main Nav
   10  Header Row 1 — Submenu
   11  Header Row 2 — Product Menu
   12  Header — UI Icons & Badges
   13  Hero
   14  Collections
   15  Stats Strip
   16  Quiet Luxury Band
   17  About
   18  CTA
   19  Footer
   20  Animations & Keyframes
   21  Media Queries
   22  Accessibility
   ═══════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────
   01  VARIABLES
   FIX: removed --serif/--sans aliases (use --font-head/--font-body)
   FIX: removed unused --gold-mid
   FIX: added missing --header-bg used by body
   FIX: normalised two easing vars into one --ease + --ease-spring
───────────────────────────────────────────────────────── */

:root {
  /* Brand colour tokens — back to the brighter gold, it reads best
     against a dark ground */
  --gold:             #c9a84c;
  --gold-hover:       #e0bd6a;
  --gold-dim:         rgba(201, 168, 76, 0.20);
  --gold-faint:       rgba(201, 168, 76, 0.05);
  --divider:          rgba(201, 168, 76, 0.12);
  /* Secondary accent — deep emerald, used sparingly (tags, alt badges,
     the odd hover state) so the palette isn't a single-hue wash */
  --accent2:          #5f9270;
  --accent2-dim:      rgba(95, 146, 112, 0.18);
 --header-total-h:
    calc(var(--header-top-h) + var(--header-bot-h));
  /* Background tokens — warm dark chocolate/graphite, not flat black */
  --bg:               #1b1510;          /* primary page background   */
  --header-bg:        #171310;          /* header background (opaque)*/
  --header-bg-blur:   rgba(23,19,16,0.88); /* header scrolled state  */
  --card:             #241d16;

  /* Text tokens */
  --text:             #e8e2d9;
  --text-primary:     rgba(230, 222, 208, 0.92);
  --text-secondary:   rgba(230, 222, 208, 0.45);
  --text-muted:       rgba(232, 226, 217, 0.50);
  --text-faint:       rgba(232, 226, 217, 0.30);

  /* Border */
  --border:           rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-head:        'Playfair Display', Georgia, serif;
  --font-body:        'Jost', system-ui, sans-serif;

  /* Layout */
  --container:        1280px;
  --header-max:       1440px;
  --px:               clamp(2rem, 5vw, 4rem);
  --header-gutter:    clamp(1.5rem, 4vw, 4rem);
  --header-top-h:     56px;
  --header-bot-h:     64px;
  --header-total-h: calc(var(--header-top-h) + var(--header-bot-h));

  /* Easing */
  --ease:             cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Transitions (reusable durations) */
  --t-fast:           0.2s;
  --t-base:           0.35s;
  --t-slow:           0.6s;
}


/* ─────────────────────────────────────────────────────────
   02  RESET & BASE
   FIX: removed `* { cursor: none !important }` — kills native cursors
        on inputs/selects, breaks accessibility.
   FIX: removed duplicate body { background } declaration.
   FIX: `button { cursor: pointer }` removed — conflicts with
        custom cursor; handled specifically below.
   FIX: html placed before body (natural cascade order).
───────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}




a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

button {
  /* cursor managed globally via cursor:none on body */
  background: none;
  border: none;
  font-family: inherit;
  color: var(--text);
}

/* Local font — keeps self-hosted fallback working */
@font-face {
  font-family: 'Playfair Display';
  src: url('../font/playfair-display-v40-latin-regular.woff2') format('woff2');
  font-display: swap;
}

::selection {
  background: color-mix(in srgb, var(--gold) 35%, transparent);
  color: var(--text);
}


/* ─────────────────────────────────────────────────────────
   03  TYPOGRAPHY
───────────────────────────────────────────────────────── */
.section-tag {
  display: block;
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
}

.section-desc {
  color: var(--text-faint);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 2;
  max-width: 22rem;
}

.accent-muted { color: rgba(201, 168, 76, 0.6); }


/* ─────────────────────────────────────────────────────────
   04  LAYOUT UTILITIES
───────────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* Padding-top for main content under fixed header */
.site-main {
 
}


/* ─────────────────────────────────────────────────────────
   05  CUSTOM CURSOR
   FIX: unified two conflicting cursor declarations into one system.
   FIX: removed duplicate .cursor block (8px dot vs 22px ring — kept ring).
   FIX: removed .cursor-follower that was only in the dead first block.
   RESULT: single coherent cursor system.
───────────────────────────────────────────────────────── */
/* ─────────────────────────────
   CURSOR SYSTEM
───────────────────────────── */

/* =========================================================
   CUSTOM CURSOR SYSTEM
========================================================= */

html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor [role="button"],
html.has-custom-cursor input,
html.has-custom-cursor textarea,
html.has-custom-cursor select,
html.has-custom-cursor label,
html.has-custom-cursor * {
  cursor: none !important;
}

/* cursor dot */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;

  background: #c9a24b;

  transform: translate(-50%, -50%);
  transition:
    transform .08s linear,
    opacity .2s ease;

  will-change: transform;
}

/* cursor ring */

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;

  width: 34px;
  height: 34px;

  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;

  border: 1px solid rgba(201,162,75,.75);

  background: transparent;

  transform: translate(-50%, -50%);

  transition:
    width .25s ease,
    height .25s ease,
    border-color .25s ease,
    transform .12s ease;

  box-shadow:
    0 0 12px rgba(201,162,75,.18),
    inset 0 0 12px rgba(201,162,75,.08);
}

/* Page-load intro — cursor "wakes up" at the logo and glows brighter
   while it flies toward the mouse for the first time. */
.cursor-ring--intro {
  border-color: #e0bd6a;
  box-shadow:
    0 0 28px rgba(201,162,75,.55),
    inset 0 0 20px rgba(201,162,75,.22);
  animation: cursorIntroPulse 0.9s ease-out;
}
@keyframes cursorIntroPulse {
  0%   { width: 18px; height: 18px; opacity: 0; }
  25%  { opacity: 1; }
  100% { width: 34px; height: 34px; opacity: 1; }
}

.cursor-ring.is-hover {
  width: 64px;
  height: 64px;

  border-color: #c9a24b;

  box-shadow:
    0 0 24px rgba(201,162,75,.35),
    inset 0 0 18px rgba(201,162,75,.12);
}
/* hidden on touch — no real pointer to follow, and the dot/ring just
   sit in place blocking content instead of tracking anything useful */

@media (hover: none), (pointer: coarse) {

  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: auto !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

}

/* ─────────────────────────────────────────────────────────
   06  SCROLL REVEAL
   Driven by IntersectionObserver in app.js.
   JS adds `.is-visible` class.
───────────────────────────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right,
.reveal-card {
  opacity: 0;
}

.reveal {
  transform: translateY(2.5rem);
  transition:
    opacity   var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
}

.reveal-left {
  transform: translateX(-3rem);
  transition:
    opacity   0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal-right {
  transform: translateX(3rem);
  transition:
    opacity   0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal-card {
  transform: translateY(2rem);
  /* --delay injected via style attribute in HTML */
  transition:
    opacity   var(--t-slow) var(--ease),
    transform var(--t-slow) var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-card.is-visible {
  opacity: 1;
  transform: none;
}


/* ─────────────────────────────────────────────────────────
   07  BUTTONS
   FIX: removed all duplicate button blocks (appeared twice each).
   FIX: unified --ease-spring usage (was mixed with hardcoded cubic).
   FIX: btn-main color unified to --text-primary (was two different values).
   FIX: btn-glass display:flex moved into single block.
───────────────────────────────────────────────────────── */

/* Filled — primary action */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 1.1rem 2.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  transition: transform var(--t-base) var(--ease-spring), box-shadow var(--t-base);
}
.btn-primary:hover { transform: scale(1.04); }

/* Ghost outline — small */
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 0.5rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 168, 76, 0.4);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn-outline:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

/* Ghost outline — large, slide-fill effect */
.btn-outline-large {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 1.25rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.5s;
}
.btn-outline-large::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-spring);
  z-index: -1;
}
.btn-outline-large:hover::before { transform: scaleX(1); }
.btn-outline-large:hover          { color: var(--bg); }

/* Glass — used on collection hover */
.btn-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: background var(--t-base), border-color var(--t-base);
}
.btn-glass:hover { background: rgba(201, 168, 76, 0.2); border-color: rgba(201, 168, 76, 0.5); }

/* Hero border button */
.btn-main {
  height: 56px;
  padding: 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 76, 0.45);
  color: var(--text-primary);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.btn-main:hover { background: rgba(201, 168, 76, 0.08); border-color: var(--gold); transform: translateY(-2px); }

/* Text + trailing line */
.btn-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.btn-line::after {
  content: '';
  width: 80px;
  height: 1px;
  background: rgba(201, 168, 76, 0.25);
  margin-left: 18px;
}

/* Utility glow */
.gold-glow       { box-shadow: 0 0 24px rgba(201, 168, 76, 0.30); }
.gold-glow:hover { box-shadow: 0 0 48px rgba(201, 168, 76, 0.50); }


/* ─────────────────────────────────────────────────────────
   08  HEADER SHELL
───────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-bottom: 1px solid transparent;
  transform: translateY(0);
  /* FIX: backdrop-filter removed from transition — not GPU-composited,
     causes jank. Toggle it via class state only. */
  transition:
    transform    0.38s var(--ease),
    background   0.38s var(--ease),
    border-color 0.38s var(--ease);
}

.header--scrolled {
  background: var(--header-bg-blur);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--divider);

  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.header--hidden { transform: translateY(-100%); }

/* Burger — hidden on desktop, shown via media query */
.header__burger {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 10000;
  width: 26px; height: 18px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none; border: none; padding: 0;
}
.header__burger span {
  display: block;
  height: 2px; width: 100%;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(8px)  rotate(45deg);  }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Divider between row 1 and row 2 */
.header__divider {
  height: 1px;
  background: var(--divider);
  margin: 0 var(--header-gutter);
}


/* ─────────────────────────────────────────────────────────
   09  HEADER ROW 1 — MAIN NAV
───────────────────────────────────────────────────────── */
.header__top { height: var(--header-top-h); display: flex; align-items: stretch; }

.header__top-inner {
  width: 100%; max-width: var(--header-max);
  margin: 0 auto;
  padding: 0 var(--header-gutter);
  display: flex; align-items: center;
}

.header__logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 400;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; flex-shrink: 0;
  transition: opacity var(--t-fast);
}
.header__logo:hover { opacity: 0.75; }

/* Logo mark echoes the custom cursor (gold ring + dot) —
   the page-load intro also animates the cursor out from here. */
.header__logo-icon {
  display: flex; width: 38px; height: 38px; flex-shrink: 0;
  color: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201,162,75,.35));
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.header__logo-icon svg,
.header__logo-icon img { width: 100%; height: 100%; display: block; }
.header__logo:hover .header__logo-icon {
  filter: drop-shadow(0 0 12px rgba(201,162,75,.6));
  transform: scale(1.1) rotate(8deg);
}

.header__main-nav {
  display: flex; align-items: center;
  flex: 1;
  margin-left: clamp(2rem, 5vw, 5rem);
}
.mobile-only{
    display:none;
	gap: 0.4rem;
    margin-left: auto;
    border-left: 1px solid var(--divider);
    flex-shrink: 0;
}
.header__nav-item {
  position: relative;
  display: flex; align-items: center;
  height: var(--header-top-h);
  /* padding-bottom creates invisible hover bridge to submenu,
     prevents gap between trigger and dropdown */

}

.header__nav-link {
  font-family: var(--font-head);
  font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0 1.4rem; height: 100%;
  display: flex; align-items: center;
  outline: none; caret-color: transparent;
  -webkit-tap-highlight-color: transparent;
  transition: color var(--t-fast);
}
/* Suppress native focus outline — keyboard navigation handled by JS */
.header__nav-link:focus,
.header__nav-link:focus-visible { outline: none; box-shadow: none; }

.header__nav-link:hover,
.header__nav-item.is-open > .header__nav-link { color: var(--text-primary); }

/* "О производстве" — pushed to far right */
.header__nav-link--aside { margin-left: auto; }


/* ─────────────────────────────────────────────────────────
   10  HEADER ROW 1 — SUBMENU
   FIX: removed `backdrop-filter: none` (redundant default value).
───────────────────────────────────────────────────────── */
.header__submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px;
  background: var(--header-bg); /* fully opaque — prevent bleed-through */
  border: 1px solid var(--divider);
  padding: 14px 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  z-index: 9999;
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header__nav-item:hover .header__submenu,
.header__nav-item.is-open .header__submenu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}

.submenu__item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  font-family: var(--font-head);
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.25s, transform 0.25s;
}
.submenu__item:hover { color: var(--gold); transform: translateX(2px); }

.submenu__icon { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.25s; }
.submenu__icon svg { width: 100%; height: 100%; stroke: currentColor; display: block; }
.submenu__item:hover .submenu__icon { transform: translateY(-1px); }


/* ─────────────────────────────────────────────────────────
   11  HEADER ROW 2 — PRODUCT MENU
───────────────────────────────────────────────────────── */
.header__bottom { height: var(--header-bot-h); display: flex; align-items: stretch; }

.header__bottom-inner {
  width: 100%; max-width: var(--header-max);
  margin: 0 auto; padding: 0 var(--header-gutter);
  display: flex; align-items: center;
}

.product-menu { display: flex; align-items: center; gap: clamp(0.5rem, 2.5vw, 2.5rem); flex: 1; }

.product-menu__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.5rem 1.6rem;
  color: var(--text-secondary);
  position: relative; white-space: nowrap;
  transition: color var(--t-fast);
}

/* Gold underline indicator */
.product-menu__item::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%;
  width: 20px; height: 1px; background: var(--gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s var(--ease);
}
.product-menu__item:hover                { color: var(--gold); }
.product-menu__item:hover::after         { transform: translateX(-50%) scaleX(1); }
.product-menu__item:hover .product-menu__icon { transform: translateY(-3px) scale(1.08); }
.product-menu__item:hover .product-menu__icon svg {
  filter: drop-shadow(0 3px 8px rgba(201, 168, 76, 0.25));
}

.product-menu__icon {
  display: block; width: 38px; height: 38px; flex-shrink: 0;
  color: inherit;
  transition: transform 0.35s var(--ease), color var(--t-fast);
}
.product-menu__icon svg { width: 100%; height: 100%; display: block; }

.product-menu__label {
  font-family: var(--font-head);
  font-size: 0.62rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: inherit; line-height: 1;
}


/* ─────────────────────────────────────────────────────────
   11b  HEADER — CONTACTS (phone + email, next to the icons)
───────────────────────────────────────────────────────── */
.header__contacts {
  display: flex; align-items: center; gap: 1.4rem;
  margin-left: auto;
  padding-right: clamp(1.2rem, 3vw, 2rem);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header__contact-link {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}
.header__contact-link:hover { color: var(--gold); }
.header__contact-icon {
  width: 17px; height: 17px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.85;
  transition: opacity var(--t-fast);
}
.header__contact-link:hover .header__contact-icon { opacity: 1; }
.header__contact-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--divider); flex-shrink: 0; }

@media (max-width: 1100px) {
  .header__contacts { display: none; }
}

/* ─────────────────────────────────────────────────────────
   11c  CONTACTS PAGE
───────────────────────────────────────────────────────── */
.contacts-page {
  padding: calc(var(--header-total-h) + 6rem) 0 8rem;
  min-height: 70vh;
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 168, 76, 0.06), transparent 40%),
    #1a1108;
}

.contacts-page > .container { position: relative; z-index: 1; }

.contacts-page__header { max-width: 34rem; margin-bottom: 4rem; }
.contacts-page__header .section-title { margin: 1rem 0 1.5rem; }
.contacts-page__header .section-desc { text-transform: none; letter-spacing: 0.02em; line-height: 1.8; font-size: 0.9rem; }

.contacts-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contacts-page__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.contacts-page__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
a.contacts-page__item:hover {
  border-color: var(--gold-dim);
  transform: translateY(-3px);
}

.contacts-page__icon {
  display: flex; width: 30px; height: 30px;
  color: var(--gold);
}
.contacts-page__icon svg { width: 100%; height: 100%; }

.contacts-page__label {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-faint);
}
.contacts-page__value {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .contacts-page__grid { grid-template-columns: 1fr; }
  .contacts-page { padding: calc(var(--header-total-h) + 3rem) 0 5rem; }
}

/* ─────────────────────────────────────────────────────────
   12  HEADER — UI ICONS & BADGES
───────────────────────────────────────────────────────── */
.header__ui-icons {
  display: flex; align-items: center; gap: 0.4rem;
  padding-left: clamp(1.2rem, 3vw, 2.5rem);
  border-left: 1px solid var(--divider);
  flex-shrink: 0;
}

.header__icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  color: var(--text-secondary); position: relative;
  transition: color var(--t-fast);
}
.header__icon-btn:hover { color: var(--gold); }

.header__icon-btn svg { width: 25px; height: 25px; display: block; transition: transform 0.35s var(--ease); }
.header__icon-btn:hover svg { transform: translateY(-2px) scale(1.05); }

/* Cart link wrapper (MODX Commerce snippet output) */
.header__cart-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: inherit; position: relative;
}
.header__cart-link svg { width: 25px; height: 25px; display: block; }

/* Badges — cart & wishlist share identical visual style */
.header__cart-badge,
.header__wishlist-badge {
  position: absolute; top: 4px; right: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); color: #0a0a0a;
  font-family: var(--font-body); font-size: 0.48rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1; pointer-events: none;
}

/* MODX Commerce .count (minicart snippet) */
.commerce-cart .count {
  position: absolute; top: -6px; right: -6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); color: #0a0a0a;
  font-family: var(--font-body); font-size: 0.48rem;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* MODX Commerce cart SVG icon via ::before */
.commerce-cart .wraps_icon_block.basket { position: relative; width: 25px; height: 25px; }
.commerce-cart .wraps_icon_block.basket::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../images/cart.svg") no-repeat center / contain;
  transition: transform 0.35s var(--ease);
}
.header__icon-btn--cart:hover .commerce-cart .wraps_icon_block.basket::before {
  transform: translateY(-2px) scale(1.05);
}


/* ─────────────────────────────────────────────────────────
   13  HERO
   FIX: hero-img-warm was empty — added gradient to restore cinematic vignette.
   FIX: hero-img transition reduced from 8s to 1.4s — 8s meant
        reverse-hover caused a jarring snap after 1s of interaction.
───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-total-h));
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(201, 168, 76, 0.08), transparent 35%),
    #000000;
}

.hero,
.hero * { user-select: none; -webkit-user-select: none; }

.hero-texture {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.18;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 3px
  );
}

.hero-branches {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.26; overflow: hidden;
}
.hero-branches path { stroke: var(--gold); stroke-width: 1.1; fill: none; }

/* Reused, static branch artwork as a quiet background motif in other
   sections — same paths as the hero, no JS, no filters, one paint. */
.section-branches {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.12;
}
.section-branches svg { width: 100%; height: 100%; display: block; }
.section-branches path { stroke: var(--gold); stroke-width: 1; fill: none; }

.hero-layout {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; min-height: 100vh;
  max-width: var(--header-max); margin: 0 auto;
  padding: 140px var(--header-gutter) 80px;
}

/* Left column */
.hero-left {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding-right: 4rem;
}

.hero-eyebrow {
  font-size: 0.58rem; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2.4rem;
}

.hero-title {
  display: flex; flex-direction: column;
  line-height: 0.95; margin-bottom: 2.2rem;
  text-shadow:
    0 0 10px rgba(201, 162, 74, 0.3),
    0 0 20px rgba(201, 162, 74, 0.2),
    0 0 40px rgba(255, 255, 255, 0.08);
}

.ht-line {
  display: block; font-family: var(--font-head);
  font-weight: 300; letter-spacing: -0.03em;
  color: var(--text);
}
.ht-line:first-child { font-size: clamp(4rem, 10vw, 10rem); }
.ht-accent { font-size: clamp(3rem, 5vw, 5.5rem); font-style: italic; color: var(--gold); padding-left: 0.5em; }
.ht-light  { font-size: clamp(2rem, 3vw, 4rem); color: var(--text-faint); padding-left: 1em; }

.hero-sub { max-width: 540px; font-size: 0.95rem; line-height: 1.9; color: var(--text-secondary); margin-bottom: 3rem; }
.hero-actions { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.hero-deco-num {
  position: absolute; bottom: 40px; left: 0;
  font-family: var(--font-head); font-size: 0.5rem;
  letter-spacing: 0.6em; color: var(--text-faint);
  writing-mode: vertical-rl; transform: rotate(180deg);
}

/* Right column */
.hero-right { position: relative; display: flex; align-items: center; justify-content: center; }

.hero-img-frame { position: relative; width: 100%; height: 85vh; overflow: hidden; }

.hero-img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  padding: 4vh 2vw;
  /* FIX: was 8s — user moves cursor away in ~1s, triggering jarring snap back */
  transition: transform 1.4s ease;
}
.hero-right:hover .hero-img { transform: scale(1.03); }

/* FIX: was empty — restored cinematic left-fade vignette */
.hero-img-warm {
  position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 50%, rgba(10,10,10,0.4) 100%);
}

.hero-badge {
  position: absolute; bottom: 40px; left: -40px;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(201, 168, 76, 0.18);
  padding: 1.2rem 1.8rem;
  backdrop-filter: blur(12px);
}
.hero-badge-n { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold); margin-bottom: 0.25rem; }
.hero-badge-t { font-size: 0.52rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(230, 222, 208, 0.55); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.scroll-track {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.6s ease-in-out infinite;
}
.scroll-txt { font-size: 0.48rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--text-faint); }

/* Glow pulse for hero title */
.glow { animation: lightPulse 4s ease-in-out infinite; }


/* ─────────────────────────────────────────────────────────
   14  COLLECTIONS
   FIX: removed duplicate .collection-card (3 blocks → 1).
   FIX: unified hover transform to translateY(-6px) — was -10px vs -6px.
   FIX: removed `!important` from .collection-name font-family.
   FIX: removed duplicate .collection-image (2 blocks → 1).
   FIX: will-change added only to .collection-image img, not the card.
───────────────────────────────────────────────────────── */
.collections {
  padding: 8rem 0;
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(201, 168, 76, 0.07), transparent 40%),
    #1e1309;
}
.collections > .container { position: relative; z-index: 1; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 5rem; flex-wrap: wrap; }
.collections-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

.collection-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.7s var(--ease), box-shadow 0.7s ease;
}
.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.collection-image {
  position: relative;
  height: 450px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  transition: border-color 0.7s, box-shadow 0.7s;
}
.collection-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  will-change: transform;
  transition: transform 0.8s var(--ease-spring);
}
.collection-card:hover .collection-image {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(201,168,76,0.08);
}
.collection-card:hover .collection-image img { transform: scale(1.04); }

.collection-overlay { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,0.4); transition: background 0.5s; }
.collection-card:hover .collection-overlay { background: rgba(0,0,0,0.1); }

.collection-number {
  position: absolute; top: 1.25rem; left: 1.25rem; z-index: 2;
  font-family: var(--font-head); font-size: 0.65rem;
  color: rgba(201,168,76,0.35); letter-spacing: 0.2em; transition: color 0.3s;
}
.collection-card:hover .collection-number { color: var(--gold); }

.collection-hover-btn {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 2;
  transform: translateY(1.5rem); opacity: 0;
  transition: transform 0.45s var(--ease-spring), opacity 0.4s;
}
.collection-card:hover .collection-hover-btn { transform: translateY(0); opacity: 1; }

.collection-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 400; margin-bottom: 0.25rem; transition: color 0.3s; }
.collection-name::first-letter { text-transform: uppercase; }
.collection-card:hover .collection-name { color: var(--gold); }

.collection-tagline {
  font-family: var(--font-head); font-style: italic; font-size: 0.85rem;
  letter-spacing: 0.01em; color: var(--text-muted); transition: color 0.3s;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.collection-tagline::first-letter { text-transform: uppercase; }
.collection-card:hover .collection-tagline { color: rgba(201,168,76,0.75); }


/* ─────────────────────────────────────────────────────────
   15  STATS STRIP
───────────────────────────────────────────────────────── */
.stats-strip {
  padding: 4rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--card); overflow: hidden;
}
.stats-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.stat-item   { text-align: center; flex: 1; min-width: 120px; }
.stat-number { font-family: var(--font-head); font-size: clamp(2.5rem, 4vw, 4rem); color: var(--gold); line-height: 1; }
.stat-suffix { font-family: var(--font-head); font-size: 1.5rem; color: rgba(201,168,76,0.5); margin-left: 0.15rem; }
.stat-label  { display: block; font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.5rem; }
.stat-divider { width: 1px; height: 3.5rem; background: var(--border); flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────
   16  QUIET LUXURY BAND
   FIX: will-change was `transform, color, text-shadow` —
        color and text-shadow are not compositable, removed.
   FIX: animation uses only opacity (qlBreathe), no transform —
        prevents conflict with parallax JS.
───────────────────────────────────────────────────────── */
.luxury-band {
  position: relative; padding: 6rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 100% at 50% 50%, rgba(201, 168, 76, 0.05), transparent 70%),
    #241708;
}
.luxury-band-line { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.luxury-band-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 3rem; flex-wrap: wrap; }

/* JS parallax wrapper — will-change added here, not on text element */
.luxury-band-parallax { will-change: transform; }

.luxury-band-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: rgba(201, 168, 76, 0.10);
  letter-spacing: 0.08em;
  user-select: none;
  /* FIX: only animate opacity — transform kept for JS parallax only */
  transition: color 0.8s ease, text-shadow 0.8s ease;
  animation: qlBreathe 10s ease-in-out infinite alternate;
}
.luxury-band:hover .luxury-band-headline {
  color: rgba(201,168,76,0.22);
  text-shadow: 0 0 20px rgba(201,168,76,0.08), 0 0 40px rgba(201,168,76,0.06);
}

.luxury-band-quote {
  font-size: 0.65rem; letter-spacing: 0.4em; line-height: 2;
  text-transform: uppercase; color: var(--text-secondary);
  max-width: 26rem; text-align: right;
}



/* =========================================
   HERO PRODUCT SLIDER — full viewport width,
   random products, text overlaid on photo
========================================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 560px;
  overflow: hidden;
  margin: 8rem 0 0;
  background: var(--bg);
}

.hero-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.9s var(--ease);
}

.hslide { position: relative; flex: 0 0 100%; height: 100%; }

/* Product photos are transparent PNGs on a dark background —
   shown at a smaller "contain" size, not cropped full-bleed. */
.hslide__media { position: absolute; inset: 0; }
.hslide__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 11vh 6vw 16vh;
  transform: scale(1.02);
  transition: transform 7s linear;
}
.hslide--active .hslide__media img { transform: scale(1); }

.hslide__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.25) 26%, transparent 50%);
}

.hslide__content {
  position: absolute;
  left: var(--px);
  right: var(--px);
  bottom: clamp(3rem, 8vh, 6rem);
  max-width: 640px;
  z-index: 2;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease) 0.15s, transform 0.8s var(--ease) 0.15s;
}
.hslide--active .hslide__content { opacity: 1; transform: translateY(0); }

.hslide__eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.hslide__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 4rem); line-height: 1.1;
  color: #fff; margin: 0 0 1rem;
}
.hslide__price {
  display: block; font-family: var(--font-body); font-size: 1.1rem;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.75); margin-bottom: 2rem;
}

/* Bottom-right control cluster: prev circle · dots · next circle —
   kept off the mid-slide edges so it never overlaps the text overlay. */
.hslider__controls {
  position: absolute;
  right: var(--px);
  bottom: clamp(2rem, 6vh, 3.5rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

/* Circular outline button, matching the site's custom cursor ring */
.hslider__arrow {
  position: relative;
  z-index: 3;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgba(201,162,75,.5);
  box-shadow: 0 0 14px rgba(201,162,75,.14), inset 0 0 10px rgba(201,162,75,.06);
  color: var(--gold);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.hslider__arrow svg { width: 16px; height: 16px; }
.hslider__arrow:hover {
  border-color: var(--gold);
  background: rgba(201,162,75,.08);
  box-shadow: 0 0 22px rgba(201,162,75,.3), inset 0 0 14px rgba(201,162,75,.1);
  transform: scale(1.06);
}

.hslider__dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hslider__dot {
  width: 28px; height: 2px; padding: 0;
  background: rgba(255,255,255,0.3); border: none; cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hslider__dot--active { background: var(--gold); width: 44px; }

@media (max-width: 860px) {
  .hero-slider { height: 82vh; margin: 5rem 0 0; }
  .hslide__media img { padding: 8vh 4vw 14vh; }
  .hslide__content { bottom: 5rem; max-width: none; }
  .hslider__controls { left: 0; right: 0; bottom: 1.5rem; justify-content: center; }
}

/* =========================================
   FEATURED (legacy — superseded by .hero-slider above,
   kept only in case a page still references it)
========================================= */
.signature{

    display:grid;
    grid-template-columns:1.3fr 1fr;
    align-items:center;

    gap:7rem;

    max-width:1500px;
    margin:10rem auto;

    padding:0 4rem;

    position:relative;

}

.signature__image{

    position:relative;
    overflow:hidden;

}

.signature__image img{

    width:100%;

    display:block;

    object-fit:cover;

    min-height:760px;

    transition:transform 1.4s var(--ease);

}

.signature__image:hover img{
    transform:scale(1.045);
}

/* Floating stat badge — echoes .hero-badge */
.signature__badge{
    position:absolute;
    right:-1px;
    bottom:-1px;
    z-index:2;
    display:flex;
    align-items:center;
    gap:0.9rem;
    padding:1.3rem 1.8rem;
    background:rgba(10,10,10,0.92);
    border:1px solid var(--divider);
    backdrop-filter:blur(12px);
}
.signature__badge-n{
    font-family:var(--font-head);
    font-size:2.1rem;
    color:var(--gold);
    line-height:1;
}
.signature__badge-n small{ font-size:0.9rem; font-family:var(--font-body); }
.signature__badge-t{
    font-size:0.6rem;
    letter-spacing:0.14em;
    line-height:1.5;
    text-transform:uppercase;
    color:var(--text-secondary);
}

.signature__content{

    max-width:520px;
    position:relative;

}

/* Oversized ghost watermark behind the title — depth cue used across the site */
.signature__ghost{
    position:absolute;
    left:-0.1em;
    top:-3.2rem;
    font-family:var(--font-head);
    font-size:clamp(4.5rem,9vw,7.5rem);
    color:var(--text);
    opacity:0.035;
    letter-spacing:0.02em;
    white-space:nowrap;
    pointer-events:none;
    z-index:0;
}

.signature__content > *{ position:relative; z-index:1; }

.signature__title{

    font-family:"EB Garamond",serif;

    font-size:clamp(3rem,5vw,5.5rem);

    line-height:.95;

    color:#f4f1ea;

    margin:1rem 0 2rem;

}

.signature__text{

    color:#b5b5b5;

    line-height:2;

    font-size:1rem;

}

/* Numbered spec index — replaces the plain bulleted list */
.signature__specs{

    margin:3rem 0;

    padding:2rem 0;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);

    list-style:none;

    display:flex;
    flex-direction:column;
    gap:1.1rem;

}

.signature__specs li{

    display:flex;
    align-items:baseline;
    gap:1.1rem;

    color:#ddd;
    letter-spacing:0.02em;
    transition:transform 0.4s var(--ease), color 0.4s var(--ease);

}

.signature__specs li:hover{
    transform:translateX(0.4rem);
    color:var(--gold-hover);
}

.signature__specs-num{
    font-family:var(--font-body);
    font-size:0.7rem;
    letter-spacing:0.08em;
    color:var(--gold);
    opacity:0.7;
}

.signature__cta{ margin-top:0.5rem; }
/* ─────────────────────────────────────────────────────────
   17  ABOUT
───────────────────────────────────────────────────────── */
.about {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.06), transparent 45%),
    #1c1108;
}
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }

.about-visual { position: relative; order: 2; }

.about-image-frame {
  height: 500px; border: 1px solid rgba(201,168,76,0.2);
  background: var(--card); position: relative; overflow: hidden;
}
.about-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-spring); }
.about-image-frame:hover img { transform: scale(1.03); }

/* Animated corner lines — triggered by reveal-left.is-visible */
.frame-lines { position: absolute; inset: 0.75rem; pointer-events: none; }
.fl { position: absolute; background: var(--gold); opacity: 0.25; }
.fl-h { height: 1px; width: 0; transition: width 1.2s 0.5s cubic-bezier(0.16,1,0.3,1); }
.fl-v { width: 1px; height: 0; transition: height 1.2s 0.7s cubic-bezier(0.16,1,0.3,1); }
.fl-top    { top: 0; left: 0; }
.fl-bottom { bottom: 0; right: 0; }
.fl-left   { left: 0; top: 0; }
.fl-right  { right: 0; bottom: 0; }
.reveal-left.is-visible .fl-h { width: 100%; }
.reveal-left.is-visible .fl-v { height: 100%; }

.about-stat {
  position: absolute; top: -2.5rem; right: -2.5rem;
  background: var(--gold); padding: 3rem;
  transition: transform 0.3s;
}
.about-stat:hover { transform: scale(1.04); }

.about-stat-number { display: block; font-family: var(--font-head); font-size: 4.5rem; color: var(--bg); line-height: 1; margin-bottom: 0.5rem; }
.about-stat-label  { font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(13,12,10,0.7); font-weight: 700; }

.about-content { order: 1; }
.about-text { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; color: var(--text-secondary); font-weight: 300; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.about-feature-title { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); margin-bottom: 0.5rem; }
.about-feature-text  { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); line-height: 1.8; }

/* =====================================================
   DIRECTIONS
===================================================== */

.directions {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(201, 168, 76, 0.06), transparent 40%),
    #20150a;
}


/* ─────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────── */

.directions__header {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto 120px;
  text-align: center;
}

.directions__title {
  margin: 24px 0 32px;
  font-family: var(--font-head);
  font-size: clamp(52px, 6.5vw, 100px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.directions__lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}


/* ─────────────────────────────────────────────────────────
   GRID
───────────────────────────────────────────────────────── */

.directions__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
  align-items: start;
}


/* ─────────────────────────────────────────────────────────
   CARD
───────────────────────────────────────────────────────── */

.direction {
  position: relative;
  display: flex;
  flex-direction: column;
}


/* ─────────────────────────────────────────────────────────
   PHOTO + CINEMATIC IMAGE TREATMENT
   — slow warm pan on hover (no zoom sensation)
   — subtle warmth + contrast lift at rest
───────────────────────────────────────────────────────── */

.direction__photo {
  position: relative;
  overflow: hidden;
  /* Clip the decorative corner lines so they
     don't bleed outside the card boundaries */
  isolation: isolate;
}

.direction__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;

  /* Resting state: very slightly warmed + lifted */
  filter: brightness(0.88) contrast(1.04) saturate(1.08) sepia(0.06);

  /* Scale pre-expanded so pan has room to move */
  transform: scale(1.06) translateX(0);
  transform-origin: center center;

  /* GPU-composited only (transform + filter) */
  will-change: transform, filter;
  transition:
    transform  1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    filter     0.9s ease;
}

/* Mini-gallery (2+ photos) — stacked slides, fades between them */
.direction__photo-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
}

.direction__photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease, transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.9s ease;
}

.direction__photo-slide--active {
  opacity: 1;
  z-index: 1;
}

.direction__dots {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 3;
  display: flex; gap: 0.35rem;
}
.direction__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
}
.direction__dot--active { background: var(--gold); transform: scale(1.3); }

.direction__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.3);
  border: 1px solid rgba(201,162,75,.5);
  box-shadow: 0 0 10px rgba(201,162,75,.14), inset 0 0 8px rgba(201,162,75,.06);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.direction__arrow svg { width: 13px; height: 13px; }
.direction__arrow:hover {
  border-color: var(--gold);
  background: rgba(201,162,75,.1);
  box-shadow: 0 0 16px rgba(201,162,75,.3), inset 0 0 10px rgba(201,162,75,.1);
}
.direction__arrow--prev { left: 0.8rem; }
.direction__arrow--next { right: 0.8rem; }

.direction:hover .direction__arrow,
.direction:focus-within .direction__arrow { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .direction__arrow { opacity: 1; }
}

/* Hover: cinematic pan left + warm brightness lift */
.direction:hover .direction__photo img {
  transform: scale(1.06) translateX(-2.5%);
  filter: brightness(0.96) contrast(1.07) saturate(1.14) sepia(0.04);
}

/* Ambient warm glow overlay — renders on GPU via opacity */
.direction__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse 70% 60% at 50% 30%,
    rgba(201, 152, 60, 0.10),
    transparent 72%
  );
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.direction:hover .direction__photo::before {
  opacity: 1;
}


/* ─────────────────────────────────────────────────────────
   FRAME — architectural corner lines (not a closed box)
   Two L-shapes: top-left and bottom-right corners.
   Sits inside the photo, at 1px gold line weight.
───────────────────────────────────────────────────────── */

.direction__frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Top-left corner */
.direction__frame::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  width: 48px;
  height: 48px;
  border-top: 1px solid rgba(201, 168, 76, 0.55);
  border-left: 1px solid rgba(201, 168, 76, 0.55);
  transition: width 0.7s var(--ease), height 0.7s var(--ease),
              border-color 0.5s ease;
}

/* Bottom-right corner */
.direction__frame::after {
  content: '';
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.55);
  border-right: 1px solid rgba(201, 168, 76, 0.55);
  transition: width 0.7s var(--ease), height 0.7s var(--ease),
              border-color 0.5s ease;
}

/* Expand corners on hover — elegant reveal */
.direction:hover .direction__frame::before,
.direction:hover .direction__frame::after {
  width: 72px;
  height: 72px;
  border-color: rgba(201, 168, 76, 0.75);
}


/* ─────────────────────────────────────────────────────────
   VERTICAL LINE  — compositional element, not decoration
   Dot at top anchors it. Gradient fades to nothing below.
───────────────────────────────────────────────────────── */

.direction__line {
  position: relative;
  width: 1px;
  height: 80px;
  margin: 40px auto 40px;
  background: linear-gradient(
    to bottom,
    rgba(201, 168, 76, 0.65) 0%,
    rgba(201, 168, 76, 0.00) 100%
  );
  flex-shrink: 0;
}

/* Anchoring dot at the top of the line */
.direction__line::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.45);
}

/* Tick mark at the very bottom — subtle finish */
.direction__line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 1px;
  background: rgba(201, 168, 76, 0.30);
}


/* ─────────────────────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────────────────────── */

.direction__number {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.65);
  /* Prevents letter-spacing adding trailing space */
  text-indent: 0.48em;
}

/* Trailing rule after number */
.direction__number::after {
  content: '';
  flex: 0 0 56px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(201, 168, 76, 0.45),
    rgba(201, 168, 76, 0.00)
  );
}

.direction__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 3.2vw, 52px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.direction__subtitle {
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--gold);
  margin-bottom: 24px;
}

.direction__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  margin-bottom: 36px;
}


/* ─────────────────────────────────────────────────────────
   LINK — expanding underline, no jump
───────────────────────────────────────────────────────── */

.direction__link {
  position: relative;
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.35s ease;
  /* Compensate letter-spacing optical indent */
  text-indent: 0.38em;
}

.direction__link::after {
  content: '';
  position: absolute;
  left: 0.38em; /* align with text-indent */
  bottom: -8px;
  width: 36px;
  height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease), opacity 0.35s ease;
  opacity: 0.6;
}

.direction:hover .direction__link {
  color: var(--text-primary);
}

.direction:hover .direction__link::after {
  width: 80px;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────
   17b  PORTFOLIO — horizontally scrolling gallery strip,
   grows as more project photos are added over time
───────────────────────────────────────────────────────── */
.portfolio {
  padding: 7rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(201, 168, 76, 0.05), transparent 40%),
    #1c1209;
}
.portfolio__header { margin-bottom: 3rem; }

.portfolio__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0 var(--px) 1rem;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}
.portfolio__track::-webkit-scrollbar { display: none; }
.portfolio__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }

.portfolio-item {
  position: relative;
  flex: 0 0 clamp(280px, 32vw, 420px);
  height: clamp(360px, 46vw, 520px);
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.portfolio-item__media { position: absolute; inset: 0; pointer-events: none; }

.portfolio-item__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease-spring);
}
.portfolio-item__photo--active { opacity: 1; }
.portfolio-item:hover .portfolio-item__photo--active { transform: scale(1.06); }

/* Small dot row — only shown when a project has more than one photo */
.portfolio-item__dots {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: flex; gap: 0.35rem;
}
.portfolio-item__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.3s, transform 0.3s;
}
.portfolio-item__dot--active { background: var(--gold); transform: scale(1.3); }

/* Manual prev/next for multi-photo cards — same circular ring look as
   the hero slider arrows (matches the site's custom cursor), smaller. */
.portfolio-item__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(10,10,10,0.3);
  border: 1px solid rgba(201,162,75,.5);
  box-shadow: 0 0 10px rgba(201,162,75,.14), inset 0 0 8px rgba(201,162,75,.06);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.portfolio-item__arrow svg { width: 13px; height: 13px; }
.portfolio-item__arrow:hover {
  border-color: var(--gold);
  background: rgba(201,162,75,.1);
  box-shadow: 0 0 16px rgba(201,162,75,.3), inset 0 0 10px rgba(201,162,75,.1);
}
.portfolio-item__arrow--prev { left: 0.8rem; }
.portfolio-item__arrow--next { right: 0.8rem; }

.portfolio-item--multi .portfolio-item__arrow { display: flex; }
.portfolio-item--multi:hover .portfolio-item__arrow,
.portfolio-item--multi:focus-within .portfolio-item__arrow { opacity: 1; }

@media (hover: none), (pointer: coarse) {
  .portfolio-item--multi .portfolio-item__arrow { opacity: 1; }
}

.portfolio-item__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(0deg, rgba(10,10,10,0.88) 0%, transparent 100%);
  display: flex; flex-direction: column; gap: 0.3rem;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0.88;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.portfolio-item:hover .portfolio-item__caption { transform: translateY(0); opacity: 1; }

.portfolio-item__title {
  font-family: var(--font-head); font-size: 1.2rem; color: #fff; line-height: 1.25;
}
.portfolio-item__location {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold);
}

@media (max-width: 640px) {
  .portfolio { padding: 5rem 0 4rem; }
  .portfolio-item { flex-basis: 78vw; height: 62vw; }
}

/* ─────────────────────────────────────────────────────────
   18  CTA
───────────────────────────────────────────────────────── */
.cta { padding: 8rem 0; background: var(--gold-faint); border-top: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-bg-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-head); font-size: clamp(6rem, 18vw, 18rem);
  color: rgba(201,168,76,0.03); letter-spacing: 0.2em;
  white-space: nowrap; user-select: none; pointer-events: none;
}
.cta-inner          { text-align: center; position: relative; z-index: 1; }
.cta .section-tag   { margin-bottom: 2rem; }
.cta-title { font-family: var(--font-head); font-size: clamp(2rem, 4.5vw, 3.75rem); font-weight: 400; line-height: 1.25; max-width: 42rem; margin: 0 auto 3rem; }
.cta-title em { font-style: italic; }

/* ─────────────────────────────────────────────────────────
   18b  REQUEST FORM (Индивидуальный проект)
───────────────────────────────────────────────────────── */
.request-form { padding: 6rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.request-form__inner { max-width: 34rem; margin: 0 auto; padding: 0 var(--px); text-align: center; }
.request-form__title { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; color: var(--text); margin: 1rem 0 0.75rem; }
.request-form__lead { color: rgba(230, 222, 208, 0.65); font-size: 0.95rem; margin-bottom: 2.5rem; }
.request-form__form { display: flex; flex-direction: column; gap: 1.25rem; }
.request-form__group { text-align: left; }
.request-form__input {
  width: 100%; height: 60px; padding: 0 24px;
  border: 1px solid var(--border); background: rgba(255,255,255,.02);
  color: var(--text); font-family: var(--font-body); font-size: 15px; letter-spacing: .04em;
  outline: none; box-shadow: none; transition: .35s var(--ease);
}
.request-form__input::placeholder { color: var(--text-faint); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.request-form__input:focus { border-color: var(--gold); background: rgba(255,255,255,.03); }
.request-form__group--error .request-form__input { border-color: #b0554f; }
.request-form__error { display: block; margin-top: 8px; color: #d98b85; font-size: 12px; text-align: left; }
.request-form__messages:empty { display: none; }
.request-form__submit { border: none; cursor: pointer; margin-top: 0.5rem; align-self: center; }
.request-form__success {
  padding: 2rem; border: 1px solid var(--divider); background: var(--gold-faint);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
}

/* ─────────────────────────────────────────────────────────
   18c  CATALOG MENU — hover-reveal category index
───────────────────────────────────────────────────────── */
.cat-menu { padding: 7rem 0 8rem; background: #2a1b07; position: relative; }
.cat-menu > .container { position: relative; z-index: 1; }

.cat-row__list { border-top: 1px solid var(--border); margin-top: 1rem; }

.cat-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}

.cat-row__ghost {
  position: absolute;
  left: -0.15em;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-head);
  font-size: clamp(5rem, 11vw, 9rem);
  color: var(--text);
  opacity: 0.025;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s var(--ease);
}

.cat-row__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
  min-width: 2.5rem;
  transition: color 0.4s var(--ease);
}

.cat-row__icon {
  position: relative;
  z-index: 1;
  display: flex;
  width: 34px;
  height: 34px;
  color: var(--text-secondary);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
  flex-shrink: 0;
}

.cat-row__icon svg { width: 100%; height: 100%; }

.cat-row__title {
  position: relative;
  z-index: 1;
  flex: 1;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  color: var(--text);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.cat-row__arrow {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 16px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  flex-shrink: 0;
}

.cat-row__arrow svg { width: 100%; height: 100%; }

/* Floating preview panel — hidden until row hover/focus */
.cat-row__preview {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: clamp(0px, 6vw, 4rem);
  width: clamp(180px, 17vw, 260px);
  aspect-ratio: 4 / 5;
  transform: translateY(-50%) scale(0.94) rotate(1.5deg);
  opacity: 0;
  overflow: hidden;
  border: 1px solid var(--divider);
  background: var(--card);
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.55);
  transition: opacity 0.5s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}

.cat-row__preview img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 0.7s var(--ease);
}

.cat-row__preview-glow {
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 100%, var(--gold-dim), transparent 70%);
  opacity: 0.7;
}

/* Empty-state placeholder — until a real photo is uploaded */
.cat-row__preview--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--card), var(--bg));
}

.cat-row__preview--empty::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, var(--gold-dim) 0, var(--gold-dim) 1px, transparent 1px, transparent 14px);
  opacity: 0.5;
}

/* Hover / focus state */
.cat-row:hover,
.cat-row:focus-visible {
  border-bottom-color: var(--gold-dim);
}

.cat-row:hover .cat-row__ghost,
.cat-row:focus-visible .cat-row__ghost { opacity: 0.06; }

.cat-row:hover .cat-row__num,
.cat-row:focus-visible .cat-row__num { color: var(--gold); }

.cat-row:hover .cat-row__icon,
.cat-row:focus-visible .cat-row__icon { color: var(--gold); transform: scale(1.08); }

.cat-row:hover .cat-row__title,
.cat-row:focus-visible .cat-row__title { color: var(--gold-hover); transform: translateX(0.5rem); }

.cat-row:hover .cat-row__arrow,
.cat-row:focus-visible .cat-row__arrow { opacity: 1; transform: translateX(0); }

.cat-row:hover .cat-row__preview,
.cat-row:focus-visible .cat-row__preview {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0deg);
}

.cat-row:hover .cat-row__preview img { transform: scale(1); }

@media (max-width: 860px) {
  .cat-row__preview { display: none; }
  .cat-row__ghost { font-size: clamp(3.5rem, 16vw, 5rem); }
  .cat-row { gap: 1rem; padding: 1.6rem 0; }
  .cat-row__title { font-size: clamp(1.35rem, 6vw, 2rem); }
  .cat-row:hover .cat-row__title,
  .cat-row:focus-visible .cat-row__title { transform: translateX(0.25rem); }
}

/* ─────────────────────────────────────────────────────────
   19  FOOTER
───────────────────────────────────────────────────────── */
.footer { background: var(--card); border-top: 1px solid var(--border); padding: 0 0 4rem; position: relative; }
.footer > .container { position: relative; z-index: 1; }

.footer-beam {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: beamSlide 4s linear infinite;
}

.footer-top { display: flex; align-items: flex-end; justify-content: space-between; flex-direction: row-reverse; gap: 3rem; padding: 4rem 0 0; flex-wrap: wrap; }

.footer-logo { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 300; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); line-height: 1; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.65rem; letter-spacing: 0.4em; text-transform: uppercase; color: rgba(201,168,76,0.4); }
.footer-top-right { max-width: 22rem; }
.footer-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.9; }

.footer-divider { display: flex; align-items: center; gap: 1rem; margin: 3rem 0; color: var(--gold); font-size: 0.6rem; opacity: 0.3; }
.footer-divider::before,
.footer-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.footer-divider-dot { padding: 0 0.5rem; }

.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 4rem; }
.footer-col-title { color: var(--gold); font-size: 0.6rem; letter-spacing: 0.35em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.5rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.9rem; font-size: 0.85rem; color: var(--text-secondary); }
.footer-links a { display: inline-block; transition: color var(--t-fast), transform var(--t-fast); }
.footer-links a:hover { color: var(--gold); transform: translateX(4px); }

.footer-contacts li { display: flex; align-items: flex-start; gap: 0.6rem; }
.contact-icon { font-size: 0.75rem; flex-shrink: 0; margin-top: 0.05rem; }

.footer-status { display: flex; align-items: center; gap: 0.5rem; color: var(--accent2) !important; }
.status-dot { width: 6px; height: 6px; background: var(--accent2); border-radius: 50%; flex-shrink: 0; animation: statusPulse 2s ease-in-out infinite; }

.footer-socials { display: flex; gap: 0.75rem; margin-bottom: 2rem; }
.social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; position: relative;
  font-size: 0.65rem; font-weight: 700;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s, transform 0.3s, background 0.3s;
}
.social-icon:hover { border-color: var(--gold); color: var(--bg); background: var(--gold); transform: translateY(-3px); }

.newsletter-label { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.75rem; }
.newsletter-form  { display: flex; }
.newsletter-input {
  flex: 1; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-right: none;
  color: var(--text); font-family: var(--font-body); font-size: 0.75rem;
  padding: 0.6rem 0.8rem; outline: none; transition: border-color 0.3s;
}
.newsletter-input:focus       { border-color: rgba(201,168,76,0.4); }
.newsletter-input::placeholder { color: var(--text-faint); }
.newsletter-btn { background: var(--gold); color: var(--bg); border: none; padding: 0.6rem 1rem; font-size: 1rem; font-weight: 700; transition: background 0.3s, transform var(--t-fast); }
.newsletter-btn:hover { background: var(--gold-hover); transform: scale(1.05); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.footer-copy   { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.footer-legal  { display: flex; gap: 2rem; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.footer-legal a { transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--gold); }
/* ─────────────────────────────────────────────────────────
   FOOTER LINKS
───────────────────────────────────────────────────────── */

.footer-links{
  margin:0;
  padding:0;
  list-style:none;

  display:flex;
  flex-direction:column;
  gap:0.9rem;

  font-size:0.85rem;
  color: var(--text-secondary);
}

.footer-links li{
  margin:0;
  padding:0;
}

.footer-links a{
  position:relative;

  display:inline-flex;
  align-items:center;

  color: var(--text-secondary);

  font-size:0.72rem;
  font-weight:300;
  letter-spacing:0.14em;
  text-transform:uppercase;

  transition:
    color .35s ease,
    transform .35s ease,
    opacity .35s ease;
}

.footer-links a::after{
  content:'';

  position:absolute;
  left:0;
  bottom:-4px;

  width:0;
  height:1px;

  background:var(--gold);

  transition:width .35s ease;
}

.footer-links a:hover{
  color: var(--gold);
  transform:translateX(4px);
}

.footer-links a:hover::after{
  width:100%;
}

/* ─────────────────────────────────────────────────────────
   20  ANIMATIONS & KEYFRAMES
   FIX: duplicate scrollPulse removed — kept the smoother version.
   FIX: unused keyframes removed: glowPulse, sway, fadeInUp, fadeIn.
   FIX: qlBreathe animates only opacity — no transform (parallax safety).
───────────────────────────────────────────────────────── */

/* Hero title glow pulse */
@keyframes lightPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(201,162,74,0.3), 0 0 20px rgba(201,162,74,0.2), 0 0 40px rgba(255,255,255,0.08); }
  50%       { text-shadow: 0 0 16px rgba(201,162,74,0.5), 0 0 32px rgba(201,162,74,0.3), 0 0 60px rgba(255,255,255,0.12); }
}

/* Scroll indicator */
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1);    opacity: 0.8; }
  50%       { transform: scaleY(1.35); opacity: 0.3; }
}

/* Footer beam */
@keyframes beamSlide {
  from { background-position:  200% 0; }
  to   { background-position: -200% 0; }
}

/* Status dot */
@keyframes statusPulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 0 0   rgba(95,146,112,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(95,146,112,0);   }
}

/* Quiet Luxury — opacity only, no transform */
@keyframes qlBreathe {
  from { opacity: 0.5; }
  to   { opacity: 1;   }
}


/* ─────────────────────────────────────────────────────────
   21  MEDIA QUERIES
   FIX: consolidated scattered breakpoints into one location.
   FIX: about-grid breakpoints merged (were split across file).
   FIX: cursor conflicts inside @768 block removed entirely.
   FIX: breakpoint order: largest → smallest for clarity.
───────────────────────────────────────────────────────── */

/* ── 1440px — comfortable max */
@media (max-width: 1440px) {
  .directions__grid {
    gap: 56px;
  }
}

/* ── 1280px */
@media (max-width: 1280px) {
  .directions {
    padding: 140px 0;
  }
  .directions__grid {
    gap: 44px;
  }
  .direction__title {
    font-size: clamp(32px, 3vw, 46px);
  }
}

/* ── 1024px — two columns */
@media (max-width: 1024px) {
  .directions {
    padding: 120px 0;
  }
  .directions__header {
    margin-bottom: 80px;
  }
  .directions__grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
  }
  /* Last card full-width centred when odd count */
  .direction:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 420px;
    margin-inline: auto;
  }
  .direction__title {
    font-size: clamp(30px, 4vw, 42px);
  }
}

/* ── 768px — single column */
@media (max-width: 768px) {
  .directions {
    padding: 100px 0;
  }
  .directions__header {
    margin-bottom: 64px;
  }
  .directions__title {
    font-size: clamp(44px, 10vw, 64px);
  }
  .directions__lead {
    font-size: 14px;
  }
  .directions__grid {
    grid-template-columns: 1fr;
    gap: 72px;
    max-width: 440px;
    margin-inline: auto;
  }
  .direction:last-child:nth-child(odd) {
    grid-column: unset;
    max-width: none;
  }
  .direction__frame::before {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
  }
  .direction__frame::after {
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }
  .direction:hover .direction__frame::before,
  .direction:hover .direction__frame::after {
    width: 54px;
    height: 54px;
  }
  .direction__line {
    height: 64px;
    margin: 32px auto;
  }
  .direction__title {
    font-size: clamp(30px, 8vw, 40px);
  }
  .direction__text {
    margin-bottom: 28px;
  }
}

/* ── 576px */
@media (max-width: 576px) {
  .directions {
    padding: 88px 0;
  }
  .directions__title {
    font-size: clamp(38px, 11vw, 56px);
  }
  .directions__grid {
    max-width: 100%;
  }
  .direction__subtitle {
    font-size: 12px;
  }
  .direction__text {
    font-size: 13.5px;
  }
}

/* ── 375px */
@media (max-width: 375px) {
  .directions {
    padding: 72px 0;
  }
  .directions__header {
    margin-bottom: 52px;
  }
  .directions__title {
    font-size: 36px;
    line-height: 0.94;
  }
  .direction__title {
    font-size: 28px;
  }
  .direction__line {
    height: 52px;
    margin: 28px auto;
  }
  .direction__number {
    font-size: 9px;
  }
  .direction__link {
    font-size: 10px;
    letter-spacing: 0.3em;
  }
}
/* ── 1280px — hide "О производстве", about badge ─────── */
@media (max-width: 1280px) {
  .about-stat { display: none; }
}

/* ── 1200px — hide aside nav link ────────────────────── */
@media (max-width: 1200px) {
  .header__nav-link--aside  { display: none; }
  .collections-grid         { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px — product menu compress, about + footer ──── */
@media (max-width: 1024px) {
  .product-menu            { gap: 0.5rem; }
  .product-menu__label     { font-size: 0.48rem; letter-spacing: 0.2em; }
  .about-grid              { grid-template-columns: 1fr; }
  .about-visual            { order: 1; }
  .about-content           { order: 2; }
  .footer-grid             { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:900px){

.signature{

    grid-template-columns:1fr;

    gap:3rem;

    padding:0 24px;

}

.signature__image img{

    min-height:420px;

}

.signature__content{

    max-width:none;

}

.signature__ghost{ display:none; }

.signature__badge{
    right:auto;
    left:20px;
    bottom:20px;
    padding:1rem 1.4rem;
}

}

/* ── 900px — hero single column ──────────────────────── */
@media (max-width: 900px) {
  .hero-layout    { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-left      { padding-right: 0; }
  .hero-right     { margin-top: 3rem; }
  .hero-img-frame { height: 60vh; }
  .hero-badge     { left: 20px; bottom: 20px; }
  .hero-deco-num  { display: none; }
  .luxury-band-inner { flex-direction: column; text-align: center; }
  .luxury-band-quote { text-align: left; }
}

/* ── 768px — mobile navigation ───────────────────────── */
@media (max-width: 768px) {
  .header__burger { display: flex; }

  /* Slide-in drawer */
  .header__main-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    background: var(--header-bg);
    padding: 100px 20px 20px;
    flex-direction: column; gap: 10px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
  }

  .header__main-nav.is-open { transform: translateX(0); }

  .header__nav-item {
    flex-direction: column; align-items: flex-start;
    width: 100%; height: auto; padding-bottom: 0;
  }

  .header__nav-link {
    width: 100%; height: auto; padding: 10px 0;
    font-size: 0.85rem;
    -webkit-tap-highlight-color: transparent;
  }

  /* Gold underline on active mobile item */
  .header__nav-link::before {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s ease;
  }
  .header__nav-item.is-open > .header__nav-link {
    color: var(--gold);
    transform: translateX(4px);
  }
  .header__nav-item.is-open > .header__nav-link::before { width: 100%; }

  /* Static (block) submenu on mobile */
  .header__submenu {
    position: static; display: none;
    padding-left: 10px; margin-top: 6px;
    border: none; box-shadow: none; background: none;
    opacity: 1; transform: none; pointer-events: auto;
  }
  .header__nav-item.is-open .header__submenu { display: block; }
  .submenu__item { font-size: 0.7rem; padding: 6px 0; }

  /* Icons only in product menu */
  .product-menu__label { display: none; }
  .product-menu        { gap: 0.2rem; }
  .product-menu__item  { padding: 0.4rem; }
}

/* ── 640px — single column grids ─────────────────────── */
@media (max-width: 640px) {
  .collections-grid { grid-template-columns: 1fr; }
  .stat-divider     { display: none; }
  .about-features   { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
}


/* ─────────────────────────────────────────────────────────
   22  ACCESSIBILITY
   FIX: added prefers-reduced-motion to disable all looping animations.
   This is a WCAG 2.1 requirement.
───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:  0.01ms !important;
  }

  .scroll-track,
  .footer-beam,
  .status-dot,
  .luxury-band-headline,
  .glow {
    animation: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .direction__photo img,
  .direction__photo::before,
  .direction__frame::before,
  .direction__frame::after,
  .direction__link::after {
    transition: none;
  }
  .direction:hover .direction__photo img {
    transform: scale(1.06) translateX(0);
  }
}

/* ─────────────────────────────────────────────────────────
   COOKIE CONSENT BANNER
───────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: var(--header-bg, #14100c);
  border-top: 1px solid var(--divider, rgba(255,255,255,0.08));
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem var(--px, 1.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner__text {
  flex: 1 1 auto;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__accept {
  flex: 0 0 auto;
  padding: 0.7rem 1.6rem;
  background: var(--gold);
  color: #14100c;
  border: none;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s;
}

.cookie-banner__accept:hover {
  background: var(--gold-hover, #d9b95c);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .cookie-banner__accept {
    width: 100%;
  }
}

.footer-sublinks {
  margin: 0.7rem 0 0;
  padding: 0 0 0 0.9rem;
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 0.6rem;

  border-left: 1px solid var(--border);
}

.footer-sublinks li {
  margin: 0;
  padding: 0;
}

.footer-sublinks a {
  position: relative;

  display: inline-flex;
  align-items: center;

  color: var(--text-muted);

  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  transition: color .35s ease, transform .35s ease;
}

.footer-sublinks a:hover {
  color: var(--gold);
  transform: translateX(4px);
}


@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
