/* =========================================================
   DIRECTOR BRAZIL — SHOP HUB
   Cinematic dark editorial — shares the Disclosure Era system
   ========================================================= */

:root {
  --ink:        #0E0E10;
  --ink-2:      #14130f;
  --ink-3:      #1c1a16;
  --paper:      #E6DFD0;
  --paper-2:    #c8c0b0;
  --paper-mute: #8c8676;
  --tan:        #C9B996;
  --yellow:     #E5C547;
  --line:       rgba(230,223,208,0.12);

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(14,14,16,0.85) 0%, rgba(14,14,16,0.4) 70%, transparent 100%);
  backdrop-filter: blur(4px);
}
.nav__inner {
  width: 100%; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
}
.nav__brand { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-mark { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.15em; }
.nav__brand-sub { font-family: var(--mono); font-size: 9px; color: var(--paper-mute); letter-spacing: 0.18em; margin-top: 3px; }
.nav__center { display: flex; gap: 36px; align-items: center; justify-content: center; }
.nav__center a { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; transition: color 0.2s; }
.nav__center a:hover { color: var(--tan); }
.nav__right { display: flex; gap: 24px; justify-content: flex-end; align-items: center; }
.nav__icon-link { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; transition: color 0.2s; }
.nav__icon-link:hover { color: var(--tan); }
.nav__cart-count { color: var(--paper-mute); }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero__bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.05) 30%, rgba(14,14,16,0.15) 55%, rgba(14,14,16,0.92) 100%);
}
.hero__inner {
  position: relative; z-index: 1;
  padding: 0 56px 60px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  color: var(--tan); margin: 0 0 18px; font-weight: 500;
}
.hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 11vw, 168px);
  letter-spacing: 0.04em; line-height: 0.92; margin: 0;
  text-transform: uppercase; color: var(--paper);
}
.hero__sub {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--paper-2); margin: 24px 0 0; letter-spacing: 0.02em;
}
.hero__cta {
  margin-top: 36px; display: inline-flex; align-items: center; gap: 56px;
  padding: 18px 26px; border: 1px solid var(--line);
  background: rgba(20,19,15,0.55);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}
.hero__cta:hover { background: rgba(20,19,15,0.9); border-color: var(--tan); }
.hero__cta svg { width: 18px; height: 18px; }

/* hero ticker marquee */
.hero__ticker {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(14,14,16,0.7); overflow: hidden; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__ticker-track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: ticker 34s linear infinite;
}
.hero__ticker-track span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--paper); white-space: nowrap;
}
.hero__ticker-track .dot { color: var(--tan); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== FEATURE ===================== */
.feature { background: var(--ink); padding: 0; }
.feature__panel {
  position: relative; display: block; min-height: 78vh;
  display: flex; align-items: flex-end; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.feature__bg { position: absolute; inset: 0; z-index: 0; }
.feature__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.feature__panel:hover .feature__bg img { transform: scale(1.04); }
.feature__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,14,16,0.45) 0%, rgba(14,14,16,0.2) 40%, rgba(14,14,16,0.9) 100%);
}
.feature__copy {
  position: relative; z-index: 1; padding: 56px; max-width: 640px;
}
.feature__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  color: var(--tan); margin: 0 0 16px; font-weight: 500;
}
.feature__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 5.5vw, 76px); line-height: 1;
  margin: 0; color: var(--paper);
}
.feature__text {
  font-family: var(--sans); font-weight: 300; font-size: 15px;
  line-height: 1.6; color: var(--paper-2); margin: 22px 0 0; max-width: 520px;
}
.feature__cta {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 40px;
  padding: 16px 22px; border: 1px solid var(--line);
  background: rgba(20,19,15,0.6);
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; color: var(--paper);
  transition: background 0.2s, border-color 0.2s;
}
.feature__panel:hover .feature__cta { background: var(--tan); color: var(--ink); border-color: var(--tan); }
.feature__cta svg { width: 16px; height: 16px; }

/* ===================== COLLECTIONS ===================== */
.cols { background: var(--ink); padding: 72px 56px 80px; }
.cols__head { margin-bottom: 36px; }
.cols__title {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; color: var(--paper); margin: 0;
}
.cols__sub {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 20px; color: var(--paper-mute); margin: 10px 0 0;
}
.cols__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--line);
}
.col-card {
  display: block; border-right: 1px solid var(--line);
  background: var(--ink); transition: background 0.3s;
}
.col-card:last-child { border-right: none; }
.col-card:hover { background: var(--ink-2); }
.col-card__img {
  aspect-ratio: 3/4; overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}
.col-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.col-card:hover .col-card__img img { transform: scale(1.04); }
.col-card__meta { padding: 18px 16px 22px; display: flex; flex-direction: column; gap: 7px; }
.col-card__name {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; color: var(--paper);
}
.col-card__count {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  color: var(--paper-mute);
}

/* ===================== NEXT LINE ===================== */
.next {
  background: var(--ink-2); padding: 96px 56px;
  border-top: 1px solid var(--line);
}
.next__inner { max-width: 620px; margin: 0 auto; text-align: center; }
.next__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  color: var(--tan); margin: 0 0 16px; font-weight: 500;
}
.next__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 5vw, 60px); letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0; color: var(--paper);
}
.next__text {
  font-family: var(--sans); font-weight: 300; font-size: 14px;
  line-height: 1.7; color: var(--paper-2); margin: 22px 0 0;
}
.next__form {
  display: flex; align-items: stretch; max-width: 420px; margin: 32px auto 0;
  border: 1px solid var(--line); background: rgba(20,19,15,0.6);
}
.next__form input {
  flex: 1; border: none; background: transparent; padding: 15px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--paper); outline: none;
}
.next__form input::placeholder { color: var(--paper-mute); }
.next__form button {
  background: rgba(20,19,15,0.7); border: none; border-left: 1px solid var(--line);
  padding: 0 18px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--paper);
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 0.2s, color 0.2s;
}
.next__form button:hover { background: var(--tan); color: var(--ink); }
.next__form button svg { width: 14px; height: 14px; }
.next__sig {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--tan); margin: 14px 0 0; min-height: 1em;
}

/* ===================== FOOTER ===================== */
.foot {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center; padding: 32px 56px;
  background: var(--ink); border-top: 1px solid var(--line); gap: 24px;
}
.foot__brand { display: flex; flex-direction: column; gap: 2px; }
.foot__mark { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; }
.foot__sub { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--paper-mute); }
.foot__nav { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.foot__nav a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; transition: color 0.2s; }
.foot__nav a:hover { color: var(--tan); }
.foot__copy {
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--paper-mute);
}
.foot__crosshair { width: 14px; height: 14px; color: var(--paper-mute); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1000px) {
  .cols__grid { grid-template-columns: repeat(2, 1fr); }
  .col-card:nth-child(2n) { border-right: none; }
  .col-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .nav__inner { grid-template-columns: 1fr auto; padding: 0 20px; }
  .nav__center { display: none; }
  .nav__right { gap: 14px; }
  .hero__inner { padding: 0 24px 40px; }
  .hero__cta { gap: 24px; width: 100%; justify-content: space-between; }
  .feature__copy { padding: 32px 24px; }
  .cols { padding: 56px 24px 64px; }
  .cols__grid { grid-template-columns: 1fr; }
  .col-card { border-right: none; border-bottom: 1px solid var(--line); }
  .col-card:last-child { border-bottom: none; }
  .col-card__img { aspect-ratio: 16/10; }
  .next { padding: 64px 24px; }
  .foot { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .foot__brand, .foot__copy, .foot__nav { justify-content: center; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
