/*
Theme Name: Youssef Shahboun
Theme URI: https://shahboun.com
Author: Youssef Shahboun
Version: 4.1.0
Description: Executive Personal Brand — Built from scratch
Text Domain: youssef-shahboun
*/

/* ══════════════════════════════════════════════════════════
   TOKENS
══════════════════════════════════════════════════════════ */
:root {
  --c-ink:      #09090b;
  --c-deep:     #0f1923;
  --c-navy:     #0d2137;
  --c-blue:     #1d6fa4;
  --c-sky:      #2d9cdb;
  --c-gold:     #c9963a;
  --c-gold-lt:  #e8b04b;
  --c-white:    #ffffff;
  --c-surface:  #f8f9fb;
  --c-border:   #e8edf3;
  --c-muted:    #6b7c93;
  --c-dark-txt: rgba(255,255,255,0.55);

  --f-display: 'Montserrat', sans-serif;
  --f-body:    'Inter', sans-serif;

  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --spring:    cubic-bezier(0.34, 1.56, 0.64, 1);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;
  --r-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(9,9,11,0.06), 0 1px 2px rgba(9,9,11,0.04);
  --shadow-sm: 0 4px 12px rgba(9,9,11,0.07), 0 2px 6px rgba(9,9,11,0.05);
  --shadow-md: 0 12px 32px rgba(9,9,11,0.10), 0 4px 12px rgba(9,9,11,0.06);
  --shadow-lg: 0 24px 64px rgba(9,9,11,0.14), 0 8px 24px rgba(9,9,11,0.08);
  --shadow-xl: 0 48px 100px rgba(9,9,11,0.20), 0 16px 40px rgba(9,9,11,0.12);

  --max: 1180px;
  --hh:  72px;
}

/* ══════════════════════════════════════════════════════════
   BASE
══════════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--c-white);
  color: var(--c-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; touch-action: manipulation; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; touch-action: manipulation; }
h1,h2,h3,h4 { font-family: var(--f-display); line-height: 1.12; color: var(--c-ink); }

/* Selection */
::selection { background: var(--c-sky); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-blue); border-radius: 2px; }

/* Skip to main content (accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--c-navy);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ── Global focus styles — keyboard navigation ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--c-sky);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible,
.nav-a:focus-visible,
.ftr-icon:focus-visible,
.art-share-btn:focus-visible {
  outline: 2px solid var(--c-sky);
  outline-offset: 4px;
}
.f-input:focus-visible,
.f-textarea:focus-visible {
  outline: 2px solid var(--c-sky);
  outline-offset: 0;
}

/* Typewriter cursor — used by logo-sub and ftr-brand-tag */
.type-cur {
  display: inline-block;
  font-weight: 400;
  animation: curBlink 0.75s step-end infinite;
}
@keyframes curBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════════════ */
#progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-sky) 0%, var(--c-gold) 100%);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9999;
  transition: transform 0.1s linear;
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--hh);
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-top     { background: transparent; }
.site-header.is-solid   {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 0 0 1px rgba(9,9,11,0.05), var(--shadow-sm);
  --hh: 70px;
}

.hdr {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

/* Perfect circle with gold ring */
.logo-mark {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  outline: 2.5px solid var(--c-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(201,150,58,0.15);
  transition: outline-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.logo:hover .logo-mark {
  outline-color: var(--c-gold-lt);
  box-shadow: 0 0 0 7px rgba(201,150,58,0.25);
  transform: scale(1.05);
}
.logo-mark img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}
/* Avatar — transparent PNG, container bg shows through transparent areas */
.logo-mark--avatar {
  outline: none;
  background: var(--c-deep);
  box-shadow: 0 0 14px rgba(201,150,58,0.25);
}
.logo-mark--avatar img {
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

/* Wordmark */
.logo-words {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.logo-name {
  font-family: 'Pacifico', cursive;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--c-navy);
  transition: color 0.3s var(--ease);
}
.site-header.is-top .logo-name { color: #ffffff; }

.logo-sub {
  font-family: var(--f-display);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  line-height: 1;
}

/* Nav links */
.nav { display: flex; align-items: center; gap: 2px; }

.nav-a {
  position: relative;
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--c-ink);
  transition: color 0.25s, background 0.25s;
}
.site-header.is-top .nav-a { color: rgba(255,255,255,0.78); }
.nav-a:hover,
.site-header.is-solid .nav-a:hover {
  color: var(--c-blue);
  background: rgba(29,111,164,0.09);
}
.site-header.is-top .nav-a:hover   { color: #fff; background: rgba(255,255,255,0.12); }

.nav-a.is-active::after {
  content: ''; position: absolute;
  bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  background: var(--c-sky); border-radius: 1px;
}
.site-header.is-top .nav-a.is-active::after { background: var(--c-gold); }

.nav-cta {
  margin-left: 10px;
  padding: 10px 26px;
  background: var(--c-navy);
  color: #fff !important;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 12px rgba(13,33,55,0.28);
  transition: all 0.25s var(--ease);
}
.nav-cta:hover {
  background: var(--c-blue);
  box-shadow: 0 6px 20px rgba(29,111,164,0.4);
  transform: translateY(-1px);
}
.site-header.is-top .nav-cta {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2);
}
.site-header.is-top .nav-cta:hover {
  background: rgba(255,255,255,0.22);
}

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger-line {
  width: 22px; height: 1.5px;
  background: var(--c-navy);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}
.site-header.is-top .hamburger-line { background: #fff; }
.hamburger.is-open .hamburger-line { background: #fff !important; }
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav — full-screen dark overlay ── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-deep);
  z-index: 998;
  flex-direction: column;
  padding-top: var(--hh);
  overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }

/* ── Mobile nav — full overlay ── */
.nav-mobile { padding-top: 0; }

/* Head: replaces the fixed header visually */
.mnav-head {
  height: var(--hh);
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.mnav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mnav-logo {
  font-family: 'Pacifico', cursive;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.mnav-tagline {
  font-size: 7.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-gold); opacity: 0.70;
}
.mnav-close {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: rgba(255,255,255,0.60);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.mnav-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Links */
.mnav-links {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 12px 28px 0;
  overflow-y: auto;
}
.mnav-link {
  display: flex; align-items: center; gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s, padding-left 0.25s;
}
.mnav-link:hover,
.mnav-link.is-active { color: #fff; padding-left: 6px; }
.mnav-link.is-active .mnav-label { color: var(--c-gold-lt); }

.mnav-num {
  font-family: var(--f-display);
  font-size: 11px; font-weight: 700;
  color: var(--c-gold);
  opacity: 0.4; letter-spacing: 1px;
  min-width: 26px;
  transition: opacity 0.25s;
}
.mnav-link:hover .mnav-num,
.mnav-link.is-active .mnav-num { opacity: 1; }

.mnav-label {
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 700; letter-spacing: -0.5px;
  line-height: 1;
}

/* CTA footer */
.mnav-foot {
  padding: 20px 28px 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.mnav-cta { display: block; text-align: center; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--c-deep);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}

/* Noise texture overlay */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* Gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(29,111,164,0.18) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation: orbDrift 18s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,150,58,0.1) 0%, transparent 70%);
  bottom: -100px; left: 5%;
  animation: orbDrift 14s ease-in-out infinite alternate-reverse;
}
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.1); }
}

/* Grid lines */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--hh) + 44px) 32px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-inner > * { min-width: 0; }

/* Left */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 28px;
  overflow: visible;
  white-space: nowrap;
  min-height: 20px;
}
.hero-eyebrow-dot {
  display: none;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,150,58,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(201,150,58,0); }
}

.hero-heading {
  font-size: clamp(52px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: var(--c-white);
  margin-bottom: 32px;
}
.hero-heading-last {
  display: block;
  background: linear-gradient(135deg, var(--c-sky) 0%, var(--c-gold-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle tagline under hero name */
.hero-tagline {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 28px;
  margin-top: -8px;
  opacity: 0.85;
}

.hero-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-body b  { color: rgba(255,255,255,0.9); font-weight: 600; }
.hero-body em { color: var(--c-gold-lt); font-style: normal; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display);
  font-size: 13.5px; font-weight: 700;
  letter-spacing: 0.2px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  transition: all 0.28s var(--ease);
}
.btn-blue {
  background: var(--c-blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(29,111,164,0.45);
}
.btn-blue:hover {
  background: #1a5f8e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,111,164,0.5);
  color: #fff;
}
.btn-outline {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.13);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--c-navy);
  color: #fff;
  box-shadow: 0 4px 18px rgba(13,33,55,0.35);
}
.btn-navy:hover {
  background: #0a1a2d;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,33,55,0.4);
  color: #fff;
}

.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.trust-num {
  font-family: var(--f-display);
  font-size: 28px; font-weight: 800;
  color: var(--c-white);
  line-height: 1;
}
.trust-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}
.trust-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.1);
}

/* Right — photo */
.hero-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ── Arabic calligraphy stamp — engraved look ── */

/* Footer stamp: engraved gold seal behind brand content */
.ftr-stamp {
  position: absolute;
  bottom:  5px;
  right:   20px;
  width:  clamp(112px, 14.4vw, 168px);
  height: clamp(112px, 14.4vw, 168px);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
  filter: contrast(1.4) brightness(0.85);
}

/* Stamp badge — 8 o'clock on the ring edge (bottom-left), away from face.
   Inside .art-hero-photo-inner (position:relative).
   Circle geometry: at 225° → left≈10%, top≈85% of photo-inner. */
.art-stamp-bg {
  position: absolute;
  left: 10%;
  top:  84%;
  transform: translate(-50%, -50%) rotate(-18deg);
  width:  clamp(72px, 9vw, 100px);
  height: clamp(72px, 9vw, 100px);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0.82;
  pointer-events: none;
  z-index: 7;
  filter: contrast(1.5) brightness(0.88) sepia(0.35);
  /* solid gold ring defines the badge edge — screen mode keeps it gold on dark bg */
  box-shadow:
    0 0 0 2px rgba(201,150,58,0.75),
    0 0 0 4px rgba(201,150,58,0.20),
    0 3px 10px rgba(0,0,0,0.55);
}
@media (max-width: 860px) { .art-stamp-bg { display: none; } }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }


.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
}

/* ══ Hero photo — 9-planet solar system (same as contact page) ══ */
.hp-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.07);
  z-index: 3;
}
.hp-ring::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 4;
}

/* Mercury — 4s */
.hp-ring--mercury { inset: -20px; animation: orbit-0 4s linear infinite; }
.hp-ring--mercury::after { width: 4px; height: 4px; top: -2px; background: #B5B0AA; box-shadow: 0 0 5px 2px rgba(181,176,170,0.8); }

/* Venus — 10s */
.hp-ring--venus { inset: -35px; border-color: rgba(255,255,255,0.06); animation: orbit-108 10s linear infinite; }
.hp-ring--venus::after { width: 7px; height: 7px; top: -3.5px; background: #E8CDA0; box-shadow: 0 0 7px 3px rgba(232,205,160,0.8); }

/* Earth — 16s */
.hp-ring--earth { inset: -55px; border-color: rgba(255,255,255,0.06); animation: orbit-180 16s linear infinite; }
.hp-ring--earth::after { width: 8px; height: 8px; top: -4px; background: #4FA3E0; box-shadow: 0 0 8px 4px rgba(79,163,224,0.8); }

/* Mars — 26s */
.hp-ring--mars { inset: -77px; border-color: rgba(255,255,255,0.05); animation: orbit-260 26s linear infinite; }
.hp-ring--mars::after { width: 6px; height: 6px; top: -3px; background: #E07B39; box-shadow: 0 0 7px 3px rgba(224,123,57,0.8); }

/* Jupiter — 60s (largest) */
.hp-ring--jupiter { inset: -105px; border-color: rgba(255,255,255,0.04); animation: orbit-54 60s linear infinite; }
.hp-ring--jupiter::after { width: 20px; height: 20px; top: -10px; background: radial-gradient(circle at 35% 35%, #f0d49a 0%, #C88B3A 65%, #8b5e1a 100%); box-shadow: 0 0 14px 6px rgba(200,139,58,0.75); }

/* Saturn — 90s */
.hp-ring--saturn { inset: -133px; border-color: rgba(255,255,255,0.03); animation: orbit-234 90s linear infinite; }
.hp-ring--saturn::after { width: 14px; height: 14px; top: -7px; background: radial-gradient(circle at 35% 30%, #f5f0d0 0%, #E4D191 60%, #a8922e 100%); box-shadow: -12px 2px 0 -3px rgba(228,209,145,0.45), 12px -2px 0 -3px rgba(228,209,145,0.45), 0 0 12px 5px rgba(228,209,145,0.75); }

/* Uranus — 125s */
.hp-ring--uranus { inset: -152px; border-color: rgba(255,255,255,0.025); animation: orbit-144 125s linear infinite; }
.hp-ring--uranus::after { width: 11px; height: 11px; top: -5.5px; background: #7DE8E8; box-shadow: 0 0 9px 4px rgba(125,232,232,0.75); }

/* Neptune — 165s */
.hp-ring--neptune { inset: -163px; border-color: rgba(255,255,255,0.02); animation: orbit-288 165s linear infinite; }
.hp-ring--neptune::after { width: 10px; height: 10px; top: -5px; background: #5B8ED4; box-shadow: 0 0 9px 4px rgba(91,142,212,0.8); }

/* Pluto — 250s, dashed orbit */
.hp-ring--pluto { inset: -170px; border-color: rgba(255,255,255,0.015); border-style: dashed; animation: orbit-198 250s linear infinite; }
.hp-ring--pluto::after { width: 3px; height: 3px; top: -1.5px; background: #9B8EA8; box-shadow: 0 0 5px 2px rgba(155,142,168,0.75); }

@keyframes orbit-0   { from { transform: rotate(0deg);   } to { transform: rotate(360deg); } }
@keyframes orbit-54  { from { transform: rotate(54deg);  } to { transform: rotate(414deg); } }
@keyframes orbit-108 { from { transform: rotate(108deg); } to { transform: rotate(468deg); } }
@keyframes orbit-120 { from { transform: rotate(120deg); } to { transform: rotate(480deg); } }
@keyframes orbit-144 { from { transform: rotate(144deg); } to { transform: rotate(504deg); } }
@keyframes orbit-180 { from { transform: rotate(180deg); } to { transform: rotate(540deg); } }
@keyframes orbit-198 { from { transform: rotate(198deg); } to { transform: rotate(558deg); } }
@keyframes orbit-234 { from { transform: rotate(234deg); } to { transform: rotate(594deg); } }
@keyframes orbit-240 { from { transform: rotate(240deg); } to { transform: rotate(600deg); } }
@keyframes orbit-260 { from { transform: rotate(260deg); } to { transform: rotate(620deg); } }
@keyframes orbit-288 { from { transform: rotate(288deg); } to { transform: rotate(648deg); } }

/* Responsive: on mobile hide only outer planets (Jupiter+), show inner 4 */
@media (max-width: 768px) {
  .hp-ring--jupiter,
  .hp-ring--saturn,
  .hp-ring--uranus,
  .hp-ring--neptune,
  .hp-ring--pluto { display: none; }
}

/* prefers-reduced-motion: keep orbits alive */
@media (prefers-reduced-motion: reduce) {
  .hp-ring--mercury { animation-duration: 4s   !important; animation-iteration-count: infinite !important; }
  .hp-ring--venus   { animation-duration: 10s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--earth   { animation-duration: 16s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--mars    { animation-duration: 26s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--jupiter { animation-duration: 60s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--saturn  { animation-duration: 90s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--uranus  { animation-duration: 125s !important; animation-iteration-count: infinite !important; }
  .hp-ring--neptune { animation-duration: 165s !important; animation-iteration-count: infinite !important; }
  .hp-ring--pluto   { animation-duration: 250s !important; animation-iteration-count: infinite !important; }
}

/* ── Availability badge — bottom-right, glued to hero edge ── */
.hero-avail-badge {
  position: absolute;
  right: 0;
  bottom: clamp(52px, 8vh, 88px);
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  border-radius: var(--r-md) 0 0 var(--r-md); /* left-rounded, right flush with edge */
  padding: clamp(10px, 1.2vw, 14px) clamp(14px, 1.8vw, 22px) clamp(10px, 1.2vw, 14px) clamp(12px, 1.5vw, 18px);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  z-index: 2;
  white-space: nowrap;
  transition: padding-right 0.3s var(--ease), box-shadow 0.3s;
}
.hero-avail-badge:hover {
  padding-right: clamp(20px, 2.4vw, 32px);
  box-shadow: -6px 0 32px rgba(0,0,0,0.4);
}

/* Pulsing green dot */
.avail-dot {
  width: 9px; height: 9px; flex-shrink: 0;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: availPulse 2.2s ease-in-out infinite;
}
@keyframes availPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.avail-val {
  font-family: var(--f-display);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 800; line-height: 1;
  color: #fff;
}
.avail-key {
  font-size: clamp(7px, 0.7vw, 9.5px);
  font-weight: 700;
  letter-spacing: clamp(0.8px, 0.1vw, 1.5px);
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .avail-dot { animation: none; }
}
@media (max-width: 768px) {
  .hero-avail-badge { bottom: 14px; }
}

/* Photo itself */
.hero-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative; z-index: 1;
  border: 3px solid rgba(255,190,50,0.65);
  box-shadow:
    0 0 0 8px rgba(255,190,50,0.08),
    0 0 40px rgba(255,180,40,0.28),
    0 0 90px rgba(201,150,58,0.15),
    var(--shadow-xl);
  transition: transform 0.6s var(--ease);
}
.hero-photo:hover { transform: scale(1.02); }

/* Floating cards — scale proportionally with screen width */
.hero-card {
  position: absolute;
  z-index: 5;
  background: var(--c-white);
  border-radius: var(--r-md);
  /* padding scales: 10px on mobile → 16px on desktop */
  padding: clamp(10px, 1.4vw, 16px) clamp(12px, 1.8vw, 20px);
  box-shadow: var(--shadow-lg);
  animation: cardFloat 5s ease-in-out infinite;
  white-space: nowrap;
}
.hero-card-dark { background: var(--c-navy); }

/* card-1 (Cairo): bottom-right, outside the ring */
.hero-card-1 { bottom: 30px; right: -24px; animation-delay: 0s; }

/* card-2 (1999): top-left, anchored on the circle edge */
.hero-card-2 { top: 8px; left: -84px; animation-delay: -2.5s; }

@keyframes cardFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

.card-val {
  font-family: var(--f-display);
  /* scales: 17px mobile → 26px desktop */
  font-size: clamp(17px, 2.2vw, 26px);
  font-weight: 800; line-height: 1; color: var(--c-navy);
}
.hero-card-dark .card-val { color: var(--c-gold-lt); }
.card-key {
  font-size: clamp(8px, 0.9vw, 10.5px);
  font-weight: 700;
  letter-spacing: clamp(0.8px, 0.12vw, 1.5px);
  text-transform: uppercase;
  color: var(--c-muted); margin-top: 3px;
}
.hero-card-dark .card-key { color: rgba(255,255,255,0.4); }

/* Scroll cue */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
  animation: scrollGrow 2.5s ease-in-out infinite;
}
@keyframes scrollGrow {
  0%,100% { transform: scaleY(1); opacity: 0.4; }
  50%      { transform: scaleY(0.5); opacity: 0.9; }
}

/* ══════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Global responsive tweaks */
@media (max-width: 1024px) {
  :root { --max: 960px; }
  .hdr { padding: 0 24px; }
  .wrap { padding: 0 24px; }
  /* Tablet: stay 2-column hero, tighten spacing */
  .hero-inner { gap: 40px; padding: calc(var(--hh) + 32px) 24px 40px; }
  .hero-heading { font-size: clamp(38px, 5vw, 62px); }
  .hero-photo-frame { max-width: 340px; }
  .hero-card-2 { left: -48px; }
  .logo-name { font-size: 28px; }
}

@media (max-width: 768px) {
  .hdr { padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .logo-name { font-size: 24px; }
  .logo-sub { display: none; }
  .hamburger { display: flex; }
  .nav { display: none; }
  .nav-cta { display: none; }
  .hero-heading { font-size: clamp(30px, 8.5vw, 46px); }
  .hero-body { max-width: 100%; font-size: 15px; }
  .hero-photo-frame { max-width: 260px; }
  .hero-card { display: none; }
  .srv-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr; gap: 20px; }
  .cta-box { flex-direction: column; padding: 36px 18px; }
  .mnav-label { font-size: clamp(24px, 9vw, 34px); }
}

@media (max-width: 480px) {
  :root { --hh: 64px; }
  .logo-name { font-size: 20px; }
  .hero-heading { font-size: clamp(26px, 9.5vw, 40px); }
  .hero-tagline { font-size: 12px; }
  .hero-body { font-size: 14px; }
  .hdr { height: 64px; }
  .hero-photo-frame { max-width: 200px; }
  .wrap { padding: 0 14px; }
}

/* Utility: make all images responsive and use modern formats when available */
.picture-fit { width: 100%; height: auto; display: block; }

.section       { padding: 104px 0; }
.section-tight { padding: 70px 0;  }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--c-sky); border-radius: 1px;
}

.h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800; letter-spacing: -1.2px;
  color: var(--c-ink);
}
.lead {
  font-size: 17px; line-height: 1.85;
  color: var(--c-muted); max-width: 520px;
}

/* Reveal */
.ys-js .r {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: 0.1s; }
.r-d2 { transition-delay: 0.2s; }
.r-d3 { transition-delay: 0.3s; }
.r-d4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════════ */
.services-bg { background: var(--c-white); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.srv-card {
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
  color: inherit;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: all 0.35s var(--ease);
}
.srv-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--c-surface) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.srv-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.srv-card:hover::after { opacity: 1; }

/* accent bar */
.srv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.srv-card:nth-child(1)::before { background: var(--c-sky);  }
.srv-card:nth-child(2)::before { background: var(--c-gold); }
.srv-card:nth-child(3)::before { background: #40916c;       }
.srv-card:hover::before { opacity: 1; }

.srv-icon {
  font-size: 38px; margin-bottom: 22px;
  display: block; line-height: 1;
  position: relative; z-index: 1;
}
.srv-title {
  font-size: 19px; font-weight: 700;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.srv-desc {
  font-size: 14.5px; line-height: 1.85;
  color: var(--c-muted);
  position: relative; z-index: 1;
}
.srv-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--c-blue);
  margin-top: 24px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s var(--ease);
  position: relative; z-index: 1;
}
.srv-card:hover .srv-link { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════
   ABOUT PREVIEW
══════════════════════════════════════════════════════════ */
.about-bg { background: var(--c-surface); }

.about-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  display: block;
  /* Gold frame is inside the image — only a glow */
  box-shadow:
    0 0 0 1px rgba(201,150,58,0.18),
    0 0 40px rgba(201,150,58,0.12),
    var(--shadow-xl);
  transition: transform 0.5s var(--ease);
  max-width: 400px;
  margin: 0 auto;
}
.about-img:hover { transform: scale(1.02); }

.about-img-card {
  position: absolute;
  bottom: 16px; right: -16px;
  background: var(--c-navy);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.about-card-num {
  font-family: var(--f-display);
  font-size: 30px; font-weight: 800;
  color: var(--c-gold-lt); line-height: 1;
}
.about-card-lbl {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-top: 4px;
}

.about-body .h2 { margin-bottom: 24px; }
.about-body p   { font-size: 16px; line-height: 1.9; color: var(--c-muted); margin-bottom: 18px; }
.about-body p b { color: var(--c-ink); font-weight: 600; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.tag {
  padding: 6px 15px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  color: var(--c-ink);
  background: var(--c-white);
  transition: all 0.25s var(--ease);
  cursor: default;
}
.tag:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

/* ══════════════════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════════════════ */
.stats-bg {
  background: var(--c-navy);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.stats-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(29,111,164,0.12) 0%, transparent 70%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}
.stat {
  text-align: center; padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: var(--f-display);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 800; color: var(--c-gold-lt);
  line-height: 1; letter-spacing: -2px;
}
.stat-n sup { font-size: 0.45em; vertical-align: super; color: var(--c-sky); letter-spacing: 0; }
.stat-l {
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-top: 10px;
}

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-bg { background: var(--c-white); }
.cta-box {
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 72px 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px;
  background: linear-gradient(135deg, var(--c-surface) 0%, var(--c-white) 100%);
}
.cta-box h2 { font-size: clamp(28px, 3vw, 40px); max-width: 500px; letter-spacing: -0.8px; }
.cta-box p  { font-size: 16px; color: var(--c-muted); margin-top: 12px; max-width: 400px; }
.cta-acts   { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-ink);
  padding: 64px 0 32px;
}
.ftr {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.ftr-brand-wrap {
  position: relative;
  /* no overflow:hidden — was clipping the logo-mark ring/shadow */
}

.ftr-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 8px 0 48px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.ftr-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
/* Override header logo-mark/logo-name colours for dark footer */
.ftr-brand-logo .logo-mark {
  outline-color: var(--c-gold);
  box-shadow: 0 0 0 5px rgba(201,150,58,0.15);
}
.ftr-brand-logo .logo-name {
  color: #fff;
}
.ftr-brand-name {
  font-family: 'Pacifico', cursive;
  font-size: 34px; font-weight: 400;
  letter-spacing: 0.5px;
  color: #fff; line-height: 1; margin-bottom: 0;
}
.ftr-brand-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--c-gold); }
.ftr-brand-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.38); margin-top: 16px; max-width: 240px; }
.ftr-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 18px; font-family: var(--f-display); }
.ftr-col ul { display: flex; flex-direction: column; gap: 10px; }
.ftr-col li a { font-size: 14px; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.ftr-col li a:hover { color: var(--c-gold-lt); }
.ftr-col li span { font-size: 14px; color: rgba(255,255,255,0.48); }
.ftr-social { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.ftr-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s var(--ease);
}
.ftr-icon:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; transform: translateY(-2px); }
.ftr-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.28);
}
.ftr-bottom a { color: var(--c-sky); }
.ftr-bottom a:hover { color: var(--c-gold-lt); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════ */
.pg-hero {
  background: var(--c-deep);
  padding: calc(var(--hh) + 56px) 0 64px;
  position: relative; overflow: hidden;
}
.pg-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
}
.pg-hero .wrap { position: relative; z-index: 1; }
.pg-label {
  font-size: 13px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--c-sky); margin-bottom: 10px;
}
.pg-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -1.5px; color: #fff;
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE — HERO
══════════════════════════════════════════════════════════ */
.abt-hero {
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--hh, 72px) + 40px);
  padding-bottom: 110px;
}

/* Wrap above the ::after overlay */
.abt-hero .wrap { position: relative; z-index: 4; }

/* Text column — narrowed to avoid photo collision */
.abt-hero-inner { max-width: 540px; margin-left: 180px; }

/* Gold dot before the about eyebrow label */
.abt-pg-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.abt-pg-label::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  flex-shrink: 0;
  -webkit-animation: dot-pulse 1.8s ease-in-out infinite;
  animation: dot-pulse 1.8s ease-in-out infinite;
}
@-webkit-keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,150,58,0.8); transform: scale(1); }
  50%       { box-shadow: 0 0 0 7px rgba(201,150,58,0); transform: scale(1.2); }
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,150,58,0.8); transform: scale(1); }
  50%       { box-shadow: 0 0 0 7px rgba(201,150,58,0); transform: scale(1.2); }
}

.abt-hero-h1 {
  font-size: clamp(48px, 6.2vw, 82px);
  font-weight: 800; letter-spacing: -2px;
  color: #ffffff; line-height: 0.90;
  margin: 6px 0 14px;
}
.abt-hero-name {
  display: block;
  background: linear-gradient(100deg,
    var(--c-gold) 0%,
    var(--c-gold-lt) 30%,
    #ffffff 48%,
    var(--c-gold-lt) 52%,
    var(--c-gold) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.08em;
  -webkit-animation: name-shimmer 3s linear infinite;
  animation: name-shimmer 3s linear infinite;
}
@-webkit-keyframes name-shimmer {
  0%   { background-position: 150% center; }
  100% { background-position: -150% center; }
}
@keyframes name-shimmer {
  0%   { background-position: 150% center; }
  100% { background-position: -150% center; }
}
.abt-hero-role {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 15px; color: #fff;
}

/* Subtitle — uppercase gold, like Home page */
.abt-hero-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 16px;
}

/* Short power statement */
.abt-hero-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-width: 480px;
  margin: 0 0 18px;
}

/* Stats bar — full-width strip anchored to hero bottom */
.abt-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  border-top: 2px solid rgba(201,150,58,0.45);
  background: rgba(9,18,32,0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.abt-stats-bar .wrap {
  padding-left: 0;
}
.abt-hero-stats {
  display: flex;
  align-items: center;
  padding: 22px 0;
  margin: 0;
}
.abt-stat {
  display: flex;
  flex-direction: column;
  padding-right: 36px;
  margin-right: 36px;
  border-right: 2px solid rgba(255,255,255,0.14);
}
.abt-stat:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.abt-stat strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--c-gold-lt);
  line-height: 1;
  letter-spacing: -1px;
}
.abt-stat strong sup {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
}
.abt-stat span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-top: 5px;
}

/* Two CTA buttons */
.abt-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* ── Brand Strategy Strip ── */
.abt-brand-strip {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.abt-brand-line {
  height: 1px;
  background: linear-gradient(to right, rgba(201,150,58,0.55) 0%, rgba(201,150,58,0.08) 100%);
  width: 100%;
}
.abt-brand-pillars {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}
.abt-pillar {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.abt-pillar-num {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: rgba(255,255,255,0.88);
}
.abt-pillar-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
}
.abt-pillar-sep {
  font-size: 22px;
  color: rgba(201,150,58,0.55);
  font-weight: 300;
  flex-shrink: 0;
  margin-bottom: 14px;
}

/* ── Floating info cards ── */
.abt-fbadge {
  position: absolute;
  z-index: 6;
  background: rgba(9,18,32,0.78);
  border: 1px solid rgba(201,150,58,0.28);
  border-radius: 14px;
  padding: 14px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}
.abt-fbadge-year {
  top: calc(var(--hh, 72px) + 56px);
  right: 6%;
}
.abt-fbadge-loc {
  bottom: 88px;
  right: 6%;
  display: flex;
  align-items: center;
  gap: 14px;
}
.afb-num {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--c-gold-lt);
  letter-spacing: -1px;
  line-height: 1;
}
.afb-lbl {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-top: 6px;
}
.afb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46,204,113,0.20);
  flex-shrink: 0;
}
.afb-city {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  line-height: 1;
}
.afb-sub {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  margin-top: 5px;
}
.abt-role-badge {
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.4);
  color: var(--c-gold-lt);
  padding: 6px 16px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px; white-space: nowrap;
}

/* Photo — above everything, ends above stats bar */
.abt-hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(400px, 54%, 820px);
  z-index: 8; pointer-events: none;
}
.abt-hero-photo img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 8%, black 26%),
    linear-gradient(to bottom, black 0%, black 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 8%, black 26%),
    linear-gradient(to bottom, black 0%, black 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Dark overlay — protects text zone entirely, fades toward photo */
.abt-hero::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 70%;
  background: linear-gradient(
    to right,
    var(--c-deep) 0%,
    var(--c-deep) 44%,
    rgba(15,25,35,0.72) 58%,
    rgba(15,25,35,0.2) 78%,
    transparent 100%
  );
  z-index: 3; pointer-events: none;
}

/* Text above overlay */
.abt-hero .wrap { position: relative; z-index: 4; }

/* Stamp — sits ON the gold line, circular border matches the line,
   dark background cuts through the line → arc-around-stamp effect */
.abt-hero-brand {
  position: absolute;
  bottom: 34px;          /* straddles the stats bar top border */
  right: 44px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px solid rgba(201,150,58,0.48);
  background: var(--c-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 7;
  pointer-events: none;
  overflow: hidden;
}
.abt-hero-brand img {
  width: 86%;
  height: auto;
  mix-blend-mode: screen;
  opacity: 0.80;
  filter: contrast(1.25) brightness(0.95);
}

@media (max-width: 1024px) {
  .abt-hero-inner { max-width: 500px; margin-left: 48px; }
  .abt-hero-photo { width: 48%; }
  .abt-hero-brand { width: 72px; bottom: 28px; left: 28px; }
  .abt-hero-h1    { font-size: clamp(44px, 5.5vw, 70px); }
}
@media (max-width: 768px) {
  /* Hero: auto height, space for absolute stats bar */
  .abt-hero {
    height: auto;
    min-height: 0;
    padding-top: calc(var(--hh) + 48px);
    padding-bottom: 130px;
  }
  /* Text: full-width, centered */
  .abt-hero-inner    { max-width: 100%; margin-left: 0; text-align: center; }
  .abt-pg-label      { justify-content: center; }
  .abt-hero-role     { justify-content: center; }
  .abt-hero-btns     { justify-content: center; }
  .abt-brand-pillars { justify-content: center; flex-wrap: wrap; gap: 10px 16px; }
  .abt-pillar-sep    { display: none; }
  .abt-hero-h1       { font-size: clamp(42px, 10vw, 60px); }
  /* Photo: right side, faint silhouette behind text overlay */
  .abt-hero-photo {
    display: block;
    width: 52%;
    top: auto;
    bottom: 80px;
    opacity: 0.18;
    z-index: 2;
  }
  /* Stamp: bottom-right, small */
  .abt-hero-brand {
    display: flex;
    width: 58px; height: 58px;
    bottom: 88px; right: 12px;
    left: auto;
    z-index: 6;
  }
  /* Overlay: full width, darker to keep text readable */
  .abt-hero::after {
    display: block;
    background: rgba(13, 22, 36, 0.88);
    width: 100%;
  }
  /* Stats bar: keep absolute, center on mobile */
  .abt-hero-stats { gap: 0; padding: 14px 0; justify-content: center; }
  .abt-stat { padding-right: 16px; margin-right: 16px; align-items: center; text-align: center; }
  .abt-stat strong { font-size: 20px; }
  .abt-stat span   { font-size: 8.5px; letter-spacing: 1.2px; }
}

.abt-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px; align-items: start;
}
/* Left column sticks while scrolling through the bio */
.abt-grid > div:first-child {
  position: sticky;
  top: calc(var(--hh, 80px) + 32px);
}
.abt-photo {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover; object-position: top;
  box-shadow: 0 0 0 1px rgba(201,150,58,0.2), 0 0 40px rgba(201,150,58,0.1), var(--shadow-xl);
  max-width: 380px; margin: 0 auto; display: block;
}
.abt-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 24px;
}
.abt-row { margin-bottom: 20px; }
.abt-row:last-child { margin-bottom: 0; }
.abt-row-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--c-muted); margin-bottom: 5px;
}
.abt-row a,.abt-row span { font-size: 15px; font-weight: 600; color: var(--c-blue); }
.abt-row span { color: var(--c-ink); }

.abt-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; letter-spacing: -0.8px; margin-bottom: 28px;
}
.abt-text p  { font-size: 16px; line-height: 1.9; color: var(--c-muted); margin-bottom: 20px; }
.abt-text p b { color: var(--c-ink); font-weight: 600; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px 0 40px;
}
.skill-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--skill-clr, var(--c-blue));
  border-radius: var(--r-md);
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}
.skill-item:hover,
.skill-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  border-top-color: var(--skill-clr, var(--c-blue));
  outline: none;
}
.skill-num {
  font-size: 10px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--skill-clr, var(--c-blue));
  margin-bottom: 4px;
}
.skill-name { font-size: 13.5px; font-weight: 700; color: var(--c-ink); line-height: 1.3; }
.skill-desc { font-size: 12px; color: var(--c-muted); line-height: 1.55; margin-top: 2px; }

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */

/* ── Contact Hero ── */
.ctc-hero {
  background:
    linear-gradient(135deg, rgba(13,33,55,0.98) 0%, rgba(10,20,34,0.97) 60%, rgba(8,16,28,0.99) 100%),
    radial-gradient(ellipse at 12% 55%, rgba(29,111,164,0.22) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 18%, rgba(201,150,58,0.12) 0%, transparent 48%);
  background-color: var(--c-navy);
  padding: calc(var(--hh) + 36px) 0 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ctc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.ctc-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 680px;
  gap: 56px;
  align-items: center;
  flex: 1;
  padding-top: 0;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}
.ctc-hero-wrap > * { min-width: 0; }

/* ── Hero text ── */
.ctc-hero-text { max-width: 600px; }
.ctc-hero-title {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1.04;
  color: #fff;
  margin: 12px 0 26px;
}
.ctc-hero-em {
  font-style: normal;
  background: linear-gradient(130deg, var(--c-gold, #c9963a) 0%, #e8b04b 50%, var(--c-gold, #c9963a) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: ctc-shimmer 4s linear infinite;
}
@keyframes ctc-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.ctc-hero-sub {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.50);
  margin-bottom: 44px;
  max-width: 540px;
}

/* ── Quick contact links ── */
.ctc-quick-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ctc-qlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-full, 999px);
  color: rgba(255,255,255,0.72);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ctc-qlink:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.26);
  color: #fff;
  transform: translateY(-2px);
}
.ctc-qlink svg { flex-shrink: 0; opacity: 0.65; }

/* ── Orbital frame: 680×680 container, photo = 360px circle ── */
.ctc-hero-visual {
  position: relative;
  width: 680px;
  height: 680px;
  flex-shrink: 0;
  margin: 0 auto;
}
/* ── Contact photo frame + rings (same technique as home page hero-photo-ring) ── */
.ctc-photo-frame {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 330px; height: 330px;
}
/* Portrait fills the frame */
.ctc-portrait {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid rgba(255,190,50,0.70);
  box-shadow: 0 0 0 8px rgba(255,190,50,0.08), 0 0 35px rgba(255,180,40,0.28), 0 0 80px rgba(201,150,58,0.14), 0 20px 50px rgba(0,0,0,0.5);
  z-index: 2;
  display: block;
}
/* No badge or indicator on the contact photo — clean photo with orbiting planets only */

/* ── Contact side badge — mirrors home page hero-avail-badge but on the LEFT ── */
.ctc-side-badge {
  position: absolute;
  right: 0;
  bottom: clamp(114px, 12vh, 130px);
  background: var(--c-navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-right: none;
  border-radius: var(--r-md) 0 0 var(--r-md);
  padding: clamp(10px,1.2vw,14px) clamp(12px,1.5vw,18px) clamp(10px,1.2vw,14px) clamp(18px,2vw,26px);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  z-index: 5;
  white-space: nowrap;
  transition: padding-right 0.3s var(--ease), box-shadow 0.3s;
}
.ctc-side-badge:hover {
  padding-right: clamp(24px, 2.8vw, 36px);
  box-shadow: -6px 0 32px rgba(0,0,0,0.4);
}
@media (max-width: 1100px) { .ctc-side-badge { display: none; } }

/* Orbital rings — each extends BEYOND the photo via inset:-Npx */
.ctc-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.07);
  z-index: 3;
}
/* Planet dot via ::after — positioned at top of each ring, orbits with it */
.ctc-ring::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  z-index: 4;
}

/* Mercury — 4s, starts 0° */
.ctc-ring--mercury { inset: -20px; animation: orbit-0 4s linear infinite; }
.ctc-ring--mercury::after { width: 4px; height: 4px; top: -2px; background: #B5B0AA; box-shadow: 0 0 5px 2px rgba(181,176,170,0.8); }

/* Venus — 10s, starts 108° */
.ctc-ring--venus { inset: -35px; border-color: rgba(255,255,255,0.06); animation: orbit-108 10s linear infinite; }
.ctc-ring--venus::after { width: 7px; height: 7px; top: -3.5px; background: #E8CDA0; box-shadow: 0 0 7px 3px rgba(232,205,160,0.8); }

/* Earth — 16s, starts 180° */
.ctc-ring--earth { inset: -55px; border-color: rgba(255,255,255,0.06); animation: orbit-180 16s linear infinite; }
.ctc-ring--earth::after { width: 8px; height: 8px; top: -4px; background: #4FA3E0; box-shadow: 0 0 8px 4px rgba(79,163,224,0.8); }

/* Mars — 26s, starts 260° */
.ctc-ring--mars { inset: -77px; border-color: rgba(255,255,255,0.05); animation: orbit-260 26s linear infinite; }
.ctc-ring--mars::after { width: 6px; height: 6px; top: -3px; background: #E07B39; box-shadow: 0 0 7px 3px rgba(224,123,57,0.8); }

/* Jupiter — 60s, starts 54° (largest) */
.ctc-ring--jupiter { inset: -105px; border-color: rgba(255,255,255,0.04); animation: orbit-54 60s linear infinite; }
.ctc-ring--jupiter::after { width: 20px; height: 20px; top: -10px; background: radial-gradient(circle at 35% 35%, #f0d49a 0%, #C88B3A 65%, #8b5e1a 100%); box-shadow: 0 0 14px 6px rgba(200,139,58,0.75); }

/* Saturn — 90s, starts 234° */
.ctc-ring--saturn { inset: -133px; border-color: rgba(255,255,255,0.03); animation: orbit-234 90s linear infinite; }
.ctc-ring--saturn::after { width: 14px; height: 14px; top: -7px; background: radial-gradient(circle at 35% 30%, #f5f0d0 0%, #E4D191 60%, #a8922e 100%); box-shadow: -12px 2px 0 -3px rgba(228,209,145,0.45), 12px -2px 0 -3px rgba(228,209,145,0.45), 0 0 12px 5px rgba(228,209,145,0.75); }

/* Uranus — 125s, starts 144° */
.ctc-ring--uranus { inset: -152px; border-color: rgba(255,255,255,0.025); animation: orbit-144 125s linear infinite; }
.ctc-ring--uranus::after { width: 11px; height: 11px; top: -5.5px; background: #7DE8E8; box-shadow: 0 0 9px 4px rgba(125,232,232,0.75); }

/* Neptune — 165s, starts 288° */
.ctc-ring--neptune { inset: -163px; border-color: rgba(255,255,255,0.02); animation: orbit-288 165s linear infinite; }
.ctc-ring--neptune::after { width: 10px; height: 10px; top: -5px; background: #5B8ED4; box-shadow: 0 0 9px 4px rgba(91,142,212,0.8); }

/* Pluto — 250s, starts 198°, dashed orbit */
.ctc-ring--pluto { inset: -170px; border-color: rgba(255,255,255,0.015); border-style: dashed; animation: orbit-198 250s linear infinite; }
.ctc-ring--pluto::after { width: 3px; height: 3px; top: -1.5px; background: #9B8EA8; box-shadow: 0 0 5px 2px rgba(155,142,168,0.75); }

/* Glow behind portrait */
.ctc-hero-visual::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 410px; height: 410px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,60,0.24) 0%, rgba(201,150,58,0.14) 38%, rgba(29,111,164,0.06) 65%, transparent 80%);
  z-index: 0;
}
@keyframes ctc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ctc-avail-badge {
  display: none;
}
/* (kept for markup compatibility — content replaced by CSS ::after green dot) */
.ctc-avail-badge-UNUSED {
  position: absolute;
  left: 38%;   /* ≈ center − r×sin(45°) for 210px photo in 620px container */
  top: 62%;    /* ≈ center + r×cos(45°) */
  bottom: auto;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(8,16,28,0.94);
  border: 1px solid rgba(39,174,96,0.42);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  z-index: 10;
  backdrop-filter: blur(10px);
}
.ctc-avail-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #27ae60;
  flex-shrink: 0;
  animation: ctc-pulse 2.2s ease-in-out infinite;
}
@keyframes ctc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ── Fixed vertical section label ── */
.ctc-fixed-label {
  position: fixed;
  left: 22px;
  top: calc(50% + 15px);
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  white-space: nowrap;
}
.ctc-fixed-label.is-visible { opacity: 1; }
.ctc-fixed-line {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
@media (max-width: 1280px) { .ctc-fixed-label { display: none; } }

/* ── Scroll indicator ── */
.ctc-scroll-hint {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
  position: relative;
  z-index: 1;
}
.ctc-scroll-line {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: ctc-scroll-drop 2s ease-in-out infinite;
}
@keyframes ctc-scroll-drop {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}
@media (max-width: 960px) { .ctc-scroll-hint { display: none; } }

/* ── Stats strip ── */
.ctc-hero-strip {
  background: rgba(0,0,0,0.28);
  border-top: 1px solid rgba(255,255,255,0.055);
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.ctc-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 32px;
}
.ctc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 44px;
}
.ctc-stat strong {
  font-family: var(--f-display, Montserrat, sans-serif);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.ctc-stat span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
}
.ctc-stat-sep {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  flex-shrink: 0;
}

/* ── Responsive (width) — stack layout on tablet, scale orbital proportionally ── */
@media (max-width: 1100px) {
  .ctc-hero-wrap { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .ctc-hero-visual { width: min(480px, 88vw); height: min(480px, 88vw); }
  .ctc-photo-frame { transform: translate(-50%, -50%) scale(0.68); }
  .ctc-hero-title { font-size: clamp(40px, 8vw, 60px); }
}
@media (max-width: 767px) {
  /* Hero: snug height, no overflow gap */
  .ctc-hero { min-height: 0; }
  .ctc-hero-wrap { padding-bottom: 0; gap: 0; }

  /* Text: centered, compact */
  .ctc-hero-text { text-align: center; max-width: 100%; padding-bottom: 28px; }
  .ctc-quick-links { justify-content: center; flex-direction: column; gap: 8px; }
  .ctc-qlink { justify-content: center; }
  .ctc-hero-title { font-size: clamp(32px, 9vw, 48px); }
  .ctc-hero-sub { font-size: 14.5px; margin-bottom: 20px; }
  .pg-label { text-align: center; }

  /* Orbital: isolated block with its own breathing room */
  .ctc-hero-visual {
    display: block;
    width: min(300px, 82vw);
    height: min(300px, 82vw);
    margin: 0 auto;
    /* top/bottom padding so planets never touch text or stats */
    padding: 8px 0 8px;
    box-sizing: content-box;
  }
  .ctc-photo-frame { transform: translate(-50%, -50%) scale(0.46); }

  /* ── Stats strip: beautiful 2×2 on mobile ── */
  .ctc-hero-strip {
    background: rgba(0,0,0,0.32);
    border-top: 1px solid rgba(201,150,58,0.25);
  }
  .ctc-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
  }
  .ctc-stat {
    padding: 20px 16px;
    align-items: center;
    text-align: center;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 6px;
  }
  .ctc-stat:nth-child(even) { border-right: none; }
  .ctc-stat:nth-last-child(-n+2) { border-bottom: none; }
  .ctc-stat strong {
    font-size: 28px;
    background: linear-gradient(135deg, var(--c-gold-lt) 0%, var(--c-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
  }
  .ctc-stat span {
    font-size: 9px;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,0.38);
  }
  .ctc-stat-sep { display: none; }
}

/* Stats strip: center on tablet (768–1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .ctc-strip-inner {
    justify-content: center;
    padding: 22px 24px;
    flex-wrap: nowrap;
    gap: 0;
    display: flex;
  }
  .ctc-stat { padding: 0 28px; align-items: center; text-align: center; border-right: none; border-bottom: none; }
  .ctc-stat-sep { display: block; }
}

/* ── Responsive (height) — scale solar system so stats strip stays in viewport ──
   620px visual fits screens ≥ 858px (620+48+106+80=854).
   Scale applied to .ctc-photo-frame: all planet insets shrink proportionally.
   Badge uses % positioning so it auto-tracks the photo edge at every scale. ── */
@media (max-height: 960px) and (min-width: 1101px) {
  .ctc-hero-wrap  { grid-template-columns: 1fr 580px; }
  .ctc-hero-visual { width: 580px; height: 580px; }
  .ctc-photo-frame { transform: translate(-50%, -50%) scale(0.853); }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .ctc-hero-wrap  { grid-template-columns: 1fr 500px; }
  .ctc-hero-visual { width: 500px; height: 500px; }
  .ctc-photo-frame { transform: translate(-50%, -50%) scale(0.735); }
}
@media (max-width: 600px) {
  .ctc-strip-inner { flex-wrap: wrap; gap: 20px 0; justify-content: flex-start; padding: 20px 24px; }
  .ctc-stat { padding: 0 20px; align-items: flex-start; }
  .ctc-stat:first-child { padding-left: 0; }
  .ctc-stat-sep { display: none; }
  .ctc-quick-links { flex-direction: column; gap: 10px; }
}

.ctc-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 80px; align-items: start;
}
.ctc-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.ctc-info p  { font-size: 15.5px; line-height: 1.85; color: var(--c-muted); margin-bottom: 36px; }
.ctc-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.ctc-ico {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--c-surface); border: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
  transition: all 0.25s;
}
.ctc-item:hover .ctc-ico { background: var(--c-navy); }
.ctc-txt strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; color: var(--c-muted); text-transform: uppercase; margin-bottom: 4px; }
.ctc-txt a,.ctc-txt span { font-size: 15px; font-weight: 600; color: var(--c-ink); }
.ctc-txt a:hover { color: var(--c-blue); }

.ctc-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 44px;
}
.ctc-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-group { margin-bottom: 16px; }
.f-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 8px;
}
.f-input, .f-textarea {
  width: 100%; padding: 13px 16px;
  -webkit-appearance: none;
  appearance: none;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 14.5px; color: var(--c-ink);
  background: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.f-input:focus,.f-textarea:focus {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(29,111,164,0.1);
}
.f-textarea { resize: vertical; min-height: 130px; }
.f-submit { width: 100%; padding: 15px; font-size: 14.5px; margin-top: 4px; }
#f-msg { font-size: 14px; font-weight: 600; min-height: 20px; margin-bottom: 12px; }

/* ══════════════════════════════════════════════════════════
   CAREER TIMELINE
══════════════════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding: 8px 0;
}
/* Center vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--c-border);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  width: 46%;
  margin-bottom: 40px;
}
.tl-left  { margin-left: 0; margin-right: auto; padding-right: 48px; text-align: left; }
.tl-right { margin-left: auto; margin-right: 0; padding-left: 48px; text-align: left; }

/* Dot on the line */
.tl-dot {
  position: absolute;
  top: 18px;
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  box-shadow: 0 0 0 2px currentColor;
}
.tl-left  .tl-dot { right: -6px; }
.tl-right .tl-dot { left: -6px;  }

.tl-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.tl-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tl-card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 8px; flex-direction: row;
}
.tl-left .tl-card-head,
.tl-right .tl-card-head { flex-direction: row; }
.tl-card-head .tl-sector { margin-bottom: 0; }
.tl-badge-current {
  font-size: 9px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--c-sky); color: #fff;
  padding: 2px 8px; border-radius: var(--r-full);
  white-space: nowrap; flex-shrink: 0;
}
.tl-period {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 8px;
}
.tl-current .tl-card {
  border-color: rgba(45,156,219,0.25);
  box-shadow: 0 0 0 2px rgba(45,156,219,0.08), var(--shadow-sm);
}
.tl-sector {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 8px;
}
.tl-role {
  font-size: 17px; font-weight: 700;
  color: var(--c-ink); margin-bottom: 4px;
  font-family: var(--f-display);
}
.tl-org {
  font-size: 14px; font-weight: 600;
  color: var(--c-navy); margin-bottom: 6px;
}
.tl-period {
  font-size: 12px; font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.tl-desc {
  font-size: 13.5px; line-height: 1.75;
  color: var(--c-muted);
}

/* Mobile: single column */
@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .tl-item { width: 100%; padding-left: 44px; padding-right: 0; text-align: left; margin-left: 0; }
  .tl-left  { padding-right: 0; text-align: left; }
  .tl-left  .tl-dot { right: auto; left: -28px; }
  .tl-right .tl-dot { left: -28px; }
}

/* ══════════════════════════════════════════════════════════
   TAG LINKS
══════════════════════════════════════════════════════════ */
.tag-link {
  display: inline-block;
  text-decoration: none;
  color: var(--c-ink);
  transition: all 0.25s var(--ease);
}
.tag-link:hover {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════════════════════
   BLOG PAGE
══════════════════════════════════════════════════════════ */
.blog-section {
  background: var(--c-surface);
  padding: 48px 0 96px;
  /* Wrap inside */
}
.blog-section > .wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── Blog section: featured + results ── */
.blog-section .blog-featured { margin-bottom: 48px; }

/* Search view toolbar: matches browse view style */
#ysSearchView .blog-toolbar {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 28px;
}

/* Blog hero subtitle */
.pg-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  max-width: 520px;
  line-height: 1.7;
}

/* Blog meta shared */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.blog-cat {
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 10.5px;
  font-weight: 700;
}
.blog-date, .blog-read { color: var(--c-muted); font-weight: 500; }
.blog-dot { color: var(--c-border); font-size: 10px; }

/* ─── Featured post ─── */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: stretch;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 56px;
  transition: box-shadow 0.35s var(--ease);
}
.blog-featured:hover { box-shadow: var(--shadow-lg); }

.blog-featured-img {
  display: flex;
  align-items: center;
  min-height: 360px;
  background: #0f1923;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.blog-featured-placeholder {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-featured-placeholder span {
  font-family: var(--f-display);
  font-size: 96px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
}

.blog-featured-body {
  padding: 40px 40px 40px 0;
  border-left: 4px solid var(--cat-clr, var(--c-blue));
  padding-left: 36px;
}
.blog-featured-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-featured-title a { color: var(--c-ink); transition: color 0.2s; }
.blog-featured-title a:hover { color: var(--c-blue); }
.blog-featured-exc { font-size: 15px; line-height: 1.85; color: var(--c-muted); margin-bottom: 28px; }
.blog-read-btn { display: inline-flex; }

/* ─── Blog controls ─── */
.blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}
.blog-total-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  margin: 0;
}
.blog-chip,
.blog-view {
  appearance: none;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.blog-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 11px 14px;
  text-decoration: none;
}
.blog-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(18,34,51,0.06);
  color: var(--c-ink);
  font-size: 10px;
}
.blog-chip:hover,
.blog-view:hover {
  border-color: rgba(30,132,194,0.38);
  color: var(--c-blue);
}
.blog-chip.is-active {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-white);
}
.blog-chip.is-active span {
  background: rgba(255,255,255,0.14);
  color: var(--c-white);
}
.blog-view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 30px rgba(18,34,51,0.06);
}
.blog-view {
  border: 0;
  border-radius: 999px;
  padding: 11px 13px;
  background: transparent;
}
.blog-view.is-active {
  background: var(--c-blue);
  color: var(--c-white);
  box-shadow: 0 10px 22px rgba(30,132,194,0.22);
}

/* ─── Posts grid ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-articles.view-list {
  grid-template-columns: 1fr;
}
.blog-articles.view-list .blog-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 230px;
}
.blog-articles.view-list .blog-card-img-wrap {
  height: 100%;
  min-height: 230px;
  aspect-ratio: unset;
}
.blog-articles.view-list .blog-card-img-wrap img {
  object-position: left top;
}
.blog-articles.view-list .blog-card-body {
  padding: 28px 30px;
}
.blog-articles.view-list .blog-card-title {
  font-size: 24px;
  max-width: 760px;
}
.blog-articles.view-list .blog-card-exc {
  max-width: 800px;
}
.blog-articles.view-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.blog-articles.view-compact .blog-card {
  min-height: 0;
}
.blog-articles.view-compact .blog-card-img-wrap {
  display: none;
}
.blog-articles.view-compact .blog-card-body {
  padding: 18px 20px;
}
.blog-articles.view-compact .blog-card-title {
  font-size: 17px;
  margin-bottom: 8px;
}
.blog-articles.view-compact .blog-card-exc {
  display: none;
}
/* JS-controlled visibility: author CSS (display:grid/flex) overrides [hidden] from UA stylesheet.
   These !important rules restore correct hide/show behaviour for all search-zone elements. */
.blog-card[hidden]        { display: none !important; }
.blog-grid[hidden]        { display: none !important; }
#ysSkeletonGrid[hidden]   { display: none !important; }
#ysSearchView[hidden]     { display: none !important; }
#ysBrowseView[hidden]     { display: none !important; }
#ysNoResults[hidden]      { display: none !important; }
#ysResultsGrid:empty      { display: none; }

.blog-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(9,9,11,0.05);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(9,9,11,0.12), 0 6px 18px rgba(9,9,11,0.07);
  border-color: rgba(29,111,164,0.18);
}

.blog-card-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 40 / 21;
  overflow: hidden;
  background: #0f1923;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s var(--ease);
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.03); }

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-navy) 0%, #0a1628 100%);
}
.blog-card-placeholder span {
  font-family: var(--f-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255,255,255,0.07);
}

/* Category badge: show on image */
.blog-card-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 2;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.15);
}

.blog-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--cat-clr, var(--c-border));
}
.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  flex: 1;
}
.blog-card-title a { color: var(--c-ink); transition: color 0.2s; }
.blog-card-title a:hover { color: var(--c-blue); }
.blog-card-exc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-blue);
  margin-top: auto;
}
.blog-arrow { transition: transform 0.2s var(--ease); }
.blog-more:hover .blog-arrow { transform: translateX(4px); }

/* ─── Pagination ─── */
/* Target only a/span, NOT the ul.page-numbers container */
.blog-pagination a.page-numbers,
.blog-pagination button.page-numbers,
.blog-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  transition: all 0.2s;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.blog-pagination a.page-numbers:hover,
.blog-pagination button.page-numbers:hover,
.blog-pagination span.page-numbers.current {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}
.blog-pagination a.prev,
.blog-pagination a.next,
.blog-pagination button.prev,
.blog-pagination button.next {
  width: auto;
  padding: 0 16px;
}
.blog-pagination span.dots {
  width: auto;
  border: none;
  color: var(--c-muted);
  background: transparent;
  cursor: default;
}

/* ─── Empty state ─── */
.blog-empty {
  text-align: center;
  padding: 80px 32px;
  max-width: 480px;
  margin: 0 auto;
}
.blog-empty-icon { font-size: 56px; margin-bottom: 20px; }
.blog-empty h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.blog-empty p { color: var(--c-muted); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }

/* ══════════════════════════════════════════════════════════
   SINGLE ARTICLE
══════════════════════════════════════════════════════════ */
/* Article hero min-height so the bottom photo has real room */
.art-hero { min-height: 420px; }

/* Article page — header nav uses white text when transparent (dark hero behind it) */
.single-post .site-header.is-top .nav-a { color: rgba(255,255,255,0.85); }
.single-post .site-header.is-top .nav-a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.single-post .site-header.is-top .logo-name { color: #fff; }
.single-post .site-header.is-top .hamburger-line { background: #fff; }
.single-post .site-header.is-top .nav-cta {
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}
.single-post .site-header.is-top .nav-cta:hover { background: rgba(255,255,255,0.22); }

/* Article hero — bg is full-bleed (behind transparent header), content starts below menu */
.art-hero {
  background: var(--c-deep);
  position: relative;
  overflow: hidden;
}
.art-hero-img { background-size: cover !important; background-position: center 10% !important; }

/* Overlay: dark on left for text, lighter on right for circle, solid on bottom */
.art-hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to right, rgba(13,27,42,0.97) 0%, rgba(13,27,42,0.97) 52%, rgba(13,27,42,0.50) 100%),
    linear-gradient(to bottom, transparent 50%, rgba(13,27,42,0.98) 100%);
}

.art-hero-wrap {
  position: relative; z-index: 1;
  padding-top: calc(var(--hh) + 20px);
  padding-bottom: 28px;
  padding-right: 36%;
}

@media (max-width: 768px) {
  .art-hero-wrap { padding-right: 32px; }
}
.art-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  color: rgba(255,255,255,0.45); margin-bottom: 16px;
}
.art-breadcrumb a { color: rgba(255,255,255,0.55); }
.art-breadcrumb a:hover { color: var(--c-gold-lt); }
.art-breadcrumb span { color: rgba(255,255,255,0.25); }

.art-badge {
  display: inline-block;
  background: var(--c-blue);
  color: #fff;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-full);
  margin-bottom: 16px;
}
.art-title {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 800; letter-spacing: -1.2px;
  line-height: 1.1; color: #fff;
  margin-bottom: 28px; max-width: 780px;
}
.art-meta {
  display: flex; align-items: center; gap: 14px;
}
.art-author-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2px solid var(--c-gold);
  flex-shrink: 0;
}
.art-author-name { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.art-meta-row { display: flex; gap: 8px; align-items: center; font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 3px; }
.art-sep { color: rgba(255,255,255,0.2); }

/* Article layout */
.art-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.art-layout > * { min-width: 0; }
/* Ensure exactly 2 columns: article left, sidebar right */
.art-main    { grid-column: 1; grid-row: 1; }
.art-sidebar { grid-column: 2; grid-row: 1; }

/* Article content */
.art-thumb {
  border-radius: var(--r-lg); overflow: hidden;
  margin-bottom: 40px;
}
.art-thumb img { width: 100%; max-height: 480px; object-fit: cover; }

.art-content {
  font-size: 17px;
  line-height: 1.95;
  color: #2c3e50;
}
.art-content h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.4px; }
.art-content h3 { font-size: 21px; font-weight: 700; margin: 32px 0 12px; }
.art-content p  { margin-bottom: 20px; }
.art-content ul,.art-content ol { padding-left: 24px; margin-bottom: 20px; }
.art-content li { margin-bottom: 8px; }
.art-content blockquote {
  border-left: 4px solid var(--c-gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--c-surface);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--c-muted);
}
.art-content a { color: var(--c-blue); }
.art-content a:hover { color: var(--c-navy); }
.art-content strong { color: var(--c-ink); font-weight: 700; }
.art-content code {
  background: var(--c-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88em;
  color: var(--c-blue);
}

/* Tags */
.art-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid var(--c-border);
}
.art-tags-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); margin-right: 4px; }
.art-tag {
  padding: 5px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  color: var(--c-ink);
  transition: all 0.2s;
}
.art-tag:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

/* Share strip */
.art-share {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.art-share-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--c-muted); }
.art-share-links { display: flex; gap: 8px; }
.art-share-btn {
  padding: 7px 16px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
  color: #fff; transition: all 0.2s;
}
.art-share-li { background: #0a66c2; }
.art-share-tw { background: #09090b; }
.art-share-fb { background: #1877f2; }
.art-share-btn:hover { opacity: 0.85; transform: translateY(-1px); color: #fff; }

/* Author box */
.art-author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 40px;
}
.art-author-box-img {
  width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 2.5px solid var(--c-gold);
  flex-shrink: 0;
}
.art-author-box-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--c-muted); margin-bottom: 4px; }
.art-author-box-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.art-author-box-bio { font-size: 14px; line-height: 1.7; color: var(--c-muted); margin-bottom: 14px; }
.art-author-box-links { display: flex; gap: 12px; }
.art-author-box-links a { font-size: 13px; font-weight: 700; color: var(--c-blue); }
.art-author-box-links a:hover { color: var(--c-navy); }

/* Prev/Next nav */
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.art-nav-item {
  padding: 20px 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  transition: all 0.25s;
  display: flex; flex-direction: column; gap: 6px;
}
.art-nav-item:hover { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.art-nav-next { text-align: right; }
.art-nav-dir { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-blue); }
.art-nav-title { font-size: 14px; font-weight: 600; color: var(--c-ink); line-height: 1.4; }

/* Sidebar */
.art-sidebar { position: sticky; top: calc(var(--hh) + 24px); }
.art-widget {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 16px;
}
.art-widget-img {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; object-position: top;
  border: 3px solid var(--c-gold);
  box-shadow: 0 0 0 4px rgba(201,150,58,0.15);
  margin: 0 auto 14px;
}
.art-widget-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.art-widget-tag { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-blue); margin-bottom: 6px; }
.art-widget-bio { font-size: 13px; color: var(--c-muted); line-height: 1.6; margin-bottom: 18px; }
.art-widget-btn {
  display: block; padding: 10px 20px;
  background: var(--c-navy); color: #fff;
  border-radius: var(--r-full);
  font-size: 13px; font-weight: 700;
  transition: all 0.2s;
}
.art-widget-btn:hover { background: var(--c-blue); color: #fff; }

.art-back-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: 13px; font-weight: 700;
  color: var(--c-muted);
  transition: all 0.2s;
  justify-content: center;
}
.art-back-btn:hover { border-color: var(--c-blue); color: var(--c-blue); }

/* ── Archive post count label ── */
.arch-count {
  font-size: 14px;
  color: var(--c-muted);
  font-weight: 500;
  margin: 0;
}

/* ── Archive category chips ── */
.arch-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.arch-cat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 12px; font-weight: 600;
  transition: all 0.2s;
}
.arch-cat:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.arch-cat-active { background: var(--c-blue) !important; border-color: var(--c-blue) !important; color: #fff !important; }
.arch-cat-count {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 10px;
}

/* ── Responsive blog/article ── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 220px; }
  .blog-featured-body { padding: 24px; }
  .blog-grid { grid-template-columns: 1fr; }
  .art-nav { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-card-2 { top: 10px; left: -52px; }
  .srv-grid { grid-template-columns: 1fr 1fr; }
  .about-split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ftr-top { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
  .cta-box { flex-direction: column; padding: 52px 44px; text-align: center; }
  .abt-grid { grid-template-columns: 4fr 6fr; gap: 48px; }
  .abt-grid > div:first-child { top: calc(var(--hh, 80px) + 20px); }
  .cta-box .lead { margin: 0 auto; }
  .cta-acts { justify-content: center; }
}
@media (max-width: 768px) {
  :root { --hh: 68px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: calc(var(--hh) + 36px) 16px 32px; gap: 36px; }
  .hero-eyebrow { justify-content: center; }
  .hero-body { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  /* Trust stats: wrap, centered, hide dividers */
  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    padding-top: 20px;
    margin-top: 24px;
  }
  .hero-trust > div { flex: 0 0 auto; text-align: center; }
  .trust-divider { display: none; }
  .trust-num { font-size: 22px; }
  .trust-label { font-size: 9px; letter-spacing: 1px; white-space: nowrap; }

  /* Photo frame */
  .hero-photo-frame { max-width: 260px; margin: 0 auto; }

  /* Floating badges — clamp() handles sizing, just fix positions */
  /* card-1 (Cairo): bottom-right corner, snug to the ring */
  .hero-card-1 { bottom: 16px; right: -4px; }
  /* card-2 (1999): center sits exactly on circle edge at top-left 45° point */
  .hero-card-2 { top: 35px; left: 10px; bottom: auto; right: auto;
                 transform: translate(-50%, -50%); }
  .nav { display: none; }
  .hamburger { display: flex; }
  .srv-grid { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .about-img-card { right: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat:last-child,.stat:nth-last-child(2) { border-bottom: none; }
  .abt-grid,.ctc-grid { grid-template-columns: 1fr; gap: 40px; }
  .abt-grid > div:first-child { position: static; }
  .abt-photo { max-width: 200px; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .f-row { grid-template-columns: 1fr; }
  /* Footer mobile — 2 cols: brand full-width, nav|contact side-by-side */
  .ftr-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
    padding-bottom: 32px;
  }
  .ftr-brand-wrap     { grid-column: 1 / -1; }
  /* Follow Me → col 1, row 3 so stamp appears bottom-left */
  .ftr-col:last-child { grid-column: 1; }
  .ftr-brand-desc { max-width: 100%; font-size: 13px; line-height: 1.7; }

  /* Stamp: 5px down, 5px left — more visible */
  .ftr-stamp {
    width:  clamp(95px, 32.5vw, 134px);
    height: clamp(95px, 32.5vw, 134px);
    bottom: 15px;
    right:  65px;
    opacity: 0.55;
    filter: contrast(1.5) brightness(0.75);
  }

  /* Bottom bar */
  .ftr-bottom { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; }
  .ftr { padding: 0 18px; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .ctc-form { padding: 28px 24px; }
  .cta-box { padding: 40px 28px; border-radius: var(--r-lg); }
}

/* ══════════════════════════════════════════════════════════
   V3 ENHANCEMENTS
══════════════════════════════════════════════════════════ */

/* Blog card — top accent bar uses category colour */
.blog-card { position: relative; }
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cat-clr, var(--c-sky));
  border-radius: 20px 20px 0 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.blog-card:hover::before { opacity: 1; }

/* Pagination — force horizontal row */
.blog-pagination { margin-top: 52px; text-align: center; }
.blog-pagination .nav-links,
.blog-pagination ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0; padding: 0;
}
.blog-pagination li { margin: 0; }

/* Blog grid responsive — single col on mobile */
@media (max-width: 767px) {
  .blog-grid     { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
}

/* ≤ 480px: trust stats stack in one column */
@media (max-width: 480px) {
  .hero-trust { flex-direction: column; align-items: center; gap: 14px; }
  .trust-num  { font-size: 20px; }
  .trust-label { font-size: 8.5px; letter-spacing: 0.8px; }
}

/* ≤ 400px: hide floating badges to prevent overflow */
@media (max-width: 400px) {
  .hero-card { display: none; }
  .hero-photo-frame { max-width: 210px; }
}


/* ══ Blog & Archive chips — mobile ══════════════════════════ */
@media (max-width: 768px) {
  /* Toolbar: filter on top, view switcher below */
  .blog-toolbar {
    flex-direction: column;
    gap: 12px;
  }
  .blog-view-switch { align-self: flex-end; }

  /* Chips: smaller padding so 2-3 fit per row */
  .blog-chip {
    padding: 8px 11px;
    font-size: 11px;
  }
  .blog-chip span { font-size: 9px; min-width: 16px; height: 16px; }

  /* Archive category chips */
  .arch-cats { gap: 6px; }
  .arch-cat  { padding: 5px 11px; font-size: 11px; }
  .arch-cat-count { font-size: 9px; padding: 1px 5px; }
}

/* Hero eyebrow — static, no cursor */
#hero-type { color: var(--c-gold); font-weight: 700; }

/* Service cards — glassmorphism on hover */
.srv-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
  transition: transform 0.25s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* Glowing dot badge on service cards */
.srv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.35s;
}
.srv-card:nth-child(1)::before { background: linear-gradient(90deg,var(--c-sky),var(--c-blue)); }
.srv-card:nth-child(2)::before { background: linear-gradient(90deg,var(--c-gold),var(--c-gold-lt)); }
.srv-card:nth-child(3)::before { background: linear-gradient(90deg,#40916c,#52b788); }
.srv-card:nth-child(4)::before { background: linear-gradient(90deg,#9b59b6,#c39bd3); }
.srv-card:hover::before { opacity: 1; }

/* Floating CTA button */
.float-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  background: var(--c-navy);
  color: #fff;
  border-radius: var(--r-full);
  padding: 13px 22px;
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 32px rgba(13,33,55,0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.2s;
  pointer-events: none;
}
.float-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-cta:hover {
  background: var(--c-blue);
  box-shadow: 0 12px 40px rgba(29,111,164,0.45);
  color: #fff;
}
.float-cta-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  animation: pulseDot 2s ease-in-out infinite;
}
@media (max-width: 768px) {
  .float-cta { bottom: 20px; right: 16px; padding: 11px 18px; font-size: 12px; }
}

/* Timeline card — no period, cleaner look */
.tl-card {
  position: relative;
  overflow: hidden;
}
.tl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--c-blue));
  border-radius: var(--r-md) var(--r-md) 0 0;
}

/* Hero canvas sits behind content */
#hero canvas { position: absolute; inset: 0; }

/* Gradient shimmer on section headings */
.h2 .shimmer {
  background: linear-gradient(120deg, var(--c-navy) 0%, var(--c-sky) 40%, var(--c-navy) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

/* About section bio paragraph spacing */
.abt-text p:last-of-type { margin-bottom: 28px; }

/* ══════════════════════════════════════════════════════════
   ARTICLE HERO PHOTO — direct child of .art-hero
══════════════════════════════════════════════════════════ */
.art-hero-photo {
  position: absolute;
  bottom: 70px;                /* lifted from bottom edge */
  right: max(32px, calc((100% - var(--max)) / 2 + 24px));
  width: 28%;
  max-width: 340px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
@media (max-width: 860px) { .art-hero-photo { display: none; } }

/* Inner wrapper — ring + circle + stamp are sized together */
.art-hero-photo-inner {
  position: relative;
  width: 88%;
  max-width: 300px;
  overflow: visible;
}

/* Ring — static dashed circle, decorative only */
.art-hero-ring {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255,255,255,0.15);
  pointer-events: none;
  z-index: 2;
}

/* Orbit arm — JS sets transform:rotate() directly via rAF, no CSS animation */
.art-orbit-arm {
  position: absolute;
  inset: -18px;
  pointer-events: none;
  z-index: 6;
}
.art-orbit-arm::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 9px; height: 9px;
  margin-top: -4px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cat-clr, var(--c-gold));
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.25),
    0 0 12px 5px var(--cat-clr, #c9963a),
    0 0 22px 8px var(--cat-clr, #c9963a);
}

/* The circular photo itself */
.art-hero-circle {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative; z-index: 3;
  border: 6px solid var(--cat-clr, rgba(201,150,58,0.9));
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.05),
    0 0 60px rgba(0,0,0,0.5);
  -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
  mask-image:          linear-gradient(to bottom, black 68%, transparent 100%);
  opacity: 0.72;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}
.art-hero-circle:hover { opacity: 0.88; transform: scale(1.02); }

/* ── Article hero — tablet & mobile ── */
@media (max-width: 860px) {
  .art-hero { min-height: 0; }
  .art-hero-wrap {
    padding-top:    calc(var(--hh) + 40px) !important;
    padding-right:  24px !important;
    padding-left:   24px !important;
    padding-bottom: 44px !important;
  }
  .art-hero-overlay {
    background: rgba(13,27,42,0.97);
  }
  .art-title { margin-bottom: 18px; }
  .art-breadcrumb { margin-bottom: 10px; }
  .art-badge { margin-bottom: 12px; }
}

@media (max-width: 480px) {
  .art-hero-wrap {
    padding-top:    calc(var(--hh) + 52px) !important;
    padding-right:  20px !important;
    padding-left:   20px !important;
    padding-bottom: 32px !important;
  }
  .art-layout { padding: 32px 16px 48px; gap: 24px; }
  .art-nav { grid-template-columns: 1fr; gap: 12px; }
  .art-author-box { flex-direction: column; gap: 16px; }
}

/* ══════════════════════════════════════════════════════════
   TABLE OF CONTENTS (ARTICLE SIDEBAR)
══════════════════════════════════════════════════════════ */
.art-toc {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.art-toc-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.art-toc-title::after {
  content: ''; flex: 1; height: 1px; background: var(--c-border);
}
.art-toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.art-toc-item a {
  font-size: 13px; font-weight: 500; color: var(--c-muted);
  display: flex; align-items: flex-start; gap: 10px;
  line-height: 1.5; transition: color 0.2s; padding: 3px 0;
}
.art-toc-item a::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-gold); flex-shrink: 0; margin-top: 6px;
  transition: all 0.2s;
}
.art-toc-item a:hover { color: var(--c-navy); }
.art-toc-item.is-active a { color: var(--c-blue); font-weight: 700; }
.art-toc-item.is-active a::before {
  background: var(--c-blue); width: 6px; height: 6px; margin-top: 5px;
}

/* ══════════════════════════════════════════════════════════
   HOME PAGE — LATEST INSIGHTS SECTION
══════════════════════════════════════════════════════════ */
.insights-section { background: var(--c-surface); }

.insights-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; gap: 24px;
}
@media (max-width: 640px) {
  .insights-header { flex-direction: column; align-items: flex-start; }
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px)  { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 8px rgba(9,9,11,0.05);
  position: relative;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s;
  text-decoration: none; color: inherit;
}
.insight-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--cat-clr, var(--c-sky));
  border-radius: 20px 20px 0 0; z-index: 2;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(9,9,11,0.12), 0 6px 18px rgba(9,9,11,0.07);
  border-color: rgba(29,111,164,0.18);
}
.insight-card:hover::before { opacity: 1; }

.insight-img {
  position: relative; display: block;
  height: 200px; overflow: hidden; background: var(--c-deep);
  flex-shrink: 0;
}
.insight-img img {
  width: 100%; height: 100%; object-fit: contain;
  display: block; transition: transform 0.45s var(--ease);
}
.insight-card:hover .insight-img img { transform: scale(1.04); }
.insight-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--c-navy) 0%, #0a1628 100%);
  display: flex; align-items: center; justify-content: center;
}
.insight-placeholder span {
  font-family: var(--f-display); font-size: 72px; font-weight: 800;
  color: rgba(255,255,255,0.07);
}
.insight-badge {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--c-blue); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: var(--r-full);
}

.insight-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.insight-meta {
  font-size: 11px; font-weight: 600; color: var(--c-muted);
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.insight-meta-dot { color: var(--c-border); font-size: 10px; }
.insight-title {
  font-size: 16px; font-weight: 700; line-height: 1.35;
  margin-bottom: 16px; flex: 1; color: var(--c-ink);
  transition: color 0.2s;
}
.insight-card:hover .insight-title { color: var(--c-navy); }
.insight-read {
  font-size: 13px; font-weight: 700; color: var(--c-blue);
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto; transition: gap 0.2s;
}
.insight-card:hover .insight-read { gap: 8px; }

/* ══════════════════════════════════════════════════════════
   ENHANCED ARTICLE CONTENT TYPOGRAPHY
══════════════════════════════════════════════════════════ */
.art-content h2 {
  position: relative; padding-left: 18px;
}
.art-content h2::before {
  content: ''; position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 2px;
  background: linear-gradient(to bottom, var(--c-sky), var(--c-blue));
}
.art-content blockquote {
  border-left: none;
  padding: 24px 28px;
  margin: 36px 0;
  background: linear-gradient(135deg, rgba(29,111,164,0.06) 0%, rgba(201,150,58,0.04) 100%);
  border-radius: var(--r-md);
  border: 1px solid rgba(29,111,164,0.12);
  font-style: normal;
  font-size: 18px; font-weight: 500; line-height: 1.8;
  color: var(--c-navy);
  position: relative;
}
.art-content blockquote::before {
  content: '"'; position: absolute;
  top: -14px; left: 18px;
  font-size: 64px; font-family: var(--f-display);
  color: var(--c-sky); opacity: 0.25; line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   ENHANCED CTA BOX
══════════════════════════════════════════════════════════ */
.cta-box {
  background: linear-gradient(135deg, var(--c-navy) 0%, #0a1e35 60%, #0d2137 100%) !important;
  border: none !important;
  color: #fff;
  position: relative; overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 120% at 80% 50%, rgba(29,111,164,0.2) 0%, transparent 70%);
}
.cta-box h2 { color: #fff; position: relative; z-index: 1; }
.cta-box p  { color: rgba(255,255,255,0.6) !important; position: relative; z-index: 1; }
.cta-acts    { position: relative; z-index: 1; }
.cta-box .btn-blue {
  background: var(--c-sky);
  box-shadow: 0 4px 20px rgba(45,156,219,0.45);
}
.cta-box .btn-navy {
  background: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  color: #fff;
}
.cta-box .btn-navy:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   HERO TYPING CURSOR
══════════════════════════════════════════════════════════ */
#hero-type {
  color: var(--c-gold-lt);
  font-weight: 700;
  position: relative;
}
#hero-type::after {
  content: '|';
  margin-left: 2px;
  color: var(--c-gold);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ══════════════════════════════════════════════════════════
   HERO EYEBROW — TYPING TARGET
══════════════════════════════════════════════════════════ */
.hero-eyebrow-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--c-gold);
  box-shadow: 0 0 0 0 rgba(201,150,58,0.6);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   BLOG CARD IMPROVEMENTS — category badge visible
══════════════════════════════════════════════════════════ */
.blog-card-cat {
  display: inline-block !important;
  position: absolute; bottom: 10px; left: 10px;
  background: var(--c-blue); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: var(--r-full); z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY HERO
══════════════════════════════════════════════════════════ */
.arch-hero { background: var(--c-deep); }
.arch-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(29,111,164,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   ACCESSIBILITY — REDUCED MOTION
══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Home page planets — kept alive */
  .hp-ring--mercury { animation-duration: 4s   !important; animation-iteration-count: infinite !important; }
  .hp-ring--venus   { animation-duration: 10s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--earth   { animation-duration: 16s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--mars    { animation-duration: 26s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--jupiter { animation-duration: 60s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--saturn  { animation-duration: 90s  !important; animation-iteration-count: infinite !important; }
  .hp-ring--uranus  { animation-duration: 125s !important; animation-iteration-count: infinite !important; }
  .hp-ring--neptune { animation-duration: 165s !important; animation-iteration-count: infinite !important; }
  .hp-ring--pluto   { animation-duration: 250s !important; animation-iteration-count: infinite !important; }
  /* Contact page planets — kept alive */
  .ctc-ring--mercury { animation-duration: 4s   !important; animation-iteration-count: infinite !important; }
  .ctc-ring--venus   { animation-duration: 10s  !important; animation-iteration-count: infinite !important; }
  .ctc-ring--earth   { animation-duration: 16s  !important; animation-iteration-count: infinite !important; }
  .ctc-ring--mars    { animation-duration: 26s  !important; animation-iteration-count: infinite !important; }
  .ctc-ring--jupiter { animation-duration: 60s  !important; animation-iteration-count: infinite !important; }
  .ctc-ring--saturn  { animation-duration: 90s  !important; animation-iteration-count: infinite !important; }
  .ctc-ring--uranus  { animation-duration: 125s !important; animation-iteration-count: infinite !important; }
  .ctc-ring--neptune { animation-duration: 165s !important; animation-iteration-count: infinite !important; }
  .ctc-ring--pluto   { animation-duration: 250s !important; animation-iteration-count: infinite !important; }
  .r { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG SEARCH CENTER — Real Estate Style
   Unified dark zone: hero + search as one visual block
═══════════════════════════════════════════════════════════ */

/* ── Unified dark zone wrapper ── */
.blog-search-zone {
  background: var(--c-deep);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Compact blog hero ── */
.blog-hero-compact {
  padding: calc(var(--hh) + 28px) 0 24px;
}
.blog-hero-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 8px 0 10px;
}
.blog-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  font-weight: 500;
  letter-spacing: 0.3px;
  max-width: 600px;
}

/* ── Search wrap: no longer sticky, flows in the dark zone ── */
.ys-srch-wrap {
  background: transparent;
  border-bottom: none;
  padding: 0 0 36px;
  position: relative;
  top: 0;
  z-index: 10;
  transition: none;
}
.ys-srch-wrap.is-stuck { box-shadow: none; border-bottom-color: transparent; }
.ys-srch-wrap.ys-srch-focused .ys-srch-card {
  border-color: rgba(45,156,219,0.35);
  box-shadow: 0 0 0 1px rgba(45,156,219,0.15), 0 8px 40px rgba(0,0,0,0.4);
}

/* ── Search card: the main container ── */
.ys-srch-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  padding: 6px 6px 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

/* ── Search bar: large, clean, pill inside card ── */
.ys-srch-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px 16px 0 0;
  padding: 4px 20px 4px 18px;
  transition: background 0.2s;
}
.ys-srch-wrap.ys-srch-focused .ys-srch-bar {
  background: rgba(255,255,255,0.08);
}
.ys-srch-icon { color: rgba(255,255,255,0.40); flex-shrink:0; cursor:text; display:flex; align-items:center; }
.ys-srch-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--f-body, Inter, sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  padding: 18px 0;
  min-width: 0;
}
.ys-srch-input::placeholder { color: rgba(255,255,255,0.25); font-weight: 400; }
.ys-srch-input::-webkit-search-cancel-button { display:none; }

.ys-srch-clear {
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.ys-srch-clear:hover { background: rgba(231,76,60,0.2); color: #e74c3c; }

/* Article count pill */
.ys-srch-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Active badge: outside the card, positioned in category row */
.ys-active-badge {
  background: var(--c-gold);
  border-radius: var(--r-full);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* ── Filter Panel: always visible, no animation ── */
.ys-filter-panel {
  display: block !important;
  padding: 0;
}
#ysFilterPanel[hidden] { display: block !important; }

/* ── Filter inner ── */
.ys-filter-inner { display: flex; flex-direction: column; gap: 0; }

/* ── Section wrapper with padding ── */
.ys-srch-section {
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── Section label (real estate style) ── */
.ys-filter-label {
  display: block;
  color: rgba(255,255,255,0.32);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Filter chips container ── */
.ys-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* ── Base chip — real estate property-type style ── */
.ys-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.60);
  cursor: pointer;
  font-family: var(--f-body, Inter, sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
  white-space: nowrap;
  line-height: 1;
}
.ys-chip em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 1px 6px;
  margin-left: 2px;
}
.ys-chip:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.90);
  transform: translateY(-1px);
}

/* "All" chip: gold active */
.ys-chip-all.is-active {
  background: rgba(201,150,58,0.18);
  border-color: var(--c-gold);
  color: var(--c-gold-lt);
  font-weight: 600;
}
.ys-chip-all.is-active em {
  background: rgba(201,150,58,0.25);
  color: var(--c-gold-lt);
}

/* Category chips: custom colour when active */
.ys-chip[data-cat]:not([data-cat=""]).is-active {
  background: color-mix(in srgb, var(--chip-clr, var(--c-sky)) 18%, transparent);
  border-color: var(--chip-clr, var(--c-sky));
  color: var(--chip-clr, var(--c-sky));
  font-weight: 600;
}
.ys-chip[data-cat]:not([data-cat=""]).is-active em {
  background: color-mix(in srgb, var(--chip-clr, var(--c-sky)) 20%, transparent);
  color: var(--chip-clr, var(--c-sky));
}

/* Secondary filter chips: smaller */
.ys-filter-row .ys-chip { font-size: 12px; padding: 6px 12px; }
.ys-filter-row .ys-chip.is-active {
  background: rgba(45,156,219,0.15);
  border-color: var(--c-sky);
  color: var(--c-sky);
  font-weight: 600;
}

/* ── Filter row (year + readtime + sort) ── */
.ys-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 0 4px;
}
.ys-filter-sec {
  padding: 16px 16px 16px;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.ys-filter-sec:last-child { border-right: none; }

/* ── Filter row: responsive ── */
@media (max-width: 768px) {
  .ys-filter-row { grid-template-columns: 1fr 1fr; }
  .ys-filter-sec:nth-child(2) { border-right: none; }
}
@media (max-width: 480px) {
  .ys-filter-row { grid-template-columns: 1fr; }
  .ys-filter-sec {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 16px;
  }
  .ys-filter-sec:last-child { border-bottom: none; }
}

/* ── Footer row ── */
.ys-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 0;
  gap: 12px;
}
.ys-result-status {
  color: rgba(255,255,255,0.32);
  font-size: 12px;
  margin: 0;
}
.ys-clear-all {
  background: transparent;
  border: 1px solid rgba(231,76,60,0.35);
  border-radius: var(--r-sm);
  color: rgba(231,76,60,0.75);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  transition: all 0.15s;
  display: flex; align-items: center; gap: 5px;
}
.ys-clear-all:hover {
  background: rgba(231,76,60,0.1);
  border-color: #e74c3c;
  color: #e74c3c;
}

/* ── No Ctrl+K hint (removed from design) ── */
.ys-srch-wrap::after,
.ys-srch-wrap.ys-srch-focused::after { display: none; }

/* ══════════════════════════════════════════════════════
   CATEGORY MULTI-SELECT UI  (injected by search.js)
══════════════════════════════════════════════════════ */

/* ── Mobile category toggle button ── */
.ys-cat-mobile-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: rgba(255,255,255,0.55);
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.ys-cat-mobile-toggle:hover { color: #fff; }
.ys-cat-mobile-toggle .ys-cat-arrow { transition: transform 0.25s; flex-shrink: 0; }
@media (max-width: 767px) {
  .ys-cat-mobile-toggle { display: flex; }
  .ys-filter-chips.ys-cat-hidden { display: none; }
}

/* "Add more" / "Done" toggle button */
.ys-cat-add-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.20);
  border-radius: var(--r-sm);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  font-family: var(--f-body, sans-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
  padding: 5px 12px;
  transition: all 0.18s;
}
.ys-cat-add-btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.80);
}
.ys-cat-add-btn.is-done {
  border-style: solid;
  border-color: rgba(39,174,96,0.45);
  color: rgba(39,174,96,0.90);
  background: rgba(39,174,96,0.08);
}
.ys-cat-add-btn.is-done:hover {
  background: rgba(39,174,96,0.14);
  border-color: rgba(39,174,96,0.70);
  color: #2ecc71;
}

/* Multi-select mode: chips look like checkboxes */
.ys-filter-chips.ys-multi-mode .ys-chip[data-cat]:not([data-cat=""]) {
  padding-left: 10px;
}
.ys-filter-chips.ys-multi-mode .ys-chip[data-cat]:not([data-cat=""]).is-active::before {
  content: "✓";
  font-size: 10px;
  margin-right: 4px;
  font-weight: 700;
}

/* Selected category tags bar */
.ys-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.ys-cat-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: color-mix(in srgb, var(--tag-clr, var(--c-sky)) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--tag-clr, var(--c-sky)) 45%, transparent);
  border-radius: 20px;
  color: var(--tag-clr, var(--c-sky));
  font-size: 12px; font-weight: 600;
  padding: 3px 10px 3px 11px;
  animation: ys-tag-in 0.18s ease;
}
@keyframes ys-tag-in {
  from { opacity:0; transform:scale(.88) translateY(4px); }
  to   { opacity:1; transform:scale(1)   translateY(0);   }
}
.ys-tag-rm {
  background: none; border: none; cursor: pointer;
  color: inherit; opacity: .65;
  font-size: 14px; line-height: 1;
  padding: 0 0 0 2px;
  display: flex; align-items: center;
  transition: opacity .15s;
}
.ys-tag-rm:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════
   ARTICLE SIDEBAR — new widgets
══════════════════════════════════════════════════════ */

/* Back button — redesigned */
.art-back-btn {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--c-muted);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  margin-bottom: 22px;
  transition: color 0.18s, gap 0.18s;
}
.art-back-btn:hover { color: var(--c-navy); gap: 10px; }
.art-back-btn svg { flex-shrink: 0; transition: transform 0.18s; }
.art-back-btn:hover svg { transform: translateX(-3px); }

/* Shared widget heading */
.art-widget-heading {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 14px;
}
.art-widget-heading svg { opacity: .6; flex-shrink: 0; }

/* ── Topics list ── */
.art-widget--topics { padding: 18px 20px; }
.art-topics-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.art-topic-item {}
.art-topic-link {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  color: var(--c-ink);
}
.art-topic-link:hover { background: var(--c-surface); }
.art-topic-item.is-active .art-topic-link {
  background: color-mix(in srgb, var(--tc, var(--c-sky)) 10%, transparent);
}
.art-topic-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tc, var(--c-sky)); flex-shrink: 0;
}
.art-topic-name { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--c-ink); }
.art-topic-item.is-active .art-topic-name { font-weight: 700; color: var(--tc, var(--c-sky)); }
.art-topic-count {
  font-size: 11px; font-weight: 600;
  background: var(--c-surface); border-radius: 20px;
  padding: 1px 8px; color: var(--c-muted);
}
.art-topic-item.is-active .art-topic-count {
  background: color-mix(in srgb, var(--tc, var(--c-sky)) 15%, transparent);
  color: var(--tc, var(--c-sky));
}

/* ── Recent articles list ── */
.art-widget--recent { padding: 18px 20px; }
.art-recent-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.art-recent-item {}
.art-recent-link {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  transition: opacity 0.15s;
}
.art-recent-item:last-child .art-recent-link { border-bottom: none; padding-bottom: 0; }
.art-recent-link:hover { opacity: .75; }
.art-recent-img {
  width: 56px; height: 56px; border-radius: 8px; flex-shrink: 0; overflow: hidden;
  background: var(--c-surface);
}
.art-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.art-recent-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.art-recent-body { flex: 1; min-width: 0; }
.art-recent-title {
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  line-height: 1.4; margin: 0 0 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.art-recent-meta { font-size: 11px; color: var(--c-muted); }

/* ── Author widget — tweaked ── */
.art-widget--author { text-align: center; padding: 20px; }
.art-widget-actions { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.art-widget-btn--outline {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-muted);
}
.art-widget-btn--outline:hover { border-color: var(--c-navy); color: var(--c-navy); background: var(--c-surface); }

/* ══════════════════════════════════════════════════════
   YOU MIGHT ALSO LIKE — Sidebar widget (vertical cards)
══════════════════════════════════════════════════════ */
.art-widget--related { padding: 18px 20px; }

.art-related-sidebar {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}

.art-rel-side {
  display: flex;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border, #e8edf3);
  text-decoration: none;
  transition: opacity .18s;
}
.art-related-sidebar li:last-child .art-rel-side { border-bottom: none; padding-bottom: 2px; }
.art-rel-side:hover { opacity: .72; }

/* Image/placeholder */
.art-rel-side-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--c-surface, #f8f9fb);
  border: 1px solid var(--c-border, #e8edf3);
}
.art-rel-side-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-rel-side-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  color: var(--rc, var(--c-sky));
  background: color-mix(in srgb, var(--rc, var(--c-sky)) 10%, var(--c-surface));
}

/* Body */
.art-rel-side-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 1px;
}
.art-rel-side-cat {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--rc, var(--c-sky));
  line-height: 1;
}
.art-rel-side-title {
  font-size: 13px; font-weight: 600;
  color: var(--c-ink, #09090b);
  line-height: 1.4; margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.art-rel-side-meta {
  font-size: 11px; color: var(--c-muted, #6b7c93);
  margin-top: auto;
}

/* ── Sidebar base widget box ── */
.art-widget {
  background: var(--c-white, #fff);
  border: 1px solid var(--c-border, #e8edf3);
  border-radius: var(--r-md, 12px);
  margin-bottom: 18px;
  overflow: hidden;
}
.art-widget:last-child { margin-bottom: 0; }

/* ── Responsive: collapse to single column ── */
@media (max-width: 1024px) {
  .art-layout { grid-template-columns: 1fr 280px; gap: 40px; }
}
@media (max-width: 900px) {
  .art-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px 60px;
  }
  .art-main    { grid-column: 1; grid-row: 1; }
  .art-sidebar {
    grid-column: 1; grid-row: 2;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .art-back-btn { grid-column: 1/-1; }
  .art-widget--related,
  .art-widget--author { grid-column: 1/-1; }
}
@media (max-width: 560px) {
  .art-layout { padding: 28px 16px 48px; }
  .art-sidebar { grid-template-columns: 1fr; }
}

/* ── Search highlight ── */
mark.ys-hl {
  background: rgba(201,150,58,0.25);
  border-radius: 3px;
  color: var(--c-gold, #c9963a);
  font-weight: 600;
  padding: 0 2px;
}

/* ── Search result count ── */
#ysSearchCount {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}

/* ── Skeleton cards ── */
.ys-skeleton { pointer-events:none; }
.ys-sk-img {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: ysSk 1.4s infinite;
  border-radius: 14px 14px 0 0;
}
.ys-sk-line {
  height: 14px;
  border-radius: 6px;
  margin: 10px 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: ysSk 1.4s infinite;
}
.ys-sk-line--sm { width:40%; height:11px; }
.ys-sk-line--lg { width:90%; height:17px; }
.ys-sk-line--md { width:70%; }
@keyframes ysSk {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════
   BUG FIXES — 2026-05-30
═══════════════════════════════════════════════════════════ */

/* Fix 1 — Logo subtitle: fixed min-height prevents Shahboun name shifting
   when typewriter clears and rewrites the subtitle line              */
.logo-sub {
  min-height: 1.15em;
  display: block;
}

/* Fix 2 — Let's Talk floating button: better hover with lift + gold ring */
.float-cta {
  background: var(--c-navy, #0d2137);
  border: 1.5px solid rgba(255,255,255,0.15);
  gap: 10px;
}
.float-cta:hover {
  background: var(--c-gold, #c9963a);
  border-color: var(--c-gold, #c9963a);
  box-shadow: 0 16px 40px rgba(201,150,58,0.35);
  color: #fff;
  transform: translateY(-3px) scale(1.04);
}
.float-cta:active {
  transform: translateY(-1px) scale(1.01);
}

/* Fix 3 — Available badge on about page: position bottom-left  */
.abt-avail-badge {
  position: absolute;
  left: 44px;
  bottom: 110px;
  z-index: 8;
}
@media (max-width: 1024px) {
  .abt-avail-badge { left: 28px; bottom: 100px; }
}
@media (max-width: 768px) {
  .abt-avail-badge { display: none; }
}

/* Fix 4 — About hero background: dark navy gradient matching home page */
.abt-hero {
  background:
    linear-gradient(135deg, rgba(13,33,55,0.97) 0%, rgba(10,20,34,0.95) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(29,111,164,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,150,58,0.08) 0%, transparent 50%);
  background-color: var(--c-navy, #0d2137);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU (single source of truth)
   NOTE: style.css كان فيه تعريفات متعددة لنفس الكلاس
   nav-mobile داخل نفس الملف، وده بيعمل تعارضات بين
   حالات (is-top / is-solid) وأحيانًا يسبب overflow.

   الحل: ترك تعريف واحد فقط (full-screen overlay) كما هو
   المتوافق مع header.php + main.js.
═══════════════════════════════════════════════════════════ */

/* Full-screen mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,17,29,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  padding-top: var(--hh, 72px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
  transform: none;
  transition: none;
  width: auto;
  border-left: none;
  box-shadow: none;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile::before { display: none; }

/* ── Let's Talk float button: readable on both dark & light ── */
.float-cta {
  background: var(--c-deep, #0f1923);
  border: 1.5px solid var(--c-gold, #c9963a);
  color: var(--c-gold, #c9963a);
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.float-cta:hover {
  background: var(--c-gold, #c9963a);
  border-color: var(--c-gold, #c9963a);
  color: #fff;
  box-shadow: 0 10px 32px rgba(201,150,58,0.40);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════════════════════
   CAIRO LIVE TIME — About page info card row
═══════════════════════════════════════════════════════════ */
.abt-live-time {
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  color: var(--c-ink, #09090b);
}

.abt-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27ae60;
  margin-left: 7px;
  flex-shrink: 0;
  animation: live-pulse 2.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ── nav-cta: always visible on any background ───────────
   The is-top transparent style breaks on white-bg pages.
   Use gold solid so it reads on both dark and white.    */
.nav-cta,
.site-header.is-top .nav-cta {
  background: var(--c-gold, #c9963a) !important;
  color: #fff !important;
  box-shadow: 0 2px 14px rgba(201,150,58,0.30);
  border: none;
}
.nav-cta:hover,
.site-header.is-top .nav-cta:hover,
.site-header.is-solid .nav-cta:hover {
  background: var(--c-gold-lt, #e8b04b) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(201,150,58,0.45);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP BUTTON — stacked above Let's Talk
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 96px;  /* 32px base + ~52px (float-cta height) + 12px gap */
  right: 32px;
  z-index: 900;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-deep, #0f1923);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px) scale(0.85);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s, color 0.2s, bottom 0.3s var(--ease);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1; transform: none; pointer-events: auto;
}
.back-to-top:hover {
  background: var(--c-sky, #2d9cdb);
  border-color: var(--c-sky, #2d9cdb);
  color: #fff;
  transform: translateY(-2px);
}
/* When footer is near — shift both buttons up */
.back-to-top.near-footer,
.float-cta.near-footer {
  transform: translateY(0);
  opacity: 0;
  pointer-events: none;
}
@media (max-width:768px) {
  .back-to-top { right: 16px; bottom: 84px; width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CARD SVG ICONS
═══════════════════════════════════════════════════════════ */
.srv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 20px;
  transition: background 0.25s, transform 0.25s;
}
.srv-card:hover .srv-icon {
  background: rgba(255,255,255,0.12);
  transform: scale(1.08) rotate(-3deg);
}
.srv-icon svg { color: var(--c-sky, #2d9cdb); }
.srv-card:nth-child(1) .srv-icon svg { color: #27ae60; }
.srv-card:nth-child(2) .srv-icon svg { color: var(--c-sky, #2d9cdb); }
.srv-card:nth-child(3) .srv-icon svg { color: var(--c-gold, #c9963a); }
.srv-card:nth-child(4) .srv-icon svg { color: #9b59b6; }

/* ═══════════════════════════════════════════════════════════
   RELATED ARTICLES
═══════════════════════════════════════════════════════════ */
.art-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--c-border, #e5e7eb);
}
.art-related-title {
  font-family: var(--f-display, Montserrat, sans-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy, #0d2137);
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}
.art-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .art-related-grid { grid-template-columns: 1fr; gap: 14px; }
}
.art-rel-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--c-border, #e5e7eb);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  background: var(--c-white, #fff);
}
.art-rel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(9,9,11,0.10);
  border-color: var(--cat-clr, var(--c-sky));
}
.art-rel-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.art-rel-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.art-rel-card:hover .art-rel-img img { transform: scale(1.04); }
.art-rel-placeholder {
  display: flex; align-items: center; justify-content: center;
}
.art-rel-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.art-rel-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.art-rel-ttl {
  font-family: var(--f-display, Montserrat, sans-serif);
  font-size: 0.88rem; font-weight: 700;
  color: var(--c-navy, #0d2137); line-height: 1.35;
  margin: 0;
}
.art-rel-meta {
  font-size: 11px; color: var(--c-muted, #6b7c93);
  margin-top: auto; padding-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   DESIGN AUDIT FIXES v4.3
   Professional pass: bugs · accessibility · responsive
   Viewports covered: 1440 → 1024 → 900 → 768 → 560 → 480 → 360
═══════════════════════════════════════════════════════════ */

/* ── Bug 1: srv-card 4th accent bar had no color ── */
.srv-card:nth-child(4)::before { background: #9b59b6; }

/* ── Bug 2: contact icon SVG disappears on hover (dark bg, dark icon) ── */
.ctc-ico { color: var(--c-muted); }
.ctc-item:hover .ctc-ico {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}

/* ── Bug 3: prefers-reduced-motion — selective (rings kept alive via line 3085) ── */
@media (prefers-reduced-motion: reduce) {
  /* Rings: already handled above (animation-duration: 30s !important kept) */
  /* Only stop non-essential cosmetic animations */
  .hero-orb-1, .hero-orb-2 { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .hero-card                { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .abt-hero-name            { animation: none; background-position: 0 center; }
}

/* ══════════════════════════════════════════════════════════
   BLOG SEARCH ZONE — Responsive
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ys-filter-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .blog-hero-compact { padding: calc(var(--hh) + 20px) 0 18px; }
  .blog-hero-title   { font-size: clamp(28px, 7vw, 44px); }
  .blog-hero-sub     { font-size: 12px; }
  .ys-srch-wrap      { padding: 0 0 24px; }
  .ys-srch-card      { border-radius: 14px; padding: 4px 4px 16px; }
  .ys-srch-bar       { padding: 2px 14px; }
  .ys-srch-input     { font-size: 0.95rem; padding: 14px 0; }
  .ys-srch-count     { display: none; }
  .ys-srch-section   { padding: 14px 14px 12px; }
  .ys-filter-row     { grid-template-columns: 1fr; padding: 0 2px; }
  .ys-filter-sec     { padding: 12px 14px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .ys-filter-sec:last-child { border-bottom: none; }
  .ys-filter-footer  { padding: 10px 14px 0; }
  .ys-filter-chips   { gap: 6px; }
  .ys-srch-section .ys-filter-chips {
    flex-wrap: wrap;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .ys-chip { font-size: 12px; padding: 6px 11px; }
  .ys-filter-row .ys-chip { font-size: 11.5px; padding: 5px 10px; }
}

/* ══════════════════════════════════════════════════════════
   TABLET — 900px
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* About skills grid: 3→2 columns before 768px */
  .skills-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* About hero stats bar: reduce spacing so 4 stats fit */
  .abt-stat { padding-right: 20px; margin-right: 20px; }
  .abt-stat strong { font-size: 24px; }
  .abt-stat span   { letter-spacing: 1.2px; }

  /* Contact grid: stack earlier (not waiting until 768px) */
  .ctc-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Insights: 2-col at 900px (min-width 769 so mobile stays 1-col) */
}
@media (min-width: 769px) and (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE — 768px additions (supplement existing rules)
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Blog section: reduce bottom padding */
  .blog-section { padding-bottom: 56px; }

  /* Filter chips: category row scrolls horizontally */
  .ys-filter-sec--full .ys-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 6px;
  }
  .ys-filter-sec--full .ys-filter-chips::-webkit-scrollbar { display: none; }

  /* Filter inner panel: column layout */
  .ys-filter-inner { gap: 18px; }
}

/* ══════════════════════════════════════════════════════════
   MOBILE — 560px
══════════════════════════════════════════════════════════ */
@media (max-width: 560px) {
  /* Filter panel rows: stack vertically */
  .ys-filter-row { flex-direction: column; gap: 16px; }
}

/* ══════════════════════════════════════════════════════════
   SMALL MOBILE — 480px
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Tighter global spacing */
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }

  /* About hero stats: 2×2 grid, centered */
  .abt-hero-stats { flex-wrap: wrap; gap: 0; justify-content: center; }
  .abt-stat {
    width: 50%;
    border-right: none;
    padding-right: 0; margin-right: 0;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    align-items: center; text-align: center;
  }
  .abt-stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.08); }
  .abt-stat:last-child,
  .abt-stat:nth-last-child(2) { border-bottom: none; }
  .abt-stat strong { font-size: 20px; }
  .abt-stat span   { font-size: 8px; letter-spacing: 1px; }

  /* Skills: single column */
  .skills-grid { grid-template-columns: 1fr; }

  /* Stat band: 2×2 */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-n { font-size: clamp(28px, 7.5vw, 40px); }

  /* CTA box */
  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: clamp(22px, 6vw, 28px); }

  /* Contact form */
  .ctc-form { padding: 24px 18px; }
  .ctc-info p { font-size: 14.5px; }

  /* Timeline cards */
  .tl-card { padding: 16px 14px; }
  .tl-role  { font-size: 15px; }

  /* Footer: single column */
  .ftr-top { grid-template-columns: 1fr; gap: 20px; padding-bottom: 24px; }
  .ftr-col:last-child { grid-column: auto; }
  .ftr-brand-name     { font-size: 28px; }
  .ftr-stamp          { display: none; }
  .ftr-brand-desc     { font-size: 13px; }

  /* About page info card */
  .abt-card { padding: 20px 16px; }

  /* Blog chips */
  .blog-filter { gap: 5px; }
  .blog-chip   { padding: 6px 10px; font-size: 11px; }

  /* Insight cards: force single col */
  .insights-grid { grid-template-columns: 1fr; }

  /* Hero tagline: shorter */
  .hero-tagline { font-size: 11px; letter-spacing: 2px; }
}

/* ══════════════════════════════════════════════════════════
   VERY SMALL — 360px (emergency guardrails)
══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .hero-heading { font-size: 42px; letter-spacing: -2px; }
  .abt-hero-h1  { font-size: 38px; }
  .hero-photo-frame { max-width: 180px; }
  .abt-photo { max-width: 160px; }
  .btn { padding: 11px 20px; font-size: 13px; }
  .tl-item { margin-bottom: 28px; }
  .cta-box { padding: 28px 16px; }
}
