
/* ============================================================
   Living Bayfront (formerly Resilient Aquarium): campaign.css
   Design layer loaded AFTER the kit's styles.css. Themes the kit
   tokens to the RVK palette and styles the one-page sections.
   Palette pulled from the logo: navy + teal waves, coral sunburst.
   ============================================================ */

:root {
  /* RVK brand */
  --navy:       #0B2A43;
  --navy-700:   #0e3757;
  --teal:       #0E7C86;
  --teal-deep:  #0a636c;   /* text/links on white (AA) */
  --seagrass:   #3E7C4F;
  --coral:      #E4572E;   /* decorative accent */
  --coral-btn:  #c7451f;   /* button bg; white label passes WCAG AA (4.9:1) */
  --coral-btn-h:#ab3a19;
  --sand:       #f4efe4;
  --sand-line:  #e4dcc9;
  --ink:        #16232e;
  --mist:       #eef4f5;

  /* Retheme kit tokens */
  --color-primary:            var(--teal);
  --color-primary-accessible: var(--teal-deep);
  --color-secondary:          var(--navy);
  --color-accent:             var(--coral);
  --color-dark:               var(--navy);
  --color-text:               var(--ink);
  --color-muted:              #5b6b78;
  --color-light:              var(--mist);
  --color-border:             #dfe6e8;
  /* Teal a11y accent. The kit uses this both as a fill under white text
     (panel header, launcher) and as text on white (section titles, "Reset
     all"), so it has to clear 4.5:1 in both directions — this is 5.01:1. */
  --a11y-accent:              #0e7b85;

  --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", system-ui, sans-serif;

  --container-max: 1380px;
  --radius: 12px;
  --icon: #0e7b85;        /* line-icon color */
  --icon-ring: #30a7ac;   /* outer ring around the trust-bar icons */
  --hero-fade: #e3fafb;   /* mobile hero panel the photo dissolves into */

  /* Footer */
  --footer-bg:         var(--navy);
  --footer-donate-bg:  var(--coral-btn);
  --footer-donate-text:#ffffff;
  --footer-org-accent: var(--coral);
  --footer-link-hover: var(--coral);
}


body { -webkit-font-smoothing: antialiased; }


/* ---------- Line icons (masked so they take a brand color) ---------- */
.rvk-icon { display: inline-block; width: 30px; height: 30px; background-color: var(--icon);
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain; }

.rvk-icon--leaf     { -webkit-mask-image: url("/ignition/resources/img/leaf.svg");                    mask-image: url("/ignition/resources/img/leaf.svg"); }

.rvk-icon--people   { -webkit-mask-image: url("/ignition/resources/img/people-group-light-full.svg"); mask-image: url("/ignition/resources/img/people-group-light-full.svg"); }

.rvk-icon--flask    { -webkit-mask-image: url("/ignition/resources/img/flask-light-full.svg");        mask-image: url("/ignition/resources/img/flask-light-full.svg"); }

.rvk-icon--landmark { -webkit-mask-image: url("/ignition/resources/img/landmark-light-full.svg");     mask-image: url("/ignition/resources/img/landmark-light-full.svg"); }

.rvk-icon--mangrove { -webkit-mask-image: url("/ignition/resources/img/mangrove.svg");                mask-image: url("/ignition/resources/img/mangrove.svg"); }

.rvk-icon--coral    { -webkit-mask-image: url("/ignition/resources/img/coral.svg");                   mask-image: url("/ignition/resources/img/coral.svg"); }

.rvk-icon--drops    { -webkit-mask-image: url("/ignition/resources/img/drops.svg");                   mask-image: url("/ignition/resources/img/drops.svg"); }

.rvk-icon--seedling { -webkit-mask-image: url("/ignition/resources/img/seedling-light-full.svg");     mask-image: url("/ignition/resources/img/seedling-light-full.svg"); }

.rvk-icon--anchor   { -webkit-mask-image: url("/ignition/resources/img/anchor-light-full.svg");       mask-image: url("/ignition/resources/img/anchor-light-full.svg"); }

.rvk-icon--bullhorn { -webkit-mask-image: url("/ignition/resources/img/bullhorn-light-full.svg");     mask-image: url("/ignition/resources/img/bullhorn-light-full.svg");
  /* rotated so the horn points to the upper right */
  transform: rotate(-30deg); }

.rvk-icon--envelope { -webkit-mask-image: url("/ignition/resources/img/envelope-light-full.svg");     mask-image: url("/ignition/resources/img/envelope-light-full.svg"); }

.rvk-icon--shield   { -webkit-mask-image: url("/ignition/resources/img/shield-check-light-full.svg"); mask-image: url("/ignition/resources/img/shield-check-light-full.svg"); }

.rvk-icon--plane    { -webkit-mask-image: url("/ignition/resources/img/paper-plane-mosaic-solid-full.svg"); mask-image: url("/ignition/resources/img/paper-plane-mosaic-solid-full.svg"); }


/* ---------- Scroll reveal (fade up) ----------
   Matches the house pattern used on Cohen/Fox/Annette: elements start shifted
   and fade up as they enter the viewport. No-JS and no-IntersectionObserver
   both fall back to fully visible, so content is never hidden by a failure. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal.mdw-reveal-ready { opacity: 0; transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
    transition-delay: var(--reveal-delay, 0s); }

  .js .reveal.mdw-reveal-ready.is-visible { opacity: 1; transform: none; }

  /* Cards own their hover transform, so reveal those on opacity alone. */
  .js .rvk-pillar.reveal, .js .rvk-hcard.reveal { transform: none;
    transition: opacity .7s ease, transform .2s ease, box-shadow .2s ease; }
}

/* a11y menu "Pause Animations" wins over everything above. */
html.a11y-reduce-motion .reveal { opacity: 1 !important; transform: none !important; }


/* Stagger siblings without per-element inline delays. */
.rvk-trust__grid > .reveal:nth-child(2),
.rvk-pillars__grid > .reveal:nth-child(2),
.rvk-eco__grid > .reveal:nth-child(2),
.rvk-legacy__cards > .reveal:nth-child(2) { --reveal-delay: .08s; }

.rvk-trust__grid > .reveal:nth-child(3),
.rvk-pillars__grid > .reveal:nth-child(3),
.rvk-eco__grid > .reveal:nth-child(3) { --reveal-delay: .16s; }

.rvk-trust__grid > .reveal:nth-child(4),
.rvk-pillars__grid > .reveal:nth-child(4),
.rvk-eco__grid > .reveal:nth-child(4) { --reveal-delay: .24s; }

.rvk-pillars__grid > .reveal:nth-child(5) { --reveal-delay: .32s; }


/* ---------- Shared bits ---------- */
.rvk-eyebrow {
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: var(--teal-deep); margin: 0 0 .6rem;
}

.rvk-eyebrow--ondark { color: #7fd4dc; }

.rvk-h2 {
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: clamp(1.7rem, 3.4vw, 2.65rem); line-height: 1.08; margin: 0 0 .7rem;
  letter-spacing: -.01em;
}

.rvk-lead { font-size: 1.1rem; color: #46545f; max-width: 60ch; margin: 0 auto; }

.rvk-rule { width: 62px; height: 5px; border-radius: 3px; background: var(--coral); border: 0; margin: 0 0 1.15rem; }

.rvk-section { padding-block: clamp(3rem, 6vw, 5.25rem); }

.rvk-section--sand { background: var(--sand); }

.rvk-section--tight-top { padding-top: clamp(1.5rem, 2.5vw, 2rem); }

.rvk-section--mist { background: var(--mist); }

.rvk-center { text-align: center; }

.rvk-center .rvk-rule { margin-inline: auto; }


/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}

.btn:hover { transform: translateY(-1px); }

.btn--action { background: var(--coral-btn); color: #fff; }

.btn--action:hover { background: var(--coral-btn-h); color: #fff; }

.btn--primary { background: var(--teal-deep); color: #fff; }

.btn--primary:hover { background: #085259; color: #fff; }

.btn--navy { background: var(--navy); color: #fff; }

.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--ghost { background: transparent; color: var(--navy); border-color: rgba(11,42,67,.28); }

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

.btn--on-dark { background: #fff; color: var(--navy); }

.btn--on-dark:hover { background: #eaf5f6; }

.btn--ghost-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }

.btn--ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color:#fff; }

.btn--lg { font-size: 1.06rem; padding: 1rem 1.9rem; }


/* ---------- Header / nav ----------
   Solid by default. Only the home page has a hero behind the header, so only
   there does it start transparent and turn solid on scroll; every other page
   (legal, thank-you, errors) gets the solid bar plus a spacer for the fixed
   header, or the title slides underneath it. */
/* Smooth in-page scrolling; scroll-padding keeps targets clear of the fixed
   header. The kit already forces scroll-behavior:auto under OS reduce-motion;
   this matches it for the a11y menu's "Pause Animations". */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

html.a11y-reduce-motion { scroll-behavior: auto; }

:root { --header-h: 70px; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid #e9eef0; box-shadow: 0 8px 22px -16px rgba(11,42,67,.55);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease; }

body:not(.page-home) #main { padding-top: var(--header-h); }

body.page-home .site-header { background: transparent; backdrop-filter: none;
  border-bottom-color: transparent; box-shadow: none; }

html.is-scrolled body.page-home .site-header { background: rgba(255,255,255,.95);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom-color: #e9eef0;
  box-shadow: 0 8px 22px -16px rgba(11,42,67,.55); }

.site-header .nav { display: flex; align-items: center; gap: 1.25rem; padding-block: .8rem; }

.nav__brand-color { height: 56px; width: auto; } /* 2026-10-14: squarer logo with the 'at Miami Seaquarium' box; 42px made that line unreadable */

.nav__links { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; margin-left: auto; }

.nav__links a { font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }

.nav__links a:hover { color: var(--teal-deep); }

/* halo only while the header floats over the hero photo */
body.page-home .nav__links a { text-shadow: 0 1px 3px rgba(255,255,255,.55); }

html.is-scrolled body.page-home .nav__links a { text-shadow: none; }

.nav__cta { margin-left: .25rem; }

.nav__cta .btn { padding: .6rem 1.15rem; font-size: .92rem; }

.nav__social { display: none; }

.nav__toggle { display: none; }


/* ---------- Hero (image carries a light scrim baked in; dark text) ---------- */
.rvk-hero { position: relative; color: var(--navy); isolation: isolate; display: flex; align-items: center; min-height: clamp(640px, 90vh, 860px); }

.rvk-hero .container { width: 100%; }

.rvk-hero__bg { position: absolute; inset: 0; z-index: -2; background: url("/ignition/resources/img/Restore-Virginia-Key-hero.webp") center / cover no-repeat; }

/* NOTE: photo filenames still carry the old Restore-Virginia-Key- prefix.
   Left as-is deliberately — renaming them is cosmetic churn with no
   user-facing effect. Only the logos were renamed with the rebrand. */
.rvk-hero__inner { padding-block: clamp(6.5rem, 13vh, 9rem) clamp(2rem, 5vh, 3.5rem); max-width: 660px; }

.rvk-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; color: var(--navy);
  font-size: clamp(3rem, 5.8vw, 4.6rem); line-height: 1.0; margin: 0 0 1.75rem; }

/* "A New Chapter for Miami Seaquarium" line above the H1 (2026-09-29). */
.rvk-hero__eyebrow { margin-bottom: 1rem; font-size: .84rem; }

.rvk-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem; }

.rvk-hero .rvk-rule { background: var(--coral); }


/* ---------- Trust bar (outline circle icons, divided cells) ---------- */
.rvk-trust { background: #fbfaf7; border-bottom: 1px solid #eceff0; }

.rvk-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 1.6rem; }

.rvk-trust__item { display: flex; align-items: center; gap: .85rem; padding-inline: 1.4rem; }

.rvk-trust__item + .rvk-trust__item { border-left: 1px solid #e3e8ea; }

.rvk-trust__ic { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--icon-ring);
  display: grid; place-items: center; }

.rvk-trust__ic .rvk-icon { width: 30px; height: 30px; }

.rvk-trust__txt { display: block; }

.rvk-trust__t { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--navy);
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }

.rvk-trust__d { display: block; font-size: .86rem; color: #66727c; margin-top: .25rem; line-height: 1.35; }


/* ---------- Ruled centered eyebrow ("——— OUR FIVE PILLARS ———") ---------- */
.rvk-ruled-eyebrow { display: flex; align-items: center; gap: 1rem; margin: 0 0 2rem; }

.rvk-ruled-eyebrow::before, .rvk-ruled-eyebrow::after { content: ""; flex: 1 1 auto; height: 1px; background: #d8dfe2; }

.rvk-ruled-eyebrow span { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .8rem; color: var(--teal-deep); }


/* ---------- Pillars ---------- */
.rvk-pillars { padding-bottom: clamp(1.5rem, 2.5vw, 2rem); }
   /* tighten gap to Historic Legacy */
/* Cards share row tracks (subgrid) so head / photo / copy / link all line up
   across the row no matter how long any one card's text runs. */
/* FIVE cards since the Living Bayfront copy (2026-09-29). */
.rvk-pillars__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  grid-template-rows: auto auto auto; align-items: stretch; }

/* Intro lead between the ruled eyebrow and the cards. */
.rvk-pillars__lead { text-align: center; max-width: 72ch; margin: -.6rem auto 2.2rem; }

/* Two-column layouts: the odd fifth card sits centred on its own row
   instead of hanging off the left edge. */
@media (max-width: 1100px) and (min-width: 561px) {
  .rvk-pillar:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center;
    width: calc(50% - 5px); }
}

.rvk-pillar { background: #fff; border: 1px solid #eef2f3; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 18px 38px -22px rgba(11,42,67,.45), 0 2px 6px -2px rgba(11,42,67,.10);
  transition: transform .2s ease, box-shadow .2s ease; }

.rvk-pillar:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -22px rgba(11,42,67,.5), 0 3px 8px -2px rgba(11,42,67,.12); }

@supports (grid-template-rows: subgrid) {
  .rvk-pillar { display: grid; grid-row: span 3; grid-template-rows: subgrid; }
}

/* Fallback for browsers without subgrid: pad the short heads. */
@supports not (grid-template-rows: subgrid) {
  .rvk-pillar__head { min-height: 168px; }
}

.rvk-pillar__head { padding: 1.25rem 1.15rem .95rem; }

.rvk-pillar__num { display: inline-block; font-family: var(--font-display); font-weight: 800; color: var(--teal);
  font-size: 1.15rem; border-bottom: 2px solid var(--teal); padding-bottom: 2px; margin-bottom: .65rem; }

.rvk-pillar__t { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.14rem; line-height: 1.16; margin: 0 0 .45rem; }

.rvk-pillar__sub { color: #4a5862; font-family: var(--font-heading); font-weight: 700; font-size: .89rem; line-height: 1.32; margin: 0; }

.rvk-pillar__figure { padding: 0 2px; }

.rvk-pillar__img { aspect-ratio: 4/5; width: 100%; object-fit: cover; display: block; border-radius: 10px; }

.rvk-pillar__d { font-size: .93rem; color: #4d5a64; padding: 1rem 1.15rem 1.35rem; }


/* ---------- Historic legacy (copy left, two cards right, on a sand panel) ---------- */
.rvk-legacy { display: grid; grid-template-columns: .8fr 2fr; gap: clamp(1.5rem, 3.5vw, 3rem);
  background: var(--sand); border-radius: 16px; padding: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }

.rvk-legacy__copy .rvk-h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }

.rvk-legacy__copy p { color: #4d5a64; }

.rvk-legacy__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.rvk-hcard { background: #fff; border: 1px solid #efe9dc; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 18px 38px -22px rgba(11,42,67,.45), 0 2px 6px -2px rgba(11,42,67,.10); }

.rvk-hcard img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.rvk-hcard__body { padding: 1.05rem 1.2rem 1.3rem; }

.rvk-hcard__t { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1.12rem; margin: 0 0 .35rem; }

.rvk-hcard__body p { color: #4d5a64; font-size: .93rem; margin: 0; }


/* ---------- Ecosystems band (circular photo + text beside it) ---------- */
.rvk-eco { position: relative; isolation: isolate;
  background: linear-gradient(180deg, #e7f2f4 0%, #dcedf0 100%); }

/* Seamless navy leaf line-work, low opacity. Extracted from the source
   artwork's line layer and recolored; tiles in both directions. */
.rvk-eco::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("/ignition/resources/img/leaf-pattern.webp");
  background-repeat: repeat; background-size: 760px auto; opacity: .30; }

html.a11y-hide-images .rvk-eco::before { display: none; }

.rvk-eco__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2.4rem; }

.rvk-eco__item { display: flex; align-items: center; gap: .9rem; }

.rvk-eco__photo { flex: 0 0 auto; width: 148px; height: 148px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 12px 26px -16px rgba(11,42,67,.5); }

.rvk-eco__body { min-width: 0; }

.rvk-eco__ic { width: 44px; height: 44px; margin-bottom: .4rem; }

.rvk-eco__t { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: 1rem; margin: 0 0 .2rem; }

.rvk-eco__d { font-size: .86rem; color: #4f5d67; margin: 0; line-height: 1.35; }


/* ---------- Standards bar ---------- */
.rvk-standards { margin-top: 2.6rem; background: var(--navy); color: #fff; border-radius: 14px;
  padding: 1.15rem clamp(1.1rem, 2.5vw, 2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.75rem; align-items: center; }

.rvk-standards__lead { display: flex; align-items: center; gap: .85rem; font-family: var(--font-heading);
  font-weight: 700; font-size: 1.42rem; line-height: 1.15; max-width: 22ch; }

.rvk-standards__shield { width: 42px; height: 42px; background-color: #6fd2db; flex: 0 0 auto; }

.rvk-standards__d { margin: 0; color: rgba(255,255,255,.82); font-size: .92rem; border-left: 1px solid rgba(255,255,255,.25); padding-left: 1.5rem; }


/* ---------- "A Waterfront Reimagined" gallery ---------- */
.rvk-vision { background: #eaf4f6; }

.rvk-vision__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2.35fr;
  gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }

.rvk-vision__intro { color: #4b5a64; margin: 0 0 1.6rem; }


/* tab list */
.rvk-vision__list { display: flex; flex-direction: column; }

/* justify-content is explicit: the kit centers all <button> content, which
   would centre these rows instead of stacking them on a left edge. */
.rvk-vision__item { display: flex; align-items: center; justify-content: flex-start; gap: .85rem; width: 100%;
  background: transparent; border: 0; border-top: 1px solid #d5e3e6; border-left: 3px solid transparent;
  padding: .85rem .9rem; text-align: left; cursor: pointer; border-radius: 0 8px 8px 0;
  transition: background-color .18s ease, border-color .18s ease; }

.rvk-vision__item:last-child { border-bottom: 1px solid #d5e3e6; }

.rvk-vision__item:hover { background: rgba(255,255,255,.6); }

.rvk-vision__item.is-active { background: #fff; border-left-color: var(--coral); }

.rvk-vision__num { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--icon-ring); color: var(--teal-deep);
  display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: .88rem; }

.rvk-vision__item.is-active .rvk-vision__num { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }

.rvk-vision__t { font-family: var(--font-heading); font-weight: 700; color: var(--navy); font-size: .98rem; line-height: 1.2; }


/* stage */
.rvk-vision__frame { position: relative; border-radius: 14px; overflow: hidden;
  aspect-ratio: 16/11; touch-action: pan-y;
  box-shadow: 0 26px 52px -26px rgba(11,42,67,.55), 0 2px 8px -3px rgba(11,42,67,.14); }

.rvk-vision__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease; }

.rvk-vision__img.is-active { opacity: 1; }


/* caption card */
.rvk-vision__card { position: absolute; left: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem);
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 1rem 1.15rem; min-width: min(280px, 68vw);
  box-shadow: 0 20px 40px -22px rgba(4,20,33,.6); }

.rvk-vision__card-head { display: flex; align-items: baseline; gap: .55rem; margin: 0 0 .75rem; }

.rvk-vision__card-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--teal-deep);
  border-bottom: 2px solid var(--coral); line-height: 1.1; }

.rvk-vision__card-sep { color: #b9c6cc; }

.rvk-vision__card-label { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--navy); }

.rvk-vision__nav { display: flex; gap: .5rem; }

.rvk-vision__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #cfdde1;
  background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s; }

.rvk-vision__arrow svg { width: 18px; height: 18px; }

.rvk-vision__arrow:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }


@media (max-width: 900px) {
  .rvk-vision__grid { grid-template-columns: 1fr; }

  .rvk-vision__aside { display: contents; }

  .rvk-vision__aside > .rvk-eyebrow,
  .rvk-vision__aside > .rvk-h2,
  .rvk-vision__aside > .rvk-rule,
  .rvk-vision__intro { order: 1; }

  .rvk-vision__stage { order: 2; }

  /* No tab list on mobile: navigation is the arrows or a swipe on the image.
     The caption card still reports which view you're on. */
  .rvk-vision__list { display: none; }
}

@media (max-width: 640px) {
  .rvk-vision__frame { aspect-ratio: 4/3; }

  /* Compact caption: one slim row (label left, arrows right) instead of a
     stacked block, so it sits on the image rather than covering it. */
  .rvk-vision__card { left: .6rem; right: .6rem; bottom: .6rem; min-width: 0; padding: .55rem .6rem .55rem .8rem;
    display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-radius: 10px; }

  .rvk-vision__card-head { margin: 0; min-width: 0; }

  .rvk-vision__card-num { font-size: 1.15rem; }

  .rvk-vision__card-label { font-size: .68rem; letter-spacing: .09em; }

  .rvk-vision__nav { gap: .35rem; flex: 0 0 auto; }

  .rvk-vision__arrow { width: 34px; height: 34px; }

  .rvk-vision__arrow svg { width: 16px; height: 16px; }
}


/* ---------- A Better Future (closing band) ---------- */
/* Padding lives on the section, not as margin on the panel: a margin there
   collapses out through .container and the video band ends up flush. */
.rvk-future { position: relative; color: #fff; isolation: isolate;
  padding-block: clamp(3rem, 6.5vw, 6rem); }

/* Full-colour video is the background; the action panel sits on top of it with
   mild transparency. No mesh overlay, no blend mode. */
.rvk-future__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--navy); }

.rvk-future__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Motion/accessibility: fall back to the still poster frame. */
html.a11y-reduce-motion .rvk-future__video { display: none; }

@media (prefers-reduced-motion: reduce) { .rvk-future__video { display: none; }
}

html.a11y-hide-images .rvk-future__video { display: none; }

/* ---------- Action panel ----------
   One translucent panel over the video: intro + checklist left, form right,
   consent across the bottom. Mild transparency so the footage reads through
   without costing legibility (all text is ink on a light panel). */
.rvk-action { border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background: rgba(235,246,248,.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
          backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 40px 80px -34px rgba(4,20,33,.62), inset 0 1px 0 rgba(255,255,255,.8);
  color: var(--ink); }

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .rvk-action { background: rgba(235,246,248,.97); }
}

.rvk-action__grid { display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 3rem); align-items: start; }

/* vertical divider between the two halves */
.rvk-action__form { position: relative; padding-left: clamp(1.5rem, 3.5vw, 3rem); }

.rvk-action__form::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: rgba(13,76,86,.16); }


/* Deeper than --coral-btn: the eyebrow is small uppercase text, so it needs
   4.5:1 on the translucent panel (the button colour only reached 3.5:1). */
.rvk-eyebrow--coral { color: #a63715; }

.rvk-action .rvk-rule { margin-bottom: 1.15rem; }

.rvk-action__h { font-family: var(--font-display); font-weight: 800; color: #0d4c56;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.04; margin: 0 0 .7rem; letter-spacing: -.01em; }

.rvk-action__lead { color: #3f5259; font-size: 1.04rem; margin: 0 0 1.5rem; }


.rvk-action__points { display: grid; gap: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(13,76,86,.16); }

.rvk-action__point { display: flex; gap: .95rem; align-items: flex-start; }

.rvk-action__ic { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: #d7eff5; border: 1px solid #d8e4e4;
  box-shadow: 0 2px 5px -1px rgba(13,76,86,.14), 0 1px 2px rgba(13,76,86,.08);
  display: grid; place-items: center; }

.rvk-action__ic .rvk-icon { width: 26px; height: 26px; }

.rvk-action__ic--sm { width: 50px; height: 50px; }

.rvk-action__ic--sm .rvk-icon { width: 24px; height: 24px; }

.rvk-action__ptbody { min-width: 0; }

.rvk-action__pth { font-family: var(--font-heading); font-weight: 700; color: var(--teal-deep);
  font-size: 1.02rem; margin: .3rem 0 .5rem; }

.rvk-action__ptbody p { margin: 0; color: #46585f; font-size: .96rem; }


.rvk-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }

.rvk-checks li { position: relative; padding-left: 1.9rem; color: #33454c; font-size: .96rem; }

.rvk-checks li::before { content: ""; position: absolute; left: 0; top: .05em; width: 1.35rem; height: 1.35rem;
  background-repeat: no-repeat; background-position: center; background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%2330a7ac'/%3E%3Cpath d='M8 12.4l2.6 2.6L16 9.6' stroke='%230d4c56'/%3E%3C/svg%3E"); }


.rvk-action__formtitle { font-family: var(--font-heading); font-weight: 700; color: var(--teal-deep);
  text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; margin: 0 0 1.1rem; }

.rvk-action__submit { width: 100%; margin-top: .5rem; gap: .6rem; }

/* masked icon, so it takes the button's white rather than the icon token */
.rvk-action__plane { width: 20px; height: 20px; flex: 0 0 auto; background-color: currentColor; }


.rvk-action__foot { display: flex; align-items: center; gap: .9rem; margin-top: clamp(1.4rem, 3vw, 2rem);
  padding-top: clamp(1.1rem, 2.5vw, 1.5rem); border-top: 1px solid rgba(13,76,86,.16); }


.rvk-field { display: block; margin-bottom: .8rem; }

.rvk-field__label { display: block; font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; color: var(--teal-deep);
  margin: .35rem 0 .45rem; }

.rvk-field input, .rvk-field textarea {
  width: 100%; font: inherit; padding: .8rem .95rem; border: 1.5px solid #cdd7dc; border-radius: 10px;
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(4,20,33,.06);
}

.rvk-field input:focus, .rvk-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,134,.18); }

.rvk-field textarea { min-height: 96px; resize: vertical; }

/* 2026-10-14 (Aaron): the box grows to show the whole seeded letter, no
   scrolling. field-sizing does it natively where supported; rvk-autogrow.js
   sets the height everywhere else. rows="14" in the markup is the no-JS floor. */
.rvk-field__message { min-height: 0; line-height: 1.45; resize: vertical; field-sizing: content; overflow: hidden; }

.rvk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }

.rvk-consent { font-size: .86rem; color: #46585f; margin: 0; }

.rvk-consent a { color: var(--teal-deep); }

.rvk-formmsg { background: #fdecea; border: 1px solid #f5c2bb; color: #8a2a1a; padding: .7rem .9rem; border-radius: 8px; margin-bottom: .9rem; font-size: .92rem; }


/* ---------- Footer polish ---------- */
.site-footer { background: var(--footer-bg); }

/* 2026-10-14: 44px → clamp(72px, 9vw, 96px) (Aaron: bigger). The 1200×524
   logo carries the "at Miami Seaquarium" box, which was unreadable at 44px. */
.footer-logo { height: clamp(72px, 9vw, 96px); width: auto; max-width: 100%; }


/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rvk-pillars__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(9, auto); }

  .rvk-eco__grid { grid-template-columns: repeat(2, 1fr); }

  .rvk-legacy { grid-template-columns: 1fr; }

  .rvk-trust__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }

  .rvk-trust__item:nth-child(3) { border-left: 0; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }

  .site-header .nav { justify-content: space-between; }

  .nav__cta { margin-left: auto; }
   /* keep the primary CTA reachable on mobile */

  /* ---- Mobile hero: photo band on top, dissolving into the light panel,
       with the headline and a full-width button beneath it (the pattern used
       on the campaign sites). The photo runs under the fixed header. ---- */
  .rvk-hero { display: block; min-height: 0; background: var(--hero-fade); }

  .rvk-hero__bg { position: relative; inset: auto; z-index: 0; height: 380px;
    background-position: right center; }

  .rvk-hero__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
    background: linear-gradient(to bottom, rgba(227,250,251,0) 0%, rgba(227,250,251,.72) 58%, var(--hero-fade) 100%); }

  /* Tuck the copy up into the dissolve. Needs its own stacking position so it
     paints above the photo layer rather than behind it. */
  .rvk-hero .container { position: relative; z-index: 2; }

  .rvk-hero__inner { position: relative; z-index: 2; margin-top: -60px;
    padding-block: 0 2.75rem; max-width: none; }

  .rvk-hero h1 { font-size: clamp(2.1rem, 8.6vw, 2.9rem); margin-bottom: 1.35rem; }

  .rvk-hero__cta { display: block; }

  .rvk-hero__cta .btn { width: 100%; }

  .rvk-pillars__grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(9, auto); }

  .rvk-legacy__cards { grid-template-columns: 1fr; }

  /* stack the panel: form drops below the intro, divider becomes horizontal */
  .rvk-action__grid { grid-template-columns: 1fr; }

  .rvk-action__form { padding-left: 0; padding-top: clamp(1.4rem, 3vw, 2rem); }

  .rvk-action__form::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }

  /* stacked: the divider rotates from a vertical rule to a horizontal one */
  .rvk-standards { grid-template-columns: 1fr; gap: .8rem; }

  .rvk-standards__d { border-left: 0; padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.25); padding-top: .8rem; }
}

@media (max-width: 560px) {
  .rvk-eco__grid, .rvk-field-row { grid-template-columns: 1fr; }

  /* single column: drop subgrid so each card sizes to its own content */
  .rvk-pillars__grid { grid-template-columns: 1fr; grid-template-rows: none; }

  .rvk-pillar { display: flex; grid-row: auto; }

  .rvk-pillar__head { min-height: 0; }

  /* single column: swap the vertical dividers for a hairline between rows */
  .rvk-trust__grid { grid-template-columns: 1fr; row-gap: 0; }

  .rvk-trust__item { border-left: 0 !important; padding-inline: 0; padding-block: 1rem; }

  .rvk-trust__item + .rvk-trust__item { border-top: 1px solid #e3e8ea; }

  .rvk-trust__item:first-child { padding-top: 0; }

  .rvk-trust__item:last-child { padding-bottom: 0; }

  .rvk-eco__item { flex-direction: column; text-align: center; }
}

/* Shared mobile menu: expose the existing toggle at narrow widths. */
@media (max-width: 900px) {
  .nav__toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--navy); cursor: pointer; margin-left: auto; flex-shrink: 0; }

  .nav__toggle-box { display: grid; gap: 5px; width: 24px; }

  .nav__toggle-bar { display: block; height: 2px; background: currentColor; }

  .site-header .nav { gap: .6rem; }
}
