/* Zeedenim — Quiet
   Type: Newsreader (display) + Outfit (UI)
   Paper #faf9f7 · ink oklch(30% 0.02 60) · indigo on fabric only
   Layout: vast negative space · tiny content islands
*/

:root {
  --paper: #faf9f7;
  --ink: oklch(30% 0.02 60);
  --muted: oklch(45% 0.02 60);
  --soft: oklch(50% 0.02 60);
  --whisper: oklch(60% 0.02 60);
  --indigo: oklch(28% 0.06 260);
  --indigo-mid: oklch(42% 0.08 255);
  --indigo-fade: oklch(62% 0.05 250);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--indigo-mid);
}

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

/* —— Chrome (whisper-level) —— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(20px, 4vw, 48px);
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wordmark {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--soft);
}

.nav-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  border-bottom: 1px solid transparent;
  padding: 4px 0;
}

.nav-link:hover {
  border-bottom-color: currentColor;
  color: var(--indigo-mid);
}

/* —— Hero: one composition —— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px 80px;
}

.brand {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 2.2vw, 18px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 clamp(48px, 10vh, 88px);
  animation: rise 1.1s var(--ease) both;
}

.jean {
  width: min(220px, 48vw);
  aspect-ratio: 2 / 3;
  margin: 0 0 clamp(36px, 6vh, 52px);
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  animation: rise 1.2s var(--ease) 0.08s both;
  -webkit-tap-highlight-color: transparent;
}

.jean:hover,
.jean:focus-visible {
  transform: scale(1.02);
  outline: none;
}

.jean:focus-visible::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid oklch(30% 0.02 60 / 0.25);
}

.jean[data-state="worn"] {
  filter: brightness(1.15) contrast(0.95);
}

.jean .twill,
.jean .twill-fade {
  width: 100%;
  height: 100%;
  clip-path: polygon(30% 0, 70% 0, 82% 100%, 18% 100%);
  transition: background-color 0.6s var(--ease), filter 0.6s var(--ease);
}

.twill {
  background-color: var(--indigo);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 2px,
      oklch(100% 0 0 / 0.03) 2px 3px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 3px,
      oklch(0% 0 0 / 0.08) 3px 4px
    );
}

.twill-fade {
  background-color: var(--indigo-fade);
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0 2px,
      oklch(100% 0 0 / 0.06) 2px 3px
    ),
    radial-gradient(ellipse at 30% 20%, oklch(75% 0.04 250) 0%, transparent 55%);
}

.jean-cap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: oklch(100% 0 0 / 0.42);
  pointer-events: none;
  padding: 12px;
  text-align: center;
  line-height: 1.4;
}

.hero h1 {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 28px);
  margin: 0 0 14px;
  animation: rise 1.2s var(--ease) 0.16s both;
}

.hero .lede {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 13px;
  max-width: 34ch;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 40px;
  animation: rise 1.2s var(--ease) 0.22s both;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  align-items: center;
  animation: rise 1.2s var(--ease) 0.28s both;
}

.quiet-cta {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 12px 0 4px;
  color: inherit;
  cursor: pointer;
  min-height: 44px;
}

.quiet-cta:hover,
.quiet-cta:focus-visible {
  color: var(--indigo-mid);
  outline: none;
}

.quiet-cta.ghost {
  border-bottom-color: transparent;
  color: var(--soft);
}

.quiet-cta.ghost:hover {
  border-bottom-color: currentColor;
}

.whisper {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  color: var(--whisper);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 20;
}

.whisper.show {
  opacity: 1;
}

/* —— Sparse sections —— */
.section {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(72px, 14vh, 120px) 24px;
  text-align: center;
}

.section + .section {
  border-top: 1px solid oklch(30% 0.02 60 / 0.08);
}

.section h2 {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 24px);
  margin: 0 0 16px;
}

.section p {
  margin: 0 auto 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 28px;
  text-align: left;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: baseline;
}

.steps .n {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--soft);
}

.steps h3 {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 6px;
  grid-column: 2;
}

.steps p {
  grid-column: 2;
  margin: 0;
  text-align: left;
  font-size: 13px;
}

.swatch-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 8px 0 0;
}

.swatch {
  width: 56px;
  height: 72px;
  clip-path: polygon(28% 0, 72% 0, 85% 100%, 15% 100%);
}

.swatch span {
  display: block;
  margin-top: 80px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
  text-align: center;
  width: 72px;
  margin-left: -8px;
}

.swatch-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.swatch-wrap small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft);
}

/* —— Waitlist —— */
.waitlist {
  display: grid;
  gap: 16px;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.waitlist label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
}

.waitlist input,
.waitlist select,
.waitlist textarea {
  font-family: "Outfit", sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid oklch(30% 0.02 60 / 0.2);
  padding: 10px 0;
  border-radius: 0;
  min-height: 44px;
  width: 100%;
}

.waitlist input:focus,
.waitlist select:focus,
.waitlist textarea:focus {
  outline: none;
  border-bottom-color: var(--indigo-mid);
}

.waitlist textarea {
  min-height: 88px;
  resize: vertical;
}

.waitlist .quiet-cta {
  justify-self: start;
  margin-top: 8px;
}

.form-note {
  font-size: 12px;
  color: var(--soft);
  min-height: 1.2em;
  margin: 0;
}

.form-note.ok {
  color: var(--indigo-mid);
}

.form-note.err {
  color: oklch(40% 0.08 25);
}

/* —— Footer —— */
.site-footer {
  padding: 48px 24px 64px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--whisper);
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
