:root {
  color-scheme: dark;
  --bg: #070510;
  --bg-soft: #0d0918;
  --panel: #110c1d;
  --text: #f8f4ff;
  --muted: #c9bfd5;
  --line: rgba(255,255,255,.14);
  --accent: #b763ff;
  --accent-2: #79bfff;
  --shadow: 0 24px 90px rgba(0,0,0,.38);
  --content: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 36rem),
    radial-gradient(circle at 88% 30%, color-mix(in srgb, var(--accent-2) 14%, transparent), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: .8rem 1rem;
  border-radius: .5rem;
  background: #fff;
  color: #090510;
  font-weight: 800;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 103;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 10px max(20px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7,5,16,.91);
  backdrop-filter: blur(18px);
}

.site-brand {
  z-index: 102;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  min-width: 0;
  text-decoration: none;
}

.brand-profile {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 2px solid color-mix(in srgb, var(--accent) 72%, white);
  border-radius: 50%;
  background: #0a0611;
  box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 55%, transparent);
}

.brand-profile img { width: 100%; height: 100%; object-fit: contain; }
.text-brand { color: #080510; background: linear-gradient(135deg, var(--accent), var(--accent-2)); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; }

.site-brand span { display: grid; min-width: 0; }
.site-brand strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 2vw, 1.5rem); letter-spacing: .035em; text-transform: uppercase; line-height: 1.1; }
.site-brand small { color: var(--accent-2); font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }

.site-menu { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.8rem); }
.site-menu a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-menu a:hover { color: #fff; }

.menu-button, .menu-backdrop { display: none; }

main { display: block; }

.hero {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100svh - 84px));
  overflow: hidden;
  isolation: isolate;
  background: #080510;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7,5,16,.94) 0%, rgba(7,5,16,.76) 38%, rgba(7,5,16,.18) 72%), linear-gradient(0deg, rgba(7,5,16,.88), transparent 38%);
  pointer-events: none;
}

.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: contain; object-position: 74% center; }

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(680px, 92vw);
  margin-left: max(24px, calc((100vw - var(--content)) / 2));
  padding: 5rem 0;
}

.compact-hero { min-height: 690px; }
.chain-hero .hero-art img { object-position: center; }

.hero h1, .section-heading h2, .media-row h2, .support-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.035em;
}

.hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 7rem); }
.hero-copy > p:not(.eyebrow) { max-width: 720px; color: #ded5e8; font-size: clamp(1.04rem, 1.8vw, 1.35rem); }

.eyebrow {
  margin: 0 0 1rem;
  color: color-mix(in srgb, var(--accent) 76%, white);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .78rem 1.3rem;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, white);
  border-radius: .55rem;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-2) 74%, var(--accent)));
  color: #080510;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 20%, transparent);
}

.button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.button.secondary { background: rgba(255,255,255,.045); color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) max(22px, calc((100vw - var(--content)) / 2));
}

.section-dark { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.035)); border-block: 1px solid rgba(255,255,255,.06); }

.section-heading { max-width: 820px; margin-bottom: clamp(2.3rem, 5vw, 4rem); }
.section-heading h2, .media-row h2 { font-size: clamp(2.6rem, 5.2vw, 5.1rem); }
.section-heading > p:last-child, .media-row .section-heading > p:last-child { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.25rem); }

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
  gap: clamp(2.4rem, 6vw, 6rem);
  align-items: center;
}

.media-row.reverse { grid-template-columns: minmax(340px, .9fr) minmax(0, 1fr); }
.media-row.reverse > picture { order: 2; }

.production-picture { display: block; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 1rem; background: #06030b; box-shadow: var(--shadow); }
.production-picture img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.text-art { display: grid; place-items: center; align-content: center; gap: .35rem; min-height: 220px; padding: 1.2rem; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, #080510), #06030b 70%); text-align: center; }
.text-art > span { display: grid; place-items: center; width: 74px; height: 74px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent-2); font-family: Georgia, "Times New Roman", serif; font-size: 2.5rem; box-shadow: 0 0 28px color-mix(in srgb, var(--accent) 45%, transparent); }
.text-art > strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.text-art > small { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-card .text-art { min-height: 100%; padding: .5rem; }
.profile-card .text-art > span { width: 52px; height: 52px; font-size: 1.7rem; }
.profile-card .text-art > strong, .profile-card .text-art > small { display: none; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-grid.compact { grid-template-columns: 1fr; }
.info-grid article, .role-grid article, .token-grid article {
  min-width: 0;
  padding: clamp(1.3rem, 2.5vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
}

.info-grid article > span, .role-grid article > span, .token-grid article > span { color: var(--accent); font-size: .74rem; font-weight: 900; letter-spacing: .22em; }
.info-grid h3, .role-grid h3, .token-grid h3 { margin: .65rem 0 .3rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.1; }
.info-grid p, .role-grid p { margin-bottom: 0; color: var(--muted); }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.profile-card {
  display: grid;
  grid-template-columns: clamp(118px, 15vw, 174px) 1fr;
  min-height: clamp(118px, 15vw, 174px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.profile-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 75%, white); background: rgba(255,255,255,.075); }
.profile-card.current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.profile-card .production-picture { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.profile-card .production-picture img { width: 100%; height: 100%; object-fit: contain; }
.support-profile { display: grid; place-items: center; min-height: 100%; background: #0a0711; padding: .5rem; }
.support-profile img { width: 100%; height: 100%; object-fit: contain; }

.profile-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 1.2rem 1.35rem; }
.profile-copy small { color: var(--accent-2); font-size: .7rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.profile-copy strong { margin: .25rem 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.3vw, 2.2rem); line-height: 1.05; }
.profile-copy em { color: var(--muted); font-size: .84rem; font-style: normal; font-weight: 800; }
.profile-copy em b { color: var(--accent); }

.role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.role-grid article:last-child { grid-column: 1 / -1; }
.role-grid article > strong { display: block; color: var(--accent-2); }

.link-stack { display: grid; gap: .8rem; max-width: 420px; }
.link-stack .button { width: 100%; }

.legal-band {
  margin-top: 2.5rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-left: 5px solid var(--accent);
  border-radius: .55rem;
  background: rgba(0,0,0,.24);
}

.legal-band strong { color: var(--accent-2); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; }
.legal-band p { margin: .4rem 0 0; color: var(--muted); }

.safe-lock { display: grid; gap: .25rem; margin: 1.5rem 0; padding: 1rem 1.2rem; border: 1px solid #65f3a7; border-radius: .55rem; background: rgba(37,178,99,.08); }
.safe-lock strong { color: #82ffc0; letter-spacing: .14em; }
.safe-lock span { color: var(--muted); }

.name-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.name-list span { padding: .7rem 1rem; border: 1px solid var(--line); border-radius: .5rem; background: rgba(255,255,255,.04); font-weight: 800; }

.lead { color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.35rem); }

.support-hero {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: clamp(2.3rem, 7vw, 7rem);
  align-items: center;
  min-height: calc(100svh - 84px);
}

.support-hero h1 { font-size: clamp(3.3rem, 7vw, 7.2rem); }
.support-emblem { display: grid; place-items: center; aspect-ratio: 1; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.03); box-shadow: var(--shadow); }
.support-emblem img { width: 100%; height: 100%; object-fit: contain; }
.support-note { padding: 1rem 1.1rem; border-left: 4px solid var(--accent); color: var(--muted); background: rgba(255,255,255,.035); }

.profile-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.profile-directory a { display: grid; grid-template-columns: 104px 1fr; min-width: 0; min-height: 118px; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: rgba(255,255,255,.035); text-decoration: none; }
.directory-profile { display: grid; place-items: center; align-content: center; gap: .25rem; aspect-ratio: 1; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 28%, #09050f), #09050f 72%); color: var(--accent-2); }
.directory-profile b { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid color-mix(in srgb, var(--accent) 72%, white); border-radius: 50%; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; box-shadow: 0 0 22px color-mix(in srgb, var(--accent) 34%, transparent); }
.directory-profile small { color: var(--muted); font-size: .6rem; letter-spacing: .15em; }
.profile-directory a > span:last-child { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: .9rem 1rem; }
.profile-directory small { color: var(--accent-2); font-size: .66rem; font-weight: 900; letter-spacing: .12em; }
.profile-directory strong { overflow-wrap: anywhere; font-size: .86rem; }
.profile-directory em { color: var(--muted); font-size: .78rem; font-style: normal; }

.token-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 2.3rem; }
.token-grid code { display: block; min-width: 0; margin: .8rem 0; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.token-grid a { color: var(--accent-2); font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: center;
  padding: 2.5rem max(22px, calc((100vw - var(--content)) / 2));
  border-top: 1px solid var(--line);
  background: #050309;
  color: var(--muted);
}

.site-footer div { display: grid; }
.site-footer strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { min-height: 48px; display: inline-flex; align-items: center; font-weight: 800; }
.site-footer p { grid-column: 1 / -1; margin: 0; font-size: .78rem; }

@media (max-width: 960px) {
  .site-header { min-height: 76px; }
  .menu-button {
    z-index: 103;
    display: grid;
    grid-template-columns: repeat(3, 30px);
    gap: 0;
    align-items: center;
    justify-items: center;
    min-width: 58px;
    min-height: 58px;
    border: 0;
    background: transparent;
    color: #fff;
  }
  .menu-button span { grid-column: 1 / -1; width: 30px; height: 2px; margin: 2px 0; background: var(--accent); transition: transform .2s ease, opacity .2s ease; }
  .menu-button b { grid-column: 1 / -1; margin-top: 2px; font-size: .62rem; letter-spacing: .08em; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 102;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(86vw, 390px);
    height: 100dvh;
    padding: 94px 22px 28px;
    transform: none;
    border-left: 1px solid var(--line);
    background: #090611;
    box-shadow: -30px 0 80px rgba(0,0,0,.54);
    transition: none;
  }
  .site-menu a { justify-content: space-between; padding-inline: 1rem; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .site-menu { display: flex; }
  .menu-backdrop { position: fixed; inset: 0 min(86vw, 390px) 0 0; z-index: 101; border: 0; background: rgba(0,0,0,.72); }
  .site-header.menu-open + .menu-backdrop { display: block; }
  .media-row, .media-row.reverse, .support-hero { grid-template-columns: 1fr; }
  .media-row.reverse > picture { order: 0; }
  .role-grid, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-grid article:last-child { grid-column: auto; }
  .hero::after { background: linear-gradient(0deg, rgba(7,5,16,.98) 0%, rgba(7,5,16,.8) 42%, rgba(7,5,16,.25) 100%); }
  .hero-copy { align-self: end; margin-inline: max(22px, calc((100vw - var(--content)) / 2)); }
  .hero-art img { object-position: center top; }
}

@media (max-width: 720px) {
  .site-header { padding-inline: 14px; }
  .brand-profile { flex-basis: 52px; width: 52px; height: 52px; }
  .site-brand strong { font-size: 1.05rem; }
  .site-brand small { font-size: .58rem; }
  .hero, .compact-hero { min-height: calc(100svh - 76px); }
  .hero-art, .hero-art img { position: absolute; height: 58%; }
  .hero-art img { object-fit: contain; object-position: center; }
  .hero-copy { width: auto; padding: 22rem 0 3.8rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.7rem); }
  .hero-copy > p:not(.eyebrow) { font-size: 1rem; }
  .button-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .button { width: 100%; min-height: 52px; }
  .section { padding: 4.8rem 18px; }
  .section-heading h2, .media-row h2 { font-size: clamp(2.45rem, 11vw, 3.8rem); }
  .section-heading { margin-bottom: 2.2rem; }
  .media-row { gap: 2.2rem; }
  .production-picture { border-radius: .8rem; }
  .info-grid, .role-grid, .profile-grid, .profile-directory, .token-grid { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 112px minmax(0, 1fr); min-height: 112px; }
  .profile-copy { padding: .8rem .9rem; }
  .profile-copy strong { font-size: 1.35rem; }
  .profile-copy small { font-size: .58rem; }
  .profile-copy em { font-size: .72rem; }
  .support-hero { min-height: auto; padding-top: 3.5rem; }
  .support-hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .support-emblem { max-width: 430px; width: 100%; margin-inline: auto; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { display: grid; grid-template-columns: 1fr; }
  .site-footer p { grid-column: auto; }
}

@media (max-width: 390px) {
  .site-brand span { max-width: 190px; }
  .site-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-card { grid-template-columns: 96px minmax(0, 1fr); min-height: 104px; }
  .profile-copy { padding: .7rem; }
  .profile-copy strong { font-size: 1.17rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
