:root {
  --bg: #f2f2f2;
  --ink: #0c0d0e;
  --muted: #5d646b;
  --line: rgba(12, 13, 14, .14);
  --blob-1: #d9d3f0;
  --blob-2: #f3d6e6;
  --blob-3: #f6e3cf;
  --blob-4: #d7e3f3;
  --gutter: clamp(16px, 4vw, 48px);
  --shell: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --photo-filter: none;
  --portrait-ratio: 3 / 4;
  --font: "Benzin", "Arial", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  position: relative;
}
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
.photo { filter: var(--photo-filter); }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
main:focus { outline: none; }
section, footer { scroll-margin-top: 24px; }
.shell { width: min(100%, var(--shell)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 8px;
  z-index: 5;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: min(65vw, 650px); aspect-ratio: 1; filter: blur(90px); opacity: .55; }
.blob--lavender { top: 5%; right: -12%; background: radial-gradient(circle, var(--blob-1), transparent 68%); }
.blob--blue { top: 21%; right: 10%; background: radial-gradient(circle, var(--blob-4), transparent 70%); }
.blob--pink { top: 40%; left: -20%; background: radial-gradient(circle, var(--blob-2), transparent 70%); }
.blob--peach { bottom: 0; left: 28%; background: radial-gradient(circle, var(--blob-3), transparent 70%); opacity: .3; }

.site-header { padding-top: 30px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .035em;
  text-decoration: none;
}

/* Imported roster; all text and ordering remain in the HTML. */
.wordmark { gap: 12px; font-size: clamp(8px, .8vw, 11px); }
.wordmark span { min-width: 0; }
.emblem { width: 36px; height: 42px; object-fit: contain; }
.team-section { padding-block: 24px 120px; overflow: clip; }
.team-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.team-heading h2 { font-size: clamp(18px, 2.3vw, 30px); line-height: 1.25; max-width: 23ch; }
.carousel-controls { display: flex; gap: 8px; }
.carousel-controls button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; font-size: 22px; cursor: pointer; }
.carousel-controls button:disabled { opacity: .3; cursor: default; }
.team-track { display: flex; align-items: stretch; gap: 32px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter))) 26px; scrollbar-width: thin; scrollbar-color: var(--ink) var(--line); }
.team-track::-webkit-scrollbar { height: 5px; }
.team-track::-webkit-scrollbar-thumb { background: var(--ink); }
.team-track.is-dragging { scroll-snap-type: none; user-select: none; cursor: grabbing; }
.member { flex: 0 0 590px; scroll-snap-align: start; min-width: 0; }
.member__number { display: block; font-size: 10px; margin-bottom: 10px; }
.member__layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.member__photo { aspect-ratio: var(--portrait-ratio); background: #e5e2e5; overflow: hidden; display: grid; place-items: center; align-self: start; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--portrait-ratio); }
.member__placeholder { padding: 20px; color: var(--muted); text-align: center; font-size: 11px; }
.member__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.member__name { margin: 0 0 18px; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.member__note { margin: 0 0 16px; font-size: 11px; line-height: 1.8; }
blockquote.member__note::before { content: '«'; }
blockquote.member__note::after { content: '»'; }
.link-more { min-height: 44px; padding: 8px 0; margin-top: auto; border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink); font-size: 10px; cursor: pointer; text-align: left; }
.link-more span { margin-left: 14px; }
.member-dialog { color: var(--ink); border: 1px solid var(--line); background: var(--bg); padding: 0; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
.member-dialog::backdrop { background: rgba(12,13,14,.48); backdrop-filter: blur(5px); }
.modal__window { position: relative; padding: clamp(24px,5vw,48px); }
.modal__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); font-family: Arial,sans-serif; font-size: 30px; cursor: pointer; }
#modalTitle { font-size: clamp(18px,3vw,28px); line-height: 1.3; margin-bottom: 24px; padding-right: 12px; }
#modalBody { font-size: 12px; line-height: 1.9; white-space: pre-line; }
.modal__image { width: min(100%,300px); aspect-ratio: var(--portrait-ratio); object-fit: contain; margin: 24px auto 0; background: #e5e2e5; }
.modal__image[hidden] { display: none; }
.social-icons { display: flex; flex-shrink: 0; gap: 2px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.main-nav { display: flex; gap: clamp(18px, 3vw, 42px); margin-top: 14px; }
.main-nav__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 10px;
  letter-spacing: .08em;
  text-decoration: none;
}
.main-nav__link[aria-current="location"] { text-decoration: underline; }
.hero { padding-top: clamp(55px, 8vw, 110px); padding-bottom: clamp(105px, 16vw, 210px); }
h1 { text-align: center; font-size: clamp(19px, 4.5vw, 59px); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
h1 span { display: block; }
.section-foundation { padding-top: 40px; padding-bottom: clamp(90px, 13vw, 170px); }
.section-foundation h2 { max-width: 18ch; font-size: clamp(21px, 3vw, 38px); line-height: 1.08; letter-spacing: -.025em; }
#program h2 { margin-left: 38%; }

.site-footer { padding-top: 55px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr 1fr; gap: 48px; }
.footer-column { min-width: 0; font-size: 12px; }
.eyebrow { display: block; margin-bottom: 18px; font-size: 10px; font-weight: 400; line-height: 1.5; letter-spacing: .055em; }
address { font-style: normal; }
address p + p { margin-top: 4px; }
address a, .footer-nav a { display: flex; align-items: center; width: fit-content; min-height: 44px; max-width: 100%; text-decoration: none; overflow-wrap: anywhere; }
address a:first-of-type { margin-top: 9px; }
.footer-nav a { gap: 20px; font-size: 10px; letter-spacing: .04em; }
.owner p:last-child { max-width: 32ch; }
.copyright { margin-top: 52px; font-size: 10px; }
.footer-socials { display: flex; gap: 28px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.footer-socials a { display: inline-flex; gap: 14px; align-items: center; min-height: 44px; font-size: 10px; letter-spacing: .055em; text-decoration: none; }

@media (hover: hover) {
  a:hover { text-decoration: underline; }
  .icon-link:hover { opacity: .65; }
}
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
  .blob { animation: drift 24s ease-in-out infinite alternate; }
  .blob--pink { animation-delay: -12s; }
}
@keyframes drift { to { transform: translate(25px, -30px); } }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-header { padding-top: 18px; }
  .site-footer { padding-top: 32px; }
  .footer-nav { display: flex; flex-wrap: wrap; column-gap: 28px; }
  .footer-nav .eyebrow { flex-basis: 100%; margin-bottom: 0; }
  .owner p:last-child { max-width: 40ch; }
  .copyright { margin-top: 36px; }
  .blob { width: 105vw; filter: blur(80px); }
}
@media (max-width: 380px) {
  .wordmark { font-size: 9px; letter-spacing: 0; }
  .header-row { gap: 8px; }
  #program h2 { margin-left: 18%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .atmosphere, .skip-link, .main-nav, .social-icons, .footer-nav { display: none; }
  body { background: white; }
  .hero, .section-foundation { padding-block: 24px; }
  .footer-grid { display: block; }
  .footer-column { margin-bottom: 24px; }
}
/* Benzin and portrait responsive overrides. */
h1 { font-size: clamp(18px, 3.6vw, 47px); line-height: 1.28; }
@media (max-width: 768px) {
  .team-heading { align-items: center; gap: 14px; }
  .team-heading h2 { max-width: 20ch; }
  .team-track { gap: 24px; }
  .member { flex-basis: min(560px,88vw); }
  .member__layout { grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: 16px; }
  .member__name { font-size: 12px; margin-bottom: 12px; }
  .member__note { font-size: 10px; line-height: 1.75; }
  .link-more { font-size: 9px; }
  .team-section { padding-bottom: 70px; }
  .wordmark { gap: 7px; }
  .emblem { width: 27px; height: 34px; }
  .header-row { align-items: flex-start; }
}
@media (max-width: 420px) {
  .wordmark { font-size: 7px; }
  .social-icons { gap: 0; }
  .team-heading h2 { font-size: 16px; }
  .member__layout { gap: 12px; }
  .member__name { font-size: 11px; }
  .member__note { font-size: 9px; }
  .carousel-controls { display: none; }
  .footer-socials { gap: 18px; }
  .footer-column { font-size: 10px; }
}
@media print {
  .team-track { display: block; overflow: visible; }
  .member { break-inside: avoid; margin-bottom: 24px; }
  .carousel-controls, .link-more { display: none; }
}
@media (max-width: 768px) {
  .member__note { font-size: 11px; }
  .member__name { font-size: 12px; }
  .link-more { font-size: 10px; }
}
@media (max-width: 420px) {
  .header-row { flex-wrap: wrap; gap: 6px; }
  .wordmark { font-size: 9px; flex: 1 1 200px; }
  .social-icons { margin-left: auto; }
}
