@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
:root {
  color-scheme: light;
  --bg: #f7fbff;
  --surface: #ffffff;
  --inset: #eaf5ff;
  --border: #c9deed;
  --ink: #15354a;
  --muted: #49657a;
  --accent: #0863a8;
  --accent-hover: #064c83;
  --font: 'Inter', sans-serif;
  --display: 'Space Grotesk', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1280px; margin: auto; padding: 24px 32px 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 5px; background: var(--accent); color: white; font: 700 28px var(--display); }
.brand-icon span { color: #d2ecff; }
.brand strong { display: block; font: 700 21px var(--display); letter-spacing: -.5px; }
.brand small, .eyebrow, .phone, .hero-meta, .small { font-family: var(--mono); }
.brand small { display: block; font-size: 10px; color: var(--accent); letter-spacing: .8px; text-transform: uppercase; }
.phone { color: var(--muted); font-size: 12px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 6px; }
nav { display: flex; gap: 4px; max-width: 1280px; padding: 0 32px 16px; margin: auto; overflow-x: auto; }
nav a { color: var(--muted); padding: 10px 17px; border-radius: 5px; min-height: 44px; font-size: 13px; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--accent); background: var(--inset); }
nav a[aria-current] { font-weight: 600; }
main { max-width: 1280px; padding: 42px 32px 32px; margin: auto; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; padding: 48px; background: var(--inset); border-radius: 8px; }
.hero-copy { min-width: 0; }
.eyebrow { color: var(--accent); font-size: 11px; line-height: 1.65; text-transform: uppercase; letter-spacing: 1.3px; }
.pill { display: inline-block; padding: 0; background: transparent; border: 0; border-radius: 0; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.22; }
h1 { font-size: clamp(38px, 4.5vw, 64px); letter-spacing: -2.2px; margin: 22px 0; }
.hero-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(44px, 5.1vw, 72px); line-height: 1.06; letter-spacing: -2.4px; }
h1 span { color: var(--accent); }
.hero-copy > p { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.hero-copy > p:first-of-type { color: var(--ink); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--accent); border-radius: 6px; background: var(--surface); color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .18s, border-color .18s; }
.button:hover { background: var(--inset); border-color: var(--accent-hover); }
.button.primary, .primary { background: var(--accent); border-color: var(--accent); color: white; }
.button.primary:hover, .primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.hero-meta { color: var(--muted); font-size: 11px; line-height: 1.8; }
.hero-photo { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.portrait { display: block; width: 100%; height: 440px; object-fit: cover; object-position: center; }
.photo-caption { position: static; padding: 16px 20px; border-top: 1px solid var(--border); color: var(--ink); background: var(--surface); font: 500 15px/1.6 var(--display); }
.section { margin-top: 64px; }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.section-label h2 { font-size: clamp(25px, 2.6vw, 34px); margin: 0; letter-spacing: -.8px; }
.line { width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: #8bb6d4; }
.card-body { padding: 28px; }
.card h3 { margin: 0 0 14px; font-size: 21px; line-height: 1.35; letter-spacing: -.4px; }
.card p, .prose p { font-size: 15px; color: var(--muted); line-height: 1.85; margin: 0 0 18px; }
.card-body > div { font-size: 15px; color: var(--muted); }
.card-image { display: block; width: 100%; height: 210px; object-fit: cover; }
.text-link { display: inline-block; color: var(--accent); font-size: 14px; padding: 9px 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent-hover); }
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-poster { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: var(--inset); overflow: hidden; cursor: pointer; }
.video-poster > img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: white; padding-left: 3px; font-size: 18px; box-shadow: 0 3px 18px #15354a33; }
.watch { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 4px; background: #15354a; color: white; font: 11px var(--mono); }
.video-frame { display: block; width: 100%; aspect-ratio: 16/9; border: 0; background: var(--inset); }
.video-fallback { margin: 0 28px; font-size: 12px; }
.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-heading { padding: 22px 0 20px; border-bottom: 1px solid var(--border); }
.page-heading h1 { margin-top: 14px; font-size: clamp(36px, 4vw, 56px); }
.prose { max-width: 900px; }
.prose h3 { margin: 28px 0 10px; font-size: 22px; line-height: 1.5; }
.prose img { width: 100%; height: auto; max-height: 550px; object-fit: contain; border-radius: 6px; }
.article { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
.small { color: var(--muted); font-size: 11px; line-height: 1.8; }
.archive-note { padding: 18px 20px; border: 1px solid var(--border); border-radius: 6px; background: var(--inset); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--inset); }
.contact-grid h3 { margin-top: 0; font-size: 26px; }
.contact-grid p { color: var(--muted); font-size: 15px; }
form { display: grid; gap: 9px; }
label { margin-top: 12px; color: var(--muted); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .8px; }
input, textarea { width: 100%; padding: 13px; border: 1px solid #9cbcd2; border-radius: 5px; background: var(--surface); color: var(--ink); font-size: 16px; }
form .button { justify-self: start; margin-top: 12px; }
.contact-details { padding-top: 25px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-item { padding: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; }
.gallery-item img { height: 240px; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.025); }
.curated-photo-figure figcaption { padding: 14px 18px; background: var(--surface); text-align: left; }
.curated-photo-figure figcaption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.social-list { display: flex; gap: 16px; flex-wrap: wrap; }
footer { display: flex; justify-content: space-between; max-width: 1216px; margin: 72px auto 0; padding: 30px 0 45px; border-top: 1px solid var(--border); gap: 30px; color: var(--muted); font-size: 13px; }
footer strong { color: var(--ink); font-family: var(--display); }
footer > div:last-child { display: flex; flex-direction: column; gap: 15px; }
.skip { position: absolute; left: 20px; top: -90px; z-index: 100; padding: 15px; border-radius: 5px; background: var(--accent); color: white; }
.skip:focus { top: 15px; }
dialog { padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); max-width: 94vw; max-height: 94vh; }
dialog::backdrop { background: #15354ac9; }
dialog img { display: block; max-height: 86vh; max-width: 90vw; object-fit: contain; }
dialog button { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 24px; cursor: pointer; }
.section-intro { max-width: 850px; color: var(--muted); font-size: 16px; line-height: 1.85; margin: -4px 0 28px; }
.expertise-grid .card-body, .research-grid .card-body { height: 100%; display: flex; flex-direction: column; gap: 8px; }
.expertise-grid h3, .research-grid h3 { margin: 4px 0 8px; }
.research-grid .text-link { margin-top: auto; align-self: flex-start; }
.research-note { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 20px 0 0; }
.research-note .text-link { padding: 3px 0; font-size: 13px; }
@media (max-width: 1000px) {
  .hero { padding: 32px; gap: 30px; }
  .hero-copy h1 { font-size: clamp(40px, 5.8vw, 58px); }
  .cards, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait { height: 380px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer { margin-left: 32px; margin-right: 32px; }
}
@media (max-width: 650px) {
  .header-inner { padding: 18px 20px; }
  .phone { display: none; }
  .brand strong { font-size: 19px; }
  .brand small { font-size: 9px; }
  nav { padding: 0 12px 14px; }
  nav a { padding: 10px 13px; }
  main { padding: 20px 18px; }
  .hero { grid-template-columns: 1fr; padding: 26px 24px; gap: 28px; }
  .hero-copy h1 { font-size: clamp(38px, 10.2vw, 54px); letter-spacing: -1.4px; }
  .hero-copy > p, .hero-copy > p:first-of-type { font-size: 16px; }
  .hero-photo { order: -1; }
  .portrait { height: 240px; object-position: center 36%; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-meta { font-size: 10px; }
  .cards, .video-grid, .content-grid { grid-template-columns: 1fr; }
  .section { margin-top: 44px; }
  .card-body { padding: 24px; }
  .page-heading h1 { font-size: 38px; letter-spacing: -1.2px; }
  .contact-grid { grid-template-columns: 1fr; gap: 25px; padding: 25px; }
  .gallery { gap: 12px; }
  .gallery-item img { height: 160px; }
  footer { flex-direction: column; margin: 45px 20px 0; }
  .article { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
