/* ════════════════════════════════════════════════════
   UNCLAIMED v4 — Mobile-first, full responsive
   ════════════════════════════════════════════════════ */

:root {
  --bg:        #060606;
  --fg:        #ece9e3;
  --fg-dim:    rgba(236,233,227,0.5);
  --fg-muted:  rgba(236,233,227,0.22);
  --fg-ghost:  rgba(236,233,227,0.07);
  --border:    rgba(236,233,227,0.1);
  --border-md: rgba(236,233,227,0.2);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Space Grotesk', 'Helvetica Neue', sans-serif;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-hard: cubic-bezier(0.76, 0, 0.24, 1);
  /* Fluid spacing */
  --pad-x:     clamp(20px, 5vw, 80px);
  --section-y: clamp(60px, 10vw, 160px);
  --nav-h:     clamp(56px, 8vw, 72px);
}

/* ─── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  overflow-x: hidden;
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
@media (hover: hover) and (pointer: fine) { html { cursor: none; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
a  { color: inherit; text-decoration: none; }
button { background: none; border: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--fg); color: var(--bg); }
a, button, [tabindex="0"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, select, textarea  { font-size: 16px; -webkit-appearance: none; border-radius: 0; }
@media (hover: hover) and (pointer: fine) { a, button { cursor: none; } }


/* ─── GRAIN ── */
.grain {
  position: fixed; inset: -60%; width: 220%; height: 220%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.055; pointer-events: none; z-index: 9990;
  animation: grain 7s steps(10) infinite; will-change: transform;
}
@keyframes grain {
  0%{transform:translate(0,0)} 10%{transform:translate(-4%,-8%)} 20%{transform:translate(-12%,4%)}
  30%{transform:translate(5%,-20%)} 40%{transform:translate(-4%,20%)} 50%{transform:translate(-10%,7%)}
  60%{transform:translate(10%,-1%)} 70%{transform:translate(0,10%)} 80%{transform:translate(2%,28%)}
  90%{transform:translate(-7%,8%)} 100%{transform:translate(0,0)}
}


/* ─── CURSOR ── */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-ring {
    display: block; position: fixed; border-radius: 50%;
    pointer-events: none; transform: translate(-50%,-50%); z-index: 9999; transition: opacity 0.3s;
  }
  .cursor { width: 6px; height: 6px; background: var(--fg); z-index: 10000; }
  .cursor-ring {
    width: 28px; height: 28px; border: 1px solid rgba(236,233,227,0.3);
    transition: width .4s var(--ease), height .4s var(--ease), border-color .3s;
  }
  .cursor-ring.hover { width: 52px; height: 52px; border-color: rgba(236,233,227,0.55); }
  .cursor-ring.click { width: 16px; height: 16px; }
}


/* ─── ACCESS GRANTED OVERLAY ── */
#ag-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9996;
  display: none;
  align-items: center;
  justify-content: center;
}
#ag-overlay.visible { display: flex; }

#ag-text {
  font-family: var(--sans);
  font-size: clamp(0.58rem, 1.8vw, 0.82rem);
  letter-spacing: 0.52em;
  color: rgba(236,233,227,0.65);
  text-transform: uppercase;
  text-align: center;
  padding: 0 clamp(24px, 5vw, 60px);
}
.ag-word { display: inline-block; }


/* ─── LOADER ── */
#loader {
  position: fixed; inset: 0; background: #000;
  z-index: 9998; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.loader-phase {
  position: absolute; display: flex; flex-direction: column;
  align-items: center; justify-content: center; opacity: 0;
  padding: 0 clamp(24px, 5vw, 60px);
}
.loader-logo-img {
  width: clamp(130px, 28vw, 320px); height: auto; display: block;
  animation: fadeUp 1.3s var(--ease) 2.5s both;
}
.loader-tagline {
  font-family: var(--sans);
  font-size: clamp(0.46rem, 1.2vw, 0.68rem);
  letter-spacing: 0.46em; color: rgba(236,233,227,0.55);
  text-transform: uppercase; text-align: center;
  opacity: 0; animation: fadeUp 1s var(--ease) 5s both;
}
.tl-word { display: inline-block; }
.loader-bar-wrap {
  position: absolute; bottom: clamp(32px,5vh,64px);
  width: clamp(80px, 18vw, 220px); height: 1px;
  background: rgba(236,233,227,0.1); overflow: hidden; opacity: 0;
}
.loader-bar-fill { height: 100%; width: 0%; background: rgba(236,233,227,0.5); transition: width 2.2s var(--ease-hard); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─── ACCESS GATE ── */
#gate {
  position: fixed; inset: 0; background: #000;
  z-index: 9997;
  /* hidden until loader finishes */
  display: none;
  align-items: center; justify-content: center;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}
#gate.visible { display: flex; }

.gate-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80vmax; height: 80vmax;
  background: radial-gradient(ellipse at center, rgba(236,233,227,0.04) 0%, transparent 60%);
  pointer-events: none; animation: gateBreathe 4s ease-in-out infinite alternate;
}
@keyframes gateBreathe {
  from { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}

.gate-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: clamp(18px, 2.8vh, 32px);
  /* Mobile default */
  width: min(440px, 88vw);
  padding: max(48px, 6vh) 0 max(36px, 4vh);
}

/* Tablet */
@media (min-width: 640px) {
  .gate-inner { width: min(480px, 72vw); }
}
/* Laptop / Desktop */
@media (min-width: 1024px) {
  .gate-inner { width: min(520px, 44vw); gap: clamp(24px, 2.6vh, 40px); }
}
/* Wide desktop */
@media (min-width: 1440px) {
  .gate-inner { width: 540px; }
}

.gate-logo-wrap {
  position: relative; display: flex; align-items: center; justify-content: center;
}
/* Screen blend hides JPEG black bg against gate's #000 background */
.gate-logo-img {
  display: block; height: auto;
  mix-blend-mode: screen;
  filter: contrast(1.15) brightness(1.1);
  /* Mobile */
  width: clamp(130px, 44vw, 200px);
}
@media (min-width: 640px)  { .gate-logo-img { width: clamp(160px, 24vw, 240px); } }
@media (min-width: 1024px) { .gate-logo-img { width: clamp(200px, 18vw, 300px); } }
@media (min-width: 1440px) { .gate-logo-img { width: 300px; } }

.gate-tag {
  font-size: clamp(0.44rem, 1.5vw, 0.6rem);
  letter-spacing: 0.44em; color: rgba(236,233,227,0.38); text-transform: uppercase;
}
@media (min-width: 1024px) { .gate-tag { font-size: 0.62rem; letter-spacing: 0.5em; } }

.gate-copy { display: flex; flex-direction: column; gap: 4px; }
.gate-copy p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  color: rgba(236,233,227,0.27); line-height: 1.75;
}
@media (min-width: 1024px) { .gate-copy p { font-size: clamp(0.92rem, 1.1vw, 1.1rem); } }
.gate-copy-em { color: rgba(236,233,227,0.4) !important; }

/* FORM */
.gate-form { width: 100%; display: flex; flex-direction: column; }

.gate-input {
  width: 100%; background: rgba(236,233,227,0.03);
  border: 1px solid rgba(236,233,227,0.1); border-bottom: none;
  padding: clamp(15px, 2vh, 18px) clamp(16px, 3vw, 22px);
  font-family: var(--sans); font-size: 16px; letter-spacing: 0.16em;
  color: var(--fg); caret-color: var(--fg); outline: none;
  min-height: clamp(50px, 6vh, 58px);
  transition: background 0.3s, border-color 0.3s;
}
.gate-input:focus { background: rgba(236,233,227,0.06); border-color: rgba(236,233,227,0.22); }
.gate-input::placeholder { color: rgba(236,233,227,0.24); letter-spacing: 0.16em; }

.gate-input-slot { position: relative; }

.gate-error {
  font-size: 0.58rem; letter-spacing: 0.26em; color: rgba(236,233,227,0.45);
  padding: 9px 0 0; text-align: left; min-height: 28px;
  opacity: 0; transform: translateY(3px);
  transition: opacity 0.4s, transform 0.4s;
}
.gate-error.show { opacity: 1; transform: translateY(0); }

.gate-btn {
  margin-top: 0;
  width: 100%;
  min-height: clamp(52px, 6.5vh, 62px);
  padding: 16px 24px;
  /* Close bottom border on form group */
  border: 1px solid rgba(236,233,227,0.1);
  background: var(--fg); color: var(--bg);
  font-family: var(--sans); font-size: clamp(0.62rem, 1.2vw, 0.72rem); letter-spacing: 0.4em;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 0.3s, transform 0.15s;
}
.gate-btn:hover, .gate-btn:active { background: #fff; }
.gate-btn:active { transform: scale(0.99); }
.gate-arrow { transition: transform 0.3s var(--ease); }
.gate-btn:hover .gate-arrow { transform: translateX(4px); }

/* "Have a code?" toggle */
.gate-code-toggle {
  font-family: var(--sans);
  font-size: clamp(0.56rem, 1.1vw, 0.64rem);
  letter-spacing: 0.24em; color: rgba(236,233,227,0.38);
  border-bottom: 1px solid rgba(236,233,227,0.15);
  padding-bottom: 2px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.3s, border-color 0.3s;
  text-transform: uppercase;
}
.gate-code-toggle:hover { color: var(--fg-dim); border-color: rgba(236,233,227,0.35); }

.gate-foot {
  font-size: clamp(0.48rem, 0.9vw, 0.54rem);
  letter-spacing: 0.32em; color: rgba(236,233,227,0.14); text-transform: uppercase;
}

@keyframes gateShake {
  0%,100%{transform:translateX(0)} 15%{transform:translateX(-9px)} 30%{transform:translateX(9px)}
  45%{transform:translateX(-6px)} 60%{transform:translateX(6px)} 75%{transform:translateX(-3px)} 90%{transform:translateX(3px)}
}
.gate-form.shake { animation: gateShake 0.5s cubic-bezier(0.36,0.07,0.19,0.97) both; }


/* ─── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  padding-top: max(0px, env(safe-area-inset-top));
  transition: background 0.5s, border-color 0.5s, transform 0.4s var(--ease-hard);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(6,6,6,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); border-color: var(--border);
}
#nav.hide { transform: translateY(-100%); }

.nav-logo-link {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(0.72rem, 1.6vw, 1rem);
  font-weight: 700; letter-spacing: 0.14em; color: var(--fg);
  opacity: 0; transform: translateY(-6px); white-space: nowrap;
  min-height: 44px; display: flex; align-items: center;
}

.nav-links { display: none; gap: clamp(20px, 2.5vw, 44px); align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-link {
  font-size: clamp(0.58rem, 0.85vw, 0.68rem); letter-spacing: 0.26em;
  color: var(--fg-dim); opacity: 0; position: relative;
  min-height: 44px; display: flex; align-items: center;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 8px; left: 0;
  width: 0; height: 1px; background: var(--fg); transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { width: 100%; }

.nav-burger {
  display: flex; flex-direction: column; gap: 7px;
  width: 44px; min-height: 44px; justify-content: center; align-items: flex-end;
  opacity: 0;
}
.nav-burger span { display: block; height: 1px; background: var(--fg); transition: transform 0.4s var(--ease); }
.nav-burger.open span:first-child { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:last-child  { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 768px) { .nav-burger { display: none; } }

.mob-nav {
  position: fixed; inset: 0; background: var(--bg); z-index: 850;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 var(--pad-x);
  padding-top: max(0px, env(safe-area-inset-top));
  padding-bottom: max(0px, env(safe-area-inset-bottom));
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.mob-nav.open { opacity: 1; pointer-events: all; }
.mob-nav-links { display: flex; flex-direction: column; gap: clamp(14px, 3vh, 30px); }
.mob-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 300; color: var(--fg);
  min-height: 52px; display: flex; align-items: center;
  opacity: 0; transform: translateX(-22px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mob-nav.open .mob-link                 { opacity: 1; transform: translateX(0); }
.mob-nav.open .mob-link:nth-child(2)    { transition-delay: .06s; }
.mob-nav.open .mob-link:nth-child(3)    { transition-delay: .12s; }
.mob-nav.open .mob-link:nth-child(4)    { transition-delay: .18s; }
.mob-tagline {
  position: absolute; bottom: max(28px, env(safe-area-inset-bottom, 28px)); left: var(--pad-x);
  font-size: 0.54rem; letter-spacing: 0.36em; color: var(--fg-muted);
}


/* ─── HERO ── */
#hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--nav-h) var(--pad-x) 0; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(236,233,227,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-hl {
  display: flex; flex-direction: column; gap: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 11.5vw, 14rem);
  font-weight: 300; letter-spacing: -0.03em; line-height: 0.91; color: var(--fg);
}
.hl     { display: block; overflow: hidden; }
.hl-t   { display: block; transform: translateY(108%); will-change: transform; }
.hl-em .hl-t { font-style: italic; color: var(--fg-dim); }
.hero-sub {
  margin-top: clamp(18px, 2.5vh, 44px);
  font-size: clamp(0.58rem, 1.6vw, 0.78rem); letter-spacing: 0.36em;
  color: var(--fg-muted); text-transform: uppercase; opacity: 0;
}
.hero-meta {
  position: absolute; bottom: clamp(18px,3vh,44px); right: var(--pad-x);
  font-size: clamp(0.46rem, 0.8vw, 0.54rem); letter-spacing: 0.38em; color: var(--fg-muted);
  display: flex; gap: 8px; align-items: center; z-index: 2; opacity: 0;
}
.hm-sep { color: var(--fg-ghost); }
.hero-scroll { position: absolute; bottom: clamp(18px,3vh,44px); left: var(--pad-x); z-index: 2; opacity: 0; }
.hs-line {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, var(--fg-dim), transparent);
  animation: hs 2.4s var(--ease-hard) infinite; transform-origin: top;
}
@keyframes hs {
  0%  { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  46% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}


/* ─── MARQUEE ── */
.marquee {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 13px 0; white-space: nowrap;
}
.mq-track {
  display: inline-flex; gap: 30px;
  animation: mq 28s linear infinite; will-change: transform;
}
.mq-track span { font-size: 0.54rem; letter-spacing: 0.34em; color: var(--fg-muted); text-transform: uppercase; flex-shrink: 0; }
.mq-dot { color: var(--fg-ghost) !important; font-size: 0.38rem !important; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee:hover .mq-track { animation-play-state: paused; }


/* ─── COLLECTION ── */
#collection { padding: var(--section-y) var(--pad-x); border-top: 1px solid var(--border); }
.col-header { margin-bottom: clamp(24px, 4vw, 60px); }
.eyebrow { font-size: clamp(0.5rem, 0.9vw, 0.6rem); letter-spacing: 0.44em; color: var(--fg-muted); text-transform: uppercase; }

/* Mobile: 1 col → tablet: 2 col */
.products { display: grid; grid-template-columns: 1fr; gap: 3px; }
@media (min-width: 560px) { .products { grid-template-columns: repeat(2, 1fr); } }

.pc { position: relative; overflow: hidden; background: var(--bg); }
.pc-visual {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden; transition: transform 0.9s var(--ease);
}
@media (max-width: 559px) { .pc-visual { aspect-ratio: 4/5; } }
@media (hover: hover) { .pc:hover .pc-visual { transform: scale(1.04); } }

.pv-1 { background: radial-gradient(ellipse at 25% 80%, rgba(255,255,255,0.05) 0%, transparent 50%), linear-gradient(165deg, #121212 0%, #090909 100%); }
.pv-2 { background: radial-gradient(ellipse at 72% 28%, rgba(255,255,255,0.04) 0%, transparent 55%), linear-gradient(140deg, #0e0e0e 0%, #1a1a1a 45%, #0b0b0b 100%); }
.pv-3 { background: radial-gradient(ellipse at 50% 55%, rgba(255,255,255,0.03) 0%, transparent 55%), linear-gradient(195deg, #131313 0%, #090909 100%); }
.pv-4 { background: radial-gradient(ellipse at 28% 65%, rgba(255,255,255,0.06) 0%, transparent 44%), radial-gradient(ellipse at 78% 28%, rgba(255,255,255,0.02) 0%, transparent 48%), linear-gradient(175deg, #0d0d0d 0%, #161616 55%, #090909 100%); }

.pc-tag {
  position: absolute; top: 13px; left: 13px;
  font-size: 0.48rem; letter-spacing: 0.3em; color: var(--fg);
  border: 1px solid rgba(236,233,227,0.2); padding: 5px 9px;
  background: rgba(6,6,6,0.55); backdrop-filter: blur(8px);
}
.pc-tag--low { color: var(--fg-dim); border-color: var(--border); }
.pc-tag--ltd { border-color: rgba(236,233,227,0.35); }
.pc-reveal {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.pc-reveal span { font-size: 0.56rem; letter-spacing: 0.34em; color: var(--fg); border-bottom: 1px solid rgba(236,233,227,0.4); padding-bottom: 3px; }
@media (hover: hover) { .pc:hover .pc-reveal { opacity: 1; transform: translateY(0); } }
.pc.tapped .pc-reveal { opacity: 1; transform: translateY(0); }

.pc-info { padding: clamp(13px,1.5vw,18px) clamp(12px,1.2vw,16px) clamp(17px,2vw,22px); border: 1px solid transparent; border-top: none; transition: border-color 0.35s; }
@media (hover: hover) { .pc:hover .pc-info { border-color: var(--border); } }
.pc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 5px; }
.pc-name  { font-size: clamp(0.62rem, 1vw, 0.72rem); font-weight: 500; letter-spacing: 0.15em; }
.pc-price { font-size: clamp(0.6rem, 0.9vw, 0.68rem); color: var(--fg-dim); }
.pc-detail { font-size: clamp(0.62rem, 0.9vw, 0.68rem); color: var(--fg-muted); line-height: 1.6; margin-bottom: 12px; }
.pc-add {
  font-size: 0.56rem; letter-spacing: 0.26em; color: var(--fg-muted);
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
  min-height: 44px; display: inline-flex; align-items: flex-end;
  transition: color 0.3s, border-color 0.3s;
}
.pc-add:hover { color: var(--fg); border-color: var(--fg-dim); }
.col-footer { margin-top: clamp(28px,5vw,64px); text-align: center; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(0.56rem, 0.9vw, 0.64rem); letter-spacing: 0.34em;
  color: var(--fg-dim); border: 1px solid var(--border);
  padding: clamp(14px,1.5vw,18px) clamp(32px,4vw,48px); min-height: 52px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }


/* ─── STATEMENT ── */
#statement { padding: var(--section-y) var(--pad-x); border-top: 1px solid var(--border); text-align: center; position: relative; overflow: hidden; }
#statement::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80vw; height: 80vw; background: radial-gradient(ellipse at center, rgba(236,233,227,0.02) 0%, transparent 58%); pointer-events: none; }
.stmt-inner { position: relative; z-index: 1; margin-bottom: clamp(28px,4vw,64px); }
.stmt-line {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5.8vw, 8rem);
  font-weight: 300; font-style: italic; letter-spacing: -0.02em; line-height: 1.06;
  color: var(--fg); display: block; overflow: hidden;
}
.stmt-l2 { padding-left: clamp(10px, 3.5vw, 100px); color: var(--fg-dim); }
.stmt-l3 { padding-left: clamp(20px, 7vw, 200px); }
.stmt-body { position: relative; z-index: 1; max-width: 500px; margin: 0 auto; }
.stmt-body p { font-size: clamp(0.78rem, 1.4vw, 0.92rem); color: var(--fg-muted); line-height: 1.9; }


/* ─── NEWSLETTER ── */
#newsletter { padding: var(--section-y) var(--pad-x); border-top: 1px solid var(--border); text-align: center; }
.nl-inner { max-width: 580px; margin: 0 auto; }
.nl-title { font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 10rem); font-weight: 300; letter-spacing: -0.03em; line-height: 0.93; margin: 8px 0 clamp(18px,2.5vh,30px); }
.nl-sub { font-size: clamp(0.72rem, 1.3vw, 0.86rem); color: var(--fg-muted); line-height: 1.85; margin-bottom: clamp(24px,3.5vh,40px); }
.nl-form { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.nl-wrap { display: flex; flex-direction: column; width: 100%; max-width: 500px; border: 1px solid var(--border); transition: border-color 0.4s; }
@media (min-width: 540px) { .nl-wrap { flex-direction: row; } }
.nl-wrap:focus-within { border-color: var(--border-md); }
.nl-wrap input { flex: 1; background: transparent; border: none; outline: none; padding: clamp(15px,2vh,18px) clamp(16px,2.5vw,22px); font-family: var(--sans); font-size: 16px; letter-spacing: 0.16em; color: var(--fg); caret-color: var(--fg); min-height: 52px; }
.nl-wrap input::placeholder { color: var(--fg-muted); }
.nl-wrap button { padding: clamp(15px,2vh,18px) clamp(18px,2.5vw,24px); border-top: 1px solid var(--border); font-family: var(--sans); font-size: clamp(0.56rem,0.9vw,0.62rem); letter-spacing: 0.26em; color: var(--fg-dim); white-space: nowrap; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.4s, color 0.4s; }
@media (min-width: 540px) { .nl-wrap button { border-top: none; border-left: 1px solid var(--border); } }
.nl-wrap button:hover { background: var(--fg); color: var(--bg); }
.nl-arrow { transition: transform 0.3s var(--ease); }
.nl-wrap button:hover .nl-arrow { transform: translateX(4px); }
.nl-confirm { font-size: 0.58rem; letter-spacing: 0.26em; color: var(--fg-dim); min-height: 18px; }


/* ─── FOOTER ── */
#footer { padding: var(--section-y) var(--pad-x) max(40px, env(safe-area-inset-bottom, 40px)); border-top: 1px solid var(--border); }
.ft-logo-wrap { margin-bottom: clamp(14px,2.5vw,32px); display: inline-block; background: #000; padding: 0 2px; }
.ft-logo-img { width: min(440px, 68vw); height: auto; display: block; opacity: 0.9; }
.ft-tagline { font-family: var(--serif); font-size: clamp(0.78rem, 1.8vw, 1.3rem); font-weight: 300; font-style: italic; color: var(--fg-muted); letter-spacing: 0.04em; margin-bottom: clamp(28px,4vw,64px); }
.ft-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(24px,3.5vw,48px); }
.ft-link { font-size: clamp(0.62rem,0.9vw,0.7rem); color: var(--fg-dim); letter-spacing: 0.08em; min-height: 44px; display: inline-flex; align-items: center; transition: color 0.3s; }
.ft-link:hover { color: var(--fg); }
.ft-bottom { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 1px solid var(--border); }
@media (min-width: 600px) { .ft-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.ft-bottom p { font-size: clamp(0.5rem,0.75vw,0.58rem); letter-spacing: 0.24em; color: var(--fg-muted); text-transform: uppercase; }
.ft-legal { display: flex; gap: 18px; }
.ft-legal .ft-link { font-size: 0.58rem; letter-spacing: 0.16em; }


/* ─── THEME BTN ── */
.theme-btn {
  position: fixed; bottom: max(16px, env(safe-area-inset-bottom, 16px)); right: clamp(14px,2.5vw,28px);
  z-index: 800; display: flex; align-items: center; gap: 8px;
  padding: 9px 15px; min-height: 44px;
  background: #ece9e3; color: #080808; border: 1px solid #ece9e3;
  font-family: var(--sans); font-size: clamp(0.46rem,0.75vw,0.52rem); letter-spacing: 0.3em;
  transition: background 0.4s, color 0.4s, border-color 0.4s, opacity 0.4s; opacity: 0;
}
.theme-btn::before { content: ''; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); flex-shrink: 0; transition: transform 0.5s var(--ease); }
.theme-btn:hover { background: #fff; border-color: #fff; }
body.light .theme-btn { background: #111; color: #ece9e3; border-color: #111; }
body.light .theme-btn:hover { background: #1a1a1a; }
body.light .theme-btn::before { transform: rotate(180deg); }


/* ─── LIGHT MODE ── */
html.light-preload, html.light-preload body { --bg:#f0ede7;--fg:#0c0a08;--fg-dim:rgba(12,10,8,0.5);--fg-muted:rgba(12,10,8,0.28);--fg-ghost:rgba(12,10,8,0.07);--border:rgba(12,10,8,0.1);--border-md:rgba(12,10,8,0.2); background:#f0ede7;color:#0c0a08; }
body.light { --bg:#f0ede7;--fg:#0c0a08;--fg-dim:rgba(12,10,8,0.5);--fg-muted:rgba(12,10,8,0.28);--fg-ghost:rgba(12,10,8,0.07);--border:rgba(12,10,8,0.1);--border-md:rgba(12,10,8,0.2); }
html, body.light { transition: background 0.7s ease, color 0.7s ease; }
body.light { background: #f0ede7; }
body.light .grain { opacity: 0.025; }
body.light .ft-logo-wrap { background: #f0ede7; }
body.light .ft-logo-img  { filter: invert(1) brightness(0.92); }
body.light .mob-nav { background: #f0ede7; }
body.light .cursor { background: #0c0a08; }
body.light .cursor-ring { border-color: rgba(12,10,8,0.35); }
body.light .pv-1 { background: linear-gradient(165deg, #e8e5df 0%, #dedad4 100%); }
body.light .pv-2 { background: linear-gradient(140deg, #e5e2dc 0%, #d8d5cf 45%, #e0ddd7 100%); }
body.light .pv-3 { background: linear-gradient(195deg, #e2dfd9 0%, #dedad4 100%); }
body.light .pv-4 { background: linear-gradient(175deg, #e0ddd7 0%, #d5d2cc 55%, #dedad4 100%); }


/* ─── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .grain, .hs-line { animation: none; }
}
