@font-face {
  font-family: "College Sans";
  src: url("fonts/college-sans.woff2") format("woff2");
  font-display: swap;
}

:root {
  --black: #06080a;
  --white: #f4f4f1;
  --muted: #c5c7c8;
  --gold: #d69a43;
  --gold-soft: rgba(214, 154, 67, 0.16);
  --display: "College Sans", "Arial Black", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(214,154,67,.08), transparent 32%),
    linear-gradient(135deg, #070a0d, #020304);
}

.photo-wall {
  position: absolute;
  inset: -16vh -10vw;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  grid-auto-rows: minmax(210px, 29vh);
  gap: 14px;
  opacity: .82;
  filter: grayscale(1) contrast(1.08) brightness(1.04);
  transform: rotate(-1.5deg) scale(1.08);
  animation: wall-drift 38s ease-in-out infinite alternate;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.04);
  background:
    linear-gradient(145deg, rgba(27,38,45,.9), rgba(6,8,10,.96));
}

.photo-tile:nth-child(3n + 1) {
  transform: translateY(30px);
}

.photo-tile:nth-child(4n + 2) {
  transform: translateY(-22px);
}


.photo-tile.is-landscape {
  grid-column: span 2;
}

.photo-tile.is-portrait {
  grid-row: span 2;
}

.photo-tile.is-square {
  grid-column: span 1;
  grid-row: span 1;
}


.photo-tile {
  transition:
    transform 700ms ease,
    filter 500ms ease,
    opacity 900ms ease;
  animation: tile-float 18s ease-in-out infinite alternate;
  animation-delay: calc(var(--tile-index, 0) * -0.55s);
}

.photo-tile:nth-child(even) {
  animation-duration: 23s;
}

.photo-tile:hover {
  filter: brightness(1.16);
  z-index: 2;
}

.photo-tile.is-swapping {
  opacity: 0;
  transform: scale(0.985);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.photo-tile img.loaded {
  opacity: 1;
}

.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.48)),
    linear-gradient(135deg, transparent 60%, rgba(214,154,67,.08));
}

.backdrop-shade {
  position: absolute;
  inset: 0;
  background: rgba(2,3,4,.49);
  backdrop-filter: blur(2px);
}

.backdrop-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 18vw rgba(0,0,0,.82),
    inset 0 -22vh 24vh rgba(0,0,0,.58);
}

.site {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  transform: translateY(-36px);
  padding: 28px;
}

.identity {
  width: min(960px, 100%);
  text-align: center;
}

h1 {
  margin: 0 auto;
  display: grid;
  justify-items: center;
  font-family: var(--display);
  font-weight: 900;
  line-height: .82;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.name-row {
  display: block;
  white-space: nowrap;
}

.name-row--first,
.name-row--last {
  font-size: clamp(4rem, 7vw, 6.6rem);
}

.name-row--last {
  margin-top: .28em;
}

.rule {
  display: block;
  width: 58px;
  height: 3px;
  margin: 34px auto 0;
  background: var(--gold);
}

.role {
  margin: 23px auto 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.links > a,
.live > summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.018);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.links > a:hover,
.links > a:focus-visible,
.live > summary:hover,
.live > summary:focus-visible,
.live[open] > summary {
  border-color: rgba(214,154,67,.78);
  background: var(--gold-soft);
  transform: translateY(-2px);
  outline: none;
}

.live {
  position: relative;
}

.live > summary {
  list-style: none;
}

.live > summary::-webkit-details-marker {
  display: none;
}

.live-options {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 5;
  min-width: 135px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(6,8,10,.97);
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
  transform: translateX(-50%);
}

.live-options a {
  display: block;
  padding: 10px 13px;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .69rem;
  font-weight: 800;
}

.live-options a:hover,
.live-options a:focus-visible {
  color: var(--gold);
  background: rgba(255,255,255,.035);
  outline: none;
}

footer {
  margin-top: 34px;
  color: rgba(255,255,255,.42);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

footer span {
  margin: 0 8px;
  color: var(--gold);
}

@keyframes wall-drift {
  from {
    transform: rotate(-1.5deg) scale(1.08) translate3d(-1.5vw, -2vh, 0);
  }
  to {
    transform: rotate(.8deg) scale(1.12) translate3d(2vw, 3vh, 0);
  }
}

@media (max-width: 760px) {
  .site {
    transform: translateY(-18px);
  }

  .photo-tile.is-landscape,
  .photo-tile.is-portrait,
  .photo-tile.is-square {
    grid-column: span 1;
    grid-row: span 1;
  }

  .site {
    padding: 20px;
  }

  .photo-wall {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }
.name-row--first,
.name-row--last {
  font-size: clamp(4rem, 7vw, 6.6rem);
}

.name-row--last {
  margin-top: .28em;
}

  .role {
    max-width: 440px;
  }
}

@media (max-width: 520px) {
  .links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .links > a,
  .live,
  .live > summary {
    width: 100%;
  }

  .live {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .links {
    grid-template-columns: 1fr;
  }

  .live {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-wall {
    animation: none;
  }

  .links > a,
  .live > summary {
    transition: none;
  }
}


.identity {
  opacity: 0;
  transform: translateY(-10px);
  animation: identity-in 700ms ease-out 180ms forwards;
}

.links {
  opacity: 0;
  transform: translateY(8px);
  animation: links-in 600ms ease-out 520ms forwards;
}

@keyframes identity-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes links-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .identity,
  .links {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
