/* =============================================================================
   Phase 2 — مس کاوان نماد
   Awwwards-level cinematic landing page
   RTL · Sahel · #0B383C / #FBF6F5 / #BA6D51 / #0488AA
   ============================================================================= */

/* ── Fonts — root-relative paths work on any domain ─────────────────────────── */
@font-face {
  font-family: "Sahel FD";
  src: url('/wp-content/uploads/fonts/Sahel-Light-FD.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: fallback;
}
@font-face {
  font-family: "Sahel FD";
  src: url('/wp-content/uploads/fonts/Sahel-FD.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: fallback;
}
@font-face {
  font-family: "Sahel FD";
  src: url('/wp-content/uploads/fonts/Sahel-SemiBold-FD.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: fallback;
}
@font-face {
  font-family: "Sahel FD";
  src: url('/wp-content/uploads/fonts/Sahel-Bold-FD.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: fallback;
}
@font-face {
  font-family: "Sahel FD";
  src: url('/wp-content/uploads/fonts/Sahel-Black-FD.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: fallback;
}

/* ── Reset + Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Sahel FD", 'Tahoma', sans-serif;
  background: var(--global-bg);
  color: var(--global-text);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Fixed page-background (animated by GSAP per scroll position) ────────────── */
#p2-bg {
  position: fixed; inset: 0;
  z-index: -2;
  background: var(--global-bg);
  pointer-events: none;
  will-change: background-color;
}

/* ── Transition gradient caps at dark↔light section boundaries ─────────────── */
.p2-transition-cap {
  position: absolute;
  inset-block-start: 0; inset-inline: 0;
  height: clamp(120px, 22vh, 240px);
  pointer-events: none;
  z-index: 6;
}
.p2-cap--from-dark {
  background: linear-gradient(
    to bottom,
    #0B383C 0%,
    rgba(11,56,60,0.6) 50%,
    rgba(11,56,60,0) 100%
  );
}
.p2-cap--from-light {
  background: linear-gradient(
    to bottom,
    #F5F0EF 0%,
    rgba(245,240,239,0.6) 50%,
    rgba(245,240,239,0) 100%
  );
}
/* Noise on transition caps */
.p2-transition-cap::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 300px 300px;
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
  --dark:    #0B383C;
  --light:   #FBF6F5;
  --copper:  #BA6D51;
  --teal:    #0488AA;
  --white:   #FFFFFF;
  --cu10:    rgba(186,109,81,0.10);
  --cu20:    rgba(186,109,81,0.22);
  --tl10:    rgba(4,136,170,0.10);
  --muted-d: rgba(251,246,245,0.55);
  --muted-l: rgba(11,56,60,0.60);
  /* Global animated vars — GSAP drives these via ScrollTrigger */
  --global-bg:          #0B383C;
  --global-text:        #FBF6F5;
  --global-text-muted:  rgba(251,246,245,0.55);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.42' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Layout helpers ─────────────────────────────────────────────────────────── */
.p2-con {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}
.p2-con-inner { max-width: 560px; }
.p2-dark { color: var(--light); }
.p2-section { position: relative; overflow: hidden; }

/* Noise overlay */
.p2-noise-layer {
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 300px 300px;
  mix-blend-mode: soft-light;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}
.p2-noise-layer--heavy { opacity: 0.30; }

/* ── Global noise — sections without explicit .p2-noise-layer ───────────────── */
.p2-scrub-sticky::after,
.p2-foundation-sticky::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background-image: var(--noise); background-size: 300px 300px;
  mix-blend-mode: soft-light; opacity: 0.22; pointer-events: none;
}
.p2-prelude::after,
.p2-beyond::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: var(--noise); background-size: 300px 300px;
  mix-blend-mode: soft-light; opacity: 0.22; pointer-events: none;
}
.p2-footer::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background-image: var(--noise); background-size: 300px 300px;
  mix-blend-mode: soft-light; opacity: 0.18; pointer-events: none;
}

/* ── Typography ─────────────────────────────────────────────────────────────── */
.p2-display {
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--global-text);
}
.p2-display em { font-style: normal; color: var(--copper); }
.p2-display--light { color: var(--light); }

.p2-display-md {
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--global-text);
}
.p2-display-md.p2-display--light { color: var(--light); }

.p2-section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--global-text);
  margin-block-end: clamp(2rem, 5vw, 4rem);
  line-height: 1.2;
}

.p2-body-lg {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 2;
  color: var(--global-text-muted);
  max-width: 480px;
}
.p2-body {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.9;
  color: var(--global-text-muted);
}
.p2-body--light { color: var(--muted-d); }

.p2-eyebrow {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-block-end: 1.5rem;
}

.p2-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-block-end: 1.25rem;
}
.p2-label::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--copper);
  flex-shrink: 0;
}
.p2-label--light { color: rgba(186,109,81,0.85); }
.p2-label--light::before { background: rgba(186,109,81,0.85); }

/* ── Reveal animations (initial state — GSAP takes over) ───────────────────── */
.p2-reveal-up { opacity: 0; transform: translateY(40px); }
.p2-reveal-lines { opacity: 0; }
.p2-word { display: inline-block; opacity: 0; transform: translateY(60px); }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.p2-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  transition: background 0.4s var(--ease-in-out), backdrop-filter 0.4s;
}
.p2-header.scrolled {
  background: rgba(11,56,60,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-block-end: 1px solid rgba(186,109,81,0.12);
}
.p2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 4rem);
  height: 72px;
}

.p2-logo { display: flex; align-items: center; }
.p2-logo img { height: 48px; width: auto; display: block; }
.p2-logo--footer img { height: 40px; }

.p2-nav { display: flex; align-items: center; gap: 2rem; }
.p2-nav__link {
  font-size: 0.85rem;
  color: rgba(251,246,245,0.7);
  transition: color 0.25s;
  font-weight: 400;
}
.p2-nav__link:hover { color: var(--light); }
.p2-nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--copper);
  border: 1px solid rgba(186,109,81,0.35);
  padding: 8px 18px;
  border-radius: 100px;
  transition: background 0.25s, border-color 0.25s;
}
.p2-nav__cta:hover { background: var(--cu10); border-color: var(--copper); }

.p2-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.p2-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

/* ── §1 HERO ─────────────────────────────────────────────────────────────────── */
.p2-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#p2-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.p2-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.p2-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11,56,60,0.80) 0%,
    rgba(11,56,60,0.55) 40%,
    rgba(11,56,60,0.92) 100%
  );
}
.p2-hero__noise {
  position: absolute; inset: 0; z-index: 1;
  background-image: var(--noise);
  background-size: 200px 200px;
  mix-blend-mode: soft-light;
  opacity: 0.32;
  pointer-events: none;
}
.p2-hero__content {
  position: relative; z-index: 5;
  text-align: center;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  max-width: 1100px;
}
.p2-hero__h1 {
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--light);
  margin-block: 0.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08em;
}
/* Clip-reveal lines — overflow:hidden clips the rising inner span */
.p2-h1-line {
  display: block;
  overflow: hidden;
  line-height: 1.1;
  padding-block-end: 0.14em; /* room for Persian descenders */
}
.p2-h1-inner {
  display: block;
  will-change: transform;
  /* initial transform set by gsap.set() — no CSS default so text is visible if JS fails */
}
.p2-hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(251,246,245,0.7);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.8;
}
.p2-hero__scroll {
  position: absolute;
  inset-block-end: 2.5rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  z-index: 5;
}
.p2-hero__scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(251,246,245,0.4);
  text-transform: uppercase;
}
.p2-hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(186,109,81,0.8), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ── §2 VIDEO SCRUB ─────────────────────────────────────────────────────────── */
.p2-scrub-wrap {
  height: 400vh;
  position: relative;
}
.p2-scrub-sticky {
  position: sticky;
  inset-block-start: 0;
  height: 100svh;
  overflow: hidden;
  background: url('https://new.meskavan.com/wp-content/uploads/2026/06/Meskavan_Home.jpg')
              center/cover no-repeat;
  background-color: #0B383C; /* fallback if image fails */
}
.p2-phase-videos {
  position: absolute;
  inset: 0;
}
.p2-phase-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.p2-phase-video.is-active { opacity: 1; }
.p2-scrub__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,56,60,0.3) 0%,
    rgba(11,56,60,0.15) 50%,
    rgba(11,56,60,0.6) 100%
  );
}
.p2-scrub__captions {
  position: absolute;
  inset-block-end: clamp(3rem, 8vh, 6rem);
  inset-inline-start: clamp(1.25rem, 5vw, 5rem);
  z-index: 5; max-width: 500px;
}
.p2-caption {
  display: none;
  flex-direction: column; gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.p2-caption.is-active { display: flex; opacity: 1; }
.p2-caption__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  background: rgba(11,56,60,0.6);
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
  backdrop-filter: blur(4px);
}
.p2-caption__text {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--light);
  line-height: 1.4;
  text-shadow: 0 2px 20px rgba(11,56,60,0.5);
}
.p2-scrub__progress {
  position: absolute;
  inset-block-end: 0; inset-inline: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 5;
}
.p2-scrub__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--copper);
  transition: width 0.1s linear;
}

/* ── §3 PRELUDE ─────────────────────────────────────────────────────────────── */
.p2-prelude {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
  background: transparent;
  position: relative;
}
.p2-prelude__media {
  position: relative;
  overflow: hidden;
}
.p2-img-wrap {
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
}
.p2-parallax-img {
  width: 100%; height: 115%;
  object-fit: cover;
  will-change: transform;
}
.p2-img-ph {
  position: absolute; inset: 0;
  background: #1a4a4e;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  color: rgba(251,246,245,0.3);
  font-size: 0.8rem;
}
.p2-img-ph svg { width: 64px; height: 64px; opacity: 0.4; }
body:has(img[src="media/aerial.jpg"][complete]) .p2-img-ph { display: none; }

.p2-prelude__content {
  display: flex; align-items: center;
  padding: clamp(4rem, 8vh, 7rem) clamp(1.25rem, 5vw, 5rem);
  background: transparent;
}
.p2-prelude__content .p2-display { margin-block: 1rem 2rem; }
.p2-facts { display: flex; flex-direction: column; gap: 0.75rem; margin-block-start: 2rem; }
.p2-fact {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--global-text-muted);
}
.p2-fact__icon { font-size: 1rem; }

/* ── §4 THE DECISION ─────────────────────────────────────────────────────────── */
.p2-decision {
  padding-block: clamp(5rem, 12vh, 10rem);
}
.p2-decision .p2-con { position: relative; z-index: 2; }

.p2-bigquote {
  position: relative;
  margin-block: 2rem 4rem;
  padding-inline-start: 1.5rem;
  max-width: 800px;
}
.p2-bigquote__mark {
  position: absolute;
  inset-block-start: -1rem;
  inset-inline-start: -0.75rem;
  line-height: 0;
  color: var(--copper);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}
.p2-bigquote__mark svg {
  width: clamp(4.5rem, 9vw, 8rem);
  height: auto;
  display: block;
}
.p2-bigquote p {
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.65;
  color: rgba(251,246,245,0.9);
}
.p2-bigquote footer { margin-block-start: 1.25rem; }
.p2-bigquote cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--copper);
  opacity: 0.8;
}

.p2-capacity { max-width: 680px; }
.p2-cap-row { margin-block-end: 1.5rem; }
.p2-cap-row--new .p2-cap-row__fill { background: var(--copper); }
.p2-cap-row__label {
  display: flex; justify-content: space-between;
  align-items: baseline;
  margin-block-end: 0.5rem;
}
.p2-cap-row__title { font-size: 0.78rem; color: rgba(251,246,245,0.55); letter-spacing: 0.08em; }
.p2-cap-row__val {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(251,246,245,0.7);
}
.p2-cap-row__val--highlight { color: var(--copper); font-size: 1rem; }
.p2-cap-row__track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.p2-cap-row__fill {
  height: 100%;
  width: 0%; /* animated by GSAP */
  background: rgba(251,246,245,0.25);
  border-radius: 100px;
  transition: width 1.2s var(--ease-out);
}
.p2-cap-note {
  font-size: 0.72rem;
  color: rgba(251,246,245,0.35);
  margin-block-start: 0.75rem;
  letter-spacing: 0.05em;
}

/* ── §5 FOUNDATION (Horizontal Pin) ─────────────────────────────────────────── */
.p2-foundation-wrap {
  height: 300svh;
  background: transparent;
  overflow: visible; /* override .p2-section overflow:hidden — sticky child needs visible ancestor */
}
.p2-foundation-sticky {
  position: sticky;
  inset-block-start: 0;
  height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.p2-foundation-track {
  display: flex;
  width: 300%;
  height: 100%;
  will-change: transform;
}
.p2-foundation-panel {
  width: calc(100% / 3);
  flex-shrink: 0;
  height: 100%;
  display: flex; align-items: center;
}
.p2-foundation-panel--intro {
  background: transparent;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
  position: relative;
}
.p2-foundation-panel__bg {
  position: absolute; inset: 0;
  overflow: hidden; z-index: 0;
}
.p2-foundation-panel__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.6);
}
.p2-foundation-panel--intro .p2-display-md { margin-block: 1rem 1.5rem; }
.p2-foundation-panel--intro .p2-body { max-width: 380px; }
.p2-foundation-panel__hint {
  margin-block-start: 2rem;
  font-size: 0.75rem;
  color: var(--copper);
  display: flex; align-items: center; gap: 8px;
  animation: hintPulse 2s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100%{opacity:0.5} 50%{opacity:1} }

.p2-foundation-panel--photo {
  background: #0f2e30;
  overflow: hidden;
  position: relative;
  padding: 0;
}
.p2-photo-frame {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  position: relative; overflow: hidden;
}
.p2-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.p2-photo-ph {
  position: absolute; inset: 0;
  background: #1a4a4e;
  display: flex; align-items: center; justify-content: center;
  color: rgba(251,246,245,0.2);
  font-size: 0.8rem;
}
.p2-photo-frame figcaption {
  position: absolute;
  inset-block-end: 0; inset-inline: 0;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(to top, rgba(11,56,60,0.85), transparent);
  color: rgba(251,246,245,0.85);
  font-size: 0.88rem;
  display: flex; flex-direction: column; gap: 4px;
}
.p2-photo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}

.p2-foundation-dots {
  position: absolute;
  inset-block-end: 2rem;
  inset-inline-start: 50%;
  transform: translateX(50%);
  display: flex; gap: 8px; z-index: 5;
}
.p2-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(251,246,245,0.25);
  transition: background 0.3s, transform 0.3s;
}
.p2-dot.active { background: var(--copper); transform: scale(1.4); }

/* ── §6 EQUIPMENT ───────────────────────────────────────────────────────────── */
.p2-equipment { padding-block: clamp(5rem, 12vh, 10rem); }
.p2-equipment__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
  position: relative; z-index: 2;
}
.p2-equipment__text .p2-display-md { margin-block: 1rem 1.5rem; }

.p2-specs {
  display: flex; gap: 1.5rem;
  margin-block-start: 2rem;
  flex-wrap: wrap;
}
.p2-spec {
  display: flex; flex-direction: column; gap: 4px;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(186,109,81,0.2);
  border-radius: 10px;
  background: rgba(186,109,81,0.05);
}
.p2-spec__val {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--copper);
  line-height: 1;
}
.p2-spec__key {
  font-size: 0.7rem;
  color: rgba(251,246,245,0.5);
  letter-spacing: 0.06em;
}

.p2-split-media {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  height: clamp(480px, 65vh, 680px);
  border-radius: 16px;
  overflow: hidden;
}
.p2-split-media__frame {
  position: relative; overflow: hidden;
}
.p2-split-media__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.p2-split-media__frame:hover img { transform: scale(1.04); }
.p2-split-media__frame figcaption {
  position: absolute;
  inset-block-start: 1rem; inset-inline-end: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,246,245,0.6);
  background: rgba(11,56,60,0.6);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ── §7 VOICES ──────────────────────────────────────────────────────────────── */
.p2-voices {
  background: transparent;
  padding-block: clamp(5rem, 12vh, 10rem);
}
.p2-voices .p2-label { color: var(--copper); }
.p2-voices .p2-label::before { background: var(--copper); }

.p2-voices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.p2-voice-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid rgba(11,56,60,0.08);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  cursor: default;
}
.p2-voice-card:hover {
  border-color: var(--copper);
  box-shadow: 0 12px 40px rgba(186,109,81,0.12);
  transform: translateY(-4px);
}
.p2-voice-card__mark {
  line-height: 0;
  color: var(--copper);
  margin-block-end: 1.25rem;
  user-select: none;
}
.p2-voice-card__mark svg {
  width: 38px; height: 38px;
  display: block;
}
.p2-voice-card p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.85;
  color: rgba(11,56,60,0.75);
  flex: 1;
}
.p2-voice-card footer {
  margin-block-start: 1.5rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid rgba(11,56,60,0.07);
  display: flex; flex-direction: column; gap: 3px;
}
.p2-voice-card__name {
  font-size: 0.96rem;
  font-weight: 900;
  color: var(--dark);
}
.p2-voice-card__role {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--copper);
}
.p2-voice-card__dept {
  font-size: 0.72rem;
  color: rgba(11,56,60,0.45);
  letter-spacing: 0.05em;
}

/* ── §8 NUMBERS ─────────────────────────────────────────────────────────────── */
.p2-numbers { padding-block: clamp(5rem, 14vh, 12rem); }
.p2-numbers .p2-label--light::before { background: rgba(186,109,81,0.85); }
.p2-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  margin-block-start: 3rem;
  position: relative; z-index: 2;
}
.p2-stat { display: flex; flex-direction: column; gap: 0.5rem; }
.p2-stat__top { display: flex; align-items: baseline; gap: 0.1em; }
.p2-stat__num {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 900;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.p2-stat__label {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 600;
  color: rgba(251,246,245,0.85);
  margin-block-start: 0.5rem;
}
.p2-stat__note {
  font-size: 0.72rem;
  color: rgba(251,246,245,0.4);
  line-height: 1.5;
}

/* ── §9 BEYOND ──────────────────────────────────────────────────────────────── */
.p2-beyond {
  background: transparent;
  padding-block: clamp(5rem, 12vh, 10rem);
  position: relative;
}
.p2-beyond .p2-label { color: var(--copper); }
.p2-beyond .p2-label::before { background: var(--copper); }

.p2-beyond-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.p2-beyond-col {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.p2-beyond-icon {
  width: 62px; height: 62px;
  border-radius: 16px;
  background: rgba(186,109,81,0.10);
  border: 1px solid rgba(186,109,81,0.20);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* uploaded gray line-icons re-colored to copper via mask (set --bi inline) */
.p2-beyond-icon::before {
  content: '';
  width: 32px; height: 32px;
  background: var(--copper);
  -webkit-mask: var(--bi) center / contain no-repeat;
  mask: var(--bi) center / contain no-repeat;
}
.p2-beyond-col h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--global-text);
}
.p2-beyond-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.p2-beyond-col li {
  font-size: 0.88rem;
  color: var(--global-text-muted);
  line-height: 1.6;
  padding-inline-start: 1rem;
  position: relative;
}
.p2-beyond-col li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; inset-block-start: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.6;
}

/* ── §10 ROAD AHEAD ─────────────────────────────────────────────────────────── */
.p2-ahead { padding-block: clamp(5rem, 12vh, 10rem); }
.p2-ahead__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  position: relative; z-index: 2;
}
.p2-ahead__text .p2-display-md { margin-block: 1rem 1.5rem; }

.p2-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-block-start: 2.5rem;
  padding: 16px 32px;
  background: var(--copper);
  color: var(--light);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 100px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.p2-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.p2-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(186,109,81,0.4);
}

.p2-timeline {
  display: flex;
  gap: 0;
  align-items: stretch;
  min-width: 280px;
}
/* CSS-based vertical track — replaces SVG */
.p2-tl-track {
  width: 2px;
  flex-shrink: 0;
  background: rgba(251,246,245,0.1);
  position: relative;
  border-radius: 2px;
  align-self: stretch;
  margin-block: 15px 0;   /* align top with center of first dot, no extra line above */
}
.p2-tl-fill {
  position: absolute;
  inset-block-start: 0; inset-inline: 0;
  height: 0%;
  background: var(--copper);
  border-radius: 2px;
}
.p2-timeline__items {
  display: flex; flex-direction: column; gap: 0;
}
.p2-tl-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding-block-end: 2.5rem;
  position: relative;
}
.p2-tl-item:last-child { padding-block-end: 0; }
.p2-tl-item__dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(251,246,245,0.2);
  background: var(--dark);     /* solid — hides orange track line through dot */
  flex-shrink: 0;
  margin-block-start: 4px;
  margin-inline-start: -8px;
  position: relative; z-index: 1;
  transition: border-color 0.3s, background 0.3s;
}
.p2-tl-item--done .p2-tl-item__dot {
  border-color: var(--copper);
  background: var(--copper);
}
.p2-tl-item--active .p2-tl-item__dot {
  border-color: var(--copper);
  background: var(--dark);
  box-shadow: 0 0 0 4px rgba(186,109,81,0.2);
}
.p2-tl-item__body { display: flex; flex-direction: column; gap: 4px; }
.p2-tl-item__year {
  font-size: 0.7rem;
  color: rgba(251,246,245,0.35);
  letter-spacing: 0.1em;
}
.p2-tl-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(251,246,245,0.75);
}
.p2-tl-item--done .p2-tl-item__title,
.p2-tl-item--active .p2-tl-item__title { color: var(--light); }
.p2-tl-item__badge {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}
.p2-tl-item__badge--done { background: rgba(186,109,81,0.15); color: var(--copper); }
.p2-tl-item__badge--active { background: rgba(4,136,170,0.15); color: #4db8d4; }

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
.p2-footer {
  background: var(--dark);
  padding-block: 3rem;
  border-block-start: 1px solid rgba(251,246,245,0.06);
  position: relative;
}
.p2-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.p2-footer__brand { display: flex; flex-direction: column; gap: 6px; }
.p2-footer__brand p {
  font-size: 0.8rem;
  color: rgba(251,246,245,0.35);
}
.p2-footer__links {
  display: flex; gap: 2rem;
}
.p2-footer__links a {
  font-size: 0.85rem;
  color: rgba(251,246,245,0.5);
  transition: color 0.25s;
}
.p2-footer__links a:hover { color: var(--light); }
.p2-footer__copy {
  width: 100%;
  font-size: 0.72rem;
  color: rgba(251,246,245,0.2);
  text-align: center;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255,255,255,0.04);
}

/* ── Voices dark override ────────────────────────────────────────────────────── */
.p2-voices.p2-dark {
  background: transparent;
  padding-block: clamp(5rem, 12vh, 10rem);
}
.p2-voices.p2-dark .p2-section-title { color: var(--light); }
.p2-voices.p2-dark .p2-label { color: rgba(186,109,81,0.85); }
.p2-voices.p2-dark .p2-label::before { background: rgba(186,109,81,0.85); }

/* ═══════════════════════════════════════════════════════════════════════════════
   ENHANCEMENTS — Glass · Spotlight · 3D Tilt · Magnetic
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ── Glassmorphism blur + noise ─────────────────────────────────────────────── */
.p2-glass {
  position: relative;
  background: rgba(255,255,255,0.035) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(186, 109, 81, 0.20) !important;
  overflow: hidden;
  transition:
    background 0.55s var(--ease-out),
    backdrop-filter 0.55s var(--ease-out),
    -webkit-backdrop-filter 0.55s var(--ease-out),
    border-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    transform 0.5s var(--ease-out);
}
/* Noise overlay on glass — clears on hover */
.p2-glass::after {
  content: '';
  position: absolute; inset: 0;
  background-image: var(--noise);
  background-size: 300px 300px;
  mix-blend-mode: soft-light;
  opacity: 0.06;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out);
  z-index: 0;
}
.p2-glass > * { position: relative; z-index: 1; }

/* Hover: copper stroke only — no glow, no jump */
.p2-glass:hover {
  background: rgba(255,255,255,0.055) !important;
  border-color: var(--copper) !important;
  box-shadow: none !important;
}
.p2-glass:hover::after { opacity: 0.06; }

/* Glass voice cards (dark background) */
/* Elegant voice cards — clean frosted surface, no heavy noise slab */
.p2-voice-card.p2-glass {
  border-radius: 18px;
  cursor: default;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: rgba(255,255,255,0.035) !important;
  border: 1px solid rgba(186,109,81,0.20) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: none !important;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
/* whisper of texture instead of the heavy overlay slab */
.p2-voice-card.p2-glass::after { opacity: 0.05 !important; mix-blend-mode: soft-light; }
/* hover: copper stroke only — no glow, no jump */
.p2-voice-card.p2-glass:hover {
  background: rgba(255,255,255,0.055) !important;
  border-color: var(--copper) !important;
  box-shadow: none !important;
  transform: none !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.p2-voice-card.p2-glass .p2-voice-card__mark { color: var(--copper); opacity: 0.9; }
.p2-voice-card.p2-glass p { color: rgba(251,246,245,0.82); }
.p2-voice-card.p2-glass .p2-voice-card__name { color: var(--light); }
.p2-voice-card.p2-glass .p2-voice-card__role { color: var(--copper); }
.p2-voice-card.p2-glass footer { border-block-start-color: rgba(251,246,245,0.10); }

/* Glass spec + stat cards */
.p2-spec.p2-glass { border-radius: 10px; will-change: transform; }
.p2-stat.p2-glass {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 14px;
  will-change: transform;
}

/* ── Mouse spotlight ─────────────────────────────────────────────────────────── */
.p2-spotlight-container { isolation: isolate; }
.p2-spotlight {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.p2-spotlight-container > *:not(.p2-spotlight) { position: relative; z-index: 1; }

/* ── Active dot pulse ────────────────────────────────────────────────────────── */
.p2-tl-item--active .p2-tl-item__dot {
  animation: activePulse 2s ease-in-out infinite;
}
@keyframes activePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(186,109,81,0.2); }
  50%       { box-shadow: 0 0 0 8px rgba(186,109,81,0.08); }
}

/* ── Reduced Motion ─────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .p2-reveal-up, .p2-reveal-lines, .p2-word {
    opacity: 1 !important; transform: none !important;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Mobile ─────────────────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .p2-prelude { grid-template-columns: 1fr; min-height: auto; }
  .p2-prelude__media { height: 50svh; }
  .p2-equipment__inner { grid-template-columns: 1fr; }
  .p2-ahead__inner { grid-template-columns: 1fr; }
  .p2-numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .p2-beyond-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .p2-nav { display: none; }
  .p2-hamburger { display: flex; }
  .p2-voices-grid { grid-template-columns: 1fr; }
  .p2-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .p2-split-media { grid-template-rows: 1fr 1fr; height: clamp(380px, 55vh, 480px); }
  .p2-bigquote p { font-size: 1.05rem; }
  .p2-timeline { display: none; }
}
@media (max-width: 480px) {
  .p2-numbers-grid { grid-template-columns: 1fr 1fr; }
  .p2-specs { flex-direction: column; gap: 1rem; }
}
