:root {
  --black: #050505;
  --black-2: #0c0c0c;
  --charcoal: #141414;
  --grey: #1c1c1c;
  --line: #2a2a2a;
  --mute: #8a8478;
  --silver: #c5c1b7;
  --paper: #f4f1ea;
  --white: #faf8f4;
  --gold: #c4a35a;
  --gold-2: #e8d5a3;
  --burgundy: #6b2d3c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --header: 84px;
  --announce: 36px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
.page-fade { position: fixed; inset: 0; background: #000; z-index: 80; animation: fadeOut .7s var(--ease) forwards; pointer-events: none; }
@keyframes fadeOut { to { opacity: 0; visibility: hidden; } }

.announce {
  background: var(--gold);
  color: #111;
  text-align: center;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5,5,5,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 32px; max-width: 1680px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border: 1px solid var(--gold);
  display: grid; place-items: center;
  font-size: 11px; letter-spacing: .12em; color: var(--gold);
}
.brand-name { font-family: var(--serif); letter-spacing: .28em; font-size: 15px; }
.main-nav { display: flex; gap: 22px; margin-left: auto; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav a { color: var(--silver); transition: color .25s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--gold); }
.has-mega { position: relative; }
.mega {
  position: absolute; left: 50%; top: 100%; transform: translate(-30%, 8px);
  width: min(920px, 80vw); background: #0e0e0e; border: 1px solid var(--line);
  padding: 24px; opacity: 0; pointer-events: none; transition: .25s var(--ease);
}
.has-mega:hover .mega { opacity: 1; pointer-events: auto; transform: translate(-30%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-grid a { display: block; padding: 10px 12px; letter-spacing: 0; text-transform: none; }
.mega-grid a strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--paper); letter-spacing: 0; }
.mega-grid a span { display: block; color: var(--mute); font-size: 12px; margin-top: 4px; }
.header-tools { display: flex; gap: 6px; margin-left: 12px; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; position: relative;
  background: transparent; border: 0; color: var(--paper); cursor: pointer;
}
.badge {
  position: absolute; top: 4px; right: 2px; background: var(--gold); color: #111;
  font-style: normal; font-size: 10px; min-width: 16px; height: 16px; border-radius: 99px;
  display: grid; place-items: center; font-weight: 500;
}
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; }
.nav-toggle span { display: block; height: 1px; background: #fff; margin: 6px 8px; }
.search-layer {
  display: none; position: sticky; top: 0; z-index: 39; background: #0b0b0b;
  border-bottom: 1px solid var(--line); padding: 16px 32px;
}
.search-layer.is-open { display: block; }
.search-form { max-width: 900px; margin: 0 auto; display: flex; gap: 12px; }
.search-form input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid var(--gold);
  padding: 12px 0; font-size: 22px; font-family: var(--serif);
}
.search-form button { background: var(--gold); color: #111; border: 0; padding: 0 22px; letter-spacing: .16em; text-transform: uppercase; font-size: 12px; cursor: pointer; }

.flash { margin: 0; padding: 14px 32px; text-align: center; letter-spacing: .08em; }
.flash-success { background: #14301c; }
.flash-error { background: #3a1418; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; padding: 14px 26px; letter-spacing: .18em;
  text-transform: uppercase; font-size: 11px; cursor: pointer; transition: .3s var(--ease);
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { background: var(--paper); color: #111; }
.btn-line { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn.sm { padding: 10px 16px; }
.btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }

.hero {
  min-height: calc(100vh - 120px); display: grid; grid-template-columns: 1.1fr .9fr;
  background: #000;
}
.hero-copy { padding: 8vh 8vw 8vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.kicker { color: var(--gold); letter-spacing: .42em; font-size: 11px; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(48px, 7vw, 108px); letter-spacing: .04em; margin: 18px 0 20px;
}
.hero p { max-width: 460px; color: var(--silver); font-size: 18px; margin-bottom: 32px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: ken 18s ease-in-out infinite alternate; }
@keyframes ken { to { transform: scale(1.12); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, transparent 30%);
}

.section { padding: 88px 6vw; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 56px); }
.section-head p, .lede { color: var(--mute); max-width: 420px; }

.featured-asymm {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px;
}
.featured-asymm .product-card:first-child { grid-row: span 2; }
.featured-asymm .product-card:first-child .card-media { height: 100%; min-height: 640px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--black-2); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.product-card:hover { transform: translateY(-6px); border-color: #3a3a3a; }
.card-media { display: block; position: relative; overflow: hidden; background: #101010; aspect-ratio: 4/5; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .card-media img { transform: scale(1.08); }
.card-flags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-flags span { background: #fff; color: #111; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 8px; }
.flag-sale { background: var(--gold) !important; }
.flag-oos { background: #3a1418 !important; color: #fff !important; }
.card-body { padding: 16px 16px 18px; }
.card-meta { color: var(--mute); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; }
.card-body h3 { font-size: 24px; }
.card-price { margin: 10px 0 14px; display: flex; gap: 10px; align-items: baseline; }
.card-price s { color: var(--mute); }
.card-price strong { color: var(--gold); font-family: var(--serif); font-size: 22px; font-weight: 500; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.wish-btn { background: none; border: 0; color: var(--gold); font-size: 20px; cursor: pointer; }
.wish-btn.is-on { color: #e8d5a3; }

.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 22vw); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.h-scroll .product-card { scroll-snap-align: start; }

.editorial {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; background: #090909;
}
.editorial img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.editorial-copy { padding: 8vw; display: flex; flex-direction: column; justify-content: center; }
.editorial-copy h2 { font-size: clamp(36px, 5vw, 72px); margin: 12px 0 18px; }
.editorial.flip { direction: rtl; }
.editorial.flip > * { direction: ltr; }

.mosaic { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.mosaic a { position: relative; overflow: hidden; display: block; background: #111; }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.75); transition: .6s; }
.mosaic a:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.9); }
.mosaic span {
  position: absolute; left: 20px; bottom: 18px; font-family: var(--serif); font-size: 28px;
}

.quote-band {
  text-align: center; padding: 100px 8vw; background: linear-gradient(#0a0a0a, #111);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quote-band blockquote { font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-style: italic; max-width: 900px; margin: 0 auto; }
.quote-band cite { display: block; margin-top: 18px; color: var(--gold); letter-spacing: .3em; font-style: normal; font-size: 11px; }

.newsletter {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: var(--charcoal); padding: 72px 6vw;
}
.newsletter h2 { font-size: 48px; margin: 10px 0 12px; }
.newsletter form { display: flex; gap: 0; border-bottom: 1px solid var(--gold); }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 14px 0; }
.newsletter button { background: none; border: 0; color: var(--gold); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }

.page-hero {
  min-height: 46vh; display: grid; place-items: end start; padding: 10vh 6vw 7vh;
  background: #111 center/cover no-repeat; position: relative;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.82) 70%); }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); }
.page-hero.compact { min-height: 32vh; }

.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding: 48px 6vw 90px; }
.filters { background: var(--black-2); border: 1px solid var(--line); padding: 24px; position: sticky; top: 110px; height: max-content; }
.filters h3 { font-size: 28px; margin-bottom: 18px; }
.filters label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin: 14px 0 6px; }
.filters input, .filters select {
  width: 100%; background: #0a0a0a; border: 1px solid var(--line); padding: 10px 12px;
}
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; color: var(--mute); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line);
}
.pagination .is-on { background: var(--gold); color: #111; border-color: var(--gold); }

.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 40px 6vw 80px; }
.pdp-gallery { position: sticky; top: 110px; height: max-content; background: #0d0d0d; overflow: hidden; }
.pdp-gallery img { width: 100%; min-height: 70vh; object-fit: cover; transition: transform 1s var(--ease); }
.pdp-gallery:hover img { transform: scale(1.06); }
.pdp-info .kicker { margin-bottom: 10px; }
.pdp-info h1 { font-size: clamp(40px, 5vw, 68px); }
.pdp-price { margin: 18px 0; font-family: var(--serif); font-size: 32px; color: var(--gold); }
.pdp-price s { color: var(--mute); font-size: 22px; margin-right: 10px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0; border-top: 1px solid var(--line); padding-top: 22px; }
.specs div span { display: block; color: var(--mute); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.qty-row { display: flex; gap: 12px; align-items: center; margin: 22px 0; }
.qty-row input { width: 72px; background: #0a0a0a; border: 1px solid var(--line); padding: 12px; text-align: center; }
.stock-ok { color: #8fca9a; }
.stock-low { color: var(--gold); }
.stock-out { color: #d48a8a; }
.reviews { padding: 0 6vw 90px; }
.review { border-top: 1px solid var(--line); padding: 22px 0; }
.stars { color: var(--gold); letter-spacing: 3px; }

.auth-wrap, .account-wrap, .cart-wrap { padding: 48px 6vw 90px; }
.auth-card, .form-card {
  max-width: 520px; margin: 0 auto; background: var(--black-2); border: 1px solid var(--line); padding: 40px;
}
.form-grid { display: grid; gap: 14px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
label.field { display: block; }
label.field span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], textarea, select {
  width: 100%; background: #0a0a0a; border: 1px solid var(--line); padding: 12px 14px; color: var(--paper);
}
textarea { min-height: 140px; resize: vertical; }
.help { color: var(--mute); font-size: 14px; }

.cart-layout { display: grid; grid-template-columns: 1.5fr .7fr; gap: 32px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.cart-item img { width: 110px; height: 130px; object-fit: cover; background: #111; }
.summary { background: var(--black-2); border: 1px solid var(--line); padding: 28px; height: max-content; position: sticky; top: 110px; }
.summary-row { display: flex; justify-content: space-between; margin: 10px 0; color: var(--silver); }
.summary-row.total { color: var(--gold); font-family: var(--serif); font-size: 28px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }

.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.side-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--silver); }
.side-nav a.is-on { color: var(--gold); }

.cat-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-tile { min-height: 280px; position: relative; overflow: hidden; display: flex; align-items: end; padding: 24px; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45); transition: .5s; }
.cat-tile:hover img { transform: scale(1.06); filter: brightness(.6); }
.cat-tile h3 { position: relative; font-size: 32px; }
.cat-tile:nth-child(1), .cat-tile:nth-child(7) { grid-column: span 2; min-height: 360px; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }

.site-footer { border-top: 1px solid var(--line); margin-top: 20px; }
.footer-marquee { overflow: hidden; border-bottom: 1px solid var(--line); }
.footer-marquee > div { display: flex; gap: 48px; white-space: nowrap; animation: marq 28s linear infinite; padding: 18px 0; font-family: var(--serif); font-size: 28px; letter-spacing: .2em; }
@keyframes marq { to { transform: translateX(-50%); } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 28px; padding: 56px 6vw; }
.footer-grid h4 { font-size: 18px; margin-bottom: 12px; color: var(--gold); }
.footer-grid a, .footer-grid p { display: block; color: var(--mute); margin: 6px 0; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 18px 6vw 28px; color: var(--mute); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 80px 20px; color: var(--mute); }
.gold { color: var(--gold); }
hr.line { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

@media (max-width: 1100px) {
  .hero, .editorial, .featured-asymm, .shop-layout, .pdp, .cart-layout, .account-grid, .contact-grid, .newsletter, .footer-grid, .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .featured-asymm .product-card:first-child { grid-row: auto; }
  .featured-asymm .product-card:first-child .card-media { min-height: 420px; }
  .mosaic a:first-child, .cat-tile:nth-child(1), .cat-tile:nth-child(7) { grid-column: auto; }
  .product-grid, .product-grid.cols-3, .cat-mosaic, .mega-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-gallery { position: static; }
  .pdp-gallery img { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header-inner { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0b0b0b; flex-direction: column; padding: 18px 22px 28px; gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .mega { position: static; transform: none; width: auto; opacity: 1; pointer-events: auto; border: 0; padding: 8px 0 0; }
  .mega-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3, .cat-mosaic, .form-grid.two, .specs { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .section, .shop-layout, .pdp, .auth-wrap, .cart-wrap { padding-left: 18px; padding-right: 18px; }
  .hero-copy, .editorial-copy { padding: 48px 22px; }
  .footer-base { flex-direction: column; }
}
