/* =====================================================================
   Dr. Rohit Singh – Portfolio styles
   Headings: Fraunces · Body: Manrope
   Palette follows Dental Comfort Zone (blue #2980af, green #3ca573)
   ===================================================================== */
:root {
  --ink: #0b1f33;
  --ink-2: #13304d;
  --text: #33465a;
  --muted: #5d6f82;
  --line: #e2e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-tint: #eaf3f9;
  --primary: #1f6e9e;
  --primary-2: #2980af;
  --accent: #2f9466;
  --accent-soft: #e6f4ec;
  --gold: #b8892f;
  --gold-soft: #f7efdc;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 51, 0.06);
  --shadow: 0 18px 40px -18px rgba(11, 31, 51, 0.22);
  --shadow-lg: 0 40px 80px -30px rgba(11, 31, 51, 0.35);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1760px;
  --header-h: 90px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(41, 128, 175, 0.55); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.4rem); line-height: 1.3; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
.accent-italic { font-style: italic; color: var(--primary); font-weight: 500; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: radial-gradient(1200px 500px at 85% -10%, rgba(41,128,175,0.35), transparent 60%), var(--ink); color: #c9d6e3; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .accent-italic { color: #8fc7e6; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 9999; }
.skip-link:focus { left: 12px; color: #fff; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: #8fc7e6; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #a9bccf; }
.section-foot { margin-top: 44px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn i { font-size: 0.95em; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 12px 24px -12px rgba(31,110,158,0.7); }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(11,31,51,0.6); }
.btn-outline { border-color: rgba(11,31,51,0.18); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn-whatsapp { background: #1f8f55; color: #fff; }
.btn-whatsapp:hover { background: #17723f; color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; transform: translateY(-2px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--primary); }
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255,255,255,0.94); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(226, 233, 240, 0.9);
  box-shadow: 0 10px 30px -24px rgba(11, 31, 51, 0.45);
}
.site-header.scrolled { box-shadow: 0 12px 28px -18px rgba(11, 31, 51, 0.28); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.02em;
}
.site-header .brand-mark {
  width: 54px; height: 54px; border-radius: 16px; font-size: 1.25rem;
  box-shadow: 0 10px 18px -12px rgba(31, 110, 158, 0.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.site-header .brand-name {
  font-size: 1.65rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.brand-sub { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.site-header .brand-sub { margin-top: 5px; font-size: 0.78rem; letter-spacing: 0.11em; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav a:hover { background: var(--bg-soft); color: var(--primary); }
.nav a.active { color: #fff; background: var(--primary); box-shadow: 0 8px 16px -10px rgba(31, 110, 158, 0.9); }
.header-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.header-cta .btn { min-height: 48px; padding: 0 22px; font-size: 1.02rem; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.header-phone i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--primary); font-size: 0.9rem; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1.15rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: visible; padding: clamp(48px, 7vw, 92px) 0 clamp(96px, 10vw, 140px);
  background:
    radial-gradient(900px 520px at 100% 0%, rgba(41,128,175,0.13), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(47,148,102,0.10), transparent 60%),
    linear-gradient(180deg, #f7fafc, #fff);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent-italic { display: block; font-size: 0.62em; margin-top: 10px; line-height: 1.2; }
.hero-designation { font-size: 1.0625rem; font-weight: 700; color: var(--ink-2); margin-bottom: 16px; }
.hero-lead { font-size: 1.1875rem; color: var(--text); max-width: 580px; margin-bottom: 26px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.chip i { color: var(--accent); font-size: 0.85rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-portrait {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #dcebf5, #f1f7fb); box-shadow: var(--shadow-lg);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-ring { position: absolute; top: -22px; right: -22px; width: 150px; height: 150px; border-radius: 50%; border: 1.5px dashed rgba(31,110,158,0.4); z-index: -1; }
.years-badge {
  position: absolute; left: -54px; bottom: 42px; z-index: 3;
  background: linear-gradient(155deg, #0c2238 0%, #16486c 100%);
  border-radius: 26px; padding: 12px 18px 12px 12px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(241, 207, 134, 0.55);
  box-shadow: 0 22px 46px -18px rgba(11, 31, 51, 0.7), 0 0 0 6px rgba(241, 207, 134, 0.16);
  animation: years-glow 2.8s ease-in-out infinite;
}
.years-badge .num {
  font-family: var(--font-head); font-size: 2.65rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em;
  color: #3a2808; min-width: 96px; height: 96px; display: grid; place-items: center; border-radius: 20px;
  background: radial-gradient(circle at 32% 28%, #fff6dc, #f0c56a 42%, #c4922e 78%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 10px 18px -10px rgba(184, 137, 47, 0.95);
}
.years-badge .lbl { font-size: 0.92rem; font-weight: 800; line-height: 1.25; color: #f4f7fb; max-width: 118px; }
.years-badge .lbl::before {
  content: "Experience"; display: block; margin-bottom: 4px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #f1cf86;
}
@keyframes years-glow {
  0%, 100% { box-shadow: 0 22px 46px -18px rgba(11, 31, 51, 0.7), 0 0 0 6px rgba(241, 207, 134, 0.16); }
  50% { box-shadow: 0 26px 50px -16px rgba(11, 31, 51, 0.78), 0 0 0 10px rgba(241, 207, 134, 0.05); }
}
.fellow-badge {
  position: absolute; right: -26px; top: 76px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 700;
}
.fellow-badge i { color: #f1cf86; font-size: 1.1rem; }

/* ---------- Stats band ---------- */
.stats-band { position: relative; z-index: 2; margin-top: -64px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.stat { padding: 32px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 26%; height: 48%; width: 1px; background: var(--line); }
.stat .num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.25rem); font-weight: 600; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stat:first-child {
  background: linear-gradient(180deg, #fff8ea 0%, #fff 72%);
}
.stat:first-child .num {
  color: #8a6416;
  font-size: clamp(2.8rem, 4.6vw, 3.7rem);
}
.stat .lbl { margin-top: 10px; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.stat:first-child .lbl { color: var(--ink-2); font-weight: 800; }

/* ---------- Split / about intro ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.media-frame { position: relative; z-index: 0; }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow); }
.media-frame.wide img { aspect-ratio: 3 / 2; }
.media-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--bg-tint), var(--accent-soft)); z-index: -1; }
.media-caption { position: absolute; left: 20px; bottom: 20px; background: rgba(11,31,51,0.84); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 0.875rem; font-weight: 600; }
.prose p { font-size: 1.09rem; }
.prose p.lead { font-size: 1.22rem; color: var(--ink-2); line-height: 1.65; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.check-list i { color: var(--accent); margin-top: 4px; font-size: 0.9rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin: 20px 0 10px; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--bg-tint); color: var(--primary); transition: background 0.4s, color 0.4s;
}
.card:hover .icon-tile { background: var(--primary); color: #fff; }
.card .card-index { position: absolute; top: 26px; right: 26px; font-family: var(--font-head); font-size: 0.95rem; color: #9fb0c1; font-weight: 600; }

/* Achievement cards */
.ach-card { padding: 32px 30px; overflow: hidden; }
.ach-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), #e3c06f); transform: scaleX(0.18); transform-origin: left; transition: transform 0.5s var(--ease); }
.ach-card:hover::after { transform: scaleX(1); }
.ach-card .icon-tile { background: var(--gold-soft); color: var(--gold); }
.ach-card:hover .icon-tile { background: var(--gold); color: #fff; }
.tag { display: inline-block; margin-top: 20px; padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--gold-soft); color: #7d5a1a; }
.ach-card h3 { margin-top: 12px; }
.section--dark .ach-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); }
.section--dark .ach-card:hover { background: rgba(255,255,255,0.07); }
.section--dark .ach-card p { color: #a9bccf; }
.section--dark .ach-card .tag { background: rgba(241,207,134,0.14); color: #f1cf86; }
.section--dark .ach-card .icon-tile { background: rgba(241,207,134,0.14); color: #f1cf86; }
.section--dark .ach-card:hover .icon-tile { background: #f1cf86; color: var(--ink); }

/* Credentials (qualifications) */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cred {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cred:hover { border-color: rgba(31,110,158,0.35); box-shadow: var(--shadow-sm); }
.cred i { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.cred strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.cred span { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.4; }

/* Technique pills */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 980px; margin-inline: auto; }
.pill { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink-2); font-size: 0.98rem; box-shadow: var(--shadow-sm); }
.pill i { color: var(--accent); margin-right: 8px; }

/* Highlight banner */
.highlight-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 34px 40px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ink), var(--ink-2) 55%, #1b4b6e); color: #d3dfeb; box-shadow: var(--shadow);
}
.highlight-banner .medal { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 1.9rem; color: var(--ink); background: radial-gradient(circle at 30% 30%, #f6dfa6, #c99a3e); box-shadow: 0 10px 24px -10px rgba(201,154,62,0.8); }
.highlight-banner h3 { color: #fff; margin: 0 0 4px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.highlight-banner p { margin: 0; color: #b5c6d6; }

/* Recognition strip */
.recog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.recog { padding: 26px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.recog .num { font-family: var(--font-head); color: #f1cf86; font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.recog .lbl { margin-top: 8px; color: #c9d6e3; font-size: 0.97rem; font-weight: 600; line-height: 1.45; }
.light .recog { background: #fff; border-color: var(--line); }
.light .recog .num { color: var(--gold); }
.light .recog .lbl { color: var(--ink-2); }

/* Timeline */
.timeline { position: relative; max-width: 960px; margin: 0 auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--primary), var(--accent)); opacity: 0.35; }
.tl-item { position: relative; width: 50%; padding: 0 48px 44px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 44px 48px; }
.tl-item::before { content: ""; position: absolute; top: 22px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--primary); box-shadow: 0 0 0 6px rgba(31,110,158,0.12); z-index: 1; }
.tl-item:nth-child(even)::before { right: auto; left: -9px; border-color: var(--accent); box-shadow: 0 0 0 6px rgba(47,148,102,0.12); }
.tl-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.tl-when { display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.tl-item:nth-child(even) .tl-when { color: var(--accent); }
.tl-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.tl-card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.t-card {
  margin: 0; display: grid; grid-template-columns: 168px 1fr; min-height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.t-photo { position: relative; background: linear-gradient(160deg, #d7e8f4, #e7f4ec); min-height: 220px; }
.t-photo img, .t-fallback { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.t-fallback { display: grid; place-items: center; font-family: var(--font-head); font-size: 3rem; color: var(--primary); }
.t-rate {
  position: absolute; left: 12px; bottom: 12px; min-width: 72px; padding: 8px 10px 7px; text-align: center;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 24px -14px rgba(11, 31, 51, 0.55);
  border: 1px solid rgba(224, 161, 26, 0.35);
}
.t-rate strong { display: block; font-family: var(--font-head); font-size: 1.45rem; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.t-rate .stars { display: block; margin-top: 3px; color: #e0a11a; font-size: 0.68rem; letter-spacing: 1px; line-height: 1; }
.t-body { padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 16px; }
.t-body blockquote { margin: 0; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.55; font-weight: 500; color: var(--ink); }
.t-person { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.t-person h3 { margin: 0 0 10px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; }
.t-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.t-meta span {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-2); font-size: 0.82rem; font-weight: 700;
}
.t-meta i { color: var(--accent); font-size: 0.78rem; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid button { padding: 0; border: 0; background: #eef3f7; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(6,16,28,0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; width: auto; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1rem; cursor: pointer; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 72px; }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); margin: 0; color: #fff; font-weight: 700; font-size: 0.9rem; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(800px 400px at 90% 0%, rgba(41,128,175,0.14), transparent 60%), linear-gradient(180deg, #f5f9fc, #fff); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs i { font-size: 0.65rem; margin: 0 8px; opacity: 0.6; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 860px; }
.page-hero p { font-size: 1.1875rem; max-width: 700px; color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-row:last-child { border-bottom: 0; padding-bottom: 0; }
.info-row > i { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--primary); }
.info-row h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.info-row p, .info-row a { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.55; }
.info-row a:hover { color: var(--primary); }
.info-body { flex: 1; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; }
.map-wrap { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { display: block; border: 0; width: 100%; height: 340px; }
.socials { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--primary); transition: background 0.3s, color 0.3s, transform 0.3s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* Form */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary-2); background: #fff; box-shadow: 0 0 0 4px rgba(41,128,175,0.14); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 14px 0 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 68px); color: #d3dfeb;
  background: radial-gradient(600px 300px at 100% 0%, rgba(47,148,102,0.35), transparent 60%), linear-gradient(120deg, var(--ink), #154369);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.cta-band p { margin: 0; font-size: 1.125rem; color: #b9cadb; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.site-footer { background: #081827; color: #9fb2c6; padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 40px; padding-bottom: 52px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; margin-bottom: 18px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8aa0b6; }
.site-footer p { font-size: 0.98rem; margin-top: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #c4d2e0; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.footer-contact i { color: #7fc3a2; margin-top: 5px; width: 16px; flex: none; }
.site-footer .socials a { background: rgba(255,255,255,0.07); color: #fff; }
.site-footer .socials a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 0.9rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Floating actions */
.float-actions { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-actions a, .float-actions button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; font-size: 1.4rem; color: #fff; box-shadow: var(--shadow); transition: transform 0.3s var(--ease), opacity 0.3s; }
.float-actions .fab-wa { background: #1f8f55; }
.float-actions .to-top { background: var(--ink); font-size: 1rem; opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-actions .to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.float-actions a:hover, .float-actions button:hover { transform: translateY(-3px); color: #fff; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6,16,28,0.6); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal .form-card { width: min(640px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateY(16px); transition: transform 0.35s var(--ease); position: relative; }
.modal.open .form-card { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); font-size: 1.05rem; }
.modal .form-card h2 { padding-right: 44px; }
body.modal-open { overflow: hidden; }

/* Reveal motion */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s !important; } .reveal-d2 { transition-delay: 0.16s !important; } .reveal-d3 { transition-delay: 0.24s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  :root { --header-h: 78px; }
  .site-header .brand-mark { width: 46px; height: 46px; font-size: 1.1rem; }
  .site-header .brand-name { font-size: 1.35rem; }
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.3s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; width: min(380px, 80%); }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow::before { display: none; }
  .hero-lead { margin-inline: auto; }
  .chip-row, .hero-actions { justify-content: center; }
  .years-badge { left: -28px; }
  .fellow-badge { right: -18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .card-grid.cols-3, .cred-grid, .recog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .media-frame { max-width: 520px; margin-inline: auto; width: calc(100% - 24px); }
  .cta-band { grid-template-columns: 1fr; }
  .highlight-banner { grid-template-columns: auto 1fr; }
  .highlight-banner .btn { grid-column: 1 / -1; justify-self: start; }
  .timeline::before { left: 9px; transform: none; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 28px 44px; }
  .tl-item::before, .tl-item:nth-child(even)::before { left: 0; right: auto; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(var(--container), 100% - 36px); }
  .brand-sub { display: none; }
  .header-cta .btn-label { display: none; }
  .header-cta .btn { width: 46px; padding: 0; }
  .card-grid.cols-4, .card-grid.cols-3, .card-grid.cols-2, .cred-grid, .quote-grid, .footer-grid { grid-template-columns: 1fr; }
  .recog-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .recog { padding: 20px 16px; }
  .stat { padding: 24px 12px; }
  .stat .lbl { font-size: 0.85rem; }
  .check-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .years-badge { left: 8px; bottom: 16px; padding: 8px 12px 8px 8px; gap: 10px; animation: none; }
  .years-badge .num { font-size: 1.7rem; min-width: 64px; height: 64px; border-radius: 14px; }
  .years-badge .lbl { font-size: 0.75rem; max-width: 96px; }
  .fellow-badge { right: -10px; top: 30px; font-size: 0.75rem; padding: 10px 12px; }
  .hero-actions .btn { width: 100%; }
  .highlight-banner { grid-template-columns: 1fr; padding: 28px; }
  .quote-grid { grid-template-columns: 1fr; }
  .t-card { grid-template-columns: 1fr; }
  .t-photo { height: 240px; min-height: 0; }
  .card { padding: 26px 22px; }
  .info-card { padding: 26px 22px; }
  .hours-row { flex-direction: column; gap: 0; }
  .float-actions { right: 14px; bottom: 14px; }
  .float-actions a, .float-actions button { width: 50px; height: 50px; }
}

/* ---------- Complex cases ---------- */
.section--casebg {
  background:
    radial-gradient(720px 280px at 88% 0%, rgba(41, 128, 175, 0.14), transparent 62%),
    radial-gradient(520px 240px at 8% 18%, rgba(47, 148, 102, 0.08), transparent 58%),
    linear-gradient(180deg, #f6fbfe 0%, #fff 42%);
}
.case-show-head { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.case-show-head h2 { margin-bottom: 10px; }
.case-show-head p { margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.case-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--primary);
  border: 1px solid #d7e8f4; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 8px 20px -16px rgba(31, 110, 158, 0.8);
}
.case-note { margin-top: 8px !important; font-size: 0.88rem !important; }
.case-pills {
  display: flex; flex-wrap: nowrap; gap: 8px;
  padding: 8px; margin: 0 0 18px;
  background: #fff; border: 1px solid #e3eef6; border-radius: 22px;
  box-shadow: 0 16px 40px -28px rgba(31, 110, 158, 0.55);
}
.case-pill {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 84px; padding: 10px 6px;
  border: 0; border-radius: 16px; background: transparent; color: var(--ink);
  font-weight: 800; font-size: 0.74rem; line-height: 1.2; text-align: center; cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.case-pill i, .case-pill .case-num {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: #e8f3fb; color: var(--primary); font-size: 0.9rem; font-style: normal;
}
.case-pill .case-num { font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.case-pill span { display: block; }
.case-pill:hover { background: #f3f8fc; color: var(--primary); }
.case-pill.is-active { background: var(--primary); color: #fff; }
.case-pill.is-active i, .case-pill.is-active .case-num { background: rgba(255,255,255,0.18); color: #fff; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  background: #fff; border: 1px solid #e3eef6; border-radius: 26px; overflow: hidden;
  box-shadow: 0 22px 50px -32px rgba(31, 110, 158, 0.55);
}
.feature-media {
  display: grid; grid-template-columns: 1.55fr 0.62fr; gap: 8px;
  padding: 12px; align-content: center;
  background: linear-gradient(180deg, #f4f9fd, #fff);
}
.feature-hero-wrap { position: relative; height: 292px; }
.feature-hero, .feature-side {
  display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #d7e6f1;
}
.feature-hero img, .feature-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.feature-hero:hover img, .feature-side:hover img { transform: scale(1.05); }
.feature-stack { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; height: 292px; }
.feature-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,0.94); color: var(--primary); font-size: 1.15rem;
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.22);
}
.feature-play i { margin-left: 3px; }
.feature-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.feature-copy {
  padding: 20px 24px 20px 18px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px;
}
.feature-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: #e8f3fb; color: var(--primary);
  font-size: 0.82rem; font-weight: 800;
}
.feature-badge i, .feature-badge .case-num { color: var(--primary); }
.feature-kicker {
  margin: 0; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.feature-copy h3 { margin: 0; font-size: clamp(1.6rem, 2vw, 2rem); line-height: 1.1; }
.feature-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.feature-facts span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: 999px; background: var(--bg-soft);
  color: var(--ink-2); font-size: 0.86rem; font-weight: 700;
}
.feature-facts i { color: var(--primary); }
.feature-about {
  margin: 0; color: var(--text); font-size: 0.98rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.feature-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.feature-points li { display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; font-weight: 700; color: var(--ink-2); }
.feature-points i { color: var(--accent); margin-top: 3px; }
.feature-watch { margin-top: 2px; }
.case-more {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px; margin-top: 16px;
}
.mini {
  background: #fff; border: 1px solid #e4eef6; border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 30px -24px rgba(31, 110, 158, 0.8);
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mini:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -22px rgba(31, 110, 158, 0.55); }
.mini-photo { position: relative; height: 132px; background: #d7e6f1; }
.mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.mini-photo span {
  position: absolute; left: 10px; top: 10px;
  padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--primary);
  font-size: 0.7rem; font-weight: 800;
}
.mini-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mini-body h3 { margin: 0; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.mini-body h3 em { font-style: normal; font-size: 0.75rem; color: var(--muted); font-weight: 700; white-space: nowrap; }
.mini-body p {
  margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-go {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #d5e4f0; background: #fff; color: var(--primary);
  border-radius: 999px; padding: 7px 12px; font-weight: 800; font-size: 0.82rem; cursor: pointer;
}
.mini-go:hover { background: var(--primary); color: #fff; }
.case-video {
  position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 20px;
  background: rgba(8, 18, 30, 0.74); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.case-video.open { opacity: 1; visibility: visible; }
.case-video-panel {
  width: min(920px, 100%); background: #0b1f33; color: #fff; border-radius: 22px; padding: 18px;
  position: relative; box-shadow: var(--shadow-lg);
}
.case-video-title { margin: 0 48px 12px 6px; font-weight: 700; }
.case-video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; }
.case-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.case-video-missing { margin: 0; padding: 28px 16px; text-align: center; }
.case-video-close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; cursor: pointer;
}
@media (max-width: 1280px) {
  .case-pills { flex-wrap: wrap; }
  .case-pill { flex: 1 1 148px; }
  .case-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-copy { padding: 8px 16px 18px; }
  .feature-hero-wrap, .feature-stack { height: 220px; }
  .case-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .case-pill { flex: 1 1 calc(33.33% - 8px); min-height: 74px; font-size: 0.7rem; }
  .case-more { grid-template-columns: 1fr; }
  .feature-watch { width: 100%; justify-content: center; }
  .case-video { padding: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
