:root {
  --bg-0: #0b0805;
  --bg-1: #1a120b;
  --husk: #6b4a31;
  --husk-soft: #8a6342;
  --cream: #e8dccb;
  --cream-dim: #b9ad9b;
  --ink: #f4ece0;
  --muted: #8a7f73;
  --line: rgba(232, 220, 203, 0.12);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Ambient glow — coconut husk warmth bleeding from center */
.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 55%,
      rgba(138, 99, 66, 0.45) 0%,
      rgba(107, 74, 49, 0.18) 35%,
      rgba(11, 8, 5, 0) 70%
    ),
    radial-gradient(
      ellipse 90% 70% at 50% 100%,
      rgba(26, 18, 11, 0.9) 0%,
      rgba(11, 8, 5, 1) 60%
    );
  animation: breathe 14s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}

/* Subtle film grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.75 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Nav */
.nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.logo {
  font-family: "Anton", sans-serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 4vw, 40px);
}

.nav-links a {
  font-size: 14px;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 8vh, 96px) clamp(20px, 5vw, 64px) 60px;
  text-align: center;
}

.hero-inner {
  max-width: 980px;
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-dim);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 32px;
  animation: fadeUp 1.1s ease 0.05s both;
}

.headline {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 7.4vw, 104px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 1.2s ease 0.15s both;
}

.sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--cream-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  font-weight: 300;
  animation: fadeUp 1.2s ease 0.3s both;
}

/* Story strip */
.story {
  width: 100%;
  max-width: 1100px;
  margin-top: clamp(80px, 14vh, 160px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  text-align: left;
  animation: fadeUp 1.2s ease 0.6s both;
}

.story-item {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.story-num {
  font-family: "Anton", sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--husk-soft);
  display: block;
  margin-bottom: 14px;
}

.story-item h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.story-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
  font-weight: 300;
}

@media (max-width: 720px) {
  .story { grid-template-columns: 1fr; }
}

/* Footer */
.foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 32px 20px 40px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot { opacity: 0.5; }

/* Entrances */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

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