:root {
  color-scheme: light;
  --ink: #20221f;
  --muted: #5c625b;
  --paper: #f7f4ee;
  --paper-deep: #ebe5da;
  --line: #d8d0c3;
  --pine: #183d35;
  --teal: #0f7668;
  --cyan: #237e98;
  --rust: #a24b32;
  --amber: #bd7d1c;
  --white: #ffffff;
  --black: #050706;
  --max: 1160px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

section[id] {
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 34px;
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(32, 34, 31, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--teal);
  border-left-color: var(--rust);
  border-radius: 50%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

nav a {
  position: relative;
  padding: 24px 0;
}

nav a:hover {
  color: var(--ink);
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, 82svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.88), rgba(5, 7, 6, 0.48) 48%, rgba(5, 7, 6, 0.16)),
    rgba(5, 7, 6, 0.08);
}

.hero-content {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #83dbc9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(4.2rem, 11vw, 8.5rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.4rem);
}

h3 {
  font-size: 1.14rem;
  line-height: 1.28;
}

.hero-subhead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2.2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.game-promo {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  max-width: 940px;
  margin-top: 22px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(2, 7, 18, 0.93);
  border: 1px solid rgba(76, 174, 255, 0.78);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(0, 20, 70, 0.42), 0 0 28px rgba(32, 115, 255, 0.18);
  backdrop-filter: blur(12px);
}

.game-preview {
  position: relative;
  display: grid;
  min-height: 238px;
  place-items: center;
  overflow: hidden;
  background: #01030a;
  border-right: 1px solid rgba(76, 174, 255, 0.35);
}

.game-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
}

.game-preview:hover img,
.game-preview:focus-visible img {
  filter: brightness(1.12);
  transform: scale(1.025);
}

.game-preview > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: #dff5ff;
  background: rgba(3, 12, 32, 0.9);
  border: 1px solid rgba(112, 208, 255, 0.72);
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-promo-copy {
  align-self: center;
  padding: 24px 26px;
}

.game-kicker {
  margin: 0 0 8px;
  color: #77d8ff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.game-promo h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.game-promo-copy > p:not(.game-kicker):not(.game-hint) {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.game-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 18px;
  color: var(--white);
  background: linear-gradient(135deg, #087ff5, #4946ed 56%, #8a2be2);
  border: 1px solid #9ee8ff;
  border-radius: 7px;
  box-shadow: 0 0 0 3px rgba(61, 154, 255, 0.17), 0 9px 24px rgba(25, 88, 255, 0.42);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.game-button:hover,
.game-button:focus-visible {
  filter: brightness(1.16);
  box-shadow: 0 0 0 4px rgba(114, 216, 255, 0.25), 0 12px 30px rgba(65, 82, 255, 0.54);
  transform: translateY(-2px);
}

.game-hint {
  margin: 12px 0 0;
  color: rgba(181, 220, 239, 0.74);
  font-size: 0.72rem;
  line-height: 1.4;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.58);
}

.button:hover {
  transform: translateY(-1px);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.signal-strip div {
  min-height: 118px;
  padding: 24px 34px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 8px;
  color: var(--pine);
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 48px;
}

.split-heading p,
.approach-layout p,
.person-copy p,
.culture-copy p,
.join-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.theme-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.theme-card,
.principle-grid article {
  min-height: 330px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.theme-card:nth-child(2) {
  border-top-color: var(--teal);
}

.theme-card:nth-child(3) {
  border-top-color: var(--rust);
}

.card-number {
  display: block;
  margin-bottom: 56px;
  color: var(--amber);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
}

.theme-card p,
.principle-grid p,
.publication-list li {
  color: var(--muted);
}

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--black);
}

.image-band figure {
  margin: 0;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.image-band figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.8);
}

.media-section {
  width: 100%;
  max-width: none;
  padding: 100px max(24px, calc((100% - var(--max)) / 2));
  background: #111615;
  color: var(--white);
}

.media-section .section-kicker {
  color: #f0b567;
}

.media-section .split-heading p,
.media-card p,
.specimen-copy p,
.specimen-card span {
  color: rgba(255, 255, 255, 0.76);
}

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

.data-notice {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: -18px 0 30px;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(189, 125, 28, 0.1);
  border: 1px solid rgba(240, 181, 103, 0.46);
  border-radius: var(--radius);
}

.data-notice strong {
  color: #f3c27b;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.data-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  padding: 7px 10px;
  color: #fff5e5;
  background: rgba(5, 7, 6, 0.86);
  border: 1px solid rgba(240, 181, 103, 0.72);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.media-card video,
.media-card video img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--black);
}

.media-card-copy {
  padding: 22px;
}

.media-card h3,
.specimen-copy h3 {
  margin-bottom: 10px;
  color: var(--white);
}

.media-card p,
.specimen-copy p {
  margin-bottom: 0;
}

.specimen-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  margin-top: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.specimen-image {
  position: relative;
  min-height: 460px;
  margin: 0;
  background: var(--black);
}

.specimen-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center 36%;
}

.specimen-image figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.82);
}

.specimen-copy {
  align-self: center;
  padding: 34px;
}

.specimen-gallery {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.specimen-card {
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.specimen-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--black);
}

.specimen-card-wide img {
  aspect-ratio: 16 / 7;
}

.specimen-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.specimen-card strong {
  color: var(--white);
}

.specimen-card span {
  display: block;
  font-size: 0.96rem;
}

.approach-section {
  border-bottom: 1px solid var(--line);
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 56px;
}

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

.method-list li {
  min-height: 86px;
  padding: 18px;
  background: var(--paper-deep);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  font-weight: 700;
}

.method-list li:nth-child(2n) {
  border-left-color: var(--rust);
}

.people-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.person-media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.person-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead {
  color: var(--ink) !important;
  font-size: 1.18rem !important;
}

.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  padding: 7px 10px;
  color: var(--pine);
  background: rgba(15, 118, 104, 0.08);
  border: 1px solid rgba(15, 118, 104, 0.24);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.profile-links a {
  min-height: 92px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.profile-links a:hover,
.profile-links a:focus-visible {
  border-color: var(--teal);
  box-shadow: 0 8px 24px rgba(24, 61, 53, 0.08);
  transform: translateY(-2px);
}

.profile-links strong,
.profile-links span {
  display: block;
}

.profile-links strong {
  margin-bottom: 4px;
  color: var(--pine);
}

.profile-links span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.publications-section {
  border-top: 1px solid var(--line);
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: -20px 0 32px;
}

.text-link {
  color: var(--teal);
  border-bottom: 1px solid rgba(15, 118, 104, 0.36);
  font-size: 0.92rem;
  font-weight: 800;
}

.text-link::after {
  content: " ↗";
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--pine);
  border-bottom-color: var(--pine);
}

.publication-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
}

.publication-list li {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.publication-list strong {
  display: block;
  color: var(--ink);
}

.news-section {
  width: 100%;
  padding: 100px max(24px, calc((100% - var(--max)) / 2));
  background: #edf2ef;
  border-top: 1px solid var(--line);
}

.news-inner {
  width: 100%;
}

.news-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: start;
  margin-bottom: 42px;
}

.news-heading p {
  color: var(--muted);
  font-size: 1.04rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.social-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(24, 61, 53, 0.08);
}

.social-card:nth-child(2) {
  border-top-color: var(--rust);
}

.social-card:nth-child(3) {
  border-top-color: var(--amber);
}

.instagram-embed-shell {
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  padding: 1px;
  background: #fafafa;
}

.instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 540px !important;
  margin: 0 auto !important;
  background: var(--white);
  border: 0;
}

.instagram-fallback {
  display: grid;
  min-height: 260px;
  padding: 30px;
  place-content: center;
  gap: 8px;
  color: var(--teal);
  text-align: center;
}

.instagram-fallback span {
  color: var(--muted);
  font-size: 0.84rem;
}

.social-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.social-card-footer > span {
  color: var(--muted);
}

.social-card-footer strong {
  color: var(--pine);
}

.social-card-footer a {
  flex: 0 0 auto;
  color: var(--teal);
  font-weight: 800;
}

.social-card-footer a:hover,
.social-card-footer a:focus-visible {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.culture-section {
  width: 100%;
  max-width: none;
  padding: 100px max(24px, calc((100% - var(--max)) / 2));
  background: var(--pine);
  color: var(--white);
}

.culture-section .section-kicker {
  color: #f0b567;
}

.culture-copy {
  max-width: 900px;
  margin-bottom: 44px;
}

.culture-copy p,
.principle-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.principle-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  min-height: 620px;
  background: var(--white);
}

.join-image {
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

.join-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.join-copy {
  align-self: center;
  max-width: 680px;
  padding: 80px 56px;
}

.join-copy .button.primary {
  margin: 18px 0 14px;
}

.small-note {
  font-size: 0.94rem !important;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  padding: 24px 34px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 24px;
    gap: 8px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 10px;
    font-size: 0.9rem;
  }

  nav a {
    padding: 4px 0 10px;
  }

  nav a::after {
    bottom: 4px;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-content,
  .section {
    width: min(var(--max), calc(100% - 32px));
  }

  .signal-strip,
  .split-heading,
  .news-heading,
  .theme-grid,
  .video-grid,
  .specimen-feature,
  .specimen-gallery,
  .approach-layout,
  .people-section,
  .principle-grid,
  .join-section {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .method-list {
    grid-template-columns: 1fr;
  }

  .join-image {
    min-height: 420px;
  }

  .specimen-image,
  .specimen-image img {
    min-height: 420px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: auto;
  }

  .hero-content {
    padding: 42px 0 56px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .section,
  .media-section,
  .news-section,
  .culture-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .theme-card,
  .principle-grid article {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 28px;
  }

  .data-notice,
  .profile-links {
    grid-template-columns: 1fr;
  }

  .data-notice {
    gap: 4px;
  }

  .join-copy {
    padding: 64px 24px;
  }
}

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

  .instagram-embed-shell,
  .instagram-media {
    min-height: 600px;
  }

  .game-promo {
    grid-template-columns: 1fr;
  }

  .game-preview {
    min-height: 0;
    aspect-ratio: 3 / 2;
    border-right: 0;
    border-bottom: 1px solid rgba(76, 174, 255, 0.35);
  }

  .game-promo-copy {
    padding: 22px;
  }

  .game-button {
    width: 100%;
  }
}
