/* ─── TOKENS ─── */
:root {
  --black:     #0A0A08;
  --white:     #FAFAF8;
  --accent:    #FF3D8B;
  --off-white: #F4F1EE;
  --w100:      #EDE8E2;
  --w200:      #DDD6CE;
  --w300:      #C8BFB5;
  --muted:     #6B6560;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --nav-h:     68px;
  --max:       1440px;
  --px:        clamp(20px, 5vw, 80px);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--px);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(250,250,248,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--w100);
}

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a {
  font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 400; color: var(--black);
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.nav.solid .nav-links a { opacity: .6; pointer-events: auto; }
.nav.solid .nav-links a:hover { opacity: 1; }

.nav-brand {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  cursor: pointer;
}
.nav-brand { color: var(--black); }
.nav:not(.solid) .nav-brand { color: var(--white); }
.nav-logo-mark { display: block; width: 36px; height: auto; color: inherit; }

.nav-wordmark {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  letter-spacing: .38em; text-transform: uppercase; line-height: 1;
  color: inherit;
}

.nav-actions { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.icon-btn {
  background: none; border: none; padding: 6px;
  color: inherit; opacity: .72; cursor: pointer;
  transition: opacity .2s; position: relative; line-height: 0;
}
.nav:not(.solid) .icon-btn { color: var(--white); }
.icon-btn:hover { opacity: 1; }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 7.5px; font-weight: 500; letter-spacing: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ─── HERO ─── */
.hero {
  height: 100svh; min-height: 580px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(148deg, #D2C9BC 0%, #BDB2A5 55%, #A89E93 100%);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,8,.72) 0%, rgba(10,10,8,.28) 45%, rgba(10,10,8,.05) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--px) clamp(48px, 8vh, 96px);
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(250,250,248,.55); margin-bottom: 22px; font-weight: 400;
}
.hero-headline {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(46px, 8.5vw, 100px); line-height: 1.0;
  color: var(--white); margin-bottom: 42px;
  max-width: 740px; text-wrap: balance;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 400; padding: 14px 30px;
  border: 1px solid; cursor: pointer;
  transition: background .26s, color .26s, border-color .26s;
}
.btn-ghost-white {
  color: var(--white); border-color: rgba(250,250,248,.4); background: transparent;
}
.btn-ghost-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-ghost-black {
  color: var(--black); border-color: var(--black); background: transparent;
}
.btn-ghost-black:hover { background: var(--black); color: var(--white); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { filter: brightness(.88); }

/* ─── TICKER ─── */
.ticker-wrap {
  overflow: hidden; border-top: 1px solid var(--w100); border-bottom: 1px solid var(--w100);
  padding: 12px 0; background: var(--white); position: relative; z-index: 1;
}
.ticker-track {
  display: flex; white-space: nowrap;
  animation: slide 24s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick {
  display: inline-flex; align-items: center; gap: 24px;
  padding: 0 24px;
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.tick-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); display: inline-block; flex-shrink: 0;
}

/* ─── SECTION HEADER ─── */
.sh {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(56px, 8vw, 96px) var(--px) 28px;
  max-width: var(--max); margin: 0 auto;
}
.sh-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 400; }
.sh-link {
  font-size: 10px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--w200); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.sh-link:hover { color: var(--black); border-color: var(--black); }

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; padding: 0 var(--px);
  max-width: var(--max); margin: 0 auto;
}
.product-card { cursor: pointer; }
.pimg-wrap { overflow: hidden; aspect-ratio: 3/4; background: var(--w100); }
.pimg {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .pimg { transform: scale(1.05); }
.pmeta { padding: 13px 0 4px; }
.pname { font-family: var(--serif); font-size: 17px; font-weight: 400; letter-spacing: .01em; }
.pprice { font-size: 12.5px; color: var(--muted); margin-top: 3px; font-weight: 300; }

/* ─── MANIFESTO ─── */
.manifesto {
  background: var(--black); color: var(--white);
  padding: clamp(80px, 12vw, 144px) var(--px);
  text-align: center; margin-top: 64px;
}
.manifesto-q {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 4.8vw, 60px); line-height: 1.35;
  max-width: 880px; margin: 0 auto 28px; text-wrap: balance;
}
.manifesto-attr {
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(250,250,248,.28); font-weight: 400;
}

/* ─── BRAVÍSIMA ─── */
.brav-wrap {
  display: grid; grid-template-columns: 6fr 5fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(60px, 8vw, 96px) var(--px);
  max-width: var(--max); margin: 0 auto;
  align-items: center;
}
.brav-img {
  aspect-ratio: 2/3; position: relative; overflow: hidden;
  background: linear-gradient(148deg, #181816 0%, #2A2A28 100%);
}
.brav-img img {
  width: 100%; height: 100%; display: block;
  object-fit: cover;
}
.brav-label {
  display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; font-weight: 400;
}
.brav-title {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(50px, 7vw, 86px); line-height: .92; margin-bottom: 28px;
}
.brav-body {
  font-size: 14.5px; color: var(--muted); line-height: 1.8;
  margin-bottom: 36px; max-width: 370px;
}
.brav-featured {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--w100);
}
.brav-feat-label {
  display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.brav-feat-row { display: flex; justify-content: space-between; align-items: baseline; }
.brav-feat-name { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.brav-feat-price { font-size: 12.5px; color: var(--muted); font-weight: 300; }

/* ─── SIZE GUIDE ─── */
.sg {
  background: var(--off-white);
  border-top: 1px solid var(--w100); border-bottom: 1px solid var(--w100);
  padding: clamp(64px, 9vw, 108px) var(--px);
}
.sg-inner { max-width: 560px; margin: 0 auto; text-align: center; }
.sg-tag {
  display: block; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.sg-title {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 52px);
  font-weight: 400; line-height: 1.15; margin-bottom: 18px;
}
.sg-body { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: 36px; }
.text-cta {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--black); padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.text-cta:hover { color: var(--accent); border-color: var(--accent); }

/* ─── LOOKBOOK ─── */
.lookbook {
  padding: clamp(56px, 8vw, 96px) var(--px);
  max-width: var(--max); margin: 0 auto;
}
.look-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 28px;
}
.look-tile { position: relative; overflow: hidden; cursor: pointer; background: var(--w100); }
.look-img {
  width: 100%; aspect-ratio: 4/5; display: block;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.25,.46,.45,.94);
}
.look-tile:hover .look-img { transform: scale(1.04); }
.look-over {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 28px 28px;
  background: linear-gradient(to top, rgba(10,10,8,.72) 0%, transparent 100%);
  color: var(--white);
}
.look-tag {
  display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  opacity: .55; margin-bottom: 8px;
}
.look-title {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400; font-style: italic;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--black); color: var(--white);
  padding: clamp(56px, 8vw, 96px) var(--px) 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 30px;
}
.f-logo { display: block; width: clamp(180px, 22vw, 260px); height: auto; margin-bottom: 28px; }
.f-socials { display: flex; gap: 16px; }
.f-social { color: rgba(255,255,255,.3); transition: color .2s; line-height: 0; }
.f-social:hover { color: var(--white); }
.f-nav-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.f-nav-list a {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.36); transition: color .2s;
}
.f-nav-list a:hover { color: var(--white); }
.f-nl-title { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 10px; }
.f-nl-copy { font-size: 13px; color: rgba(255,255,255,.34); line-height: 1.65; margin-bottom: 22px; }
.f-form { display: flex; }
.f-email {
  flex: 1; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-right: none;
  color: var(--white); font-family: var(--sans); font-size: 13px;
  padding: 12px 16px; outline: none;
  transition: border-color .2s;
}
.f-email::placeholder { color: rgba(255,255,255,.22); }
.f-email:focus { border-color: rgba(255,255,255,.24); }
.f-submit {
  background: var(--accent); border: 1px solid var(--accent);
  color: #fff; font-family: var(--sans); font-size: 9.5px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 18px; cursor: pointer; font-weight: 400;
  white-space: nowrap; transition: filter .2s;
}
.f-submit:hover { filter: brightness(.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.f-legal { font-size: 10.5px; color: rgba(255,255,255,.18); letter-spacing: .02em; }

/* ─── REVEAL ─── */
.rv {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.rv.in { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-brand { grid-column: 2; justify-self: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brav-wrap { grid-template-columns: 1fr; }
  .brav-img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .look-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
