:root {
  color-scheme: light;

  /* Brand base (from the logo + pocket art) */
  --teal: #335C64;
  --seafoam: #C9DAD1;
  --driftwood: #DAD7C5;
  --cream: #F5F0E4;
  --night: #1E363B;

  /* Sun-faded accents */
  --coral: #E3A48C;
  --sun: #E9D19B;
  --clay: #955A47;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --marker: "Permanent Marker", "Marker Felt", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--night);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

.kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-title {
  margin: 0 0 20px;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 850;
  font-size: clamp(34px, 6vw, 76px);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--teal);
  text-wrap: balance;
}

.marker {
  font-family: var(--marker);
  font-weight: 400;
  letter-spacing: .01em;
}

/* ---------- Shapes ---------- */

.shape { position: absolute; display: block; pointer-events: none; }
.shape-coral { fill: var(--coral); }
.shape-sun { fill: var(--sun); }
.shape-cream { fill: var(--cream); }

.clip-a { clip-path: url(#clip-photo-a); }
.clip-b { clip-path: url(#clip-photo-b); }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.brand img { width: 70px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--teal);
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  padding: 9px 16px;
  border: 1.5px solid var(--teal);
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal); color: var(--cream) !important; text-decoration: none !important; }

@media (max-width: 560px) {
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 72px) var(--gutter) 0;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(44px, 9.6vw, 128px);
  line-height: .86;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-photo {
  position: relative;
  margin-top: clamp(-40px, -3.5vw, -16px);
  margin-left: clamp(0px, 14vw, 220px);
}
.hero-photo img { position: relative; z-index: 1; width: 100%; }

.hero-shape { width: 38%; height: 70%; left: -9%; top: 18%; }
.hero-shape-2 { width: 16%; height: 30%; right: -3%; bottom: -8%; }

.hero-note {
  position: absolute;
  z-index: 2;
  left: -2%;
  bottom: -14px;
  margin: 0;
  font-size: clamp(20px, 2.6vw, 34px);
  color: var(--clay);
  transform: rotate(-5deg);
  transform-origin: left;
}

@media (max-width: 700px) {
  .hero-photo { margin-left: 0; margin-top: 18px; }
  .hero-shape { left: -6%; top: -8%; }
  .hero-note { left: 4%; bottom: -22px; }
}

/* ---------- Ticker ---------- */

.ticker {
  margin-top: clamp(56px, 8vw, 110px);
  background: var(--teal);
  color: var(--cream);
  overflow: hidden;
  transform: rotate(-1.2deg);
  width: 104%;
  margin-left: -2%;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker-items {
  display: flex;
  margin: 0;
  padding: 14px 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-items span { padding: 0 22px; }
.ticker-items span::after { content: "~"; margin-left: 44px; color: var(--sun); }
.ticker-items b { font-weight: 500; color: var(--sun); }

@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Idea ---------- */

.idea {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 150px) var(--gutter) clamp(56px, 7vw, 100px);
}
.idea-copy { max-width: 36em; }
.idea .section-title { font-size: clamp(34px, 5vw, 64px); }
.idea-copy p:not(.kicker) { margin: 0 0 1em; }

.idea-photo { position: relative; margin: 0; }
.idea-photo img { position: relative; z-index: 1; transform: rotate(1.5deg); }
.idea-shape { width: 70%; height: 80%; right: -5%; top: -10%; }
.idea-photo figcaption {
  position: relative;
  z-index: 2;
  margin: 14px 0 0 8px;
  font-size: 22px;
  color: var(--clay);
  transform: rotate(-2deg);
}

@media (min-width: 900px) {
  .idea { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 72px; }
}

/* ---------- Waves ---------- */

.waves { line-height: 0; margin-bottom: -1px; }
.waves svg { display: block; width: 100%; height: clamp(60px, 8vw, 120px); }
.wave-fill { fill: var(--seafoam); }
.wave-line {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: .28;
  vector-effect: non-scaling-stroke;
}
.wave-line-2 { opacity: .16; }

/* ---------- Drop ---------- */

.drop {
  background: var(--seafoam);
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(72px, 10vw, 140px);
}
.drop-head, .hats { max-width: var(--max); margin: 0 auto; }
.drop-head p:not(.kicker) { max-width: 32em; margin: 0; }

.hats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  margin-top: 56px;
}
@media (min-width: 760px) {
  .hats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .hat:nth-child(2) { margin-top: 72px; }
}
@media (min-width: 1100px) {
  .hats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hat:nth-child(3) { margin-top: 24px; }
}

.hat-art {
  position: relative;
  padding: 11% 9%;
}
.hat-art .shape { inset: 0; width: 100%; height: 100%; }
.hat-art img { position: relative; width: 100%; }
.hat:nth-child(1) .hat-art { transform: rotate(-1.5deg); }
.hat:nth-child(2) .hat-art { transform: rotate(1.2deg); }
.hat:nth-child(3) .hat-art { transform: rotate(-.8deg); }

.hat h3 {
  margin: 22px 0 4px;
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--teal);
}
.hat p { margin: 0; }

.sticker {
  position: absolute;
  z-index: 2;
  right: -10px;
  top: -18px;
  margin: 0;
  padding: 14px 22px;
  background: var(--sun);
  color: var(--clay);
  font-size: 22px;
  line-height: 1;
  transform: rotate(8deg);
  clip-path: url(#clip-photo-b);
}

/* ---------- Signup ---------- */

.signup {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--cream);
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.signup-shape { width: min(300px, 40vw); height: min(220px, 30vw); right: -70px; bottom: -60px; transform: rotate(-8deg); }
.signup-inner { position: relative; max-width: var(--max); margin: 0 auto; }
.signup .kicker { color: var(--sun); }
.signup .section-title { color: var(--cream); }
.signup-inner > p:not(.kicker):not(.form-status) { max-width: 32em; margin: 0 0 28px; }

.signup-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.signup-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font: inherit;
}
.signup-form input::placeholder { color: var(--seafoam); opacity: .75; }
.signup-form input:focus-visible,
.signup-form button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.signup-form button {
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--cream);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.signup-form button:hover { background: var(--night); }
.signup-form button[disabled] { opacity: .7; cursor: wait; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.65em; margin: 16px 0 0; color: var(--sun); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--night);
  color: var(--driftwood);
  padding: clamp(56px, 8vw, 110px) var(--gutter) 28px;
}
.footer-mark {
  width: 75%;
  max-width: calc(var(--max) * .75);
  aspect-ratio: 911.85 / 300.98;
  margin: 0 auto;
  background: var(--seafoam);
  -webkit-mask: url("assets/wordmark-stacked.svg") center / contain no-repeat;
          mask: url("assets/wordmark-stacked.svg") center / contain no-repeat;
}
.footer-tag {
  margin: 22px 0 0;
  text-align: center;
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 32px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--seafoam);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--max);
  margin: clamp(48px, 7vw, 96px) auto 0;
  font-size: 12px;
  letter-spacing: .06em;
  opacity: .8;
}
