.site-head nav > a[aria-current="page"] { color: var(--gold); }

.contact-grid {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: "intro form" "address form";
  align-items: start;
  gap: 1.8rem clamp(2rem, 5vw, 5.5rem);
}
.contact-cta { grid-area: intro; }
.contact-details { grid-area: address; border-top-color: var(--gold-light); }
.contact-panel {
  grid-area: form;
  min-width: 0;
  padding: clamp(1rem, 3.3vw, 2.8rem);
  border-top: 2px solid var(--gold-ink);
  background: #f6f2e9;
  box-shadow: 0 1rem 2.5rem #57451924;
}
.contact-panel h3 {
  margin: .55rem 0 1.15rem;
  font: 800 clamp(2rem, 5.2vw, 3.6rem)/.98 var(--display);
  text-transform: uppercase;
}
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.contact-field { display: grid; min-width: 0; gap: .27rem; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { color: var(--ink); font-size: .84rem; font-weight: 800; }
.contact-field label span { color: #555961; font-size: .72rem; font-weight: 600; }
.contact-field :is(input, select, textarea) {
  width: 100%;
  min-height: 2.9rem;
  padding: .59rem .72rem;
  color-scheme: light;
  border: 1px solid #b0a99b;
  border-radius: 0;
  background: #fffdf7;
  color: var(--ink);
  font: 500 .94rem/1.45 var(--body);
}
.contact-field textarea { resize: vertical; }
.contact-field textarea::placeholder { color: #64656a; }
.contact-field :is(input, select, textarea):focus-visible, .contact-copy:focus-visible {
  outline: 2px solid #215f9a;
  outline-offset: 2px;
}
#message-note, .contact-form-status { margin: .65rem 0 0; color: #444750; font-size: .8rem; }
.contact-form-status:empty { display: none; }
.contact-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .95rem; margin-top: .9rem; }
.contact-form-actions .button, .contact-copy { cursor: pointer; }
.contact-form-actions .button { border: 0; font-family: var(--body); font-size: .85rem; }
.contact-copy {
  min-height: 2.75rem;
  border: 0;
  padding: .35rem .1rem;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .25em;
  font: 800 .8rem/1.4 var(--body);
}

.team-hero, .history-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #131c2a;
}
.team-hero-media, .team-hero::after, .history-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.team-hero-media { object-fit: cover; object-position: 61% 58%; }
.team-hero::after {
  content: "";
  background: linear-gradient(90deg,#080e18ed,#080e18a8 48%,#080e1829 78%), linear-gradient(0deg,#080e18b0,transparent 35%);
}
.team-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: 2.25rem;
  min-height: clamp(23rem, 43vw, 35rem);
  padding: 2.5rem 0 3.5rem;
}
.team-hero h1, .history-hero h1 {
  margin: .75rem 0 1.15rem;
  font-size: clamp(4rem, 9.4vw, 8.75rem);
  line-height: .88;
}
.team-hero h1 .title-line + .title-line, .history-hero .title-line + .title-line { color: var(--gold); }
.team-intro { max-width: 31rem; color: #e4ebf5; font-size: clamp(.94rem, 1.3vw, 1.06rem); }
.team-emblem {
  justify-self: center;
  width: min(100%, 27rem);
  padding: clamp(1rem, 3vw, 2rem);
  border-block: 1px solid rgb(var(--gold-rgb) / .38);
  background: linear-gradient(100deg,transparent,#090e17c4 36% 68%,transparent);
}
.team-emblem img { width: min(100%, 21rem); height: auto; margin-inline: auto; filter: brightness(1.28); }
.team-visual-credit { position: absolute; right: var(--gutter); bottom: .75rem; font-size: .68rem; color: #d3dfed; }

.team-band { background: #111824; }
.team-band-light { background: #e4ded1; color: var(--ink); }
.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr);
  gap: 1rem 3.5rem;
  align-items: end;
  margin-bottom: clamp(1.3rem, 4vw, 2.65rem);
}
.team-heading h2, .history-timeline h2 {
  margin-top: .65rem;
  font-size: clamp(2.75rem, 5.9vw, 5.4rem);
  line-height: .91;
}
.team-heading > p { max-width: 24rem; color: #dce4ef; }
.team-band-light .kicker, .team-band-light .team-card-label, .team-band-light .team-role { color: var(--gold-ink); }
.team-band-light .team-heading > p { color: #454a54; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.team-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 11rem;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  border: 1px solid #ffffff22;
  border-top-color: rgb(var(--gold-rgb) / .54);
  background: linear-gradient(142deg,#161f2d 34%,#202c3c);
}
.team-card-lead { min-height: 15.5rem; }
.team-card-label {
  color: var(--gold);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.team-card-label span { margin-right: .45rem; font-family: monospace; }
.team-card h3 {
  margin: .7rem 0 .33rem;
  font: 800 clamp(2.05rem, 4.6vw, 4.35rem)/.96 var(--display);
  text-transform: uppercase;
}
.team-grid-three h3 { font-size: clamp(1.9rem, 3.5vw, 3.4rem); }
.team-role { color: var(--gold-light); font-weight: 800; font-size: .93rem; }
.team-function { color: #d4deeb; font-size: .82rem; }
.team-card .text-link { margin-top: .9rem; font-size: .8rem; }
.team-monogram {
  position: absolute;
  z-index: -1;
  right: .11em;
  bottom: -.17em;
  font: 800 clamp(6rem, 15vw, 13.5rem)/.88 var(--display);
  letter-spacing: -.05em;
  color: #bccce00d;
  -webkit-text-stroke: 1px rgb(var(--gold-rgb) / .26);
}
.team-grid-three .team-monogram { font-size: clamp(5.3rem, 11vw, 9.5rem); }
.team-band-light .team-card { background: #f4f0e7; border-color: #b5ab99; border-top-color: var(--gold-ink); }
.team-band-light .team-monogram { color: #b5ab9918; -webkit-text-stroke-color: #a49a8738; }
.team-end { padding-block: clamp(2.2rem, 5.3vw, 4.5rem); background: var(--gold); color: var(--ink); }
.team-end > .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; }
.team-end h2 { font-size: clamp(2.35rem, 5.8vw, 5rem); }

.history-hero {
  background: radial-gradient(ellipse at 80% 30%,#2b3a4d,transparent 65%),#101722;
}
.history-hero::after {
  content: "";
  background: repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#eef3fb14 calc(25% - 1px) 25%);
}
.history-hero .wrap { position: relative; }
.history-heading { position: relative; z-index: 1; padding-block: clamp(2.8rem, 8vw, 7rem); }
.history-hero .history-watermark {
  position: absolute;
  right: -.03em;
  bottom: -.07em;
  font: 800 clamp(9rem, 30vw, 26rem)/.9 var(--display);
  letter-spacing: -.05em;
  color: #162130;
  -webkit-text-stroke: 1px rgb(var(--gold-rgb) / .32);
  user-select: none;
  pointer-events: none;
}
.history-heading .text-link { margin-top: 1.25rem; color: var(--gold); }
.history-chronicle { background: #e4ded1; color: var(--ink); }
.history-timeline {
  --history-progress: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 6.25rem);
  width: min(100%, 62rem);
  margin-inline: auto;
  padding: .3rem 0 .7rem clamp(2rem, 5.8vw, 4.75rem);
  list-style: none;
}
.history-timeline::before, .history-timeline::after {
  content: "";
  position: absolute;
  inset: .9rem auto .9rem .33rem;
  width: 2px;
  background: #a69e8a75;
}
.history-timeline::after {
  background: linear-gradient(180deg, var(--gold-ink), var(--gold) 76%);
  transform: scaleY(var(--history-progress));
  transform-origin: top;
}
.history-timeline li { position: relative; }
.history-timeline li::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: .5rem;
  left: calc(-1 * clamp(2rem, 5.8vw, 4.75rem));
  width: .78rem;
  height: .78rem;
  border: 2px solid var(--gold-ink);
  border-radius: 50%;
  background: #e4ded1;
}
.history-timeline li.is-history-past::before { background: var(--gold); }
.history-date { color: var(--gold-ink); font-size: .82rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.history-timeline li > p:not(.history-date) { margin: .85rem 0 0; max-width: 37rem; color: #383e49; }
.history-timeline .text-link { margin-top: .85rem; }
@media (prefers-reduced-motion: reduce) {
  .history-timeline::after { transform: none; }
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "address"; }
  .team-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; min-height: 0; padding: 1.65rem 0 2.8rem; }
  .team-hero-media { object-position: 68% center; }
  .team-hero::after { background: linear-gradient(105deg,#080e18ea,#080e1873),linear-gradient(0deg,#080e18e0,transparent 55%); }
  .team-emblem { justify-self: start; width: min(100%, 15.5rem); padding-block: .45rem; }
  .team-emblem img { width: 10rem; }
  .team-hero h1, .history-hero h1 { font-size: clamp(3.45rem, 14vw, 6rem); }
  .history-timeline h2 { font-size: clamp(2.1rem, 9.5vw, 3.65rem); }
  .team-heading { grid-template-columns: 1fr; gap: .65rem; }
  .team-grid, .team-grid-three { grid-template-columns: minmax(0, 1fr); }
  .team-card, .team-card-lead { min-height: 0; }
  .team-monogram { font-size: clamp(7rem, 25vw, 12rem); }
  .team-grid-three .team-monogram { font-size: 6.2rem; }
}
@media (max-width: 410px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}
