/* ===========================================================
   PEIK — Coming Soon
   Design language derived from the brand's SS2026 print lookbook.
   =========================================================== */

:root {
  --void:       #080808;
  --deep:       #111110;
  --surface:    #181816;
  --paper:      #FAFAF8;
  --paper-dim:  #F0EDE8;
  --gold:       #C9A96E;
  --gold-dim:   #9B7D50;
  --gold-pale:  rgba(201,169,110,0.18);
  --gold-glow:  rgba(201,169,110,0.06);
  --white:      #FFFFFF;
  --smoke:      rgba(255,255,255,0.06);
  --smoke-md:   rgba(255,255,255,0.10);
  --smoke-lg:   rgba(255,255,255,0.15);
  --ink:        #1A1A18;
  --ink-mid:    #3A3A38;
  --ink-light:  #6A6A66;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sc:    'Cormorant SC', serif;
  --font-sans:  'Raleway', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

/* Subtle grain overlay for texture, sits above everything */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Shared type helpers ---------- */
.label {
  font-family: var(--font-sc);
  font-size: 0.85rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.label.light { color: var(--gold); }

.rule {
  width: 64px;
  height: 1px;
  margin: 28px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

em { font-style: italic; color: var(--gold); }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 28px 6vw;
  display: flex;
  mix-blend-mode: difference;
}
.nav-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-mark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  color: var(--white);
}
.logo-mark.small { font-size: 1.1rem; }
.logo-img { height: 32px; width: auto; }
.nav-tag {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 6vw;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 20%, var(--gold-glow) 0%, transparent 55%),
    linear-gradient(180deg, var(--void) 0%, var(--deep) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero-ghost {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: min(38vw, 520px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--smoke);
  user-select: none;
  white-space: nowrap;
}

.hero-content { position: relative; z-index: 1; max-width: 760px; }

.eyebrow {
  font-family: var(--font-sc);
  font-size: 0.95rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  animation: fadeUp 1s ease 0.1s both;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--white);
  animation: fadeUp 1s ease 0.3s both;
}
.hero-title em { font-weight: 400; }

.hero-sub {
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.72);
  max-width: 460px;
  margin: 0 auto;
  animation: fadeUp 1s ease 0.6s both;
}

.hero .rule { animation: fadeUp 1s ease 0.5s both; }

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  opacity: 0.6;
}
.scroll-cue span {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
.scroll-cue p {
  font-family: var(--font-sc);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- MANIFESTO (paper section) ---------- */
.manifesto.paper {
  background: var(--paper);
  color: var(--ink);
  padding: 160px 6vw;
  text-align: center;
}
.manifesto-inner { max-width: 760px; margin: 0 auto; }
.manifesto .label { color: var(--gold-dim); }
.manifesto h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.25;
  margin: 26px 0 30px;
  color: var(--ink);
}
.manifesto-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- CATEGORIES ---------- */
.categories { background: var(--void); }
.categories-head {
  text-align: center;
  padding: 140px 6vw 80px;
}
.categories-head h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin-top: 22px;
}

.cat-band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46vh;
  padding: 70px 6vw;
  gap: 6vw;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  overflow: hidden;
}
.cat-band.is-visible { opacity: 1; transform: translateY(0); }

.cat-band.dark   { background: var(--void); color: var(--white); }
.cat-band.deep   { background: var(--deep); color: var(--white); }
.cat-band.paper  { background: var(--paper); color: var(--ink); }

.cat-band.reverse { flex-direction: row-reverse; }

.cat-visual {
  flex: 1 1 40%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  max-width: 420px;
}
.cat-visual .cat-num-ghost {
  position: absolute;
  bottom: -6%;
  right: -4%;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 9rem;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.cat-band.paper .cat-visual .cat-num-ghost { color: rgba(0,0,0,0.06); }

.cat-content { flex: 1 1 55%; max-width: 480px; }
.cat-num {
  font-family: var(--font-sc);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.cat-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 18px;
}
.cat-desc {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  opacity: 0.75;
  max-width: 380px;
}
.cat-band.paper .cat-desc { color: var(--ink-mid); }

@media (max-width: 820px) {
  .cat-band, .cat-band.reverse {
    flex-direction: column;
    text-align: center;
    padding: 60px 8vw;
    gap: 36px;
  }
  .cat-visual { max-width: 320px; width: 100%; }
  .cat-content { max-width: 100%; }
  .cat-desc { margin: 0 auto; }
}

/* ---------- COMING SOON ---------- */
.coming-soon {
  position: relative;
  background: var(--deep);
  padding: 180px 6vw;
  text-align: center;
  overflow: hidden;
}
.cs-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: min(26vw, 320px);
  color: transparent;
  -webkit-text-stroke: 1px var(--smoke);
  white-space: nowrap;
  z-index: 0;
  user-select: none;
}
.cs-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.coming-soon h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  margin: 20px 0 20px;
}
.cs-sub {
  font-size: 0.98rem;
  font-weight: 200;
  color: rgba(255,255,255,0.7);
  margin-bottom: 46px;
}

.notify-form {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 440px;
  margin: 0 auto;
  border-bottom: 1px solid var(--smoke-lg);
  padding-bottom: 4px;
}
.notify-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 12px 8px;
}
.notify-form input::placeholder { color: rgba(255,255,255,0.35); }
.notify-form button {
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: var(--font-sc);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 12px 6px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  white-space: nowrap;
}
.notify-form button:hover,
.notify-form button:focus-visible { color: var(--white); letter-spacing: 0.28em; }
.notify-form input:focus-visible,
.notify-form button:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.notify-message {
  margin-top: 22px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  min-height: 1.2em;
}

@media (max-width: 520px) {
  .notify-form { flex-direction: column; border-bottom: none; gap: 14px; }
  .notify-form input { border-bottom: 1px solid var(--smoke-lg); text-align: center; }
  .notify-form button { border: 1px solid var(--gold-dim); }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--void);
  padding: 60px 6vw 40px;
  border-top: 1px solid var(--smoke);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.footer-links a { transition: color 0.3s ease; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--gold); }
.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
}

/* Focus visibility globally */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
