/* ==========================================================================
   DR. ANDREWS AYIKU — EXECUTIVE PORTAL DESIGN SYSTEM
   Light Blue Theme • Mobile-First, Fluid & Fully Responsive Stylesheet
   ========================================================================== */

:root {
  /* Core Color Palette — Light Blue */
  --sky-50: #F4F9FE;
  --sky-100: #EAF4FD;
  --sky-200: #D6EAFA;
  --sky-300: #B9DBF6;
  --sky-400: #8CC4F0;

  --bg-light: var(--sky-50);
  --bg-light-2: var(--sky-100);
  --bg-card: #FFFFFF;
  --border-light: #D3E5F5;
  --border-light-hover: #A9CDEE;

  --accent: #1F78C1;
  --accent-light: #5AAEEB;
  --accent-dark: #155A94;
  --accent-glow: rgba(31, 120, 193, 0.16);
  --accent-deep-grad: linear-gradient(135deg, #17639F 0%, #2479C2 100%);

  --text-light-main: #0F2A44;
  --text-light-muted: #3E5A73;
  --text-light-sub: #5F7A91;

  /* Typography */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --header-h: 76px;

  /* Transitions & Shadows */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 6px rgba(21, 90, 148, 0.06);
  --shadow-md: 0 8px 24px rgba(21, 90, 148, 0.09);
  --shadow-lg: 0 16px 40px rgba(21, 90, 148, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

/* ----------------- BASE & RESET ----------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-light-main);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: break-word;
  min-width: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Content spans the full window width; only the side gutters scale */
.wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 80px);
  padding-right: clamp(16px, 4vw, 80px);
}

.wrap-narrow {
  max-width: 1040px;
}

/* ----------------- UTILITY TOP BAR ----------------- */
.top-bar {
  background: var(--sky-200);
  color: var(--text-light-muted);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--border-light);
  padding: 9px 0;
  position: relative;
  z-index: 60;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-main);
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-item:hover {
  color: var(--accent);
}

.top-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent);
  flex-shrink: 0;
}

.top-tag {
  color: var(--text-light-muted);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

/* ----------------- EXECUTIVE NAVBAR ----------------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

header.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px rgba(21, 90, 148, 0.1);
  border-bottom-color: var(--sky-300);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-crest {
  display: none;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-light-main);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-title {
  font-size: 0.74rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-title::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-light);
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-list a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light-muted);
  padding: 8px 4px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-list a:hover {
  color: var(--accent-dark);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #3B95DD, var(--accent));
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(31, 120, 193, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 120, 193, 0.38);
  filter: brightness(1.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--sky-100);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--accent-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.scroll-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform-origin: left;
  transform: scaleX(0);
}

/* ----------------- BUTTONS & BADGES ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #3B95DD, var(--accent));
  color: #FFFFFF;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 18px rgba(31, 120, 193, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 120, 193, 0.35);
  background: linear-gradient(135deg, #4AA2E6, #2A86D1);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--accent-dark);
  border: 1px solid var(--sky-300);
}

.btn-secondary:hover {
  background: var(--sky-100);
  border-color: var(--accent-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--accent-dark);
  color: #FFFFFF;
  border: 1px solid var(--accent-dark);
}

.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: 1px solid #25D366;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 100%;
}

.pill-badge.accent {
  background: rgba(31, 120, 193, 0.1);
  border: 1px solid rgba(31, 120, 193, 0.28);
  color: var(--accent-dark);
}

.pill-badge.dark {
  background: var(--sky-100);
  border: 1px solid var(--border-light);
  color: #1B4F7C;
}

.pill-badge.light {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-light-muted);
}

/* ----------------- HERO SECTION ----------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(calc(100vh - 110px), 880px);
  min-height: min(calc(100svh - 110px), 880px);
  background: radial-gradient(circle at 80% 25%, rgba(90, 174, 235, 0.32), transparent 45%),
              radial-gradient(circle at 10% 75%, rgba(185, 219, 246, 0.7), transparent 50%),
              linear-gradient(135deg, #EAF4FD 0%, #D9ECFB 55%, #F4F9FE 100%);
  color: var(--text-light-main);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(72px, 9vw, 112px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

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

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hero-content > .pill-badge,
.about-hero-content > .pill-badge {
  align-self: flex-start;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-light-main);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent) 50%, #3B95DD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-light-muted);
  line-height: 1.75;
  max-width: 620px;
}

.hero-copy-block {
  display: contents;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Trust / Rating Badge */
.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  max-width: fit-content;
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}

.trust-stars {
  color: #F59E0B;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.trust-text {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  font-weight: 500;
}

.trust-text strong {
  color: var(--text-light-main);
}

/* Hero Portrait Stage */
.hero-portrait-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
}

.portrait-halo {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 174, 235, 0.45) 0%, rgba(90, 174, 235, 0) 68%);
  filter: blur(25px);
  z-index: 1;
  top: 5%;
}

.portrait-orbit {
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(31, 120, 193, 0.35);
  z-index: 1;
  top: 2%;
  animation: orbitSpin 40s linear infinite;
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.hero-img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 100%;
  max-height: clamp(380px, 68vh, 640px);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 20px 36px rgba(21, 90, 148, 0.28));
}

.floating-exp-card {
  position: absolute;
  bottom: 8px;
  left: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--sky-300);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-exp-card .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.floating-exp-card .label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

/* ----------------- FLOATING 3-ACTION RIBBON ----------------- */
.action-ribbon-wrap {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  margin-bottom: 40px;
}

.action-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(21, 90, 148, 0.14);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.ribbon-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  background: #FFFFFF;
  color: var(--text-light-main);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  border-right: 1px solid var(--border-light);
  min-width: 0;
}

.ribbon-card:last-child {
  border-right: none;
}

.ribbon-card.featured {
  background: var(--accent-deep-grad);
  color: #FFFFFF;
  border-color: transparent;
}

.ribbon-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--sky-100);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.ribbon-card.featured .ribbon-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.ribbon-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.ribbon-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ribbon-sub {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-sub);
}

.ribbon-card.featured .ribbon-sub {
  color: #D6EAFA;
}

.ribbon-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-light-main);
  line-height: 1.3;
}

.ribbon-card.featured .ribbon-title {
  color: #FFFFFF;
}

.ribbon-card:hover {
  background: var(--sky-50);
}

.ribbon-card.featured:hover {
  background: linear-gradient(135deg, #1A6DB0 0%, #2A86D1 100%);
}

.ribbon-card:hover .ribbon-icon {
  transform: scale(1.1);
  background: var(--accent);
  color: #FFFFFF;
}

.ribbon-card.featured:hover .ribbon-icon {
  background: #FFFFFF;
  color: var(--accent);
}

/* ----------------- 4-STAT METRIC RIBBON ----------------- */
.stats-ribbon {
  background: var(--accent-deep-grad);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 36px clamp(20px, 4vw, 40px);
  margin: 32px 0 64px;
  box-shadow: 0 18px 40px rgba(21, 90, 148, 0.22);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding-right: 16px;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-num {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.98rem;
  color: #E3F0FB;
  font-weight: 500;
  line-height: 1.4;
}

/* ----------------- SECTIONS COMMON ----------------- */
.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section-alt {
  background: var(--sky-100);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Photo backgrounds sit on a slightly zoomed pseudo-layer so the
   carousel-arrow artefacts on the source photo edges are cropped away */
.section-dark,
.page-banner,
.about-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.section-dark::before,
.page-banner::before,
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../IMGS/image5.png.png') center/cover no-repeat;
  transform: scale(1.14);
}

.section-dark::after,
.page-banner::after,
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.section-dark {
  color: var(--text-light-main);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark::after {
  background: linear-gradient(110deg, rgba(234, 244, 253, 0.95) 0%, rgba(214, 234, 250, 0.9) 50%, rgba(234, 244, 253, 0.94) 100%);
}

.section-header {
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header .sub {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 800;
  color: var(--text-light-main);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-header p {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* Section heading row with trailing action button */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-head-row .section-header {
  margin-bottom: 0;
}

/* ----------------- INNER PAGE BANNER ----------------- */
.page-banner {
  padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--border-light);
}

/* Solid light-blue behind the copy, fading out so the photo shows on the right */
.page-banner::after {
  background: linear-gradient(90deg, rgba(234, 244, 253, 0.98) 0%, rgba(234, 244, 253, 0.93) 45%, rgba(214, 234, 250, 0.55) 100%);
}

.page-banner--coaching::before { background-image: url('../IMGS/image15.png.png'); background-position: center 30%; }
.page-banner--research::before { background-image: url('../IMGS/image13.png.png'); background-position: center 40%; }
.page-banner--media::before { background-image: url('../IMGS/image12.png.png'); background-position: center 45%; }
.page-banner--contact::before { background-image: url('../IMGS/image2.png.png'); background-position: center 40%; }

.page-banner-title {
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 800;
  color: var(--text-light-main);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 900px;
}

.page-banner-desc {
  color: var(--text-light-muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 720px;
  margin-top: 12px;
}

/* ----------------- ABOUT NARRATIVE & SIGNATURE ----------------- */
.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.08rem;
  color: var(--text-light-main);
}

.about-text p {
  line-height: 1.7;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.04rem;
  color: var(--text-light-main);
  font-weight: 500;
}

.check-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.founder-signature-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.founder-sig-text strong {
  display: block;
  font-size: 1.2rem;
  color: var(--text-light-main);
}

.founder-sig-text span {
  font-size: 0.95rem;
  color: var(--text-light-sub);
}

.credentials-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow-md);
}

.credentials-sidebar-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light-main);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}

.credentials-list {
  display: flex;
  flex-direction: column;
}

.cred-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
}

.cred-row:last-child {
  border-bottom: none;
}

.cred-row .degree {
  font-weight: 700;
  color: var(--text-light-main);
}

.cred-row .inst {
  font-size: 0.92rem;
  color: var(--text-light-sub);
  text-align: right;
}

/* ----------------- CORE DOMAINS OF PRACTICE (CARD GRID) ----------------- */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.domain-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.domain-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}

.domain-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-lg);
}

.domain-card:hover::before {
  height: 100%;
}

.domain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--sky-100);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

.domain-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.domain-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light-main);
  line-height: 1.3;
}

.domain-card p {
  font-size: 1.01rem;
  color: var(--text-light-muted);
  line-height: 1.65;
}

.domain-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

.domain-card:hover .domain-link {
  color: var(--accent-dark);
}

.domain-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-dark);
}

/* ----------------- THOUGHT LEADERSHIP QUOTE BANNER ----------------- */
.quote-banner {
  background: linear-gradient(135deg, var(--sky-200), var(--sky-100));
  color: var(--text-light-main);
  padding: clamp(56px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quote-banner::after {
  content: "\201D";
  position: absolute;
  right: 5%;
  bottom: -40px;
  font-size: clamp(10rem, 22vw, 20rem);
  line-height: 1;
  color: rgba(31, 120, 193, 0.08);
  font-family: serif;
  pointer-events: none;
}

.quote-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.quote-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  fill: var(--accent);
  opacity: 0.85;
}

.quote-text {
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light-main);
  margin-bottom: 24px;
  font-style: italic;
}

.quote-author {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quote-title {
  font-size: 0.95rem;
  color: var(--text-light-sub);
  margin-top: 4px;
}

/* ----------------- CTA BAND ----------------- */
.cta-band {
  background:
    radial-gradient(circle at 90% 20%, rgba(90, 174, 235, 0.3), transparent 50%),
    linear-gradient(135deg, #FFFFFF 0%, var(--sky-100) 100%);
  border-top: 1px solid var(--border-light);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-copy {
  max-width: 680px;
  min-width: 0;
}

.cta-copy .pill-badge {
  margin-bottom: 12px;
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-light-main);
  line-height: 1.25;
}

.cta-text {
  color: var(--text-light-muted);
  margin-top: 10px;
  font-size: 1.08rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

/* ----------------- LEDGER TABLE ----------------- */
.ledger-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ledger-table-head {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr 0.6fr;
  padding: 16px 24px;
  background: var(--sky-100);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light-sub);
}

.ledger-table-head span:last-child {
  text-align: right;
}

.ledger-row {
  display: grid;
  grid-template-columns: 2fr 1.2fr 0.8fr 0.6fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  transition: background 0.2s ease;
}

.ledger-row:last-child {
  border-bottom: none;
}

.ledger-row:hover {
  background: var(--sky-50);
}

.ledger-title-cell {
  font-weight: 700;
  color: var(--text-light-main);
  font-size: 1.08rem;
  line-height: 1.45;
  padding-right: 16px;
}

.ledger-category-cell {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ledger-date-cell {
  font-size: 0.96rem;
  color: var(--text-light-sub);
  font-weight: 600;
}

.ledger-action-cell {
  text-align: right;
}

.ledger-action-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--accent-dark);
  transition: all 0.2s ease;
}

.ledger-row:hover .ledger-action-btn {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateX(4px);
}

/* ----------------- TIMELINE ----------------- */
.timeline-track {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-light));
}

.timeline-node {
  position: relative;
  padding-left: 64px;
  margin-bottom: 40px;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.timeline-year {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light-main);
  margin-bottom: 8px;
}

.timeline-card p {
  font-size: 0.94rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

/* ----------------- ABOUT HERO ----------------- */
.about-hero {
  color: var(--text-light-main);
  padding: clamp(48px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--border-light);
}

.about-hero::before {
  background-image: url('../IMGS/image10.png.png');
}

.about-hero::after {
  background: linear-gradient(120deg, rgba(234, 244, 253, 0.96), rgba(214, 234, 250, 0.9), rgba(234, 244, 253, 0.94));
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.about-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.about-hero-title {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-light-main);
  line-height: 1.15;
}

.about-hero-title .highlight {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent) 50%, #3B95DD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.about-hero-desc {
  font-size: 1.08rem;
  color: var(--text-light-muted);
  line-height: 1.7;
}

.about-hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.about-hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #FFFFFF, var(--sky-100));
  border: 1px solid var(--sky-300);
  box-shadow: 0 28px 60px rgba(21, 90, 148, 0.18);
  max-width: 480px;
  width: 100%;
  justify-self: center;
}

.about-hero-img-wrap::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(31, 120, 193, 0.12);
  pointer-events: none;
}

.about-hero-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(21, 90, 148, 0.25);
  border: 2px solid var(--accent-light);
}

.about-hero-tag {
  position: absolute;
  bottom: -14px;
  right: 24px;
  z-index: 3;
  background: var(--accent-deep-grad);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(21, 90, 148, 0.3);
}

/* Highlighted sidebar widget (e.g. scholarship award) */
.sidebar-widget.highlight-widget {
  background: var(--accent-deep-grad);
  color: #FFFFFF;
  border-color: transparent;
  padding: 24px;
}

.highlight-widget h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D6EAFA;
  margin-bottom: 10px;
}

.highlight-widget h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.highlight-widget p {
  font-size: 0.88rem;
  color: #E3F0FB;
  line-height: 1.6;
}

/* ----------------- PHOTO CARDS & MOSAIC ----------------- */
.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.photo-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sky-200);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.photo-card.ratio-wide { aspect-ratio: 16 / 9; }
.photo-card.ratio-tall { aspect-ratio: 4 / 5; }

/* Zoom slightly so the slideshow arrows baked into the photo edges are cropped */
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 0.6s var(--ease);
}

.photo-card:hover img {
  transform: scale(1.17);
}

/* Show the whole photo: frame follows the image's own shape, no crop or zoom */
.photo-card.full {
  aspect-ratio: auto;
  width: 100%;
  /* Compact on every screen: 300px max on desktop/tablet, ~62% of width on phones */
  max-width: clamp(200px, 62vw, 300px);
  margin-inline: auto;
  align-self: center;
}
.photo-card.full img {
  display: block;
  height: auto;
  object-fit: contain;
  transform: none;
}
.photo-card.full:hover img { transform: none; }

.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 12px;
  background: linear-gradient(to top, rgba(15, 42, 68, 0.8), rgba(15, 42, 68, 0));
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.photo-card.in-text {
  margin: 8px 0;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 230px);
  gap: clamp(10px, 1.5vw, 18px);
}

.photo-mosaic .photo-card {
  aspect-ratio: auto;
  height: 100%;
}

.photo-mosaic .photo-card.feature {
  grid-column: span 2;
  grid-row: span 2;
}

/* ----------------- MEDIA HUB ----------------- */
.media-section-block {
  margin-bottom: clamp(64px, 8vw, 96px);
}

.media-section-block:last-child {
  margin-bottom: 0;
}

.media-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 3vw, 38px);
  align-items: start;
}

.media-main-stream,
.media-sidebar-stream {
  min-width: 0;
  width: 100%;
}

.media-main-stream {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

.media-sidebar-stream {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar-widget-header h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-light-main);
}

/* Fluid card grids: columns fill the available width automatically */
.yt-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  gap: 12px;
  align-items: stretch;
}

.tt-sidebar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr));
  gap: 10px;
  align-items: start;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 12px;
}

.social-follow-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Press Features */
.press-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.press-list .pill-badge {
  margin-bottom: 8px;
}

.press-list h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.press-list p {
  margin-bottom: 12px;
}

.media-press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Photo Gallery Grid */
.gallery-grid-16 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.5vw, 16px);
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sky-200);
  cursor: pointer;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.gallery-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 0.4s var(--ease);
}

.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 90, 148, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb-overlay svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.gallery-thumb:hover img {
  transform: scale(1.2);
}

.gallery-thumb:hover::after,
.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

/* YouTube Cards */
.yt-grid-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.yt-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.yt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.yt-thumb-box {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sky-200);
  cursor: pointer;
  overflow: hidden;
}

.yt-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.yt-thumb-box:hover img {
  transform: scale(1.05);
}

.yt-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 36px;
  border-radius: 10px;
  background: #FF0000;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.yt-thumb-box:hover .yt-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #CC0000;
}

.yt-play-btn svg {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.yt-meta-bar {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.yt-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light-main);
  line-height: 1.4;
}

.yt-footer-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.yt-direct-link {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.yt-direct-link:hover {
  color: var(--accent-dark);
}

/* TikTok Cards */
.tt-grid-full {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.tt-thumb-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--sky-200);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.tt-thumb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(21, 90, 148, 0.25);
}

.tt-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tt-thumb-card:hover img {
  transform: scale(1.06);
}

.tt-thumb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 60%);
}

.tt-thumb-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: -2px 0 0 #25F4EE, 2px 0 0 #FE2C55;
  transition: transform 0.2s ease;
  z-index: 2;
}

.tt-thumb-card:hover .tt-thumb-play {
  transform: translate(-50%, -50%) scale(1.15);
}

.tt-thumb-play svg {
  width: 16px;
  height: 16px;
  fill: #111111;
  margin-left: 2px;
}

.tt-thumb-views {
  position: absolute;
  bottom: 8px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Social Links */
.social-grid-full {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.social-bar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--sky-50);
  border: 1px solid var(--border-light);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light-main);
  transition: all 0.25s var(--ease);
  min-width: 0;
}

.social-bar-link:hover {
  background: #FFFFFF;
  border-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.social-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.social-icon-circle svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.social-icon-circle.linkedin { background: #0A66C2; }
.social-icon-circle.tiktok { background: #000000; }
.social-icon-circle.instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.social-icon-circle.youtube { background: #FF0000; }
.social-icon-circle.facebook { background: #1877F2; }

/* ----------------- RESEARCH DIRECTORY ----------------- */
.research-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.research-filter-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.research-filter-btn:hover {
  border-color: var(--accent-light);
  color: var(--accent-dark);
}

.research-filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

.pub-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.publication-entry {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--sky-300);
  border-radius: var(--radius-md);
  padding: clamp(18px, 3vw, 24px) clamp(18px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.publication-entry:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

.pub-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pub-title-link {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--text-light-main);
  line-height: 1.35;
}

.pub-authors {
  font-size: 0.88rem;
  color: var(--text-light-sub);
}

.pub-journal {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.pub-footer-row {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

/* ----------------- CONTACT & MAILTO BOX ----------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.contact-info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-method-group h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.contact-method-group p {
  font-size: 0.98rem;
  color: var(--text-light-main);
  line-height: 1.5;
}

/* Mailto Box with Copy Button */
.mailto-input-box {
  display: flex;
  border: 1px solid var(--sky-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
  margin-top: 6px;
}

.mailto-input-box input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light-main);
  min-width: 0;
}

.mailto-input-box input:focus {
  outline: none;
}

.mailto-input-box button {
  padding: 0 18px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn-copy {
  background: var(--sky-100);
  color: var(--accent-dark);
  border-left: 1px solid var(--border-light);
}

.btn-copy:hover {
  background: var(--sky-200);
}

.btn-send {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-send:hover {
  background: var(--accent-dark);
}

.copy-toast {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
  margin-top: 6px;
}

.copy-toast.show {
  display: block;
}

/* Forms */
.form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-light-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--sky-50);
  font-size: 1rem;
  color: var(--text-light-main);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-success-notice {
  display: none;
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* ----------------- GLOBAL FOOTER ----------------- */
footer.site-footer {
  background: linear-gradient(180deg, var(--sky-200) 0%, #CFE5F8 100%);
  color: var(--text-light-muted);
  padding: clamp(48px, 8vw, 80px) 0 32px;
  border-top: 1px solid var(--sky-300);
  font-size: 0.96rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .brand-name {
  color: var(--text-light-main);
  font-size: 1.3rem;
}

.footer-desc {
  line-height: 1.6;
  max-width: 320px;
}

.footer-note {
  font-size: 0.85rem;
  margin-bottom: 12px;
  color: var(--text-light-muted);
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 18px;
}

.footer-col .mailto-input-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-col .mailto-input-box input {
  grid-column: 1 / -1;
  width: 100%;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-col .mailto-input-box button {
  padding: 10px 12px;
}

.footer-col .mailto-input-box .btn-copy {
  border-left: none;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--text-light-main);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-social-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--sky-300);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(21, 90, 148, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 0.82rem;
  color: var(--text-light-sub);
}

/* ----------------- MODALS (VIDEO, LIGHTBOX) ----------------- */
.media-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 30, 52, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.media-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  position: relative;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 900px;
  width: 100%;
}

.modal-content-box.tiktok-ratio {
  max-width: 380px;
  aspect-ratio: 9 / 16;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.modal-close-btn:hover {
  transform: scale(1.1);
  background: #FFFFFF;
}

.modal-iframe-frame {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.modal-content-box.tiktok-ratio .modal-iframe-frame {
  aspect-ratio: 9 / 16;
}

.modal-iframe-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-box {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  max-height: 80svh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Floating WhatsApp & Back to top */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 92px;
  z-index: 79;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-dark);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ----------------- RESPONSIVE BREAKPOINTS ----------------- */

/* Desktop: readable type sizes (matching inner pages) and a prominent portrait */
@media (min-width: 901px) {
  .hero {
    min-height: min(calc(100vh - 120px), 920px);
    min-height: min(calc(100svh - 120px), 920px);
    padding-top: clamp(40px, 5vw, 72px);
    padding-bottom: clamp(88px, 9vw, 120px);
  }
  .hero-content {
    gap: 22px;
  }
  .hero-img {
    height: clamp(460px, 76vh, 720px);
    height: clamp(460px, 76svh, 720px);
    max-height: none;
    width: auto;
  }
}

/* Large tablets / small laptops */
@media (max-width: 1100px) {
  .domains-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yt-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tt-grid-full {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .social-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Collapse navigation into a drop-down menu before links can collide */
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    align-items: stretch;
    padding: 20px clamp(16px, 4vw, 48px) 24px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(21, 90, 148, 0.14);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.25s ease, visibility 0.3s;
  }
  .site-header.menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
  }
  .nav-list a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-list a::after {
    display: none;
  }
  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 12px 20px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  .hero {
    min-height: 0;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hero-title {
    font-size: clamp(2rem, 6.5vw, 3.2rem);
  }
  .hero-desc {
    max-width: 640px;
  }
  .hero-portrait-stage {
    flex-direction: column;
    align-items: center;
    max-width: 460px;
    margin: 0 auto;
  }
  .portrait-halo,
  .portrait-orbit {
    width: min(90%, 420px);
  }
  .hero-img {
    max-height: clamp(300px, 62vw, 460px);
  }
  .floating-exp-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: -28px;
  }
  .about-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-hero-img-wrap {
    max-width: 400px;
    margin-top: 12px;
  }
  .about-hero-tag {
    right: 50%;
    transform: translateX(50%);
  }
  .media-press-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .action-ribbon {
    grid-template-columns: minmax(0, 1fr);
  }
  .ribbon-card {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 20px 22px;
  }
  .ribbon-card:last-child {
    border-bottom: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .about-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .photo-card.ratio-tall {
    aspect-ratio: 4 / 3;
  }
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ledger-table-head {
    display: none;
  }
  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .ledger-title-cell {
    padding-right: 0;
  }
  .ledger-action-cell {
    text-align: left;
  }
}

/* Large phones */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
  }
  .top-bar {
    display: none;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .domains-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .domain-card {
    padding: 26px 22px;
  }
  .yt-grid-full {
    grid-template-columns: minmax(0, 1fr);
  }
  .tt-grid-full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .social-grid-full {
    grid-template-columns: minmax(0, 1fr);
  }
  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(130px, 36vw, 220px);
  }
  .photo-mosaic .photo-card.feature {
    grid-row: span 1;
  }
  .page-banner::after {
    background: linear-gradient(180deg, rgba(234, 244, 253, 0.95) 0%, rgba(234, 244, 253, 0.9) 100%);
  }
  .timeline-track::before {
    left: 12px;
  }
  .timeline-node {
    padding-left: 40px;
  }
  .timeline-dot {
    left: 5px;
  }
}

/* Phones */
@media (max-width: 600px) {
  .btn {
    white-space: normal;
  }
  .hero-actions .btn,
  .cta-actions .btn,
  .about-hero-actions .btn {
    flex: 1 1 100%;
  }
  .gallery-grid-16 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cred-row {
    flex-direction: column;
    gap: 2px;
  }
  .cred-row .inst {
    text-align: left;
  }
  .founder-signature-block .btn {
    width: 100%;
  }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 64px;
  }
  .floating-exp-card {
    padding: 10px 14px;
    gap: 10px;
  }
  .floating-exp-card .num {
    font-size: 1.7rem;
  }
  .floating-exp-card .label {
    font-size: 0.66rem;
  }
  .stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .stat-item,
  .stat-item:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding-right: 0;
    padding-bottom: 14px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .tt-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mailto-input-box {
    flex-direction: column;
  }
  .mailto-input-box input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
  .mailto-input-box button {
    padding: 12px;
    border-left: none;
    border-top: 1px solid var(--border-light);
  }
  .about-hero-tag {
    font-size: 0.68rem;
    padding: 7px 12px;
  }
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .back-to-top {
    right: 19px;
    bottom: 76px;
  }
}

/* ==========================================================================
   MOTION LAYER — refined entrance, scroll-reveal and hover effects
   ========================================================================== */

/* Gallery button under the photo mosaic */
.mosaic-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 44px);
}

/* Page fade-in */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body {
  animation: pageFadeIn 0.6s ease both;
}

/* Hero entrance: staggered rise of copy, portrait settles in */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes portraitIn {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes dividerGrow {
  from { width: 0; }
  to { width: 80px; }
}
@keyframes cardSlideIn {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes gentleFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes shimmerText {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-content > .pill-badge,
.about-hero-content > .pill-badge { animation: riseIn 0.8s var(--ease) 0.1s both; }
.hero-title,
.about-hero-title { animation: riseIn 0.9s var(--ease) 0.22s both; }
.hero-divider { animation: dividerGrow 0.9s var(--ease) 0.45s both; }
.hero-desc,
.about-hero-desc { animation: riseIn 0.9s var(--ease) 0.38s both; }
.hero-actions,
.about-hero-actions { animation: riseIn 0.9s var(--ease) 0.5s both; }
.hero-trust-badge,
.about-hero-pills { animation: riseIn 0.9s var(--ease) 0.62s both; }
.hero-img { animation: portraitIn 1.2s var(--ease) 0.25s both; }
.about-hero-img-wrap { animation: portraitIn 1.2s var(--ease) 0.25s both; }
.portrait-halo { animation: haloPulse 7s ease-in-out infinite; }
.floating-exp-card {
  animation: cardSlideIn 0.9s var(--ease) 0.9s both, gentleFloat 6s ease-in-out 2s infinite;
}
.page-banner-title { animation: riseIn 0.9s var(--ease) 0.1s both; }
.page-banner-desc { animation: riseIn 0.9s var(--ease) 0.25s both; }

.hero-title .highlight,
.about-hero-title .highlight {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), #3B95DD, var(--accent), var(--accent-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 8s linear infinite;
}

/* Portrait parallax wrapper (driven by JS) */
.hero-portrait-stage {
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

/* Scroll reveal (classes applied by JS only, so content is visible without JS) */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.reveal-left { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-zoom { transform: scale(0.94); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Image curtain reveal for photo cards */
.reveal.reveal-img {
  transform: none;
  clip-path: inset(12% 6% 12% 6% round var(--radius-md));
  transition: opacity 1s var(--ease), clip-path 1.2s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.reveal-img.is-visible {
  clip-path: inset(0 0 0 0 round var(--radius-md));
}

/* Button sheen sweep */
.btn,
.nav-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::after,
.nav-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::after,
.nav-cta:hover::after {
  left: 130%;
  transition: left 0.75s var(--ease);
}
.btn:active,
.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Header gently compacts on scroll */
.nav-container {
  transition: min-height 0.35s var(--ease), padding 0.35s var(--ease);
}
@media (min-width: 769px) {
  header.site-header.scrolled .nav-container {
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Domain cards: icon lift and colour swap */
.domain-icon {
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
}
.domain-card:hover .domain-icon {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--accent);
  color: #FFFFFF;
}
.domain-link {
  transition: color 0.2s ease, gap 0.3s var(--ease);
}
.domain-card:hover .domain-link {
  gap: 10px;
}

/* Photo cards: soft overlay glow on hover */
.photo-card {
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 90, 148, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.photo-card:hover {
  box-shadow: var(--shadow-lg);
}
.photo-card:hover::after {
  opacity: 1;
}
.photo-card figcaption {
  z-index: 2;
}

/* Stats ribbon: slow light sweep */
.stats-ribbon {
  position: relative;
  overflow: hidden;
}
.stats-ribbon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-20deg);
  animation: ribbonSweep 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ribbonSweep {
  0%, 60% { left: -40%; }
  100% { left: 140%; }
}
.stats-grid { position: relative; z-index: 1; }

/* Ledger rows slide accent on hover */
.ledger-row {
  position: relative;
}
.ledger-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}
.ledger-row:hover::before {
  transform: scaleY(1);
}

/* Floating WhatsApp: gentle attention ring */
@keyframes waRing {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.floating-whatsapp {
  animation: waRing 3.2s ease-out 3s infinite;
}
.back-to-top {
  transform: translateY(12px);
}
.back-to-top.visible {
  transform: translateY(0);
}

/* ----------------- RESPONSIVE REFINEMENTS ----------------- */
@media (max-width: 900px) {
  .hero-img {
    max-height: clamp(360px, 90vw, 540px);
  }
  .hero-content {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.9rem, 8.4vw, 2.4rem);
  }
  .hero-desc {
    font-size: 1.04rem;
  }
  .hero-trust-badge {
    max-width: 100%;
  }
  .section-header h2 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .quote-text {
    font-size: 1.12rem;
  }
  .ribbon-title {
    font-size: 1.08rem;
  }
  .stat-num {
    font-size: 2.3rem;
  }
  .photo-mosaic .photo-card.feature {
    grid-column: 1 / -1;
  }
  .mosaic-cta .btn {
    width: 100%;
  }
  .floating-exp-card .num {
    font-size: 2rem;
  }
  .floating-exp-card .label {
    font-size: 0.74rem;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  .brand-title {
    font-size: 0.66rem;
  }
  .brand-title::before {
    width: 14px;
  }
  .ribbon-card {
    gap: 14px;
    padding: 18px 16px;
  }
  .ribbon-icon {
    width: 44px;
    height: 44px;
  }
}

/* Large screens: keep line lengths comfortable */
@media (min-width: 1600px) {
  html {
    font-size: 17px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.reveal-img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
