:root {
  --color-chalk: #fffdf5;
  --color-lagoon: #02d8d8;
  --color-rock-candy: #fa7fb0;
  --color-shingle: #ffefc1;
  --color-night-pier: #311521;

  --bg: var(--color-chalk);
  --bg-card: #ffffff;
  --ink: var(--color-night-pier);
  --ink-soft: #64505c;
  --ink-mute: #97848e;
  --chalk-soft: #e8d3dd;
  --line: #f2e8d5;

  --lagoon-deep: #00b0b0;
  --candy-deep: #e75b95;

  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-soft: 0 14px 34px -18px rgba(49, 21, 33, 0.25);
  --shadow-lift: 0 22px 44px -20px rgba(49, 21, 33, 0.3);

  --font-display: "Baloo 2", ui-rounded, ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Nunito", ui-sans-serif, system-ui, sans-serif;
}

@font-face {
  font-family: "Baloo 2";
  src: url("fonts/baloo2-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: optional;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='150'%3E%3Cpath d='M0 75q32.5-30 65 0t65 0t65 0t65 0' fill='none' stroke='%23ffefc1' stroke-width='18' stroke-linecap='round' opacity='.35'/%3E%3C/svg%3E");
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}

h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

a {
  color: var(--lagoon-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--candy-deep);
}

::selection {
  background-color: var(--color-lagoon);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-lagoon);
  border-radius: 999px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-rock-candy);
}

:focus-visible {
  outline: 3px dashed var(--candy-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.shell {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.splash {
  display: inline-block;
  padding: 0.06em 0.3em 0.1em;
  background: var(--color-lagoon);
  color: var(--ink);
  border-radius: 0.5em;
  transform: rotate(-1.5deg);
}

.splash.candy {
  background: var(--color-rock-candy);
}

.capsule {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 253, 245, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-soft);
  max-width: calc(100vw - 2rem);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.capsule.tucked {
  transform: translateX(-50%) translateY(calc(-100% - 1.5rem));
  box-shadow: none;
}

.capsule .logo {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.4rem 0.2rem 0.6rem;
}

.capsule .logo-img {
  height: 30px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
}

.nav a {
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 239, 193, 0.7);
}

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

.capsule .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 840px) {
  .capsule {
    width: calc(100vw - 2rem);
    justify-content: space-between;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav.open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border: 2px solid #ffffff;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lift);
    padding: 0.75rem;
    gap: 0.25rem;
  }

  .nav.open a {
    width: 100%;
    text-align: left;
    padding: 0.7rem 1rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background-color 0.18s ease;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #21e2e2;
  color: var(--ink);
}

.btn-secondary {
  background: var(--color-rock-candy);
  color: var(--ink);
}

.btn-secondary:hover {
  background: #ff96c0;
  color: var(--ink);
}

.btn-discord {
  background: var(--color-rock-candy);
  color: var(--ink);
}

.btn-discord:hover {
  background: #ff96c0;
  color: var(--ink);
}

.btn-outline {
  background: #fffdf5;
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--color-shingle);
  color: var(--ink);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.cove {
  position: relative;
  padding: 6.5rem 0 2rem;
  overflow: clip;
  background-color: var(--color-shingle);
  background-image: url("assets/bg.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.cove-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.cove .btn-group {
  flex-wrap: nowrap;
}

.hero-logo {
  margin: 0 0 1.25rem;
}

.hero-logo img {
  width: clamp(12rem, 22vw, 17rem);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(49, 21, 33, 0.16));
}

.cove .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 32rem;
}

.gull {
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(49, 21, 33, 0.16));
  pointer-events: none;
}

.hero-gull {
  width: min(100%, clamp(17rem, 34vw, 27rem));
  justify-self: center;
  transform: rotate(2deg);
}

.conga {
  overflow: clip;
  background: var(--color-lagoon);
  padding: 0.7rem 0;
}

.conga.candy {
  background: var(--color-rock-candy);
}

.conga-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: conga 60s linear infinite;
}

.conga.candy .conga-track {
  animation-direction: reverse;
}

.conga span {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.conga i {
  font-size: 0.85rem;
  opacity: 0.7;
}

@keyframes conga {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.about {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.about .shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 0;
}

.about-copy p:first-child {
  font-size: 1.1rem;
}

.about-art {
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
}

.tallies {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 1.25rem;
}

.tally-value {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--lagoon-deep);
}

.tally:nth-child(2) .tally-value {
  color: var(--candy-deep);
}

.tally:nth-child(3) .tally-value {
  color: var(--ink);
}

.tally-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.swash {
  display: block;
  width: 100%;
  height: 48px;
}

.swash svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pier {
  background: var(--color-night-pier);
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.pier h2 {
  color: var(--color-chalk);
}

.pier > .shell > p {
  color: var(--chalk-soft);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
}

.event-card {
  position: relative;
  max-width: 34rem;
  margin: 0 auto;
  background:
    linear-gradient(340deg, rgba(250, 127, 176, 0.16), transparent 45%),
    var(--bg-card);
  border-radius: 1.25rem;
  padding: 2rem 2.25rem 1.75rem;
  box-shadow: var(--shadow-lift);
  text-align: left;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 2px dashed rgba(2, 216, 216, 0.5);
  border-radius: 0.8rem;
  pointer-events: none;
}

.event-card h3 {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  padding: 0.1em 0.5em 0.15em;
  background: var(--color-lagoon);
  border-radius: 0.5em;
  transform: rotate(-1deg);
}

.event-card p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.event-card p i {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.65rem;
  background: rgba(2, 216, 216, 0.2);
  color: var(--lagoon-deep);
  transform: rotate(-4deg);
}

.event-card p:nth-of-type(2) i {
  background: rgba(250, 127, 176, 0.22);
  color: var(--candy-deep);
  transform: rotate(4deg);
}

.rows-wrap {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.rows-wrap .shell > h2 {
  max-width: 30rem;
}

.rows-wrap .shell > p {
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.rows {
  list-style: none;
}

.rows li {
  display: grid;
  grid-template-columns: 6rem 15rem 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 1rem;
  border-top: 2px dashed var(--line);
  border-radius: 1rem;
  transition: background-color 0.25s ease;
}

.rows li:last-child {
  border-bottom: 2px dashed var(--line);
}

.rows li:hover {
  background: rgba(255, 239, 193, 0.45);
}

.row-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-lagoon);
}

.rows li:nth-child(even) .row-num {
  -webkit-text-stroke: 2px var(--color-rock-candy);
}

.rows h3 {
  margin-bottom: 0;
}

.rows p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.beacon {
  position: relative;
  background: var(--color-shingle);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  text-align: center;
  overflow: clip;
}

.beacon h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

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

.beacon .btn-group {
  justify-content: center;
}

.site-footer {
  background: var(--color-night-pier);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  text-align: center;
}

.footer-logo img {
  height: clamp(3rem, 6vw, 4rem);
  width: auto;
}

.site-footer > .shell > p {
  color: var(--chalk-soft);
  max-width: 26rem;
  margin: 1rem auto 1.5rem;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.socials a {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 253, 245, 0.25);
  color: var(--color-chalk);
  font-size: 1.15rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  border-color: var(--color-rock-candy);
  color: var(--color-rock-candy);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--chalk-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--color-lagoon);
}

.motion-toggle-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 253, 245, 0.25);
  background: transparent;
  color: var(--chalk-soft);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.motion-toggle:hover {
  border-color: var(--color-lagoon);
  color: var(--color-chalk);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(255, 253, 245, 0.12);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #a08b96;
}

.crown-link {
  display: inline-flex;
  vertical-align: middle;
}

.crown-link svg {
  width: 1.1em;
  height: auto;
  fill: var(--color-rock-candy);
  transition: fill 0.2s ease;
}

.crown-link:hover svg {
  fill: #ff96c0;
}

@media (max-width: 800px) {
  .cove-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cove .btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-logo img {
    width: clamp(11rem, 40vw, 14rem);
  }

  .hero-gull {
    width: clamp(11rem, 48vw, 15rem);
    margin: 0 auto;
  }

  .about .shell {
    grid-template-columns: 1fr;
  }

  .rows li {
    grid-template-columns: 4rem 1fr;
  }

  .rows li p {
    grid-column: 2;
  }

  .row-num {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .btn-group .btn {
    width: 100%;
  }

  .cove {
    padding-top: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html[data-reduce-motion="true"] {
  scroll-behavior: auto;
}

html[data-reduce-motion="true"] *,
html[data-reduce-motion="true"] *::before,
html[data-reduce-motion="true"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

