:root {
  --slate: #17222b;
  --slate-2: #243746;
  --ivory: #f5efe4;
  --paper: #fffaf1;
  --blue: #577d9b;
  --blue-2: #9fb9c8;
  --ochre: #bd8750;
  --moss: #718568;
  --ink-muted: #62717b;
  --line: rgba(23, 34, 43, 0.14);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(23, 34, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate);
  background: var(--ivory);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  color: var(--paper);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  color: var(--slate);
  background: rgba(245, 239, 228, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.brand-mark i {
  display: block;
  width: 16px;
  height: 6px;
  background: currentColor;
  transform: rotate(-8deg);
}

.brand-mark i:nth-child(2) {
  width: 22px;
}

.brand-mark i:nth-child(3) {
  width: 12px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.96rem;
  font-weight: 850;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.76;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  justify-content: flex-end;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 6px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--ochre);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.hero {
  min-height: 82svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(250px, 0.42fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: 118px clamp(18px, 5vw, 72px) 48px;
  color: var(--paper);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(23, 34, 43, 0.93), rgba(23, 34, 43, 0.72) 42%, rgba(23, 34, 43, 0.18)),
    url("assets/aldenbrook-hero.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: rgba(255, 250, 241, 0.28);
  content: "";
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ochre);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 14ch;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 7.4rem);
  font-weight: 500;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
}

h3 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 850;
}

.hero-copy p {
  max-width: 640px;
  margin-bottom: 28px;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--slate);
  border-color: var(--blue-2);
  background: var(--blue-2);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  align-self: end;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  padding: 24px;
  background: rgba(23, 34, 43, 0.52);
  backdrop-filter: blur(12px);
}

.hero-panel span,
.hero-panel strong {
  display: block;
}

.hero-panel span {
  color: var(--blue-2);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-panel strong {
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.hero-panel p {
  margin: 14px 0 0;
  color: rgba(255, 250, 241, 0.74);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.metric-strip article {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  padding: clamp(18px, 3vw, 32px);
}

.metric-strip article:last-child {
  border-right: 0;
}

.metric-strip span {
  color: var(--ink-muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 500;
  line-height: 1;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 82px);
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-heading .eyebrow {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(310px, 0.55fr);
  gap: clamp(28px, 6vw, 78px);
}

.about-grid p,
.feature-program p,
.contact p {
  max-width: 740px;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.fact-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--ochre);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 760;
}

.research {
  color: var(--paper);
  background: var(--slate);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.research-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 250, 241, 0.055);
}

.research-grid span {
  color: var(--blue-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.research-grid p {
  color: rgba(255, 250, 241, 0.72);
}

.centers {
  background: var(--paper);
}

.center-list {
  display: grid;
  gap: 10px;
}

.center-list article,
.program-list article,
.publication-list article,
.event-board,
.people-grid article,
.independence-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 14px 38px rgba(23, 34, 43, 0.07);
}

.center-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 20px;
}

.center-list p,
.program-list p,
.publication-list p,
.event-board span,
.people-grid p,
.independence-note p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.programs {
  background: #ece4d6;
}

.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: 16px;
}

.feature-program {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  color: var(--paper);
  background:
    linear-gradient(145deg, rgba(87, 125, 155, 0.32), rgba(23, 34, 43, 0.92)),
    var(--slate-2);
}

.feature-program span {
  margin-bottom: auto;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-program h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.feature-program p {
  color: rgba(255, 250, 241, 0.74);
}

.program-list {
  display: grid;
  gap: 12px;
}

.program-list article {
  padding: 22px;
}

.publications {
  background: var(--ivory);
}

.publication-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.52fr);
  gap: 18px;
}

.publication-list {
  display: grid;
  gap: 12px;
}

.publication-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
}

.publication-list time {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  line-height: 1;
}

.event-board {
  padding: 24px;
}

.event-board ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.event-board li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.event-board strong,
.event-board span {
  display: block;
}

.governance {
  background: var(--paper);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.people-grid article {
  padding: 22px;
}

.independence-note {
  margin-top: 18px;
  padding: 24px;
  border-left: 6px solid var(--moss);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: var(--paper);
  background: var(--slate-2);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: rgba(255, 250, 241, 0.72);
  background: #101820;
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .section-heading,
  .about-grid,
  .program-layout,
  .publication-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 156px;
    background-position: 58% center;
  }

  .metric-strip,
  .research-grid,
  .people-grid,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding: 134px 16px 56px;
    background-position: 62% center;
  }

  .hero-panel {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 3.85rem);
  }

  .metric-strip,
  .research-grid,
  .people-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metric-strip article {
    min-height: 118px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-list div,
  .center-list article,
  .publication-list article {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 58px;
  }

  .contact .button {
    justify-self: start;
  }
}
