:root {
  --void: #05060a;
  --ink: #f7f3ea;
  --paper: #cfc6b8;
  --muted: #8a8378;
  --neon: #3ec8ff;
  --lamp: #ffc107;
  --lamp-ink: #141008;
  --fox: #c45c22;
  --line: rgba(247, 243, 234, 0.14);
  --serif: "Cormorant Garamond", Palatino, "Times New Roman", serif;
  --sans: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--serif);
}

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav,
main,
.site-foot {
  position: relative;
  z-index: 2;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.15rem 2.2rem;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav nav {
  display: flex;
  gap: 1.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.nav nav a {
  color: var(--paper);
}

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

.nav .btn {
  justify-self: end;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.78rem 1rem 0.78rem 1.05rem;
  border: 1px solid transparent;
}

.btn-lamp {
  background: var(--lamp);
  color: var(--lamp-ink);
}

.btn-lamp:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.arrow {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: rgba(20, 16, 8, 0.16);
  font-size: 0.95rem;
}

.btn-ghost .arrow {
  background: rgba(247, 243, 234, 0.08);
}

.hero {
  text-align: center;
  padding: 4.2rem 1.5rem 3rem;
  max-width: 58rem;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--paper);
  margin: 0 0 1.4rem;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 7.4vw, 5.6rem);
  max-width: 14ch;
  margin: 0 auto 1.3rem;
}

.lede {
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--paper);
  max-width: 34rem;
  margin: 0 auto 1.8rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-frame {
  position: relative;
  margin: 0 auto;
  max-width: 64rem;
  overflow: hidden;
  border-radius: 1.15rem;
}

.hero-frame img {
  display: block;
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
  object-position: 70% 18%;
}

.rain-sheet {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    185deg,
    transparent 0,
    transparent 14px,
    rgba(190, 230, 255, 0.05) 15px,
    transparent 18px
  );
  animation: sheet 0.7s linear infinite;
  opacity: 0.35;
}

@keyframes sheet {
  to {
    background-position: 10px 40px;
  }
}

.trust {
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  border-top: 1px solid var(--line);
}

.trust p {
  font-size: 1.45rem;
  margin: 0 0 1.8rem;
}

.trust ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2.2rem;
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--paper);
}

.split-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: end;
  padding: 5rem 8vw 2rem;
  max-width: 88rem;
  margin: 0 auto;
}

.split-head h2,
.split-list h2,
.deeper h2,
.together h2,
.numbers h2,
.close h2 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  max-width: 12ch;
}

.split-head p,
.split-list p,
.deeper-head p,
.together p,
.numbers p,
.close p,
.quad p,
.row p {
  font-family: var(--sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--paper);
}

.quad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 72rem;
  margin: 0 auto 2rem;
  padding: 0 8vw 4rem;
}

.quad article {
  padding: 3.2rem 2.4rem 2.8rem;
  border-top: 1px solid var(--line);
}

.quad article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.quad h3,
.row h3,
.stat {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 1rem 0 0.7rem;
}

.icon {
  display: block;
  width: 3.1rem;
  height: 3.1rem;
}

.icon-rain {
  background:
    radial-gradient(circle at 50% 38%, var(--neon) 0 0.38rem, transparent 0.4rem),
    radial-gradient(circle at 50% 70%, transparent 0.55rem, var(--lamp) 0.57rem 0.72rem, transparent 0.74rem);
}

.icon-mouth {
  background:
    radial-gradient(circle at 50% 50%, transparent 0.7rem, var(--lamp) 0.72rem 0.88rem, transparent 0.9rem),
    radial-gradient(circle at 50% 50%, var(--neon) 0 0.28rem, transparent 0.3rem);
}

.icon-mind {
  background:
    radial-gradient(circle at 35% 55%, var(--neon) 0 0.42rem, transparent 0.44rem),
    radial-gradient(circle at 68% 40%, var(--lamp) 0 0.32rem, transparent 0.34rem);
}

.icon-coat {
  background:
    conic-gradient(from 45deg, var(--lamp) 0 25%, transparent 0 50%, var(--fox) 0 75%, transparent 0);
  clip-path: polygon(50% 8%, 92% 50%, 50% 92%, 8% 50%);
}

.split-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 5rem 8vw;
  max-width: 88rem;
  margin: 0 auto;
}

.split-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.split-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.45rem;
}

.split-list li .arrow {
  background: none;
  color: var(--paper);
  width: auto;
  height: auto;
}

.deeper {
  padding: 2rem 8vw 5rem;
  max-width: 88rem;
  margin: 0 auto;
}

.deeper-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.row-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.row-title h3 {
  margin: 0;
}

.together {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 8vw 5rem;
  max-width: 88rem;
  margin: 0 auto;
}

.together ul {
  list-style: none;
  margin: 1.4rem 0 1.8rem;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--paper);
}

.together li {
  padding: 0.35rem 0 0.35rem 1.2rem;
  position: relative;
}

.together li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lamp);
}

.together-shot {
  margin: 0;
  position: relative;
}

.together-shot img {
  width: 86%;
  margin-left: auto;
  display: block;
  border-radius: 0.4rem;
  object-fit: cover;
  height: 28rem;
  object-position: 72% 12%;
}

.together-shot blockquote {
  position: absolute;
  left: 0;
  bottom: 1.4rem;
  width: 64%;
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: var(--void);
  border: 1px solid var(--line);
  font-size: 1.35rem;
  font-style: italic;
}

.numbers {
  text-align: center;
  padding: 3rem 8vw 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 72rem;
  margin: 2.4rem auto 0;
  text-align: left;
}

.stat {
  color: var(--lamp);
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.close {
  text-align: center;
  padding: 5.5rem 1.5rem 6rem;
}

.close h2 {
  max-width: none;
  margin: 0 auto 1rem;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.close p {
  max-width: 32rem;
  margin: 0 auto 1.8rem;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem 8vw 2.8rem;
  border-top: 1px solid var(--line);
}

.foot-note {
  max-width: 28rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.foot-note a {
  color: var(--paper);
  text-decoration: underline;
}

.foot-links {
  display: flex;
  gap: 1.4rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  align-items: flex-start;
}

.journal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5rem;
}

.journal h1 {
  max-width: none;
  margin: 0 0 1.2rem;
}

.journal-lede {
  margin-left: 0;
  text-align: left;
}

.journal-empty {
  margin: 3rem 0 2.4rem;
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line);
}

.journal-empty h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  max-width: none;
  margin: 0.4rem 0 0.9rem;
}

.journal-empty .date {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lamp);
  margin: 0;
}

.coming {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coming li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}

.coming li span:last-child {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.45rem;
}

.nav a[aria-current="page"] {
  color: var(--lamp);
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav nav {
    display: none;
  }

  .split-head,
  .split-list,
  .deeper-head,
  .row,
  .together,
  .quad,
  .stats,
  .site-foot {
    grid-template-columns: 1fr;
  }

  .quad article:nth-child(odd) {
    border-right: none;
  }

  .together-shot img {
    width: 100%;
    height: 22rem;
  }

  .together-shot blockquote {
    position: static;
    width: auto;
    margin-top: 0.8rem;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rain-sheet {
    animation: none;
  }
}
