:root {
  --pearl: #f4f7fa;
  --pearl-deep: #e7eef4;
  --silver: #b7c2cd;
  --navy: #15233d;
  --navy-soft: #243552;
  --cyan: #7eb8c9;
  --cyan-soft: #a8d4df;
  --lavender: #c4b4d4;
  --ink: #1a2744;
  --muted: #5a6a7e;
  --glass: rgba(244, 247, 250, 0.72);
  --line: rgba(26, 39, 68, 0.12);
  --shadow: 0 18px 50px rgba(21, 35, 61, 0.08);
  --radius: 1.25rem;
  --font-display: "Literata", "Iowan Old Style", Georgia, serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --space: clamp(1rem, 2vw, 2rem);
  --wrap: min(1120px, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(126, 184, 201, 0.22), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 180, 212, 0.18), transparent 55%),
    linear-gradient(180deg, #eef3f7 0%, var(--pearl) 35%, #e9f0f5 100%);
  min-height: 100vh;
}

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

a {
  color: var(--navy-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--cyan);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}

.meta,
.price {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.section-cta {
  margin-top: 2rem;
}

.page-intro {
  padding: clamp(3rem, 8vw, 5rem) 0 1.5rem;
}

.page-intro h1 {
  margin-top: 0.35rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(244, 247, 250, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--navy-soft);
  font-weight: 450;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--navy);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(244, 247, 250, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
}

/* Buttons — moonlight rings */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4568 55%, #3d6a7a 100%);
  color: var(--pearl);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--silver);
  color: var(--navy);
  margin-left: 0.5rem;
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--navy);
}

.moon-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(168, 212, 223, 0.55) 0%, rgba(196, 180, 212, 0.2) 40%, transparent 70%);
  animation: moonExpand 0.7s ease-out forwards;
  z-index: 0;
}

@keyframes moonExpand {
  from {
    transform: scale(0.2);
    opacity: 0.9;
  }
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* Hero — tide band under full-bleed plane (varied composition) */
.hero-tide {
  position: relative;
  min-height: min(92vh, 920px);
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-tide__plane {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-tide__plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: tideDrift 28s ease-in-out infinite alternate;
}

.hero-tide__plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 35, 61, 0.15) 0%, rgba(21, 35, 61, 0.45) 55%, rgba(21, 35, 61, 0.72) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(126, 184, 201, 0.25), transparent 50%);
}

@keyframes tideDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

.hero-tide__band {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
  color: var(--pearl);
  animation: riseIn 1s ease both;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: #f7fafc;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.hero-tide h1 {
  color: #eef5f8;
  max-width: 18ch;
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 400;
}

.hero-tide .lede {
  color: rgba(244, 247, 250, 0.86);
  margin-bottom: 1.5rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bleed-photo {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.bleed-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.bleed-photo--article {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-height: 360px;
}

.bleed-photo--article img {
  height: 360px;
}

/* Offers — not card-heavy; open blocks */
.offer-rail {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .offer-rail:not(.offer-rail--stack) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-block img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.offer-block h3,
.offer-block h2 {
  margin: 0.2rem 0 0.55rem;
}

.offer-block--wide {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .offer-block--wide {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.evidence {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 880px) {
  .evidence {
    grid-template-columns: 1.3fr 0.9fr;
    gap: 3.5rem;
  }
}

blockquote {
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
}

blockquote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

blockquote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
}

aside {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 880px) {
  aside {
    padding: 0 0 0 1.5rem;
    border-top: none;
    border-left: 1px solid var(--line);
  }
}

.team-list,
.post-list {
  display: grid;
  gap: 2.5rem;
}

.team-row,
.post-tease {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .team-row,
  .post-tease {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.team-row img,
.post-tease img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.post-tease img {
  aspect-ratio: 4 / 3;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.schedule-list li {
  display: grid;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  animation: riseIn 0.7s ease both;
}

.schedule-list li:nth-child(2) {
  animation-delay: 0.08s;
}
.schedule-list li:nth-child(3) {
  animation-delay: 0.16s;
}
.schedule-list li:nth-child(4) {
  animation-delay: 0.24s;
}
.schedule-list li:nth-child(5) {
  animation-delay: 0.32s;
}

@media (min-width: 700px) {
  .schedule-list li {
    grid-template-columns: 180px 1fr;
    gap: 2rem;
  }
}

.schedule-list time {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1.05rem;
}

.schedule-list h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.prose {
  max-width: 42rem;
}

.prose.legal {
  max-width: 46rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.65), rgba(231, 238, 244, 0.45)),
    linear-gradient(180deg, rgba(126, 184, 201, 0.08), transparent);
  border: 1px solid rgba(183, 194, 205, 0.55);
  box-shadow: var(--shadow);
}

.field label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--navy-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--silver);
  background: rgba(255, 255, 255, 0.7);
  font: inherit;
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--cyan-soft);
  border-color: var(--cyan);
}

.field-error {
  min-height: 1.1em;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #8a3b4a;
}

.form-status {
  margin: 0.5rem 0 0;
  min-height: 1.4em;
}

.form-error {
  color: #8a3b4a;
}

.form-success {
  color: #2a5f4e;
}

.contact-aside {
  padding-top: 0.5rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(180deg, transparent, rgba(21, 35, 61, 0.04)),
    linear-gradient(135deg, rgba(126, 184, 201, 0.12), rgba(196, 180, 212, 0.1));
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.site-footer__base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  padding: 1rem 0 1.25rem;
  background: rgba(21, 35, 61, 0.92);
  color: var(--pearl);
  border-top: 1px solid rgba(126, 184, 201, 0.35);
  backdrop-filter: blur(12px);
}

.cookie-banner a {
  color: var(--cyan-soft);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__inner > p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.6rem;
}

.cookie-banner .btn-ghost {
  border-color: rgba(183, 194, 205, 0.5);
  color: var(--pearl);
  margin-left: 0;
}

.cookie-banner .btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #5a9aab 100%);
  color: var(--navy);
}

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