* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0 0 .5rem; line-height: 1.1; }
h2 { font-size: 1.65rem; margin: 1.75rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 0 0 .25rem; }

.muted { color: var(--text-muted); }
.small { font-size: .85rem; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.wrap.narrow { max-width: 760px; }
.section { padding: 3.5rem 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Header — logo upper-left, hamburger upper-right (gucci anatomy, see MEMORY) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.6rem;
  background: transparent;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247,244,238,.92); border-bottom-color: var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
html[data-theme='dark'] .site-header.scrolled { background: rgba(11,10,8,.92); }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: #f7f4ee; mix-blend-mode: difference; text-decoration: none; }
.brand:hover { text-decoration: none; }
.site-header.scrolled .brand { color: var(--text); mix-blend-mode: normal; }
.brand-mark {
  font-family: var(--font-serif); font-weight: 600;
  background: var(--gold); color: var(--accent-fg);
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; letter-spacing: 0;
}
.brand-name { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: 0.01em; }

/* Hamburger UR */
.hamburger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; background: transparent; border: 1px solid transparent;
  border-radius: 999px; cursor: pointer; gap: 5px; padding: 0; color: inherit;
  mix-blend-mode: difference;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #f7f4ee; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, background .25s ease;
}
.site-header.scrolled .hamburger span { background: var(--text); }
.site-header.scrolled .hamburger { mix-blend-mode: normal; border-color: var(--border); }
.hamburger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Off-canvas nav slides from right */
.site-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 84vw);
  background: var(--surface); border-left: 1px solid var(--border);
  padding: 4.5rem 1.75rem 2rem; z-index: 60;
  display: flex; flex-direction: column; gap: 1rem;
  transform: translateX(110%); transition: transform .28s ease;
  box-shadow: -8px 0 30px rgba(0,0,0,.18);
}
.site-nav[data-open='1'] { transform: translateX(0); }
.site-nav a {
  color: var(--text); font-family: var(--font-serif); font-size: 1.5rem;
  border-bottom: 1px solid transparent; padding-bottom: .25rem;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); text-decoration: none; }
.hamburger-close {
  position: absolute; top: 1rem; right: 1.25rem;
  background: transparent; border: none; font-size: 2rem; line-height: 1;
  color: var(--text-muted); cursor: pointer; padding: .25rem .5rem;
}
.hamburger-close:hover { color: var(--text); }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 55;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.nav-scrim[data-open='1'] { opacity: 1; pointer-events: auto; }
body.nav-open { overflow: hidden; }

.theme-toggle {
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; padding: .55rem .85rem; margin-top: auto;
  color: var(--text); cursor: pointer; font-size: 1rem;
  display: inline-flex; gap: .4rem; align-items: center;
}
.theme-toggle:hover { background: var(--bg-alt); }
.theme-toggle-label { font-family: var(--font-sans); font-size: .85rem; letter-spacing: .03em; text-transform: uppercase; color: var(--text-muted); }
html[data-theme='light'] .theme-toggle-moon { display: none; }
html[data-theme='dark']  .theme-toggle-sun  { display: none; }

/* Gucci-style huge hero */
.hero-gucci {
  position: relative;
  min-height: clamp(560px, 92vh, 940px);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  color: #f4ecd6;
  background: #0a0907;
}
.hero-gucci-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% 30%, rgba(217,168,104,.18) 0%, rgba(11,10,8,0) 60%),
    radial-gradient(ellipse 70% 50% at 30% 80%, rgba(122, 77, 18, .22) 0%, rgba(11,10,8,0) 60%),
    linear-gradient(180deg, #15110a 0%, #0a0907 60%, #060503 100%);
  filter: saturate(1.05);
}
/* Layered star-field — pure CSS, no image dependency */
.hero-gucci-stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1.5px 1.5px at 8% 18%,  rgba(255,245,210,.85), transparent 65%),
    radial-gradient(1px   1px   at 18% 42%, rgba(255,245,210,.75), transparent 70%),
    radial-gradient(1.8px 1.8px at 33% 22%, rgba(255,245,210,.9),  transparent 60%),
    radial-gradient(1px   1px   at 47% 12%, rgba(255,245,210,.7),  transparent 70%),
    radial-gradient(1.2px 1.2px at 58% 38%, rgba(255,245,210,.7),  transparent 70%),
    radial-gradient(2px   2px   at 72% 16%, rgba(255,245,210,.95), transparent 55%),
    radial-gradient(1px   1px   at 84% 28%, rgba(255,245,210,.7),  transparent 70%),
    radial-gradient(1.4px 1.4px at 91% 45%, rgba(255,245,210,.85), transparent 65%),
    radial-gradient(1px   1px   at 12% 62%, rgba(255,245,210,.6),  transparent 70%),
    radial-gradient(1.6px 1.6px at 26% 78%, rgba(255,245,210,.85), transparent 60%),
    radial-gradient(1px   1px   at 41% 82%, rgba(255,245,210,.65), transparent 70%),
    radial-gradient(1.3px 1.3px at 64% 70%, rgba(255,245,210,.8),  transparent 65%),
    radial-gradient(1px   1px   at 78% 62%, rgba(255,245,210,.6),  transparent 70%),
    radial-gradient(1.7px 1.7px at 88% 84%, rgba(255,245,210,.9),  transparent 60%);
  opacity: .9;
}
.hero-gucci-stack {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  max-width: 1100px;
}
.hero-gucci-wordmark {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 1; letter-spacing: -0.005em;
  margin: 0; color: #f7eed2;
  text-shadow: 0 2px 24px rgba(0,0,0,.6);
}
.hero-gucci-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  letter-spacing: .01em;
  color: #d9c89a; margin: 0;
  max-width: 56ch;
}
.hero-gucci-cta { margin-top: 1.25rem; display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.hero-gucci-cta .btn.primary { background: #f4ecd6; color: #0a0907; border-color: transparent; }
.hero-gucci-cta .btn.primary:hover { background: #d9a868; color: #0a0907; }
.hero-gucci-cta .btn.ghost { color: #f4ecd6; border-color: rgba(244,236,214,.4); background: transparent; }
.hero-gucci-cta .btn.ghost:hover { background: rgba(244,236,214,.08); border-color: rgba(244,236,214,.8); }
.hero-gucci-scroll {
  position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #d9c89a; border: 1px solid rgba(217,200,154,.4);
  font-size: 1.1rem; line-height: 1; text-decoration: none;
  animation: hero-bob 2.5s ease-in-out infinite;
  z-index: 2;
}
.hero-gucci-scroll:hover { background: rgba(244,236,214,.08); border-color: #d9c89a; text-decoration: none; }
@keyframes hero-bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* When using Gucci hero, body gets no header offset (header floats on hero) */
.home { padding-top: 0; }
.home .section:first-of-type { padding-top: 4rem; }

@media (max-width: 720px) {
  .hero-gucci { min-height: 80vh; padding: 5rem 1rem 4rem; }
  .hero-gucci-wordmark { font-size: clamp(2.5rem, 11vw, 4.5rem); }
}

/* Legacy text-only hero (kept for non-home pages) */
.hero {
  padding: 5.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero .kicker {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--gold); margin: 0 0 .75rem; font-weight: 500;
}
.hero h1 { max-width: 22ch; }
.hero .lede { max-width: 64ch; font-size: 1.13rem; color: var(--text-muted); margin-top: 1.25rem; }
.hero-cta { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* Hero */
.hero {
  padding: 5.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.hero .kicker {
  text-transform: uppercase; letter-spacing: .14em;
  font-size: .8rem; color: var(--gold); margin: 0 0 .75rem; font-weight: 500;
}
.hero h1 { max-width: 22ch; }
.hero .lede { max-width: 64ch; font-size: 1.13rem; color: var(--text-muted); margin-top: 1.25rem; }
.hero-cta { margin-top: 2rem; display: flex; gap: .75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .95rem; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  text-decoration: none;
}
.btn.primary { background: var(--accent); color: var(--accent-fg); }
.btn.primary:hover { background: var(--gold); color: var(--accent-fg); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { background: var(--surface); text-decoration: none; }

/* Section heads */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem;
}

/* Two-col layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* Filter form */
.filter-form {
  display: flex; gap: .75rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; margin: 1.25rem 0;
}
.filter-form .control { display: flex; flex-direction: column; gap: .25rem; min-width: 150px; }
.filter-form input, .filter-form select {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); padding: .5rem .65rem; font: inherit;
}
.filter-form .btn { align-self: flex-end; }

/* Grid controls */
.grid-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin: 1.25rem 0; flex-wrap: wrap;
}
.grid-controls-right { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.grid-controls .control { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--text-muted); }
.grid-controls .control select,
.grid-controls .control input[type=range] {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); padding: .35rem .5rem; font: inherit;
}
.grid-controls input[type=range] { padding: 0; width: 160px; }
.grid-count { font-weight: 600; font-size: 1.05rem; color: var(--text); }

/* Designer grid */
.designer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--cols-min), 1fr));
  gap: var(--gap);
}
.designer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .55rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.designer-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(40,30,15,0.08), 0 12px 28px rgba(40,30,15,0.08); }
.designer-card header { display: flex; gap: .9rem; align-items: flex-start; }
.designer-card h3 { font-family: var(--font-serif); font-size: 1.25rem; }
.designer-card .headline { font-style: italic; color: var(--text-muted); margin: .25rem 0; font-size: .95rem; }
.designer-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: .25rem 0 0; list-style: none; }
.designer-card .tags li {
  font-size: .72rem; padding: .15rem .55rem; border-radius: 999px;
  background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border);
}

.card-mark, .detail-mark {
  font-family: var(--font-serif); font-weight: 600;
  background: var(--gold); color: var(--accent-fg);
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem; letter-spacing: 0; flex-shrink: 0;
}
.detail-mark {
  width: 64px; height: 64px; font-size: 1.3rem;
}
.detail-header {
  display: flex; gap: 1.25rem; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.detail-header h1 { margin: 0 0 .25rem; }
.detail-header .lede { font-size: 1.15rem; color: var(--text-muted); margin: 0 0 .25rem; font-style: italic; }

.empty { grid-column: 1 / -1; color: var(--text-muted); padding: 2rem 0; text-align: center; }

/* Designer detail */
.designer-detail .pills { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
.designer-detail .pills li {
  background: var(--bg-alt); color: var(--text); border: 1px solid var(--border);
  padding: .35rem .8rem; border-radius: 999px; font-size: .9rem;
}
.detail-disclaim { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* Pairing grid (DW collections) */
.pairing-grid {
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin: 1rem 0 1.5rem;
}
.pairing-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); transition: border-color .15s ease, transform .15s ease;
}
.pairing-card:hover {
  text-decoration: none; border-color: var(--gold); transform: translateY(-2px);
  color: var(--text);
}
.pairing-label { font-weight: 500; }
.pairing-arrow { color: var(--gold); font-size: 1.1rem; margin-left: .75rem; }

/* Prose / About / Submit */
.prose { padding-left: 1.25rem; }
.prose li { margin: .35rem 0; }
.claim-callout {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2.75rem 0 1.25rem;
  font-size: .92rem;
}
.site-footer .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
.site-footer .footer-col strong { display: block; margin-bottom: .35rem; font-family: var(--font-serif); font-size: 1.05rem; }
.site-footer address { font-style: normal; color: var(--text-muted); }
.site-footer .legal {
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-muted);
}

/* Sources & press — fair-use editorial citation block on designer pages */
.sources, .links {
  list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .55rem;
}
.sources li, .links li {
  padding: .5rem .75rem; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); font-size: .95rem;
}
.sources li a, .links li a { color: var(--link); }
.sources li em { color: var(--text-muted); font-style: italic; }

/* Video gallery — /videos page */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(40,30,15,0.08), 0 12px 28px rgba(40,30,15,0.08); }
.video-card-poster {
  display: block; position: relative;
  aspect-ratio: 16/9;
  background-color: #0a0a0a;
  background-size: cover; background-position: center;
  text-decoration: none;
}
.video-card-poster:hover { text-decoration: none; }
.video-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: rgba(255,255,255,.92);
  text-shadow: 0 2px 16px rgba(0,0,0,.7);
  transition: transform .15s ease;
}
.video-card-poster:hover .video-card-play { transform: scale(1.15); }
.video-card-cat {
  position: absolute; top: 8px; left: 8px;
  background: rgba(212,177,92,.92); color: #0a0a0a;
  font: 600 9px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 11px;
}
.video-card-body { padding: .9rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; gap: .25rem; }
.video-card-body h3 {
  font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.3;
  margin: 0; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis;
}
.video-card-body h3 a { color: var(--text); }
.video-card-link { font-size: .85rem; color: var(--text-muted); margin: .25rem 0 0; }
.video-card-link a { color: var(--link); }

/* Profile-page video rail — smaller, horizontal-friendly */
.profile-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .9rem; margin-bottom: 1rem;
}
.profile-video-card {
  display: flex; flex-direction: column; gap: .35rem;
  text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: .55rem; overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.profile-video-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.profile-video-poster {
  position: relative; display: block;
  aspect-ratio: 16/9; background-color: #0a0a0a;
  background-size: cover; background-position: center;
  border-radius: 3px; overflow: hidden;
}
.profile-video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: rgba(255,255,255,.9);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.profile-video-meta { display: flex; flex-direction: column; gap: .15rem; padding: .35rem .15rem .15rem; }
.profile-video-meta strong {
  font-family: var(--font-serif); font-weight: 500; font-size: .92rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
