/* Sun Devil Wind — Team page.
   Palette and type taken from the site: page #DDEEF8, band #ECF7FF,
   ink #0A0A0A, navy #053A64, teal #08546F, accent #007FE4,
   muted #CDE0E9, maroon #8C1D40, Geist, 22px card radius. */

:root {
  --page: #ddeef8;
  --band: #ecf7ff;
  --ink: #0a0a0a;
  --navy: #053a64;
  --teal: #08546f;
  --blue: #007fe4;
  --muted: #cde0e9;
  --maroon: #8c1d40;
  --gold: #ffc627;
  --shell: 1400px;
  --r-card: 22px;
  --r-tile: 16px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--teal);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* 40px gutter each side, as the Framer pages use. */
.wrap { width: min(100% - 80px, var(--shell)); margin-inline: auto; }

/* ---------- header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
}

.hdr-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.navpill {
  display: inline-flex;
  gap: 4px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 6px;
  justify-self: start;
}

.navpill a {
  display: inline-block;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--ink);
  font-size: .9375rem;
  transition: background .3s var(--ease);
}

.navpill a:hover, .navpill a[aria-current] { background: var(--band); }

.brand { justify-self: center; display: block; }
.brand img { width: 200px; filter: brightness(0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: var(--r-pill);
  padding: 13px 24px;
  font-size: .9375rem;
  transition: background .35s var(--ease), transform .35s var(--ease);
}

.btn::before {
  content: "";
  width: 9px; height: 9px;
  background: #fff;
  box-shadow: 5px 5px 0 -1px var(--ink);
  flex: none;
}

.btn:hover { background: var(--navy); transform: translateY(-2px); }
.hdr .btn { justify-self: end; }

/* ---------- type ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--head);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--navy); flex: none; }

h1, h2, h3, h4, h5 { font-family: var(--head); font-feature-settings: 'zero' on, 'tnum' on, 'cv06' on, 'cv13' on, 'cv05' on; }

/* Heading 1 — Geist 500, 64 / 48 / 32 */
h1 { margin: 0; font-size: 64px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); }

/* Heading 2 — Geist 300, 32 / 28 / 24 */
h2 { margin: 0; font-size: 32px; font-weight: 300; line-height: 1.25; letter-spacing: -.02em; color: var(--navy); }

/* Heading 3 — Geist 400, 28 */
h3 { margin: 0; font-size: 28px; font-weight: 400; letter-spacing: -.01em; color: var(--ink); }

@media (max-width: 1199.98px) {
  h1 { font-size: 48px; }
  h2 { font-size: 28px; }
}

@media (max-width: 809.98px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}

.lede { margin: 18px 0 0; font-size: 16px; max-width: 62ch; }

/* ---------- hero ---------- */

.hero { padding: 72px 0 56px; }
.hero .lede { font-size: 16px; }

/* ---------- section scaffolding ---------- */

section.band { padding: 64px 0; }

.sec-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--muted);
  padding: 28px 0 36px;
}

.sec-head p.note { margin: 12px 0 0; max-width: 60ch; }

/* ---------- cards ---------- */

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  background: linear-gradient(180deg, #fff, var(--band));
  border: 1px solid var(--muted);
  border-radius: var(--r-card);
  padding: 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.face {
  aspect-ratio: 1;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: linear-gradient(160deg, #cfe6f7, #9cc9ec);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.face img { width: 100%; height: 100%; object-fit: cover; }
.mono { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 500; color: var(--navy); }

.name { font-family: var(--head); font-size: 20px; font-weight: 400; }
.role { margin: 4px 0 0; font-size: 14px; color: var(--blue); }
.major { margin: 2px 0 0; font-size: 14px; color: var(--teal); opacity: .85; }
.owns { margin: 12px 0 0; font-size: 14px; line-height: 1.55; }
.bio { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--navy); }

.links { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--muted);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: .8125rem;
  text-decoration: none;
  color: var(--navy);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}

.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.empty { color: var(--teal); opacity: .6; border-style: dashed; }

/* ---------- open seats ---------- */

.seat {
  background: transparent;
  border: 1px dashed var(--muted);
}

.seat .tag {
  align-self: flex-start;
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--maroon);
  border: 1px solid color-mix(in srgb, var(--maroon) 35%, transparent);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 12px;
}

.fields { list-style: none; margin: 14px 0 0; padding: 0; font-size: .8125rem; }
.fields li { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dotted var(--muted); }
.fields li:last-child { border-bottom: 0; }
.fields b { font-weight: 400; color: var(--navy); min-width: 72px; flex: none; }
.fields span { opacity: .55; }

/* ---------- team blocks ---------- */

.team-block { padding-top: 36px; }
.team-block + .team-block { margin-top: 8px; }

.team-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.team-title h3 { font-size: 24px; font-weight: 300; color: var(--navy); }
.team-title .led { font-size: .875rem; color: var(--teal); }

/* ---------- closing ---------- */

.cta {
  border-radius: var(--r-card);
  background: linear-gradient(180deg, #fff, var(--band));
  border: 1px solid var(--muted);
  padding: 48px 32px;
  text-align: center;
  margin: 64px 0;
}

.cta h2 { margin-bottom: 10px; }
.cta p { margin: 0 auto 26px; max-width: 52ch; }

/* ---------- footer ---------- */

.ftr { border-top: 1px solid var(--muted); padding: 44px 0 56px; }
.ftr-in { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.ftr img { width: 156px; }
.ftr p { margin: 16px 0 0; font-size: .875rem; max-width: 42ch; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ftr .fine { margin-top: 28px; font-size: .75rem; opacity: .7; }

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .hdr-in { grid-template-columns: auto 1fr; gap: 12px; }
  .brand { justify-self: end; grid-column: 2; }
  .brand img { width: 150px; }
  .hdr .btn { display: none; }
  .navpill { grid-column: 1; }
  .navpill a { padding: 8px 14px; font-size: .875rem; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .ftr-in { grid-template-columns: 1fr; }
  .ftr nav { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding: 48px 0 36px; }
  section.band { padding: 44px 0; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .navpill a { padding: 7px 12px; }
  .brand img { width: 132px; }
  .cta { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Cards size to their own content instead of stretching to the tallest in the row. */
.grid-4, .grid-3 { align-items: start; }

/* The advisor stands alone, so give the card the full row. */
.advisor-row { grid-template-columns: 1fr; }
.advisor-row .card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.advisor-row .face { margin-bottom: 0; }
.advisor-row .links { margin-top: 16px; padding-top: 0; }
.advisor-row .advisor-body { min-width: 0; }
.advisor-row .owns { max-width: 70ch; }

@media (max-width: 700px) {
  .advisor-row .card { grid-template-columns: 1fr; gap: 18px; }
}
