:root {
  --sand: #f3eadc;
  --paper: #fffaf3;
  --ink: #1a2c32;
  --tide: #14343a;
  --deep: #0e2428;
  --aqua: #1f9a90;
  --coral: #e06a45;
  --apricot: #f0b35a;
  --plum: #5d4d86;
  --line: rgba(26, 44, 50, 0.12);
  --shadow: 0 18px 40px rgba(20, 40, 42, 0.12);
  --serif: "Literata", "Iowan Old Style", Georgia, serif;
  --display: "Syne", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  background: var(--sand);
  overflow-x: clip;
}
body.has-cookie { padding-bottom: 210px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tide); }
button, input, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.wash {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.9;
  animation: drift 16s ease-in-out infinite;
}
.wash::before,
.wash::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  animation: spin 32s linear infinite;
}
.wash::before {
  width: 340px;
  height: 340px;
  right: 4%;
  top: 16%;
  border: 2px dashed rgba(20, 52, 58, 0.28);
}
.wash::after {
  width: 200px;
  height: 200px;
  left: 6%;
  bottom: 10%;
  border: 12px solid rgba(224, 106, 69, 0.16);
  animation-duration: 22s;
  animation-direction: reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.b1 { width: 46%; height: 42%; left: -4%; top: 4%; background: rgba(31, 154, 144, 0.28); filter: blur(28px); }
.b2 { width: 38%; height: 36%; right: -6%; top: 18%; background: rgba(224, 106, 69, 0.2); filter: blur(30px); animation-delay: -6s; }
.b3 { width: 34%; height: 32%; left: 22%; bottom: 0; background: rgba(240, 179, 90, 0.34); filter: blur(26px); animation-delay: -11s; }
.drop {
  position: absolute;
  bottom: -12%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 52, 58, 0.18);
  animation: rise 14s linear infinite;
}
.d1 { left: 12%; animation-duration: 13s; }
.d2 { left: 28%; width: 6px; height: 6px; animation-duration: 17s; animation-delay: -4s; }
.d3 { left: 47%; animation-duration: 15s; animation-delay: -8s; }
.d4 { left: 63%; width: 8px; height: 8px; animation-duration: 19s; animation-delay: -2s; }
.d5 { left: 78%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: -6s; }
.d6 { left: 88%; animation-duration: 16s; animation-delay: -10s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(10px, -24px, 0) scale(1.06); }
}
@keyframes rise {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 0.7; }
  100% { transform: translate3d(0, -110vh, 0); opacity: 0; }
}

.ribbon {
  background: var(--tide);
  color: #f6efe4;
  text-align: center;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.dock {
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px 12px 10px 14px;
  position: sticky;
  top: 10px;
  z-index: 5;
  backdrop-filter: blur(8px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  animation: glow 4.8s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31, 154, 144, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(31, 154, 144, 0); }
}
.brand span { font-size: 1.02rem; }
.nav-toggle {
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}
.nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 6px;
}
.nav.open { display: flex; }
.nav a {
  text-decoration: none;
  font-family: var(--display);
  font-size: 0.92rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.nav a.here, .nav a:hover { background: #efe2cf; }
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }
main { padding-bottom: 28px; }

.cover {
  margin-top: 22px;
  background: var(--tide);
  color: #f7efe4;
  border-radius: 32px;
  padding: 34px 22px 26px;
  display: grid;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.cover a { color: #f0b35a; }
.ripple {
  position: absolute;
  border: 1px solid rgba(244, 231, 212, 0.25);
  border-radius: 50%;
  animation: ripple 9s linear infinite;
  pointer-events: none;
}
.r1 { width: 180px; height: 180px; right: -40px; top: -50px; }
.r2 { width: 280px; height: 280px; right: -90px; top: -100px; animation-delay: -3s; }
.r3 { width: 120px; height: 120px; left: -30px; bottom: -40px; animation-delay: -5s; }
@keyframes ripple {
  0% { transform: scale(0.92); opacity: 0.2; }
  70% { opacity: 0.55; }
  100% { transform: scale(1.08); opacity: 0.15; }
}
.kicker {
  font-family: var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--apricot);
  margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); margin: 0 0 12px; }
.lede, .cover p { font-size: 1.08rem; }
.cover p { margin: 0 0 0.85rem; position: relative; }
.hero-copy, .hero-shots { position: relative; z-index: 1; }
.hero-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
  min-width: 0;
}
.hero-shots > *,
.gallery > *,
.gallery figure,
.bento > *,
.split > *,
.pipes > *,
.notes > *,
.shot,
.panel,
.pipe {
  min-width: 0;
  max-width: 100%;
}
.shot {
  background: #0b181b;
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.shot img { border-radius: 18px; width: 100%; }
.shot.float { animation: bob 5.5s ease-in-out infinite; }
.shot.delay { animation-delay: -2.2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.play {
  display: inline-block;
  margin-top: 8px;
  line-height: 0;
  border-radius: 12px;
  transition: transform 0.2s ease;
}
.play:hover { transform: translateY(-2px); }
.play img { width: min(210px, 100%); height: auto; }

.ticker {
  margin: 18px auto;
  width: min(1120px, calc(100% - 28px));
  overflow: clip;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 28px 0; }
.section h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0 0 10px; }
.pipes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}
.pipe {
  background: var(--paper);
  border-radius: 22px;
  padding: 16px 16px 16px 18px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.pipe i {
  width: 18px;
  height: 64px;
  border-radius: 999px;
  background: var(--c);
  display: block;
  margin-top: 4px;
  animation: fill 3.6s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes fill {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1); }
}
.pipe b { font-family: var(--display); display: block; }
.pipe span { display: block; color: #3d4e54; }

.bento {
  display: grid;
  gap: 14px;
}
.panel {
  background: var(--paper);
  border-radius: 26px;
  padding: 22px 18px;
  border: 1px solid var(--line);
}
.panel.ink {
  background: var(--deep);
  color: #f6efe4;
  border: 0;
}
.panel.ink p:last-child { margin-bottom: 0; }
.flow {
  height: 8px;
  border-radius: 999px;
  margin: 14px 0 4px;
  background: linear-gradient(90deg, #3aa0d8, #3cbf7a, #e06a45, #f0b35a, #7a68c4);
  background-size: 200% 100%;
  animation: slide 8s linear infinite;
}
@keyframes slide { to { background-position: -200% 0; } }

.beats { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.beats li {
  background: var(--paper);
  border-radius: 22px;
  padding: 16px 16px 16px 18px;
  border-left: 6px solid var(--aqua);
}
.beats li:nth-child(2) { border-left-color: var(--coral); }
.beats li:nth-child(3) { border-left-color: var(--apricot); }
.beats span {
  font-family: var(--display);
  color: var(--coral);
  letter-spacing: 0.08em;
}
.beats h3 { margin: 4px 0 6px; font-size: 1.35rem; }
.beats p { margin: 0; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.caption {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #3e514f;
}

.notes { display: grid; gap: 14px; }
.note {
  background: var(--paper);
  border-radius: 0 26px 26px 0;
  padding: 18px 18px 18px 20px;
  border: 1px solid var(--line);
  border-left: 0;
  box-shadow: inset 8px 0 0 var(--plum);
  text-decoration: none;
  color: inherit;
  display: block;
}
.note:hover { background: #fff; }
.note time { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); }
.note h3 { margin: 6px 0; }
.note p { margin: 0; color: #3d4e54; }

.closer {
  margin-top: 10px;
  background: linear-gradient(160deg, #1f9a90, #14343a 55%, #5d4d86);
  color: #f7efe4;
  border-radius: 30px;
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
}
.closer h2 { margin-top: 0; }
.closer p { max-width: 40rem; }
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  width: 100%;
}
.wave path {
  fill: none;
  stroke: rgba(244, 231, 212, 0.45);
  stroke-width: 2;
  stroke-dasharray: 10 12;
  animation: flow 10s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -240; } }

.page-head { padding-top: 28px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6rem; }
.split {
  display: grid;
  gap: 16px;
  align-items: start;
}
.stack { display: grid; gap: 12px; }

form { display: grid; gap: 12px; }
label { font-family: var(--display); font-size: 0.86rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
.btn {
  border: 0;
  background: var(--coral);
  color: #fffaf3;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
  font-family: var(--display);
  width: fit-content;
  max-width: 100%;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn:hover { transform: translateY(-1px); }

.foot {
  width: min(1120px, calc(100% - 28px));
  margin: 10px auto 28px;
  padding-top: 18px;
  border-top: 3px solid var(--coral);
  display: grid;
  gap: 10px;
}
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { width: 42px; height: 42px; border-radius: 12px; }
.foot p { margin: 0; }
.fine, .legal-links { font-size: 0.92rem; color: #3d4e54; }
.legal-links a { color: var(--ink); }

.cookie {
  position: fixed;
  z-index: 30;
  left: 14px;
  right: 14px;
  bottom: 14px;
  max-width: 460px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.cookie p { margin: 0 0 10px; font-size: 0.95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cookie a { font-size: 0.92rem; }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .nav {
    display: flex;
    flex-direction: row;
    width: auto;
    margin-left: auto;
    padding: 0;
    gap: 2px;
  }
  .cover {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    padding: 42px 36px 34px;
    min-height: 560px;
  }
  .pipes { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1.15fr 0.85fr; }
  .bento .wide { grid-column: 1 / -1; }
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .split.flip { grid-template-columns: 0.85fr 1.15fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .notes { grid-template-columns: 1.2fr 0.9fr 0.9fr; align-items: stretch; }
  .notes .note:first-child { border-radius: 26px 0 0 26px; box-shadow: inset -8px 0 0 var(--coral); }
  .dock { flex-wrap: nowrap; }
}

@media (max-width: 799px) {
  .shot.float, .shot.delay { animation: none; }
  .notes .note:first-child { box-shadow: inset 8px 0 0 var(--coral); }
}

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