/* ================================================
   OMAR MARABHA — PERSONAL SITE
   Premium Dark Theme · Grabber Blue + Gold
   ================================================ */

/* --- RESET & VARIABLES --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:           #0D0D0D;
  --bg-surface:   #121218;
  --bg-elevated:  #1A1A22;
  --blue:         #1877FF;
  --blue-dim:     rgba(24, 119, 255, 0.10);
  --blue-glow:    rgba(24, 119, 255, 0.22);
  --gold:         #C5A55A;
  --gold-dim:     rgba(197, 165, 90, 0.10);
  --text:         #F0F0F0;
  --text-sub:     #9A9AB0;
  --text-muted:   #52526A;
  --border:       rgba(255, 255, 255, 0.07);
  --border-blue:  rgba(24, 119, 255, 0.22);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

/* --- GRAIN OVERLAY --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* --- AMBIENT GLOW --- */
body::after {
  content: '';
  position: fixed;
  top: -30vh;
  left: -15vw;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(ellipse, rgba(24,119,255,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(24, 119, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

body.cursor-hover .cursor-dot {
  width: 10px;
  height: 10px;
  background: var(--gold);
}

body.cursor-hover .cursor-ring {
  width: 46px;
  height: 46px;
  border-color: rgba(197, 165, 90, 0.4);
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

/* --- CONTAINER --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* --- SHARED SECTION STYLES --- */
.section { padding: 120px 0; position: relative; z-index: 1; }

.section-header { margin-bottom: 72px; }

.section-num {
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.025em;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-sub);
  max-width: 500px;
  line-height: 1.65;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px var(--blue-glow);
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-large { padding: 18px 48px; font-size: 0.82rem; }

/* ================================================
   NAVIGATION
   ================================================ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease-out), padding 0.4s var(--ease-out), border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 18px 48px;
  border-bottom-color: var(--border);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text);
  position: relative;
  z-index: 2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
}

.nav-links a {
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  color: var(--blue) !important;
  border: 1px solid var(--border-blue);
  padding: 8px 20px;
  border-radius: 2px;
  transition: background 0.2s ease !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-dim); }

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.35s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4.25px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.mobile-nav-links a {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--text);
  transition: color 0.2s ease;
}

.mobile-nav-links a:hover { color: var(--blue); }
.mobile-cta { color: var(--blue) !important; }

@media (max-width: 880px) {
  #main-nav { padding: 20px 24px; }
  #main-nav.scrolled { padding: 16px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 60px 48px 48px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  flex: 1;
  z-index: 2;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-name {
  display: block;
  font-size: clamp(5.5rem, 10.5vw, 9.5rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 0.93;
  margin-bottom: 36px;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-line-inner {
  display: block;
  transform: translateY(110%);
}

.hero-quote {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 460px;
  padding-left: 20px;
  border-left: 2px solid var(--blue);
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

/* Hero image */
.hero-image-wrap {
  flex: 0 0 38%;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96);
}

.hero-image {
  height: 580px;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(12%) contrast(1.06) brightness(0.88);
  transform: scale(1.06);
  transition: transform 0.8s ease;
}

.hero-image-wrap:hover .hero-image img { transform: scale(1.03); }

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 55%, rgba(13,13,13,0.75) 100%),
    linear-gradient(to right, rgba(13,13,13,0.25) 0%, transparent 50%);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--blue), transparent);
  z-index: 2;
}

/* Hero scroll indicator */
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 48px 36px;
  opacity: 0;
}

.hero-scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 64px;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--blue);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

@media (max-width: 1080px) {
  .hero-content {
    flex-direction: column-reverse;
    gap: 40px;
    padding-top: 32px;
  }
  .hero-image-wrap {
    flex: none;
    width: 100%;
  }
  .hero-image { height: 340px; }
  .hero-image img { height: 340px; aspect-ratio: auto; object-position: center 20%; }
  .hero-name { font-size: clamp(3.5rem, 11vw, 6.5rem); }
}

@media (max-width: 480px) {
  .hero-content { padding: 20px 24px 32px; }
  .hero-image { height: 380px; }
  .hero-image img { height: 380px; aspect-ratio: auto; object-position: center 20%; }
  .hero-scroll { padding: 0 24px 28px; }
}

/* ================================================
   MARQUEE BAR
   ================================================ */
.marquee-bar {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
  background: var(--bg-surface);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee-track .sep {
  color: var(--blue);
  font-size: 0.48rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ================================================
   CREDENTIALS
   ================================================ */
.credentials { background: var(--bg); }

.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.cred-card {
  padding: 44px 36px;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
  cursor: default;
}

.cred-card::before {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  transition: color 0.3s ease;
}

.cred-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.5s var(--ease-out);
}

.cred-card:hover { background: var(--bg-elevated); }
.cred-card:hover::before { color: rgba(24,119,255,0.055); }
.cred-card:hover::after { width: 100%; }

.cred-tag {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.cred-card h3 {
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.cred-card p {
  font-size: 0.89rem;
  color: var(--text-sub);
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-card { padding: 36px 28px; }
}

/* ================================================
   PULL QUOTE
   ================================================ */
.pull-quote-section {
  padding: 110px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pull-quote-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(24,119,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.pull-quote-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pull-word {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0;
  transform: translateY(60px);
}

.pull-attribution {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================================================
   STORY
   ================================================ */
.story { background: var(--bg); }

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.story-image-wrap {
  position: sticky;
  top: 120px;
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
}

.story-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(12%) contrast(1.05) brightness(0.9);
  transition: transform 0.7s ease;
}

.story-image-wrap:hover img { transform: scale(1.03); }

.story-lead {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 28px;
}

.story-body p {
  font-size: 0.98rem;
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 22px;
}

.story-close {
  font-family: var(--serif) !important;
  font-style: italic;
  font-size: 1.1rem !important;
  color: var(--blue) !important;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-image-wrap {
    position: static;
    aspect-ratio: 16/9;
  }
}

/* ================================================
   SERVICE / PHILANTHROPY
   ================================================ */
.service { background: var(--bg-surface); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 48px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--blue-dim);
  border-color: var(--border-blue);
}

.service-card:hover::after { opacity: 1; }

.service-icon {
  font-size: 0.9rem;
  color: var(--blue);
  margin-bottom: 24px;
  display: block;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}

.service-tag {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.service-card p {
  font-size: 0.89rem;
  color: var(--text-sub);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ================================================
   METHOD CTA
   ================================================ */
.method-cta-section {
  padding: 160px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.method-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(24,119,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.method-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.method-cta-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.method-cta-title {
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 300;
  margin-bottom: 24px;
  color: var(--text);
}

.method-cta-body {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: right;
}

.footer-right a {
  font-size: 0.85rem;
  color: var(--text-sub);
  transition: color 0.2s ease;
}

.footer-right a:hover { color: var(--blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-tagline-bottom {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@media (max-width: 580px) {
  .footer-inner { flex-direction: column; }
  .footer-right { text-align: left; }
}

/* ================================================
   ENHANCED MOBILE OPTIMIZATION
   ================================================ */

/* Minimum touch targets */
.btn-primary,
.btn-outline { min-height: 48px; }

/* --- Tablet (max 880px) --- */
@media (max-width: 880px) {
  .section { padding: 80px 0; }
  .method-cta { padding: 80px 0; }
  .section-header { margin-bottom: 52px; }
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .story-layout { grid-template-columns: 1fr; }
  .story-media { position: static; max-width: 480px; margin: 0 auto 40px; }
  .service-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* --- Mobile (max 640px) --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .method-cta { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(2rem, 9.5vw, 3.2rem); }
  .section-sub { font-size: 0.92rem; }

  /* Credential grid: single column */
  .cred-grid { grid-template-columns: 1fr; gap: 16px; }
  .cred-card { padding: 24px 20px; }

  /* Story section */
  .story-body { font-size: 0.95rem; }
  .story-quote { font-size: 1rem; padding: 18px 20px; }

  /* Method CTA */
  .cta-title { font-size: clamp(2rem, 9vw, 3rem); }
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-actions .btn-primary,
  .cta-actions .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .cta-body { font-size: 0.93rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* --- Hero mobile --- */
@media (max-width: 640px) {
  .hero-section { padding: 108px 24px 80px; }
  .hero-name { font-size: clamp(3.2rem, 12vw, 5rem); }
  .hero-title { font-size: clamp(1rem, 4.5vw, 1.3rem); }
  .hero-body { font-size: 0.93rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .hero-photo-wrap { border-radius: 12px; }
  .hero-pillars { gap: 8px; }
  .hero-pill { font-size: 0.64rem; padding: 7px 14px; }
}

@media (max-width: 380px) {
  .hero-section { padding: 100px 20px 72px; }
  .hero-name { font-size: clamp(2.8rem, 12.5vw, 4rem); }
  .hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.18em; }
}

/* --- Navigation mobile --- */
@media (max-width: 480px) {
  #main-nav { padding: 14px 20px; }
  #main-nav.scrolled { padding: 12px 20px; }
  .mobile-nav-links a { font-size: 2.5rem; }
  .mobile-nav-links { gap: 36px; }
}

/* --- Pull quote mobile --- */
@media (max-width: 640px) {
  .pull-word { font-size: clamp(3rem, 13vw, 5rem); }
  .pull-quote-section { padding: 60px 0; }
}

/* --- Service cards mobile --- */
@media (max-width: 480px) {
  .service-card { padding: 32px 24px; }
  .service-title { font-size: 1rem; }
}

/* --- Marquee legibility --- */
@media (max-width: 480px) {
  .marquee-track span { font-size: 0.6rem; }
}

/* --- Footer mobile --- */
@media (max-width: 480px) {
  .site-footer { padding: 52px 0 36px; }
}

/* --- Prevent horizontal overflow --- */
*, img { max-width: 100%; }
img { height: auto; }

/* Ensure tap targets are never smaller than 44px globally */
a, button { min-height: 44px; }
nav a, .footer-left a, .footer-right a { min-height: unset; }
