/* ============================================================
   ZAFLICK — not made to blend in
   Display: Archivo · Body: Rethink Sans
   ============================================================ */
:root {
  /* web palette */
  --peach: #FFC8B0;
  --ink: #070707;
  --ink-800: #171717;
  --ink-700: #2A2A2A;
  --ink-500: #666666;
  --ink-300: #B8B8B8;
  --cream: #F7EFE2;
  --bone: #F4F1EA;
  --greige: #D9D1C5;
  /* apparel TCX accents */
  --flame: #FF7420;
  --azure: #0087B6;
  --fuchsia: #CE3175;
  --citron: #C9D750;
  --pine: #1C4F40;
  --berry: #6E2C4B;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Rethink Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

html, body { background: var(--ink); }

body {
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---------- type helpers ---------- */
.kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--flame);
  margin-bottom: 18px;
}
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  letter-spacing: -0.015em;
  line-height: 0.98;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  mix-blend-mode: difference; /* white assets/links invert on light sections */
}
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-stamp { height: 30px; width: auto; }
.nav-word { height: 16px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}
.nav-links a:hover { opacity: 0.7; }
.nav-cta {
  border: 1.5px solid #fff;
  padding: 9px 18px;
  border-radius: 999px;
}
.nav-cta:hover { opacity: 1 !important; background: #fff; color: #000 !important; }

/* ---------- SCRUB SECTIONS ---------- */
.scrub { position: relative; height: 460vh; background: var(--ink); }
.hero-scrub { height: 520vh; }
.scrub .sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.scrub canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 48%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 22%, transparent 72%, rgba(0,0,0,0.6) 100%);
}
.overlay { position: relative; z-index: 10; width: 100%; height: 100%; }
.reveal-line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: max-content;
  max-width: 92vw;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 7.5vw, 6.5rem);
  letter-spacing: -0.01em;
  line-height: 0.98;
  color: var(--bone);
  opacity: 0;
  text-shadow: 0 6px 60px rgba(0,0,0,0.65);
  will-change: opacity, transform;
}
.reveal-line.accent { color: var(--peach); }

.progress {
  position: absolute;
  left: 32px; right: 32px; bottom: 42px;
  height: 2px;
  background: rgba(244,241,234,0.18);
  z-index: 12;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--peach), var(--flame));
}
.scroll-hint {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: rgba(244,241,234,0.7);
  animation: bob 1.8s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- MANIFESTO ---------- */
.manifesto {
  background: var(--cream);
  color: var(--ink);
  padding: 140px 8vw 120px;
  text-align: center;
}
.manifesto .lede {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 1.15rem;
  color: var(--ink-700);
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 80px auto 0;
  text-align: left;
}
.value {
  border-top: 3px solid var(--ink);
  padding-top: 20px;
}
.value h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.value p { color: var(--ink-500); font-size: 0.98rem; }

/* ---------- COLLECTIONS ---------- */
.collection { padding: 130px 6vw 110px; }
.collection.light { background: var(--bone); color: var(--ink); }
.collection.greige { background: var(--greige); }
.collection-head { max-width: 1280px; margin: 0 auto 56px; }
.collection-head .sub { color: var(--ink-500); margin-top: 14px; font-size: 1.05rem; }

.grid {
  display: grid;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(7,7,7,0.06);
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(7,7,7,0.14); }
.card-img { overflow: hidden; aspect-ratio: 4 / 5; }
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-img img { transform: scale(1.045); }
.card-body { padding: 20px 22px 24px; }
.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  color: var(--ink);
  background: var(--peach);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.card-body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
.card-body p {
  color: var(--ink-500);
  font-size: 0.92rem;
  margin-top: 6px;
  min-height: 2.8em;
}
.dots { display: flex; gap: 8px; margin-top: 14px; }
.dots span {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c);
  border: 1.5px solid rgba(7,7,7,0.18);
}

/* banner */
.banner {
  max-width: 1280px;
  margin: 64px auto 0;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.banner img { width: 100%; }
.banner figcaption {
  position: absolute;
  left: 32px; bottom: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--bone);
  text-shadow: 0 2px 24px rgba(0,0,0,0.7);
}

/* ---------- CRAFT ---------- */
.craft {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 150px 8vw;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 80px auto 0;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--peach);
}
.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-300);
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
.craft-note {
  max-width: 640px;
  margin: 80px auto 0;
  color: var(--ink-300);
  font-size: 1.05rem;
}

/* ---------- EARLY CIRCLE ---------- */
.circle {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: 140px 8vw;
}
.circle-bg { position: absolute; inset: 0; }
.circle-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(1.15);
}
.circle-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 80% at 50% 50%, rgba(7,7,7,0.25), rgba(7,7,7,0.78));
}
.circle-inner { position: relative; z-index: 2; max-width: 680px; }
.circle .kicker { color: var(--peach); }
.perks {
  list-style: none;
  margin: 40px 0 44px;
  display: grid;
  gap: 12px;
  font-size: 1.05rem;
}
.perks li::before { content: "—  "; color: var(--flame); font-weight: 600; }
.circle-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.circle-form input {
  flex: 1;
  min-width: 0;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(244,241,234,0.4);
  background: rgba(7,7,7,0.45);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}
.circle-form input:focus { border-color: var(--peach); }
.circle-form input::placeholder { color: rgba(244,241,234,0.55); }
.circle-form button {
  padding: 16px 34px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--peach);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: transform 0.25s, background 0.25s;
}
.circle-form button:hover { transform: scale(1.04); background: var(--flame); color: var(--bone); }
.form-note { margin-top: 18px; font-size: 0.88rem; color: rgba(244,241,234,0.65); }
.form-note.success { color: var(--citron); }
.form-note.error { color: var(--flame); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  padding: 90px 6vw 36px;
  border-top: 1px solid var(--ink-700);
}
.footer-lockup { height: 34px; width: auto; margin-bottom: 48px; }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 26px; }
.footer-links a {
  color: var(--ink-300);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.footer-links a:hover { color: var(--peach); }
.footer-tag { color: var(--ink-500); font-size: 0.92rem; }
.footer-legal {
  margin-top: 56px;
  color: var(--ink-500);
  font-size: 0.8rem;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.3,1), transform 0.8s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav { padding: 14px 18px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .values { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .circle-form { flex-direction: column; }
  .circle-form button { width: 100%; }
  .banner figcaption { left: 18px; bottom: 14px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
