:root {
  --paper: #f8f8f4;
  --ink: #10243b;
  --blue: #174aa3;
  --blue-deep: #153778;
  --gold: #e3b758;
  --line: #d2d9df;
  --display: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
html { scroll-padding-top: 6.5rem; }
.topbar { position: sticky; top: 0; z-index: 10; }
.header-inner { min-height: 4.8rem; }
.mainnav { gap: clamp(.65rem, 1.6vw, 1.5rem); }
.brand-emblem { border-radius: .55rem; }
.button { border-radius: .44rem; }
:where(a, button):focus-visible { outline-offset: 4px; }

.brand-hero {
  background: radial-gradient(ellipse at 83% 25%, #263f65 0, #132943 43%, #0d1e32 85%);
  color: white;
  border-bottom: .25rem solid var(--gold);
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
}
.brand-hero .eyebrow { color: #d5e1ed; }
.brand-hero h1 {
  margin-block: 1rem 1.25rem;
  font-size: clamp(3rem, 6.7vw, 7rem);
  line-height: .99;
  letter-spacing: -.07em;
}
.brand-hero h1 em { color: #f1ca7b; }
.brand-hero .hero-lead { color: #dce5ef; max-width: 42ch; }
.brand-hero .actions { margin-top: 1.9rem; }
.brand-outline { border-color: #a5b3c3; color: white; }
.brand-outline:hover { background: #f8f8f4; color: var(--ink); }
.brand-portrait {
  width: min(100%, 24rem);
  justify-self: end;
  padding: .55rem;
  border: 1px solid #8699b3;
  border-radius: .7rem;
  background: #11263d;
}
.brand-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  object-position: center 28%;
  border-radius: .35rem;
}
.brand-portrait figcaption {
  display: grid;
  padding: .7rem .65rem .45rem;
  color: white;
  border-top: 1px solid var(--gold);
}
.brand-portrait figcaption span { color: #d5e1ed; font-size: .9rem; }

.selected-projects .featured-project {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.4rem, 3.5vw, 3rem);
  border-inline-start: .3rem solid var(--gold);
  background: #edf1f7;
}
.selected-projects .featured-project h3 { margin-block: .45rem .6rem; }
.work-art { border-radius: .5rem; }
.service-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.service-grid { gap: clamp(1rem, 2.25vw, 2rem); }
.service-card {
  padding: clamp(1rem, 2.3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.service-card h3 { margin-block: .35rem .6rem; }
.service-card:hover { border-color: var(--blue); }
.founder-note { background: #edf1f7; }
.founder-note-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 5vw, 5rem);
}
.founder-note-grid h2 { margin-top: .55rem; }
.permissions-copy { max-width: 55rem; }
.permissions-copy p { margin-block: .85rem 1.25rem; }
.footer-bottom { flex-wrap: wrap; gap: .65rem 1.25rem; }

@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .selected-projects .featured-project { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar { position: relative; }
  .brand-hero-grid, .founder-note-grid { grid-template-columns: minmax(0,1fr); }
  .brand-hero h1 { font-size: clamp(2.7rem, 11vw, 5rem); }
  .brand-portrait { width: min(100%, 20rem); justify-self: start; }
}
@media (max-width: 490px) {
  .service-grid { grid-template-columns: 1fr; }
}

#academic-profiles { margin-block: 1.4rem .6rem; }
.academic-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.academic-profiles a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: white;
  text-decoration: none;
}
.academic-profiles a:hover { border-color: var(--blue); color: var(--blue); }

/* Midnight, gold and cyan from the DonPuzo design brief. */
:root { --ink: #071328; --gold: #d4af37; }
.brand-hero {
  background: radial-gradient(ellipse at 75% 42%, #153a65 0, #071328 68%);
}
.brand-hero h1 { font-size: clamp(3rem, 6vw, 6.25rem); }
.global-globe { width: min(100%, 32rem); justify-self: center; }
.global-globe canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.global-globe figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  color: #c1edf6;
}
.globe-controls { display: flex; gap: .4rem; }
.globe-controls button {
  min-height: 2.75rem;
  padding: .3rem .6rem;
  border: 1px solid #739abc;
  border-radius: .45rem;
  background: #071328;
  color: white;
  font-size: .9rem;
}
.globe-controls button:hover { border-color: #7de8fa; }
.services-menu { position: relative; }
.services-menu summary {
  padding-block: .4rem;
  font-size: .925rem;
  font-weight: 650;
}
.services-menu-panel {
  position: absolute;
  top: calc(100% + .75rem);
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .4rem;
  width: min(29rem, 65vw);
  padding: .75rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: .55rem;
  background: white;
  box-shadow: 0 14px 28px #07132826;
}
.services-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .4rem .6rem;
  border-radius: .35rem;
  font-size: .93rem;
  text-decoration: none;
}
.services-menu-panel a:hover { background: var(--pale-blue); color: var(--blue); }
.brand-hero-grid { grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); }
.founder-note-grid { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr) minmax(0, 1.18fr); }
.founder-note-grid .brand-portrait { justify-self: start; }
@media (min-width: 1021px) {
  .service-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
  .service-card { grid-column: span 2; }
  .service-card:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 760px) {
  .brand-hero-grid, .founder-note-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-hero h1 { font-size: clamp(2.75rem, 10vw, 5rem); }
  .services-menu-panel { position: static; width: 100%; box-shadow: none; }
}
