/* ════════════════════════════════════════════════════════════════════
   partnerships.css — Marinox Group
   Post-audit (April 2026). All audit fixes documented inline.
   Classes prefixed pt- to avoid collision with styles.css globals.
═══════════════════════════════════════════════════════════════════════ */

/* AUDIT FIX (B1): heading colour now lives in styles.css :root
   as --heading (Fix 6.1, Phase 6). The local fallback block
   previously here was removed during the consolidation pass. */

/* ─── HERO ─────────────────────────────────────────────── */

.pt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--void);
}

.pt-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pt-hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, transparent 40%, var(--void) 100%),
    radial-gradient(ellipse 40% 80% at 0% 50%, rgba(3,12,18,0.7) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.pt-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.pt-hero-text h1 {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 1.0;
  margin: 1rem 0 1.5rem;
  font-weight: 400;
  color: var(--heading);
}

/* AUDIT FIX (B2): body copy at 17px / alpha 0.82 — sitewide anchor */
.pt-hero-desc {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.pt-hero-stat-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  min-width: 160px;
  border-left: 1px solid rgba(62,207,207,0.15);
  padding-left: 3rem;
}

.pt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.5rem 0;
  text-align: center;
}

.pt-stat-num {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 300;
  color: var(--acc);
  line-height: 1;
  letter-spacing: -0.02em;
}

.pt-stat-label {
  font-family: var(--fb);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pt-stat-div {
  width: 1px;
  height: 24px;
  background: rgba(62,207,207,0.2);
}

.pt-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pt-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--acc), transparent);
  animation: pt-scroll-pulse 2s ease-in-out infinite;
}

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

.pt-hero-scroll span {
  font-family: var(--fb);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── CONVICTION ─────────────────────────────────────────── */

.pt-conviction {
  background: var(--void);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.pt-conviction::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62,207,207,0.25), transparent);
}

.pt-conviction::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62,207,207,0.15), transparent);
}

.pt-conviction-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pt-conviction-rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
}

.pt-conviction-quote {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.3;
  color: var(--heading);
  letter-spacing: -0.01em;
  margin: 0;
}

/* AUDIT FIX (#8): replaced fragile <br/> with controllable line spans */
.pt-conviction-line { display: block; }
.pt-conviction-quote em { font-style: italic; color: var(--acc); }

.pt-conviction-body {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.8;
  max-width: 620px;
}

/* ─── CRITERIA — diptych: thesis + triad diagram | stacked principles ─── */

.pt-criteria {
  position: relative;
  padding: 7rem 0;
  background: rgba(62,207,207,0.02);
  overflow: hidden;
}

.pt-criteria-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

/* LEFT — thesis + diagram */

.pt-criteria-left {
  position: sticky;
  top: 8rem;
}

.pt-criteria-left .eyebrow { margin-bottom: 1.25rem; }

.pt-criteria-left h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  color: var(--heading);
}

.pt-criteria-thesis {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 3rem;
}

.pt-criteria-thesis em {
  font-style: italic;
  color: var(--acc);
}

.pt-criteria-diagram {
  width: 100%;
  max-width: 360px;
  display: block;
  margin-top: 1rem;
}

.pt-criteria-diagram-caption {
  font-family: var(--fb);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1.25rem;
  max-width: 320px;
  line-height: 1.6;
}

/* RIGHT — principles stacked vertically */

.pt-criteria-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pt-crit {
  position: relative;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid rgba(62,207,207,0.1);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
  transition: background 0.4s ease;
}

.pt-crit:last-child { border-bottom: 1px solid rgba(62,207,207,0.1); }

/* Number column — large editorial numerals */
.pt-crit-index {
  font-family: var(--fd);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ca, var(--acc));
  opacity: 0.5;
  line-height: 1;
  letter-spacing: 0.02em;
  min-width: 3rem;
  font-feature-settings: "lnum" 1;
  transition: opacity 0.3s ease;
}

.pt-crit:hover .pt-crit-index,
.pt-crit:focus-within .pt-crit-index { opacity: 0.85; }

/* Body column */
.pt-crit-body { min-width: 0; }

.pt-crit-body h3 {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.pt-crit-body p {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.75;
  max-width: 560px;
}

/* Symbol column — small architectural mark on the right */
.pt-crit-symbol {
  font-family: var(--fb);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ca, var(--acc));
  opacity: 0.35;
  line-height: 1;
  margin-top: 0.4rem;
  transition: opacity 0.3s ease;
}

.pt-crit:hover .pt-crit-symbol,
.pt-crit:focus-within .pt-crit-symbol { opacity: 0.85; }

/* Animated colour-rule on hover/scroll-in.
   AUDIT FIX (B7): real site uses .visible (was previously .is-visible — dead code) */
.pt-crit::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 64px; height: 1px;
  background: var(--ca, var(--acc));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.pt-crit.visible::before,
.pt-crit:hover::before,
.pt-crit:focus-within::before { transform: scaleX(1); }

/* AUDIT FIX (#4): focus-within parity */
.pt-crit:hover,
.pt-crit:focus-within { background: rgba(62,207,207,0.015); }

/* ─── GEOGRAPHY ───────────────────────────────────────────── */

.pt-geography { padding: 7rem 0 0; }

.pt-geo-header {
  margin-bottom: 3.5rem;
  max-width: 720px;
}

.pt-geo-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  color: var(--heading);
}

.pt-geo-header p {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  max-width: 540px;
  line-height: 1.7;
}

.pt-map-stage {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--void);
}

.pt-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pt-map-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  background: rgba(3,12,18,0.92);
  border: 1px solid rgba(62,207,207,0.25);
  padding: 0.5rem 0.9rem;
  font-family: var(--fb);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
  transform: translate(-50%, -140%);
}

.pt-map-tooltip.visible { opacity: 1; }

.pt-map-legend {
  display: flex;
  gap: 2rem;
  /* AUDIT FIX (#10): tightened padding so legend reads as part of map */
  padding: 1rem 2.5rem 1.5rem;
  border-top: 1px solid rgba(62,207,207,0.08);
  max-width: 1280px;
  margin: 0 auto;
}

.pt-ml-item {
  font-family: var(--fb);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.pt-ml-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pt-ml-hq::before     { background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.pt-ml-gcc::before    { background: rgba(62,207,207,0.6); }
.pt-ml-global::before { background: rgba(155,89,182,0.6); }

/* ─── PATHWAYS ────────────────────────────────────────────── */

.pt-pathways { padding: 7rem 0; }

.pt-pathways-header {
  text-align: center;
  margin: 0 auto 5rem;
  max-width: 720px;
}

.pt-pathways-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  color: var(--heading);
}

.pt-pathways-header p {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

.pt-pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* AUDIT FIX (#3 + W4): per-pathway --acc scoped via inline style.
   Colour appears in exactly 3 places per card: top border, dot, CTA arrow.
   AUDIT FIX (M7): --acc-rgb channels added so hover border matches venture colour. */
.pt-pathway {
  position: relative;
  border: 1px solid rgba(var(--acc-rgb, 62,207,207), 0.1);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pt-pathway:hover,
.pt-pathway:focus-within {
  border-color: rgba(var(--acc-rgb, 62,207,207), 0.35);
  transform: translateY(-4px);
}

.pt-pathway-top {
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
}

/* (1 of 3) Top border IS coloured */
.pt-pathway-top::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--acc);
}

.pt-pathway-force {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

/* (2 of 3) Dot IS coloured. AUDIT FIX (W3): glow softened, unified opacity */
.pt-pathway-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 6px rgba(var(--acc-rgb, 62,207,207), 0.7);
  flex-shrink: 0;
}

/* AUDIT FIX (W4): eyebrow goes neutral (no longer venture-coloured) */
.pt-pathway-force-label {
  font-family: var(--fb);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* AUDIT FIX (M3): now <h3> for proper heading hierarchy.
   AUDIT FIX (B3): wordmark stays in --heading, NOT venture colour. */
.pt-pathway-venture {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.04em;
  display: block;
  margin: 0 0 0.4rem;
  line-height: 1;
}

/* AUDIT FIX (B2): headline at muted/0.82, italic, 1.2rem (reverted from v1 over-bright) */
.pt-pathway-headline {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(200, 216, 222, 0.82);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.pt-pathway-desc {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  line-height: 1.75;
}

.pt-pathway-types { padding: 0 2.5rem 2rem; flex: 1; }

/* AUDIT FIX (W4): types-label goes neutral */
.pt-pathway-types-label {
  font-family: var(--fb);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.9rem;
}

.pt-pathway-type-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pt-pathway-type-list li {
  font-family: var(--fb);
  font-size: 16px;
  color: rgba(200, 216, 222, 0.82);
  padding-left: 1rem;
  position: relative;
  line-height: 1.55;
}

/* AUDIT FIX (W4): list arrows neutral.
   AUDIT FIX (M6): top: 0.4em scales with font-size (was brittle 4px) */
.pt-pathway-type-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: rgba(138, 171, 186, 0.6);
  font-size: 0.7rem;
  top: 0.4em;
}

.pt-pathway-cta {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid rgba(62,207,207,0.08);
  background: rgba(62,207,207,0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: background 0.2s ease;
  gap: 1rem;
}

.pt-pathway-cta:hover,
.pt-pathway-cta:focus-visible { background: rgba(var(--acc-rgb, 62,207,207), 0.06); }

/* AUDIT FIX (W4): CTA text neutral (was venture-coloured) */
.pt-pathway-cta-text {
  font-family: var(--fb);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--prose);
}

/* (3 of 3) CTA arrow IS coloured */
.pt-pathway-cta-arrow {
  font-size: 1rem;
  color: var(--acc);
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.pt-pathway:hover .pt-pathway-cta-arrow,
.pt-pathway:focus-within .pt-pathway-cta-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ─── CTA ─────────────────────────────────────────────────── */

.pt-cta {
  position: relative;
  padding: 9rem 0;
  background: var(--void);
  text-align: center;
  overflow: hidden;
}

.pt-cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pt-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62,207,207,0.3), transparent);
}

.pt-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pt-cta-inner h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin: 1rem 0 1.5rem;
  color: var(--heading);
}

.pt-cta-inner p {
  font-family: var(--fb);
  font-size: 17px;
  color: rgba(200, 216, 222, 0.82);
  max-width: 540px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.pt-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .pt-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pt-hero-stat-col {
    border-left: none;
    border-top: 1px solid rgba(62,207,207,0.15);
    padding-left: 0;
    padding-top: 2rem;
    flex-direction: row;
    gap: 0;
    width: 100%;
    justify-content: space-around;
  }
  .pt-stat-div { width: 24px; height: 1px; }

  /* Criteria: collapse diptych to single column */
  .pt-criteria-inner { grid-template-columns: 1fr; gap: 3.5rem; }
  .pt-criteria-left { position: static; }
  .pt-criteria-thesis { max-width: none; }
  .pt-crit { grid-template-columns: auto 1fr; gap: 1.5rem; }
  .pt-crit-symbol { display: none; }

  .pt-pathways-grid { grid-template-columns: 1fr; }
  .pt-map-stage { height: 320px; }
}

@media (max-width: 600px) {
  .pt-conviction-quote { text-align: left; }
  .pt-conviction-inner { align-items: flex-start; text-align: left; }
  .pt-pathways-header { text-align: left; }
  .pt-pathways-header p { margin: 0; }
}

/* AUDIT FIX (M1): respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .pt-scroll-line { animation: none; }
  /* Canvas init is also gated in partnerships.js */
}
