/* ==========================================================================
   Marsh Manor — Design tokens
   Palette + type pulled from the live experiencemarshmanor.com Squarespace
   theme (navy / marsh green / coral buttons, Inter typeface).
   ========================================================================== */

:root {
  --navy: #1b365d;
  --navy-dark: #122341;
  --marsh-green: #4a7729;
  --coral: #ff8d6d;
  --coral-hover: #ff7a57;
  --gold: #c79a4b;
  --ivory: #faf7f1;
  --driftwood: #ece4d6;
  --oyster: #e4e2dd;
  --ink: #23262b;
  --ink-soft: #52565c;
  --white: #ffffff;

  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 12px 30px rgba(27, 54, 93, 0.12);

  --section-pad: clamp(3.5rem, 6vw, 6.5rem);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marsh-green);
  margin-bottom: 0.9rem;
}

h1, .h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h2, .h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h3, .h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.subhead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  font-weight: 400;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro p { color: var(--ink-soft); margin-top: 0.9rem; font-size: 1.05rem; }

.body-copy p + p { margin-top: 1rem; }
.body-copy { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: background-color .2s ease, transform .15s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
}
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background-color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 4px 18px rgba(27,54,93,0.08);
  padding: 0.6rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 48px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .brand img { height: 38px; }
.brand-text { color: var(--white); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.site-header.is-scrolled .brand-text { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.92;
  transition: opacity .2s ease, color .2s ease;
}
.site-header.is-scrolled .main-nav a:not(.btn) { color: var(--navy); }
.main-nav a:not(.btn):hover { opacity: 1; color: var(--coral); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: background-color .2s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(18,35,65,0.55) 0%, rgba(18,35,65,0.45) 45%, rgba(18,35,65,0.78) 100%),
    url('../images/hero-marsh-aerial.jpg') center / cover no-repeat fixed;
  padding: 8rem 0 4rem;
}
.hero .eyebrow { color: var(--driftwood); }
.hero h1 { color: var(--white); max-width: 780px; }
.hero .subhead { color: var(--white); opacity: 0.92; max-width: 640px; margin-top: 1.1rem; }
.hero .body-copy { color: rgba(255,255,255,0.88); max-width: 660px; margin-top: 1.4rem; }
.hero .btn-row { margin-top: 2.2rem; }

@media (max-width: 787px) {
  .hero { background-attachment: scroll; }
}

/* ---------- Generic section ---------- */
section { padding: var(--section-pad) 0; }
.section-alt { background: var(--ivory); }

/* ---------- Box grid (what you can host / property / packages) ---------- */
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.box {
  background: var(--white);
  border: 1px solid var(--oyster);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.box:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.box h3 { margin-bottom: 0.6rem; }
.box p { color: var(--ink-soft); font-size: 0.98rem; }

/* Property (image) cards */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--oyster);
}
.property-card .photo {
  height: 230px;
  background-size: cover;
  background-position: center;
}
.property-card .content { padding: 1.6rem; }
.property-card p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.5rem; }

.note-card {
  margin-top: 2rem;
  background: var(--driftwood);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--navy);
}

/* ---------- Two-column package panels ---------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.package-panel {
  background: var(--white);
  border: 1px solid var(--oyster);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.package-panel.featured { border-color: var(--coral); box-shadow: var(--shadow); }
.package-panel h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.package-panel .tagline { color: var(--ink-soft); margin-bottom: 1.4rem; }
.list-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marsh-green);
  margin: 1.4rem 0 0.7rem;
}
.check-list li, .x-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--marsh-green);
  font-weight: 700;
}
.x-list li::before {
  content: "–";
  position: absolute; left: 0; top: 0;
  color: #b7b2a8;
  font-weight: 700;
}

/* ---------- Pricing tables ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  padding: 1rem 1.4rem;
  text-align: left;
  border-bottom: 1px solid var(--oyster);
}
.price-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.price-table tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }
.price-note {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Food / experience options ---------- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.option-card {
  background: var(--white);
  border: 1px solid var(--oyster);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
}
.option-card .price-tag {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--coral-hover);
}
.option-card .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--marsh-green); font-weight: 700; margin-top: 1.1rem; }
.option-card .fine { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.3rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-cloud span {
  background: var(--ivory);
  border: 1px solid var(--driftwood);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-size: 0.9rem;
  color: var(--navy);
}

/* ---------- Coming soon / retreat listing ---------- */
.coming-soon {
  text-align: center;
  border: 2px dashed var(--driftwood);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  color: var(--ink-soft);
}
.coming-soon strong { color: var(--navy); display: block; font-size: 1.2rem; margin-bottom: 0.5rem; }
.disclaimer { margin-top: 1.5rem; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Full-bleed CTA band (host preview) ---------- */
.cta-band {
  position: relative;
  color: var(--white);
  background: linear-gradient(180deg, rgba(18,35,65,0.72), rgba(18,35,65,0.82)),
    url('../images/massive-marsh-views.jpeg') center / cover no-repeat fixed;
  text-align: center;
}
.cta-band .eyebrow { color: var(--gold); opacity: 0.95; }
.cta-band .section-intro p { color: rgba(255,255,255,0.88); }
.cta-band h2 { color: var(--white); }
.cta-band .btn-row { justify-content: center; margin-top: 1.8rem; }
@media (max-width: 787px) { .cta-band { background-attachment: scroll; } }

/* ---------- Membership table ---------- */
.member-table {
  width: 100%;
  border-collapse: collapse;
}
.member-table th, .member-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--oyster);
  text-align: left;
  font-size: 0.96rem;
}
.member-table th { color: var(--navy); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.member-table td { color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--oyster);
  position: relative;
}
.testimonial p { font-size: 1.05rem; color: var(--navy); font-style: italic; line-height: 1.55; }
.testimonial::before {
  content: "\201C";
  font-size: 3rem;
  color: var(--coral);
  font-family: Georgia, serif;
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--oyster);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.02rem;
}
.faq-question .icon {
  font-size: 1.4rem;
  color: var(--coral);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer p { padding-bottom: 1.3rem; color: var(--ink-soft); }

/* ---------- Inquiry form ---------- */
.inquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .inquiry-wrap { grid-template-columns: 1fr; } }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  background: var(--white);
  border: 1px solid var(--oyster);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--oyster);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ivory);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}
.radio-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.radio-row input { width: auto; }

.form-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-text { color: var(--white); font-size: 1.15rem; font-weight: 700; }
.site-footer p { color: rgba(255,255,255,0.7); margin-top: 0.9rem; font-size: 0.95rem; }
.social-links { display: flex; gap: 0.8rem; margin-top: 1.1rem; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  transition: background-color .2s ease, color .2s ease;
}
.social-links a:hover { background: var(--coral); color: var(--white); }
.footer-heading { color: var(--white); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.site-footer ul li { margin-bottom: 0.65rem; }
.site-footer ul li a { color: rgba(255,255,255,0.75); font-size: 0.95rem; transition: color .2s ease; }
.site-footer ul li a:hover { color: var(--coral); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a:not(.btn) { color: var(--white); font-size: 1.05rem; }
  .site-header.is-scrolled .main-nav a:not(.btn) { color: var(--white); }
}

@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
}

/* ==========================================================================
   Decorative motion layer
   Ambient, brand-toned motion: a scrolling tideline divider, a drifting
   heron, soft light motes, breathing color blobs, and twinkling stars. All layers
   sit behind content (pointer-events: none) and are populated at runtime
   by js/main.js. Disabled entirely for prefers-reduced-motion.
   ========================================================================== */

.has-decor { position: relative; overflow: hidden; }
.hero, .cta-band { overflow: hidden; }

/* ---------- Ambient background textures ---------- */
/* Fine paper grain — a barely-there noise wash for the plain white/ivory
   sections that otherwise feel flat and empty. */
.has-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
/* Faint topographic contour lines — a nod to marsh terrain, tiled at a
   large scale so it reads as texture rather than a pattern. */
.has-texture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><path d='M0,55 Q40,25 80,55 T160,55 T240,55 T320,55' stroke='%231b365d' stroke-width='1' fill='none'/><path d='M0,130 Q40,100 80,130 T160,130 T240,130 T320,130' stroke='%234a7729' stroke-width='1' fill='none'/><path d='M0,205 Q40,175 80,205 T160,205 T240,205 T320,205' stroke='%231b365d' stroke-width='1' fill='none'/><path d='M0,280 Q40,250 80,280 T160,280 T240,280 T320,280' stroke='%234a7729' stroke-width='1' fill='none'/></svg>");
  background-repeat: repeat;
}

/* Ultra-faint wave-line texture — reserved for the CTA band only (the hero
   stays clean). A slow background-position drift for a little life; this is
   a cheap compositor-only animation (just shifting a tiled background), so
   it costs effectively nothing at runtime. */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='60'><path d='M0,30 Q30,10 60,30 T120,30 T180,30 T240,30' stroke='white' stroke-width='1.4' fill='none'/><path d='M0,46 Q30,26 60,46 T120,46 T180,46 T240,46' stroke='white' stroke-width='1' fill='none'/></svg>");
  background-repeat: repeat;
  animation: wave-texture-drift 50s linear infinite;
}
@keyframes wave-texture-drift {
  from { background-position: 0 0; }
  to   { background-position: 240px 0; }
}

/* ---------- Tideline wave divider ---------- */
.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 54px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.wave-divider svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  animation-name: wave-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.wave-divider .wave-back {
  animation-duration: 34s;
  opacity: 0.85;
}
.wave-divider .wave-front {
  animation-duration: 21s;
  animation-direction: reverse;
  opacity: 1;
}
@keyframes wave-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Drifting heron ----------
   Fixed to the viewport so it glides over whatever section is currently
   in view, regardless of scroll position. Height is randomized between
   flights by js/main.js so it isn't always crossing at the same spot. */
.floating-heron {
  position: fixed;
  top: 16%;
  left: -14%;
  width: 78px;
  color: var(--navy);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  animation: heron-flight 34s linear infinite;
}
.floating-heron svg { width: 100%; height: auto; display: block; fill: currentColor; }
.floating-heron .wing {
  transform-box: fill-box;
  transform-origin: 100% 45%;
  animation: heron-flap 0.85s ease-in-out infinite;
}
@keyframes heron-flight {
  0%     { transform: translate(0, 0); opacity: 0; }
  6%     { opacity: 0.22; }
  35%    { transform: translate(128vw, -8vh); opacity: 0.22; }
  37%    { opacity: 0; }
  100%   { transform: translate(128vw, -8vh); opacity: 0; }
}
@keyframes heron-flap {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(12deg); }
}

/* ---------- Light motes ---------- */
.motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.motes span {
  position: absolute;
  bottom: -5%;
  left: var(--left, 50%);
  width: var(--size, 5px);
  height: var(--size, 5px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 168, 0.95), rgba(255, 224, 168, 0));
  opacity: 0;
  animation-name: mote-rise;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes mote-rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.3; }
  100% { transform: translate(var(--drift, 20px), -115%); opacity: 0; }
}

/* ---------- Stars (CTA band only) ---------- */
.stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.stars span {
  position: absolute;
  top: var(--top, 10%);
  left: var(--left, 10%);
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.65);
  opacity: 0;
  animation-name: twinkle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: 0.55; transform: scale(1); }
}

/* ---------- Soft color blobs ---------- */
.blob-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  animation-name: blob-breathe;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.blob.navy { background: var(--navy); }
.blob.gold { background: var(--gold); }
@keyframes blob-breathe {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.12) translate(2%, -3%); }
}

/* Content inside decorated sections should always paint above the layers */
.has-decor > .container,
.hero > .container,
.cta-band > .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .wave-divider svg,
  .floating-heron,
  .floating-heron .wing,
  .motes span,
  .stars span,
  .blob,
  .cta-band::before {
    animation: none !important;
  }
}
