/* ============================================================
   Ali Zeb — Premium Personal Brand Website
   Design: Light editorial, understated professional luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties — Light Professional Palette
   ============================================================ */
:root {
  --bg-primary:     #FFFFFF;
  --bg-secondary:   #F7F6F3;
  --bg-surface:     #EFEDE8;
  --bg-surface-2:   #E6E3DC;
  --bg-dark:        #111318;
  --bg-dark-2:      #1A1E26;

  --text-primary:   #111318;
  --text-secondary: #525049;
  --text-muted:     #9A9590;
  --text-inverse:   #F0EDE8;
  --text-inverse-2: #A8A49E;

  --gold:           #9B7A2E;
  --gold-mid:       #B8942E;
  --gold-light:     #C9A84C;
  --gold-pale:      #E8D99A;

  --border:         rgba(17, 19, 24, 0.09);
  --border-strong:  rgba(17, 19, 24, 0.18);
  --border-gold:    rgba(155, 122, 46, 0.28);

  --shadow-sm:      0 1px 4px rgba(17, 19, 24, 0.06);
  --shadow-md:      0 4px 24px rgba(17, 19, 24, 0.08);

  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width:      1200px;
  --section-pad:    120px;

  --transition:     0.25s ease;
  --transition-slow: 0.45s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { font-size: 0.94rem; line-height: 1.82; color: var(--text-secondary); font-weight: 300; }
.site-link { color: var(--gold); text-decoration: none; }
.site-link:hover { opacity: 0.75; }
p .site-link { font-weight: 600; }
ul, ol { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
.t-display {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.t-display-sm {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  line-height: 1.15;
}

.t-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}

.t-label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.t-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--text-secondary);
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background: var(--bg-secondary);
}

.section--surface {
  background: var(--bg-surface);
}

.section--dark {
  background: var(--bg-dark);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--gold);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.0);
  transition: background var(--transition), padding var(--transition), border-color var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 0;
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* Inner pages start scrolled */
.site-nav.scrolled-always {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: color var(--transition);
}

/* Logo on transparent hero nav */
.hero-nav .nav-logo {
  color: #FFFFFF;
  font-size: 2.1rem;
}
.hero-nav .nav-links a {
  color: rgba(255,255,255,0.75);
}
.hero-nav .nav-links a:hover,
.hero-nav .nav-links a.active {
  color: #FFFFFF;
}
.hero-nav .nav-toggle span {
  background: #FFFFFF;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

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

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid var(--border-gold) !important;
  padding: 9px 20px;
  font-size: 0.74rem !important;
  letter-spacing: 0.1em !important;
  transition: background var(--transition), color var(--transition) !important;
}

.hero-nav .nav-cta {
  color: rgba(201,168,76,0.9) !important;
  border-color: rgba(201,168,76,0.4) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold) !important;
  color: #FFFFFF !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}
.site-nav.scrolled .nav-toggle span,
.site-nav.scrolled-always .nav-toggle span { background: var(--text-primary); }

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-mobile.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  padding: 14px 32px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--gold); }

/* ============================================================
   Hero — Dark panel on light site
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-color: #0a0c10;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,12,16,0.88) 0%, rgba(10,12,16,0.60) 55%, rgba(10,12,16,0.80) 100%),
    linear-gradient(180deg, rgba(10,12,16,0.1) 40%, rgba(10,12,16,0.98) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px 120px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-light);
}

.hero-eyebrow .t-label {
  color: var(--gold-light);
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #F0EDE8;
  max-width: 860px;
  margin-bottom: 32px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(240, 237, 232, 0.65);
  max-width: 560px;
  margin-bottom: 52px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(240,237,232,0.3);
}

.hero-scroll span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), transparent);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bg-dark);
  color: #F0EDE8;
}

.btn-primary:hover {
  background: #1F2430;
}

.btn-primary-gold {
  background: var(--gold);
  color: #FFFFFF;
}

.btn-primary-gold:hover {
  background: var(--gold-mid);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-light {
  background: transparent;
  color: rgba(240,237,232,0.8);
  border: 1px solid rgba(240,237,232,0.2);
}

.btn-outline-light:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: rgba(240,237,232,0.55);
  padding: 0;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.btn-ghost:hover {
  color: rgba(240,237,232,0.9);
}

.btn-ghost:hover::after {
  transform: scaleX(1);
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   Credentials Bar
   ============================================================ */
.credentials-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.credentials-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.credentials-bar-inner::-webkit-scrollbar { display: none; }

.cred-label {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  margin-right: 36px;
  flex-shrink: 0;
}

.cred-divider {
  width: 1px;
  height: 18px;
  background: var(--border-strong);
  margin: 0 24px;
  flex-shrink: 0;
}

.cred-item {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.cred-item:hover { color: var(--gold); }

/* ============================================================
   Practice / About sections
   ============================================================ */
.practice-text p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.practice-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-left: 1px solid var(--border-gold);
  padding-left: 40px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span { color: var(--gold); }

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   Expertise Cards
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.expertise-card {
  background: var(--bg-secondary);
  padding: 48px 40px;
  transition: background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height var(--transition-slow);
}

.expertise-card:hover {
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

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

.card-number {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.card-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.card-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}

.card-link:hover { gap: 14px; }
.card-link svg { width: 12px; height: 12px; }

/* Card image header */
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: -48px -40px 32px;
  width: calc(100% + 80px);
  filter: saturate(0.5) brightness(0.85);
  transition: filter var(--transition-slow);
}

.expertise-card:hover .card-img {
  filter: saturate(0.7) brightness(0.95);
}

/* Feature image block */
.feature-img-wrap {
  position: relative;
  overflow: hidden;
}

.feature-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.6) brightness(0.9);
}

.feature-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-primary) 100%);
}

/* Sector image badge on experience timeline */
.exp-sector-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.9);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  display: block;
}

/* ============================================================
   Track Record List
   ============================================================ */
.track-record-list {
  display: flex;
  flex-direction: column;
}

.track-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.track-item:first-child { border-top: 1px solid var(--border); }

.track-org {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.track-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
}

.track-sector {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
  margin-top: 2px;
}

/* ============================================================
   About Snapshot
   ============================================================ */
.about-snapshot {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-photo-placeholder::before {
  content: 'AZ';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: var(--border-strong);
  letter-spacing: 0.1em;
}

.about-photo-caption {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 14px;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.about-text p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.affiliations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.affiliation-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.affiliation-item::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-bottom: 1px;
}

/* ============================================================
   Process
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.process-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--bg-surface-2);
  line-height: 1;
  margin-bottom: 24px;
  user-select: none;
}

.process-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.process-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.86rem;
  line-height: 1.78;
  color: var(--text-muted);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(155, 122, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #F0EDE8;
  margin-bottom: 20px;
  position: relative;
}

.cta-section p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  color: rgba(240,237,232,0.5);
  margin-bottom: 48px;
  position: relative;
}

/* CTA on light bg variant */
.cta-section.cta-light {
  background: var(--bg-surface);
}

.cta-section.cta-light h2 { color: var(--text-primary); }
.cta-section.cta-light p  { color: var(--text-muted); }

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 48px 96px;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--text-primary);
  max-width: 740px;
  margin-bottom: 24px;
}

.page-hero p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ============================================================
   Experience Timeline
   ============================================================ */
.experience-timeline {
  display: flex;
  flex-direction: column;
}

.exp-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  position: relative;
}

.exp-item + .exp-item {
  margin-top: 0;
}

.exp-meta {
  padding: 40px 48px 40px 0;
  border-right: 1px solid var(--border);
  position: relative;
}

.exp-meta::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 48px;
  width: 9px;
  height: 9px;
  background: var(--bg-primary);
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.exp-item:last-child .exp-meta {
  border-right: 1px solid var(--border);
}

.exp-dates {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.exp-company {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.exp-sector {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}

.exp-content {
  padding: 40px 0 40px 48px;
  border-bottom: 1px solid var(--border);
}

.exp-item:last-child .exp-content {
  border-bottom: none;
}

.exp-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.exp-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.82;
  color: var(--text-secondary);
}

.exp-body p { margin-bottom: 12px; }
.exp-body p:last-child { margin-bottom: 0; }

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

/* ============================================================
   Tags
   ============================================================ */
.tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  background: var(--bg-secondary);
}

/* ============================================================
   Expertise Page blocks
   ============================================================ */
.expertise-block {
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--border);
}

.expertise-block:last-child { border-bottom: none; }

.expertise-block-img {
  margin-bottom: 48px;
  overflow: hidden;
}

.expertise-block-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.expertise-block-label {
  position: sticky;
  top: 100px;
}

.expertise-block-label h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 16px;
}

.expertise-block-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.93rem;
  line-height: 1.88;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.expertise-block-content p:last-of-type { margin-bottom: 0; }

/* ============================================================
   Credentials Page
   ============================================================ */
.credentials-table {
  width: 100%;
  border-collapse: collapse;
}

.credentials-table thead tr {
  border-bottom: 1px solid var(--border-gold);
}

.credentials-table th {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 0 14px;
  text-align: left;
}

.credentials-table th:not(:first-child) { padding-left: 24px; }

.credentials-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.credentials-table td:not(:first-child) { padding-left: 24px; }
.credentials-table tr:last-child td { border-bottom: none; }

.cred-org {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
}

.cred-role {
  font-family: var(--font-sans);
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.cred-period {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.cred-type {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-mid);
}

.credentials-section { margin-bottom: 72px; }
.credentials-section:last-child { margin-bottom: 0; }

.credentials-section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   Advisory Page
   ============================================================ */
.advisory-intro p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.88;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.engagement-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.engagement-type {
  background: var(--bg-secondary);
  padding: 48px 40px;
  border-top: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.engagement-type:hover {
  border-top-color: var(--gold);
  background: var(--bg-surface);
}

.engagement-type h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.engagement-type p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.87rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.what-i-bring {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.bring-item {
  padding: 32px;
  background: var(--bg-secondary);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}

.bring-item:hover {
  border-bottom-color: var(--gold);
  background: var(--bg-surface);
}

.bring-item h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bring-item p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.84rem;
  line-height: 1.72;
  color: var(--text-secondary);
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-info p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.94rem;
  line-height: 1.82;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-direct {
  padding-top: 36px;
  border-top: 1px solid var(--border);
  margin-top: 36px;
}

.contact-direct-label {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-email {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact-email:hover { color: var(--gold); }

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

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

.form-group label {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--bg-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-dark-2);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-logo-name span { color: var(--gold); }

.footer-about {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.76;
  max-width: 260px;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   Pull Quote
   ============================================================ */
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 28px 0 28px 36px;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 12px;
}

.pull-quote cite {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* ============================================================
   Insights Article List Cards
   ============================================================ */
.ic-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.ic-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  overflow: hidden;
}
.ic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ic-text {
  flex: 1;
  min-width: 0;
}
.ic-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

/* ============================================================
   Scroll Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Responsive Grid Utilities
   ============================================================ */
.stat-blocks-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-blocks-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.stat-blocks-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.disciplines-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  .hero-content { padding: 0 32px 96px; }
  .page-hero { padding: 140px 32px 80px; }
  .about-snapshot { grid-template-columns: 1fr; }
  .about-snapshot .about-photo { max-width: 340px; }
  .expertise-block-inner { grid-template-columns: 1fr; gap: 36px; }
  .expertise-block-label { position: static; }
  .exp-item { grid-template-columns: 180px 1fr; }
  .what-i-bring { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { gap: 48px !important; }
  .stat-blocks-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0; max-width: 100%; }
  .hero-content { padding: 0 20px 72px; }
  .page-hero { padding: 110px 20px 56px; }
  .cta-section { padding: 80px 20px; }

  .nav-logo { font-size: 1.3rem; }
  .site-nav { padding: 12px 24px; }
  .site-nav.scrolled, .site-nav.scrolled-always { padding: 10px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .grid-2 { grid-template-columns: 1fr; gap: 36px !important; }
  .grid-3 { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .engagement-types { grid-template-columns: 1fr; }
  .what-i-bring { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .track-item { grid-template-columns: 1fr; gap: 4px; }
  .track-sector { text-align: left; }
  .credentials-table { display: block; overflow-x: auto; }
  .hero-scroll { display: none; }

  .exp-item { grid-template-columns: 1fr; }
  .exp-meta { padding: 28px 0 14px; border-right: none; border-bottom: 1px solid var(--border); }
  .exp-meta::after { display: none; }
  .exp-content { padding: 16px 0 28px; border-bottom: 1px solid var(--border); }

  .credentials-bar-inner { padding: 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-about { max-width: 100%; }

  .stat-blocks-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-blocks-3 { grid-template-columns: 1fr; }
  .stat-blocks-2 { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .seo-authority-block { padding: 24px !important; }

  /* Expertise cards — reduce padding so card content isn't cramped */
  .expertise-card { padding: 36px 28px; }
  .card-img {
    height: 140px;
    margin: -36px -28px 28px;
    width: calc(100% + 56px);
  }

  /* Feature image — shorter on mobile so it doesn't dominate the column */
  .feature-img-wrap img { height: 240px; }

  /* Hero text — tighten slightly on small screens */
  .hero h1 { font-size: 2.2rem; line-height: 1.1; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 36px; }

  /* Section labels — reduce bottom margin */
  .section-label { margin-bottom: 36px; }

  /* Insights article list — compact side-by-side on mobile */
  .ic-row { gap: 16px; }
  .ic-thumb { width: 90px; height: 62px; }
  .ic-arrow { display: none; }
  #insights-list a { padding: 24px 0; }
  .ic-text h3 { font-size: 1.15rem; }
}

@media (max-width: 480px) {
  :root { --section-pad: 52px; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-snapshot .about-photo { max-width: 100%; }
  .stat-blocks-4 { grid-template-columns: 1fr; }
  .seo-authority-block { padding: 20px !important; }

  /* Insights article list — smaller image on small phones */
  .ic-thumb { width: 80px; height: 56px; }

  /* Stat blocks — reduce the inline padding on small screens */
  .stat-blocks-4 > div,
  .stat-blocks-3 > div,
  .stat-blocks-2 > div { padding: 24px !important; }

  /* Further tighten expertise cards */
  .expertise-card { padding: 28px 22px; }
  .card-img {
    height: 130px;
    margin: -28px -22px 24px;
    width: calc(100% + 44px);
  }

  /* Feature image height on small phones */
  .feature-img-wrap img { height: 200px; }

  /* Process numbers smaller on phone */
  .process-number { font-size: 3rem; margin-bottom: 16px; }

  /* CTA section */
  .cta-section { padding: 64px 20px; }
  .cta-section h2 { font-size: 1.9rem; }

  /* Page hero tighter on phones */
  .page-hero { padding: 96px 20px 48px; }
  .page-hero h1 { font-size: 2rem; }
}
