/* ============================================================
   ACOCI HOME — Stylesheet
   ============================================================
   Companion to: assets/css/variables.css
   Status: foundation only. Sections ported in sequence —
   Hero → Decision → About → News → President → Members
   → Events → Join/CTA → Footer.

   This stylesheet is opinionated. It bakes in:
   - Sunset (#F69F3E) as the only CTA color
   - A unified 3-tier button system (no per-section variants)
   - Plain-text eyebrows (no capsules, no soft-tint backgrounds)
   - Gradient-only dark surfaces (no flat ink)

   When a section needs its own block, append it under "SECTIONS"
   at the bottom — never override the foundation.
   ============================================================ */


/* ────────────────────────────────────────────────────────────
   RESET & BASE
   ──────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-base);
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-link-hover); }

button { font: inherit; cursor: pointer; }

ul, ol { padding-left: 1.25em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; margin: 0; }


/* ────────────────────────────────────────────────────────────
   TYPOGRAPHY
   ──────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 var(--space-md);
}

h1 { font-size: var(--heading-1); }
h2 { font-size: var(--heading-2); }
h3 { font-size: var(--heading-3); }
h4 { font-size: var(--heading-4); }
h5 { font-size: var(--heading-5); }

p { margin: 0 0 var(--space-md); }
p:last-child { margin-bottom: 0; }


/* ────────────────────────────────────────────────────────────
   EYEBROWS — plain text only.
   Single consistent color across the page.
   No capsule backgrounds. No per-section tinting.
   ──────────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin: 0 0 var(--space-sm);
}

/* On dark surfaces, eyebrow flips to a lighter teal/aqua so the
   single-color rule is preserved within its surface context. */
.on-dark .eyebrow,
.eyebrow--on-dark {
  color: var(--brand-aqua-light);
}


/* ────────────────────────────────────────────────────────────
   BUTTON SYSTEM — three tiers, one source of truth.
   primary  = sunset solid     (the CTA — the one place sun lives)
   secondary = teal outline    (alternative action)
   tertiary  = inline text+arrow (low-emphasis link-like action)
   ──────────────────────────────────────────────────────────── */

.btn {
  --btn-pad-y: 0.875rem;
  --btn-pad-x: 1.5rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-family: var(--font-body);
  font-size: var(--body-base);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);    /* rectangular with soft corner — not a capsule */
  cursor: pointer;
  transition: background var(--transition-base),
              color      var(--transition-base),
              border     var(--transition-base),
              transform  var(--transition-fast);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--brand-sail); outline-offset: 3px; }

/* Primary — sunset. The CTA. */
.btn--primary {
  background: var(--color-cta);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: var(--color-cta-hover);
  color: #FFFFFF;
}

/* Secondary — teal outline on light backgrounds. */
.btn--secondary {
  background: transparent;
  color: var(--color-primary-deep);
  border-color: var(--color-primary-deep);
}
.btn--secondary:hover {
  background: var(--color-primary-deep);
  color: #FFFFFF;
}

/* On dark — secondary inverts to a white outline. */
.on-dark .btn--secondary,
.btn--secondary.on-dark {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.55);
}
.on-dark .btn--secondary:hover,
.btn--secondary.on-dark:hover {
  background: #FFFFFF;
  color: var(--brand-blue-deep);
  border-color: #FFFFFF;
}

/* Tertiary — text + arrow. No pill, no border. */
.btn--tertiary {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-link);
  border-radius: 0;
  font-weight: 600;
}
.btn--tertiary::after {
  content: "→";
  display: inline-block;
  transition: transform var(--transition-fast);
}
.btn--tertiary:hover {
  color: var(--color-link-hover);
}
.btn--tertiary:hover::after {
  transform: translateX(2px);
}

/* ────────────────────────────────────────────────────────────
   LAYOUT PRIMITIVES
   ──────────────────────────────────────────────────────────── */

.page {
  max-width: var(--container-outer);
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-inner);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* .section / .section__inner / .section--* live in sections.css —
   single source of truth for section shell, container, and surface
   variants. Every page that uses .section markup must load
   sections.css after styles.css. */


/* ────────────────────────────────────────────────────────────
   SURFACE UTILITIES
   ──────────────────────────────────────────────────────────── */

.surface-white     { background: var(--color-surface-page); }
.surface-aqua      { background: var(--color-surface-aqua); }       /* section bg — #D4EEE9 */
.surface-aqua-soft { background: var(--color-surface-aqua-soft); }  /* tint — #E8F6F4 */

/* Dark surface — single treatment, used on Mission, Join/CTA, and Footer. */
.surface-dark {
  background: var(--gradient-mission);
  color: var(--color-text-on-dark);
}
.surface-dark h1,
.surface-dark h2,
.surface-dark h3,
.surface-dark h4,
.surface-dark h5,
.surface-dark h6 {
  color: var(--color-text-on-dark);
}
.surface-dark p { color: var(--color-text-on-dark-muted); }


/* ────────────────────────────────────────────────────────────
   SITE HEADER / NAV with mega menu
   Logo (left) + pillar links (CENTER) + CTA (right).
   Sits transparently over the hero. Mega menu panels drop down
   below the nav as opaque white cards.
   ──────────────────────────────────────────────────────────── */

.site-header {
  --nav-logo-w: 12.75rem;
  --nav-cta-w: 8rem;
  --nav-side-pad: clamp(1.25rem, 4vw, 2.5rem);

  position: absolute;
  inset: 0 0 auto 0;
  z-index: var(--z-sticky);
  background: transparent;
}

.nav {
  display: grid;
  grid-template-columns: var(--nav-logo-w) 1fr var(--nav-cta-w);
  align-items: center;
  gap: var(--space-lg);
  width: 100%;
  max-width: var(--container-inner);
  margin: 0 auto;
  padding: var(--space-md) var(--nav-side-pad);
}

.nav__brand img { width: var(--nav-logo-w); height: auto; display: block; }

.nav__actions { justify-self: end; }
.nav__actions .btn { min-width: var(--nav-cta-w); }

/* Center column — pillar link list. justify-self centres the
   ul itself within its 1fr track. */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
  justify-self: center;
}

.nav__item { position: relative; }

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  background: none;
  border: 0;
  padding: var(--space-sm) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--body-base);
  color: var(--color-text);
  letter-spacing: -0.005em;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__trigger:hover,
.nav__trigger[aria-expanded="true"] {
  color: var(--color-primary-deep);
}

.nav__trigger[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav__chevron {
  width: 0.65em;
  height: auto;
  transition: transform var(--transition-fast);
}
.nav__trigger[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

/* Mobile: hide the link list. Logo + Join Today only.
   A real mobile menu (hamburger + drawer) gets designed as its own component. */
@media (max-width: 880px) {
  .nav { grid-template-columns: auto auto; }
  .nav__links { display: none; }
}


/* ── Mega menu panels ──
   Dropdown card under the nav bar. Featured panel (left) +
   categorized link columns (right). Hidden via [hidden] attribute;
   JS toggles it. */

.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: calc(var(--z-sticky) + 1);
  width: 100%;
  max-width: var(--container-inner);
  margin: 0 auto;
  padding: 0 var(--nav-side-pad) var(--space-md);
  /* Mirror .nav columns so the inner aligns with .nav__links */
  display: grid;
  grid-template-columns: var(--nav-logo-w) 1fr var(--nav-cta-w);
  column-gap: var(--space-lg);
  align-items: start;
}

.megamenu::before,
.megamenu::after { content: ""; }

.megamenu[hidden] { display: none; }

.megamenu__inner {
  grid-column: 2;
  background: var(--color-surface-page);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 1fr);
  min-height: 18rem;
  animation: megamenu-drop 0.18s ease-out;
}

@keyframes megamenu-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .megamenu__inner { grid-template-columns: 1fr; }
}

/* Featured panel (left) */
.megamenu__feature {
  position: relative;
  background: var(--color-surface-aqua-soft);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.megamenu__feature-eyebrow {
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary-deep);
  margin: 0;
}

.megamenu__feature-title {
  font-family: var(--font-heading);
  font-size: var(--heading-3);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--color-text);
  max-width: 14ch;
}

.megamenu__feature-body {
  color: var(--color-text-muted);
  font-size: var(--body-sm);
  line-height: 1.55;
  margin: 0 0 var(--space-sm);
  max-width: 32ch;
}

.megamenu__feature .btn {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.megamenu__feature-eyebrow,
.megamenu__feature-title,
.megamenu__feature-body { position: relative; z-index: 1; }

/* Wave-and-triangle decoration — bleeds from the bottom-right
   of the featured panel. ACOCI brand-mark family. */
.megamenu__feature-decor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  pointer-events: none;
  z-index: 0;
}

.megamenu__feature-shape {
  position: absolute;
  bottom: 0;
}

.megamenu__feature-shape--teal {
  right: 12%;
  width: 38%;
  aspect-ratio: 1;
  background: var(--brand-teal);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.megamenu__feature-shape--navy {
  right: 0;
  width: 22%;
  aspect-ratio: 1;
  background: var(--brand-blue-deep);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%);
}

.megamenu__feature-shape--sail {
  right: 4%;
  width: 28%;
  aspect-ratio: 1;
  background: var(--brand-sail);
  clip-path: polygon(0 100%, 100% 100%, 30% 30%);
  opacity: 0.85;
}

/* Link columns (right) */
.megamenu__columns {
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}

@media (max-width: 540px) {
  .megamenu__columns { grid-template-columns: 1fr; }
}

.megamenu__group h4 {
  font-family: var(--font-heading);
  font-size: var(--body-base);
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.005em;
}

.megamenu__group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: calc(var(--space-sm) * 0.85);
}

.megamenu__group a {
  color: var(--color-text-muted);
  font-size: var(--body-base);
  line-height: 1.4;
  display: inline-block;
  padding: 2px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: color var(--transition-fast), background-size var(--transition-base);
}

.megamenu__group a:hover {
  color: var(--color-primary-deep);
  background-size: 100% 2px;
}


/* ────────────────────────────────────────────────────────────
   SECTIONS
   Order: Hero → Decision → About → News → President
        → Members → Events → Join/CTA → Footer.
   ──────────────────────────────────────────────────────────── */


/* ── 1. HERO ──
   Full-content-width photo hero. The image is hero-width
   (--container-hero, 1560px), wider than the 1440px content rail
   but capped below the page-width (--container-outer, 2200px).
   The wave is page-width decoration sitting BEHIND the image; the
   image bleeds down past the wave into the About section so it
   visually straddles the section divide.

   Nav sits transparently on top (see .site-header).
   Same wave shape reappears inverted at the top of the footer. */

:root {
  --hero-wave-height: 9rem;  /* drives wave svg height + photo overlap */
  --hero-pad-top:    7rem;   /* room for the transparent nav */
}

/* Outer page-width wrapper. Hosts the wave at the bottom so the wave
   can span the full page (2200px), wider than the image. Reserves
   bottom space for the wave height. */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--container-outer);
  margin: 0 auto;
  padding-top: var(--hero-pad-top);
  padding-bottom: var(--hero-wave-height);
  background: var(--color-surface-page);
}

/* Hero inner wrapper — caps at the hero bleed width (1560px).
   Below that, the image goes edge-to-edge. The negative bottom
   margin pulls the image down past the wave's bottom by
   --hero-photo-bleed, so the photo extends into the next section. */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-hero);
  margin: 0 auto calc(-1 * (var(--hero-wave-height) + var(--hero-photo-bleed)));
}

/* Image area. overflow:hidden so the photo clips to hero bounds. */
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 97.5rem) {
  .hero__media { border-radius: var(--radius-md); }
}

@media (max-width: 880px) {
  .hero__media { aspect-ratio: 4 / 5; }
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  z-index: 0;
}

/* Scrim — only covers the bottom portion of the image where the
   overlay content sits. Stays clear of the top half. */
.hero__scrim {
  position: absolute;
  inset: auto 0 0 0;
  height: 75%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 34, 68, 0.85) 0%,
    rgba(0, 34, 68, 0.65) 35%,
    rgba(0, 34, 68, 0.25) 70%,
    rgba(0, 34, 68, 0.0)  100%
  );
}

/* Bottom-anchored overlay region. Full-width over the image; its
   inner wrapper handles content max-width + padding so copy stays
   on the same rail as the rest of the page. */
.hero__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  color: var(--color-text-on-dark);
}

.hero__overlay-inner {
  max-width: var(--container-inner);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
}

@media (max-width: 880px) {
  .hero__overlay-inner { padding: var(--space-lg); }
}

/* Copy block constrained to ~half the inner width so the title
   stays on the left and the photo speaks for itself on the right. */
.hero__copy {
  max-width: 36rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero__copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--step-5);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text-on-dark);
}

.hero__lede {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

/* Wave — page-level decoration that runs across the section
   transition. Sits BEHIND the image (z-index 1 < image's z-index 2).
   The image's bottom edge extends past the wave's bottom by
   --hero-photo-bleed; image sits ON TOP of the wave with no
   interaction between them. */
.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--hero-wave-height);
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── Hero entry animation ──
   Sequence:
     0.00s  page loads, wave visible from the start
     0.30s  image fades in (0.7s) — wave is briefly visible alone
     1.10s  scrim/overlay block fades in (0.5s)
     1.45s  copy fades up (0.6s)
   prefers-reduced-motion disables all of it. */

@keyframes hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__photo {
  opacity: 0;
  animation: hero-fade-in 0.7s ease-out 0.30s forwards;
}

.hero__scrim {
  opacity: 0;
  animation: hero-fade-in 0.5s ease-out 1.10s forwards;
}

.hero__copy {
  opacity: 0;
  animation: hero-fade-up 0.6s ease-out 1.45s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__photo,
  .hero__scrim,
  .hero__copy {
    opacity: 1;
    animation: none;
    transform: none;
  }
}


/* About section uses the shared .section pattern from sections.css.
   Triangle composition uses .tri-figure (also in sections.css). */


/* News section uses the shared .section + .section__split--6-5
   patterns, plus .featured-card and .list-feed from sections.css. */


/* ────────────────────────────────────────────────────────────
   PRESIDENT'S NOTE  (clip01v2 cutout pattern)
   Promoted from clips-v2.html on 2026-05-11.
   Dark-blue card, asymmetric split: quote+CTA left, transparent-
   cutout portrait anchored bottom-right + caption over her shirt.
   ──────────────────────────────────────────────────────────── */

.clip01v2-wrap {
  max-width: var(--container-inner);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.clip01v2 {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--brand-blue-mid);
  color: #FFFFFF;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
}
@media (max-width: 860px) {
  .clip01v2 { grid-template-columns: 1fr; }
}

.clip01v2__copy {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 5.5vw, 4.75rem) clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
}

.clip01v2__eyebrow {
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.clip01v2__quote {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: #FFFFFF;
  margin: 0;
  max-width: 38rem;
  quotes: none;
}

.clip01v2__link {
  align-self: flex-start;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transition: border-color var(--transition-base);
}
.clip01v2__link:hover { border-bottom-color: #FFFFFF; }

.clip01v2__media {
  position: relative;
  overflow: hidden;
}

/* Brand-mark watermark — soft, anchored bottom-right, bleeds off both edges. */
.clip01v2__icon {
  position: absolute;
  z-index: 0;
  right: -18%;
  bottom: -22%;
  width: 115%;
  height: auto;
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.clip01v2__photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.clip01v2__caption {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1.5rem, 3vw, 2.5rem);
  z-index: 3;
  text-align: right;
  font-family: var(--font-body);
  color: #FFFFFF;
  line-height: 1.3;
}
.clip01v2__caption-name {
  display: block;
  font-size: var(--body-sm);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.clip01v2__caption-org {
  display: block;
  font-size: var(--body-sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}
/* Italic editorial footer line — "she's a business owner first". */
.clip01v2__caption-company {
  display: block;
  font-family: var(--font-body);
  font-size: var(--body-sm);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.5rem;
}

@media (max-width: 860px) {
  .clip01v2__media {
    order: -1;
    min-height: 22rem;
  }
  .clip01v2__caption {
    top: var(--space-md);
    right: var(--space-md);
  }
}

/* ── Cutout variant ──
   Transparent-background figure, taller card, larger scaled portrait
   anchored bottom-right with a slight top bleed. Caption moves to the
   bottom-right (over her white shirt) in body-text color, with insets
   that mirror the copy column's padding. */
.clip01v2--cutout {
  min-height: 35rem;             /* 560px @ 16px base */
}
.clip01v2--cutout .clip01v2__copy {
  padding-block: clamp(4rem, 7vw, 6rem);
  padding-inline: clamp(2.5rem, 5.5vw, 5rem);
}
.clip01v2--cutout .clip01v2__quote {
  max-width: none;               /* fill column to right padding edge */
}
.clip01v2--cutout .clip01v2__photo {
  top: -4%;                      /* slight top bleed for the cropped-portrait feel */
  left: auto;
  right: 3%;                     /* inset off the right edge */
  bottom: 0;
  width: auto;
  height: 37.5rem;               /* 600px — figure scales up */
  max-width: 100%;
  object-fit: unset;
  object-position: unset;
  filter: drop-shadow(24px 18px 28px rgba(0, 12, 32, 0.55));
}
.clip01v2--cutout .clip01v2__caption {
  top: auto;
  bottom: clamp(1.25rem, 2.5vw, 2rem);
  right: clamp(1.25rem, 2.5vw, 2rem);
  color: var(--color-text);
  background: #FFFFFF;
  border-radius: var(--radius-md, 0.75rem);
  padding: clamp(0.85rem, 1.4vw, 1.15rem) clamp(1rem, 1.8vw, 1.4rem);
  box-shadow: 0 6px 18px rgba(0, 12, 32, 0.18);
}
.clip01v2--cutout .clip01v2__caption-name {
  font-size: var(--body-base);
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.clip01v2--cutout .clip01v2__caption-org {
  font-size: var(--body-base);
  margin-top: 0.35rem;
  color: var(--color-text);
}
.clip01v2--cutout .clip01v2__caption-company {
  font-size: var(--body-base);
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}
@media (max-width: 860px) {
  .clip01v2--cutout .clip01v2__copy {
    padding-inline: clamp(1.5rem, 6vw, 2.5rem);
  }
  .clip01v2--cutout .clip01v2__caption {
    top: auto;
    bottom: var(--space-md);
    right: var(--space-md);
  }
}


/* Decision section uses the shared .section + .section--with-sails
   + .section__split--sticky + .card-grid + .tinted-card patterns
   from sections.css. */


/* Members section uses the shared .section + .section--soft +
   .section__split + .section__media--photo + .benefit-list patterns
   from sections.css. */


/* Events section uses the shared .section + .section--with-band +
   .section__band--sail-soft + .events-accordion patterns from
   sections.css. */


/* Join section uses the shared .section + .section--bleed-footer +
   .cta-card + .cta-card--bleed-footer patterns from sections.css. */


/* ────────────────────────────────────────────────────────────
   9. FOOTER  (Mission gradient, wave at top matches hero)
   ──────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  background: var(--gradient-mission);
  color: var(--color-text-on-dark);
  /* Top padding generous because the Join card overlaps from above
     AND the wave sits at the top — content needs room below both. */
  padding-top: calc(var(--hero-wave-height) + var(--space-2xl) * 1);
  padding-bottom: var(--space-2xl);
}

.site-footer__wave {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--hero-wave-height);
  line-height: 0;
  z-index: 1;
  pointer-events: none;
  transform: scaleY(-1);  /* inverted hero wave — the gradient comes UP from the footer */
}
.site-footer__wave svg {
  display: block; width: 100%; height: 100%;
}

.site-footer__inner {
  max-width: var(--container-inner);
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (max-width: 880px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .site-footer__top { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-md);
  text-align: left;
}
.site-footer__brand img {
  height: 3.5rem;
  width: auto;
  display: block;
  margin-left: 0;
  margin-right: auto;
}
.site-footer__tagline {
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.5;
  font-size: var(--body-base);
  margin: 0;
  max-width: 28ch;
  text-align: left;
}

.site-footer__col h4 {
  color: var(--color-text-on-dark);
  font-family: var(--font-heading);
  font-size: var(--body-sm);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 var(--space-md);
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}
.site-footer__col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--body-base);
  transition: color var(--transition-fast);
}
.site-footer__col a:hover { color: var(--brand-aqua-light); }

.site-footer__contact-line {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  font-size: var(--body-base);
  line-height: 1.5;
}
.site-footer__contact-line + .site-footer__contact-line { margin-top: var(--space-xs); }
.site-footer__contact-line a {
  color: var(--brand-aqua-light);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: var(--body-sm);
  color: rgba(255, 255, 255, 0.60);
}
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.site-footer__bottom a:hover { color: var(--brand-aqua-light); }
.site-footer__legal {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
