/* =========================================================
   NIXIV — fashion landing
   ========================================================= */

:root {
  --bg: #ece7dd;
  --bg-soft: #f3efe7;
  --ink: #0d0d0d;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: rgba(13, 13, 13, .12);
  --accent: #ff5b1f;
  --white: #fff;
  --black: #000;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 12px 40px rgba(20, 16, 8, .08);

  --container: 1240px;
  --pad: clamp(20px, 5vw, 56px);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.005em; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 14px;
  font-weight: 500;
}
.eyebrow--light { color: rgba(255, 255, 255, .9); }
.eyebrow--accent { color: var(--accent); font-weight: 600; }
.eyebrow__plus { color: var(--accent); margin-right: 6px; }
.center { text-align: center; }

.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 28px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  --pad-y: 12px;
  --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #1a1a1a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--dot span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--white); display: inline-block;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px var(--pad);
  color: var(--white);
  transition: background .35s var(--ease), color .35s var(--ease), backdrop-filter .35s var(--ease), padding .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(13, 13, 13, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  padding-block: 12px;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand__mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: .04em;
}
.nav__left { display: none; gap: 26px; font-size: 14px; }
.nav__left a { opacity: .9; transition: opacity .2s; }
.nav__left a:hover { opacity: 1; }

.nav__right {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.nav__link { opacity: .9; transition: opacity .2s; }
.nav__link:hover { opacity: 1; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: transparent;
  color: currentColor;
  border: none;
  border-radius: 50%;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 64px 0 auto 0;
  background: rgba(13, 13, 13, .96);
  color: var(--white);
  backdrop-filter: blur(8px);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
  z-index: 49;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 22px var(--pad) 32px; gap: 6px; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 18px;
  font-family: var(--serif);
}

@media (min-width: 880px) {
  .nav__left, .nav__right { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(620px, 96vh, 920px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 1.6s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(120px, 18vh, 200px) var(--pad) 0;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6.8vw, 84px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 12px 0;
  font-size: 14px;
  letter-spacing: .01em;
  position: relative;
}
.hero__cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px; right: 24px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform .5s var(--ease);
}
.hero__cta:hover::after { transform: scaleX(0); transform-origin: right; }
.hero__cta svg { transition: transform .35s var(--ease); }
.hero__cta:hover svg { transform: translateX(6px); }

.wordmark {
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.wordmark__text {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: .82;
  letter-spacing: -.045em;
  font-size: clamp(120px, 28vw, 360px);
  transform: translateY(20%);
  animation: wordmarkRise 1.4s .15s var(--ease) both;
  mix-blend-mode: screen;
}
@keyframes wordmarkRise {
  from { transform: translateY(75%); opacity: 0; }
  to   { transform: translateY(20%); opacity: 1; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--bg);
  padding: clamp(72px, 12vw, 140px) 0 clamp(48px, 8vw, 96px);
  position: relative;
}
.about__lede {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(24px, 3.8vw, 46px);
  line-height: 1.18;
  letter-spacing: -.01em;
  margin: 0 0 clamp(56px, 10vw, 110px);
  max-width: 1100px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  border-radius: var(--r-pill);
  overflow: hidden;
  height: 1em;
  width: 1.7em;
  background: #d8cfbe;
  margin: 0 .1em;
  transform: translateY(-.06em);
}
.pill--avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pill--soft { background: #f1e7d6; }

.about__cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
}
.about__sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0;
}
.about__rack {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.about__rack img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__rack:hover img { transform: scale(1.04); }

@media (min-width: 880px) {
  .about__cta-row { grid-template-columns: 1.1fr .9fr; }
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.value-list__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.value-list__row:hover { padding-left: 12px; }
.value-list__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  font-family: var(--sans);
  margin: 0;
  letter-spacing: -.005em;
}
.value-list__copy {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 360px;
}
@media (min-width: 720px) {
  .value-list__row {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 36px 0;
  }
  .value-list__copy { justify-self: end; }
}

/* =========================================================
   FEATURED PRODUCTS
   ========================================================= */
.featured {
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) 0;
}
.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 720px) {
  .featured__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .featured__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.feature-card {
  background: #d9d4c7;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.feature-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.feature-card:hover img { transform: scale(1.04); }

.product-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.product-card__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #f5f1ea;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__title {
  font-size: 16px;
  letter-spacing: .04em;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  margin: 8px 0 4px;
}
.product-card__price { text-align: center; color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.product-card__cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}
.product-card__cta .btn { --pad-y: 10px; --pad-x: 18px; font-size: 13px; }

/* =========================================================
   EXPLORE / CATEGORIES
   ========================================================= */
.explore {
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) 0;
}
.explore__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .explore__grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}
.explore__lead {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 0 28px;
}
.explore__caption {
  margin-top: 36px;
  color: var(--ink-2);
  font-size: 15px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  max-width: 460px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  padding: 10px;
  color: var(--ink-2);
  isolation: isolate;
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cat-img) center/cover no-repeat;
  opacity: 0;
  transition: opacity .5s var(--ease);
  z-index: -1;
}
.cat-card:hover { color: var(--white); transform: translateY(-3px); }
.cat-card:hover::before { opacity: 1; }
.cat-card__icon { width: 38px; height: 38px; opacity: .8; transition: opacity .3s, transform .3s; }
.cat-card:hover .cat-card__icon { opacity: 0; transform: scale(.6); }
.cat-card__label { font-size: 13px; }

.explore__media { position: relative; }
.explore__arch {
  position: relative;
  border: 1px solid rgba(13, 13, 13, .25);
  border-radius: 50% 50% 22px 22px / 60% 60% 22px 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #d8cfbe;
}
.explore__arch img { width: 100%; height: 100%; object-fit: cover; }
.explore__sparkle {
  position: absolute;
  width: 22px; height: 22px;
  color: var(--ink);
}
.explore__sparkle::before {
  content: "✦";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--ink);
  animation: twinkle 3.5s ease-in-out infinite;
}
.explore__sparkle--top { top: -10px; left: -10px; }
.explore__sparkle--bottom { bottom: 10px; right: -10px; }
@keyframes twinkle {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 1; }
  50% { transform: rotate(45deg) scale(.7); opacity: .55; }
}

/* =========================================================
   BRANDS
   ========================================================= */
.brands {
  background: var(--bg);
  padding: 40px 0 60px;
  overflow: hidden;
}
.brands__wrap { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.brands__intro { color: var(--ink-2); font-size: 14px; max-width: 360px; margin: 0; }
.brands__marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scrollX 28s linear infinite;
}
.brand-pill {
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}
.brand-pill sub { font-size: 10px; color: var(--muted); margin-left: 2px; }
@keyframes scrollX { to { transform: translateX(-50%); } }

@media (min-width: 880px) {
  .brands__wrap { grid-template-columns: 1fr 3fr; gap: 40px; }
}

/* =========================================================
   LATEST PRODUCTS
   ========================================================= */
.latest {
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) 0;
}
.latest__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 720px) {
  .latest__grid { grid-template-columns: 1fr 1fr; }
}

.product-card--lg .product-card__media {
  aspect-ratio: 5 / 4;
}
.product-card--lg .product-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.product-card--lg .product-card__title { margin-top: 14px; }
.product-card__desc { color: var(--muted); font-size: 14px; margin: 0; max-width: 380px; }

/* =========================================================
   STATS
   ========================================================= */
.stats {
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stats__panel {
  background: var(--black);
  color: var(--white);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.stats__divider { background: rgba(255, 255, 255, .15); height: 80%; align-self: center; }
.stats__cell { display: flex; flex-direction: column; gap: clamp(40px, 8vw, 88px); }
.stats__label { font-size: 14px; color: rgba(255, 255, 255, .85); margin: 0; }
.stats__num {
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .85);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.stats__copy {
  background: var(--white);
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.stats__copy h3 { font-size: clamp(22px, 3vw, 34px); margin: 0; font-weight: 600; letter-spacing: -.01em; }
.stats__copy p { color: var(--muted); margin: 0; font-size: 15px; max-width: 360px; }

@media (min-width: 880px) {
  .stats__grid { grid-template-columns: 1.6fr 1fr; }
}

/* =========================================================
   BLOGS
   ========================================================= */
.blog { background: var(--bg); padding: clamp(48px, 8vw, 96px) 0; }
.blog__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 24px;
}
@media (min-width: 880px) {
  .blog__grid { grid-template-columns: 1fr 1.4fr; }
}
.blog-card { display: block; }
.blog-card__media {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  margin-bottom: 16px;
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card h3 {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -.005em;
  max-width: 540px;
}
.blog-card--wide h3 { font-size: clamp(20px, 2.6vw, 32px); max-width: 640px; }
.blog-card__meta { color: var(--muted); font-size: 13px; margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: clamp(24px, 6vw, 56px) 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.footer__bleed {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(120px, 26vw, 420px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -.02em;
  color: var(--white);
  opacity: .3;
}

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
