/* =============================================
   NCDL - shared stylesheet
   ============================================= */

/* Brand typeface - Zalando Sans (variable) */
@font-face {
  font-family: 'Zalando Sans';
  src: url('../fonts/ZalandoSans.ttf') format('truetype-variations'),
       url('../fonts/ZalandoSans.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zalando Sans';
  src: url('../fonts/ZalandoSans-Italic.ttf') format('truetype-variations'),
       url('../fonts/ZalandoSans-Italic.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

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

:root {
  --black:   #000000;
  --blue:    #2B78FF;
  --cyan:    #02BEF5;
  --magenta: #F72585;
  --purple:  #7209B7;
  --white:   #FFFFFF;
  --gray1:   #333333;
  --gray2:   #666666;
  --gray3:   #999999;
  --gray-bg: #F5F5F5;
  --font: 'Zalando Sans', 'Outfit', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  background: var(--magenta);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }

/* =============================================
   NAV
   ============================================= */

#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

nav {
  background: var(--black);
  height: 64px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-wordmark {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
  text-transform: lowercase;
}
.nav-wordmark .thin { font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0 1.1rem;
  height: 64px;
  line-height: 64px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
  position: relative;
}

/* Underline sweep on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { display: none; } /* no underline on dropdown toggles */
.has-dropdown > a::before {
  content: ' ▾';
  font-size: 9px;
  opacity: 0.7;
  position: static;
}

.dropdown {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  background: var(--black);
  border-top: 2px solid var(--cyan);
  min-width: 220px;
  z-index: 300;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  height: auto !important;
  line-height: 1.4 !important;
  padding: 0.8rem 1.25rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dropdown a::after { display: none !important; }
.dropdown a:last-child { border-bottom: none; }

.nav-cta {
  background: var(--magenta) !important;
  color: var(--white) !important;
  height: 38px !important;
  line-height: 38px !important;
  padding: 0 1.4rem !important;
  border-radius: 2px;
  font-weight: 600 !important;
  margin-left: 0.75rem;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.85 !important; }
.nav-cta::after { display: none !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   COLOUR STRIP
   ============================================= */

.colour-strip {
  height: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  overflow: hidden;
}

.colour-strip > div {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease-out);
}
.colour-strip > div:nth-child(1) { background: var(--black);   transition-delay: 0s; }
.colour-strip > div:nth-child(2) { background: var(--blue);    transition-delay: 0.07s; }
.colour-strip > div:nth-child(3) { background: var(--cyan);    transition-delay: 0.14s; }
.colour-strip > div:nth-child(4) { background: var(--magenta); transition-delay: 0.21s; }
.colour-strip > div:nth-child(5) { background: var(--purple);  transition-delay: 0.28s; }
.colour-strip.in-view > div { transform: scaleX(1); }

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

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}

.section-eyebrow--magenta { color: var(--magenta); }
.section-eyebrow--magenta::before { background: var(--magenta); }

/* Default link colour: brand dark blue (nav, footer, buttons override this) */
a { color: var(--blue); }

/* HubSpot form required-field asterisks in brand magenta.
   (Applies only if the embedded form renders into the page DOM; HubSpot's
   newer iframe/shadow-DOM forms can't be reached by site CSS.) */
.hs-form-required,
.hs-form-field .hs-form-required,
form.hs-form .hs-form-required,
.hsfc-FieldLabel__Required,
label .hs-form-required { color: var(--magenta) !important; }

.inline-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s;
}
.inline-link:hover { border-color: var(--blue); }

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

/* Shared wipe-effect base */
.btn-hero,
.btn-solid,
.btn-magenta,
.btn-blue,
.btn-join,
.btn-outline-white {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Pseudo-element wipe layer */
.btn-hero::before,
.btn-solid::before,
.btn-magenta::before,
.btn-blue::before,
.btn-join::before,
.btn-outline-white::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.32s var(--ease-out);
  z-index: -1;
}

.btn-hero::before    { background: #111; }
.btn-solid::before   { background: var(--blue); }
.btn-magenta::before { background: #111; }
.btn-blue::before    { background: var(--cyan); }
.btn-join::before    { background: #111; }
.btn-outline-white::before {
  background: var(--white);
  transform: translateY(101%);
  transition: transform 0.32s var(--ease-out);
}

.btn-hero:hover::before,
.btn-solid:hover::before,
.btn-magenta:hover::before,
.btn-blue:hover::before,
.btn-join:hover::before    { transform: translateX(0); }
.btn-outline-white:hover::before { transform: translateY(0); }

/* Individual button styles */
.btn-hero {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  padding: 1.1rem 3rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition: transform 0.2s ease, opacity 0.15s;
  min-width: 220px;
  text-align: center;
}
.btn-hero:hover { transform: translateY(-2px); opacity: 1; }

.btn-solid {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition: opacity 0.15s;
}
.btn-solid:hover { opacity: 1; }

.btn-magenta {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition: opacity 0.15s;
}
.btn-magenta:hover { opacity: 1; }

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition: opacity 0.15s;
}
.btn-blue:hover { opacity: 1; }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  transition: border-color 0.2s, color 0.25s;
}
.btn-outline-white:hover { border-color: var(--white); color: var(--black); }

/* Capitalise the first letter of the first word on all buttons
   (keeps the rest lowercase; works alongside text-transform: lowercase) */
.btn-hero::first-letter,
.btn-solid::first-letter,
.btn-magenta::first-letter,
.btn-blue::first-letter,
.btn-join::first-letter,
.btn-outline-white::first-letter,
.nav-cta::first-letter,
.btn-submit::first-letter,
.cf-btn::first-letter,
.social-btn::first-letter,
.whatsapp-link::first-letter,
.feed-follow::first-letter,
.feed-link::first-letter,
.btn-a::first-letter,
.btn-b::first-letter,
.btn-c::first-letter,
.btn-d::first-letter,
.back-link::first-letter {
  text-transform: uppercase;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 7rem 5rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
  display: block;
  animation: heroItemIn 0.6s var(--ease-out) 0.1s both;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 800px;
  animation: heroItemIn 0.7s var(--ease-out) 0.25s both;
}

.page-hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  line-height: 1.75;
  animation: heroItemIn 0.7s var(--ease-out) 0.4s both;
}

.page-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: heroItemIn 0.7s var(--ease-out) 0.55s both;
}

.page-hero-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border: 1px solid rgba(2,190,245,0.07);
  border-radius: 50%;
  pointer-events: none;
  animation: ringPulse 6s ease-in-out infinite;
}
.page-hero-deco-inner {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 240px;
  height: 240px;
  border: 1px solid rgba(247,37,133,0.06);
  border-radius: 50%;
  pointer-events: none;
  animation: ringPulse 6s ease-in-out 1s infinite;
}

/* =============================================
   PHOTO PLACEHOLDERS
   ============================================= */

.photo-placeholder {
  background: var(--gray1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.photo-placeholder-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray3);
  text-align: center;
  padding: 1rem;
}
.photo-accent-magenta {
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 6px;
  background: var(--magenta);
}
.photo-accent-cyan {
  position: absolute;
  bottom: 0; left: 64px;
  width: 40px; height: 6px;
  background: var(--cyan);
}

/* =============================================
   JOIN CTA SECTION
   ============================================= */

.join-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--black);
}
.join-photo-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
}
.join-photo-texture {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.join-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 4rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.join-inner h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.btn-join {
  display: inline-block;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1.4rem 3.5rem;
  border-radius: 0;
  text-decoration: none;
  text-transform: lowercase;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-join:hover { transform: translateY(-3px); }

/* =============================================
   CARD HOVER EFFECTS
   ============================================= */

/* Light card lift */
.example-card,
.track-card,
.who-card,
.pathway-card {
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease;
}
.example-card:hover,
.track-card:hover,
.who-card:hover,
.pathway-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.09);
}

/* Feed items */
.feed-item { transition: background 0.2s; }
.feed-item:hover { background: var(--gray-bg); }

/* Dark card hover */
.milestone,
.timeline-card { transition: background 0.22s; }
.milestone:hover,
.timeline-card:hover { background: rgba(255,255,255,0.07); }

/* FAQ summary hover */
details.faq-item summary:hover .faq-q-text { color: var(--blue); }
details[open].faq-item .faq-q-text         { color: var(--blue); }
details.faq-item summary { transition: color 0.2s; }

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

footer {
  background: var(--black);
  color: rgba(255,255,255,0.55);
  padding: 4rem 5rem 2.5rem;
}

/* prominent Acknowledgement of Country */
.footer-ack {
  border-left: 3px solid var(--cyan);
  padding: 0.1rem 0 0.1rem 1.5rem;
  margin-bottom: 3rem;
  max-width: 960px;
}
.footer-ack-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}
.footer-ack p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2.6fr;
  gap: 4rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.6rem;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 0.5rem;
}
.footer-brand p a { color: rgba(255,255,255,0.5); }
.footer-credit { font-size: 12px; }

/* compact multi-column link grid */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.5rem;
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}
.footer-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.footer-legal a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 1.25rem;
}
.social-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s;
}
.social-links a:hover { color: var(--white); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

/* Keyframes */
@keyframes heroItemIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 0.15; }
}

/* Homepage hero - elements animate in on page load */
.hero h1         { animation: heroItemIn 0.85s var(--ease-out) 0.15s both; }
.hero .hero-sub  { animation: heroItemIn 0.75s var(--ease-out) 0.35s both; }
.hero .hero-actions { animation: heroItemIn 0.75s var(--ease-out) 0.55s both; }

/* Scroll-reveal base states */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-scale.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger grid */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.48s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.56s; }
.stagger.in-view > *:nth-child(9) { transition-delay: 0.64s; }

/* =============================================
   INTERACTIVE ANIMATIONS (site-wide library)
   Curated set approved from the animation sample page:
   01 word reveal · 02 scramble · 04 link underlines ·
   06 parallax · 11 lift · 18 arrow nudge · 19 expand ·
   31 corner brackets · 34 watermark drift · 40 tab indicator ·
   51 L-bracket card · 52 L accordion arrow · 53 corner watermark ·
   62 KPI count-up · 65 confetti (deferred to join-the-lab form)
   ============================================= */

/* 01 - word reveal (page hero headings) */
.hl-reveal.go { animation: none; } /* suppress any inherited load animation once words take over */
.hl-reveal .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hl-reveal .w > span { display: inline-block; transform: translateY(110%); }
.hl-reveal.go .w > span { animation: wordUp 0.7s var(--ease-out) both; }
@keyframes wordUp { to { transform: translateY(0); } }
.hl-reveal .accent { color: var(--magenta); }

/* 02 - scramble (FAQ hero heading only) */
.scramble .scrambling { color: var(--cyan); }

/* 04 - link underlines (three variants) */
.lu { position: relative; cursor: pointer; padding-bottom: 3px; }
.lu-wipe::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.lu-wipe:hover::after, .lu-wipe:focus-visible::after { transform: scaleX(1); }
.lu-center::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transition: transform 0.35s var(--ease-out); }
.lu-center:hover::after, .lu-center:focus-visible::after { transform: scaleX(1); }
.lu-swap { overflow: hidden; display: inline-block; height: 1.4em; line-height: 1.4em; vertical-align: bottom; }
.lu-swap .lu-stack { display: flex; flex-direction: column; transition: transform 0.35s var(--ease-out); }
.lu-swap:hover .lu-stack, .lu-swap:focus-visible .lu-stack { transform: translateY(-1.4em); }
.lu-swap .lu-stack span { display: block; height: 1.4em; line-height: 1.4em; }
.lu-swap .lu-stack span:last-child { color: var(--cyan); }

/* 06 - scroll parallax (homepage hero, used sparingly) */
[data-parallax] { will-change: transform; }

/* 11 - lift & shadow (card hover) */
.anim-lift { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.anim-lift:hover { transform: translateY(-10px); box-shadow: 0 24px 48px rgba(0,0,0,0.16); }

/* 18 - arrow nudge (card CTA link + standalone arrow buttons/links) */
.anim-arrow .arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.anim-arrow .arrow-link .ar { transition: transform 0.3s var(--ease-out); }
.anim-arrow:hover .arrow-link .ar { transform: translateX(8px); }
a .ar, .btn-nudge .ar { display: inline-block; transition: transform 0.3s var(--ease-out); }
a:hover .ar, a:focus-visible .ar, .btn-nudge:hover .ar, .btn-nudge:focus-visible .ar { transform: translateX(6px); }

/* 19 - expand description on hover (dense card grids) */
.anim-expand .more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out), opacity 0.4s, margin-top 0.4s; }
.anim-expand:hover .more, .anim-expand:focus-within .more { max-height: 160px; opacity: 1; margin-top: 0.75rem; }
@media (hover: none) { .anim-expand .more { max-height: 200px; opacity: 1; margin-top: 0.75rem; } }

/* 31 - logo corner brackets framing a block */
.bracket-frame { position: relative; }
.bf-bracket { position: absolute; width: 48px; height: 48px; opacity: 0; pointer-events: none; }
.bf-bracket svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.bf-bracket.tl { top: 16px; left: 16px; transform: translate(-26px,-26px); }
.bf-bracket.tr { top: 16px; right: 16px; transform: translate(26px,-26px) rotate(90deg); }
.bf-bracket.br { bottom: 16px; right: 16px; transform: translate(26px,26px) rotate(180deg); }
.bf-bracket.bl { bottom: 16px; left: 16px; transform: translate(-26px,26px) rotate(270deg); }
.bracket-frame.in-view .bf-bracket { animation: bfBracketIn 0.6s var(--ease-out) forwards; }
.bracket-frame.in-view .bf-bracket.tr { animation-delay: 0.08s; }
.bracket-frame.in-view .bf-bracket.br { animation-delay: 0.16s; }
.bracket-frame.in-view .bf-bracket.bl { animation-delay: 0.24s; }
@keyframes bfBracketIn { to { opacity: 1; transform: translate(0,0) rotate(var(--rot,0deg)); } }
.bf-bracket.tr { --rot: 90deg; } .bf-bracket.br { --rot: 180deg; } .bf-bracket.bl { --rot: 270deg; }

/* 34 - oversized watermark drifting on scroll (section background).
   Negative z-index keeps it behind content without restyling children. */
.section-watermark { position: relative; overflow: hidden; z-index: 0; }
.section-watermark > .sw-mark { position: absolute; top: -8%; right: -4%; width: clamp(220px, 32vw, 420px); height: clamp(220px, 32vw, 420px); opacity: 0.06; pointer-events: none; will-change: transform; z-index: -1; }
.section-watermark > .sw-mark svg { width: 100%; height: 100%; fill: currentColor; }

/* 40 - sliding tab indicator (dashboard tabs) */
.dash-tabs { position: relative; }
.dash-tabs-ind { position: absolute; bottom: -1px; left: 0; height: 3px; background: var(--magenta); border-radius: 2px; transition: transform 0.35s var(--ease-out), width 0.35s var(--ease-out); pointer-events: none; }

/* 51 - single L-bracket card accent (draws in on hover) */
.lac-card { position: relative; }
.lac-mark { position: absolute; left: 0; bottom: 0; width: 32px; height: 32px; pointer-events: none; }
.lac-mark svg rect { fill: var(--magenta); transform-box: fill-box; transform-origin: left bottom; transform: scaleY(0.25); opacity: 0.45; transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out); }
.lac-mark svg rect.h { transform-origin: left bottom; transform: scaleX(0.25); }
.lac-card:hover .lac-mark svg rect { transform: scale(1); opacity: 1; }

/* 52 - logo 'L' as accordion arrow (native <details>) */
.acc-l .acc-l-mark { width: 22px; height: 22px; flex-shrink: 0; transition: transform 0.4s var(--ease-out); transform: rotate(0deg); }
.acc-l .acc-l-mark svg { width: 100%; height: 100%; fill: var(--blue); display: block; }
.acc-l[open] .acc-l-mark { transform: rotate(-45deg); }

/* 53 - corner-anchored watermark (bleeds off bottom-right).
   Uses a negative z-index so it sits above the host background but behind
   content - no need to restyle the host's children. */
.wm-corner { position: relative; overflow: hidden; z-index: 0; }
.wm-corner > .wmc { position: absolute; right: -46px; bottom: -46px; width: clamp(160px, 22vw, 230px); height: clamp(160px, 22vw, 230px); opacity: 0.14; z-index: -1; pointer-events: none; transition: transform 0.6s var(--ease-out); }
.wm-corner > .wmc svg { width: 100%; height: 100%; fill: var(--cyan); }
.wm-corner:hover > .wmc { transform: rotate(8deg) scale(1.06); }

/* 04 applied - footer nav links use the wipe underline (magenta) */
.footer-col ul li a { position: relative; display: inline-block; }
.footer-col ul li a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--magenta); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.footer-col ul li a:hover::after, .footer-col ul li a:focus-visible::after { transform: scaleX(1); }

/* 04 applied - inline body links use the centre-grow underline (blue) */
.inline-link { position: relative; border-bottom: none; }
.inline-link::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transition: transform 0.35s var(--ease-out); }
.inline-link:hover::after, .inline-link:focus-visible::after { transform: scaleX(1); }

/* 04 applied - footer social links use the swap variant (handled via .lu-swap markup) */
.social-links a.lu-swap:hover, .social-links a.lu-swap:focus-visible { color: rgba(255,255,255,0.4); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;
    overflow-y: auto;
    z-index: 199;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.is-open { display: flex; }

  .nav-links > li > a {
    height: auto;
    line-height: 1.4;
    padding: 1rem 1.5rem;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links > li > a::after { display: none; }

  .has-dropdown > a::before { content: ''; }

  .dropdown {
    display: block;
    position: static;
    border-top: none;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid var(--cyan);
    margin-left: 1.5rem;
    min-width: 0;
  }
  .dropdown a {
    padding: 0.75rem 1rem !important;
    font-size: 14px !important;
  }

  .nav-cta {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 1rem 1.5rem !important;
    margin-left: 0;
    border-radius: 0;
  }

  .page-hero { padding: 5rem 1.5rem 4rem; }
  .page-hero-deco,
  .page-hero-deco-inner { display: none; }

  .join-inner {
    padding: 3rem 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  footer { padding: 3.5rem 1.5rem 2.5rem; }
  .footer-ack { margin-bottom: 2.5rem; padding-left: 1.1rem; }
  .footer-ack p { font-size: 14px; }
  .footer-main { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .social-links { justify-content: flex-start; }

  /* On mobile, skip directional reveals - use simple fade */
  .reveal-left,
  .reveal-right {
    transform: translateY(22px);
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .colour-strip > div {
    transform: none !important;
  }
  .hl-reveal .w > span { transform: none !important; }
  .bf-bracket { opacity: 1 !important; transform: none !important; }
  [data-parallax], .section-watermark > .sw-mark { transform: none !important; }
}

/* =============================================
   PORTRAIT MOSAIC - BRAND WALL (full-bleed band)
   ============================================= */
.brand-wall {
  background: #fff;
  padding: 0;
}
.brand-wall .mosaic-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
}
.brand-wall .mosaic-grid .tile {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--gray1);
}
.brand-wall .mosaic-grid .logo-cell {
  grid-column: 3 / 6;
  grid-row: 2 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 1rem;
}
.brand-wall .mosaic-grid .logo-cell img.sym { height: clamp(40px, 5.5vw, 72px); width: auto; }
.brand-wall .mosaic-grid .logo-cell img.word { height: clamp(28px, 3.8vw, 52px); width: auto; }

@media (max-width: 760px) {
  .brand-wall .mosaic-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-wall .mosaic-grid .logo-cell {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    aspect-ratio: auto;
    padding: 2.25rem 1rem;
  }
}

/* =============================================
   WHO-SPLIT - copy beside compact portrait grid
   ============================================= */
.who-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  align-items: center;
}
.who-split .who-copy {
  padding: 5rem 4rem;
  align-self: center;
}
.who-split .who-copy h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.who-split .who-copy p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gray2);
  line-height: 1.85;
}
.who-split .who-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.who-split .who-grid .tile {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--gray1);
}

@media (max-width: 900px) {
  .who-split { grid-template-columns: 1fr; }
  .who-split .who-copy { padding: 3.5rem 1.5rem 2.5rem; }
}

/* ============================================================
   PARTNER / NETWORK LOGO WALL  (home + team pages)
   ============================================================ */
.partners-section { padding: 6rem 5rem; border-top: 1px solid #e8e8e8; }
.partners-section.alt { background: var(--gray-bg); }
.partners-section > h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 0.9rem; max-width: 840px; }
.partners-section > .intro-text { font-size: 1rem; font-weight: 300; color: var(--gray2); line-height: 1.8; max-width: 700px; margin-bottom: 0; }
.partners-section > .intro-text strong { color: var(--black); font-weight: 700; }
/* continuous logo marquee: one bordered block, fine grey line, logos auto-scroll */
.pw-marquee { position: relative; margin-top: 2.75rem; background: var(--white); overflow: hidden; }
.pw-marquee::before, .pw-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.pw-marquee::before { left: 0; background: linear-gradient(to right, var(--white), rgba(255,255,255,0)); }
.pw-marquee::after { right: 0; background: linear-gradient(to left, var(--white), rgba(255,255,255,0)); }
.pw-track { display: flex; align-items: center; width: max-content; padding: 2.2rem 0; animation: pwScroll 120s linear infinite; }
.pw-marquee:hover .pw-track { animation-play-state: paused; }
.pw-logo { flex: 0 0 auto; height: 50px; width: auto; max-width: 200px; object-fit: contain; margin: 0 2rem; opacity: 0.9; transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out); }
.pw-logo:hover { opacity: 1; transform: scale(1.12); }
@keyframes pwScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pw-note { margin-top: 1.4rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray3); }
@media (max-width: 760px) {
  .partners-section { padding: 4rem 1.5rem; }
  .pw-track { padding: 1.6rem 0; animation-duration: 80s; }
  .pw-logo { height: 38px; margin: 0 1.4rem; }
  .pw-marquee::before, .pw-marquee::after { width: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 2.5rem 3rem; padding: 2.2rem 1.5rem; }
  .pw-marquee::before, .pw-marquee::after { display: none; }
  .pw-logo:hover { transform: none; }
}
