@import url("tokens.css");

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--bg);
  overflow-x: hidden;
}

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { background: #070808; }
body { background: transparent; }
body.menu-open { overflow: hidden; }
html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}
body.modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(196, 165, 116, 0.25); }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}

.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-brass {
  background: var(--brass);
  color: #16120c;
}
.btn-brass:hover { background: #d4b88a; }
.btn-ghost {
  background: transparent;
  border-color: rgba(237, 232, 223, 0.35);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.94), rgba(11, 11, 12, 0.72) 70%, transparent);
  transform: translateZ(0);
}
.site-nav.is-scrolled {
  background: rgba(11, 11, 12, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.18em;
}
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: min(170px, 46vw);
  filter: none;
}
.nav-logo span { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  min-width: 36px;
  min-height: 40px;
  padding: 6px;
}
.lang-btn.is-active { color: var(--brass); }
.cart-toggle {
  position: relative;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: none;
  align-items: center;
  justify-content: center;
}
.has-cart .cart-toggle { display: inline-flex; }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  background: var(--brass);
  color: #16120c;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--ink);
  width: 44px;
  height: 44px;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto;
  background: rgba(11, 11, 12, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 49;
  max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px));
  overflow: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a,
.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  min-height: 44px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  overflow: hidden;
}
.hero-media,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media video {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.hero-media video.is-on {
  opacity: 1;
  transform: translateZ(0);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.25) 0%, rgba(11,11,12,0.2) 40%, rgba(11,11,12,0.92) 100%),
    linear-gradient(90deg, rgba(11,11,12,0.55), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--wrap), calc(100% - 40px));
  padding: 0 0 88px;
}
.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  max-width: 14ch;
  margin: 0 0 18px;
  animation: titleIn 1.15s var(--ease) both;
}
.display-effect,
.page-hero h1,
.geo-faq h2 {
  background-image: linear-gradient(
    110deg,
    #f6efe4 0%,
    #c4a574 28%,
    #fff8ee 48%,
    #c4a574 68%,
    #ede8df 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero h1.display-effect { animation: titleIn 1.15s var(--ease) both; }
.section-head h2.display-effect,
.cta h2.display-effect {
  animation: none;
}
@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes titleIn {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
  }
}
.hero p {
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--brass);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll::after { content: " ↓"; }

/* Facts */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact {
  padding: 36px 20px;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: 0; }
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  color: var(--brass);
  font-weight: 600;
  line-height: 1.15;
}
.fact span { color: var(--muted); font-size: 0.85rem; }

/* Entity / FAQ */
.geo-entity {
  padding: 56px 0 8px;
}
.geo-entity-lead {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}
.geo-entity-lead strong { color: var(--ink); font-weight: 500; }

.made-az {
  padding: 0 0 48px;
}
.made-az .wrap {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 32px;
}
.made-az-kicker {
  margin: 0 0 8px;
  color: var(--brass);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.made-az h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.made-az p {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

.geo-faq {
  padding: 72px 0 96px;
}
.geo-faq h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 8px;
}
.geo-faq > div { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.geo-faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.geo-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.25s var(--ease);
}
.geo-faq summary:hover { color: var(--brass); }
.geo-faq summary::after {
  content: "+";
  color: var(--brass);
  font-size: 1.1rem;
  line-height: 1;
}
.geo-faq details[open] summary::after { content: "–"; }
.geo-faq summary::-webkit-details-marker { display: none; }
.geo-faq details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Gallery / cards */
.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.door-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.door-card:hover { border-color: var(--brass); }
.door-card .frame {
  background: #0a0908;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px 18px 12px;
}
.door-card img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
.door-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px 16px 18px;
  gap: 6px;
  min-width: 0;
}
.door-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.1vw + 0.75rem, 1.35rem);
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.door-meta .price {
  color: var(--brass);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
  content-visibility: auto;
  contain-intrinsic-size: 220px 560px;
}
.product-card:hover { border-color: var(--brass); }
.product-card .relative {
  background: #0a0908;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px 18px 12px;
}
.product-card .relative::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #0a0908 12%, #161412 50%, #0a0908);
  background-size: 200% 100%;
  animation: catalog-sheen 1.15s ease infinite;
  pointer-events: none;
}
.product-card img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.product-card img.is-in { opacity: 1; }
.product-card .relative:has(img.is-in)::before { opacity: 0; animation: none; }
.product-card:hover img { transform: none; }
@keyframes catalog-sheen {
  to { background-position: -200% 0; }
}
.product-card .p-6 { padding: 16px 16px 18px; }
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.1vw + 0.75rem, 1.35rem);
  line-height: 1.2;
  color: var(--ink);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
.product-card .absolute {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--brass);
  font-size: 0.8rem;
}
.add-to-cart-btn,
.page-btn,
.category-filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.category-filter.is-on,
.page-btn.is-on,
.category-filter.bg-gray-900 {
  border-color: var(--brass);
  color: var(--brass);
}
.category-filter:hover, .page-btn:hover, .add-to-cart-btn:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.catalog-static {
  grid-column: 1 / -1;
  margin-top: 12px;
}
.catalog-static-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.catalog-static-item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(237, 232, 223, 0.12);
  padding: 10px;
}
.catalog-static-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 330;
  object-fit: contain;
  background: #121214;
}
.catalog-static-name {
  font-size: 0.95rem;
}
.catalog-static-price {
  color: var(--brass, #c4a574);
  font-size: 0.9rem;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 28px;
}
.search {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.search input {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius);
}
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.crawler-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 18px 0 8px;
}
.crawler-list a { color: var(--ink); border-bottom: 1px solid transparent; }
.crawler-list a:hover { color: var(--brass); }

/* CTA phone */
.cta {
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta .phone {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5rem);
  display: block;
  margin: 12px 0 22px;
}
.cta .phone:hover { color: var(--brass); }
.phone {
  font-family: var(--font-display);
  display: block;
  overflow-wrap: anywhere;
}
.page-hero .phone {
  font-size: clamp(1.65rem, 8vw, 4.4rem);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
}

/* Page header */
.page-hero {
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 64px) 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  margin: 8px 0 12px;
}
.crumbs {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.crumbs a { color: var(--brass); }

.article {
  padding: 64px 0 88px;
}
.article .inner { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.article h2 {
  font-size: 2rem;
  margin: 36px 0 12px;
}
.article p, .article li { color: var(--muted); }
.article p { margin: 0 0 16px; }
.article ul { padding-left: 0; margin: 0 0 18px; }
.article li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.article a { color: var(--brass); }
.article-photo {
  width: 100%;
  height: auto;
  margin: 8px 0 24px;
  border: 1px solid var(--line);
  display: block;
}
.story-wide {
  width: min(1100px, calc(100% - 40px));
  margin: 4px auto 32px;
}
.story-wide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 28px;
}
.photo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.office-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
details summary { cursor: pointer; color: var(--brass); margin: 18px 0 8px; }
details[open] summary { margin-bottom: 12px; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.value {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 24px;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px;
}
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 12px;
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brass);
}
input.is-error, textarea.is-error { border-color: var(--danger); }
.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.75rem;
  margin-top: 6px;
}
.field-error[hidden] { display: none; }
.map-hold {
  min-height: 280px;
  border: 1px dashed var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map-hold iframe { width: 100%; height: 280px; border: 0; }

.hours { display: grid; gap: 10px; }
.hours div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
}
.site-footer h3 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 16px;
}
.site-footer a, .site-footer li, .site-footer p { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.socials { display: flex; gap: 14px; margin-top: 16px; }
.hashtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 0;
}
.hashtags a {
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.hashtags a:hover { color: var(--ink); }
.hashtag-phrases {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.site-footer .hashtags { margin-top: 14px; }

/* Partners / export */
.partners-band {
  border-top: 1px solid var(--line);
  padding: 56px 0;
  background: var(--bg-elev);
}
.partners-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: end;
}
.partners-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.partners-inner p {
  margin: 0;
  max-width: 52ch;
}
.partners-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.seo-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.insta-grid a {
  aspect-ratio: 1;
  overflow: hidden;
  background: #0a0908;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.insta-grid img {
  width: auto;
  max-width: 86%;
  max-height: 92%;
  object-fit: contain;
}
.insta-embed {
  margin: 8px 0 28px;
  color-scheme: light;
  position: relative;
  width: min(720px, 100%);
  margin-inline: auto;
  overflow: hidden;
  container-type: inline-size;
}
.ig-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 118px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0b0b0c;
  border: 1px solid var(--line);
  border-bottom: 0;
  color: var(--ink);
  font-size: 0.95rem;
}
.ig-cover img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.ig-frame {
  display: block;
  width: 100%;
  /* IG profile header (~150px) + two square rows of three posts */
  height: calc(150px + (200cqw / 3));
  max-height: 640px;
  border: 1px solid var(--line);
  background: #0b0b0c;
}
.insta-embed .instagram-media {
  margin: 0 auto !important;
  max-width: min(720px, 100%) !important;
  min-width: 0 !important;
  width: 100% !important;
}
.legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.78);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom, 0px));
  overflow: hidden;
  overscroll-behavior: none;
}
.modal-content {
  width: min(1080px, 100%);
  height: min(94vh, 900px);
  max-height: 94vh;
  overflow: hidden;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: minmax(0, 1fr);
}
.modal-photo {
  background: #0a0908;
  display: grid;
  place-items: center;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.modal-main-image {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.modal-body {
  padding: 24px 28px 32px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.modal-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.modal-close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(11, 11, 12, 0.92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
.modal-close:hover { color: var(--brass); border-color: var(--brass); }
.modal-color-info {
  margin: 10px 0 0;
  color: var(--brass);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.modal-note { margin: 6px 0 0; font-size: 0.88rem; }
.modal-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brass);
  margin: 14px 0 18px;
}
.modal-label {
  margin: 18px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.swatch-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}
.swatch-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  cursor: pointer;
  overflow: hidden;
  min-height: 44px;
}
.swatch-row img {
  width: 22px;
  height: 32px;
  object-fit: contain;
  background: #111;
  justify-self: center;
}
.swatch-row span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.swatch-row.is-on {
  border-color: var(--brass);
  color: var(--ink);
}
.spec-list { margin-top: 4px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.spec-row span:last-child { color: var(--ink); }
.include-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.include-list li {
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

.cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(360px, 100%);
  background: var(--bg-elev);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  z-index: 70;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
}
.cart.cart-open { transform: translateX(0); }
.cart-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 28px;
  height: 40px;
  object-fit: contain;
}
.cart-item button {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
}
.cart-total {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.cart-total strong { color: var(--brass); font-family: var(--font-display); font-size: 1.4rem; }

.loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 80px 0;
}
.loading::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 2px solid var(--line);
  border-top-color: var(--brass);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.pagination { text-align: center; margin: 32px 0 40px; }
.pagination-nav { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brass-deep); }

@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-inner { gap: 10px; }
  .wrap, .nav-inner, .hero-content {
    width: min(var(--wrap), calc(100% - 28px));
  }
  .article .inner, .geo-entity-lead, .geo-faq > div {
    width: min(760px, calc(100% - 28px));
  }
  .facts {
    grid-template-columns: 1fr 1fr;
  }
  .fact {
    padding: 22px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .fact:nth-child(2n) { border-right: 0; }
  .facts .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .partners-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .partners-actions { justify-content: flex-start; }
  .gallery, .models-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .values, .contact-grid, .modal-content, .form-row {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-scroll { bottom: 16px; }
  .hero-content { padding-bottom: 48px; }
  .hero h1 { font-size: clamp(2.15rem, 11vw, 3.6rem); max-width: none; }
  .hero p { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 140px; }
  .section { padding: 56px 0; }
  .cta { padding: 56px 0; }
  .article { padding: 40px 0 56px; }
  .story-wide { width: calc(100% - 28px); }
  .page-hero { padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px) 0 32px; }
  .page-hero h1 { font-size: clamp(2rem, 10vw, 3.4rem); }
  .geo-faq { padding: 48px 0 64px; }
  .panel { padding: 20px; }
  .crawler-list { grid-template-columns: 1fr; }
  .modal-overlay {
    padding: 0;
    place-items: stretch;
  }
  .modal-content {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 100dvh;
    border: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .modal-photo {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 16px 12px;
  }
  .modal-main-image { max-height: 46vh; width: auto; height: auto; object-fit: contain; }
  .modal-body {
    padding: 18px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .modal-head { padding-right: 0; }
  .category-filters { width: 100%; }
  .category-filter { flex: 1 1 calc(50% - 8px); text-align: center; }
  .page-btn, .category-filter {
    min-height: 44px;
    padding: 12px 16px;
  }
  .hours div {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .modal-actions .btn { flex: 1 1 140px; }
  .office-photo { aspect-ratio: 16 / 10; }
}

@media (max-width: 560px) {
  .nav-logo span { display: none; }
  .gallery, .footer-grid { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .door-meta { padding: 12px 10px 14px; gap: 4px; }
  .door-meta h3,
  .product-card h3 { font-size: 0.98rem; line-height: 1.2; }
  .cta .phone { font-size: clamp(1.55rem, 8vw, 2.4rem); }
  .photo-grid { gap: 8px; }
  .fact b { font-size: 1.25rem; }
  .fact span { font-size: 0.75rem; }
}

@media (max-width: 400px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .door-card img, .product-card img, .orb, .mesh, .lines, .loading::before, .eyebrow,
  .hero h1, .display-effect, .page-hero h1, .geo-faq h2, .section-head h2.display-effect, .cta h2.display-effect {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
  }
  .display-effect, .page-hero h1, .geo-faq h2 {
    background: none;
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
  }
  .product-card .relative::before { animation: none; opacity: 0; }
  .product-card img { opacity: 1; }
}
@media (hover: none) {
  .door-card:hover img, .product-card:hover img { transform: none; }
  .btn:hover { transform: none; }
}

/* Skip, progress, animated background */
.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brass);
  color: #16120c;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  pointer-events: none;
  background: transparent;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0);
  will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-a {
  width: 58vw;
  height: 58vw;
  left: -16%;
  top: -14%;
  background: radial-gradient(circle at 38% 32%, rgba(196, 165, 116, 0.28), transparent 68%);
}
.orb-b {
  width: 42vw;
  height: 42vw;
  right: -12%;
  top: 32%;
  background: radial-gradient(circle at 60% 40%, rgba(196, 165, 116, 0.2), transparent 70%);
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}
.orb-c {
  width: 36vw;
  height: 36vw;
  left: 28%;
  bottom: -18%;
  background: radial-gradient(circle at 40% 40%, rgba(168, 137, 79, 0.16), transparent 70%);
  animation-duration: 30s;
}
.mesh {
  position: absolute;
  inset: -25%;
  transform: translateZ(0);
  background:
    radial-gradient(ellipse 42% 36% at 18% 18%, rgba(196, 165, 116, 0.22), transparent 58%),
    radial-gradient(ellipse 38% 44% at 82% 62%, rgba(196, 165, 116, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 28% at 50% 108%, rgba(168, 137, 79, 0.12), transparent 58%);
  animation: meshMove 22s ease-in-out infinite alternate;
}
.lines {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(196, 165, 116, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 165, 116, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: radial-gradient(rgba(237, 232, 223, 0.5) 0.6px, transparent 0.8px);
  background-size: 4px 3px;
}
body.is-scrolling .orb,
body.is-scrolling .mesh {
  animation-play-state: paused;
}
body.is-scrolling .grain { opacity: 0; }
@keyframes drift {
  to { transform: translate3d(8%, 12%, 0) scale(1.12); }
}
@keyframes meshMove {
  from { transform: translate3d(-2%, -3%, 0) rotate(0deg); }
  to { transform: translate3d(3%, 4%, 0) rotate(6deg); }
}
@keyframes gridShift {
  to { background-position: 72px 72px; }
}

.hero, .facts, .section, .geo-entity, .geo-faq, .page-hero, .article, .cta, .site-footer, .lookbook, .partners-band {
  position: relative;
  z-index: 1;
}
.site-nav { z-index: 50; }
.mobile-menu { z-index: 49; }
.cart { z-index: 70; }

.eyebrow {
  animation: kicker 1.2s var(--ease) both;
}
@keyframes kicker {
  from { opacity: 0; letter-spacing: 0.5em; }
  to { opacity: 1; letter-spacing: 0.28em; }
}

.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.lang-btn:hover { color: var(--ink); }

/* Scrolling stack */
.stack {
  display: grid;
  gap: 48vh;
  padding: 6vh 0 18vh;
}
.stack-card {
  position: sticky;
  top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 18px + (var(--i, 0) * 22px));
  width: min(520px, 100%);
  margin-inline: auto;
  z-index: calc(2 + var(--i, 0));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  transform-origin: center top;
}
.stack-card .frame { aspect-ratio: 3 / 4.1; min-height: 52vh; }

/* Dark Instagram + sliding gallery */
.ig-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  margin-bottom: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  transition: border-color 0.35s var(--ease);
}
.ig-card:hover { border-color: var(--brass); }
.ig-avatar-wrap {
  width: 80px;
  height: 80px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.ig-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
  padding: 0;
  filter: none;
}
.ig-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.ig-card p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }

.slider-wrap {
  position: relative;
}
.slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider::-webkit-scrollbar { display: none; }
.slider-track {
  display: flex;
  gap: 16px;
  padding: 4px 48px 12px;
}
.slide {
  flex: 0 0 min(72%, 420px);
  scroll-snap-align: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0908;
  transition: border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.slide:hover { border-color: var(--brass); }
.slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.slide:hover img { transform: scale(1.05); }
.slide:last-child { flex-basis: min(82%, 560px); }
.slide:last-child img { aspect-ratio: 16 / 10; }
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.78);
  color: var(--brass);
  font-size: 1.6rem;
  line-height: 1;
}
.slider-btn:hover { border-color: var(--brass); color: var(--ink); }
.slider-btn.is-prev { left: 0; }
.slider-btn.is-next { right: 0; }

.float-contact {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: grid;
  gap: 10px;
}
.float-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--brass);
  border-radius: var(--radius);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.float-btn:hover {
  background: var(--brass);
  color: #16120c;
  transform: translateY(-2px);
}

.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 7, 6, 0.78);
}
.confirm-overlay[hidden] { display: none; }
.confirm-box {
  width: min(420px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px 24px;
}
.confirm-box h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}
.confirm-box p { color: var(--muted); margin: 0 0 22px; }

.page-404 { min-height: 70svh; display: grid; align-content: center; }
.legal p { margin: 0 0 6px; }

/* Lookbook interiors */
.lookbook {
  padding: 28px 0 72px;
  border-top: 1px solid var(--line);
}
.lookbook-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.lookbook-head h2 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.lookbook-head p { margin: 0; max-width: 42ch; }
.lookbook-stage {
  position: relative;
}
.lookbook-stage::before,
.lookbook-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: min(72px, 8vw);
  z-index: 2;
  pointer-events: none;
}
.lookbook-stage::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.lookbook-stage::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.lookbook-rail {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(20px, calc((100vw - min(var(--wrap), calc(100% - 40px))) / 2));
  padding: 18px max(20px, calc((100vw - min(var(--wrap), calc(100% - 40px))) / 2)) 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lookbook-rail::-webkit-scrollbar { display: none; }
.lookbook-card {
  appearance: none;
  flex: 0 0 min(38vw, 360px);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0a0908;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: center;
  transition: border-color 0.45s var(--ease), transform 0.7s var(--ease);
}
.lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.2s var(--ease), filter 0.7s var(--ease);
}
.lookbook-card.is-on {
  border-color: var(--brass);
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.lookbook-card.is-on img { transform: scale(1); }
.lookbook-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 6, 0.82));
  pointer-events: none;
}
.lookbook-meta i {
  display: block;
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 4px;
}
.lookbook-meta strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.02em;
}
.lookbook-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(11, 11, 12, 0.72);
  color: var(--brass);
  font-size: 1.7rem;
  line-height: 1;
  border-radius: var(--radius);
}
.lookbook-nav:hover {
  border-color: var(--brass);
  color: var(--ink);
}
.lookbook-nav.is-prev { left: max(8px, env(safe-area-inset-left)); }
.lookbook-nav.is-next { right: max(8px, env(safe-area-inset-right)); }
.lookbook-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.lookbook-dots button {
  width: 22px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(237, 232, 223, 0.22);
  border-radius: 1px;
  transition: background 0.35s var(--ease), width 0.45s var(--ease);
}
.lookbook-dots button.is-on {
  width: 36px;
  background: var(--brass);
}

.look-lb {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 20px max(12px, env(safe-area-inset-right)) 20px max(12px, env(safe-area-inset-left));
  background: rgba(7, 6, 5, 0.92);
}
.look-lb[hidden] { display: none; }
.look-lb-frame {
  margin: 0;
  display: grid;
  justify-items: center;
  max-height: 92vh;
}
.look-lb-frame img {
  max-width: min(100%, 720px);
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}
.look-lb-frame figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: min(100%, 720px);
  margin-top: 14px;
}
.look-lb-frame i {
  font-style: normal;
  color: var(--brass);
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  text-transform: uppercase;
}
.look-lb-frame strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
}
.look-lb-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.6rem;
}
.look-lb-close:hover { border-color: var(--brass); color: var(--brass); }
.look-lb .lookbook-nav { position: static; transform: none; }
html.look-open,
html.look-open body { overflow: hidden; }

@media (max-width: 960px) {
  .stack { gap: 28vh; padding: 4vh 0 12vh; }
  .stack-card .frame { min-height: 44vh; }
  .slide { flex-basis: min(84%, 320px); }
  .slider-track { padding-left: 40px; padding-right: 40px; }
  .lookbook { padding: 20px 0 56px; }
  .lookbook-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .lookbook-card { flex-basis: min(78vw, 320px); }
  .lookbook-nav { width: 40px; height: 40px; }
  .look-lb {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    padding: 56px 12px 16px;
  }
  .look-lb .look-lb-prev,
  .look-lb .look-lb-next { display: none; }
  .look-lb-frame figcaption { flex-direction: column; align-items: flex-start; }
}
@media (hover: none) {
  .slide:hover img { transform: none; }
  .lookbook-card img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lookbook-card,
  .lookbook-card img { transition: none; }
}

