:root {
  --navy: #12233b;
  --navy-deep: #0d1a2d;
  --on-navy: #f4efe6;
  --on-navy-soft: #b9c3d2;
  --warm: #f7f3ec;
  --ink: #14233a;
  --ink-soft: #4a5466;
  --rule: #dcd4c6;
  --field: #fffdf9;
  --field-line: #b9b1a3;
  --error: #a3321f;
  --error-bg: #f7e4dd;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --caps: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #c9c0b1 var(--warm);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--warm);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--navy);
}

::selection { background: #d8deea; color: var(--navy-deep); }
.hero ::selection { background: #f4efe6; color: var(--navy-deep); }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.hero :focus-visible { outline-color: var(--on-navy); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
}

/* The bar sits over the photographs. */
.hero .bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  max-width: none;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: clamp(1.25rem, 3vw, 2.25rem);
  padding-bottom: 1rem;
}

.wordmark, .bar-link, .hero-cta, .section-title, .footer, label, .submit {
  font-family: var(--caps);
  font-stretch: 125%;
  font-weight: 500;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--on-navy);
}

.mark {
  display: block;
  flex: none;
  width: 32px;
  height: 24px;
  fill: currentColor;
}

.bar-link {
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--on-navy-soft);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(185, 195, 210, 0.45);
  transition: color 0.2s ease-out, border-color 0.2s ease-out;
}
.bar-link:hover { color: var(--on-navy); border-color: var(--on-navy); }

/* ---------- Hero photographs ---------- */

/* One static, full-width photograph of an arcade floor behind the copy. */
.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  height: clamp(38rem, 90vh, 56rem);
  background: var(--navy-deep);
}

.shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy-deep);
  isolation: isolate;
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* One grade for every photograph: deep shadows, warm lights. */
  filter: brightness(0.8) contrast(1.14) saturate(0.9) sepia(0.24);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(8, 15, 28, 0.55) 100%),
    rgba(150, 82, 28, 0.32);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.shot-main { grid-column: 1; grid-row: 1; }
.shot-main img {
  object-position: 68% 62%;
  /* A low-light neon scene: lift it so the games read through the shared grade. */
  filter: brightness(1.12) contrast(1.08) saturate(0.95) sepia(0.2);
}

/* Navy behind the copy, falling away toward the arcade floor. */
.shot-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 26, 45, 0.8) 0%, rgba(13, 26, 45, 0) 22%),
    linear-gradient(90deg, rgba(18, 35, 59, 0.96) 0%, rgba(18, 35, 59, 0.9) 30%, rgba(18, 35, 59, 0.55) 46%, rgba(18, 35, 59, 0) 66%);
  pointer-events: none;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  align-self: start;
  padding: clamp(6.5rem, 14vh, 8.5rem) var(--gutter) 0;
  max-width: 46rem;
}
.hero-copy .lede { max-width: 33rem;
}

.hero h1 {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  max-width: 17ch;
  text-wrap: balance;
}

.lede {
  margin: 0 0 2.25rem;
  max-width: 40rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: #d6dbe3;
  text-wrap: pretty;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--navy);
  background: var(--on-navy);
  text-decoration: none;
  padding: 1rem 1.4rem 1rem 1.5rem;
  transition: background-color 0.2s ease-out;
}
.hero-cta svg { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease-out); }
.hero-cta:hover { background: #ffffff; }
.hero-cta:hover svg { transform: translateY(3px); }


/* ---------- Shared section layout ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: var(--ink);
  padding-top: 0.65rem;
}

/* ---------- Gathering (why entertainment) ---------- */

.gathering {
  padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 9vw, 7.5rem);
}

/* The story and the crowd photo read as one composition: the shorter text block
   is centred vertically beside the photo. */
.gathering-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.gathering-title {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.gathering-copy { max-width: 36rem; }
.gathering-copy p {
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.gathering-photo { aspect-ratio: 3 / 2; }

/* What we look for: below both columns, under a rule spanning the section. */
.gathering-focus {
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
}
.focus-title {
  margin: 0 0 0.75rem;
  font-family: var(--caps);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink);
}
.gathering-focus p {
  margin: 0;
  max-width: 46rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink);
  text-wrap: pretty;
}
.gathering-photo img { object-position: 50% 62%; }

/* ---------- Ownership ---------- */

.ownership {
  padding: clamp(4.5rem, 11vw, 9rem) 0 clamp(4rem, 9vw, 7.5rem);
  border-top: 1px solid var(--rule);
}

.ownership-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 3.8vw, 2.875rem);
  line-height: 1.12;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

/* Opening row on the same two-column grid as the section above:
   heading left, introduction right. */
.ownership-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.ownership-intro {
  margin: 0;
  padding-top: 0.35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.006em;
  color: var(--ink);
  text-wrap: pretty;
}



.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* One rule across the section, then three equal columns. */
.principles {
  list-style: none;
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.principle h3 {
  /* Room for two lines, so every description starts at the same height. */
  min-height: 2.5em;
  margin: 0 0 0.85rem;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.006em;
  text-wrap: balance;
}

.principle p {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--warm);
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 0;
}

.contact-lede {
  margin: 0;
  max-width: 24rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: -0.006em;
  text-wrap: pretty;
}

.contact-panel { max-width: 40rem; }

.form { display: grid; gap: 1.5rem; }

.field { display: grid; gap: 0.5rem; }

label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink);
}
.optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--ink-soft);
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--field-line);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
textarea { resize: vertical; min-height: 10rem; }

input:hover, textarea:hover { border-color: #8f877a; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.field-error {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--error);
}

.form-alert {
  padding: 1rem 1.1rem;
  background: var(--error-bg);
  color: #6e2113;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 2px;
}
.form-alert:focus { outline: none; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.submit {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--on-navy);
  background: var(--navy);
  border: 0;
  border-radius: 0;
  padding: 1.05rem 1.75rem;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}
.submit:hover { background: var(--navy-deep); }
.submit[aria-busy="true"] { cursor: progress; background: #3b4b63; }
.submit:disabled { cursor: progress; }

.form-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.sent {
  padding: 2rem 0 0;
  border-top: 2px solid var(--navy);
}
.sent:focus { outline: none; }
.sent h3 {
  margin: 0 0 0.75rem;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
}
.sent p { margin: 0; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: var(--on-navy-soft);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  padding: 2.25rem 0;
}

/* ---------- Narrow screens ---------- */

@media (max-width: 52rem) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .gathering-grid { grid-template-columns: 1fr; }
  .gathering-copy { max-width: none; }
  /* Crop in on the people so the shared moment still reads on a phone. */
  .gathering-grid { gap: 2rem; }
  .gathering-photo { aspect-ratio: 16 / 9; }
  .gathering-focus { margin-top: 2.25rem; padding-top: 1.75rem; }

  .ownership-head { grid-template-columns: 1fr; gap: 1.25rem; padding-bottom: 2.25rem; }
  .ownership-intro { padding-top: 0; }
  .principles { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .principle { padding: 1.5rem 0 1.6rem; }
  .principle + .principle { border-top: 1px solid var(--rule); }
  .principle h3 { min-height: 0; margin-bottom: 0.5rem; }
  .gathering-photo img { object-position: 50% 100%; }

  /* Mobile hero: the arcade photo behind the copy. */
  .hero-stage { height: auto; }
  .shot-main img { object-position: 58% 70%; }
  .shot-main::before {
    background:
      linear-gradient(180deg, rgba(13, 26, 45, 0.92) 0%, rgba(13, 26, 45, 0.55) 26%, rgba(18, 35, 59, 0.86) 58%, rgba(18, 35, 59, 0.97) 100%);
  }
  .hero-copy { align-self: end; padding-top: 7.5rem; padding-bottom: 2.75rem; }
  .contact-lede { max-width: 32rem; }
}

@media (max-width: 30rem) {
  .bar { padding-top: 1.25rem; }
  .bar-link { display: none; }
  .wordmark { font-size: 0.7rem; letter-spacing: 0.16em; gap: 0.65rem; }
  .submit { width: 100%; }
}
