:root {
  --cream: #efe9df;
  --cream-ink: #1b2a30;
  --teal: #0f4c5c;
  --teal-ink: #f2e9d8;
  --accent: #e8a77e;
  --bg: var(--cream);
  --ink: var(--cream-ink);
  --grain: 0.07;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Mona Sans Variable', system-ui, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.stage {
  position: relative;
  height: 100vh;
  min-height: 300px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}

.sea { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  position: absolute;
  inset: clamp(14px, 3vh, 28px) clamp(16px, 4vw, 40px) auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  font-size: clamp(11px, 1.6vh, 13px);
  letter-spacing: 0.02em;
}

.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: clamp(13px, 2vh, 15px); }
.brand__mark { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.top__page { display: inline-block; overflow: hidden; padding: 0.15em 0; opacity: 0.65; letter-spacing: 0.04em; }
.top__word { display: inline-block; }

.hero {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 6vw;
  z-index: 2;
  pointer-events: none;
}

.hero__eyebrow {
  font-size: clamp(10px, 1.5vh, 12px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: clamp(10px, 2vh, 18px);
}

.hero__title {
  font-weight: 500;
  font-stretch: 112%;
  font-size: min(9vw, 11vh, 120px);
  text-wrap: balance;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-family: 'Fraunces Variable', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.02em 0.08em; margin-bottom: -0.08em; }
.hero__title .c { display: inline-block; will-change: transform; }

.dive {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 6vh, 56px);
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(16px, 2.2vw, 22px);
  height: clamp(38px, 6vh, 46px);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  color: var(--ink);
  font: 600 clamp(12px, 1.8vh, 14px)/1 'Mona Sans Variable', system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 10px 30px -14px rgba(0, 0, 0, 0.35);
  transition: font-stretch 0.35s cubic-bezier(.2, .9, .3, 1.3), box-shadow 0.3s;
}

.dive__arrow { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (hover: hover) {
  .dive:hover { font-stretch: 125%; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 14px 34px -14px rgba(0, 0, 0, 0.45); }
  .dive:hover .dive__arrow { animation: bob 0.9s ease-in-out infinite; }
}

@keyframes bob { 50% { transform: translateY(2px); } }

.dive:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .dive:hover .dive__arrow { animation: none; }
}

@media (max-width: 560px) {
  .hero__title { font-size: min(14vw, 10vh); }
}
