/* ============================================
   DMB YACHTING — STATIC SITE
   Brand v2.0: #000 base · #FFF canvas · rust #D2461A (dark) / #AF2E0E (light)
   ============================================ */

:root {
  --charcoal: #000000;
  --charcoal-soft: #0E0E0E;
  --warm-white: #FFFFFF;
  --warm-white-soft: #FFFFFF;
  --gold: #E04F22;
  --slate: #6C737A;
  --white: #FFFFFF;
  --max-width: 1240px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Two-stop rust — vivid on dark (default above) · deeper on the light sections for contrast */
.audiences,
.testimonials {
  --gold: #AF2E0E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100%;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--warm-white);
  overflow-x: clip;
  position: relative;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* Keyboard focus — visible ring for tab navigation (no effect on mouse users) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Skip-to-content link — off-screen until focused */
.skip-link {
  position: absolute;
  left: 12px;
  top: -56px;
  z-index: 200;
  background: var(--gold);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 12px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

.section-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.section-heading {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.nav-links {
  justify-self: center;
}

.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.nav-logo img {
  height: 72px;
  width: auto;
  opacity: 0.95;
  transition: opacity var(--transition);
  image-rendering: -webkit-optimize-contrast;
}

.nav-logo:hover img {
  opacity: 1;
}

.footer-wordmark {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-wordmark:hover .footer-logo-img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 52px;
}

.nav-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
  white-space: nowrap;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-portal svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-portal:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(210, 70, 26, 0.1);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  filter: brightness(0.7) saturate(0.9) contrast(1.05);
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.62) 50%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

/* Seam-softener: bleed the WHY navy up into the hero's lower edge so the
   photo→isobar transition dissolves instead of hard-cutting. Sits above the
   overlay, below hero-content + scroll cue (both z-index:2). */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(5, 21, 39, 0) 0%,
    rgba(5, 21, 39, 0.5) 60%,
    rgba(5, 21, 39, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
}

.hero-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.82;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Spectral', serif;
  font-weight: 300;
  font-size: clamp(58px, 9.6vw, 116px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 680px;
  margin: 0 auto 56px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  min-width: 200px;
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(210, 70, 26, 0.8), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 19px 38px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  border-width: 1.5px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-primary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-full {
  width: 100%;
}

/* ============================================
   WHY DMB
   ============================================ */

.why {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0 60px;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;       /* stacking context for the isobar backdrop */
  z-index: 0;
  overflow: hidden;         /* clip the WebGL canvas to this section */
}

/* Page backdrop — ONE live isobar-drift weather chart (js/why-bg.js) fixed behind
   the whole homepage, so the contours run continuously top→bottom with no per-section
   seam. Opaque (alpha:false); the dark fill is the fallback before WebGL boots / if it
   fails. Homepage-only: the canvas markup lives only in index.html (class="home").
   Paused off-screen + on reduced-motion. */
.page-bg {
  position: fixed;
  inset: 0;
  width: 100%;              /* <canvas> is a replaced element — inset:0 alone won't stretch it */
  height: 100%;
  z-index: -1;             /* backmost layer; transparent sections reveal it */
  display: block;
  pointer-events: none;     /* drift/clicks are forwarded from the window */
  background: #03040a;
}

/* Homepage sits over the fixed backdrop — dark base so nothing flashes white, and the
   dark sections go transparent to let the one continuous field show through. The Who +
   Testimonials image ::befores and the opaque .about (HOW) stay on top → images kept in
   place, HOW excluded. .footer is shared with the light sub-pages, so scope under .home. */
body.home { background: #03040a; }
.home .why,
.home .audiences,
.home .contact,
.home .footer { background: transparent; }

/* light wash — keeps headline + pillar copy legible without hiding the chart */
.why-veil {
  position: absolute;
  inset: 0;
  z-index: 0;               /* DOM order puts the veil above the canvas */
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 42%,
    rgba(3, 4, 10, 0.30) 0%,
    rgba(3, 4, 10, 0.14) 55%,
    rgba(3, 4, 10, 0.00) 100%);
}

/* lift the real content above the backdrop */
.why > .container { position: relative; z-index: 1; }

.why .section-eyebrow {
  text-align: center;
  margin-bottom: 18px;
}

.why .section-heading {
  max-width: 980px;
  margin: 0 auto 48px;
  color: var(--white);
  text-align: center;
  font-size: clamp(34px, 3.8vw, 54px) !important;
}

/* WHY heading — primary line in white; sub-line ("and everything follows.") stays rust */
.why .section-heading .line-past {
  color: var(--white);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.pillar {
  padding: 36px 32px 36px 0;
  position: relative;
  transition: none;
}

.pillar:hover {
  background: transparent;
}

.pillar-title {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 14px;
  padding-left: 32px;
}

.pillar-lead {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  padding-left: 32px;
}

.pillar-body {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 32px;
}

/* Below the max content width the 4-up columns get too narrow for the
   longest title ("Watertight Throughout") — drop to 2-up so titles stay
   on one line and readable rather than wrapping in a cramped column. */
@media (max-width: 1239px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   AUDIENCES (For Crew · For Owners)
   ============================================ */

.audiences {
  position: relative;
  background: #06182c;
  padding: 60px 0 108px;
  min-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* WHO background — single full-bleed image filling the whole section.
   (Earlier this was a 50% client/crew split for the 4-up image; the 6-scene
   mosaic looked sloppy split — centre seam + doubled grid — so reverted to one
   clean full-bleed cover. Dark frame cropped off the image file itself.)
   revert original: full backup in Website/_revert/styles-2026-06-04-pre-who-bg.css */
.audiences::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 21, 39, 0.52) 0%,
      rgba(5, 21, 39, 0.44) 25%,
      rgba(5, 21, 39, 0.44) 75%,
      rgba(5, 21, 39, 0.60) 100%),
    url('img/who-bg-mosaic-v2.webp') center / cover no-repeat;
  filter: saturate(1.05) brightness(1.05);
  pointer-events: none;
}

.audiences > * {
  position: relative;
  z-index: 1;
}

.audiences-heading {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 36px !important;
  font-size: clamp(30px, 3.4vw, 46px) !important;
  color: var(--white) !important;
}

.audiences-heading .line-past {
  color: var(--white);
}

.audiences-heading .line-now {
  color: var(--gold);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.audience-card {
  padding: 46px 44px 40px;
  background: #FFFFFF;                              /* fully solid — crisp box over the faded photo */
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);     /* lift the box off the faded backdrop */
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

/* faint corner wash so the card has depth without clutter */
.audience-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at top right, rgba(175, 46, 14, 0.06), transparent 70%);
  pointer-events: none;
}

.audience-card .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 13px 28px;
  font-size: 13px;
}

.audience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.22);
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 2;
}

.audience-card:hover::before {
  transform: scaleX(1);
}

.audience-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.audience-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.audience-headline {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 26px);
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--charcoal);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

/* DmB wordmark — lowercase m in brand rust (trial) */
.brand-m {
  color: var(--gold);
  font-style: italic;
}

.audience-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: #2A2A2A;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.audience-list {
  list-style: none;
  margin-bottom: 32px;
  padding-top: 6px;
  position: relative;
  z-index: 1;
}

.audience-list li {
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  padding: 12px 0 12px 38px;
  color: #3A3A3A;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.audience-list li:last-child {
  border-bottom: none;
}

.audience-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(175, 46, 14, 0.10);
}

.audience-list li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

.audience-list strong {
  display: block;
  color: var(--charcoal);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  background: var(--charcoal);
  color: var(--white);
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: stretch;
  padding: 80px 0 64px;
  margin-bottom: 0;
}

.about-image {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-image .about-linkedin {
  margin-top: 22px;
  justify-content: center;
  align-self: center;
}

.about-portrait {
  position: relative;
  max-width: 460px;
}

.about-portrait img {
  width: 100%;
  filter: grayscale(0.3) contrast(1.05);
  border: 1px solid rgba(210, 70, 26, 0.2);
}

.about-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(18px, 18px);
  z-index: -1;
}

.about-copy {
  display: flex;
  flex-direction: column;
  transform: translateY(-5%);
}

.about-copy .section-heading {
  color: var(--white);
}

.about-copy .line-past {
  display: block;
  font-family: 'Spectral', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.62em;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--gold);
  padding-top: 0;
  margin-top: 18px;
}

.about-body {
  font-size: 20px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  max-width: 640px;
}

.about-body + .about-body {
  margin-bottom: 36px;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
  transition: color var(--transition);
}

.about-linkedin svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.about-linkedin:hover {
  color: var(--white);
}

/* About name block — "Founder & Crew" sits large + tight under the name (like the
   original sub-line), with Connect on LinkedIn beside it on the same baseline */
.about-copy .section-heading {
  margin-bottom: 0;
}

.about-role {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 16px 0 34px;
}

.about-role-title {
  font-family: 'Spectral', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.1;
  color: var(--gold);
}

.about-role .about-linkedin {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 26px);
  gap: 12px;
  line-height: 1.1;
  align-items: baseline;   /* text sets the baseline so it drops onto "Founder & Crew" */
}

.about-role .about-linkedin svg {
  width: 25px;
  height: 25px;
  align-self: center;      /* icon stays centred against the text */
}

/* ---- Foldable bio ---- */
.about-grid {
  transition: gap 0.4s ease;
}

.about-grid:not(.is-open) {
  grid-template-columns: 1fr;
  gap: 0;
}

.about-grid:not(.is-open) .about-image {
  display: none;
}

.about-toggle {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 9px;
  margin-top: 0;
  padding: 11px 22px;
  background: transparent;
  border: 1px solid rgba(210, 70, 26, 0.55);
  color: var(--gold);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.about-toggle:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(210, 70, 26, 0.12);
}

.about-toggle__chev {
  width: 16px;
  height: 16px;
  transition: transform 0.35s ease;
}

.about-grid.is-open .about-toggle__chev {
  transform: rotate(180deg);
}

.about-bio {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.4s ease, margin-top 0.45s ease;
}

.about-grid.is-open .about-bio {
  max-height: 1100px;
  opacity: 1;
  margin-top: 28px;
}

/* ---- Collapsed (default) view: single centred column, name + role on two
   tidy lines with the Read bio button centred beneath ---- */
.about-grid:not(.is-open) .about-copy {
  align-items: center;
  text-align: center;
  transform: none;
}

.about-grid:not(.is-open) .about-role {
  justify-content: center;
  margin: 14px 0 28px;
}

.about-grid:not(.is-open) .about-toggle {
  align-self: center;
}

/* Bio contents read best left-aligned once expanded */
.about-grid:not(.is-open) .about-bio__inner {
  text-align: left;
}


.principles {
  position: relative;            /* stacking context for the backdrop globe */
  z-index: 0;
  padding-top: 40px;
  padding-bottom: clamp(72px, 8vw, 120px);
}

/* "How we work" backdrop — the original traffic globe, faint & monochrome behind the content.
   Lazy-loaded + paused off-screen (see index.html). */
.principles-globe {
  position: absolute;
  top: 40%;
  left: 50%;
  width: clamp(560px, 66vw, 1080px);
  height: clamp(560px, 66vw, 1080px);
  transform: translate(-50%, -50%);
  z-index: 0;                    /* behind content, which is lifted to z-index:1 below */
  opacity: 0.6;
  pointer-events: none;
  /* soften the rim so it melts into the black behind the side text columns — keeps body copy legible */
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 44%, rgba(0, 0, 0, 0.4) 70%, transparent 88%);
          mask: radial-gradient(circle at 50% 50%, #000 44%, rgba(0, 0, 0, 0.4) 70%, transparent 88%);
}

.principles-globe__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.principles-globe__whirl {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 255, 255, 0.26) 0deg,
    rgba(255, 255, 255, 0.07) 42deg,
    rgba(255, 255, 255, 0) 80deg,
    rgba(255, 255, 255, 0) 360deg
  );
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 38%, #000 52%, #000 78%, transparent 94%);
          mask: radial-gradient(circle at 50% 50%, transparent 38%, #000 52%, #000 78%, transparent 94%);
  animation: how-globe-whirl 4.5s linear infinite;
}

@keyframes how-globe-whirl { to { transform: rotate(360deg); } }

/* lift the real content above the globe backdrop */
.principles > :not(.principles-globe) {
  position: relative;
  z-index: 1;
}

@supports not ((-webkit-mask: radial-gradient(#000, #000)) or (mask: radial-gradient(#000, #000))) {
  .principles-globe__whirl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .principles-globe__whirl { animation: none; }
}

.principles .section-eyebrow {
  text-align: center;
}

.line-past {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
}

.line-now {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: -0.005em;
  color: var(--gold);
  vertical-align: baseline;
  padding-top: 12px;
}

.principles-heading {
  font-size: clamp(38px, 4.2vw, 52px) !important;
  color: var(--white) !important;
  margin: 0 auto 24px !important;
  text-align: center;
}

.principles-timeline {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.timeline-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  opacity: 0.72;
}

.timeline-rule {
  flex: 1;
  height: 1px;
}

.principles-intro {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.principle {
  border-top: 1px solid rgba(210, 70, 26, 0.35);
  padding-top: 22px;
  text-align: center;
}

.principle-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.85;
}

.principle h4 {
  font-family: 'Spectral', serif;
  font-weight: 500;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 14px;
}

.principle p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  position: relative;
  background: #03040a;     /* match body/page-bg so seam colour is identical */
  padding: clamp(32px, 3.5vw, 52px) 0 clamp(4px, 0.6vw, 8px);
  text-align: center;
  overflow: hidden;
}

/* yacht photo fills the full section (cover), dark gradient overlay for text legibility.
   bottom dissolves to page-bg colour (#03040a) so it melds with the contact canvas. */
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 21, 39, 0.30) 0%,
      rgba(5, 21, 39, 0.36) 35%,
      rgba(5, 21, 39, 0.44) 74%,
      rgba(3, 4, 10, 0.66) 91%,
      rgba(3, 4, 10, 1.00) 100%),
    url('img/about-bg.webp') 25% center / cover no-repeat;
  filter: saturate(0.85) brightness(0.80);
  pointer-events: none;
}

/* Bottom scrim — fades out the screen-blend isobar before contact's page-bg takes over.
   Stops at 82% opacity so it doesn't go flat black — leaves enough isobar glow to
   carry through into the contact section visually. */
.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 26px;
  z-index: 3;
  background: linear-gradient(to bottom, transparent 0%, rgba(3,4,10,0.82) 100%);
  pointer-events: none;
}

/* content above image */
.testimonials > * {
  position: relative;
  z-index: 1;
}

/* isobar screen-blend — above content (z-index:2 wins over the > * rule above);
   dark field → transparent; bright contour lines glow over image + dark gaps.
   White cards unaffected: screen(white, any) = white. */
.testimonials-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  mix-blend-mode: screen;
  pointer-events: none;
}

.testimonials .section-eyebrow {
  margin-bottom: 16px;
}

.testimonials .section-heading {
  margin-bottom: 20px;
  color: var(--white);
}

.testimonials-intro {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.marquee {
  margin-top: 32px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.marquee + .marquee {
  margin-top: 22px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll var(--marquee-dur, 45s) linear infinite;
}

.marquee--reverse .marquee-track {
  animation-direction: reverse;
}

/* hover-pause intentionally disabled (2026-06-03) — marquees keep rotating on hover */

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--marquee-shift, -50%)); }
}

.t-card {
  flex: 0 0 320px;
  width: 320px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 28px 28px;
  text-align: left;
  display: flex;
  flex-direction: column;
  /* trailing gap on every card (incl. the last) so the -50% loop has no seam */
  margin-right: 22px;
}

.t-card blockquote {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.t-card figcaption {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.t-card figcaption strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 3px;
  color: var(--charcoal);
}

.t-card figcaption span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(8px, 1.2vw, 14px) 0 clamp(44px, 5vw, 64px);
  position: relative;       /* stacking context for the isobar backdrop */
  z-index: 0;
  overflow: hidden;         /* clip the WebGL canvas to this section */
}

/* Top-fade — eases the page-bg isobar in from the testimonials transition zone */
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(3,4,10,0.45) 0%, transparent 100%);
  pointer-events: none;
}

/* lift contact content above the isobar backdrop (mirrors .why) */
.contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: center;
}

.contact-info .section-heading {
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px) !important;
  margin-bottom: 24px !important;
}

.contact-lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 420px;
}

.contact-lead p + p {
  margin-top: 14px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.contact-list a {
  font-family: 'Spectral', serif;
  font-size: 23px;
  font-weight: 400;
  color: var(--white);
  transition: color var(--transition);
}

.contact-list a:hover {
  color: var(--gold);
}

/* email row: envelope icon sits inline, next to the address */
.contact-list a.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-email-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.contact-social-label {
  margin-top: 28px;
}

.contact-social {
  display: flex;
  gap: 14px;
  margin-top: 0;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition);
}

.contact-social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(210, 70, 26, 0.1);
  transform: translateY(-1px);
}

.contact-form {
  background: transparent;
  padding: 0;
  border: none;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hidden-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.audience-toggle {
  border: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.audience-toggle legend {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
  margin-bottom: 12px;
}

.toggle-option {
  flex: 1;
  min-width: 140px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 18px 16px !important;
  margin: 0 !important;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
}

.toggle-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-option:hover {
  border-color: rgba(210, 70, 26, 0.5) !important;
  color: var(--white);
}

.toggle-option:has(input:checked) {
  border-color: var(--gold) !important;
  background: rgba(210, 70, 26, 0.08);
  color: var(--gold);
}

.toggle-option span {
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 8px;
}

.contact-form label span em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.3);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  transition: border-color var(--transition);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--gold);
}

.contact-form .btn {
  margin-top: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.form-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form — clearer labels + sharper field lines (Name · Email · Message) */
.contact .contact-form label span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.contact .contact-form input,
.contact .contact-form textarea {
  border-bottom-width: 1.5px;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-bottom-color: var(--gold);
}

/* ============================================
   REGISTER PAGE
   ============================================ */

/* Brighter accent for the dark Portal page (scoped — homepage --gold unchanged) */
.register-hero,
.register-body {
  --gold: #FF5E2E;
}

.register-hero .section-eyebrow {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  letter-spacing: 0.24em;
  opacity: 0.82;
  margin-bottom: 22px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* Larger, higher-contrast form text (scoped to Portal page only) */
.register-body .contact-form label span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.register-body .contact-form label span em {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.register-body .contact-form input,
.register-body .contact-form textarea {
  font-size: 17px;
}

.register-body .form-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.register-hero {
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.98) 14%,
      rgba(0, 0, 0, 0.72) 34%,
      rgba(0, 0, 0, 0.6) 52%,
      rgba(0, 0, 0, 0.9) 82%,
      rgba(0, 0, 0, 1) 100%),
    url('img/marina-bg.webp') center / cover no-repeat;
  color: var(--white);
  padding: 130px 0 40px;
  text-align: center;
}

.register-title {
  color: var(--white);
  text-align: center;
  margin: 0 auto 24px;
  font-size: clamp(48px, 5.4vw, 76px) !important;
}

.register-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto;
}

.register-body {
  background: var(--charcoal);
  color: var(--white);
  padding: 32px 0 72px;
}

.register-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  align-items: start;
}

.register-form-wrap {
  background: var(--charcoal-soft);
  padding: 44px 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.register-section-title {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 36px;
  color: var(--white);
  margin-bottom: 6px;
}

.register-section-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.sidebar-tips {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.sidebar-tips li {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 0 5px 16px;
  position: relative;
}

.sidebar-tips li::before {
  content: '·';
  position: absolute;
  left: 2px;
  top: 3px;
  color: var(--gold);
  font-weight: 700;
  font-size: 16px;
}

.register-checklist {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 24px;
}

.register-checklist-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.register-checklist ul {
  list-style: none;
  padding: 0;
}

.register-checklist li {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 0 6px 22px;
  position: relative;
}

.register-checklist li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.register-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.file-upload input[type="file"] {
  width: 100%;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.file-upload input[type="file"]::file-selector-button {
  background: rgba(210, 70, 26, 0.15);
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 8px 14px;
  margin-right: 14px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.file-upload input[type="file"]::file-selector-button:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.form-agreement {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 24px 0 !important;
  cursor: pointer;
}

.form-agreement input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.form-agreement span {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important;
}

.form-agreement a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.register-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 110px;
}

.sidebar-card {
  background: var(--charcoal-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 28px;
}

.sidebar-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.sidebar-title {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.sidebar-body {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 22px;
}

.btn-sidebar {
  font-size: 13px !important;
  padding: 12px 24px !important;
}

.sidebar-form label {
  margin-bottom: 14px;
}

/* ============================================
   PORTAL — FOLDABLE CARDS
   ============================================ */

.register-grid.register-grid--fold {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.fold-card {
  background: var(--charcoal-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  transition: border-color var(--transition);
}

.fold-card[open] {
  border-color: rgba(255, 255, 255, 0.14);
}

.fold-card > summary.fold-head {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  min-height: 132px;
  padding: 38px 72px;
  user-select: none;
  transition: background var(--transition);
}

.fold-card > summary.fold-head::-webkit-details-marker {
  display: none;
}

.fold-card > summary.fold-head:hover {
  background: rgba(255, 255, 255, 0.03);
}

.fold-head-text {
  min-width: 0;
  text-align: center;
}

.fold-title {
  font-family: 'Spectral', serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 6px;
}

.fold-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.fold-chevron {
  position: absolute;
  right: 32px;
  top: 50%;
  margin-top: -21px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--gold);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.fold-chevron svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fold-head:hover .fold-chevron {
  border-color: var(--gold);
}

.fold-card[open] .fold-chevron {
  transform: rotate(180deg);
  background: rgba(255, 94, 46, 0.12);
  border-color: var(--gold);
}

.fold-body {
  padding: 4px 32px 36px;
  animation: foldIn 0.26s ease;
}

@keyframes foldIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  .fold-card > summary.fold-head {
    padding: 30px 56px;
    min-height: 108px;
  }
  .fold-chevron {
    right: 16px;
  }
  .fold-title {
    font-size: 24px;
  }
  .fold-body {
    padding: 4px 20px 30px;
  }
}

@media (max-width: 1024px) {
  .register-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .register-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .register-hero {
    padding: 112px 0 32px;
  }
  .register-form-wrap {
    padding: 32px 22px;
  }
  .register-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .register-grid,
  .register-form-wrap,
  .register-sidebar,
  .sidebar-card {
    min-width: 0;
  }
  .register-body input,
  .register-body textarea,
  .register-body select {
    max-width: 100%;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #000000;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 0 16px;
}

.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  margin-bottom: 14px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.5;
  max-width: none;
  margin: 0;
}


.footer-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

.footer-links a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(210, 70, 26, 0.1);
  transform: translateY(-1px);
}

.footer-bottom {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   SCROLL FADE-IN
   ============================================ */

section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease, transform 800ms ease;
}

section.hero {
  opacity: 1;
  transform: none;
}

section.in {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1024px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    gap: 48px;
  }

  .t-card {
    flex-basis: 310px;
    width: 310px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .nav-inner {
    padding: 14px 20px;
  }

  .nav-logo img {
    height: 56px;
  }

  .footer-logo-img {
    height: 56px;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 0;
    margin: 0;
    transform: translateY(-200%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    font-size: 16px;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 64px;
  }

  .hero-content {
    padding: 0 24px;
  }

  .hero-headline {
    font-size: clamp(36px, 10vw, 56px);
  }

  .hero-sub br {
    display: none;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 36px 0;
  }

  .pillar-title,
  .pillar-lead,
  .pillar-body {
    padding-left: 0;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .audience-card {
    padding: 40px 12px;
  }

  .audience-headline {
    font-size: clamp(16px, 5vw, 23px);
    letter-spacing: -0.025em;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 40px 0 0;
    margin-bottom: 40px;
  }

  .about-portrait {
    max-width: 300px;
  }

  .about-linkedin {
    margin-top: 24px;
  }

  .principles {
    padding-top: 48px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact {
    min-height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form {
    padding: 0;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    flex-direction: column;
    gap: 28px;
    text-align: center;
    margin-bottom: 32px;
  }

  .footer-brand {
    flex-direction: column;
    gap: 12px;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
  }

  .footer-links {
    justify-content: center;
  }

  /* B3/r13: footer social icons measured 30x30 at phone width on thank-you.html
     (MOBILE-AUDIT.md) — bump the tap target to the 44px floor. .footer-social
     markup only exists on thank-you.html and 404.html; register.html and
     website-terms.html link this stylesheet but render a different footer. */
  .footer-social a {
    width: 44px;
    height: 44px;
  }

}

/* ============================================
   MOTION LAYER v1 — choreographed reveals + micro-interactions
   Added 2026-06-03 · pure CSS + the existing IntersectionObserver
   GPU-only (opacity/transform) · zero network cost · no libraries
   Reveal pattern: hidden base → JS adds .in-view → `animation … backwards`.
   `backwards` fill means :hover transitions stay free AFTER the reveal,
   so cards can still lift once they've arrived. Everything below is
   neutralised under prefers-reduced-motion at the foot of this block.
   ============================================ */

@keyframes dmb-rise     { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dmb-rise-sm  { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes dmb-drawY    { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dmb-drawX    { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dmb-hero-rise{ from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dmb-hero-zoom{ from { transform: scale(1.12); } to { transform: scale(1.05); } }

/* Choreographed sections: reveal the section instantly and let the CHILDREN
   carry the whole reveal (opacity + slide). Avoids a muddy double-fade where
   the section and its cards animate opacity at the same moment. */
.why,
.audiences,
.about { opacity: 1; transform: none; }

/* Hidden base states (scoped to homepage sections only) */
.why .section-heading,
.why .pillar,
.audiences .audiences-heading,
.audiences .audience-card,
.about-image,
.about-copy,
.principles .section-eyebrow,
.principles-heading,
.principles-intro,
.principle { opacity: 0; }

/* ---------- HERO — cinematic entrance (pure CSS, fires on load) ---------- */
.hero-image    { animation: dmb-hero-zoom 1800ms cubic-bezier(.22,.61,.36,1) backwards; }
.hero-eyebrow  { animation: dmb-hero-rise 900ms  cubic-bezier(.22,.61,.36,1) .12s backwards; }
.hero-headline { animation: dmb-hero-rise 1000ms cubic-bezier(.22,.61,.36,1) .26s backwards; }
.hero-sub      { animation: dmb-hero-rise 1000ms cubic-bezier(.22,.61,.36,1) .44s backwards; }
.hero-cta-row  { animation: dmb-hero-rise 1000ms cubic-bezier(.22,.61,.36,1) .62s backwards; }
.hero-scroll   { animation: dmb-hero-rise 1100ms cubic-bezier(.22,.61,.36,1) .72s backwards; }

/* ---------- WHY — pillars ---------- */
.why .section-heading.in-view { animation: dmb-rise 820ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }

.why .pillar.in-view { animation: dmb-rise 760ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }
.why .pillar.in-view:nth-child(1) { animation-delay: .05s; }
.why .pillar.in-view:nth-child(2) { animation-delay: .12s; }
.why .pillar.in-view:nth-child(3) { animation-delay: .20s; }
.why .pillar.in-view:nth-child(4) { animation-delay: .30s; }

/* Rust accent rail — draws down the gutter on reveal, intensifies on hover */
.pillar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  width: 2px;
  height: calc(100% - 80px);
  background: var(--gold);
  opacity: .5;
  transform: scaleY(0);
  transform-origin: top;
  transition: width var(--transition), opacity var(--transition), box-shadow var(--transition);
}
.pillar.in-view::before { animation: dmb-drawY 700ms cubic-bezier(.22,.61,.36,1) .15s backwards; transform: scaleY(1); }
.pillar.in-view:nth-child(2)::before { animation-delay: .22s; }
.pillar.in-view:nth-child(3)::before { animation-delay: .30s; }
.pillar.in-view:nth-child(4)::before { animation-delay: .40s; }
.pillar:hover::before { opacity: 1; box-shadow: 0 0 7px rgba(210, 70, 26, .5); }

.pillar-title { transition: color var(--transition); }
.pillar:hover .pillar-title { color: var(--gold); }

/* ---------- AUDIENCES — cards ---------- */
.audiences .audiences-heading.in-view { animation: dmb-rise 820ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }
.audience-card.in-view { animation: dmb-rise 780ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }
.audience-card.in-view:nth-child(1) { animation-delay: .05s; }
.audience-card.in-view:nth-child(2) { animation-delay: .17s; }

/* ---------- ABOUT + HOW (principles) ---------- */
.about-image.in-view { animation: dmb-rise 860ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }
.about-copy.in-view  { animation: dmb-rise 860ms cubic-bezier(.22,.61,.36,1) .12s backwards; opacity: 1; transform: none; }

.principles .section-eyebrow.in-view { animation: dmb-rise-sm 720ms ease backwards; opacity: 1; transform: none; }
.principles-heading.in-view { animation: dmb-rise 820ms cubic-bezier(.22,.61,.36,1) .06s backwards; opacity: 1; transform: none; }
.principles-intro.in-view   { animation: dmb-rise 820ms cubic-bezier(.22,.61,.36,1) .14s backwards; opacity: 1; transform: none; }

.principle { position: relative; transition: transform var(--transition); }
.principle.in-view { animation: dmb-rise 780ms cubic-bezier(.22,.61,.36,1) backwards; opacity: 1; transform: none; }
.principle.in-view:nth-child(1) { animation-delay: .06s; }
.principle.in-view:nth-child(2) { animation-delay: .14s; }
.principle.in-view:nth-child(3) { animation-delay: .22s; }
.principle.in-view:nth-child(4) { animation-delay: .33s; }
.principle:hover { transform: translateY(-6px); }

/* Bright rust rule plots itself across each step (faint border stays as the base) */
.principle::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: box-shadow var(--transition);
}
.principle.in-view::before { animation: dmb-drawX 640ms cubic-bezier(.22,.61,.36,1) .12s backwards; transform: scaleX(1); }
.principle.in-view:nth-child(2)::before { animation-delay: .22s; }
.principle.in-view:nth-child(3)::before { animation-delay: .32s; }
.principle.in-view:nth-child(4)::before { animation-delay: .42s; }
.principle:hover::before { box-shadow: 0 0 7px rgba(210, 70, 26, .55); }

.principle-num { transition: opacity var(--transition), transform var(--transition); }
.principle:hover .principle-num { opacity: 1; transform: translateX(3px); }

/* The passage line plots itself across on reveal (faint rust); the marker rides it */
.principles-timeline .timeline-rule {
  position: relative;
  overflow: visible;
  opacity: 1;                          /* faintness moved to the line's own colour so the chevron can sit bright on top */
  background: rgba(210, 70, 26, .42);
  transform: scaleX(0);
  transform-origin: left;
}
.principles-timeline.in-view .timeline-rule { animation: dmb-drawX 800ms cubic-bezier(.22,.61,.36,1) .1s backwards; transform: scaleX(1); }

/* Navigation plot sweeping brief → 1 year on board: fix (origin) · COG (east) ·
   rocking tidal vector — all sweep across as one unit and fade in/out for a seamless loop. */
.track-marker {
  position: absolute;
  top: 50%;
  left: 0;
  width: 64px;
  height: 82px;
  transform: translate(-50%, -50%);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  pointer-events: none;
  overflow: visible;
}
.track-marker .track-tide { stroke-width: 1.4; }  /* tidal vector — slightly finer than the fix & COG */
.track-fix-dot { fill: var(--gold); stroke: none; }  /* filled centre of the fix symbol */
.principles-timeline.in-view .track-marker {
  animation: dmb-timeline-sweep 16s linear .9s infinite;  /* matches the 16s rock — one calm tempo across both movements */
}
@keyframes dmb-timeline-sweep {
  0%   { left: 0;    opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- Section "continue" cue — discreet wayfinder to the next section ---------- */
.why, .about { position: relative; }   /* anchor the absolute cue (audiences & testimonials already relative) */

.section-next {
  position: absolute;
  bottom: clamp(18px, 3vh, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.section-next-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding-left: 0.26em;          /* optically centre against the trailing letter-spacing */
  line-height: 1;
}
.section-next-chevron {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: dmb-next-bob 2.4s ease-in-out infinite;
}
@keyframes dmb-next-bob {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(4px); opacity: 1; }
}
.section-next:hover { color: var(--gold); }

/* Light sections (Who, Radio Check) get a dark, discreet cue instead of white */
.testimonials .section-next { color: rgba(0, 0, 0, 0.42); }

/* WHO (audiences) — lift the scroll cue so it's just visible at the bottom of the
   viewport when landing on the section via the nav, while staying clear of the cards */
.audiences .section-next { bottom: clamp(54px, 6.5vh, 76px); }

/* Hero scroll cue is now a link into Why — give it the same hover */
.hero-scroll { cursor: pointer; transition: color var(--transition); }
.hero-scroll:hover { color: var(--gold); }

/* Mobile: single-column pillars have no gutter — drop the accent rail.
   Hide the section cues on touch (natural swipe-scroll; avoids overlap). */
@media (max-width: 768px) {
  .pillar::before { display: none; }
  .section-next { display: none; }
}

/* Reduced-motion: reveal everything instantly, kill every added motion —
   including the base section fade/slide that also applies to testimonials & contact */
@media (prefers-reduced-motion: reduce) {
  section { transition: none !important; transform: none !important; }
  .hero-image, .hero-eyebrow, .hero-headline, .hero-sub, .hero-cta-row, .hero-scroll,
  .why .section-heading, .why .pillar, .audiences-heading, .audience-card,
  .about-image, .about-copy, .principles .section-eyebrow, .principles-heading,
  .principles-intro, .principle {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-image { transform: scale(1.05) !important; } /* keep the resting overscan, just no zoom */
  .pillar::before { animation: none !important; transform: scaleY(1) !important; }
  .principle::before { animation: none !important; transform: scaleX(1) !important; }
  .principles-timeline .timeline-rule { animation: none !important; transform: scaleX(1) !important; }
  .track-marker { animation: none !important; opacity: 0 !important; }
  .section-next-chevron { animation: none !important; }
  .principle:hover { transform: none !important; }
  .nav-burger span { transition: none !important; }
}

/* ============================================
   AUDIENCE CARDS — row-aligned across both cards (subgrid)
   Added 2026-06-03 · eyebrow / headline / body / list / button share row
   heights, so the bullet lists and CTAs line up no matter the copy length.
   Desktop only — single-column mobile stacks naturally.
   ============================================ */
@media (min-width: 769px) {
  .audience-grid {
    grid-template-rows: auto auto auto auto auto; /* eyebrow · headline · body · list · button */
    row-gap: 0;
  }
  .audience-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
  }
  .audience-card:nth-child(1) { grid-column: 1; }
  .audience-card:nth-child(2) { grid-column: 2; }
  .audience-card .btn {
    margin-top: 0;        /* row sharing replaces the flex auto-push */
    align-self: start;
    justify-self: start;  /* keep the CTA compact + left-aligned under grid */
  }
}
