/* iGold Technologies - site styles */
/* ---------- Font: Montserrat (SIL Open Font License) ---------- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat Fallback';
  font-weight: 100 550;
  src: local('Arial'), local('ArialMT');
  size-adjust: 113%;
  ascent-override: 85.7%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Montserrat Fallback';
  font-weight: 551 900;
  src: local('Arial Bold'), local('Arial-BoldMT');
  size-adjust: 101%;
  ascent-override: 95.8%;
  descent-override: 24.9%;
  line-gap-override: 0%;
}

:root {
  --navy-950: #0b1220;
  --navy-900: #101a2d;
  --navy-850: #132037;
  --navy-800: #172238;
  --navy-700: #22324e;
  --orange: #f5a425;
  --orange-2: #ffba44;
  --cyan: #33ccff;
  --text: #ffffff;
  --muted: #b8c2d3;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --header-h: 68px;
  --wrap: 1440px;
}

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

html.smooth { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--text);
  font-family: 'Montserrat', 'Montserrat Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--orange-2); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 90%;
  max-width: var(--wrap);
  margin: 0 auto;
}

section[id] { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--navy-950);
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--navy-950); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn img { width: 24px; height: 24px; }

.btn-primary {
  background: var(--orange);
  color: var(--navy-950);
  box-shadow: 0 10px 30px rgba(245, 164, 37, .28);
}
.btn-primary:hover { background: var(--orange-2); color: var(--navy-950); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--orange); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(11, 18, 32, .85), rgba(11, 18, 32, .35));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 18, 32, .92);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand img { width: 118px; height: auto; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--orange-2); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--orange); }

.has-sub { position: relative; }
.has-sub > a { padding-right: 26px; }
.has-sub > a::before {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  padding: 8px !important;
  display: block !important;
  border-radius: 14px;
  background: var(--navy-850);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { border-radius: 8px; }
.sub-menu a::after { display: none; }
.sub-menu a:hover { background: rgba(255, 255, 255, .06); }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ''; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 12px 16px 20px;
    background: rgba(11, 18, 32, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 14px; }
  .main-nav a::after { display: none; }
  .has-sub > a::before { display: none; }
  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 14px !important;
  }
  .sub-menu a { font-size: 13px; color: var(--muted); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900) url('../images/hero-poster.webp') center / cover no-repeat;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 18, 32, .92) 0%, rgba(11, 18, 32, .72) 38%, rgba(11, 18, 32, .2) 75%),
    linear-gradient(180deg, rgba(11, 18, 32, 0) 60%, var(--navy-950) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .55);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease;
}
.announce:hover { color: #fff; border-color: rgba(245, 164, 37, .8); background: rgba(11, 18, 32, .75); }
.announce .tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.announce .arrow {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
.announce:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--orange);
}
.hero h1 em { font-style: normal; color: #fff; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-left: 3px; /* balances the letter-spacing */
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.scroll-cue:hover { color: var(--orange-2); }
.scroll-cue i {
  position: relative;
  width: 14px;
  height: 24px;
}
.scroll-cue i::before,
.scroll-cue i::after {
  content: '';
  position: absolute;
  left: 2px;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  opacity: 0;
  animation: cue 1.8s ease-in-out infinite;
}
.scroll-cue i::before { top: 0; }
.scroll-cue i::after { top: 8px; animation-delay: .25s; }
@keyframes cue {
  0% { opacity: 0; transform: translateY(-4px) rotate(45deg); }
  45% { opacity: 1; }
  100% { opacity: 0; transform: translateY(6px) rotate(45deg); }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-head .kicker {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.section-head h2 span { color: var(--orange); }

/* ---------- Featured game ---------- */
.featured { padding: 30px 0 0; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--navy-900);
  isolation: isolate;
}
.feature-card > img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  z-index: -2;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 19, 34, .97) 0%, rgba(12, 19, 34, .85) 40%, rgba(12, 19, 34, .1) 80%);
}
.feature-copy { max-width: 560px; padding: 44px; }
.feature-copy .tf-logo { width: 260px; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
.tag-line {
  display: inline-block;
  margin: 14px 0 0;
  padding: 7px 14px;
  background: var(--orange);
  color: var(--navy-800);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
}
.feature-copy p { margin: 16px 0 24px; color: #dbe2ee; }
.feature-copy .hero-actions { margin-top: 0; }
.new-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 18, 32, .75);
  border: 1px solid rgba(245, 164, 37, .6);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Game rows ---------- */
.games { padding-bottom: 30px; }
.games + .games { padding-top: 40px; }
.row-controls { display: flex; gap: 10px; }
.row-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: var(--navy-800);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.row-btn::before {
  content: '';
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
}
.row-btn.prev::before { transform: rotate(135deg); margin-left: 4px; }
.row-btn.next::before { transform: rotate(-45deg); margin-right: 4px; }
.row-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.row-btn:disabled { opacity: .3; cursor: default; background: var(--navy-800); color: #fff; border-color: rgba(255, 255, 255, .25); }

.game-row {
  --per: 2.4;
  --gap: 16px;
  display: flex;
  gap: var(--gap);
  margin: 0;
  padding: 8px 0 18px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 40px), transparent);
}
.game-row::-webkit-scrollbar { display: none; }
.game-row.at-end {
  -webkit-mask-image: none;
          mask-image: none;
}
.game-row.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.game-row.dragging a { pointer-events: none; }
@media (min-width: 560px) { .game-row { --per: 3.4; --gap: 18px; } }
@media (min-width: 820px) { .game-row { --per: 4.4; --gap: 20px; } }
@media (min-width: 1100px) { .game-row { --per: 5.6; --gap: 22px; } }
@media (min-width: 1400px) { .game-row { --per: 6.6; } }

.game {
  flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per));
  min-width: 0;
  scroll-snap-align: start;
}
.game a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--navy-800), var(--navy-850));
  border: 1px solid var(--line);
  color: #fff;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.game a:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
  color: #fff;
}
.game img {
  width: 100%;
  height: auto;
  aspect-ratio: 330 / 315;
  object-fit: cover;
  background: var(--navy-700);
  -webkit-user-drag: none;
}
.game .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px 14px 14px;
}
.game .name-block { min-width: 0; }
.game h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game .store {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.game .store.early { color: var(--orange-2); font-weight: 600; }
.game .go {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--muted);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.game .go::before {
  content: '';
  width: 7px;
  height: 7px;
  margin-right: 2px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.game a:hover .go { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }

/* ---------- Careers ---------- */
.careers {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(51, 204, 255, .08), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(245, 164, 37, .08), transparent 60%),
    var(--navy-900);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.careers .intro { max-width: 720px; margin: -10px 0 34px; color: var(--muted); }
.jobs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.job {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.job:hover { border-color: rgba(245, 164, 37, .6); transform: translateY(-4px); }
.job .code {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(245, 164, 37, .14);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.job h3 { margin: 14px 0 12px; font-size: 20px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.chips li {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #dbe2ee;
  font-size: 13px;
}
.job .btn { margin-top: auto; align-self: flex-start; min-height: 44px; font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact-form { padding: 30px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: inherit;
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

.info-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.info {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
}
.info .icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(245, 164, 37, .14);
  color: var(--orange);
}
.info .icon svg { width: 22px; height: 22px; }
.info h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.info p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 60px 0 0;
  background: #080e1a;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.site-footer img { width: 120px; height: auto; margin: 0 0 14px -9px; }
.footer-about { max-width: 330px; margin: 0; line-height: 1.7; }
.site-footer h3 { margin: 0 0 14px; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--orange-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-bottom .copy { color: var(--orange); font-weight: 600; }

/* ---------- Page transitions ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(site-header) { display: none; }
::view-transition-new(site-header) { animation: none; }
html.opening .site-header,
html.opening .main-nav a::after { transition: none !important; }
::view-transition { background: var(--navy-950); }
::view-transition-old(root) { animation: page-out .1s ease-in both; }
::view-transition-new(root) { animation: page-in .16s ease-out .06s both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-grid,
  .info-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .map iframe { min-height: 320px; }
}

@media (max-width: 640px) {
  .wrap { width: 100%; padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(11, 18, 32, .35) 0%, rgba(11, 18, 32, .75) 45%, rgba(11, 18, 32, .95) 80%, var(--navy-950) 100%);
  }
  .hero { align-items: flex-end; }
  .hero-content { padding-bottom: 44px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 0; justify-content: center; padding: 10px 12px; font-size: 14px; }
  .games + .games { padding-top: 0; }
  .scroll-cue { display: none; }
  .announce { gap: 8px; font-size: 12px; padding-right: 12px; }
  .announce .tag { white-space: nowrap; font-size: 10px; }
  .hide-sm { display: none; }
  .game .go { display: none; }
  .game h3 { font-size: 13px; }
  .feature-card { min-height: 0; align-items: flex-end; }
  .feature-card > img.bg { height: 55%; object-position: 70% top; }
  .feature-card::before { background: linear-gradient(180deg, rgba(12, 19, 34, .1) 0%, rgba(12, 19, 34, .9) 45%, rgba(12, 19, 34, .98) 60%); }
  .feature-copy { padding: 150px 22px 26px; }
  .feature-copy .tf-logo { width: 200px; }
  .tag-line { font-size: 11px; letter-spacing: .8px; }
  .row-controls { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero-actions .btn { gap: 8px; padding: 8px 10px; font-size: 13px; white-space: nowrap; }
  .hero-actions .btn img { width: 20px; height: 20px; }
}

@media (hover: none) { .row-controls { display: none; } }
