:root {
  --ink: #112321;
  --ink-soft: #29403d;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --line: #dce4dd;
  --teal: #13786f;
  --teal-dark: #0c4f4a;
  --coral: #d95d39;
  --sun: #f3bd3e;
  --blue: #315f9d;
  --shadow: 0 18px 50px rgba(17, 35, 33, 0.14);
  --max-width: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}


* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--sun);
  color: var(--ink);
  padding: 0.65rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1rem max(1rem, calc((100vw - var(--max-width)) / 2));
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid rgba(220, 228, 221, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1.1;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}

.mobile-nav-cta {
  display: none;
}

.site-nav a {
  border-radius: 6px;
  padding: 0.55rem 0.8rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eef4ef;
  color: var(--ink);
  outline: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  padding: 9.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2)) 4.25rem;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 25, 24, 0.92) 0%, rgba(9, 25, 24, 0.74) 46%, rgba(9, 25, 24, 0.32) 100%),
    url("assets/photos/elbg-table-1.jpg") center / cover;
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 14ch;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 750;
}

h3 {
  font-size: 1.1rem;
  font-weight: 750;
}

.hero-copy {
  width: min(600px, 100%);
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--sun);
  color: #171d18;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.64);
  color: #ffffff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.button-light {
  background: #ffffff;
  color: var(--teal-dark);
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: var(--teal-dark);
  color: #ffffff;
}

.notice-band .eyebrow {
  color: var(--sun);
}

.notice-band h2 {
  max-width: 820px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.section {
  padding: 5.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 620px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.intro-grid p,
.feature-content p,
.step-card p,
.info-panel p {
  margin: 0;
}

.steps-section {
  background: #eef4ef;
}

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

.step-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.35rem;
  box-shadow: 0 10px 24px rgba(17, 35, 33, 0.06);
}

.step-number {
  display: inline-block;
  margin-bottom: 1.4rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-card h3,
.info-panel h3 {
  margin-bottom: 0.65rem;
}

.step-card p,
.info-panel p {
  color: var(--ink-soft);
}

.info-panel address {
  margin-bottom: 0.8rem;
  color: var(--ink-soft);
}

.info-panel a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 1.02fr);
  align-items: center;
  gap: 2rem;
  padding: 5.5rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: var(--surface);
}

.feature-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  height: clamp(360px, 34vw, 480px);
  min-height: 0;
  padding: 1rem;
  overflow: hidden;
  background: #182d2a;
}

.feature-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #d7ded8;
}

.feature-photo-large {
  grid-row: span 2;
}

.feature-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.feature-content p {
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.game-list-title {
  margin-top: 1.7rem;
  font-size: 1rem;
}

.game-list-title + .tag-list {
  margin-top: 0.8rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6f8f5;
  color: var(--ink-soft);
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.info-section {
  background: var(--paper);
}

.cta-section {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 4rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: var(--ink);
  color: #ffffff;
}

.cta-section .eyebrow {
  color: var(--sun);
}

.cta-section h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 2.5rem, 2.5rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(1.25rem, calc((100vw - var(--max-width)) / 2));
  background: #0c1817;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-block;
  padding: 0.5rem 0;
  font-weight: 650;
  text-decoration: none;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: grid;
    grid-auto-rows: minmax(44px, auto);
    align-content: start;
    justify-content: stretch;
    gap: 0.15rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
  }

  .site-nav.is-open .mobile-nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
    background: var(--ink);
    color: #ffffff;
  }

  .hero {
    min-height: 640px;
    padding-top: 8.5rem;
    background-position: 62% center;
  }

  .notice-band,
  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-grid,
  .step-list,
  .info-grid,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .feature-split {
    gap: 2rem;
    padding: 4rem 1.25rem;
  }

  .feature-gallery {
    height: min(70vw, 520px);
  }

  .feature-content {
    padding: 0;
  }
}

@media (max-width: 560px) {
  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 600px;
    padding-bottom: 3rem;
  }

  h1 {
    max-width: 10ch;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .button {
    min-height: 48px;
  }

  .section {
    padding-block: 4rem;
  }

  .step-card,
  .info-panel {
    padding: 1.1rem;
  }

  .feature-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .feature-photo {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .feature-photo-large {
    grid-row: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
  }
}