:root {
  --pearl: #eef5f6;
  --pearl-2: #dce9eb;
  --moon-silver: #b7c9cd;
  --cyan: #6eb8b0;
  --cyan-deep: #3d7f78;
  --navy: #1a3340;
  --ink: #12262e;
  --lavender: #c9c2d8;
  --muted: #4d646c;
  --line: rgba(61, 127, 120, 0.22);
  --glass: rgba(238, 245, 246, 0.78);
  --ok: #2f6b55;
  --err: #8b3a3a;
  --font-display: "Fraunces", "Palatino Linotype", serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --radius: 6px;
  --wrap: min(1100px, calc(100% - 2.5rem));
  --shadow: 0 16px 40px rgba(18, 38, 46, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.68;
  color: var(--ink);
  letter-spacing: 0.01em;
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(110, 184, 176, 0.28), transparent 55%),
    radial-gradient(760px 420px at 96% 12%, rgba(201, 194, 216, 0.35), transparent 50%),
    linear-gradient(168deg, var(--pearl) 0%, var(--pearl-2) 48%, #c5d8db 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(128deg, transparent 42%, rgba(255, 255, 255, 0.45) 50%, transparent 58%),
    radial-gradient(circle at 72% 78%, rgba(110, 184, 176, 0.12), transparent 40%);
  animation: tide-sheen 22s ease-in-out infinite alternate;
}

main,
.site-header,
.site-footer,
.cookie-banner {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--cyan-deep);
  text-underline-offset: 0.2em;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--pearl);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(238, 245, 246, 0.94), rgba(238, 245, 246, 0.78));
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  font-family: var(--font-body);
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Unique hero: ribbon shelf — brand as a luminous horizontal band over full-bleed media */
.hero-ribbon {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-ribbon__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-ribbon__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06) brightness(0.78);
  animation: moon-drift 28s ease-in-out infinite alternate;
}

.hero-ribbon__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(18, 38, 46, 0.35) 0%, rgba(18, 38, 46, 0.2) 40%, rgba(18, 38, 46, 0.78) 100%),
    linear-gradient(90deg, rgba(26, 51, 64, 0.55) 0%, transparent 55%);
  pointer-events: none;
}

.hero-ribbon__shelf {
  position: relative;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  animation: rise-in 1s ease-out both;
}

.hero-ribbon__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 10vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
  color: #f4fbfa;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  max-width: 12ch;
}

.hero-ribbon__band {
  margin-top: 1.35rem;
  padding: 1.1rem 1.35rem 1.25rem;
  max-width: 36rem;
  background:
    linear-gradient(120deg, rgba(238, 245, 246, 0.22), rgba(110, 184, 176, 0.18), rgba(201, 194, 216, 0.16));
  border: 1px solid rgba(238, 245, 246, 0.28);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-ribbon__line {
  margin: 0 0 1.1rem;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(244, 251, 250, 0.94);
}

.section {
  padding: 4rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section--tide {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(110, 184, 176, 0.1)),
    linear-gradient(145deg, rgba(183, 201, 205, 0.25), transparent);
  border-block: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.55rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(1.95rem, 4.2vw, 2.9rem);
  margin: 0 0 0.9rem;
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 40rem;
}

.muted {
  color: var(--muted);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  padding: 0.8rem 1.3rem;
  cursor: pointer;
  color: #f4fbfa;
  background:
    linear-gradient(125deg, var(--navy), var(--cyan-deep) 45%, var(--cyan) 78%, #9ed8d0);
  background-size: 190% 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(61, 127, 120, 0.28);
  transition: transform 0.25s ease, box-shadow 0.35s ease, background-position 0.4s ease;
}

.btn:hover {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(61, 127, 120, 0.35);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.hero-ribbon .btn {
  color: var(--navy);
  background: linear-gradient(120deg, #f4fbfa, #c9e8e4 55%, #d8d2ea);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero-ribbon .btn:hover {
  color: var(--ink);
}

.moon-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(238, 245, 246, 0.55) 0%, rgba(110, 184, 176, 0.22) 42%, transparent 68%);
  animation: moon-ring-fade 0.7s ease-out forwards;
}

.primary-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.primary-band__text {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.primary-band img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(0.88);
}

.offer-list {
  display: grid;
  gap: 0;
  margin-top: 1.4rem;
}

.offer-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.offer-row img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: var(--radius);
}

.offer-row h3 a {
  text-decoration: none;
  color: var(--ink);
}

.price {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--cyan-deep);
  white-space: nowrap;
}

.quotes {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.4rem;
}

.quotes blockquote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(110, 184, 176, 0.14));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-left: 3px solid var(--cyan);
}

.quotes footer {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.4rem;
}

.journal-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.journal-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
}

.journal-item h3 a {
  text-decoration: none;
  color: var(--ink);
}

.meta {
  font-size: 0.88rem;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
  margin-top: 1.4rem;
}

.step {
  position: relative;
  padding: 1.25rem 1rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.55), rgba(201, 194, 216, 0.12));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--cyan);
  margin-bottom: 0.45rem;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  margin-top: 2rem;
}

.article-hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 1rem 0 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  margin-top: 1.5rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: var(--radius);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  color: var(--err);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  min-height: 1.1em;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-status[data-state="ok"] {
  color: var(--ok);
  background: rgba(47, 107, 85, 0.08);
}

.form-status[data-state="err"] {
  color: var(--err);
  background: rgba(139, 58, 58, 0.08);
}

.site-footer {
  margin-top: 3rem;
  padding: 3rem 0 1.5rem;
  background:
    linear-gradient(180deg, transparent, rgba(110, 184, 176, 0.18)),
    linear-gradient(145deg, #d2e4e6, #b8cfcc);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.site-footer__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.site-footer__links a {
  text-decoration: none;
}

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

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(238, 245, 246, 0.92), rgba(201, 216, 218, 0.98));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(18, 38, 46, 0.12);
}

.cookie-banner__inner {
  padding: 1rem 0 1.2rem;
  display: grid;
  gap: 0.85rem;
}

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

.page-hero {
  padding: 3rem 0 1rem;
}

.page-hero h1 {
  max-width: 22ch;
}

.cta-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(110, 184, 176, 0.16));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

@keyframes moon-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(1%, -0.8%, 0); }
}

@keyframes tide-sheen {
  from { opacity: 0.28; }
  to { opacity: 0.48; }
}

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

@keyframes moon-ring-fade {
  from { opacity: 0.85; transform: scale(0.35); }
  to { opacity: 0; transform: scale(1); }
}

@media (max-width: 900px) {
  .primary-band,
  .offer-row,
  .journal-grid,
  .steps,
  .site-footer__grid,
  .cta-strip {
    grid-template-columns: 1fr;
  }

  .hero-ribbon {
    min-height: min(78vh, 640px);
  }

  .offer-row img {
    width: 100%;
    height: 180px;
  }

  .price {
    white-space: normal;
  }
}

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

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
  }

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

  .site-header__inner {
    flex-wrap: wrap;
  }
}

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