:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --ink: #f1efe9;
  --muted: #8d8b86;
  --line: rgba(241, 239, 233, .14);
  --accent: #c8281f;
  --gutter: 16px;
  --header-h: 60px;
  --maxw: 1240px;
  color-scheme: dark;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------------------------------------------------------------- 3D logo layer */
#logo3d {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh; height: 100lvh;
  z-index: 40;              /* above header bar, below menu overlay */
  pointer-events: none;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  display: flex; align-items: center; justify-content: space-between;
  z-index: 30;
  transition: background-color .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.docked {
  background: rgba(10, 10, 11, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.dock-link { display: block; width: var(--dock-w, 120px); height: calc(var(--header-h) - 16px); position: relative; z-index: 45; }
.dock-fallback { display: none; height: 100%; width: auto; }
.nav { display: none; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.nav a { opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.menu-btn {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; cursor: pointer; position: relative; z-index: 60;
}
@media (min-width: 768px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(10, 10, 11, .96);
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: 0 var(--gutter);
  font-size: 34px; font-weight: 800; letter-spacing: .02em;
}
.mobile-menu[hidden] { display: none; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 520px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 var(--gutter) calc(48px + env(safe-area-inset-bottom));
  background:
    radial-gradient(80% 60% at 50% 42%, rgba(255,255,255,.07), transparent 70%),
    var(--bg);
}
.hero-fallback { display: none; width: min(86vw, 1100px); position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%); }
.hero-meta { text-align: center; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .32em; }
.sub { margin-top: 6px; font-size: 12px; letter-spacing: .24em; color: var(--muted); }
.scroll-cue { margin-top: 26px; width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes cue { to { top: 100%; } }

/* no WebGL: plain logo images take over */
.no-webgl #logo3d { display: none; }
.no-webgl .hero-fallback { display: block; }
.no-webgl .site-header.docked .dock-fallback { display: block; }

/* ---------------------------------------------------------------- ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: tick 28s linear infinite; }
.ticker span { padding: 14px 22px; font-size: 12px; font-weight: 800; letter-spacing: .22em; }
.ticker span::after { content: "✦"; margin-left: 44px; opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- shared */
section { padding: 96px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 768px) { section { padding: 140px var(--gutter); } }
.tag { font-size: 12px; font-weight: 800; letter-spacing: .26em; color: var(--accent); }
h2 { font-size: clamp(34px, 7vw, 76px); line-height: 1.02; font-weight: 900; letter-spacing: -.01em; margin-top: 12px; }
.big { font-size: clamp(40px, 9vw, 112px); line-height: 1.08; font-weight: 900; letter-spacing: -.025em; }
.small, .note { color: var(--muted); font-size: 15px; margin-top: 20px; }
@media (min-width: 768px) { .manifesto .small { font-size: 18px; } }
/* the real logo set inside a sentence: its baseline sits on the text baseline */
.inline-logo { display: inline-block; height: 1.7em; width: auto; vertical-align: -0.17em; margin-left: .15em; }
/* in the grey intro line: lowercase body matches the text height, tone a touch brighter than the text */
.small .inline-logo { height: 1.18em; vertical-align: -0.12em; margin-left: .1em; opacity: .66; }
.closing { font-size: clamp(26px, 5vw, 56px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.js .reveal { opacity: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 14px; font-weight: 800; letter-spacing: .06em;
  transition: transform .2s ease, background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.ghost { border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); }

/* image slots: show a labelled placeholder until the real image exists */
.slot {
  position: relative; overflow: hidden; border-radius: 4px;
  background:
    radial-gradient(70% 50% at 50% 35%, rgba(255,255,255,.08), transparent 70%),
    linear-gradient(160deg, #1b1b1e, #0d0d0f);
  border: 1px solid var(--line);
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-label {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: .14em; color: var(--muted);
}
.slot:has(img) { border-color: transparent; }
.slot:has(img) .slot-label { display: none; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-16x9 { aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------------- manifesto */
.manifesto { padding-top: 120px; padding-bottom: 120px; }
@media (min-width: 768px) { .manifesto { padding-top: 200px; padding-bottom: 200px; } }

/* ---------------------------------------------------------------- drop */
.drop { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .drop { grid-template-columns: 1.05fr 1fr; gap: 72px; } }
.specs { list-style: none; margin-top: 28px; border-top: 1px solid var(--line); }
.specs li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs span { color: var(--muted); font-size: 13px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* ---------------------------------------------------------------- back print */
.print-stage { display: grid; gap: 40px; margin-top: 48px; align-items: center; }
@media (min-width: 900px) { .print-stage { grid-template-columns: 1fr 1fr; gap: 72px; } }
.arch { width: 100%; max-width: 560px; margin: 0 auto; }

/* ---------------------------------------------------------------- lookbook */
.lb-grid {
  margin-top: 40px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 74%;
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
  padding: 0 var(--gutter) 8px;
  scrollbar-width: none;
}
.lb-grid::-webkit-scrollbar { display: none; }
.lb-grid .slot { scroll-snap-align: start; }
@media (min-width: 900px) {
  .lb-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin: 40px 0 0; padding: 0; gap: 16px; }
  .lb-grid .slot:nth-child(even) { transform: translateY(48px); }
}

/* ---------------------------------------------------------------- outro + footer */
.outro { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.outro .wide { width: 100%; }
.site-footer { padding: 72px var(--gutter) calc(40px + env(safe-area-inset-bottom)); text-align: center; border-top: 1px solid var(--line); }
.footer-arch { width: min(72vw, 420px); margin: 0 auto 28px; opacity: .9; }
.site-footer p { color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.copyright .inline-logo { height: 1.9em; vertical-align: -0.3em; margin: 0 .1em; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .scroll-cue span { animation: none; }
}
