/* =========================================================
   WASIAT — Curated Wardrobe
   Editorial fashion storefront
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

:root {
  --cream: #F3F0E9;
  --paper: #FBF9F4;
  --sand: #E6DFD1;
  --ink: #14120F;
  --ink-soft: #3C382F;
  --muted: #7C7466;
  --line: #DCD5C7;
  --accent: #8A3B22;
  --accent-soft: #C08A72;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 112px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

section[id], .outfit-detail { scroll-margin-top: 92px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--cream); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
  padding-bottom: clamp(28px, 3.4vw, 44px);
  margin-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 38ch;
  padding-bottom: 6px;
}

/* ---------- Announcement ---------- */
.announce {
  background: var(--ink);
  color: var(--cream);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 11px 16px;
  position: relative;
  z-index: 60;
  line-height: 1.4;
}
.announce b { font-weight: 500; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 240, 233, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
}
.nav-left { display: flex; align-items: center; gap: 30px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 26px; }

.nav-link {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.logo {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.26em;
  line-height: 1;
  padding-left: 0.26em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  position: relative;
  transition: opacity .25s;
}
.icon-btn:hover { opacity: .5; }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.4; }

.bag-count {
  position: absolute;
  top: 1px; right: -1px;
  min-width: 15px; height: 15px;
  padding: 0 4px;
  background: var(--accent);
  color: #fff;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.bag-count.show { transform: scale(1); }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: min(760px, calc(100vh - 112px));
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 5vw, 72px) clamp(24px, 3vw, 48px) clamp(44px, 5vw, 64px);
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.hero-kicker .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 2.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.75); }
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 26px;
}
.hero h1 .line { display: block; }
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  padding-left: clamp(16px, 3vw, 44px);
}

.hero-desc {
  max-width: 40ch;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  transition: background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform .35s var(--ease); }
.btn:hover { background: transparent; color: var(--ink); }
.btn:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost:hover { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }

.hero-meta {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(24px, 3.4vw, 48px);
}
.hero-meta div strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
}
.hero-meta div span {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.hero-media { position: relative; overflow: hidden; background: var(--sand); min-height: 100%; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.01);
  transition: transform 1.8s var(--ease);
}
.hero-media:hover img { transform: scale(1.05); }

.hero-caption {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 288px;
}
.hero-caption .num {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}
.hero-caption p { font-size: 10px; line-height: 1.55; letter-spacing: 0.02em; color: var(--ink-soft); }
.hero-caption p b { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 8.5px; color: var(--ink); margin-bottom: 2px; }

.hero-scroll {
  position: absolute;
  right: 22px; bottom: 26px;
  writing-mode: vertical-rl;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 42px;
  background: rgba(255,255,255,.6);
}

/* ---------- Marquee ---------- */
.marquee {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: var(--paper);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  color: var(--ink-soft);
}
.marquee-track span::after {
  content: '✦';
  font-family: var(--sans);
  font-size: 9px;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Lookbook ---------- */
.lookbook { padding: var(--section) 0; }

.look-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}

.look-card { display: flex; flex-direction: column; }

.look-media {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 4.05;
}
.look-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.look-card:hover .look-media img { transform: scale(1.045); }

.look-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(251,249,244,.94);
  backdrop-filter: blur(6px);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 7px 11px;
  line-height: 1;
}

.look-open {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(20,18,15,.36), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.look-card:hover .look-open { opacity: 1; transform: translateY(0); }
.look-open button {
  background: var(--paper);
  color: var(--ink);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.look-open button svg { width: 11px; height: 11px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.look-info {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.look-info .idx {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
}
.look-info h3 {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.look-info p {
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.4;
}

/* ---------- Statement ---------- */
.statement {
  background: var(--ink);
  color: var(--cream);
  padding: var(--section) 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: 'WASIAT';
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(120px, 24vw, 340px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,.032);
  pointer-events: none;
  white-space: nowrap;
}
.statement .container { position: relative; }
.statement .eyebrow { color: rgba(243,240,233,.5); }
.statement blockquote {
  font-family: var(--serif);
  font-size: clamp(30px, 4.2vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 21ch;
  margin: 28px 0 38px;
}
.statement blockquote em { font-style: italic; color: var(--accent-soft); }
.statement .statement-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
}
.statement .statement-foot p { max-width: 46ch; font-size: 12.5px; color: rgba(243,240,233,.62); line-height: 1.85; }
.statement .statement-foot span { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,240,233,.45); white-space: nowrap; }

/* ---------- Outfit detail ---------- */
.outfit-detail {
  padding: var(--section) 0;
  border-bottom: 1px solid var(--line);
}
.outfit-detail:nth-of-type(even) { background: var(--paper); }

.detail-grid {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}

.detail-media { position: sticky; top: 108px; }
.detail-media .frame {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  aspect-ratio: 3 / 4;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .look-no {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--paper);
  font-size: 8.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 11px;
  font-weight: 500;
  line-height: 1;
}
.detail-media .media-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-head { margin-bottom: 30px; }
.detail-head h3 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 14px 0;
}
.detail-head h3 em { font-style: italic; color: var(--accent); }
.detail-head > p { max-width: 56ch; font-size: 13px; color: var(--ink-soft); line-height: 1.85; }

.piece-list { border-top: 1px solid var(--line); }
.piece {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left .35s var(--ease);
}
.piece:hover { padding-left: 6px; }
.piece .pnum {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.piece .pcat {
  font-size: 8.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
  line-height: 1;
}
.piece h4 {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 400;
  line-height: 1.28;
  margin-bottom: 3px;
}
.piece .brand { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.piece .pspec {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 8px;
  max-width: 52ch;
}

.detail-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--sand);
}
.detail-note span {
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.4;
}
.detail-note b { font-weight: 500; }
.detail-actions { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Products ---------- */
.products { padding: var(--section) 0; background: var(--paper); border-top: 1px solid var(--line); }

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter {
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  transition: all .3s var(--ease);
  color: var(--muted);
  line-height: 1;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.result-count { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: stretch;
}

.product-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  position: relative;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -30px rgba(20,18,15,.5); }
.product-card.hidden { display: none; }

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  background: var(--sand);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--paper);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 9px;
  line-height: 1;
}
.quick-view {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s;
}
.quick-view svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.product-card:hover .quick-view { opacity: 1; transform: translateY(0); }
.quick-view:hover { background: var(--ink); }
.quick-view:hover svg { stroke: var(--cream); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 7px; line-height: 1; }
.product-name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.22;
  font-weight: 400;
  margin-bottom: 3px;
}
.product-brand { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.product-spec { font-size: 11.5px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 18px; }
.product-spec b { font-weight: 500; color: var(--ink); }
.product-foot { margin-top: auto; }
.product-foot button {
  width: 100%;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s;
  line-height: 1;
}
.product-foot button:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; }
.faq-grid {
  display: grid;
  grid-template-columns: 36% minmax(0, 64%);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
}
.faq-intro { position: sticky; top: 112px; }
.faq-intro h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
}
.faq-intro h2 em { font-style: italic; color: var(--accent); }
.faq-intro p { font-size: 12.5px; color: var(--muted); line-height: 1.85; max-width: 34ch; margin-bottom: 24px; }
.faq-intro .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  line-height: 1.4;
}
.faq-intro .contact-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.3;
  font-weight: 400;
  transition: color .3s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .qnum { font-family: var(--sans); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); padding-top: 8px; min-width: 22px; line-height: 1; }
.faq-q .qtext { flex: 1; }
.faq-icon {
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform .35s var(--ease), background .3s;
}
.faq-icon::before { width: 9px; height: 1px; }
.faq-icon::after { width: 1px; height: 9px; }
.faq-item.open .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(90deg); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--cream); }
.faq-item.open .faq-icon::after { transform: scaleY(0); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq-a-inner {
  padding: 0 48px 26px 22px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 64ch;
}
.faq-a-inner b { font-weight: 500; color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding: clamp(52px, 6.5vw, 84px) 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.newsletter h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.newsletter h2 em { font-style: italic; color: var(--accent); }
.newsletter p { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 12px; max-width: 42ch; }
.news-form { display: flex; border-bottom: 1px solid var(--ink); padding-bottom: 9px; gap: 12px; }
.news-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  padding: 8px 0;
}
.news-form input::placeholder { color: var(--muted); }
.news-form button {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  line-height: 1;
}
.news-form button svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.news-note { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(48px, 6vw, 72px) 0 26px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer-brand .logo { color: var(--cream); font-size: 26px; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 12px; color: rgba(243,240,233,.55); line-height: 1.85; max-width: 32ch; }
.footer-col h5 { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,240,233,.42); margin-bottom: 14px; font-weight: 500; line-height: 1; }
.footer-col a { display: block; font-size: 11.5px; color: rgba(243,240,233,.78); padding: 5px 0; transition: color .25s, padding-left .25s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(243,240,233,.4);
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { transition: color .25s; }
.footer-socials a:hover { color: #fff; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(18,16,13,.55); backdrop-filter: blur(5px); }
.modal-panel {
  position: relative;
  background: var(--paper);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 44% 56%;
  transform: translateY(16px) scale(.99);
  transition: transform .45s var(--ease);
}
.modal.open .modal-panel { transform: translateY(0) scale(1); }
.modal-media { background: var(--sand); min-height: 100%; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: clamp(26px, 3.2vw, 40px); }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: var(--paper);
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background .25s;
}
.modal-close:hover { background: var(--sand); }
.modal-close svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.5; }
.modal-cat { font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 500; line-height: 1; }
.modal-content h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  font-weight: 400;
  margin: 9px 0 4px;
}
.modal-brand { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.modal-desc { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); margin-bottom: 22px; }
.spec-table { border-top: 1px solid var(--line); margin-bottom: 20px; }
.spec-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
}
.spec-row dt { color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-size: 8.5px; padding-top: 3px; line-height: 1.4; }
.spec-row dd { color: var(--ink); line-height: 1.5; }
.size-label { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display: block; }
.size-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.size-chip {
  font-size: 10px;
  min-width: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all .25s;
  line-height: 1;
}
.size-chip:hover, .size-chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; padding: 15px 18px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease);
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  white-space: nowrap;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast svg { width: 13px; height: 13px; stroke: var(--accent-soft); fill: none; stroke-width: 2; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 90;
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform .55s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.3;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.mobile-menu-foot { margin-top: auto; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.9; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 50% 50%; min-height: auto; }
  .hero h1 { font-size: clamp(48px, 6vw, 78px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto 1fr; height: 66px; }
  .nav-left .nav-link, .nav-right .nav-link { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 34px; height: 34px; justify-self: start; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: var(--ink); position: relative; }
  .menu-toggle span::before, .menu-toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: var(--ink);
  }
  .menu-toggle span::before { top: -5px; }
  .menu-toggle span::after { top: 5px; }
  .nav-right { gap: 10px; }
  .nav-right .icon-btn:first-child { display: none; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 2; padding: 44px var(--gutter) 52px; }
  .hero-media { order: 1; aspect-ratio: 4 / 4.2; }
  .hero h1 { font-size: clamp(52px, 12vw, 82px); }
  .hero-scroll { display: none; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head > p { padding-bottom: 0; }

  .look-grid { grid-template-columns: 1fr; gap: 40px; }
  .look-media { aspect-ratio: 3 / 3.7; }

  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .detail-media { position: static; }
  .detail-media .frame { aspect-ratio: 3 / 3.4; }

  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 26px; }
  .statement .statement-foot { grid-template-columns: 1fr; gap: 16px; }

  .modal-panel { grid-template-columns: 1fr; max-height: 88vh; }
  .modal-media { max-height: 240px; }
  .modal-media img { height: 240px; }
}

@media (max-width: 560px) {
  .announce { font-size: 8px; letter-spacing: .12em; padding: 10px 14px; }
  .logo { font-size: 21px; letter-spacing: .22em; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-meta div strong { font-size: 21px; }
  .hero-meta div span { font-size: 8px; letter-spacing: .1em; white-space: normal; }
  .detail-note { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
  .faq-q { font-size: 18px; gap: 14px; }
  .faq-a-inner { padding: 0 0 24px 22px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .modal { padding: 12px; }
  .modal-actions { flex-direction: column; }
  .hero-caption { left: 12px; bottom: 12px; padding: 10px 12px; max-width: 250px; }
  .hero-caption .num { font-size: 18px; }
  .detail-actions .btn { flex: 1; }
  .toast { white-space: normal; text-align: center; max-width: calc(100vw - 32px); }
}

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