/* ======================================================================
   STRATA RESEARCH & ADVISORY — Design System
   Brand direction: D — "Ice Core"
   ====================================================================== */

:root{
  /* ---- Color tokens ---- */
  --color-bg:          #f8f7f4; /* Crisp off-white — page background */
  --color-bg-alt:      #f1efe9; /* Warm off-white — alternating section / card bg */
  --color-ink:         #12191d; /* Deep Basalt    — dark sections (header, hero, footer) */
  --color-ink-alt:     #1b262c; /* Deep Basalt, slightly lifted (cards on dark) */
  --color-text:        #1f2e34; /* Slate Ink, deepened — body text on light backgrounds */
  --color-text-inverse:#eef2f1; /* body text on dark backgrounds */
  --color-muted:       #3d4d54; /* Steel, darkened for contrast — secondary text, borders, captions */
  --color-muted-inverse:#9fb0b5;/* secondary text on dark backgrounds */
  --color-accent:      #4f8f92; /* Meltwater Teal — links, CTAs, interactive elements */
  --color-accent-dark: #3c6f72; /* hover/active state for accent */
  --color-accent-soft: #dcebea; /* tinted teal for subtle backgrounds/badges */
  --color-gold:        #ad8a4e; /* Brushed Brass — luxury/exclusivity accent, used sparingly, non-interactive */
  --color-gold-soft:   #f1e9d8; /* tinted gold for subtle premium backgrounds */
  --color-navy:        #1e3a5c; /* Navy — wordmark and nav hover/current state only */
  --color-hero-ink:    #060d17; /* Hero field — deep navy (reverted from the cream mockup treatment) */
  --color-hero-text:   #ffffff; /* Hero heading — white, for max contrast against the deep navy */
  --color-hero-body:   #b9c7d6; /* Hero body copy — light blue-gray */
  --color-line:        #ddd0b3; /* warm hairline borders on light backgrounds (matches uploaded design system) */
  --color-line-inverse:#2c3e46; /* hairline borders on dark backgrounds */

  /* ---- Header — light again, distinct from the dark hero beneath it ---- */
  --color-header-bg:        #eef1f6;
  --color-header-text:      #1e3a5c;
  --color-header-text-muted:#3d4d54;

  /* ---- Research-family accent set (used sparingly for structure: process markers,
         research-area categories, map nodes, selected-work headers — the page stays
         blue/teal-dominant; these are secondary, not a rainbow takeover) ---- */
  --color-family-blue:   #4f8f92; /* = --color-accent, reused for family 1 */
  --color-family-gold:   #ad8a4e; /* = --color-gold, reused for family 2 */
  --color-family-sage:   #7a8f6b;
  --color-family-navy:   #3d5a73;
  --color-family-rust:   #b5714a;
  --color-family-purple: #7a5a8a;

  /* ---- Type ---- */
  --font-display: "Newsreader", Cambria, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body:    "Public Sans", -apple-system, "Seravek", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* ---- Scale ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-width: 1180px;
  --content-width: 68ch;

  --shadow-card: 0 1px 2px rgba(18,25,29,0.06), 0 12px 28px -18px rgba(18,25,29,0.22);

  /* ---- Motion tokens (homepage motion system) ---- */
  --motion-fast: 250ms;
  --motion-medium: 700ms;
  --motion-slow: 1000ms;
  --motion-ease: cubic-bezier(.22,1,.36,1);
  --reveal-distance: 12px;
  --divider-color: rgba(18,25,29,.12);
  --divider-color-inverse: rgba(238,242,241,.16);
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1{ font-size: clamp(34px, 4.6vw, 56px); }
h2{ font-size: clamp(26px, 3.2vw, 36px); }
h3{ font-size: clamp(20px, 2.2vw, 24px); }
p{ margin: 0 0 var(--space-4); max-width: var(--content-width); }

/* ---------------------------------------------------------------------
   Layout helpers
   --------------------------------------------------------------------- */
.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.section{ padding: var(--space-9) 0; }
.section-tight{ padding: var(--space-7) 0; }
.section-dark{ background: var(--color-ink); color: var(--color-text-inverse); }
.section-dark p{ color: var(--color-muted-inverse); }
.section-alt{ background: var(--color-bg-alt); }
.section-sage{ background: #e5e7df; }
.section-rust{ background: #eee3db; }

.grid{ display: grid; gap: var(--space-6); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-5{ grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px){
  .grid-5{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns: 1fr; }
}
@media (min-width: 621px) and (max-width: 780px){
  .grid-5{ grid-template-columns: repeat(2, 1fr); }
}

.stack{ display: flex; flex-direction: column; gap: var(--space-4); }
.cluster{ display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   Type utilities
   --------------------------------------------------------------------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-3);
}
.eyebrow::before{
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.muted{ color: var(--color-muted); }
.section-dark .muted{ color: var(--color-muted-inverse); }

.stat{ font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.stat-num{ font-size: 28px; font-weight: 700; color: var(--color-gold); display: block; }
.stat-label{ font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.section-dark .stat-label{ color: var(--color-muted-inverse); }

/* ---------------------------------------------------------------------
   Buttons & links
   --------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary{ background: var(--color-accent-dark); color: #fff; }
.btn-primary:hover{ filter: brightness(1.15); }
.btn-ghost{ border-color: currentColor; color: inherit; }
.btn-ghost:hover{ background: var(--color-accent-soft); }
.section-dark .btn-ghost:hover{ background: rgba(79,143,146,0.18); }

.link-arrow{ color: var(--color-accent-dark); font-weight: 600; }
.link-arrow:hover{ color: var(--color-ink); }

/* ---------------------------------------------------------------------
   Site header
   --------------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-header-bg);
  color: var(--color-header-text);
  border-bottom: 2px solid var(--color-navy);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}
.nav-item{ position: relative; padding-bottom: 16px; margin-bottom: -16px; }
.site-nav > .nav-item > a::after{ content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 5px; margin-bottom: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.nav-item-nested{ display: block; position: relative; padding-bottom: 0; margin-bottom: 0; }
.nav-item-nested > a{ display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nav-item-nested > a, .nav-dropdown:not(.nav-dropdown-flyout) > a{ color: var(--color-navy); font-weight: 600; }
.nav-flyout-caret{ opacity: .7; font-size: 15px; }
.nav-dropdown.nav-dropdown-flyout{ top: -7px; left: 100%; margin-top: 0; margin-left: -4px; padding-left: 12px; min-width: 300px; max-height: 360px; overflow-y: auto; }
.nav-dropdown-flyout a{ font-size: 15px; }
.nav-item-nested:hover .nav-dropdown-flyout,
.nav-item-nested:focus-within .nav-dropdown-flyout,
.nav-item-nested.open .nav-dropdown-flyout{ display: block; }
.nav-dropdown{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 12px 28px rgba(18,25,29,.12);
  z-index: 60;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown, .nav-item.open .nav-dropdown{ display: block; }
.nav-dropdown a{
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-muted);
  outline: none;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a:active,
.nav-dropdown a[aria-current="page"],
.nav-item-nested > a:hover,
.nav-item-nested > a:focus-visible,
.nav-item-nested > a:active{
  color: #fff !important;
  background: var(--color-accent) !important;
}
.brand{ display: flex; align-items: center; gap: 8px; }
.brand svg, .brand img{ width: 130px; height: 130px; flex: none; }
.brand-name{ font-family: var(--font-display); font-size: 24px; letter-spacing: .05em; font-weight: 600; color: var(--color-header-text); line-height: 1.1; }
.brand-sub{ font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--color-gold); line-height: 1.1; margin-top: 2px; }

.site-nav{ display: flex; align-items: center; gap: var(--space-6); }
.site-nav a{ font-size: 17.5px; font-weight: 500; color: var(--color-header-text-muted); }
.site-nav a:hover, .site-nav a[aria-current="page"]{ color: var(--color-header-text); }
.site-nav a.btn{ color: #fff; }
.site-nav .btn{ font-size: 17px; padding: 14px 26px; }

.nav-toggle{ display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 0; flex: none; }
.nav-toggle span{ display: block; width: 100%; height: 2px; background: var(--color-header-text); border-radius: 2px; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px){
  .brand svg, .brand img{ width: 64px; height: 64px; }
  .brand-name{ font-size: 18px; }
  .brand-sub{ font-size: 10px; letter-spacing: .08em; }
  .nav-toggle{ display: flex; }
  .site-nav{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #eef1f6;
    border-bottom: 2px solid var(--color-navy);
    padding: var(--space-2) var(--space-5) var(--space-5);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .site-nav.open{ display: flex; }
  /* This panel stays light regardless of the dark header above it, so its
     link colors need their own (dark-on-light) pass, not the header's. */
  .site-nav a{ font-size: 16px; color: var(--color-text); }
  .site-nav a:hover, .site-nav a[aria-current="page"]{ color: var(--color-navy); }
  .site-nav > a{ padding: 14px 0; border-top: 1px solid var(--color-line); }
  .nav-item{ padding-bottom: 0; margin-bottom: 0; border-top: 1px solid var(--color-line); }
  .nav-item > a{ padding: 14px 0; border-top: none; }
  .nav-dropdown{ display: block; position: static; box-shadow: none; border: none; margin-top: 0; padding: 0 0 10px var(--space-4); background: transparent; min-width: 0; }
  .nav-dropdown a{ padding: 8px 0; font-size: 15px; }
  .nav-dropdown a:hover, .nav-dropdown a[aria-current="page"]{ background: none; }
  .nav-dropdown.nav-dropdown-flyout{ max-height: none; overflow-y: visible; padding-left: 14px; border-left: 1px solid var(--color-line); margin-left: 4px; }
  .nav-dropdown-flyout a{ font-size: 15px; }
  .nav-flyout-caret{ display: none; }
  .site-nav .btn-primary{ margin-top: var(--space-4); justify-content: center; }
  .lang-switch{ margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-line); color: var(--color-muted); }
  .lang-switch a{ color: var(--color-muted); }
  .lang-switch a[aria-current="page"], .lang-switch .lang-current{ color: var(--color-navy); }
}

/* ---------------------------------------------------------------------
   Page header (interior pages)
   --------------------------------------------------------------------- */
.breadcrumb{ font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: var(--space-4); }
.breadcrumb a{ color: var(--color-accent-dark); }
.breadcrumb a:hover{ color: var(--color-accent-dark); }
.page-header{ background: var(--color-bg-alt); padding: var(--space-8) 0 var(--space-7); border-bottom: 1px solid var(--color-line); }
.page-header p{ font-size: 18px; color: var(--color-text); }

/* ---------------------------------------------------------------------
   Hero (ice-core banding motif)
   --------------------------------------------------------------------- */
.hero{
  background: var(--color-bg-alt);
  color: var(--color-text);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.hero .container{ position: relative; z-index: 1; }
.hero-lines{
  position: absolute;
  inset: 0;
  opacity: .45;
  pointer-events: none;
}
@keyframes heroLineDrift{
  0%   { transform: translateX(0); }
  50%  { transform: translateX(14px); }
  100% { transform: translateX(0); }
}
.hero-lines path{ animation: heroLineDrift 14s ease-in-out infinite; }
.hero-lines path:nth-child(2){ animation-duration: 18s; animation-direction: reverse; }
.hero-lines path:nth-child(3){ animation-duration: 16s; }
.hero-lines path:nth-child(4){ animation-duration: 20s; animation-direction: reverse; }
@media (prefers-reduced-motion: reduce){
  .hero-lines path{ animation: none !important; }
}
.hero p{ color: var(--color-text); font-size: 18px; }

.hero-grid{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: var(--space-7); align-items: start; }
.hero-map-panel{ position: relative; aspect-ratio: 960 / 600; display: flex; flex-direction: column; gap: 10px; }
.hero-map-panel svg{ width: 100%; height: 100%; display: block; }
#hero-region-map{ flex: 1; min-height: 0; }
#hero-region-map svg{ width: 100%; height: 100%; display: block; }
.hero-coord{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; fill: var(--color-hero-body); opacity: .9; }
.hero-hub-label{ font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; fill: var(--color-hero-text); opacity: .95; }
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-map-panel{ order: -1; max-width: 480px; margin: 0 auto var(--space-4); }
}

/* ---- Light hero variant (mockup-style) ---- */
.hero-light{ background: var(--color-bg); color: var(--color-text); }

/* ---- Where We Operate (dark, near-global reach) ---- */
.operate-section{ background: var(--color-hero-ink); color: #fff; position: relative; overflow: hidden; }
.operate-grid{ display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-7); align-items: start; position: relative; z-index: 1; }
.operate-regions ul{ display: flex; flex-direction: column; gap: 10px; }
.operate-regions li{ font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-hero-body); padding-bottom: 10px; border-bottom: 1px solid var(--color-line-inverse); }
.operate-map-wrap{ position: relative; z-index: 1; aspect-ratio: 960 / 340; margin-top: var(--space-8); border-top: 1px solid var(--color-line-inverse); padding-top: var(--space-6); }
#operate-region-map{ width: 100%; height: 100%; }
#operate-region-map svg{ width: 100%; height: 100%; display: block; }
.operate-tagline{ font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--color-hero-body); text-align: right; margin: var(--space-6) 0 0; position: relative; z-index: 1; }
@media (max-width: 900px){
  .operate-grid{ grid-template-columns: 1fr; }
  .operate-tagline{ text-align: left; }
}

/* ---- Dark filled button (hero primary CTA) ---- */
.btn-dark{ background: var(--color-ink); color: #fff; }
.btn-dark:hover{ filter: brightness(1.2); }

/* ---------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------- */
.card{
  background: #fff;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}
.section-dark .card{
  background: var(--color-ink-alt);
  border-color: var(--color-line-inverse);
}
.card-gold{ border-top: 3px solid var(--color-gold); }
.case-card{ transition: transform .18s ease, box-shadow .18s ease; min-height: 190px; }
.case-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(31,46,52,.08); }
.case-card-icon{ width: 20px; height: 20px; color: var(--color-gold); }
.case-card-icon svg{ width: 20px; height: 20px; }
/* Modifier: adds a horizontal graphic header above the card body (homepage "Selected Work" only) */
.case-card-has-visual{ padding: 0; overflow: hidden; }
.case-card-visual{ height: 108px; overflow: hidden; }
.case-card-visual svg{ width: 100%; height: 100%; display: block; }
.case-card-body{ padding: var(--space-5); }

/* ---------------------------------------------------------------------
   Leadership profiles
   --------------------------------------------------------------------- */
.leader-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-7); align-items: start; }
@media (max-width: 700px){ .leader-grid{ grid-template-columns: 1fr; } }
.leader-office{ font-size: 13px; color: var(--color-muted); margin-bottom: var(--space-4); }
.leader-avatar{
  position: relative;
  width: 88px; height: 88px; border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-gold);
  background: var(--color-bg-alt); /* Frost Mist — shows through if a photo has a transparent cutout background */
  margin-bottom: var(--space-4);
}
.leader-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.leader-avatar::after{
  content: ""; position: absolute; inset: 0;
  background: var(--color-accent);
  mix-blend-mode: color;
  opacity: 0.55;
  pointer-events: none;
}
.leader-avatar .avatar-fallback{
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 28px; font-weight: 600;
  background: var(--color-bg-alt); color: var(--color-ink);
}
.leader-avatar.leader-avatar-lg{
  width: 100%; max-width: 340px; height: auto; border-radius: 0; border: none; overflow: visible; background: none; position: static;
}
.leader-avatar.leader-avatar-lg img{ width: 100%; height: auto; object-fit: contain; display: block; }
.leader-avatar.leader-avatar-lg::after{ display: none; content: none; }
.leader-name{ font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 2px; }
.leader-title{ font-size: 13px; color: #8a6d3a; font-weight: 600; margin-bottom: var(--space-4); }
.placeholder-text{ color: var(--color-muted); font-style: italic; }

/* ---------------------------------------------------------------------
   Trust bar
   --------------------------------------------------------------------- */
.trust-bar{ display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6) var(--space-7); margin-top: var(--space-5); }
.trust-bar span{ font-family: var(--font-display); font-size: 17px; color: var(--color-muted); white-space: nowrap; }

/* ---------------------------------------------------------------------
   Theme / topic cards
   --------------------------------------------------------------------- */
.theme-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-5); }
.theme-icon-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-4); }
.theme-icon-tile{
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-4); border-radius: var(--radius-md);
  background: var(--color-bg-alt); border: 1px solid var(--color-line);
  transition: border-color .15s ease, transform .15s ease;
}
.theme-icon-tile:hover{ border-color: var(--color-accent); transform: translateY(-2px); }
.theme-icon-tile span{ font-size: 13px; font-weight: 600; line-height: 1.3; }

/* Practice area rows */
.practice-row{ display: flex; align-items: flex-start; gap: var(--space-4); padding: 22px 0; border-top: 1px solid var(--color-line); text-decoration: none; color: inherit; transition: padding-left .15s ease; }
.practice-row:last-child{ border-bottom: 1px solid var(--color-line); }
.practice-row:hover{ padding-left: 6px; }
.practice-row:hover h3{ color: var(--color-accent); }
.practice-row-icon{ flex: none; width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; }
.practice-row-icon svg{ width: 20px; height: 20px; }
.practice-row h3{ font-size: 19px; margin: 0 0 4px; transition: color .15s ease; }
.practice-row p{ margin: 0; color: var(--color-muted); font-size: 14px; }
.practice-row-arrow{ flex: none; align-self: center; color: var(--color-accent); font-weight: 600; opacity: 0; transition: opacity .15s ease; }
.practice-row:hover .practice-row-arrow{ opacity: 1; }

/* Circular research-area tiles (homepage teaser) */
.theme-circle-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6) var(--space-5); }
@media (max-width: 900px){ .theme-circle-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .theme-circle-grid{ grid-template-columns: repeat(2, 1fr); } }
.theme-circle-tile{ display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: transform .18s ease; }
.theme-circle-tile:hover{ transform: translateY(-3px); }
.theme-circle-chip{ width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.theme-circle-chip svg{ width: 36px; height: 36px; }
.theme-circle-tile span{ color: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; }

/* Research-area directory — large count + color-coded family columns */
.study-directory{ display: grid; grid-template-columns: 200px 1fr; gap: var(--space-8); align-items: start; }
.study-count-num{
  font-family: var(--font-display); font-size: 96px; line-height: .9; font-weight: 600;
  color: var(--color-family-rust); margin: 0;
}
.study-count-label{ font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-top: var(--space-3); }
.study-families{ display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-5); align-items: start; }
.study-family-header{ display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-4); }
.study-family-header .study-family-icon{ width: 22px; height: 22px; margin-bottom: 0; flex: none; }
.study-family-icon svg{ width: 100%; height: 100%; }
.study-family-header h4{ font-size: 13.5px; margin: 0; letter-spacing: .01em; line-height: 1.25; }
.study-family-header .study-family-rule{ height: 1px; width: 24px; background: currentColor; opacity: .4; }
.study-family-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.study-family-list a{ color: var(--color-ink); font-size: 14.5px; font-weight: 500; line-height: 1.3; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease, color .15s ease; }
.study-family-list a:hover{ border-color: currentColor; }
.study-family .link-arrow{ font-size: 12px; margin-top: var(--space-3); display: inline-block; }
@media (max-width: 1080px){
  .study-families{ grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-4); }
}
@media (max-width: 700px){
  .study-families{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px){
  .study-directory{ grid-template-columns: 1fr; }
}

/* Standalone What We Study directory — uniform symmetric grid, no icons */
.study-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.study-grid-item{ background: #fff; padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: background .15s ease; }
.study-grid-item:hover{ background: var(--color-bg-alt, #f7f6f2); }
.study-grid-item:hover .study-grid-name{ color: var(--fam-color); }
.study-grid-icon{ width: 24px; height: 24px; margin-bottom: 2px; }
.study-grid-icon svg{ width: 100%; height: 100%; }
.study-grid-fam{ font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.study-grid-name{ font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--color-ink); line-height: 1.3; transition: color .15s ease; }
@media (max-width: 860px){ .study-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .study-grid{ grid-template-columns: 1fr; } }
.practice-tile-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.practice-tile{ display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; text-decoration: none; aspect-ratio: 1 / 1; padding: 16px; border-radius: var(--radius-sm); transition: transform .18s ease, box-shadow .18s ease; }
.practice-tile:hover{ transform: translateY(-5px); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.practice-tile-icon{ display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.practice-tile-icon svg{ width: 40px; height: 40px; }
.practice-tile span{ color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
@media (max-width: 720px){
  .practice-tile-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){ .practice-tile-grid{ grid-template-columns: 1fr; } }
.theme-icon-media{
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--color-bg);
}
.theme-icon-media img{ width: 100%; height: 100%; object-fit: cover; }
.theme-icon-fallback{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.theme-icon-fallback svg{ width: 30px; height: 30px; color: var(--color-accent); }
.pill-list{ display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.pill{ font-size: 12px; padding: 4px 10px; border-radius: 100px; background: var(--color-bg); color: var(--color-muted); border: 1px solid var(--color-line); }

/* ---------------------------------------------------------------------
   Homepage — trust strip, service flow, lifecycle, founder teaser
   --------------------------------------------------------------------- */
.region-row:hover{ padding-left: 6px; }
.region-row:hover span:first-child{ color: var(--color-accent) !important; }
.trust-strip{ display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-6); }
.trust-strip span{ font-size: 15px; font-weight: 600; color: var(--color-text); white-space: nowrap; }

.service-rows{ display: flex; flex-direction: column; }
.service-row{
  display: flex; align-items: center; gap: var(--space-5);
  padding: 24px 0; border-top: 1px solid var(--color-line);
  transition: padding-left .15s ease;
}
.service-row:last-child{ border-bottom: 1px solid var(--color-line); }
.service-row:hover{ padding-left: 6px; }
.service-row-num{
  flex: none; width: 30px; font-family: var(--font-mono); font-weight: 700;
  font-size: 14px; color: var(--color-accent);
}
.service-row-title{ flex: none; width: 240px; font-size: 18px; margin: 0; transition: color .15s ease; }
.service-row:hover .service-row-title{ color: var(--color-accent); }
.service-row-desc{ flex: 1; margin: 0; color: var(--color-muted); font-size: 14.5px; }
.service-row-arrow{ flex: none; color: var(--color-accent); font-weight: 600; opacity: 0; transition: opacity .15s ease; }
.service-row:hover .service-row-arrow{ opacity: 1; }
@media (max-width: 760px){
  .service-row{ flex-wrap: wrap; }
  .service-row-title{ width: auto; }
  .service-row-desc{ flex: 1 1 100%; order: 3; margin-top: 4px; }
  .service-row-arrow{ display: none; }
}

.lifecycle-flow{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--space-6); }
.lifecycle-flow span:not(.lifecycle-arrow){
  font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 100px;
  background: var(--color-bg-alt); color: var(--color-text);
}
.lifecycle-arrow{ color: var(--color-accent); font-weight: 600; }

.founder-teaser{ display: flex; align-items: center; gap: var(--space-4); text-decoration: none; color: inherit; }
.founder-teaser .leader-avatar{ margin-bottom: 0; }
.founder-teaser .leader-name{ font-weight: 600; }
.founder-teaser:hover .leader-name{ color: var(--color-accent); }

/* ---------------------------------------------------------------------
   Consultant network
   --------------------------------------------------------------------- */
.consultant-filters{ display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.consultant-filters label{ display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--color-muted); }
.consultant-filters select{
  font: inherit; font-size: 14px; padding: 9px 34px 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-line); background: var(--color-bg); color: var(--color-text);
  min-width: 220px; cursor: pointer;
}
.consultant-filters select:focus{ outline: 2px solid var(--color-accent); outline-offset: 1px; }
.consultant-filter-count{ font-size: 13px; color: var(--color-muted); margin-inline-start: auto; align-self: flex-end; }
.consultant-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px){ .consultant-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .consultant-grid{ grid-template-columns: 1fr; } }
.consultant-card{
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-5); border-radius: var(--radius-lg);
  border: 1px solid var(--color-line); background: var(--color-bg);
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease;
}
.consultant-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-card); }
.consultant-card[hidden]{ display: none; }
.consultant-portrait{
  position: relative;
  width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg-alt);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 30px;
  flex: none;
}
.consultant-portrait img{ width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.consultant-portrait .avatar-fallback{
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
}
.consultant-portrait-lg{ width: 220px; aspect-ratio: 4 / 5; font-size: 40px; margin-bottom: var(--space-4); }
.consultant-card .leader-name{ font-size: 18px; margin-bottom: 0; }
.consultant-role{ font-size: 13.5px; color: var(--color-muted); line-height: 1.4; }
.consultant-region{ font-size: 12.5px; color: var(--color-muted); }
.consultant-card .pill-list{ margin-top: 2px; }
.consultant-card .link-arrow{ margin-top: auto; padding-top: var(--space-2); font-size: 14px; }
.consultant-empty{ color: var(--color-muted); font-style: italic; }
.leader-row{ display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); max-width: 900px; }
.leader-profile{ display: flex; gap: var(--space-5); align-items: flex-start; }
.leader-profile .consultant-portrait{ width: 140px; flex: none; }
.leader-profile .leader-info{ min-width: 0; }
.leader-profile .leader-name{ font-size: 19px; margin: 0 0 2px; }
.leader-profile .leader-title{ color: var(--color-gold); font-weight: 700; font-size: 13px; margin-bottom: var(--space-2); }
.leader-profile p{ font-size: 14.5px; color: var(--color-muted); line-height: 1.55; margin: 0 0 var(--space-3); }
.leader-profile .leader-links{ display: flex; gap: var(--space-4); font-size: 13.5px; }
@media (max-width: 700px){
  .leader-row{ grid-template-columns: 1fr; gap: var(--space-6); }
}
.network-map-country{ transition: fill .25s ease, opacity .25s ease; }
.network-map-country-dim{ opacity: .35; }
.network-map-country-hot{ fill: var(--color-gold) !important; filter: drop-shadow(0 0 6px var(--color-gold)); opacity: 1; }

/* ---------------------------------------------------------------------
   Methodology detail pages
   --------------------------------------------------------------------- */
.offer-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.offer-list li{ position: relative; padding-left: 24px; color: var(--color-text); font-size: 18px; line-height: 1.6; }
.offer-list li::before{ content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }
.method-overview{ font-size: 19px; line-height: 1.65; }
.method-pager{ display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; font-size: 16px; }
.method-pager a{ color: var(--color-muted); }
.method-pager a:hover{ color: var(--color-navy); }
.method-pager .method-pager-all{ color: var(--color-accent); font-weight: 600; }

/* Per-page accent theming for methodology detail pages (--page-accent set on <body>) */
.method-icon-badge{
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--page-accent, var(--color-accent)); color: #fff;
  margin-bottom: var(--space-4);
  box-shadow: 0 10px 24px -8px var(--page-accent, var(--color-accent));
}
.method-icon-badge svg{ width: 30px; height: 30px; }
body.method-page .page-header{ position: relative; overflow: hidden; }
body.method-page .page-header::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: var(--page-accent, var(--color-accent));
}
body.method-page section.section > .container > .eyebrow,
body.method-page section.section-alt > .container > .eyebrow{ color: var(--page-accent, var(--color-accent)); }
body.method-page .offer-list li::before{ background: var(--page-accent, var(--color-accent)); }
body.method-page .method-pager a:hover{ color: var(--page-accent, var(--color-navy)); }
body.method-page .method-pager-all{ color: var(--page-accent, var(--color-accent)); }

/* ---------------------------------------------------------------------
   Numbered process steps
   --------------------------------------------------------------------- */
.step-list{ display: flex; flex-direction: column; }
.step{ padding: var(--space-6) 0; border-top: 1px solid var(--color-line); }
.step:last-child{ border-bottom: 1px solid var(--color-line); }
.step-num{ font-family: var(--font-mono); font-size: 14px; color: var(--color-gold); font-weight: 700; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer{
  background: var(--color-bg-alt);
  color: var(--color-muted);
  border-top: 2px solid var(--color-navy);
  padding: var(--space-8) 0 var(--space-6);
}
.site-footer a:hover{ color: var(--color-text); }
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (max-width: 780px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
.footer-col h4{
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}
.footer-col li{ margin-bottom: var(--space-2); font-size: 14px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line);
  font-size: 13px;
}

/* ---------------------------------------------------------------------
   RTL / Arabic support
   --------------------------------------------------------------------- */
html[dir="rtl"] body{ font-family: 'Tajawal', var(--font-body); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .brand-name{
  font-family: 'Noto Naskh Arabic', var(--font-display);
}
html[dir="rtl"] .eyebrow{ letter-spacing: 0; }
html[dir="rtl"] .breadcrumb{ letter-spacing: 0; }
.lang-switch{ font-size: 13px; color: var(--color-header-text-muted); margin-inline-start: 8px; }
.lang-switch a{ color: var(--color-header-text-muted); }
.lang-switch a[aria-current="page"], .lang-switch .lang-current{ color: var(--color-header-text); font-weight: 600; }

/* ---------------------------------------------------------------------
   Collapsible bio
   --------------------------------------------------------------------- */
.bio-details{ margin-top: var(--space-3); }
.bio-details summary{ cursor: pointer; font-weight: 600; list-style: none; }
.bio-details summary::-webkit-details-marker{ display: none; }
.bio-details[open] summary{ margin-bottom: var(--space-3); }
.bio-details p{ margin: 0 0 var(--space-4); }


/* ---------------------------------------------------------------------
   Homepage — light motion pass
   Three signature moments only: hero entrance, process line, network
   section. Everything else on the page stays static. Respects
   prefers-reduced-motion throughout.
   --------------------------------------------------------------------- */
.reveal-up{
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--motion-medium) var(--motion-ease),
              transform var(--motion-medium) var(--motion-ease);
}
.reveal-up.is-visible{ opacity: 1; transform: translateY(0); }
.stagger-group > *{ transition-delay: calc(var(--stagger-i, 0) * 70ms); }

/* Reusable scroll-reveal for cards/rows on interior pages (methodology,
   our work, bios, etc.) — same motion language as the homepage, applied
   sitewide via motion.js's IntersectionObserver pass. */
.reveal-card{
  opacity: 0;
  transform: translateY(var(--reveal-distance));
  transition: opacity var(--motion-medium) var(--motion-ease),
              transform var(--motion-medium) var(--motion-ease);
}
.reveal-card.is-visible{ opacity: 1; transform: translateY(0); }
/* Large grids (28 research areas) reveal per-item on scroll already;
   skip the cumulative --stagger-i delay so far-down cards don't lag. */
.study-grid.stagger-group > .reveal-card{ transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce){
  .reveal-up, .reveal-card, .process-line-fill, .site-header, .network-reveal, .process-step{
    transition-duration: .01ms !important;
  }
  .reveal-up, .reveal-card{ opacity: 1 !important; transform: none !important; }
  .process-line-wrap .process-line-fill{ transform: scaleX(1) !important; }
  .process-step{ opacity: 1 !important; transform: none !important; }
  .network-reveal{ opacity: 1 !important; }
}

/* Nav — subtle background transition on scroll only */
.site-header{ transition: background-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.site-header.is-scrolled{
  background: rgba(238,241,246,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-line);
}

/* How we work — process line draw + colored step markers, sequential reveal */
/* ---- Dark navy section variant (sets a section apart, e.g. "How We Work") ---- */
.section-navy{ background: var(--color-navy); color: var(--color-text-inverse); }
.section-navy .eyebrow{ color: var(--color-gold); }
.section-navy h2, .section-navy h3, .section-navy h4{ color: #fff; }
.section-navy p, .section-navy .muted{ color: var(--color-hero-body); }
.section-navy .process-line-track{ background: rgba(255,255,255,.2); }
.section-navy .process-step p{ color: var(--color-hero-body); }

.process-line-wrap{ position: relative; padding-top: 21px; max-width: 940px; margin-left: auto; margin-right: auto; }
.process-line-track{
  position: absolute; left: 21px; right: 21px; top: 21px;
  height: 1px; background: var(--color-line-inverse);
}
.process-line-fill{
  position: absolute; left: 21px; top: 21px; height: 1px;
  width: calc(100% - 42px); background: var(--color-accent-dark);
  transform-origin: left center; transform: scaleX(0);
  transition: transform var(--motion-slow) var(--motion-ease);
}
.process-line-wrap.is-visible .process-line-fill{ transform: scaleX(1); }
.process-steps{ display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); position: relative; }
.process-step{
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--motion-medium) var(--motion-ease), transform var(--motion-medium) var(--motion-ease);
}
.process-line-wrap.is-visible .process-step{ opacity: 1; transform: translateY(0); }
.process-step:nth-child(1){ transition-delay: 0ms; }
.process-step:nth-child(2){ transition-delay: 90ms; }
.process-step:nth-child(3){ transition-delay: 180ms; }
.process-step:nth-child(4){ transition-delay: 270ms; }
.process-step:nth-child(5){ transition-delay: 360ms; }
.process-step:nth-child(6){ transition-delay: 450ms; }
.process-step-marker{
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}
.process-step h4{ margin: 0; font-size: 15.5px; font-weight: 600; }
.process-step p{ margin: 0; font-size: 12.5px; color: var(--color-muted); line-height: 1.45; }
@media (max-width: 900px){
  .process-steps{ grid-template-columns: repeat(3, 1fr); row-gap: var(--space-6); }
  .process-line-track, .process-line-fill{ display: none; }
}
@media (max-width: 480px){
  .process-steps{ grid-template-columns: repeat(2, 1fr); }
}

/* Where we operate — network fades in once, no continuous motion */
.network-reveal{ opacity: 0; transition: opacity var(--motion-slow) var(--motion-ease); }
.network-reveal.is-visible{ opacity: 1; }

/* Functional-only hover polish */
.link-arrow{ position: relative; display: inline-block; }
.link-arrow::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform var(--motion-fast) var(--motion-ease);
}
.link-arrow:hover::after{ transform: scaleX(1); transform-origin: left; }
.case-card{ transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease; }
.case-card:hover{ border-color: var(--color-accent); box-shadow: 0 10px 24px rgba(31,46,52,.08); }

/* ---------------------------------------------------------------------
   Secondary motion layer — small, restrained additions on top of the
   three signature moments (hero, how-we-work, where-we-operate).
   --------------------------------------------------------------------- */

/* Section-label rule draw-in, used only on the homepage's chapter eyebrows */
.eyebrow.reveal-rule::before{
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--motion-ease);
}
.eyebrow.reveal-rule.is-visible::before{ transform: scaleX(1); }

/* Hero: ambient ping on one or two secondary map dots (not the hub pins) */
@keyframes ambientDotBreathe{
  0%, 100% { opacity: .35; }
  50% { opacity: .85; }
}
.hero-map-panel .ambient-dot{ animation: ambientDotBreathe 8s ease-in-out infinite; }

/* Hero scroll parallax — small, capped, desktop only (see motion.js) */
.hero-grid > .stagger-group, .hero-map-panel{ will-change: transform; }

/* What We Study — count resolves, then each family group fades up together (not item-by-item) */
.study-count-num{
  opacity: 0; transform: scale(.94);
  transition: opacity 800ms var(--motion-ease), transform 800ms var(--motion-ease);
}
.study-count-num.is-visible{ opacity: 1; transform: scale(1); }
.study-families.stagger-reveal .study-family{
  opacity: 0; transform: translateY(7px);
  transition: opacity 500ms var(--motion-ease), transform 500ms var(--motion-ease);
  transition-delay: calc(var(--stagger-i, 0) * 90ms);
}
.study-families.stagger-reveal.is-visible .study-family{ opacity: 1; transform: translateY(0); }

/* Selected Work — artwork responds on hover, card itself stays put */
.case-card-has-visual{ transition: box-shadow var(--motion-fast) ease; }
.case-card-has-visual:hover{ transform: none; }
.case-card-visual svg{ transition: transform .35s var(--motion-ease); }
.case-card-has-visual:hover .case-card-visual svg{ transform: scale(1.015); }

/* Where We Operate — region-row hover dims/brightens the map (see motion.js) */
.region-row{ transition: padding-left .15s ease; }
#home-region-map .country-layer path,
#home-region-map .map-arc,
#home-region-map .map-dot{ transition: opacity .3s ease; }

@media (max-width: 700px){
  .study-families.stagger-reveal .study-family{ transition-delay: 0ms !important; }
}
@media (prefers-reduced-motion: reduce){
  .eyebrow.reveal-rule::before{ transition-duration: .01ms !important; transform: scaleX(1) !important; }
  .study-count-num{ opacity: 1 !important; transform: none !important; }
  .study-families.stagger-reveal .study-family{ opacity: 1 !important; transform: none !important; transition-delay: 0ms !important; }
  .hero-map-panel .ambient-dot{ animation: none !important; }
  .case-card-has-visual:hover .case-card-visual svg{ transform: none !important; }
}

/* ---------------------------------------------------------------------
   Standalone "What We Study" directory page — more spread out than the
   compact homepage teaser: bigger count, wider columns, larger tiles.
   --------------------------------------------------------------------- */
.theme-directory-page .study-directory{ grid-template-columns: 1fr; gap: var(--space-6); padding: var(--space-4) 0; }
.theme-directory-page .study-count-num{ font-size: 72px; }
.theme-directory-page .study-count-label{ margin-top: var(--space-2); }
