/* =========================================================
   LIVAC s.l.r. Zrenjanin — premium static site
   Mobile-first · vintage · elegant · minimal
   ========================================================= */

:root {
  --ink: #0a0d11;
  --coal: #0f1419;
  --steel: #161c23;
  --steel-2: #1f262f;
  --steel-3: #2a333e;
  --line: rgba(206, 213, 221, .16);
  --line-2: rgba(206, 213, 221, .32);
  --silver: #c9cfd6;
  --silver-hi: #f2f4f6;
  --silver-lo: #8a939d;
  --text: #e6e9ec;
  --muted: #97a0aa;
  --paper: #ecebe7;
  --paper-2: #e2e0db;
  --ink-text: #14181d;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d6dbe0 28%, #7e8893 50%, #e9ecef 68%, #a3abb4 100%);
  --chrome-h: linear-gradient(100deg, #8d969f 0%, #f7f8f9 22%, #a7afb7 40%, #eef0f2 60%, #7f8892 80%, #d9dde1 100%);
  --ff-sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ff-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: 22px;
  --header: 72px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--coal); color: var(--text);
  font-family: var(--ff-sans); font-weight: 300; font-size: 15px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--silver); color: var(--ink); }
:focus-visible { outline: 1px solid var(--silver); outline-offset: 3px; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--silver-lo); font-weight: 400;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h-display, .h1, .h2, .h3 { font-family: var(--ff-sans); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; line-height: 1.08; margin: 0; }
.h-display { font-size: clamp(34px, 9.4vw, 92px); letter-spacing: .02em; }
.h1 { font-size: clamp(32px, 7vw, 68px); }
.h2 { font-size: clamp(26px, 5.2vw, 46px); }
.h3 { font-size: clamp(15px, 2.6vw, 18px); letter-spacing: .14em; font-weight: 400; }
.serif { font-family: var(--ff-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.chrome-text {
  background: var(--chrome-h); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chromeShift 9s linear infinite;
}
@keyframes chromeShift { to { background-position: -220% 0; } }
.lead { font-size: 16px; color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }
p { margin: 0 0 1em; }

/* line-mask text reveal */
.split .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.split .ln > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.split.is-in .ln > span { transform: none; }
.split .ln:nth-child(2) > span { transition-delay: .09s; }
.split .ln:nth-child(3) > span { transition-delay: .18s; }
.split .ln:nth-child(4) > span { transition-delay: .27s; }

/* ---------- buttons ---------- */
.btn {
  --bc: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 26px; border: 1px solid var(--bc); border-radius: 999px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--chrome);
  transform: translateY(101%); transition: transform .6s var(--ease); border-radius: inherit;
}
.btn:hover { color: var(--ink); border-color: transparent; }
.btn:hover::before { transform: none; }
.btn .arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.btn .arr::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 28px; }
.btn--solid { background: var(--chrome); color: var(--ink); border-color: transparent; }
.btn--solid::before { background: var(--silver-hi); }
.btn--dark { --bc: rgba(20, 24, 29, .35); color: var(--ink-text); }
.btn--dark:hover { color: var(--silver-hi); }
.btn--dark::before { background: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 10px; }
.btn--block { width: 100%; }

.link-line { position: relative; display: inline-block; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; padding-bottom: 6px; }
.link-line::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); transform-origin: right; animation: lineIn .6s .3s var(--ease) forwards; }
@keyframes lineIn { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--ink);
  display: grid; place-items: center; transition: clip-path 1.1s var(--ease-io), visibility 0s 1.1s;
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.preloader__inner { width: min(78vw, 440px); text-align: center; }
.preloader__logo { position: relative; overflow: hidden; }
.preloader__logo img { width: 100%; height: auto; opacity: 0; transform: scale(.94); filter: blur(6px); animation: plLogo 1.4s .1s var(--ease) forwards; }
.preloader__logo::after {
  content: ''; position: absolute; inset: -20% auto -20% -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); animation: plShine 1.8s .8s var(--ease) infinite;
  mix-blend-mode: overlay;
}
@keyframes plLogo { to { opacity: 1; transform: none; filter: none; } }
@keyframes plShine { to { left: 130%; } }
.preloader__bar { margin: 34px auto 0; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.preloader__bar span { position: absolute; inset: 0; background: var(--chrome-h); transform-origin: left; transform: scaleX(0); }
.preloader__meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--silver-lo); }

/* page curtain */
.curtain { position: fixed; inset: 0; z-index: 999; background: var(--ink); transform: translateY(100%); pointer-events: none; visibility: hidden; }
.curtain.is-on { transform: none; visibility: visible; transition: transform .7s var(--ease-io); }

/* grain */
.grain { position: fixed; inset: -50%; z-index: 998; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,2%); } 80% { transform: translate(4%,4%); } }

/* ---------- header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: var(--header); transition: background .5s var(--ease), height .5s var(--ease), transform .6s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(10, 13, 17, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); --header: 64px; }
.header.is-hidden { transform: translateY(-100%); }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; transition: height .5s var(--ease); filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.header.is-scrolled .brand img { height: 34px; }
.nav { display: none; }
.nav a { position: relative; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(242, 244, 246, .82); padding: 8px 0; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--silver); transform: translate(-50%, 6px) scale(0); transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after, .nav a:hover::after { transform: translate(-50%, 6px) scale(1); }
.header__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: none; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .2em; }
.lang button { padding: 6px 4px; color: var(--silver-lo); transition: color .3s; }
.lang button.is-on { color: #fff; }
.lang i { width: 1px; height: 12px; background: var(--line-2); }
.circle-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--chrome); color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .5s var(--ease);
}
.circle-btn:hover { transform: rotate(-8deg) scale(1.06); }
.circle-btn svg { width: 18px; height: 18px; }
.cart-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--ink); color: var(--silver-hi); border: 1px solid var(--line-2); font-size: 10px; line-height: 17px; font-weight: 500; text-align: center; transform: scale(0); transition: transform .4s var(--ease); }
.cart-count.is-on { transform: scale(1); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.burger span { display: block; width: 18px; height: 1px; background: #fff; position: relative; transition: background .3s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 85; background: var(--ink); overflow-y: auto; gap: 26px; padding: calc(var(--header) + 16px) var(--pad) 30px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 44px) 36px); transition: clip-path .9s var(--ease-io); visibility: hidden; }
.menu-open .mmenu { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.mmenu__links { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mmenu__links li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mmenu__links a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; font-size: clamp(24px, 7vw, 40px); font-weight: 300; text-transform: uppercase; letter-spacing: .04em; transform: translateY(110%); transition: transform .8s var(--ease); }
.mmenu__links a::before { counter-increment: m; content: '0' counter(m); font-size: 11px; letter-spacing: .2em; color: var(--silver-lo); }
.menu-open .mmenu__links a { transform: none; }
.menu-open .mmenu__links li:nth-child(2) a { transition-delay: .05s; }
.menu-open .mmenu__links li:nth-child(3) a { transition-delay: .1s; }
.menu-open .mmenu__links li:nth-child(4) a { transition-delay: .15s; }
.menu-open .mmenu__links li:nth-child(5) a { transition-delay: .2s; }
.menu-open .mmenu__links li:nth-child(6) a { transition-delay: .25s; }
.menu-open .mmenu__links li:nth-child(7) a { transition-delay: .3s; }
.mmenu__foot { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.mmenu__foot .lang { display: flex; margin-top: 10px; order: -1; margin: 0 0 8px; }
.menu-open .fab-row { opacity: 0; pointer-events: none; }
.fab-row { transition: opacity .4s; }

/* ---------- hero (copy of reference) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 8s linear; }
.hero__slide.is-active img { transform: scale(1.02); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,13,17,.62) 0%, rgba(10,13,17,.08) 26%, rgba(10,13,17,.18) 52%, rgba(10,13,17,.86) 100%),
              linear-gradient(90deg, rgba(10,13,17,.62) 0%, rgba(10,13,17,0) 62%); }
.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header) + 40px); padding-bottom: 34px; }
.hero__grid { display: grid; gap: 26px; }
.hero__title { color: var(--silver-hi); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero__aside { white-space: nowrap; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; line-height: 1.6; color: var(--silver-hi); font-weight: 300; }
.hero__aside .ln { display: block; }
.hero__dots { display: flex; align-items: center; gap: 0; width: min(300px, 70vw); height: 18px; position: relative; margin: 6px 0 22px; }
.hero__dots::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(242,244,246,.35); }
.hero__dots button { position: relative; flex: 1; height: 18px; }
.hero__knob { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--chrome); box-shadow: 0 0 0 5px rgba(242,244,246,.12); transition: left .9s var(--ease); pointer-events: none; }
.hero__fill { position: absolute; left: 0; top: 50%; height: 1px; background: var(--silver-hi); transition: width .9s var(--ease); }
.hero__text { max-width: 470px; font-size: 14px; color: rgba(242,244,246,.84); margin-bottom: 24px; }
.hero__bottom { position: relative; z-index: 2; border-top: 1px solid rgba(242,244,246,.16); }
.hero__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 14px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,244,246,.6); }
.hero__count b { color: #fff; font-weight: 400; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 26px; background: rgba(242,244,246,.25); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- section basics ---------- */
.section { position: relative; padding: 88px 0; }
.section--ink { background: var(--ink); }
.section--coal { background: var(--coal); }
.section--steel { background: var(--steel); }
.section--paper { background: var(--paper); color: var(--ink-text); }
.section--paper .eyebrow { color: #6c737b; }
.section--paper .muted, .section--paper .lead { color: #5b626a; }
.section__head { display: grid; gap: 18px; margin-bottom: 48px; }
.section__head .h2 { max-width: 15ch; }

/* principles (3 columns with vertical rules) */
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 30px 0; border-bottom: 1px solid var(--line); }
.principle__no { font-family: var(--ff-serif); font-style: italic; font-size: 20px; color: var(--silver-lo); }
.principle h3 { margin: 10px 0 14px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: var(--silver-hi); line-height: 1.5; }
.principle p { color: var(--muted); font-size: 14px; margin: 0; max-width: 34ch; }

/* panels over image (reference bottom strip) */
.panels { position: relative; background: var(--ink); overflow: hidden; }
.panels__bg { position: absolute; inset: -8% 0; }
.panels__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.panels__bg img.is-on { opacity: 1; transform: scale(1); }
.panels::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,17,.35), rgba(10,13,17,.25) 40%, rgba(10,13,17,.9)); pointer-events: none; }
.panels__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 16px; border-left: 1px solid rgba(242,244,246,.2); color: #fff; transition: background .6s var(--ease); }
.panel:nth-child(odd) { border-left: 0; }
.panel:nth-child(-n+2) { border-bottom: 1px solid rgba(242,244,246,.2); }
.panel:hover, .panel.is-on { background: linear-gradient(180deg, rgba(10,13,17,0), rgba(10,13,17,.55)); }
.panel__no { position: absolute; top: 18px; left: 16px; font-size: 10px; letter-spacing: .3em; color: rgba(242,244,246,.6); }
.panel h3 { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400; margin: 0 0 8px; }
.panel p { font-size: 12.5px; line-height: 1.6; color: rgba(242,244,246,.72); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .6s var(--ease); }
.panel:hover p, .panel.is-on p { max-height: 120px; opacity: 1; }
.panel .plus { position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border: 1px solid rgba(242,244,246,.4); border-radius: 50%; transition: transform .6s var(--ease), background .4s; }
.panel .plus::before, .panel .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: #fff; transform: translate(-50%,-50%); }
.panel .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.panel:hover .plus { transform: rotate(90deg); background: rgba(255,255,255,.12); }
.panels__mark { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%,-50%); width: min(62vw, 520px); pointer-events: none; opacity: .92; filter: drop-shadow(0 10px 40px rgba(0,0,0,.6)); }

/* stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 28px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat__n { font-size: clamp(40px, 10vw, 76px); font-weight: 200; line-height: 1; }
.stat__l { margin-top: 12px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 32px; padding-right: 32px; font-size: clamp(22px, 4.6vw, 44px); font-weight: 200; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(206,213,221,.55); transition: color .4s; }
.marquee__item:hover { color: var(--silver-hi); }
.marquee__item .star { width: 14px; height: 14px; color: var(--silver-lo); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* split feature (image + text) */
.split-feature { display: grid; gap: 40px; align-items: center; }
.frame { position: relative; overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame::before { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(242,244,246,.28); z-index: 2; pointer-events: none; }
.parallax img { transform: scale(1.18); will-change: transform; }
.reveal-img > :first-child { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.reveal-img.is-in > :first-child { clip-path: inset(0 0 0 0); }
.badge-round { position: absolute; z-index: 3; right: 18px; bottom: 18px; width: 108px; height: 108px; }
.badge-round svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-round text { font-size: 9.6px; letter-spacing: 3.2px; fill: #fff; text-transform: uppercase; font-family: var(--ff-sans); }
.badge-round span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--ff-serif); font-style: italic; font-size: 26px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 0; }
.checklist li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.section--paper .checklist li { border-color: rgba(20,24,29,.14); }
.checklist li span { font-family: var(--ff-serif); font-style: italic; color: var(--silver-lo); min-width: 26px; }

/* product rail */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, color .4s; }
.rail-ctrl button:hover { background: var(--silver-hi); color: var(--ink); }
.rail-ctrl svg { width: 16px; height: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
.rail-progress { margin-top: 26px; height: 1px; background: var(--line); position: relative; }
.rail-progress span { position: absolute; left: 0; top: 0; height: 1px; width: 20%; background: var(--silver-hi); transition: transform .2s; }

/* product card */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--steel); border: 1px solid var(--line); transition: border-color .5s, transform .6s var(--ease); }
.pcard:hover { border-color: var(--line-2); }
.pcard__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; }
.pv { position: absolute; inset: 0; }
.pv--photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.86) contrast(1.02); }
.pcard:hover .pv--photo img { transform: scale(1.12); filter: none; }
.pv--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,17,.35), transparent 30%, transparent 70%, rgba(10,13,17,.4)); }
.pv--icon { background: radial-gradient(120% 90% at 50% 30%, #27303a 0%, #161c23 55%, #0d1116 100%); display: grid; place-items: center; }
.pv__frame { position: absolute; inset: 12px; border: 1px solid rgba(206,213,221,.18); }
.pv__frame::before, .pv__frame::after { content: ''; position: absolute; width: 10px; height: 10px; border: 1px solid rgba(206,213,221,.55); }
.pv__frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.pv__frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.pv__ic { width: 46%; height: auto; fill: none; stroke: url(#chromeStroke); stroke: var(--silver); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.pv__ic * { stroke-dasharray: 400; stroke-dashoffset: 0; }
.pcard:hover .pv__ic * { animation: draw 1.6s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.pv__no { position: absolute; z-index: 2; top: 18px; left: 20px; font-size: 10px; letter-spacing: .24em; color: rgba(242,244,246,.75); }
.pv__cat { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-family: var(--ff-serif); font-style: italic; font-size: 14px; color: var(--silver-lo); }
.pcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__cat { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--silver-lo); }
.pcard__name { font-size: 15px; font-weight: 400; line-height: 1.35; margin: 0; letter-spacing: .01em; }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.pcard__price { font-family: var(--ff-serif); font-style: italic; font-size: 15px; color: var(--silver); }
.add-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s var(--ease), color .4s, transform .5s var(--ease); flex: 0 0 auto; }
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--chrome); color: var(--ink); border-color: transparent; transform: rotate(90deg); }
.add-btn.is-added { background: var(--silver-hi); color: var(--ink); }
.pcard__link { position: absolute; inset: 0; z-index: 1; }
.pcard .add-btn { position: relative; z-index: 2; }

/* process */
.process { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--ff-serif); font-style: italic; font-size: 30px; line-height: 1; color: var(--silver-lo); }
.step h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; }
.step p { margin: 0; color: var(--muted); font-size: 14px; grid-column: 2; }
.step::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--silver-hi); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.step.is-in::after { transform: scaleX(1); }

/* quote */
.quote { text-align: center; max-width: 980px; margin: 0 auto; }
.quote blockquote { margin: 26px 0; font-family: var(--ff-serif); font-style: italic; font-size: clamp(26px, 5.4vw, 52px); line-height: 1.22; font-weight: 400; }
.quote cite { font-style: normal; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.quote .ornament { width: 120px; margin: 0 auto; color: var(--silver-lo); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; padding: 110px 0; text-align: center; }
.cta-band__bg { position: absolute; inset: -10% 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(10,13,17,.72); }
.cta-band .container { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }

/* inner page hero */
.phero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: pheroZoom 2.4s var(--ease) .3s forwards; }
@keyframes pheroZoom { to { transform: scale(1.02); } }
.phero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,17,.7), rgba(10,13,17,.25) 40%, rgba(10,13,17,.92)); }
.phero .container { position: relative; z-index: 2; padding-top: calc(var(--header) + 50px); padding-bottom: 46px; display: grid; gap: 18px; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: rgba(242,244,246,.6); }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: '/'; margin-right: 10px; opacity: .5; }

/* ---------- catalog ---------- */
.shopbar { position: relative; z-index: 20; background: rgba(15,20,25,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.shopbar__in { display: flex; gap: 10px; align-items: center; padding: 12px 0; flex-wrap: wrap; }
.search { flex: 1 1 100%; order: -1; position: relative; }
.shopbar .select { flex: 1 1 auto; } .shopbar .select select { width: 100%; }
.search input { width: 100%; height: 44px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 18px 0 44px; font-size: 13px; letter-spacing: .04em; outline: 0; transition: border-color .3s; }
.search input:focus { border-color: var(--silver); }
.search svg { position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--silver-lo); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 44px; padding: 0 38px 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; outline: 0; cursor: pointer; }
.select select option { background: var(--steel); color: var(--text); }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.filter-toggle { height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: all .35s var(--ease); white-space: nowrap; }
.chip:hover { color: #fff; border-color: var(--line-2); }
.chip.is-on { background: var(--chrome); color: var(--ink); border-color: transparent; }
.shop { display: grid; gap: 30px; padding-top: 34px; padding-bottom: 90px; }
.side { position: fixed; inset: 0 30% 0 0; z-index: 95; background: var(--ink); padding: 24px var(--pad); overflow-y: auto; transform: translateX(-102%); transition: transform .7s var(--ease-io); border-right: 1px solid var(--line); }
.side.is-open { transform: none; }
.side__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.side h4 { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--silver-lo); font-weight: 400; margin: 26px 0 10px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 13.5px; color: var(--muted); transition: color .3s, padding .4s var(--ease); }
.side li button:hover { color: #fff; padding-left: 6px; }
.side li button.is-on { color: #fff; }
.side li button.is-on::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--silver); align-self: center; margin-right: -4px; }
.side li button em { font-style: normal; font-size: 11px; color: var(--silver-lo); margin-left: auto; }
.side-overlay { position: fixed; inset: 0; z-index: 94; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.side-overlay.is-on { opacity: 1; visibility: visible; }
.shop__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.shop__meta strong { color: #fff; font-weight: 400; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.shop > * { min-width: 0; }
.pcard__name, .pcard__cat { overflow-wrap: anywhere; }
.grid .pcard { opacity: 0; transform: translateY(24px); animation: cardIn .8s var(--ease) forwards; }
@keyframes cardIn { to { opacity: 1; transform: none; } }
.grid .pcard__body { padding: 12px 12px 14px; }
.grid .pcard__name { font-size: 13.5px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px dashed var(--line-2); color: var(--muted); }
.more-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-tile { position: relative; background: var(--coal); padding: 22px 16px 18px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; overflow: hidden; transition: background .5s; }
.cat-tile:hover { background: var(--steel-2); }
.cat-tile svg { width: 54px; height: 54px; fill: none; stroke: var(--silver); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.cat-tile:hover svg { transform: translateY(-4px) scale(1.06); }
.cat-tile:hover svg * { animation: draw 1.4s var(--ease) both; }
.cat-tile svg * { stroke-dasharray: 400; }
.cat-tile h3 { margin: 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; line-height: 1.45; }
.cat-tile em { font-style: normal; font-size: 10px; letter-spacing: .2em; color: var(--silver-lo); }
.cat-tile .arrow { position: absolute; top: 18px; right: 16px; width: 22px; height: 22px; color: var(--silver-lo); transform: rotate(-45deg); transition: transform .5s var(--ease), color .3s; }
.cat-tile:hover .arrow { transform: rotate(0); color: #fff; }

/* product page */
.product { display: grid; gap: 34px; padding-top: calc(var(--header) + 30px); padding-bottom: 80px; }
.product > * { min-width: 0; }
.product__media { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); overflow: hidden; }
.product__media .pv__ic { width: 52%; }
.product__media .pv--photo img { transform: none; }
.product__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.product__thumbs button { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); opacity: .55; transition: opacity .3s, border-color .3s; }
.product__thumbs button.is-on, .product__thumbs button:hover { opacity: 1; border-color: var(--silver); }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { display: grid; gap: 18px; align-content: start; }
.product__info .h1 { font-size: clamp(28px, 6vw, 50px); }
.product__price { font-family: var(--ff-serif); font-style: italic; font-size: 22px; color: var(--silver); }
.opt { display: grid; gap: 10px; }
.opt__label { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-lo); }
.opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__vals button { min-height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; letter-spacing: .06em; transition: all .3s; }
.opt__vals button.is-on { background: var(--chrome); color: var(--ink); border-color: transparent; }
.qty { display: inline-flex; align-items: center; height: 48px; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 44px; height: 100%; font-size: 18px; color: var(--silver); }
.qty input { width: 44px; text-align: center; background: transparent; border: 0; outline: 0; font-size: 15px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.buy-row .btn { flex: 1 1 200px; }
.specs { border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.specs dt, .specs span:first-child { color: var(--muted); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 12px; height: 12px; position: relative; }
.acc summary i::before, .acc summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i::after { transform: rotate(0); }
.acc details p { color: var(--muted); font-size: 14px; padding-bottom: 14px; margin: 0; }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 120; width: min(100%, 440px); background: var(--ink); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .8s var(--ease-io); }
.drawer.is-open { transform: none; }
.drawer-overlay { position: fixed; inset: 0; z-index: 119; background: rgba(0,0,0,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.drawer-overlay.is-on { opacity: 1; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; }
.x-btn { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; transition: transform .5s var(--ease); }
.x-btn:hover { transform: rotate(90deg); }
.x-btn::before, .x-btn::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: currentColor; transform: translate(-50%,-50%) rotate(45deg); }
.x-btn::after { transform: translate(-50%,-50%) rotate(-45deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px var(--pad); }
.drawer__foot { padding: 18px var(--pad) 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__note { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem__media { position: relative; width: 72px; height: 72px; overflow: hidden; border: 1px solid var(--line); }
.citem__media .pv__no, .citem__media .pv__cat, .citem__media .pv__frame { display: none; }
.citem__media .pv__ic { width: 60%; }
.citem h4 { margin: 0 0 4px; font-size: 13.5px; font-weight: 400; line-height: 1.35; }
.citem small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.citem .qty { height: 34px; margin-top: 8px; }
.citem .qty button { width: 30px; font-size: 15px; }
.citem .qty input { width: 30px; font-size: 13px; }
.citem__rm { align-self: start; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-lo); }
.citem__rm:hover { color: #fff; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty svg { width: 70px; margin: 0 auto 18px; fill: none; stroke: var(--silver-lo); stroke-width: 1.2; }

/* cart page / forms */
.checkout { display: grid; gap: 40px; padding-top: 40px; padding-bottom: 90px; }
.checkout > * { min-width: 0; }
.box { border: 1px solid var(--line); padding: 22px var(--pad); background: var(--steel); }
.box h3 { margin: 0 0 16px; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 400; }
.form { display: grid; gap: 16px; }
.form .row { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); padding: 22px 0 10px; font-size: 15px; outline: 0; border-radius: 0; transition: border-color .3s; }
.field textarea { min-height: 110px; resize: vertical; }
.field label { position: absolute; left: 0; top: 22px; font-size: 13px; color: var(--muted); pointer-events: none; transition: all .35s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--silver); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 2px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-lo); }
.field .bar { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--silver-hi); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field input:focus ~ .bar, .field textarea:focus ~ .bar { transform: scaleX(1); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-2); flex: 0 0 auto; margin-top: 2px; position: relative; cursor: pointer; }
.check input:checked { background: var(--chrome); border-color: transparent; }
.check input:checked::after { content: ''; position: absolute; left: 5px; top: 1px; width: 6px; height: 10px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.radio-card:has(input:checked) { border-color: var(--silver); background: rgba(206,213,221,.05); }
.radio-card input { accent-color: #c9cfd6; margin-top: 5px; }
.radio-card b { display: block; font-weight: 400; font-size: 14px; }
.radio-card small { color: var(--muted); font-size: 12px; }
.summary-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.summary-line span:first-child { color: var(--muted); }
.success { text-align: center; padding: 50px 20px; }
.success svg { width: 80px; margin: 0 auto 20px; fill: none; stroke: var(--silver); stroke-width: 1.2; }
.success svg path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw2 1.4s .2s var(--ease) forwards; }
@keyframes draw2 { to { stroke-dashoffset: 0; } }

/* contact */
.contact-grid { display: grid; gap: 40px; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.cinfo a, .cinfo div.ci { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; transition: padding .4s var(--ease); }
.cinfo a:hover { padding-left: 8px; }
.cinfo span { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--silver-lo); padding-top: 4px; }
.map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; background: var(--steel); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); }
.loc-cards { display: grid; gap: 12px; }
.loc { padding: 22px; border: 1px solid var(--line); background: var(--steel); display: grid; gap: 8px; }
.loc h3 { margin: 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.loc p { margin: 0; color: var(--muted); font-size: 14px; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery a { position: relative; overflow: hidden; display: block; aspect-ratio: 1; }
.gallery a:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.35); }
.gallery a:hover img { transform: scale(1.08); filter: none; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(10,13,17,.85)); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transform: translateY(100%); transition: transform .6s var(--ease); }
.gallery a:hover figcaption { transform: none; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; }
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(5,7,9,.94); display: grid; place-items: center; padding: 60px 14px; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-on { opacity: 1; visibility: visible; }
.lightbox img { max-height: 78vh; width: auto; transform: scale(.94); transition: transform .7s var(--ease); }
.lightbox.is-on img { transform: none; }
.lightbox p { text-align: center; margin-top: 14px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.lightbox .x-btn { position: absolute; top: 18px; right: 18px; }
.lb-nav { position: absolute; top: 50%; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; transform: translateY(-50%); }
.lb-nav svg { width: 16px; height: 16px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl { position: relative; padding: 0 0 36px 40px; }
.tl::before { content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); border: 1px solid var(--silver); }
.tl.is-in::before { background: var(--chrome); box-shadow: 0 0 0 6px rgba(206,213,221,.08); transition: background .6s, box-shadow .6s; }
.tl b { display: block; font-family: var(--ff-serif); font-style: italic; font-weight: 400; font-size: 26px; color: var(--silver); }
.tl h3 { margin: 4px 0 6px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.tl p { margin: 0; color: var(--muted); font-size: 14px; }

/* service cards */
.services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { position: relative; background: var(--coal); padding: 30px 22px; overflow: hidden; display: grid; gap: 14px; align-content: start; min-height: 280px; }
.service::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(206,213,221,.09), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.service:hover::before { opacity: 1; }
.service svg { width: 52px; height: 52px; fill: none; stroke: var(--silver); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { margin: 0; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.service p { margin: 0; color: var(--muted); font-size: 14px; }
.service .no { position: absolute; top: 24px; right: 22px; font-family: var(--ff-serif); font-style: italic; color: var(--silver-lo); font-size: 18px; }
.service ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.service li::before { content: '—'; margin-right: 10px; color: var(--silver-lo); }

/* ---------- footer ---------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); padding: 70px 0 0; overflow: hidden; }
.footer__top { display: grid; gap: 40px; padding-bottom: 50px; }
.footer__logo img { width: min(260px, 70vw); height: auto; }
.footer__lead { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 20px; }
.footer h4 { margin: 0 0 16px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--silver-lo); font-weight: 400; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.footer ul a { color: var(--text); transition: color .3s, padding .4s var(--ease); }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 20px; }
.footer__big { font-size: clamp(56px, 19vw, 260px); font-weight: 200; line-height: .8; letter-spacing: .02em; text-transform: uppercase; text-align: center; margin: 0; padding-top: 10px; user-select: none; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 18px; padding-bottom: 96px; font-size: 11px; letter-spacing: .14em; color: var(--silver-lo); }

/* ---------- floating: assistant + back to top (same line) ---------- */
.fab-row { position: fixed; left: 0; right: 0; bottom: 18px; z-index: 110; pointer-events: none; }
.fab-row .container { display: flex; justify-content: space-between; align-items: flex-end; max-width: none; padding: 0 16px; }
.ai-fab, .totop { pointer-events: auto; }
.ai-fab { position: relative; height: 54px; padding: 0 18px 0 6px; display: flex; align-items: center; gap: 12px; border-radius: 999px; background: rgba(10,13,17,.86); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .5s var(--ease), border-color .4s; }
.ai-fab:hover { transform: translateY(-3px); border-color: var(--silver); }
.ai-fab__orb { position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--chrome); display: grid; place-items: center; color: var(--ink); overflow: hidden; }
.ai-fab__orb::after { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.75), transparent 30%); animation: spin 3.6s linear infinite; mix-blend-mode: overlay; }
.ai-fab__orb svg { position: relative; z-index: 2; width: 20px; height: 20px; }
.ai-fab__txt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; line-height: 1.3; display: none; }
.ai-fab__txt small { display: block; color: var(--silver-lo); letter-spacing: .14em; text-transform: none; font-size: 11px; }
.ai-fab__ping { position: absolute; top: 4px; left: 38px; width: 10px; height: 10px; border-radius: 50%; background: #9fd3a8; box-shadow: 0 0 0 0 rgba(159,211,168,.6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(159,211,168,0); } 100% { box-shadow: 0 0 0 0 rgba(159,211,168,0); } }
.totop { position: relative; width: 54px; height: 54px; border-radius: 50%; background: rgba(10,13,17,.86); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s var(--ease); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.totop.is-on { opacity: 1; transform: none; }
.totop svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.totop svg.ring circle { fill: none; stroke: var(--silver-hi); stroke-width: 1.5; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.totop .arr-up { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.totop:hover .arr-up { transform: translateY(-4px); }

/* assistant panel */
.ai { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 115; max-height: min(640px, calc(100svh - 110px)); display: flex; flex-direction: column; background: rgba(12,16,20,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform-origin: bottom left; transform: translateY(20px) scale(.96); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .4s, visibility .6s; }
.ai.is-open { transform: none; opacity: 1; visibility: visible; }
.ai__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.ai__head .ai-fab__orb { width: 38px; height: 38px; flex: 0 0 auto; }
.ai__head b { display: block; font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.ai__head small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.ai__head small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #9fd3a8; }
.ai__head .x-btn { margin-left: auto; width: 34px; height: 34px; }
.ai__body { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 12px; align-content: start; scroll-behavior: smooth; }
.msg { max-width: 88%; padding: 11px 14px; font-size: 13.5px; line-height: 1.6; border: 1px solid var(--line); animation: msgIn .5s var(--ease); }
.msg a { text-decoration: underline; text-underline-offset: 3px; }
.msg--bot { background: var(--steel); justify-self: start; border-radius: 0 14px 14px 14px; }
.msg--me { background: var(--chrome); color: var(--ink); border-color: transparent; justify-self: end; border-radius: 14px 0 14px 14px; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg .mini-prods { display: grid; gap: 6px; margin-top: 10px; }
.msg .mini-prods a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); text-decoration: none; font-size: 12.5px; transition: border-color .3s; }
.msg .mini-prods a:hover { border-color: var(--silver); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--silver-lo); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-5px); background: #fff; } }
.ai__quick { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 10px 16px 0; }
.ai__quick::-webkit-scrollbar { display: none; }
.ai__quick button { flex: 0 0 auto; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 11.5px; color: var(--muted); transition: all .3s; white-space: nowrap; }
.ai__quick button:hover { color: var(--ink); background: var(--silver-hi); }
.ai__form { display: flex; gap: 8px; padding: 12px 16px 14px; }
.ai__form input { flex: 1; height: 44px; background: transparent; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; font-size: 13.5px; outline: 0; }
.ai__form input:focus { border-color: var(--silver); }
.ai__form button { width: 44px; height: 44px; border-radius: 50%; background: var(--chrome); color: var(--ink); display: grid; place-items: center; }
.ai__form svg { width: 16px; height: 16px; }

/* toast */
.toast { position: fixed; left: 50%; top: 86px; width: max-content; text-align: center; z-index: 140; transform: translate(-50%, -20px); opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(10,13,17,.95); border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; letter-spacing: .04em; transition: all .5s var(--ease); box-shadow: 0 16px 40px rgba(0,0,0,.5); max-width: calc(100vw - 30px); }
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--chrome); flex: 0 0 auto; }

/* cursor (desktop) */
.cursor { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s; display: none; }
.cursor-ring { position: fixed; left: 0; top: 0; z-index: 199; pointer-events: none; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(242,244,246,.4); transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), border-color .3s, background .3s; display: none; }
.cursor-ring.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: transparent; background: rgba(242,244,246,.08); }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="scale"] { transform: scale(.94); }
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: .08s; } .stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .24s; } .stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .4s; } .stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .56s; } .stagger.is-in > *:nth-child(n+9) { transition-delay: .62s; }

.hr-draw { height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io); }
.hr-draw.is-in { transform: scaleX(1); }

/* =========================================================
   Breakpoints (mobile first)
   ========================================================= */
@media (min-width: 560px) {
  .grid { gap: 14px; }
  .rail { grid-auto-columns: 46%; }
  .ai-fab__txt { display: block; }
  .ai { left: 16px; right: auto; width: 400px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a:first-child { grid-column: span 2; aspect-ratio: auto; grid-row: span 2; }
}

@media (min-width: 768px) {
  :root { --pad: 36px; --header: 84px; }
  body { font-size: 16px; }
  .section { padding: 120px 0; }
  .hero__grid { grid-template-columns: 1.4fr .6fr; align-items: start; }
  .hero__aside { justify-self: end; text-align: left; padding-top: 10px; padding-right: 6px; }
  .brand img { height: 46px; }
  .header.is-scrolled .brand img { height: 38px; }
  .principles { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .principle { padding: 6px 34px 0; border-bottom: 0; border-left: 1px solid var(--line-2); }
  .principle:first-child { border-left: 0; padding-left: 0; }
  .panels__grid { grid-template-columns: repeat(4, 1fr); min-height: 640px; }
  .panel, .panel:nth-child(odd) { border-left: 1px solid rgba(242,244,246,.2); border-bottom: 0 !important; padding: 26px 22px; }
  .panel:first-child { border-left: 0; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 40px 28px; }
  .split-feature { grid-template-columns: 1fr 1fr; gap: 70px; }
  .split-feature--rev > :first-child { order: 2; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid .pcard__body { padding: 16px 16px 18px; }
  .grid .pcard__name { font-size: 15px; }
  .cat-tiles { grid-template-columns: repeat(3, 1fr); }
  .cat-tile { min-height: 210px; padding: 28px 24px 22px; }
  .step { grid-template-columns: 90px 1fr 1fr; gap: 30px; padding: 34px 0; }
  .step h3 { margin: 6px 0 0; }
  .step p { grid-column: auto; }
  .product { grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
  .product__gallery { position: sticky; top: calc(var(--header) + 20px); }
  .checkout { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 40px; }
  .checkout .box--sticky { position: sticky; top: calc(var(--header) + 20px); }
  .form .row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 70px; }
  .loc-cards { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.2fr 2fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
  .fab-row { bottom: 24px; }
  .fab-row .container { padding: 0 24px; }
  .ai { bottom: 92px; left: 24px; }
  .section__head--row { grid-template-columns: 1fr 1fr; align-items: end; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}

@media (min-width: 1100px) {
  :root { --pad: 48px; }
  .nav { display: flex; gap: 36px; position: absolute; left: 50%; transform: translateX(-50%); }
  .burger { display: none; }
  .lang { display: flex; }
  .hero__content { padding-bottom: 48px; }
  .rail { grid-auto-columns: calc((100% - 42px) / 4); }
  .shop { grid-template-columns: 260px 1fr; gap: 48px; }
  .side { position: sticky; top: calc(var(--header) + 80px); inset: auto; transform: none; z-index: 1; background: transparent; padding: 0; border: 0; max-height: calc(100vh - var(--header) - 100px); overflow-y: auto; scrollbar-width: thin; }
  .side__head .x-btn, .filter-toggle, .side-overlay { display: none; }
  .shopbar { position: sticky; top: var(--header); transition: top .6s var(--ease); }
  .header.is-scrolled ~ * .shopbar { top: 64px; }
  body.hdr-hidden .header ~ * .shopbar { top: 0; }
  .search { flex: 1 1 220px; order: 0; }
  .shopbar .select { flex: 0 0 auto; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .cat-tiles { grid-template-columns: repeat(4, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .cursor, .cursor-ring { display: block; }
  .panels__grid { min-height: 720px; }
}

@media (min-width: 1500px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (hover: none) {
  .cursor, .cursor-ring { display: none !important; }
  .panel p { max-height: 120px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* faint ambient photo behind engraved icon plates */
.pv__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.pcard:hover .pv__bg { opacity: .3; transform: scale(1.08); }
