@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #171416;
  --ink-soft: #211b1e;
  --paper: #e8dfd6;
  --paper-dim: #b8ada5;
  --line: rgba(232, 223, 214, .19);
  --line-strong: rgba(232, 223, 214, .38);
  --wine: #762d3b;
  --wine-bright: #a84d5c;
  --rust: #b85e50;
  --silver: #a5a4aa;
  --yellow: #d2b66d;
  --shadow: 0 20px 54px rgba(5, 3, 4, .3);
  --display: 'Space Grotesk', sans-serif;
  --serif: 'Caveat', cursive;
  --mono: 'DM Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 13% 15%, rgba(118, 45, 59, .16), transparent 25rem),
    radial-gradient(circle at 88% 52%, rgba(165, 164, 170, .07), transparent 28rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--display);
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: .075;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .22;
  background:
    radial-gradient(circle at 19% 73%, rgba(232,223,214,.85) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 31%, rgba(184,94,80,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 79%, rgba(232,223,214,.7) 0 1px, transparent 2px);
}
main, .site-nav, .site-footer { position: relative; z-index: 1; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--wine-bright); color: var(--paper); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 5vw 18px;
  background: linear-gradient(180deg, rgba(23,20,22,.98), rgba(23,20,22,.86) 70%, transparent);
}
.brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { color: var(--rust); font-size: 16px; margin-left: 4px; }
.nav-links { display: flex; gap: clamp(18px, 3.2vw, 48px); }
.nav-links a {
  position: relative;
  color: var(--paper-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-decoration: none;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--paper); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  padding: 8px 10px;
  font-size: 16px;
}
.soundtrack-control {
  position: fixed;
  right: 5vw;
  bottom: 22px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 10px;
  border: 1px solid var(--line-strong);
  background: rgba(23,20,22,.88);
  box-shadow: 0 10px 26px rgba(5,3,4,.25);
}
.soundtrack-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  padding: 0;
  color: var(--paper);
  background: transparent;
  font: 600 9px var(--mono);
  letter-spacing: .12em;
}
.soundtrack-button:hover, .soundtrack-button:focus-visible { color: var(--rust); }
.soundtrack-button.playing .soundtrack-icon { color: var(--rust); }
.soundtrack-icon { color: var(--paper-dim); font-size: 14px; }
.soundtrack-note { color: var(--paper-dim); font: 9px var(--mono); white-space: nowrap; }
.comet {
  position: fixed;
  z-index: 0;
  width: 110px;
  height: 1px;
  pointer-events: none;
  opacity: .22;
  background: linear-gradient(90deg, transparent, var(--paper-dim), transparent);
  transform: rotate(-28deg);
  filter: drop-shadow(0 0 4px rgba(232,223,214,.45));
}
.comet::after {
  content: '';
  position: absolute;
  right: 8px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 8px rgba(232,223,214,.8);
}
.comet-one { top: 18%; right: 15%; animation: comet-drift-one 13s ease-in-out infinite; }
.comet-two { top: 57%; left: 7%; width: 78px; opacity: .16; transform: rotate(24deg); animation: comet-drift-two 18s ease-in-out infinite; }
.comet-three { top: 82%; right: 8%; width: 52px; opacity: .14; transform: rotate(-12deg); animation: comet-drift-three 16s ease-in-out infinite; }
@keyframes comet-drift-one { 50% { transform: translate(-22px, 18px) rotate(-28deg); } }
@keyframes comet-drift-two { 50% { transform: translate(16px, -12px) rotate(24deg); } }
@keyframes comet-drift-three { 50% { transform: translate(-12px, 8px) rotate(-12deg); } }

.section-shell { max-width: 1220px; margin: 0 auto; padding: 120px 5vw; }
.hero {
  position: relative;
  min-height: min(800px, 82vh);
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(100px, 13vw, 180px) 5vw 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 6vw;
  align-items: center;
}
.hero::after {
  content: 'not for the algorithm';
  position: absolute;
  right: 3vw;
  top: 26%;
  color: rgba(232,223,214,.24);
  font: 500 16px var(--serif);
  letter-spacing: .03em;
  transform: rotate(8deg);
}
.kicker, .eyebrow {
  margin: 0 0 23px;
  color: var(--rust);
  font: 600 18px var(--serif);
  letter-spacing: .04em;
}
.hero h1 {
  max-width: 740px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(58px, 11vw, 150px);
  line-height: .84;
  letter-spacing: -.085em;
  font-weight: 700;
}
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 1px var(--paper-dim); }
.hero-deck {
  max-width: 510px;
  margin: 30px 0 0;
  color: var(--paper);
  font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.12;
}
.hero-copy {
  max-width: 480px;
  margin: 17px 0 0;
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.8;
}
.hero-actions { display: flex; align-items: center; gap: 21px; margin-top: 34px; }
.enter-button {
  border: 1px solid var(--rust);
  padding: 13px 16px;
  color: var(--paper);
  background: var(--wine);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  transition: transform .2s ease, background .2s ease;
}
.enter-button:hover, .enter-button:focus-visible { background: var(--wine-bright); transform: translateY(-3px) rotate(-1deg); }
.admin-note { color: var(--paper-dim); font: 500 18px var(--serif); }
.hero-visual { position: relative; min-height: 450px; display: grid; place-items: center; }
.hero-orbit {
  position: absolute;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 1px dashed rgba(232,223,214,.32);
  border-radius: 48% 52% 49% 51%;
  transform: rotate(-12deg);
}
.hero-orbit::before {
  content: '';
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(184,94,80,.4);
  border-radius: 50%;
  transform: rotate(25deg);
}
.logo-disc {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(28vw, 310px);
  aspect-ratio: 1;
  border: 8px solid var(--paper);
  border-radius: 53% 47% 49% 51%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(135deg, #411c27, #7d3340 53%, #23191e);
  box-shadow: 12px 17px 0 rgba(184,94,80,.58), var(--shadow);
  transform: rotate(7deg);
}
.logo-disc::after {
  content: '✦ 𖤐 ✦';
  position: absolute;
  bottom: 16%;
  color: rgba(232,223,214,.68);
  font: 16px var(--serif);
  letter-spacing: .2em;
}
.logo-disc strong { font-size: clamp(48px, 8vw, 94px); letter-spacing: -.14em; line-height: .8; }
.logo-disc small { position: absolute; top: 22%; font: 600 11px var(--mono); letter-spacing: .22em; }
.logo-disc.logo-image { overflow: hidden; padding: 0; }
.logo-disc.logo-image img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  background: #272024;
  color: var(--paper);
  font: 500 13px var(--serif);
  box-shadow: 4px 6px 0 rgba(0,0,0,.24);
}
.sticker.one { top: 17%; left: 3%; transform: rotate(-9deg); }
.sticker.two { bottom: 17%; right: 3%; transform: rotate(8deg); color: var(--yellow); }
.sticker.three { bottom: 4%; left: 12%; transform: rotate(-4deg); color: var(--paper-dim); }

.info-strip {
  max-width: 1120px;
  margin: -5px auto 0;
  padding: 22px 5vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 14px 28px;
  flex-wrap: wrap;
  color: var(--paper-dim);
  font: 500 12px var(--mono);
  letter-spacing: -.03em;
}
.info-strip span::first-letter { color: var(--rust); }

.section-label { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 44px; }
.section-label h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(37px, 7vw, 78px);
  line-height: .91;
  letter-spacing: -.07em;
}
.section-label h2 em { color: var(--rust); font: 500 .75em var(--serif); letter-spacing: -.02em; }
.section-label p { max-width: 245px; margin: 0; color: var(--paper-dim); font: 18px/1.1 var(--serif); text-align: right; }

.admin-section { position: relative; }
.admin-section::before {
  content: 'trusted with power for some reason';
  position: absolute;
  right: 5vw;
  top: 69px;
  color: rgba(232,223,214,.25);
  font: 500 15px var(--serif);
  transform: rotate(4deg);
}
.admin-grid { display: grid; grid-template-columns: 1fr 1.13fr 1fr; gap: 17px; align-items: start; }
.admin-card {
  position: relative;
  padding: 25px;
  min-height: 400px;
  border: 1px solid var(--line);
  background: rgba(33,27,30,.72);
  transition: transform .25s ease, border-color .25s ease;
}
.admin-card:nth-child(2) { transform: translateY(27px); background: rgba(83,39,49,.55); }
.admin-card:nth-child(3) { transform: translateY(-8px); }
.admin-card:hover { transform: translateY(-7px) rotate(-.5deg); border-color: var(--rust); }
.admin-card:nth-child(2):hover { transform: translateY(20px) rotate(.5deg); }
.profile-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.avatar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--accent, var(--wine));
  color: var(--paper);
  font-size: 19px;
  font-weight: 700;
}
.avatar span { position: relative; z-index: 0; }
.avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-top h3 { margin: 0; font-size: 22px; letter-spacing: -.05em; }
.role { margin: 3px 0 0; color: var(--rust); font: 500 10px var(--mono); letter-spacing: .12em; }
.profile-text { margin: 0; color: var(--paper-dim); font-size: 13px; line-height: 1.68; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 21px 0 0; padding: 0; list-style: none; }
.tag-list li {
  padding: 4px 8px;
  border: 1px solid rgba(232,223,214,.18);
  color: var(--paper-dim);
  font: 10px var(--mono);
}

.people-section { background: rgba(10,8,9,.22); border-top: 1px solid rgba(232,223,214,.05); }
.people-tools { display: flex; justify-content: space-between; align-items: center; gap: 17px; margin: 0 0 34px; }
.search-wrap { position: relative; flex: 1; max-width: 510px; }
.search-wrap span { position: absolute; left: 15px; top: 13px; color: var(--rust); }
.search-input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  padding: 13px 15px 13px 40px;
  background: rgba(33,27,30,.66);
  color: var(--paper);
  font-size: 13px;
}
.search-input::placeholder { color: #847b79; }
.search-input:focus { border-color: var(--rust); box-shadow: 3px 3px 0 rgba(184,94,80,.25); }
.filters { display: flex; gap: 7px; }
.filter-btn {
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: transparent;
  color: var(--paper-dim);
  font: 10px var(--mono);
  transition: background .2s ease, color .2s ease;
}
.filter-btn:hover, .filter-btn.active { background: var(--paper); color: var(--ink); }
.people-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.person-card {
  --accent: var(--wine);
  position: relative;
  display: flex;
  min-height: 276px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(45,34,38,.82), rgba(26,22,24,.84));
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.person-card:nth-child(3n) { transform: translateY(11px); }
.person-card:nth-child(5n) { transform: rotate(-.65deg); }
.person-card:hover { transform: translateY(-7px) rotate(0); border-color: var(--accent); background: rgba(52,37,42,.9); }
.person-card::after { content: '↗'; position: absolute; right: 15px; top: 12px; color: var(--paper-dim); font-size: 16px; }
.person-card .profile-top { margin-bottom: 13px; }
.person-card .avatar { width: 49px; height: 49px; font-size: 15px; }
.person-card .profile-top h3 { font-size: 18px; }
.person-card .profile-text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.5; }
.person-card .tag-list { margin-top: auto; padding-top: 18px; }
.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--rust);
  font: 600 10px var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
}
.card-link:hover { color: var(--paper); }
.no-results { grid-column: 1 / -1; padding: 70px 20px; border: 1px dashed var(--line-strong); text-align: center; color: var(--paper-dim); font: 20px var(--serif); }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.about-section h2 { margin: 0; font-size: clamp(45px, 8vw, 100px); line-height: .85; letter-spacing: -.08em; }
.about-copy { position: relative; padding: 10px 0 0 8%; }
.about-copy::before { content: '𖤐'; position: absolute; left: 0; top: 0; color: var(--rust); font-size: 30px; }
.about-copy p { max-width: 620px; margin: 0; color: var(--paper); font-size: clamp(21px, 2.4vw, 31px); line-height: 1.25; letter-spacing: -.035em; }
.about-copy .signature { margin-top: 35px; color: var(--rust); font: 600 24px var(--serif); transform: rotate(-2deg); }
.site-footer { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: 1220px; margin: 0 auto; padding: 50px 5vw 42px; border-top: 1px solid var(--line); }
.footer-title { margin: 0; font-size: 16px; letter-spacing: .16em; }
.footer-copy { margin: 7px 0 0; color: var(--paper-dim); font: 17px var(--serif); }
.copyright { color: var(--paper-dim); font: 10px var(--mono); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 25px;
  background: rgba(11,8,10,.84);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  --accent: var(--wine);
  position: relative;
  width: min(760px, 100%);
  max-height: min(720px, 90vh);
  overflow: auto;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 22rem),
    #251d21;
  box-shadow: 12px 12px 0 rgba(118,45,59,.42), var(--shadow);
  transform: translateY(15px) rotate(-1deg);
  transition: transform .3s ease;
}
.modal.open .modal-card { transform: translateY(0) rotate(0); }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  border: 0;
  background: transparent;
  color: var(--paper);
  font-size: 30px;
  line-height: 1;
}
.modal-close:hover { color: var(--rust); }
.modal-card .avatar { width: 108px; height: 108px; margin-bottom: 25px; border-width: 2px; font-size: 29px; }
.modal-card h2 { margin: 0; font-size: clamp(42px, 7vw, 74px); line-height: .9; letter-spacing: -.08em; }
.modal-card .role { margin-top: 12px; }
.modal-facts { display: flex; gap: 11px; flex-wrap: wrap; margin: 24px 0; }
.modal-facts span { padding: 6px 9px; border: 1px solid var(--line); color: var(--paper-dim); font: 10px var(--mono); }
.modal-description { max-width: 600px; color: var(--paper); font-size: 16px; line-height: 1.7; }
.instagram-btn {
  display: inline-block;
  margin-top: 25px;
  border: 1px solid var(--rust);
  padding: 11px 14px;
  color: var(--paper);
  background: transparent;
  font: 600 10px var(--mono);
  text-decoration: none;
}
.instagram-btn:hover { background: var(--rust); }
.instagram-btn.placeholder { border-style: dashed; color: var(--paper-dim); }
.instagram-btn.placeholder:hover { background: transparent; color: var(--paper); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.person-card.hidden { display: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .75fr; }
  .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-nav { padding: 18px 5vw; }
  .soundtrack-control { right: 5vw; bottom: 16px; max-width: calc(100vw - 10vw); }
  .soundtrack-note { display: none; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 64px; left: 5vw; right: 5vw;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 6px 18px;
    border: 1px solid var(--line-strong);
    background: #211b1e;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border: 0; }
  .hero { display: block; min-height: auto; padding-top: 100px; }
  .hero::after { top: 35px; right: 6vw; }
  .hero h1 { font-size: clamp(61px, 19vw, 112px); }
  .hero-visual { min-height: 390px; margin-top: 35px; }
  .hero-orbit { width: min(84vw, 380px); }
  .logo-disc { width: min(67vw, 285px); }
  .info-strip { padding: 20px 5vw; }
  .info-strip span { width: calc(50% - 15px); }
  .section-shell { padding: 89px 5vw; }
  .section-label { display: block; margin-bottom: 30px; }
  .section-label p { margin-top: 15px; text-align: left; }
  .admin-section::before { display: none; }
  .admin-grid { display: block; }
  .admin-card, .admin-card:nth-child(2), .admin-card:nth-child(3) { min-height: 0; margin-bottom: 14px; transform: none; }
  .people-tools { display: block; }
  .search-wrap { max-width: none; }
  .filters { margin-top: 12px; }
  .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .person-card:nth-child(3n), .person-card:nth-child(5n) { transform: none; }
  .person-card { min-height: 260px; padding: 14px; }
  .person-card .tag-list li:nth-child(n+3) { display: none; }
  .about-section { display: block; }
  .about-copy { margin-top: 46px; padding-left: 12%; }
  .site-footer { display: block; }
  .copyright { display: block; margin-top: 35px; }
}
@media (max-width: 430px) {
  .people-grid { grid-template-columns: 1fr; }
  .person-card { min-height: 215px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 330px; }
  .sticker.one { left: 0; }
  .sticker.two { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}