/* Gradient Surfing: intentionally small, readable, and easy to evolve. */
:root {
  --ink: #09263a;
  --wave: #087e8b;
  --foam: #e8f5f5;
  --sun: #ffb703;
  --coral: #ff6b4a;
}

body {
  color: var(--ink);
  font-size: 1.05rem;
  background: #fcfdfd;
}

.navbar {
  min-height: 4.5rem;
  border-bottom: 1px solid #dce8eb;
  background: rgba(252, 253, 253, .9);
  backdrop-filter: blur(12px);
}

.navbar-brand { font-weight: 800; letter-spacing: -.035em; }
.navbar-nav .nav-link { font-size: .9rem; font-weight: 700; }

/* The home page is a launch screen; its title lives in the hero, not above it. */
.launch-page #title-block-header { display: none; }

.hero {
  min-height: 68vh;
  padding: 8rem 2rem 6rem;
  text-align: center;
  color: var(--ink);
  background: transparent;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 17%;
  right: 19%;
  width: clamp(4.5rem, 8vw, 7rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 12px 26px rgba(255, 183, 3, .22);
}

.hero::after {
  display: none;
}

.hero > * { position: relative; z-index: 2; }

.wave-lines {
  position: absolute;
  z-index: 0;
  top: 29%;
  left: 9%;
  width: min(38vw, 34rem);
  height: 15%;
  pointer-events: none;
}

.wave-lines svg { width: 100%; height: 100%; overflow: visible; }

.wave-lines path {
  fill: none;
  stroke: rgba(47, 128, 237, .34);
  stroke-linecap: round;
  stroke-width: 4;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 1.75rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .94;
  text-transform: uppercase;
  color: var(--ink);
}

.hero p {
  max-width: 620px;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  opacity: .92;
}

.hero-mark { font-size: clamp(6rem, 11vw, 9rem); margin-bottom: .5rem; }

.hero-mark--floating {
  display: inline-block;
  margin-bottom: 1.7rem;
  filter: drop-shadow(0 1rem 1rem rgba(3, 31, 54, .28));
  animation: surfer-float 3.2s ease-in-out infinite;
}

@keyframes surfer-float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-24px) rotate(5deg); }
}

.eyebrow {
  margin-top: clamp(3.5rem, 6.75vw, 5.75rem);
  margin-bottom: 1.1rem;
  color: var(--wave);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-button {
  display: inline-block;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(3, 31, 54, .17);
  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-button:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 11px 0 rgba(3, 31, 54, .17); }

.hero-ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .7rem 1.4rem;
  margin-top: 3.25rem;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--ink);
  opacity: .85;
}

.hero-ticker span::before { content: "✦"; color: var(--sun); margin-right: .5rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  max-width: 1040px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.post-card {
  position: relative;
  padding: 1.8rem;
  border: 1px solid #dce8eb;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 8px 26px rgba(16, 42, 67, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.post-card h3 { margin-top: 0; }
.post-card:hover { transform: translateY(-6px) rotate(-.25deg); box-shadow: 0 20px 35px rgba(16, 42, 67, .12); }

.post-card::before {
  content: "↗";
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  color: var(--wave);
  font-size: 1.15rem;
}

.wave-rule {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  color: var(--wave);
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.3rem;
  line-height: .5;
  white-space: nowrap;
}

.manifesto {
  max-width: 760px;
  margin: 5rem auto;
  padding: 2.2rem;
  border-left: 5px solid var(--sun);
  background: var(--foam);
}

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