/* ==========================================================================
   Football Agent Inc. — site stylesheet
   One file, no framework. The values below are the game's own design system
   (Football Agent/UI/DesignSystem.swift): warm paper, pitch green, brass.
   Structure:
     1. Tokens
     2. Reset and base
     3. Layout primitives
     4. Header and navigation
     5. Hero
     6. Proof strip
     7. Sections and headings
     8. The game (editorial + agreement card)
     9. The season (timeline)
    10. Features
    11. Screens gallery
    12. Offices
    13. Ownership
    14. Privacy
    15. Download
    16. Footer
    17. Inner pages (privacy, 404)
    18. Motion and print
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  /* Colour — mirrors Palette in DesignSystem.swift. */
  --paper: #fbf5e9;
  --surface: #fffdf8;
  --surface-alt: #f3ead8;
  --ink: #1e1811;
  --ink-2: #776a57;
  --ink-3: #a2957f; /* decoration only: too light for small text */
  --ink-label: #7a6d5a; /* small caps, meta and table labels: 4.6:1 on paper */
  --pitch: #17593b;
  --pitch-deep: #0d3a26;
  --pitch-tint: #e4efe3;
  --brass: #a97a22;
  --brass-deep: #8c6216;
  --brass-tint: #f6ebd2;
  --clay: #a8452c;
  --line: #e7dcc7;
  --line-strong: #d9cbaf;
  --cream: #fdf6e7;

  /* Type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --t-hero: clamp(3.05rem, 7.4vw, 6.4rem);
  --t-h2: clamp(2.05rem, 4.35vw, 3.55rem);
  --t-h3: clamp(1.22rem, 1.15rem + 0.35vw, 1.5rem);
  --t-lead: clamp(1.06rem, 1rem + 0.4vw, 1.28rem);
  --t-body: 1.0625rem;
  --t-small: 0.9rem;
  --t-micro: 0.7rem;

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1180px;
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Elevation — warm shadows, never grey. */
  --shadow-sm: 0 1px 2px rgba(30, 24, 17, 0.05), 0 2px 6px -2px rgba(30, 24, 17, 0.05);
  --shadow: 0 1px 2px rgba(30, 24, 17, 0.04), 0 14px 34px -18px rgba(30, 24, 17, 0.22);
  --shadow-lg: 0 2px 4px rgba(30, 24, 17, 0.05), 0 34px 70px -32px rgba(30, 24, 17, 0.38);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Reset and base ------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  text-underline-offset: 0.22em;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(169, 122, 34, 0.11), transparent 62%),
    radial-gradient(880px 520px at 2% 12%, rgba(23, 89, 59, 0.06), transparent 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--brass-tint);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--pitch);
  outline-offset: 3px;
  border-radius: 4px;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

/* Paper grain: one tiny tile, multiplied at almost nothing. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--pitch);
  color: var(--cream);
  font-size: var(--t-small);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: var(--brass);
}

/* 3. Layout primitives ---------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide {
  max-width: 1340px;
}

.section {
  padding-block: var(--section);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 4. Header and navigation ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 245, 233, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.site-header.is-stuck::before {
  opacity: 1;
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -26px rgba(30, 24, 17, 0.6);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.75rem;
  transition: height 0.25s var(--ease);
}

.site-header.is-stuck .site-header__inner {
  height: 4.1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  letter-spacing: -0.01em;
}

.brand__mark {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.6rem;
  box-shadow: 0 1px 2px rgba(30, 24, 17, 0.18), 0 6px 14px -8px rgba(30, 24, 17, 0.5);
  overflow: hidden;
}

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

.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 32;
}

.brand__name span {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-label);
  margin-top: 0.22rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink);
  background: rgba(243, 234, 216, 0.7);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* Language picker: a <details>, so it works with the keyboard and without JS. */
.lang {
  position: relative;
}

.lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.55rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.6);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  list-style: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

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

.lang > summary:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--surface);
}

.lang[open] > summary {
  border-color: var(--ink-label);
  color: var(--ink);
  background: var(--surface);
}

.lang__globe {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.lang__chevron {
  width: 0.62rem;
  height: 0.62rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.2s var(--ease);
}

.lang[open] .lang__chevron {
  transform: rotate(180deg);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 20;
  width: 15rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: menu-in 0.16s var(--ease-out);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.lang__menu a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-2);
}

.lang__menu a:hover {
  background: var(--surface-alt);
  color: var(--ink);
}

.lang__menu a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
  background: var(--brass-tint);
}

.lang__menu .code {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-label);
}

.lang__menu a[aria-current="true"] .code {
  color: var(--brass-deep);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn--solid {
  background: var(--pitch);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--shadow-sm);
}

.btn--solid:hover {
  background: var(--pitch-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px -14px rgba(13, 58, 38, 0.9);
}

.btn--ghost {
  background: rgba(255, 253, 248, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.btn--lg {
  padding: 1rem 1.5rem;
  font-size: 0.98rem;
}

.btn__icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

/* The hamburger is the only control that needs scripting. */
.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  place-items: center;
}

.menu-toggle__bars {
  position: relative;
  width: 1.05rem;
  height: 0.55rem;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle__bars::before {
  top: 0;
}

.menu-toggle__bars::after {
  top: calc(100% - 1.5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 1.25rem var(--gutter) 2rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0s linear 0.25s;
}

.mobile-menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
  margin-bottom: 1.5rem;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-block: 0.5rem;
  border-top: 1px solid var(--line);
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 48;
}

.mobile-menu__links a span {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-label);
}

.mobile-menu__langs {
  margin-top: 1.75rem;
}

.mobile-menu__langs h3 {
  font-family: var(--sans);
  font-size: var(--t-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-label);
  margin-bottom: 0.75rem;
}

.mobile-menu__langs ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.mobile-menu__langs a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: 0.86rem;
  color: var(--ink-2);
}

.mobile-menu__langs a[aria-current="true"] {
  background: var(--brass-tint);
  color: var(--ink);
  font-weight: 600;
}

/* 5. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(2.25rem, 5vw, 4.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    rgba(23, 89, 59, 0.045) 0 25%,
    transparent 25% 50%,
    rgba(23, 89, 59, 0.045) 50% 75%,
    transparent 75% 100%
  );
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-label);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}

.eyebrow--brass {
  color: rgba(253, 246, 231, 0.85);
}

.eyebrow--brass::before {
  background: var(--brass);
  opacity: 1;
}

.hero h1 {
  margin-top: 1.15rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--t-hero);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.04em;
  bottom: 0.04em;
  height: 0.055em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brass), rgba(169, 122, 34, 0.25));
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero__lead strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* Store badges — placeholders until the two listings are live. */
.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.5rem;
  padding: 0.55rem 1.05rem 0.55rem 0.9rem;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #1d2a22, #0d1a13 60%, #101c15);
  color: var(--cream);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

a.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 122, 34, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 30px -18px rgba(13, 26, 19, 0.8);
}

.store-badge__icon {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  fill: currentColor;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge__text small {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 246, 231, 0.66);
}

.store-badge__text strong {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.store-badge__soon {
  position: absolute;
  top: -0.5rem;
  right: -0.4rem;
  padding: 0.16rem 0.42rem;
  border-radius: var(--radius-pill);
  background: var(--brass);
  color: #1f1607;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(30, 24, 17, 0.22);
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 1.35rem;
  font-size: 0.8rem;
  color: var(--ink-label);
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.trust li::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--brass);
  opacity: 0.85;
}

/* Hero stage: three phones, the middle one forward. */
.stage {
  /* No fixed aspect ratio: the middle phone sets the height, the two side
     phones are absolute and tuck behind it. A ratio taller than the phone
     would push the bezel into the header and the proof strip. */
  position: relative;
  width: 100%;
  max-width: 35rem;
  margin-inline: auto;
  padding-block: 0.5rem;
  display: grid;
  place-items: center;
}

.stage__arc {
  position: absolute;
  inset: 4% -6% -2% -6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(169, 122, 34, 0.16),
    rgba(169, 122, 34, 0.05) 62%,
    transparent 72%
  );
  filter: blur(2px);
}

.stage__ring {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  z-index: 0;
  border: 1px solid rgba(169, 122, 34, 0.22);
  border-radius: 50%;
}

.stage__ring::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(23, 89, 59, 0.1);
  border-radius: 50%;
}

.phone {
  position: relative;
  margin: 0;
  border-radius: clamp(1.6rem, 4.6vw, 2.5rem);
  padding: clamp(4px, 0.9vw, 7px);
  background: linear-gradient(155deg, #4a3d2c 0%, #1a140d 22%, #2a2117 62%, #100c08 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}

.phone::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: calc(clamp(1.6rem, 4.6vw, 2.5rem) - clamp(4px, 0.9vw, 7px));
  background: var(--paper);
}

.phone--main {
  position: relative;
  z-index: 3;
  width: min(58%, 19.5rem);
  animation: phone-in 1s var(--ease-out) both;
}

.phone--left,
.phone--right {
  position: absolute;
  top: 13%;
  width: 41%;
  z-index: 1;
  opacity: 0.96;
  animation: phone-in 1.15s var(--ease-out) both;
}

.phone--left {
  left: -1%;
  transform: rotate(-8deg) translateY(6%);
  animation-delay: 0.1s;
}

.phone--right {
  right: -1%;
  top: 8%;
  z-index: 2;
  transform: rotate(8deg);
  animation-delay: 0.18s;
}

.phone--left img,
.phone--right img {
  filter: saturate(0.94);
}

@keyframes phone-in {
  from {
    opacity: 0;
    translate: 0 1.5rem;
  }
}

.stage__note {
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.stage__note b {
  font-weight: 600;
  color: var(--ink);
}

.stage__dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--pitch);
  box-shadow: 0 0 0 3px var(--pitch-tint);
}

/* 6. Proof strip ---------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(0.5rem, 2vw, 1.6rem);
  border-left: 1px solid var(--line);
}

.stats li:first-child {
  border-left: 0;
  padding-left: 0;
}

.stats li:last-child {
  padding-right: 0;
}

.stats__num {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  font-variation-settings: "opsz" 96;
}

.stats__num i {
  font-style: normal;
  font-size: 0.48em;
  color: var(--brass);
  letter-spacing: 0;
}

.stats__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.stats__note {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-label);
  text-wrap: pretty;
}

/* 7. Sections and headings ------------------------------------------------ */

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.25rem, 3vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}

.section__head .eyebrow {
  grid-column: 1 / -1;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--t-h2);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 120;
  text-wrap: balance;
}

.section h2 em {
  font-style: italic;
  font-weight: 500;
}

.section__lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34rem;
  text-wrap: pretty;
}

.prose p {
  color: var(--ink-2);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose em {
  font-style: italic;
}

/* 8. The game ------------------------------------------------------------- */

.game {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.game__sticky {
  position: sticky;
  top: 7rem;
}

.game__sticky h2 {
  margin-top: 1.1rem;
}

.game__sticky .section__lead {
  margin-top: 1.4rem;
}

.game__body {
  padding-top: 0.35rem;
}

.pull {
  margin: 2.25rem 0 0;
  padding-left: 1.15rem;
  border-left: 2px solid var(--brass);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}

/* The agreement card: a piece of paper on the page. */
.agreement {
  position: relative;
  margin-top: 2.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 3px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(255, 253, 248, 1)),
    var(--surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 40px -32px rgba(30, 24, 17, 0.55);
  transform: rotate(-0.7deg);
  transform-origin: 50% 0;
}

.agreement::before {
  content: "";
  position: absolute;
  inset: 0.4rem;
  border: 1px solid rgba(169, 122, 34, 0.28);
  border-radius: 2px;
  pointer-events: none;
}

.agreement__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.agreement__kicker {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.agreement__title {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 0.22rem;
}

.agreement__mono {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brass-deep);
  flex: none;
}

.agreement dl {
  display: grid;
  gap: 0;
  margin-top: 0.4rem;
}

.agreement__row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.62rem 0;
  border-bottom: 1px dotted rgba(169, 122, 34, 0.42);
}

.agreement__row dd {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
}

.agreement__row:last-of-type {
  border-bottom: 0;
}

.agreement__row dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-label);
  flex: none;
}

.agreement__row .leader {
  flex: 1;
  min-width: 0.75rem;
  border-bottom: 1px dotted rgba(169, 122, 34, 0.32);
  transform: translateY(-0.22rem);
}

.agreement__row dd span:last-child {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-align: right;
  flex: none;
}

.agreement__sign {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}

.agreement__sig {
  width: 8.5rem;
  height: auto;
  overflow: visible;
}

.agreement__sig path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.82;
}

.agreement__sig-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-label);
  border-top: 1px solid var(--line-strong);
  padding-top: 0.28rem;
  margin-top: 0.1rem;
}

.agreement__seal {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  border: 1px solid rgba(169, 122, 34, 0.55);
  background: radial-gradient(circle at 32% 28%, #e7c78a, #b5852b 62%, #90671a);
  color: #3b2a0b;
  font-family: var(--sans);
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.45), 0 4px 10px -4px rgba(30, 24, 17, 0.4);
  transform: rotate(8deg);
  flex: none;
}

/* 9. The season ----------------------------------------------------------- */

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

.timeline {
  --dot: 0.62rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--line) 72%, transparent);
}

.timeline__step {
  position: relative;
  padding-top: 1.9rem;
}

.timeline__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--dot);
  height: var(--dot);
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--brass);
  box-shadow: 0 0 0 4px var(--paper);
}

.timeline__step:last-child::before {
  background: var(--brass);
}

.timeline__weeks {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
}

.timeline__title {
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: 1.17rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.timeline__body {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* 10. Features ------------------------------------------------------------ */

.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.4vw, 1.1rem);
}

.feature {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 253, 248, 0.65));
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.feature--wide {
  grid-column: span 3;
}

.feature--full {
  grid-column: span 6;
}

.feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.15rem;
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: var(--pitch-tint);
  color: var(--pitch);
  flex: none;
}

.feature__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature:nth-child(3n + 2) .feature__icon {
  background: var(--brass-tint);
  color: var(--brass-deep);
}

.feature__num {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: var(--ink-label);
  font-variant-numeric: tabular-nums;
}

.feature h3 {
  font-family: var(--serif);
  font-size: var(--t-h3);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.feature p {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-2);
  text-wrap: pretty;
}

.feature--accent {
  background: linear-gradient(150deg, var(--pitch) 0%, var(--pitch-deep) 78%);
  border-color: rgba(13, 58, 38, 0.8);
  color: var(--cream);
  box-shadow: 0 18px 40px -28px rgba(13, 58, 38, 0.8);
}

.feature--accent h3 {
  color: var(--cream);
}

.feature--accent p {
  color: rgba(253, 246, 231, 0.74);
}

.feature--accent .feature__num {
  color: rgba(253, 246, 231, 0.7);
}

.feature--accent .feature__icon {
  background: rgba(253, 246, 231, 0.1);
  color: #e4c07c;
}

/* 11. Screens gallery ----------------------------------------------------- */

.gallery-section {
  overflow: clip;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.gallery-head__text {
  max-width: 38rem;
}

.gallery-head__text h2 {
  margin-top: 1.05rem;
}

.gallery-head__text .section__lead {
  margin-top: 1.1rem;
}

.gallery-arrows {
  display: flex;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
}

.arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    opacity 0.18s var(--ease);
}

.arrow:hover:not(:disabled) {
  background: var(--surface-alt);
  border-color: var(--line-strong);
}

.arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.arrow svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem var(--gutter) 1.5rem;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.screen {
  flex: 0 0 auto;
  width: clamp(12.5rem, 21vw, 16.5rem);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.screen__frame {
  position: relative;
  border-radius: clamp(1.35rem, 3vw, 1.9rem);
  padding: clamp(3px, 0.6vw, 5px);
  background: linear-gradient(155deg, #4a3d2c, #1a140d 30%, #2a2117 70%, #100c08);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.screen:hover .screen__frame {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.screen__frame img {
  width: 100%;
  height: auto;
  border-radius: calc(clamp(1.35rem, 3vw, 1.9rem) - clamp(3px, 0.6vw, 5px));
  background: var(--paper);
}

.screen__caption {
  padding-inline: 0.15rem;
}

.screen__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.screen__label span {
  color: var(--ink-label);
  letter-spacing: 0.06em;
  font-weight: 600;
}

.screen__headline {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: pretty;
}

/* 12. Offices ------------------------------------------------------------- */

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

.office-list {
  border-bottom: 1px solid var(--line);
}

.office--head {
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line-strong);
  pointer-events: none;
}

.office--head:hover {
  background: none;
}

.office--head span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-label);
  line-height: 1.3;
}

.office {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1.35fr) minmax(0, 0.7fr) minmax(0, 0.55fr) minmax(0, 0.62fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  padding: clamp(1.05rem, 2.3vw, 1.5rem) 0.5rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.office:last-child {
  border-bottom: 0;
}

.office:hover {
  background: rgba(255, 253, 248, 0.6);
}

.office--top {
  margin-inline: -0.9rem;
  padding-inline: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--pitch-tint), rgba(228, 239, 227, 0.35));
  border-bottom-color: transparent;
}

.office--top:hover {
  background: linear-gradient(120deg, #dceada, rgba(228, 239, 227, 0.45));
}

.office__index {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brass-deep);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.office__name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.15;
}

.office__name small {
  display: block;
  margin-top: 0.22rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-label);
}

.office__metric {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.office__metric b {
  display: none;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-label);
  margin-bottom: 0.2rem;
}

.office--top .office__metric b {
  color: rgba(30, 24, 17, 0.62);
}

.offices__note {
  display: flex;
  gap: 0.7rem;
  max-width: 44rem;
  margin-top: 1.6rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.offices__note svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.15rem;
  stroke: var(--brass-deep);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 13. Ownership ----------------------------------------------------------- */

.pitch-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(169, 122, 34, 0.26), transparent 58%),
    linear-gradient(155deg, #1a6543 0%, var(--pitch) 38%, var(--pitch-deep) 100%);
  color: var(--cream);
  padding: clamp(1.75rem, 5vw, 4rem);
  box-shadow: 0 40px 80px -50px rgba(13, 58, 38, 0.9);
  isolation: isolate;
}

.pitch-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 58%;
  width: 58%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(253, 246, 231, 0.12);
  border-radius: 50%;
}

.pitch-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(253, 246, 231, 0.055) 0 12.5%, transparent 12.5% 25%);
  background-size: 100% 100%;
  mask-image: radial-gradient(120% 90% at 70% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, black, transparent 75%);
  opacity: 0.55;
}

.ownership {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.ownership h2 {
  margin-top: 1.05rem;
  color: var(--cream);
}

.ownership__body {
  margin-top: 1.35rem;
  max-width: 33rem;
  color: rgba(253, 246, 231, 0.76);
  font-size: 1.03rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.ownership__list {
  margin-top: 1.9rem;
  border-top: 1px solid rgba(253, 246, 231, 0.16);
}

.ownership__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(253, 246, 231, 0.16);
  font-size: 0.92rem;
  color: rgba(253, 246, 231, 0.86);
  line-height: 1.5;
}

.ownership__list svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.22rem;
  stroke: #dfbb74;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control {
  position: relative;
  text-align: center;
  padding: clamp(1rem, 3vw, 2rem) 0;
}

.control__figure {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(5rem, 14vw, 9.5rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: "opsz" 144;
  color: var(--cream);
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
}

.control__figure i {
  font-style: normal;
  font-size: 0.42em;
  margin-top: 0.08em;
  margin-left: 0.03em;
  color: #e2bd7a;
}

.control__label {
  margin-top: 0.9rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 246, 231, 0.8);
}

.control__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.25rem;
  border-top: 1px solid rgba(253, 246, 231, 0.16);
}

.control__stats div {
  padding: 1.1rem 0.5rem 0;
  border-left: 1px solid rgba(253, 246, 231, 0.16);
}

.control__stats div:first-child {
  border-left: 0;
  padding-left: 0;
}

.control__stats b {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.control__stats span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(253, 246, 231, 0.8);
}

/* 14. Privacy ------------------------------------------------------------- */

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

.privacy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.1rem);
}

.privacy__card {
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.privacy__card svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--pitch);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.privacy__card h3 {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.privacy__card p {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--ink-2);
  text-wrap: pretty;
}

.privacy__note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid rgba(169, 122, 34, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(246, 235, 210, 0.5);
  font-size: 0.88rem;
  color: #6b5322;
}

.privacy__note svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  stroke: var(--brass-deep);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 15. Download ------------------------------------------------------------ */

.download {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 110% at 50% -12%, rgba(169, 122, 34, 0.16), transparent 62%),
    linear-gradient(180deg, #fffdf8, #f8f0df);
  box-shadow: var(--shadow);
}

.download::before,
.download::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 1px solid rgba(23, 89, 59, 0.09);
  pointer-events: none;
}

.download::before {
  top: -11rem;
  left: -6rem;
}

.download::after {
  bottom: -13rem;
  right: -7rem;
}

.download h2 {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.download__lead {
  margin: 1.1rem auto 0;
  max-width: 32rem;
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.download .cta-row {
  justify-content: center;
  margin-top: 2rem;
}

.download__note {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  color: var(--ink-label);
}

.download__soon {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brass-deep);
}

.store-badge[aria-disabled="true"] {
  cursor: default;
}

.download__langs {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-2);
}

.download__langs b {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-label);
}

.download__langs span {
  white-space: nowrap;
}

.download__langs span + span::before {
  content: "·";
  margin-right: 0.9rem;
  color: var(--line-strong);
}

/* 16. Footer -------------------------------------------------------------- */

.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}

.footer__brand .brand__name {
  font-size: 1.3rem;
}

.footer__tagline {
  margin-top: 1rem;
  max-width: 19rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.footer h3 {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-label);
  margin-bottom: 0.9rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-2);
}

.footer__links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ink-label);
}

.footer__legal {
  max-width: 46rem;
  text-wrap: pretty;
}

.footer__copyright {
  white-space: nowrap;
}

/* 17. Inner pages --------------------------------------------------------- */

.page {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.page__head {
  max-width: 48rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--line);
}

.page__head h1 {
  margin-top: 1.1rem;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}

.page__meta {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--ink-label);
}

.page__body {
  max-width: 42rem;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.page__body h2 {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page__body h2:first-child {
  margin-top: 0;
}

.page__body p,
.page__body li {
  margin-top: 0.85rem;
  color: var(--ink-2);
  text-wrap: pretty;
}

.page__body ul {
  padding-left: 1.1rem;
  list-style: disc;
}

.page__body li::marker {
  color: var(--brass);
}

.page__body strong {
  color: var(--ink);
  font-weight: 600;
}

.page__body a {
  color: var(--pitch);
  text-decoration: underline;
  text-decoration-color: rgba(23, 89, 59, 0.3);
}

.page__body a:hover {
  text-decoration-color: var(--pitch);
}

.page__back {
  margin-top: 2.5rem;
}

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.not-found__figure {
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--pitch);
  font-variant-numeric: tabular-nums;
}

.not-found h1 {
  margin-top: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.not-found p {
  margin-top: 0.75rem;
  color: var(--ink-2);
  max-width: 26rem;
}

/* 18. Motion and print ---------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.35rem);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .mobile-menu,
  .grain,
  .skip-link,
  .gallery-arrows {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .pitch-panel {
    color: #000;
    background: #fff;
    border: 1px solid #999;
  }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1080px) {
  .section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section__lead {
    max-width: 44rem;
  }

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

  .game__sticky {
    position: static;
  }

  .ownership {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .control {
    padding-top: 0;
  }

  .control__stats {
    margin-top: 1.5rem;
  }

  .feature--wide {
    grid-column: span 3;
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header-actions .lang {
    display: none;
  }

  .header-actions .btn--solid {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__copy {
    max-width: 40rem;
  }

  .stage {
    max-width: 30rem;
  }

  .stage__note {
    font-size: 0.68rem;
  }

  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature,
  .feature--wide,
  .feature--full {
    grid-column: span 1;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  :root {
    --t-body: 1rem;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats li {
    border-top: 1px solid var(--line);
    padding-inline: 0;
    padding-block: 1.25rem;
  }

  .stats li:nth-child(-n + 2) {
    border-top: 0;
  }

  .stats li:nth-child(odd) {
    padding-right: 1rem;
    border-left: 0;
  }

  .stats li:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 1.4rem;
  }

  .timeline::before {
    top: 0.3rem;
    bottom: 0.6rem;
    left: 0.3rem;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--line-strong), var(--line) 80%, transparent);
  }

  .timeline__step {
    padding: 0 0 1.75rem;
  }

  .timeline__step::before {
    left: -1.4rem;
  }

  .timeline__step:last-child {
    padding-bottom: 0;
  }

  .feature {
    padding: 1.15rem;
  }

  .office {
    grid-template-columns: 2.1rem minmax(0, 1fr) auto;
    row-gap: 0.6rem;
    align-items: start;
  }

  .office--head {
    display: none;
  }

  .office__name {
    grid-column: 2;
    grid-row: 1;
  }

  .office__metric b {
    display: block;
  }

  .office__metric {
    font-size: 0.78rem;
  }

  .office__metric--rep {
    grid-column: 2;
    grid-row: 2;
  }

  .office__metric--players {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
  }

  .office__metric--rent {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
  }

  .office__index {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .office--top {
    margin-inline: -0.75rem;
    padding-inline: 0.95rem;
  }

  .privacy__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    padding-inline: var(--gutter);
  }

  .gallery-arrows {
    display: none;
  }

  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .cta-row {
    gap: 0.6rem;
  }

  .store-badge {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .stage__note {
    bottom: -1.1rem;
  }

  .agreement {
    transform: none;
  }

  .agreement__sig {
    width: 7rem;
  }

  .control__figure {
    font-size: clamp(4.4rem, 26vw, 7rem);
  }

  .download {
    padding-inline: 1.15rem;
  }
}

/* Long German compounds and Turkish agglutination: break instead of overflow. */
:lang(de) h1,
:lang(de) h2,
:lang(de) h3,
:lang(tr) h1,
:lang(tr) h2,
:lang(tr) h3 {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}

@media (hover: none) {
  .feature:hover,
  .screen:hover .screen__frame,
  a.store-badge:hover {
    transform: none;
  }
}

/* A publisher field that has not been filled in yet (tools/deploy.sh blocks it). */
.todo {
  background: #F6E2B3;
  color: #1E1811;
  padding: 0 0.3em;
  border-radius: 4px;
}
