/* ════════════════════════════════════════════════════════════════════
   BILAL AHMAD — PORTFOLIO STYLESHEET
   Design system: "Deep Navy / Cream / Aqua"
   Executive identity: deep-sea navy surfaces, warm cream type,
   aqua glow accents, animated border lights, fluid motion.

   CONTENTS
   01 Reset & base        12 Glass card primitive   23 Certifications
   02 Design tokens        13 About                  24 Testimonials
   03 Typography           14 Story/timeline         25 Showcase + lightbox
   04 Layout utilities     15 Mission & vision        26 Contact
   05 Custom cursor        16 Services                27 Footer
   06 Ambient backgrounds  17 Solutions               28 FAB buttons
   07 Buttons              18 Process                 29 Scroll-reveal
   08 Navigation           19 Portfolio + modal        30 Responsive
   09 Hero                 20 Ventures                 31 Motion/accessibility
   10 Marquee              21 Partners
   11 Stats
   ════════════════════════════════════════════════════════════════════ */

/* ── 01. RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; }
ul, ol { list-style: none; }
a { color: inherit; }

/* ── 02. DESIGN TOKENS ── */
:root {
  --bg: #0C1B2E;            /* deep executive navy — from banner */
  --bg-alt: #0F2038;        /* nav / header / footer navy */
  --surf: #142844;          /* card surface — mid navy */
  --surf-2: #1A3052;        /* slightly lighter card */
  --glass: rgba(18, 38, 68, 0.70);
  --glass-2: rgba(22, 44, 76, 0.84);
  --line: rgba(212, 190, 140, 0.18);   /* champagne gold line */
  --line-strong: rgba(212, 190, 140, 0.38);
  --gold: #C9A96E;          /* champagne gold — exact from banner */
  --gold-bright: #D4BE8C;   /* light champagne */
  --gold-deep: #8A6A35;     /* deep bronze-gold */
  --aqua: #C9A96E;          /* gold doubles as interactive accent */
  --aqua-bright: #D4BE8C;
  --ink: #EDE8DE;           /* warm near-white text */
  --mute: #7080A0;          /* muted blue-grey */
  --mute-2: #3D5070;
  --shadow: rgba(0, 5, 20, 0.82);
  --glow: rgba(201, 169, 110, 0.30);
  --glow-warm: rgba(212, 190, 140, 0.16);
  --success: #7AB892;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', Menlo, monospace;

  --ease: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-pill: 999px;
  color-scheme: dark;
}

html.light {
  --bg: #F5F0E8;
  --bg-alt: #EBE4D6;
  --surf: #FFFFFF;
  --surf-2: #FAF7F2;
  --glass: rgba(12, 27, 46, 0.05);
  --glass-2: rgba(12, 27, 46, 0.09);
  --line: rgba(28, 53, 75, 0.16);       /* navy lines */
  --line-strong: rgba(28, 53, 75, 0.34);
  --gold: #1C354B;           /* banner's solid navy — used for accent labels & icons */
  --gold-bright: #0C1B2E;    /* deepest navy for important numbers */
  --gold-deep: #0A1628;
  --aqua: #1C354B;
  --aqua-bright: #0C1B2E;
  --ink: #0C1B2E;
  --mute: #3A5070;
  --mute-2: #7080A0;
  --shadow: rgba(12, 27, 46, 0.12);
  --glow: rgba(28, 53, 75, 0.18);
  --glow-warm: rgba(12, 27, 46, 0.06);
  --success: #2A6A48;
  color-scheme: light;
}

/* Light mode: buttons keep champagne gold, text stays ivory */
html.light .btn-gold {
  background: linear-gradient(135deg, #D4BE8C, #C9A96E) !important;
  color: #0C1B2E !important;
}
html.light .fab-cal {
  background: linear-gradient(135deg, #D4BE8C, #C9A96E) !important;
  color: #0C1B2E !important;
}
/* Scrollbar and selection use navy in light mode */
html.light ::-webkit-scrollbar-thumb { background: rgba(28,53,75,0.30); }
html.light ::selection { background: #1C354B; color: #F5F0E8; }

body, nav, .glass, .modal-box { transition: background-color .4s var(--ease-soft), border-color .4s var(--ease-soft), color .4s var(--ease-soft), box-shadow .4s var(--ease-soft); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  cursor: auto;
}
@media (hover: none), (pointer: coarse) { body { cursor: auto; } }
section { position: relative; z-index: 1; }

/* ── 03. TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
p { line-height: 1.7; }
.eyebrow {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); display: inline-block; }
.pill-tag {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.2rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--glass);
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.06; color: var(--ink); margin: .7rem 0 1.1rem; letter-spacing: -0.01em;
}
.section-sub { font-family: var(--font-body); color: var(--mute); font-size: 1rem; max-width: 640px; line-height: 1.75; font-weight: 300; }
.hr-gold { width: 64px; height: 2px; margin-top: 1.6rem; background: linear-gradient(90deg, var(--gold), transparent); border-radius: 2px; }
.gold-text { color: var(--gold); }

/* ── 04. LAYOUT UTILITIES ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 3.25rem; }
.wrap-narrow { max-width: 1040px; margin: 0 auto; padding: 0 3.25rem; }
.section { padding: 7.5rem 0; }
.section-alt { padding: 7.5rem 0; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center .section-sub { margin-inline: auto; }
.center .eyebrow, .center .pill-tag { justify-content: center; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }

/* ── 05. CUSTOM CURSOR ── */
#cursor-dot, #cursor-ring { display: none !important; }
#cursor-dot { width: 8px; height: 8px; background: var(--gold); transition: transform .15s var(--ease), background .2s; }
#cursor-ring { width: 34px; height: 34px; border: 1px solid var(--line-strong); transition: transform .12s ease-out, border-color .2s, width .2s, height .2s; }
body.cursor-hover #cursor-dot { transform: translate(-50%,-50%) scale(2); background: var(--gold-bright); }
body.cursor-hover #cursor-ring { border-color: var(--gold); }


/* ── 06. AMBIENT BACKGROUNDS ── */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px; opacity: .35;
  mask-image: linear-gradient(to bottom, black, black 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, black 40%, transparent 85%);
}
html.light .grid-bg { opacity: .55; }
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; mix-blend-mode: screen; }
html.light .aurora span { mix-blend-mode: multiply; opacity: .06; }
.aurora .a1 { width: 46vw; height: 46vw; top: -14%; left: -8%; background: radial-gradient(circle, #4A3010 0%, transparent 70%); animation: drift1 26s ease-in-out infinite; }
.aurora .a2 { width: 38vw; height: 38vw; top: 18%; right: -10%; background: radial-gradient(circle, #0F2038 0%, transparent 70%); animation: drift2 32s ease-in-out infinite; }
.aurora .a3 { width: 30vw; height: 30vw; bottom: -10%; left: 30%; background: radial-gradient(circle, #8A5A20 0%, transparent 70%); animation: drift3 22s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(6%, 8%) scale(1.12); } }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-8%, 6%) scale(.92); } }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(4%, -10%) scale(1.08); } }
.crest-watermark { position: absolute; opacity: .05; pointer-events: none; animation: spin-slow 90s linear infinite; }
html.light .crest-watermark { opacity: .07; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.foil { position: relative; overflow: hidden; isolation: isolate; }
.foil::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none;
}
.foil:hover::after { transform: translateX(120%); }

/* ── 07. BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .95rem 2.1rem; border-radius: var(--r-pill); text-decoration: none; font-weight: 500;
  cursor: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  border: 1px solid transparent; white-space: nowrap;
}
@media (hover: none), (pointer: coarse) { .btn { cursor: pointer; } }
.btn-gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--bg); position: relative; overflow: hidden; animation: btn-breathe 3.5s ease-in-out infinite; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px var(--glow-warm), 0 0 50px -10px var(--aqua); animation: none; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--ink); overflow: hidden; }
.btn-outline:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-3px); box-shadow: 0 0 22px -4px var(--glow), 0 8px 30px var(--shadow); }
.btn-ghost { background: transparent; color: var(--mute); padding: .95rem 1rem; overflow: hidden; }
.btn-ghost:hover { color: var(--aqua); }
.btn-sm { padding: .6rem 1.3rem; font-size: .65rem; }
.btn-block { width: 100%; }

/* ── 08. NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 3.25rem;
  background: color-mix(in srgb, var(--bg-alt) 94%, transparent);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s;
}
nav.scrolled { padding: .85rem 3.25rem; }
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav-brand svg { width: 30px; height: 30px; flex-shrink: 0; }
.nav-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--ink); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); text-decoration: none; position: relative; padding-bottom: 4px; }
.nav-links a::after { content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--glass); color: var(--gold); display: flex; align-items: center; justify-content: center;
  cursor: none; transition: border-color .25s, transform .25s;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(20deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
html.light .theme-toggle .icon-sun { display: none; }
html.light .theme-toggle .icon-moon { display: block; }
.nav-ham { display: none; width: 38px; height: 38px; cursor: none; flex-direction: column; justify-content: center; gap: 5px; }
.nav-ham span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; margin: 0 auto; }
.nav-ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px); background: var(--bg); border-left: 1px solid var(--line); z-index: 290; transform: translateX(100%); transition: transform .45s var(--ease); padding: 6.5rem 2.2rem 2rem; display: flex; flex-direction: column; gap: 1.6rem; }
.nav-mobile-panel.open { transform: translateX(0); }
.nav-mobile-panel a { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.nav-scrim { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 280; opacity: 0; pointer-events: none; transition: opacity .4s; }
.nav-scrim.open { opacity: 1; pointer-events: auto; }

/* ── 09. HERO ── */
#hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-top: 80px; }
.hero-crest { width: 620px; height: 620px; top: 50%; left: 50%; transform: translate(-50%,-46%); }
.hero-inner { position: relative; z-index: 2; max-width: 980px; text-align: center; padding: 2rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-strong); padding: .5rem 1.2rem; border-radius: var(--r-pill); margin-bottom: 2.2rem; background: var(--glass); opacity: 0; animation: rise .8s .15s forwards; }
.hero-tag .dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--success); animation: pulse-live 2s infinite; }
@keyframes pulse-live { 0%{box-shadow:0 0 0 0 rgba(127,174,142,.55);} 70%{box-shadow:0 0 0 7px rgba(127,174,142,0);} 100%{box-shadow:0 0 0 0 rgba(127,174,142,0);} }
h1.hero-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 11vw, 9.5rem); line-height: .94; color: var(--ink); letter-spacing: -0.01em; opacity: 0; animation: rise .9s .3s forwards; }
.hero-role { font-family: var(--font-body); font-weight: 500; font-size: clamp(.95rem, 1.6vw, 1.2rem); color: var(--gold); margin: 1.2rem 0 .9rem; opacity: 0; animation: rise .8s .48s forwards; }
.hero-desc { font-size: .92rem; color: var(--mute); max-width: 520px; margin: 0 auto 2.4rem; line-height: 1.9; font-weight: 300; opacity: 0; animation: rise .8s .62s forwards; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; animation: rise .8s .76s forwards; }
.scroll-cue { position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-2); opacity: 0; animation: rise .8s 1.05s forwards; }
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--gold), transparent); animation: scroll-pulse 2s ease-in-out infinite; }
@keyframes scroll-pulse { 0%,100%{ opacity:.3; } 50%{ opacity:1; } }
@keyframes rise { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform: translateY(0); } }

/* ── 10. MARQUEE ── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.15rem 0; background: var(--bg-alt); }
.marquee-track { display: flex; gap: 3.2rem; white-space: nowrap; animation: scroll-x 32s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: .8rem; }
.marquee-item .sep { color: var(--gold); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── 11. STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.stat-card { padding: 1.9rem 1.3rem; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.5rem); color: var(--gold); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: .6rem; line-height: 1.5; }

/* ── 12. GLASS CARD PRIMITIVE ── */
.glass {
  position: relative;
  background: linear-gradient(160deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 20px 50px -25px var(--shadow);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .4s;
}
.glass::before {
  content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  border-radius: 1px;
}
.glass-hover:hover { border-color: var(--line-strong); transform: translateY(-6px); box-shadow: 0 34px 70px -25px var(--shadow), 0 0 40px -10px var(--glow); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* ── 13. ABOUT ── */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 4.5rem; align-items: start; margin-top: 3.5rem; }
.about-photo-wrap { position: relative; }
.about-photo-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); }
.about-photo-frame img { aspect-ratio: 4/5; object-fit: cover; }
.about-photo-frame::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); }
.corner { position: absolute; width: 26px; height: 26px; border-color: var(--gold); opacity: .8; }
.corner.tl { top: -10px; left: -10px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.corner.br { bottom: -10px; right: -10px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.about-fact-row { display: flex; gap: .8rem; margin-top: 1.6rem; }
.fact-card { flex: 1; padding: 1rem .9rem; text-align: center; }
.fact-num { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.4rem; }
.fact-label { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-top: .3rem; }
.about-body p { color: var(--mute); font-size: .98rem; margin-bottom: 1.2rem; font-weight: 300; }
.about-body p:first-of-type { color: var(--ink); font-size: 1.18rem; font-weight: 400; font-family: var(--font-display); line-height: 1.5; }
.about-btns { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ── 14. STORY / TIMELINE / ROADMAP ── */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; }
.skill-chip-grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.skill-chip { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .04em; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); color: var(--mute); background: var(--glass); }
.edu-card { margin-top: 1.8rem; padding: 1.4rem 1.5rem; }
.edu-card .deg { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.edu-card .sch { color: var(--gold); font-size: .85rem; margin-top: .2rem; }
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content:''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(to bottom, var(--gold), var(--line) 90%); }
.tl-item { position: relative; padding-bottom: 2.2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -2.2rem; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.tl-card { padding: 1.3rem 1.5rem; }
.tl-period { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.tl-role { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); margin: .35rem 0 .2rem; }
.tl-org { color: var(--mute); font-size: .85rem; margin-bottom: .5rem; }
.tl-desc { color: var(--mute); font-size: .87rem; font-weight: 300; }
.roadmap-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.rm-node { text-align: center; padding: 1.5rem 1rem; position: relative; }
.rm-node .rm-num { font-family: var(--font-mono); color: var(--gold); font-size: .7rem; letter-spacing: .1em; }
.rm-node .rm-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin: .5rem 0 .4rem; font-size: 1rem; }
.rm-node .rm-desc { color: var(--mute); font-size: .8rem; font-weight: 300; line-height: 1.6; }

/* ── 15. MISSION & VISION ── */
.mv-quote { padding: 3rem clamp(1.5rem, 5vw, 4rem); text-align: center; max-width: 880px; margin: 0 auto 4.5rem; position: relative; }
.mv-quote .qmark { font-family: var(--font-display); font-size: 5rem; color: var(--gold); opacity: .5; line-height: 0; display: block; margin-bottom: .5rem; }
.mv-quote p { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.7rem); color: var(--ink); line-height: 1.55; }
.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.mv-card { padding: 2rem 1.8rem; }
.mv-card .mv-icon { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--glass-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 1.2rem; }
.mv-card .mv-icon svg { width: 22px; height: 22px; }
.mv-card h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: .6rem; }
.mv-card p { color: var(--mute); font-size: .87rem; font-weight: 300; }

/* ── 16. SERVICES ── */
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.srv-card { padding: 2.2rem 2rem; }
.srv-num { font-family: var(--font-mono); color: var(--line-strong); font-size: .85rem; letter-spacing: .05em; }
.srv-card h3 { font-size: 1.2rem; color: var(--ink); margin: 1rem 0 .7rem; }
.srv-card p { color: var(--mute); font-size: .88rem; font-weight: 300; margin-bottom: 1.2rem; }
.srv-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.srv-tags span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em; color: var(--gold); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: var(--r-pill); }

/* ── 17. SOLUTIONS ── */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 3rem; }
.sol-card { padding: 1.6rem 1.5rem; }
.sol-card .sol-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.sol-card .sol-icon { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--glass-2); display: flex; align-items: center; justify-content: center; color: var(--gold); }
.sol-card .sol-icon svg { width: 18px; height: 18px; }
.sol-card .sol-n { font-family: var(--font-mono); color: var(--line-strong); font-size: .8rem; }
.sol-card h4 { font-size: .98rem; color: var(--ink); margin-bottom: .5rem; }
.sol-card p { color: var(--mute); font-size: .8rem; font-weight: 300; line-height: 1.6; }
.outcome-banner { margin-top: 3rem; padding: 2.3rem 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.outcome-banner p { color: var(--mute); font-size: .95rem; max-width: 560px; font-weight: 300; }
.outcome-banner strong { color: var(--gold); font-family: var(--font-display); }

/* ── 18. PROCESS ── */
.proc-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3.5rem; position: relative; }
.proc-track::before { content:''; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: var(--line); display: none; }
@media (min-width: 901px) { .proc-track::before { display: block; } }
.proc-step { text-align: center; padding: 0 1rem; }
.proc-step .proc-num { width: 56px; height: 56px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--surf); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.2rem; position: relative; z-index: 1; }
.proc-step h4 { font-size: 1.02rem; color: var(--ink); margin-bottom: .6rem; }
.proc-step p { color: var(--mute); font-size: .85rem; font-weight: 300; line-height: 1.65; }

/* ── 19. PORTFOLIO + MODAL ── */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.pcard { overflow: hidden; cursor: none; }
@media (hover: none), (pointer: coarse) { .pcard { cursor: pointer; } }
.pcard-img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-img-wrap img { transform: scale(1.06); }
.pcard-img-wrap::after { content:''; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .4s; }
.pcard:hover .pcard-img-wrap::after { opacity: 1; }
.pcard-body { padding: 1.6rem 1.7rem 1.8rem; }
.pcard-cat { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.pcard-body h3 { font-size: 1.12rem; color: var(--ink); margin: .6rem 0 .6rem; line-height: 1.3; }
.pcard-body p { color: var(--mute); font-size: .85rem; font-weight: 300; margin-bottom: 1.1rem; }
.pcard-metrics { display: flex; gap: 1.4rem; }
.pcard-metrics .pm { display: flex; flex-direction: column; }
.pcard-metrics .pm-val { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.15rem; }
.pcard-metrics .pm-lab { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); margin-top: .2rem; }

.modal-scrim { position: fixed; inset: 0; background: rgba(5,4,2,.72); backdrop-filter: blur(6px); z-index: 500; opacity: 0; pointer-events: none; transition: opacity .4s; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.modal-scrim.open { opacity: 1; pointer-events: auto; }
.modal-box { max-width: 720px; width: 100%; max-height: 86vh; overflow-y: auto; border-radius: var(--r-lg); background: var(--surf); border: 1px solid var(--line-strong); transform: translateY(24px) scale(.97); transition: transform .4s var(--ease); }
.modal-scrim.open .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 1.3rem; right: 1.3rem; width: 38px; height: 38px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); cursor: none; z-index: 2; }
.modal-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.modal-content { padding: 2rem 2.2rem 2.4rem; }
.modal-content .pcard-cat { display: block; margin-bottom: .5rem; }
.modal-content h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 1rem; }
.modal-content p.desc { color: var(--mute); font-size: .95rem; font-weight: 300; margin-bottom: 1.6rem; }
.modal-metrics { display: flex; gap: 2rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.modal-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.modal-tags span { font-family: var(--font-mono); font-size: .62rem; color: var(--gold); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: var(--r-pill); }

/* ── 20. VENTURES ── */
.vent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 3rem; }
.vent-card { padding: 2.1rem 2rem; }
.vent-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.vent-top h3 { font-size: 1.25rem; color: var(--ink); }
.vent-status { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--r-pill); white-space: nowrap; }
.vent-status.active { background: rgba(127,174,142,.14); color: var(--success); border: 1px solid rgba(127,174,142,.3); }
.vent-status.building { background: var(--glass-2); color: var(--gold); border: 1px solid var(--line-strong); }
.vent-card p.vdesc { color: var(--mute); font-size: .87rem; font-weight: 300; margin-bottom: 1.2rem; }
.vent-kw { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.vent-kw span { font-family: var(--font-mono); font-size: .6rem; color: var(--mute); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: var(--r-pill); }

/* ── 21. PARTNERS ── */
.partner-group-label { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); margin: 2.6rem 0 1.2rem; }
.partner-group-label:first-of-type { margin-top: 3rem; }
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.partner-badge { display: flex; align-items: center; gap: .9rem; padding: 1.2rem 1.3rem; }
.partner-mono { width: 42px; height: 42px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: .95rem; flex-shrink: 0; }
.partner-badge .pname { font-size: .88rem; color: var(--ink); font-weight: 500; line-height: 1.3; }
.partner-badge .prole { font-family: var(--font-mono); font-size: .58rem; color: var(--mute-2); margin-top: .15rem; }

/* ── 22. CERTIFICATIONS ── */
.cert-header { display: flex; align-items: center; gap: 1.2rem; justify-content: center; margin-bottom: .5rem; }
.cert-header svg { width: 48px; height: 48px; }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.6rem; margin-top: 3rem; }
.cert-col-title { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cert-row { display: flex; align-items: flex-start; gap: .6rem; padding: .55rem 0; font-size: .82rem; color: var(--mute); font-weight: 300; line-height: 1.5; }
.cert-row svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* ── 23. TESTIMONIALS ── */
.tst-filters { display: flex; gap: .7rem; justify-content: center; margin: 2.5rem 0 3rem; flex-wrap: wrap; }
.tst-filter-btn { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: .55rem 1.3rem; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--mute); cursor: none; transition: all .3s; }
@media (hover: none), (pointer: coarse) { .tst-filter-btn { cursor: pointer; } }
.tst-filter-btn.active, .tst-filter-btn:hover { border-color: var(--gold); color: var(--gold); background: var(--glass); }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tst-card { padding: 1.9rem 1.8rem; display: none; }
.tst-card.show { display: flex; flex-direction: column; }
.tst-stars { color: var(--gold); font-size: .8rem; letter-spacing: .15em; margin-bottom: 1rem; }
.tst-card p.quote { color: var(--ink); font-size: .92rem; font-weight: 300; line-height: 1.7; margin-bottom: 1.4rem; flex-grow: 1; }
.tst-foot { display: flex; align-items: center; gap: .8rem; }
.tst-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: .85rem; flex-shrink: 0; }
.tst-name { font-size: .85rem; color: var(--ink); font-weight: 500; }
.tst-role { font-family: var(--font-mono); font-size: .58rem; color: var(--mute-2); margin-top: .1rem; }
.tst-platform { margin-left: auto; font-family: var(--font-mono); font-size: .56rem; color: var(--mute-2); text-transform: uppercase; }

/* ── 24. SHOWCASE GALLERY + LIGHTBOX ── */
.sc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 3rem; }
.sc-card { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line); cursor: none; }
@media (hover: none), (pointer: coarse) { .sc-card { cursor: pointer; } }
.sc-card.sc-hidden { display: none; }
.sc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sc-card:hover img { transform: scale(1.08); }
.sc-num { position: absolute; top: .6rem; left: .7rem; font-family: var(--font-mono); font-size: .6rem; color: var(--gold-bright); background: rgba(10,9,8,.55); padding: .2rem .5rem; border-radius: var(--r-sm); z-index: 2; }
.sc-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); opacity: 0; transition: opacity .35s; }
.sc-card:hover .sc-overlay { opacity: 1; }
.sc-label { position: absolute; left: .8rem; right: .8rem; bottom: .7rem; font-size: .72rem; color: var(--ink); font-weight: 500; opacity: 0; transform: translateY(6px); transition: all .35s; z-index: 2; line-height: 1.3; }
.sc-card:hover .sc-label { opacity: 1; transform: translateY(0); }
.sc-load-row { text-align: center; margin-top: 2.6rem; }
.lightbox { position: fixed; inset: 0; background: rgba(5,4,2,.92); z-index: 600; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-img-wrap { max-width: 86vw; max-height: 78vh; }
.lightbox img { max-width: 86vw; max-height: 78vh; object-fit: contain; border-radius: var(--r-md); border: 1px solid var(--line-strong); }
.lb-cap { text-align: center; color: var(--mute); font-size: .82rem; margin-top: 1rem; font-family: var(--font-mono); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line-strong); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: none; }
.lb-prev { left: 2.2rem; } .lb-next { right: 2.2rem; }
.lb-close { position: absolute; top: 2rem; right: 2.2rem; width: 42px; height: 42px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: none; }

/* ── 25. CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info { padding: 2.4rem 2.2rem; }
.contact-info h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: .8rem; }
.contact-info p.lead { color: var(--mute); font-size: .9rem; font-weight: 300; margin-bottom: 1.8rem; }
.contact-row { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: none; }
.contact-row svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.contact-row a, .contact-row span.txt { font-size: .85rem; color: var(--ink); text-decoration: none; }
.contact-svc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.contact-svc-tags span { font-family: var(--font-mono); font-size: .58rem; color: var(--gold); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: var(--r-pill); }
.calendly-wrap { padding: .6rem; min-height: 600px; }
.calendly-wrap iframe { width: 100%; height: 600px; border: none; border-radius: var(--r-md); }

/* ── 26. FOOTER ── */
footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 4.5rem 0 0; }
.foot-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 3.5rem; }
.foot-brand { max-width: 320px; }
.foot-brand .nav-brand { margin-bottom: 1rem; }
.foot-brand p { color: var(--mute); font-size: .85rem; font-weight: 300; margin-bottom: 1.4rem; }
.foot-social { display: flex; gap: .7rem; }
.foot-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--mute); transition: border-color .3s, color .3s; text-decoration: none; }
.foot-social a:hover { border-color: var(--gold); color: var(--gold); }
.foot-social svg { width: 16px; height: 16px; }
.foot-cols { display: flex; gap: 4rem; }
.foot-col h5 { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.foot-col a { display: block; color: var(--mute); font-size: .85rem; text-decoration: none; margin-bottom: .7rem; transition: color .3s; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { border-top: 1px solid var(--line); padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot-bottom p { font-size: .78rem; color: var(--mute-2); font-weight: 300; }

/* ── 27. FLOATING ACTION BUTTONS ── */
.fab-stack { position: fixed; bottom: 2rem; right: 2rem; z-index: 250; display: flex; flex-direction: column; gap: .9rem; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: none; box-shadow: 0 12px 30px var(--shadow); transition: transform .3s var(--ease); border: 1px solid var(--line-strong); }
@media (hover: none), (pointer: coarse) { .fab { cursor: pointer; } }
.fab:hover { transform: scale(1.08) translateY(-3px); }
.fab svg { width: 24px; height: 24px; }
.fab-cal { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #1a1410; }
.fab-wa { background: #25d366; color: #0a0908; }

/* ── 28. SCROLL-REVEAL ── */
.rv, .rv2, .rv3 { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.on, .rv2.on, .rv3.on { opacity: 1; transform: translateY(0); }
.rv2 { transition-delay: .12s; }
.rv3 { transition-delay: .24s; }
#progress-bar { position: fixed; top: 0; left: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); z-index: 400; width: 0%; }

/* ── 29. RESPONSIVE ── */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .wrap, .wrap-narrow { padding: 0 1.6rem; }
  .section, .section-alt { padding: 5rem 0; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .nav-brand svg { display: none; }      /* hide crest icon — keeps name on one line */
  .nav-right .btn { display: none; }     /* hide Book a Call — mobile has hamburger */
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 300px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .vent-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .roadmap-track { grid-template-columns: repeat(2, 1fr); }
  .proc-track { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
}
@media (max-width: 620px) {
  nav { padding: 1.1rem 1.4rem; }
  nav.scrolled { padding: .75rem 1.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .sc-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .roadmap-track { grid-template-columns: 1fr; }
  .proc-track { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .outcome-banner { flex-direction: column; align-items: flex-start; }
  .foot-top { flex-direction: column; gap: 2.4rem; }
  .foot-cols { gap: 2.4rem; flex-wrap: wrap; }
  .lb-prev { left: .6rem; } .lb-next { right: .6rem; }
  .lb-btn { width: 40px; height: 40px; }
  .fab-stack { bottom: 1.2rem; right: 1.2rem; }
  .fab { width: 50px; height: 50px; }
}

/* ── 30. ACCESSIBILITY & MOTION ── */
::selection { background: var(--gold); color: #1a1410; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--gold); color: #1a1410; padding: .7rem 1.2rem; border-radius: var(--r-sm); font-family: var(--font-mono); font-size: .75rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .aurora, .crest-watermark, .marquee-track { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   32. CARD BORDER ANIMATION — gradient light on border edges ONLY
   Uses CSS mask-composite: exclude to punch out the card interior.
   The animated gradient is visible ONLY in the 2px padding rim.
   Works correctly even with semi-transparent glass cards.
   ══════════════════════════════════════════════════════════════════ */

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes border-rotate { to { --border-angle: 360deg; } }

.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;                /* ← border thickness */
  background: conic-gradient(
    from var(--border-angle),
    #0C1B2E 0deg,
    #C9A96E 55deg,
    #D4BE8C 80deg,
    #C9A96E 105deg,
    #0C1B2E 180deg,
    #8A6A35 250deg,
    #C9A96E 320deg,
    #0C1B2E 360deg
  );
  /* Mask: show only the padding ring — hide the content interior */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: border-rotate 7s linear infinite;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 2;
}

/* Show on hover */
.glass:hover::after { opacity: 1; }

/* Service cards: always-on faint ring */
.srv-card::after { opacity: 0.25 !important; animation-duration: 10s !important; }
.srv-card:hover::after { opacity: 1 !important; }

/* Stat cards: always-on, slow */
.stat-card::after { opacity: 0.50 !important; animation-duration: 12s !important; }

/* Portfolio cards: border glow via box-shadow (overflow:hidden clips ::after inside) */
.pcard::after { display: none !important; }
.pcard:hover {
  box-shadow: 0 0 0 2px #8EB69B, 0 0 25px -4px var(--glow), 0 24px 60px -20px var(--shadow);
}
.sc-card:hover {
  box-shadow: 0 0 0 1.5px #8EB69B, 0 0 15px -4px var(--glow);
}

/* ══════════════════════════════════════════════════════════════════
   33. BUTTON ANIMATIONS — pulse breathe, ripple on click, shimmer
   ══════════════════════════════════════════════════════════════════ */

@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 4px 18px var(--glow-warm); }
  50%       { box-shadow: 0 6px 32px var(--glow-warm), 0 0 50px -8px var(--aqua); }
}

/* Click ripple wave */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0) translate(-50%, -50%);
  transform-origin: 0 0;
  pointer-events: none;
  animation: ripple-expand .65s ease-out forwards;
}
@keyframes ripple-expand {
  to { transform: scale(80) translate(-50%, -50%); opacity: 0; }
}

/* Aqua ring pulse on outline buttons at rest */
@keyframes outline-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 232, 0); }
  50%       { box-shadow: 0 0 0 4px rgba(0, 212, 232, 0.14); }
}
.btn-outline { animation: outline-pulse 4s ease-in-out infinite; }
.btn-outline:hover { animation: none; }

/* ── 34. NAVY + CHAMPAGNE GOLD ACCENT OVERRIDES ── */
#cursor-dot { background: var(--gold); }
body.cursor-hover #cursor-dot { background: var(--gold-bright); }
body.cursor-hover #cursor-ring { border-color: var(--gold); }
::-webkit-scrollbar-thumb { background: rgba(201,169,110,0.35); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: var(--gold); color: #0C1B2E; }
#progress-bar { background: linear-gradient(90deg, #8A6A35, #C9A96E, #D4BE8C); }
:focus-visible { outline-color: var(--gold); }
.hero-role { color: var(--gold-bright); }
.nav-right .btn-gold, .hero-btns .btn-gold { color: #0C1B2E; }
.stat-num { color: var(--gold-bright); }
.fact-num  { color: var(--gold-bright); }
.timeline::before { background: linear-gradient(to bottom, var(--gold), var(--line) 90%); }
.tl-dot { border-color: var(--gold); }
.rm-node .rm-num { color: var(--gold); }
.proc-num { border-color: var(--line-strong); color: var(--gold); }
.fab-cal { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: #0C1B2E; }

/* ══════════════════════════════════════════════════════════════════
   35. BOOKING / EXIT-INTENT MODAL  (Calendly popup + Thank You)
   ══════════════════════════════════════════════════════════════════ */
.book-scrim {
  position: fixed; inset: 0;
  background: rgba(2, 4, 22, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  z-index: 800; display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.book-scrim.open { opacity: 1; pointer-events: auto; }

.book-box {
  width: min(780px, 100%); max-height: 94vh; overflow-y: auto;
  background: var(--surf); border: 1px solid var(--line-strong);
  border-radius: var(--r-lg); position: relative;
  box-shadow: 0 40px 100px rgba(0,4,30,.8);
  transform: translateY(20px) scale(.97); transition: transform .45s var(--ease);
}
.book-scrim.open .book-box { transform: translateY(0) scale(1); }

.book-close {
  position: absolute; top: 1.1rem; right: 1.1rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--glass-2); border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; line-height: 1; transition: border-color .25s;
}
.book-close:hover { border-color: var(--aqua); color: var(--aqua); }

/* Stage 1 — Calendly */
.book-header { padding: 2.2rem 2.2rem .8rem; text-align: center; }
.book-title { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); margin: .7rem 0 .4rem; }
.book-sub { color: var(--mute); font-size: .9rem; }
.book-cal-wrap { padding: .5rem 1rem 1.2rem; }
.book-cal-wrap iframe { width: 100%; height: 580px; border: none; border-radius: var(--r-md); display: block; }

/* Stage 2 — Thank You */
.ty-wrap {
  padding: 3.5rem 2.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
}
.ty-check {
  width: 72px; height: 72px; border-radius: 50%; font-size: 1.9rem;
  background: rgba(74,222,128,.12); border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center; color: var(--success);
}
.ty-wrap h3 { font-family: var(--font-display); font-size: 2rem; color: var(--ink); }
.ty-sub { color: var(--mute); font-size: .95rem; max-width: 400px; line-height: 1.7; }
.ty-contact-row { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }
.ty-divider { width: 100%; height: 1px; background: var(--line); }
.ty-explore p { color: var(--mute); font-size: .82rem; margin-bottom: .8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; }
.ty-links { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
.ty-link { font-family: var(--font-mono); font-size: .72rem; color: var(--aqua); letter-spacing: .06em; text-decoration: none; }
.ty-link:hover { color: var(--aqua-bright); }

@media (max-width: 620px) {
  .book-cal-wrap iframe { height: 500px; }
  .ty-wrap { padding: 2.5rem 1.5rem; }
  .ty-wrap h3 { font-size: 1.5rem; }
}

/* hero-geo panels removed — clean navy background in hero */
.hero-inner { position: relative; z-index: 2; }
.scroll-cue  { z-index: 2; }
