/* ============================================================
   ar7 — Fashion Portfolio
   Design System & Styles
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:        #090909;
  --color-surface:   #111111;
  --color-border:    #222222;
  --color-text:      #f0ebe0;
  --color-muted:     #7a7468;
  --color-gold:      #b8975a;
  --color-gold-dim:  #7a6438;

  --font-serif:      'Cormorant Garamond', Georgia, serif;
  --font-sans:       'Inter', system-ui, sans-serif;

  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h:           72px;
  --section-pad:     clamp(80px, 10vw, 140px);
  --container:       1320px;
  --gutter:          clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  cursor: none;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Custom Cursor ────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out),
              width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s;
  will-change: transform;
}

.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.06s var(--ease-out);
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 56px;
  height: 56px;
  border-color: var(--color-text);
  background: rgba(255,255,255,0.04);
}

/* ── Preloader ────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.preloader__logo {
  font-family: var(--font-serif);
  font-size: clamp(64px, 12vw, 120px);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--color-text);
  display: flex;
  gap: 0.08em;
}

.preloader__logo span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.preloader__bar {
  width: 160px;
  height: 1px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-gold);
  transform: translateX(-100%);
  animation: barFill 1.4s var(--ease-out) 0.3s forwards;
}

@keyframes barFill {
  to { transform: translateX(0); }
}

/* ── Navigation ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  z-index: 1000;
  transition: background 0.4s, border-bottom 0.4s;
}

.nav.scrolled {
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text);
  transition: color 0.3s;
}

.nav__logo:hover {
  color: var(--color-gold);
}

.nav__links {
  display: flex;
  gap: 40px;
}

.nav__links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--color-text);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  cursor: none;
}

.nav__menu-btn span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav__menu-btn.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__menu-btn.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ── Mobile Menu ──────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--color-gold);
}

/* ── Shared Utilities ─────────────────────────────────── */
.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section-title em,
em {
  font-style: italic;
  color: var(--color-gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-text);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--primary {
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn--primary:hover {
  color: var(--color-bg);
}

.btn--ghost {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn--ghost::before {
  background: var(--color-gold);
}

.btn--ghost:hover {
  color: var(--color-bg);
}

/* ── Reveal Animations ────────────────────────────────── */
.reveal, .reveal-up, .reveal-line {
  opacity: 0;
}

.reveal {
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-up {
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal.visible,
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  display: block;
  transform: translateY(100%);
  overflow: hidden;
}

.reveal-line.visible {
  animation: lineReveal 0.9s var(--ease-out) forwards;
}

@keyframes lineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) var(--section-pad);
  position: relative;
  overflow: hidden;
}

.hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(180px, 30vw, 400px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.hero__content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 32px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
  overflow: hidden;
}

.hero__title .italic {
  font-style: italic;
  padding-left: 0.15em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ── Marquee ──────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  background: var(--color-surface);
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marqueeScroll 18s linear infinite;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}

.marquee__brand {
  color: var(--color-gold);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Collection ───────────────────────────────────────── */
.collection {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.collection__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.collection__desc {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 480px;
}

.collection__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Stagger vertical offset for editorial feel */
.collection__grid .look:nth-child(2) { margin-top: 60px; }
.collection__grid .look:nth-child(3) { margin-top: 30px; }
.collection__grid .look:nth-child(4) { margin-top: 90px; }

.look {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.look__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 504 / 760;
  background: var(--color-surface);
}

.look__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.look__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.look__view {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
}

.look:hover .look__image {
  transform: scale(1.04);
}

.look:hover .look__overlay {
  opacity: 1;
}

.look__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.look__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.look__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.look__detail {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ── Philosophy ───────────────────────────────────────── */
.philosophy {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--section-pad) var(--gutter);
}

.philosophy__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.philosophy__statement blockquote {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.philosophy__pillars {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pillar {
  border-left: 1px solid var(--color-border);
  padding-left: 24px;
}

.pillar__num {
  font-family: var(--font-serif);
  font-size: 12px;
  font-style: italic;
  color: var(--color-gold);
  display: block;
  margin-bottom: 8px;
}

.pillar h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-text);
}

.pillar p {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ── About ────────────────────────────────────────────── */
.about {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.about__image-col {
  position: relative;
}

.about__image-frame {
  position: relative;
  overflow: hidden;
}

.about__image-frame::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--color-border);
  pointer-events: none;
  z-index: -1;
}

.about__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
}

.about__image-caption {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-top: 12px;
  text-align: right;
}

.about__text-col p {
  color: var(--color-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.about__text-col p:last-of-type {
  margin-bottom: 40px;
}

.about__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
}

.stat__label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ── Footer ───────────────────────────────────────────── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) var(--gutter) clamp(32px, 4vw, 56px);
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.footer__headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 300;
  line-height: 1.1;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.footer__socials {
  display: flex;
  gap: 28px;
}

.footer__socials a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.3s;
}

.footer__socials a:hover {
  color: var(--color-text);
}

.footer__copy {
  font-size: 11px;
  color: var(--color-muted);
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .collection__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .collection__grid .look:nth-child(1) { margin-top: 0; }
  .collection__grid .look:nth-child(2) { margin-top: 0; }
  .collection__grid .look:nth-child(3) { margin-top: 0; }
  .collection__grid .look:nth-child(4) { margin-top: 0; }

  /* collections__grid responsive rules are after the base definition below */

  .philosophy__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__image-col {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --section-pad: 56px;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .cursor,
  .cursor-dot {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, button {
    cursor: pointer;
  }

  .collection__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* collections__grid responsive rules are after the base definition below */

  .collection-nav {
    flex-direction: column;
    gap: 32px;
    align-items: center;
    text-align: center;
  }

  .collection-nav__item--prev,
  .collection-nav__item--next {
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer__socials {
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .collection__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  /* collections__grid responsive rules are after the base definition below */
}

/* ── Collections Overview (index) ────────────────────── */
.collections {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.collections__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.collections__desc {
  color: var(--color-muted);
  font-size: 15px;
  max-width: 480px;
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}

/* Editorial stagger for 5-card grid */
.collections__grid .collection-card:nth-child(2) { margin-top: 60px; }
.collections__grid .collection-card:nth-child(3) { margin-top: 20px; }
.collections__grid .collection-card:nth-child(4) { margin-top: 80px; }
.collections__grid .collection-card:nth-child(5) { margin-top: 40px; }

/* Responsive overrides — must live after the base rule above */
@media (max-width: 1024px) {
  .collections__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .collections__grid .collection-card:nth-child(n) { margin-top: 0; }
  .collections__grid .collection-card:nth-child(2) { margin-top: 40px; }
  .collections__grid .collection-card:nth-child(4) { margin-top: 40px; }
}

@media (max-width: 768px) {
  .collections__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .collections__grid .collection-card:nth-child(n) { margin-top: 0; }
}

@media (max-width: 480px) {
  .collections__grid {
    gap: 12px;
  }
}

.collection-card {
  display: block;
}

.collection-card__link {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: inherit;
  text-decoration: none;
}

.collection-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 504 / 680;
  background: var(--color-surface);
}

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.collection-card__cta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
}

.collection-card__link:hover .collection-card__image {
  transform: scale(1.04);
}

.collection-card__link:hover .collection-card__overlay {
  opacity: 1;
}

.collection-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px;
}

.collection-card__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.collection-card__name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.1;
  transition: color 0.3s;
}

.collection-card__link:hover .collection-card__name {
  color: var(--color-gold);
}

.collection-card__desc {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 280px;
}

.collection-card__count {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 4px;
}

/* ── Collection Detail Page ───────────────────────────── */
.collection-hero {
  min-height: 65svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) var(--gutter) clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.collection-hero__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(140px, 24vw, 360px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.collection-hero__content {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.collection-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 48px;
  transition: color 0.3s;
}

.collection-hero__back:hover {
  color: var(--color-gold);
}

.collection-hero__back-arrow {
  font-size: 16px;
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.collection-hero__back:hover .collection-hero__back-arrow {
  transform: translateX(-4px);
}

.collection-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 12px 0 24px;
}

.collection-hero__desc {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Collection Prev / Next Nav ───────────────────────── */
.collection-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.collection-nav__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.collection-nav__item--all {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.collection-nav__item--all:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

.collection-nav__label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.collection-nav__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 300;
  color: var(--color-text);
  transition: color 0.3s;
}

.collection-nav__item--prev:hover .collection-nav__name,
.collection-nav__item--next:hover .collection-nav__name {
  color: var(--color-gold);
}

.collection-nav__item--prev { text-align: left; }
.collection-nav__item--next { text-align: right; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 9, 0.96);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: 1100px;
  width: 100%;
  padding: 0 var(--gutter);
  transform: translateY(16px);
  transition: transform 0.4s var(--ease-out);
}

.lightbox.open .lightbox__inner {
  transform: translateY(0);
}

.lightbox__image-wrap {
  flex: 0 0 auto;
  width: clamp(240px, 38vw, 480px);
}

.lightbox__image {
  width: 100%;
  aspect-ratio: 504 / 760;
  object-fit: cover;
  display: block;
}

.lightbox__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lightbox__num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.lightbox__name {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.lightbox__detail {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  max-width: 320px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(9,9,9,0.7);
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}

.lightbox__close:hover {
  border-color: var(--color-gold);
}

.lightbox__close span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: var(--color-text);
}

.lightbox__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child  { transform: rotate(-45deg); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(9,9,9,0.7);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 18px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

.lightbox__prev:hover,
.lightbox__next:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .lightbox__inner {
    flex-direction: column;
    gap: 24px;
    padding: 72px 28px 100px;
    align-items: center;
    text-align: center;
    overflow-y: auto;
    max-height: 100svh;
  }

  .lightbox__image-wrap {
    width: 100%;
    max-width: 260px;
  }

  .lightbox__detail {
    max-width: 100%;
  }

  /* On mobile, move prev/next to bottom bar so they don't overlap content */
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .lightbox__prev { left: 20px; }
  .lightbox__next { right: 20px; }

  .lightbox__close {
    top: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}

/* ── Collection Looks & Sheets Sections ──────────────── */
.collection-looks-section {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.collection-looks-section .collection__header {
  max-width: 640px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.collection-sheets-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--section-pad) var(--gutter);
}

.collection-sheets-header {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 80px);
}

.sheets__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.sheet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.sheet__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 992 / 1404;
  background: var(--color-bg);
}

.sheet__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.sheet:hover .sheet__image {
  transform: scale(1.02);
}

.sheet:hover .sheet__overlay {
  opacity: 1;
}

.sheet__view {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
}

.sheet__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-align: center;
}

/* ── About CTA ────────────────────────────────────────── */
.about__cta {
  margin-top: 24px;
}

/* ── Illustrations Hero ───────────────────────────────── */
.illus-hero {
  min-height: 52svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) var(--gutter) clamp(56px, 7vw, 100px);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.illus-hero::before {
  content: 'illus.';
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  white-space: nowrap;
}

.illus-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.illus-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
}

.illus-hero__title .italic {
  font-style: italic;
  color: var(--color-gold);
  padding-left: 0.15em;
}

.illus-hero__desc {
  font-size: 15px;
  color: var(--color-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Illustrations Section & Grid ────────────────────── */
.illus-section {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.illus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.illus-grid .illus-card:nth-child(2) { margin-top: 60px; }
.illus-grid .illus-card:nth-child(5) { margin-top: 60px; }

.illus-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.illus-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
}

.illus-card__image {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

/* Landscape images get different aspect ratio */
.illus-card:nth-child(2) .illus-card__image,
.illus-card:nth-child(4) .illus-card__image {
  aspect-ratio: 4 / 3;
}

.illus-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 9, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.illus-card__view {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 4px;
}

.illus-card:hover .illus-card__image {
  transform: scale(1.04);
}

.illus-card:hover .illus-card__overlay {
  opacity: 1;
}

.illus-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.illus-card__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.illus-card__meta {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.illus-card__story {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.65;
  margin-top: 8px;
  max-width: 380px;
}

/* ── Sheet Lightbox ───────────────────────────────────── */
.sheet-lightbox__inner {
  justify-content: center;
  gap: 40px;
}

.sheet-lightbox__image-wrap {
  flex: 0 0 auto;
  width: clamp(200px, 32vw, 420px);
}

.sheet-lightbox__image {
  width: 100%;
  max-height: 85svh;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .sheet-lightbox__inner {
    flex-direction: column;
    padding: 72px 28px 100px;
    overflow-y: auto;
    max-height: 100svh;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .sheet-lightbox__image-wrap {
    width: 100%;
    max-width: 240px;
  }
}

/* ── Illustrations Lightbox ───────────────────────────── */
.illus-lightbox__inner {
  flex-direction: row;
  align-items: center;
}

.illus-lightbox__image-wrap {
  flex: 0 0 auto;
  width: clamp(240px, 42vw, 560px);
}

.illus-lightbox__image {
  width: 100%;
  max-height: 80svh;
  object-fit: contain;
  display: block;
}

/* ── Storyboard Section ───────────────────────────────── */
.storyboard-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--section-pad) var(--gutter);
}

.storyboard-header {
  max-width: var(--container);
  margin: 0 auto clamp(48px, 6vw, 72px);
}

.storyboard__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.storyboard__panel {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  cursor: none;
}

.storyboard__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out), filter 0.4s;
  filter: grayscale(15%);
}

.storyboard__panel:hover .storyboard__image {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.storyboard__num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-align: right;
}

/* ── Responsive — Illustrations ───────────────────────── */
@media (max-width: 1024px) {
  .illus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .illus-grid .illus-card:nth-child(n) { margin-top: 0; }
  .illus-grid .illus-card:nth-child(2) { margin-top: 48px; }

  .illus-lightbox__inner {
    flex-direction: column;
    padding: 72px 28px 100px;
    overflow-y: auto;
    max-height: 100svh;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .illus-lightbox__image-wrap {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .illus-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .illus-grid .illus-card:nth-child(n) { margin-top: 0; }

  .illus-card__image {
    aspect-ratio: 3 / 4;
  }

  .storyboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sheets__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ── Selection ────────────────────────────────────────── */
::selection {
  background: var(--color-gold-dim);
  color: var(--color-text);
}
