/* ============================================================
   FORGE NXT — style.css v4
   ============================================================ */

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

:root {
  --navy:       #0D2244;
  --blue-dark:  #1A4B8A;
  --blue:       #2563BC;
  --blue-mid:   #3B82F6;
  --blue-light: #93C5FD;
  --blue-pale:  #EBF2FF;
  --blue-xpale: #F5F8FF;
  --green:      #22C55E;
  --green-pale: #DCFCE7;
  --steel-950:  #0F1117;
  --steel-900:  #181C26;
  --steel-800:  #232835;
  --steel-700:  #363C4E;
  --steel-600:  #4E5568;
  --steel-500:  #6B7390;
  --steel-400:  #8C94AD;
  --steel-300:  #B4BAC8;
  --steel-200:  #D4D8E2;
  --steel-100:  #ECEEF3;
  --steel-50:   #F4F5F8;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --bg-body:    var(--off-white);
  --text-dark:  #1A1E2E;
  --text-mid:   var(--steel-600);
  --text-light: var(--steel-400);
  --radius-pill: 9999px;
  --radius-lg:   1rem;
  --radius-md:   0.5rem;
  --radius-xl:   1.5rem;
  --shadow-sm: 0 1px 4px rgba(13,34,68,.07),0 1px 2px rgba(13,34,68,.05);
  --shadow-md: 0 4px 20px rgba(13,34,68,.11),0 2px 8px rgba(13,34,68,.07);
  --shadow-lg: 0 12px 48px rgba(13,34,68,.16),0 4px 16px rgba(13,34,68,.09);
  --shadow-xl: 0 24px 80px rgba(13,34,68,.22),0 8px 24px rgba(13,34,68,.12);
  --max-w: 1200px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--bg-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  /* Fix mobile horizontal scroll / white borders */
  overflow-x: hidden;
  max-width: 100vw;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── ACCESSIBILITY ───────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  background: var(--blue); color: white; padding: .5rem 1.25rem;
  border-radius: var(--radius-pill); font-family: 'Sora',sans-serif;
  font-size: .8rem; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
*:focus-visible { outline: 2px solid var(--blue-mid); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  html { scroll-behavior: auto; }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Sora',sans-serif; font-weight: 600; line-height: 1.1; color: var(--navy); }
h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.15rem; }

.label {
  font-family: 'Sora',sans-serif; font-size: .7rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--blue);
  margin-bottom: .75rem; display: block;
}
.label-light { color: var(--blue-light); }
.label-green  { color: var(--green); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
section { padding: 8rem 0; }
.section-header { margin-bottom: 4.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.rule-blue { width: 40px; height: 2px; background: var(--blue); margin: 1.5rem 0; border-radius: 99px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Sora',sans-serif; font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; border-radius: var(--radius-pill); padding: .85rem 2.1rem;
  transition: all .28s ease; cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,188,.35); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ── HERO BRAND — large dominant FORGE NXT on first load ─── */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.9s forwards 0.1s;
}
.hero-brand-mark { flex-shrink: 0; }
.hero-fn-logo {
  width: clamp(52px, 7vw, 78px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(59,130,246,0.55));
}
.hero-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 80px rgba(59,130,246,0.4), 0 2px 40px rgba(0,0,0,0.4);
}
.hero-brand-sub {
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.58rem, 1vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
  opacity: 0.9;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#nav.solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--steel-200); border-color: var(--steel-200);
}
#nav.solid .nav-link { color: var(--steel-700); }
#nav.solid .nav-link:hover { color: var(--blue); }
#nav.solid .hamburger-line { background: var(--navy); }

.nav-inner {
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

/* FN SVG logo in nav */
.nav-logo { display: flex; align-items: center; gap: 0.6rem; }
.nav-fn-svg { height: 32px; width: auto; }
.nav-fn-dark { display: none; }
.nav-fn-light { display: block; }
#nav.solid .nav-fn-dark  { display: block; }
#nav.solid .nav-fn-light { display: none; }

.nav-wordmark {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-wordmark-light { color: rgba(255,255,255,0.92); display: block; }
.nav-wordmark-dark  { color: var(--navy); display: none; }
#nav.solid .nav-wordmark-light { display: none; }
#nav.solid .nav-wordmark-dark  { display: block; }

.nav-menu { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  font-family: 'Sora',sans-serif; font-size: .8rem; font-weight: 400;
  letter-spacing: .04em; color: rgba(255,255,255,.82); transition: color .25s;
  position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--blue-mid);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none; z-index: 1100;
}
.hamburger-line { width: 24px; height: 1.5px; background: white; transition: all .3s ease; display: block; }
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--navy); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--navy); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1050;
  background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  opacity: 0; pointer-events: none; transform: translateY(-16px);
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-link { font-family: 'Sora',sans-serif; font-size: 1.8rem; font-weight: 300; color: var(--navy); transition: color .2s; }
.mobile-link:hover { color: var(--blue); }

/* ── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 9rem; padding-bottom: 4rem; background: var(--steel-950);
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(13,34,68,.08) 0%, rgba(13,34,68,.05) 35%, rgba(13,34,68,.55) 72%, rgba(13,34,68,.92) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); }
.hero-title { color: var(--white); margin-bottom: 1.75rem; opacity: 0; animation: fadeUp 1s forwards .55s; font-weight: 700; }
.hero-title span { color: var(--blue-light); }
.hero-rule { width: 56px; height: 2px; background: var(--blue); margin-bottom: 1.75rem; opacity: 0; animation: fadeIn .8s forwards .75s; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.72); max-width: 500px; margin-bottom: 2.75rem; line-height: 1.85; opacity: 0; animation: fadeUp .9s forwards .8s; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s forwards 1s; }

/* ── STATS ───────────────────────────────────────────────── */
#stats { background: var(--steel-900); padding: 3.5rem 0; border-bottom: 1px solid var(--steel-800); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-num { font-family: 'Sora',sans-serif; font-size: 2.4rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: .5rem; }
.stat-num .accent { color: var(--blue-light); }
.stat-label { font-size: .78rem; color: var(--steel-400); letter-spacing: .07em; text-transform: uppercase; }

/* ── ABOUT — true side-by-side split ─────────────────────── */
#what { padding: 0; overflow: hidden; }

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* LEFT: dark panel, canvas fills it */
.about-left {
  position: relative;
  background: var(--steel-950);
  overflow: hidden;
  min-height: 600px;
}
.about-left canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* RIGHT: clean white panel, normal text */
.about-right {
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 7rem 4.5rem 7rem 5rem;
  border-left: 1px solid var(--steel-100);
}
.about-text-col { width: 100%; }
.about-text-col .label  { color: var(--blue); }
.about-text-col h2      { color: var(--navy); }
.about-text-col .what-body { color: var(--text-mid); font-size: 1rem; line-height: 1.9; margin-bottom: 1.5rem; }
.about-text-col .point-text { color: var(--text-mid); }
.about-text-col .point-text strong { color: var(--text-dark); }
.about-text-col .point-dot { background: var(--blue); }
.about-text-col .what-points { margin-bottom: 0; }

/* ── DIVISION HEADER (shared Advisory + Technology) ──────── */
.division-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}
.division-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.division-fn-logo { height: 48px; width: auto; }
.division-header h2 { color: var(--white); font-size: clamp(2rem,4vw,3.2rem); }
.division-header p {
  color: var(--steel-400); max-width: 560px; margin: 1.25rem auto 0;
  font-size: 1rem; line-height: 1.8;
}

/* Advisory header on light bg */
#advisory .division-header h2 { color: var(--navy); }
#advisory .division-header p { color: var(--text-mid); }

/* ── SERVICE GRID (2-col) ────────────────────────────────── */
.branch-services-full {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  position: relative; z-index: 1;
}
.branch-service {
  display: flex; align-items: flex-start; gap: .85rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  transition: background .25s, border-color .25s;
}
.branch-service:hover { background: rgba(255,255,255,.07); border-color: rgba(147,197,253,.22); }
.advisory-service { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.advisory-service:hover { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.25); }
.branch-service-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-pill);
  background: rgba(37,99,188,.25); display: flex; align-items: center; justify-content: center;
}
.advisory-icon { background: var(--green-pale); }
.branch-service-icon svg { width: 18px; height: 18px; }
.branch-service-text h4 {
  font-family: 'Sora',sans-serif; font-size: .85rem; font-weight: 600;
  color: var(--white); letter-spacing: .02em; margin-bottom: .3rem;
}
.advisory-service .branch-service-text h4 { color: var(--navy); }
.branch-service-text p { font-size: .82rem; color: var(--steel-400); line-height: 1.6; }
.advisory-service .branch-service-text p { color: var(--text-mid); }

/* ── ADVISORY SECTION ────────────────────────────────────── */
#advisory {
  background: #080f1a;
  padding: 9rem 0;
  position: relative; overflow: hidden;
  border-top: none;
}
#advisory-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
#advisory .container {
  position: relative; z-index: 2;
}
#advisory .division-header h2 { color: var(--white); }
#advisory .division-header p  { color: var(--steel-400); }

/* ── TECHNOLOGY SECTION ──────────────────────────────────── */
#technology {
  background: #071428;
  padding: 9rem 0;
  position: relative; overflow: hidden;
}
#tech-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
#technology .container { position: relative; z-index: 1; }

/* ── APPROACH (4 cards) ──────────────────────────────────── */
#how { background: var(--steel-50); border-top: 1px solid var(--steel-200); }
#how .grid-4 { overflow: visible; }
.principle-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.5rem 2rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--steel-200);
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .35s ease;
  /* ensure visible even if GSAP hasn't fired */
  opacity: 1 !important;
}
.principle-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-mid));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.principle-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.principle-card:hover::before { transform: scaleX(1); }
.principle-num { font-family: 'Sora',sans-serif; font-size: 3rem; font-weight: 700; color: var(--steel-100); line-height: 1; margin-bottom: 1.5rem; }
.principle-card h3 { color: var(--navy); margin-bottom: .75rem; font-size: 1rem; }
.principle-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.78; }

/* ── LEADERSHIP ──────────────────────────────────────────── */
#leadership { background: var(--white); border-top: 1px solid var(--steel-200); }
.leader-card {
  display: grid; grid-template-columns: 380px 1fr;
  align-items: start;
  background: var(--off-white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.leader-photo {
  position: relative; background: var(--steel-800); min-height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.photo-placeholder-label {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  color: var(--steel-500); font-family: 'Sora',sans-serif; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 2rem;
  position: relative; z-index: 1;
}
.leader-photo-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(13,34,68,.7); backdrop-filter: blur(8px);
  color: var(--white); font-family: 'Sora',sans-serif;
  font-size: .65rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(147,197,253,.25); z-index: 2;
}
.leader-info { padding: 3.5rem; }
.leader-name { font-family: 'Sora',sans-serif; font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; line-height: 1.15; }
.leader-title { font-size: .82rem; font-weight: 500; color: var(--steel-500); letter-spacing: .05em; margin-bottom: 1rem; text-transform: uppercase; }
.leader-linkedin {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Sora',sans-serif; font-size: .78rem; font-weight: 600;
  color: var(--blue); letter-spacing: .03em; margin-bottom: 1.5rem;
  padding: .4rem .9rem; border: 1px solid var(--blue-light);
  border-radius: var(--radius-pill); background: var(--blue-xpale);
  transition: background .2s, border-color .2s, transform .2s;
}
.leader-linkedin:hover { background: var(--blue-pale); border-color: var(--blue); transform: translateY(-1px); }
.leader-linkedin svg { flex-shrink: 0; color: #0A66C2; }
.leader-divider { width: 36px; height: 2px; background: var(--steel-200); margin-bottom: 1.75rem; border-radius: 99px; }
.leader-bio { font-size: .96rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1.1rem; }
.leader-stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem;
  margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--steel-200);
}
.leader-stat-num { font-family: 'Sora',sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .3rem; }
.leader-stat-num .accent { color: var(--blue); }
.leader-stat-label { font-size: .72rem; color: var(--text-light); letter-spacing: .05em; text-transform: uppercase; }

/* ── CONTACT ─────────────────────────────────────────────── */
#contact {
  background: var(--steel-950); position: relative; overflow: hidden;
  min-height: 55vh; display: flex; flex-direction: column; justify-content: center;
}
#contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.contact-inner { padding: 7rem 0; text-align: center; position: relative; z-index: 1; }
.contact-inner h2 { color: var(--white); margin-bottom: 1.25rem; }
.contact-inner h2 span { color: var(--blue-light); }
.contact-sub { font-size: 1rem; color: var(--steel-400); max-width: 460px; margin: 0 auto 2.75rem; line-height: 1.85; }
.contact-email { margin-top: 2rem; font-size: .82rem; color: var(--steel-500); letter-spacing: .05em; }
.contact-email a { color: var(--blue-light); transition: color .2s; }
.contact-email a:hover { color: var(--white); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #060A14; border-top: 1px solid rgba(255,255,255,.04); }
.footer-inner { padding: 2.5rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.footer-logo-link { display: flex; align-items: center; gap: .6rem; }
.footer-wordmark { font-family: 'Sora',sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.footer-branches { display: flex; gap: 1rem; align-items: center; }
.footer-branch-tag { font-family: 'Sora',sans-serif; font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-600); border: 1px solid var(--steel-800); padding: .25rem .75rem; border-radius: var(--radius-pill); }
.footer-branch-advisory { color: var(--green); border-color: rgba(34,197,94,.3); }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a { font-family: 'Sora',sans-serif; font-size: .75rem; letter-spacing: .08em; color: var(--steel-600); transition: color .2s; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { width: 100%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.04); margin-top: .5rem; }
.footer-copy { font-size: .75rem; color: var(--steel-700); letter-spacing: .06em; }
.footer-disclaimer a { font-family: 'Sora',sans-serif; font-size: .72rem; color: var(--steel-600); letter-spacing: .05em; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.footer-disclaimer a:hover { color: var(--steel-300); }

/* ── ANIMATIONS ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { to { opacity:1; } }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .branch-services-full { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 340px; }
  .leader-info { padding: 2.5rem; }
  .about-split { grid-template-columns: 1fr; }
  .about-left  { min-height: 50vw; }
  .about-right { padding: 4rem 3rem; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 5rem 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .leader-stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { justify-content: center; }
  .about-split { grid-template-columns: 1fr; }
  .about-left  { min-height: 60vw; }
  .about-right { padding: 3rem 1.5rem; border-left: none; border-top: 1px solid var(--steel-100); }
  .hero-brand-name { font-size: clamp(1.8rem, 10vw, 2.8rem); }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .leader-info { padding: 1.75rem; }
  .leader-stats { grid-template-columns: 1fr 1fr; }
}

/* ── DISCLAIMER MODAL ────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 8000;
  background: rgba(9,11,17,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: modalFadeIn 0.3s ease forwards;
}
.modal-backdrop[hidden] { display: none; }

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-panel {
  background: var(--steel-900);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 680px;
  max-height: 85vh;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: modalSlideUp 0.35s cubic-bezier(0.22,1,0.36,1) forwards;
}

@keyframes modalSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--steel-800);
  position: relative; flex-shrink: 0;
}
.modal-title {
  font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: var(--white); margin-bottom: .25rem; line-height: 1.2;
}
.modal-sub {
  font-size: .78rem; color: var(--steel-500); letter-spacing: .06em;
  text-transform: uppercase; font-family: 'Sora', sans-serif;
}
.modal-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--steel-800); border: 1px solid var(--steel-700);
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--steel-400);
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--steel-700); color: var(--white); }
.modal-close svg { width: 16px; height: 16px; }

.modal-body {
  padding: 1.75rem 2rem 2rem;
  overflow-y: auto;
  flex: 1;
}
.modal-body::-webkit-scrollbar { width: 4px; }
.modal-body::-webkit-scrollbar-track { background: var(--steel-900); }
.modal-body::-webkit-scrollbar-thumb { background: var(--steel-700); border-radius: 2px; }

.modal-notice {
  background: rgba(245,197,24,0.08); border: 1px solid rgba(245,197,24,0.2);
  border-radius: var(--radius-md); padding: .85rem 1rem;
  font-size: .8rem; color: #d4a829; line-height: 1.6; margin-bottom: 1.75rem;
}
.modal-notice strong { font-weight: 600; }

.modal-section { margin-bottom: 1.5rem; }
.modal-section h3 {
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600;
  color: var(--white); margin-bottom: .5rem; letter-spacing: .04em;
  padding-bottom: .4rem; border-bottom: 1px solid var(--steel-800);
}
.modal-section p { font-size: .85rem; color: var(--steel-400); line-height: 1.8; }
.modal-section a { color: var(--blue-light); }
.modal-section a:hover { color: var(--white); }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: calc(100% - 3rem);
  max-width: 820px;
  background: rgba(15, 17, 23, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--steel-700);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.3);
  padding: 1.5rem 1.75rem;
  animation: cookieSlideUp 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}

.cookie-banner[hidden] { display: none; }

@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.cookie-banner-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  color: var(--blue-light);
  opacity: 0.8;
  margin-top: 2px;
}

.cookie-banner-icon svg { width: 100%; height: 100%; }

.cookie-banner-title {
  font-family: 'Sora', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.cookie-banner-desc {
  font-size: 0.78rem;
  color: var(--steel-400);
  line-height: 1.65;
}

.cookie-banner-desc a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-banner-desc a:hover { color: var(--white); }

.cookie-banner-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: 'Sora', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.cookie-btn-accept:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,99,188,0.4);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--steel-400);
  border-color: var(--steel-700);
}

.cookie-btn-decline:hover {
  color: var(--white);
  border-color: var(--steel-400);
  background: rgba(255,255,255,0.04);
}

@media (max-width: 600px) {
  .cookie-banner { bottom: 0; left: 0; right: 0; transform: none; width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .cookie-banner[hidden] { display: none; }
  @keyframes cookieSlideUp {
    from { opacity:0; transform: translateY(20px); }
    to   { opacity:1; transform: translateY(0); }
  }
  .cookie-banner-inner { flex-direction: column; gap: 1.25rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
