/* =========================================================
   UVA Link Lab — research center prototype
   Design system: UVA brand (Jefferson Blue + Cavalier Orange)
   - UVA blue immersive bands, orange accent chips
   - Near-black ink for primary CTAs and headings
   - Large display + tight tracking + light weights
   - Sparse cards, dense list rows
   - Hairline rules and trust-mark strips
   ========================================================= */

:root {
  /* ============ COLORS ============ */
  /* StickyNote brand palette (Digital Trails) */
  --dt-navy:   #001029;       /* Deep Current Navy — primary brand */
  --dt-blue:   #1555e0;       /* Digital Current Blue — links / info */
  --dt-cyan:   #9df5fb;       /* Data Glow Cyan — subtle accent */
  --dt-orange: #ffa733;       /* Momentum Orange — main accent / CTA */
  --dt-violet: #9985ff;       /* Quantum Violet — tertiary accent */
  --dt-white:  #f2f6f7;       /* Soft Grid White — background panels */

  /* Brand aliases (kept for backwards-compat with existing class names) */
  --uva-blue:        var(--dt-navy);
  --uva-blue-soft:   #1a2b4a;  /* slightly lighter navy for hover/soft surfaces */
  --uva-blue-deep:   #000817;  /* pressed / deepest navy */
  --uva-orange:      var(--dt-orange);
  --uva-orange-soft: #ffe4c2;  /* soft chip background — orange tint */
  --uva-orange-deep: #cc7a14;  /* pressed orange */

  /* Primary ink */
  --ink: #17171c;          /* near-black, primary CTA, headings */
  --ink-deep: #000000;
  --ink-soft: #2a2a30;

  /* Immersive product bands — Deep Current Navy */
  --immersive-green: var(--dt-navy);
  --immersive-navy:  var(--dt-navy);

  /* Accent */
  --coral:       var(--dt-orange);
  --coral-soft:  var(--uva-orange-soft);
  --action-blue: var(--dt-blue);    /* Digital Current Blue for links / actions */

  /* Text */
  --text-primary: #17171c;
  --text-secondary: #4a4a52;
  --text-muted: #6e6e76;
  --text-subtle: #9a9aa3;

  /* Surface */
  --canvas: #ffffff;
  --white:  #ffffff;
  --stone-soft:   var(--dt-white);  /* Soft Grid White — section backgrounds */
  --stone:        #e4ecef;          /* slightly stronger gray-blue surface */
  --stone-strong: #d3dde1;

  /* Border */
  --hairline:        #e1e8eb;
  --hairline-strong: #c4d0d5;

  /* Geometric variant — derived tints for blobs and tinted backgrounds */
  --tint-cyan:   rgba(157, 245, 251, 0.4);
  --tint-violet: rgba(153, 133, 255, 0.18);
  --tint-orange: rgba(255, 167, 51, 0.25);
  --tint-blue:   rgba(21, 85, 224, 0.12);

  /* Inverted (for dark bands) */
  --on-dark: rgba(255,255,255,.92);
  --on-dark-soft: rgba(255,255,255,.7);
  --on-dark-muted: rgba(255,255,255,.55);
  --on-dark-line: rgba(255,255,255,.12);

  /* Warn (proto banner) */
  --warn-bg: #fef3c7;
  --warn-border: #fcd34d;
  --warn-ink: #78350f;

  /* ============ SPACING (4px grid) ============ */
  --s-xxs: 2px; --s-xs: 4px; --s-sm: 8px; --s-md: 12px;
  --s-base: 16px; --s-lg: 24px; --s-xl: 32px; --s-xxl: 48px;
  --s-section: 64px; --s-huge: 96px; --s-mega: 128px;

  /* ============ RADIUS ============ */
  --r-xs: 4px; --r-sm: 8px; --r-md: 12px;
  --r-lg: 16px; --r-xl: 22px; --r-full: 9999px;

  /* ============ LAYOUT ============ */
  --max: 1280px;
  --max-prose: 720px;
  --nav-h: 72px;

  /* ============ TYPE ============ */
  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* ============ RESET ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01", "cv11";
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-xxl); }
.container-narrow { max-width: 1080px; margin: 0 auto; padding: 0 var(--s-xxl); }
.prose { max-width: var(--max-prose); margin: 0 auto; }

/* ============ PROTO BANNER ============ */
.proto-banner {
  background: var(--warn-bg);
  color: var(--warn-ink);
  padding: var(--s-sm) var(--s-xxl);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid var(--warn-border);
  position: relative;
}
.proto-banner strong { font-weight: 700; }
.proto-banner .close {
  position: absolute; right: var(--s-base); top: 50%;
  transform: translateY(-50%); font-size: 18px;
  color: var(--warn-ink); opacity: .55; padding: 0 var(--s-sm);
}
.proto-banner .close:hover { opacity: 1; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hairline);
  height: var(--nav-h);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 var(--s-xxl);
  max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: var(--s-md); }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--uva-blue);
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  color: #fff; font-weight: 600; font-size: 11px;
  letter-spacing: .5px; font-family: var(--font-display);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 600; font-size: 14.5px;
  color: var(--ink); letter-spacing: -.2px;
}
.brand-sub {
  font-size: 11px; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0;
}

.nav-links { display: flex; gap: var(--s-xl); align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px; font-weight: 500;
  transition: color .15s ease;
  padding: var(--s-xs) 0;
  position: relative;
  letter-spacing: -.1px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
}
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute;
  bottom: -25px; left: 0; right: 0;
  height: 2px; background: var(--uva-orange);
}
.nav-cta {
  background: var(--uva-blue) !important;
  color: #fff !important;
  padding: 9px var(--s-base) !important;
  border-radius: var(--r-sm);
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: -.1px;
  transition: background .15s ease;
}
.nav-cta:hover { background: var(--uva-blue-deep) !important; }
.nav-cta::after { display: none !important; }
.menu-toggle { display: none; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  font-feature-settings: "ss01";
}

/* ============ HOME HERO ============ */
.home-hero {
  padding: var(--s-mega) 0 var(--s-huge);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.home-hero-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0 var(--s-xxl);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-sm);
  padding: 5px 12px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  color: var(--text-primary);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 500;
  margin-bottom: var(--s-xl);
  letter-spacing: -.1px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
}
.home-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: var(--s-xl);
  max-width: 18ch;
}
.home-hero p.lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 56ch;
  margin-bottom: var(--s-xl);
  line-height: 1.4;
  letter-spacing: -.2px;
}
.home-hero-actions {
  display: flex; gap: var(--s-md); flex-wrap: wrap;
}

/* ============ PAGE HERO ============ */
.page-hero {
  padding: var(--s-xxl) 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.page-hero .crumbs {
  font-size: 12px; color: var(--text-muted);
  font-weight: 500; letter-spacing: 0;
  text-transform: none;
  margin-bottom: var(--s-base);
  display: inline-flex; align-items: center; gap: var(--s-sm);
}
.page-hero .crumbs span {
  color: var(--coral); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  font-size: 11px;
}
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--s-base);
  max-width: 22ch;
}
.page-hero p.lead {
  font-size: 19px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.45;
  letter-spacing: -.15px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-sm);
  height: 44px;
  padding: 0 var(--s-lg);
  border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 500;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer; white-space: nowrap;
  letter-spacing: -.1px;
}
.btn-primary {
  background: var(--uva-blue); color: #fff;
}
.btn-primary:hover { background: var(--uva-blue-deep); }
.btn-secondary {
  background: var(--canvas); color: var(--uva-blue);
  border: 1px solid var(--uva-blue);
}
.btn-secondary:hover { background: var(--uva-blue); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ============ SECTIONS ============ */
section { padding: var(--s-huge) 0; }
section.tight { padding: var(--s-section) 0; }
section.dense { padding: var(--s-xxl) 0; }

.section-head {
  max-width: 880px; margin: 0 auto var(--s-section);
  text-align: left;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-block;
  color: var(--coral); font-size: 11px;
  font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: var(--s-base);
  max-width: 22ch;
}
.section-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 60ch;
  letter-spacing: -.1px;
}

/* ============ PROSE ============ */
.prose-block {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -.1px;
}
.prose-block p { margin-bottom: var(--s-base); }
.prose-block h2 {
  font-size: 32px; color: var(--ink);
  font-weight: 500; letter-spacing: -1px;
  margin: var(--s-xxl) 0 var(--s-base);
  line-height: 1.15;
}
.prose-block h2:first-child { margin-top: 0; }
.prose-block h3 {
  font-size: 22px; color: var(--ink);
  font-weight: 500; letter-spacing: -.5px;
  margin: var(--s-xl) 0 var(--s-md);
}
.prose-block ul, .prose-block ol {
  margin: var(--s-base) 0 var(--s-lg) var(--s-lg);
}
.prose-block li {
  margin-bottom: var(--s-sm);
  padding-left: var(--s-xs);
}
.prose-block strong { color: var(--ink); font-weight: 600; }
.prose-block a {
  color: var(--action-blue);
  text-decoration: underline;
  text-decoration-color: rgba(24,99,220,.3);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .15s ease;
}
.prose-block a:hover { text-decoration-color: var(--action-blue); }

.callout {
  margin: var(--s-lg) 0;
  padding: var(--s-lg);
  background: var(--stone-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  font-size: 16px;
  color: var(--text-secondary);
}
.callout strong { color: var(--ink); }

/* ============ CHIPS / CATEGORY TAGS ============ */
.chip {
  display: inline-flex; align-items: center;
  gap: var(--s-xs);
  padding: 5px 12px;
  background: var(--coral);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0;
}
.chip-soft {
  background: var(--coral-soft);
  color: #8a4500;
}
.chip-stone {
  background: var(--stone);
  color: var(--ink);
}

/* ============ OVERVIEW CARDS (home) ============ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-base);
}
.overview-card {
  display: block;
  background: var(--stone-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  transition: background .2s ease, border-color .2s ease;
}
.overview-card:hover {
  background: var(--stone);
  border-color: var(--hairline-strong);
}
.overview-card .step {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--s-md);
}
.overview-card h4 {
  font-size: 20px; font-weight: 500;
  color: var(--ink); margin-bottom: var(--s-sm);
  letter-spacing: -.4px;
  line-height: 1.2;
}
.overview-card p {
  color: var(--text-secondary); font-size: 14.5px;
  line-height: 1.5; margin-bottom: var(--s-md);
  letter-spacing: -.1px;
}
.overview-card .arrow {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}

/* ============ CARDS GRID (services etc) ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-base);
}
.feature-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  transition: border-color .2s ease;
}
.feature-card:hover { border-color: var(--ink); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--stone);
  display: grid; place-items: center;
  color: var(--ink);
  margin-bottom: var(--s-base);
}
.feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-size: 18px; font-weight: 500;
  color: var(--ink); margin-bottom: var(--s-sm);
  letter-spacing: -.3px;
  line-height: 1.2;
}
.feature-card p {
  color: var(--text-secondary); font-size: 14.5px;
  line-height: 1.5; letter-spacing: -.1px;
}

/* ============ PROJECTS GRID ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-xl);
}
@media (max-width: 720px) {
  .projects-grid { grid-template-columns: 1fr; gap: var(--s-lg); }
}
.project-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 460px;
}
.project-card:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (max-width: 720px) {
  .project-card { grid-template-columns: 1fr; min-height: 0; }
}

/* Template / blueprint state — visually marks placeholder cards */
.project-card.project-template {
  border-style: dashed;
  border-color: var(--hairline-strong);
  background: var(--stone-soft);
}
.project-card.project-template:hover {
  border-style: solid;
  border-color: var(--uva-blue);
  background: var(--canvas);
}
.project-card.project-template .project-content h3,
.project-card.project-template .project-content p,
.project-card.project-template .project-meta {
  color: var(--text-muted);
}
.project-card.project-template:hover .project-content h3 {
  color: var(--ink);
}
.project-card.project-template .project-thumb {
  opacity: .55;
}
.project-card.project-template:hover .project-thumb {
  opacity: 1;
}
.project-thumb {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-lg);
}
@media (max-width: 720px) {
  .project-thumb {
    aspect-ratio: 16/10;
    padding: var(--s-lg) var(--s-xxl);
  }
}
.project-thumb.t1 { background: var(--tint-cyan); }
.project-thumb.t2 { background: var(--tint-orange); }
.project-thumb.t3 { background: var(--tint-violet); }
.project-thumb.t4 { background: var(--tint-blue); }
.project-thumb img.thumb-screenshot {
  position: relative;
  inset: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow:
    0 10px 28px rgba(0, 16, 41, 0.16),
    0 2px 6px rgba(0, 16, 41, 0.08);
}
.project-thumb .placeholder-art {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.25);
  font-family: var(--font-display);
  font-size: 64px; font-weight: 500;
  letter-spacing: -2px;
}
.project-thumb.t4 .placeholder-art { color: rgba(0,0,0,.2); }
.project-content {
  padding: var(--s-lg);
  flex: 1;
  display: flex; flex-direction: column;
}
.project-content .chip {
  align-self: flex-start;
  margin-bottom: var(--s-md);
}
.project-content h3 {
  font-size: 19px; font-weight: 500;
  color: var(--ink); line-height: 1.25;
  margin-bottom: var(--s-sm); letter-spacing: -.3px;
}
.project-content p {
  color: var(--text-secondary); font-size: 14.5px;
  line-height: 1.5; letter-spacing: -.1px;
  margin-bottom: var(--s-base);
  flex: 1;
}
.project-meta {
  display: flex; gap: var(--s-base);
  font-size: 12.5px; color: var(--text-muted);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-md);
  letter-spacing: 0;
}

/* ============ PROJECT DETAIL PAGE ============ */
.project-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-xxl);
  align-items: start;
}
.project-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--s-lg));
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}
.sidebar-card {
  background: var(--stone-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-base) var(--s-lg);
}
.sidebar-card h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-xs);
}
.sidebar-card p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -.1px;
}
.sidebar-card.sidebar-cta {
  background: var(--uva-blue);
  border-color: var(--uva-blue);
}
.sidebar-card.sidebar-cta h5 { color: rgba(255,255,255,.7); }
.sidebar-card.sidebar-cta p { color: #fff; }
.sidebar-card.sidebar-cta .btn-primary {
  background: #fff;
  color: var(--uva-blue);
}
.sidebar-card.sidebar-cta .btn-primary:hover {
  background: var(--uva-orange);
  color: #fff;
}
@media (max-width: 880px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }
}

/* ============ PUBLICATIONS LIST (academic style) ============ */
.pub-list {
  border-top: 1px solid var(--hairline);
}
.pub-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--s-lg);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
  transition: background .15s ease;
}
.pub-row:hover { background: var(--stone-soft); padding-left: var(--s-base); padding-right: var(--s-base); }
.pub-year {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  padding-top: 3px;
}
.pub-body h4 {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.3px;
  line-height: 1.3;
  margin-bottom: var(--s-xs);
}
.pub-authors {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--s-xs);
  letter-spacing: -.05px;
}
.pub-venue {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0;
}
.pub-tags {
  display: flex; gap: var(--s-xs); flex-wrap: wrap;
  align-items: center;
  padding-top: 3px;
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-xl);
}
.person-card { text-align: left; }
.person-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--immersive-green);
  display: grid; place-items: center;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  margin-bottom: var(--s-base);
  overflow: hidden;
}
.person-card.alt-1 .person-avatar { background: var(--immersive-navy); }
.person-card.alt-2 .person-avatar { background: var(--uva-blue-soft); }
.person-card.alt-3 .person-avatar { background: var(--stone-strong); color: var(--ink); }
.person-card h4 {
  font-size: 18px; font-weight: 500;
  color: var(--ink); margin-bottom: 2px;
  letter-spacing: -.3px;
}
.person-role {
  font-size: 13.5px; color: var(--text-muted);
  font-weight: 500; margin-bottom: var(--s-sm);
}
.person-bio {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.5; letter-spacing: -.1px;
}

/* ============ DEVICES ============ */
.devices-list {
  display: flex; flex-wrap: wrap;
  gap: var(--s-sm);
  margin: var(--s-lg) 0;
}
.device-pill {
  display: inline-flex; align-items: center;
  gap: var(--s-sm);
  padding: var(--s-sm) 14px;
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-full);
  font-size: 13.5px; color: var(--ink);
  font-weight: 500; letter-spacing: -.1px;
}
.device-pill svg { width: 14px; height: 14px; color: var(--text-muted); }

/* ============ STEPS ============ */
.steps { margin: var(--s-xl) 0; }
.step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--s-lg);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -1.5px; line-height: 1;
}
.step-body h4 {
  font-size: 18px; color: var(--ink);
  margin-bottom: var(--s-xs); font-weight: 500;
  letter-spacing: -.3px;
}
.step-body p {
  color: var(--text-secondary); font-size: 16px;
  line-height: 1.55; letter-spacing: -.1px;
}

/* ============ IMMERSIVE BAND (dark product band) ============ */
.immersive-band {
  background: var(--immersive-green);
  color: #fff;
  padding: var(--s-mega) 0;
  margin: var(--s-section) 0;
}
.immersive-band.navy { background: var(--immersive-navy); }
.immersive-band.ink { background: var(--ink); }
.immersive-band h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500; line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: var(--s-base);
  max-width: 22ch;
}
.immersive-band .lead {
  color: var(--on-dark-soft);
  font-size: 19px; line-height: 1.5;
  max-width: 60ch; letter-spacing: -.1px;
}
.immersive-band .section-tag { color: var(--coral); }

/* ============ TRUST STRIP (single-color logos) ============ */
.trust-strip {
  padding: var(--s-xxl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--canvas);
}
.trust-strip-label {
  font-size: 11px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 1.2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--s-lg);
}
.trust-marks {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: var(--s-xxl);
  filter: grayscale(100%) opacity(.6);
}
.trust-mark {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--ink); letter-spacing: -.3px;
}

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--uva-blue);
  border-radius: var(--r-md);
  padding: var(--s-xxl);
  color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-lg); flex-wrap: wrap;
  margin: var(--s-xxl) 0;
}
.cta-strip h3 {
  font-size: 26px; font-weight: 500;
  color: #fff; margin-bottom: var(--s-xs);
  letter-spacing: -.6px; line-height: 1.15;
}
.cta-strip p {
  color: var(--on-dark-soft);
  font-size: 15px; letter-spacing: -.1px;
}
.cta-strip .btn-light {
  background: #fff; color: var(--ink);
}
.cta-strip .btn-light:hover { background: var(--stone-soft); }
.cta-strip .btn-line {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
}
.cta-strip .btn-line:hover {
  border-color: #fff; background: rgba(255,255,255,.05);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-base);
}
.contact-card {
  background: var(--stone-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-xl);
}
.contact-card .icon-circle {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--canvas);
  border: 1px solid var(--hairline-strong);
  color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: var(--s-base);
}
.contact-card h3 {
  font-size: 20px; color: var(--ink);
  margin-bottom: var(--s-xs); font-weight: 500;
  letter-spacing: -.4px;
}
.contact-card p {
  color: var(--text-secondary); font-size: 15px;
  margin-bottom: var(--s-base); line-height: 1.55;
  letter-spacing: -.1px;
}
.contact-link {
  display: inline-flex; align-items: center; gap: var(--s-sm);
  color: var(--ink); font-weight: 500; font-size: 15px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
  letter-spacing: -.1px;
}
.contact-link:hover { color: var(--action-blue); border-bottom-color: var(--action-blue); }

/* ============ FOOTER ============ */
footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--s-xxl) 0 var(--s-lg);
  margin-top: var(--s-huge);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-xxl);
  margin-bottom: var(--s-xl);
}
.footer-brand p {
  margin-top: var(--s-md);
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 36ch;
  line-height: 1.55;
  letter-spacing: -.1px;
}
.footer-col h5 {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink); margin-bottom: var(--s-base);
  letter-spacing: 0;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: var(--s-sm); }
.footer-col a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color .15s ease;
  letter-spacing: -.05px;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-base);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--s-md);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: -.05px;
}
.affiliations { display: flex; gap: var(--s-sm); align-items: center; }
.affiliation-pill {
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--stone);
  color: var(--ink);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 880px) {
  .container, .container-narrow { padding: 0 var(--s-lg); }
  .nav-inner { padding: 0 var(--s-lg); }
  .home-hero-inner { padding: 0 var(--s-lg); }
  .nav-links { display: none; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    color: var(--ink);
    border-radius: var(--r-sm);
  }
  .menu-toggle:hover { background: var(--stone-soft); }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--canvas);
    padding: var(--s-lg);
    gap: var(--s-base);
    border-bottom: 1px solid var(--hairline);
    align-items: stretch;
  }
  .nav-links.open a { padding: var(--s-sm) 0; font-size: 16px; }
  .nav-links.open a[aria-current="page"]::after { display: none; }
  .nav-links.open .nav-cta { text-align: center; }

  .home-hero { padding: var(--s-huge) 0 var(--s-xxl); }
  .page-hero { padding: var(--s-xxl) 0; }
  section { padding: var(--s-xxl) 0; }
  .immersive-band { padding: var(--s-huge) 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-xl); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: var(--s-lg); }
  .step-row { grid-template-columns: 56px 1fr; gap: var(--s-md); }
  .pub-row { grid-template-columns: 60px 1fr; gap: var(--s-md); }
  .pub-tags { display: none; }
  .trust-marks { gap: var(--s-lg); }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .home-hero h1 { letter-spacing: -1.5px; }
  .page-hero h1 { letter-spacing: -1px; }
  .section-title { letter-spacing: -.8px; }
}

/* ============ TEAM PAGE ============ */
.team-section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: var(--s-sm);
}
.team-section-title {
  font-size: 28px; font-weight: 500; color: var(--ink);
  letter-spacing: -.5px; line-height: 1.15;
  margin-bottom: var(--s-xl);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-lg);
}
.team-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-lg);
  transition: border-color .2s ease;
  display: flex; flex-direction: column;
}
.team-card:hover { border-color: var(--ink); }
.team-card.placeholder {
  border-style: dashed;
  border-color: var(--hairline-strong);
}
.team-photo {
  width: 88px; height: 88px;
  border-radius: var(--r-full);
  background: var(--stone);
  object-fit: cover;
  margin-bottom: var(--s-base);
  border: 1px solid var(--hairline);
  display: block;
}
.team-photo-link {
  display: inline-block;
  position: relative;
  border-radius: var(--r-full);
  transition: transform .15s ease, box-shadow .15s ease;
  margin-bottom: var(--s-base);
}
.team-photo-link .team-photo { margin-bottom: 0; }
.team-photo-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(35, 45, 75, .15);
}
.team-photo-link:hover .team-photo {
  border-color: var(--uva-blue);
}
.team-photo.placeholder {
  display: grid; place-items: center;
  color: var(--text-subtle);
  font-size: 28px; font-weight: 500;
  font-family: var(--font-display);
}
.team-card h3 {
  font-size: 17px; font-weight: 500;
  color: var(--ink); margin-bottom: var(--s-xxs);
  letter-spacing: -.2px; line-height: 1.2;
}
.team-card .team-role {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: var(--s-base);
  letter-spacing: -.05px;
}
.team-card .team-bio {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.5; letter-spacing: -.05px;
  flex: 1;
}
.team-card .team-bio.placeholder {
  color: var(--text-subtle);
  font-style: italic;
}
.team-card .team-links {
  margin-top: var(--s-base);
  display: flex; gap: var(--s-md);
  font-size: 13px;
}
.team-card .team-links a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.team-card .team-links a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ============================================================
   GEOMETRIC VARIANT OVERLAYS
   Adds shape blobs in heroes, colored top-stripes on cards,
   and a navy contrast band utility.
   ============================================================ */

/* ---- Soft Grid White as overall page background ---- */
body { background: var(--stone-soft); }
.home-hero, .page-hero { background: transparent; border-bottom: none; }

/* ---- Hero shape blobs ---- */
.hero-shapes {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
}
.hero-shapes .shape-cyan {
  top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: var(--dt-cyan);
  filter: blur(2px);
}
.hero-shapes .shape-violet {
  top: 200px; right: 220px;
  width: 180px; height: 180px;
  background: var(--dt-violet);
  border-radius: 32% 68% 70% 30% / 30% 30% 70% 70%;
  opacity: 0.55;
}
.hero-shapes .shape-orange {
  bottom: 36px; left: 36px;
  width: 210px; height: 210px;
  background: var(--dt-orange);
  opacity: 0.42;
  filter: blur(1px);
}
/* contained heroes need position relative */
.home-hero, .page-hero {
  position: relative; overflow: hidden;
}
.home-hero-inner, .page-hero .container { position: relative; z-index: 1; }

/* ---- Diagonal navy "stripe" cap under hero ---- */
.hero-stripe {
  position: absolute;
  bottom: -120px; left: 0; right: 0; height: 240px;
  background: var(--dt-navy);
  transform: skewY(-3deg); transform-origin: left;
  z-index: 0;
}

/* ---- Geometric eyebrow chip (navy pill with cyan text) ---- */
.hero-eyebrow.geo {
  background: var(--dt-navy);
  color: var(--dt-cyan);
  border-color: transparent;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-size: 11px;
}
.hero-eyebrow.geo .dot {
  background: var(--dt-orange);
}

/* ---- Title with orange underline highlight ---- */
.h-underline {
  background-image: linear-gradient(to right, var(--dt-orange), var(--dt-orange));
  background-position: 0 92%;
  background-repeat: no-repeat;
  background-size: 100% 14px;
  padding: 0 4px;
}

/* ---- Colored top-stripe on feature cards ---- */
.feature-card { position: relative; overflow: hidden; }
.feature-card.f1::before,
.feature-card.f2::before,
.feature-card.f3::before,
.feature-card.f4::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
}
.feature-card.f1::before { background: var(--dt-cyan); }
.feature-card.f2::before { background: var(--dt-orange); }
.feature-card.f3::before { background: var(--dt-violet); }
.feature-card.f4::before { background: var(--dt-blue); }

/* Recolor the feature icons to match each stripe */
.feature-card.f1 .feature-icon { background: var(--tint-cyan);   color: #006b75; }
.feature-card.f2 .feature-icon { background: var(--tint-orange); color: #b86d10; }
.feature-card.f3 .feature-icon { background: var(--tint-violet); color: #6347d9; }
.feature-card.f4 .feature-icon { background: var(--tint-blue);   color: var(--dt-blue); }

/* ---- Project cards with same top-stripe support ---- */
.project-card.f1,
.project-card.f2,
.project-card.f3,
.project-card.f4 { position: relative; overflow: hidden; }
.project-card.f1::before,
.project-card.f2::before,
.project-card.f3::before,
.project-card.f4::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 6px; z-index: 1;
}
.project-card.f1::before { background: var(--dt-cyan); }
.project-card.f2::before { background: var(--dt-orange); }
.project-card.f3::before { background: var(--dt-violet); }
.project-card.f4::before { background: var(--dt-blue); }

/* CAPSTONE badge — sits over the tinted thumb column, top-left */
.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--dt-violet);
  color: #ffffff;
  font-family: var(--font-mono, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  padding: 5px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 16, 41, 0.2);
}
@media (max-width: 720px) {
  .project-badge { top: 12px; left: 12px; }
}

/* ---- Navy contrast band (for Platforms / featured sections) ---- */
.band-navy {
  background: var(--dt-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.band-navy::before {
  content: ''; position: absolute;
  top: 50%; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--dt-violet), transparent 60%);
  opacity: 0.3; transform: translateY(-50%);
  pointer-events: none;
}
.band-navy .container { position: relative; z-index: 1; }
.band-navy .section-tag   { color: var(--dt-cyan); }
.band-navy .section-title,
.band-navy h2 { color: #ffffff; font-weight: 600; }
.band-navy .feature-card h3 { font-weight: 600; }
.band-navy .section-lead,
.band-navy p { color: rgba(242, 246, 247, 0.92); }
.band-navy .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(157, 245, 251, 0.3);
  backdrop-filter: blur(8px);
}
.band-navy .feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--dt-cyan);
}
.band-navy .feature-card h3 { color: var(--white); }
.band-navy .feature-card p  { color: rgba(242, 246, 247, 0.9); }
.band-navy .feature-card.f1 .feature-icon { background: rgba(157,245,251,.12); color: var(--dt-cyan);   }
.band-navy .feature-card.f2 .feature-icon { background: rgba(255,167,51,.15);  color: var(--dt-orange); }
.band-navy .feature-card.f3 .feature-icon { background: rgba(153,133,255,.18); color: var(--dt-violet); }
.band-navy .feature-card.f4 .feature-icon { background: rgba(21,85,224,.22);   color: #6f9bff;          }
.band-navy .btn-light {
  background: var(--dt-orange); color: var(--dt-navy);
}

/* ---- Tweak the CTA strip to use the gradient look ---- */
.cta-strip.geo {
  background: linear-gradient(135deg, var(--dt-violet) 0%, var(--dt-blue) 100%);
  color: #fff; border-radius: var(--r-xl);
}
.cta-strip.geo h3 { color: #fff; }
.cta-strip.geo p  { color: rgba(255,255,255,0.85); }
.cta-strip.geo .btn-light {
  background: var(--dt-orange);
  color: var(--dt-navy);
}

/* ---- Page-hero shapes (slightly smaller) ---- */
.page-hero .hero-shapes .shape-cyan   { width: 380px; height: 380px; top: -80px; right: -80px; }
.page-hero .hero-shapes .shape-violet { width: 140px; height: 140px; top: 140px; right: 160px; }
.page-hero .hero-shapes .shape-orange { width: 150px; height: 150px; bottom: 28px; left: 28px; }

/* ---- Nav: pill-shaped brand mark with gradient ---- */
.brand-mark {
  background: linear-gradient(135deg, var(--dt-navy), var(--dt-blue));
  color: var(--dt-cyan);
  border-radius: 8px;
}

/* ---- Footer slightly cooler ---- */
footer { background: #fff; border-top: 1px solid var(--hairline); }

/* ============================================================
   HERO · SPLIT LAYOUT (image left, copy right)
   ============================================================ */
.home-hero.hero-split { padding: var(--s-section) 0; }

.home-hero.hero-split .hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-section);
  align-items: center;
}

.home-hero.hero-split .hero-image { position: relative; z-index: 1; width: 100%; }

.home-hero.hero-split .hero-image-frame {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--canvas);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 14px 38px rgba(0,0,0,.12);
  line-height: 0;
}
.home-hero.hero-split .hero-image-photo {
  display: block;
  width: 100%;
  height: auto;            /* keep the image's original proportions — no cropping */
}
.home-hero.hero-split .hero-image-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-md);
  font-weight: 600;
}
.home-hero.hero-split .hero-image-desc {
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.home-hero.hero-split .hero-image-note {
  display: inline-block;
  margin-top: var(--s-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dt-orange);
  background: rgba(255,167,51,.12);
  padding: 2px 8px;
  border-radius: var(--r-xs);
  letter-spacing: .5px;
}

.home-hero.hero-split .hero-copy { min-width: 0; }

/* Smaller, tighter title now that there's an image */
.home-hero.hero-split h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin-bottom: var(--s-base);
  max-width: 18ch;
}
.home-hero.hero-split p.lead {
  font-size: 17px;
  max-width: 50ch;
  margin-bottom: var(--s-lg);
}

@media (max-width: 880px) {
  .home-hero.hero-split .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--s-xl);
  }
  .home-hero.hero-split h1 { max-width: none; }
}

/* ============================================================
   CLICKABLE FEATURE CARDS (homepage one-stop shop section)
   ============================================================ */
.feature-card.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.feature-card.card-link h3 { color: var(--ink); }
.feature-card.card-link:hover h3 { color: var(--dt-navy); }

.feature-card .card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: var(--s-sm);
  text-transform: uppercase;
}
.feature-card.f1 .card-tag { color: #006b75; }
.feature-card.f2 .card-tag { color: #b86d10; }
.feature-card.f3 .card-tag { color: #6347d9; }
.feature-card.f4 .card-tag { color: var(--dt-blue); }

.feature-card .card-arrow {
  display: inline-block;
  margin-top: auto;
  padding-top: var(--s-base);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dt-blue);
  letter-spacing: -.05px;
  transition: transform .15s ease;
}
.feature-card.card-link:hover .card-arrow { transform: translateX(3px); }

/* ============================================================
   NAV · SERVICES DROPDOWN
   ============================================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown .dropdown-arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform .15s ease;
  margin-left: 2px;
  line-height: 1;
}
.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--ink);
}

/* The dropdown menu itself */
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--s-sm) 0;
  box-shadow: 0 10px 30px rgba(0,16,41,.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 60;
}
/* A small invisible bridge so cursor can travel from trigger to menu without closing */
.nav-dropdown .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .12s ease, color .12s ease;
  letter-spacing: -.1px;
  position: relative;
}
.nav-dropdown .dropdown-menu a::after { display: none !important; }
.nav-dropdown .dropdown-menu a:hover {
  background: var(--stone-soft);
  color: var(--ink);
}
.nav-dropdown .dropdown-menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: var(--stone-soft);
}

/* Mark Services in nav with orange underline when on a services sub-page */
.nav-dropdown.is-active > .dropdown-trigger {
  color: var(--ink);
  font-weight: 600;
}
.nav-dropdown.is-active > .dropdown-trigger::after {
  content: "";
  position: absolute;
  bottom: -25px; left: 0; right: 12px;
  height: 2px;
  background: var(--uva-orange);
}

/* Mobile: dropdown collapses inline */
@media (max-width: 880px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 var(--s-sm) var(--s-base);
    min-width: 0;
  }
  .nav-dropdown .dropdown-arrow { display: none; }
}
