:root {
  color-scheme: light;
  --ink: #171512;
  --muted: #655f56;
  --paper: #f7f3ea;
  --surface: #fffdf8;
  --line: #ded6c8;
  --clay: #9f3f2f;
  --clay-dark: #742d24;
  --sage: #4f6f5b;
  --brass: #b7862c;
  --charcoal: #24211d;
  --shadow: 0 24px 60px rgba(36, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
}

.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: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 243, 234, 0.92);
  border-bottom: 1px solid rgba(222, 214, 200, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0.375rem;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-name,
.brand-subtitle {
  display: block;
  white-space: nowrap;
}

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

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.6rem 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.25rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(159, 63, 47, 0.1);
  color: var(--clay-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--surface);
}

.nav-toggle-line {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.72fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(247, 243, 234, 0.78)),
    repeating-linear-gradient(90deg, rgba(183, 134, 44, 0.08) 0 1px, transparent 1px 7.5rem);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 15ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.75rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-weight: 850;
  text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--clay-dark);
  outline: 3px solid rgba(159, 63, 47, 0.22);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--clay);
  outline: 3px solid rgba(183, 134, 44, 0.22);
}

.hero-panel {
  background: var(--charcoal);
  color: var(--paper);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.board-visual {
  position: relative;
  aspect-ratio: 1.1;
  min-height: 19rem;
  background: #efe4d1;
  overflow: hidden;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  height: 100%;
  transform: rotate(-7deg) scale(1.18);
  transform-origin: center;
}

.board-grid span:nth-child(odd) {
  background: #47372f;
}

.board-grid span:nth-child(even) {
  background: #d9bd86;
}

.piece-piece {
  position: absolute;
  right: 10%;
  bottom: 3%;
  width: 42%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--ink);
  border: 0.6rem solid rgba(23, 21, 18, 0.88);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 900;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.28);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
}

.hero-facts div {
  padding: 1rem;
  border-right: 1px solid rgba(255, 253, 248, 0.12);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts dt {
  color: rgba(247, 243, 234, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 0.25rem 0 0;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
}

.notice-band,
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 clamp(1rem, 5vw, 4.5rem);
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0.5rem;
}

.notice-band a,
.final-cta a:not(.button) {
  font-weight: 850;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
}

.section-heading {
  max-width: 51rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker),
.fine-print,
.callout {
  color: var(--muted);
  font-size: 1rem;
}

.payment-grid,
.format-grid,
.prize-layout,
.venue-layout {
  display: grid;
  gap: 1rem;
}

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

.info-card,
.prize-card,
.venue-card,
.format-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.25rem;
}

.card-index {
  color: var(--brass);
  font-weight: 950;
}

.info-card h3,
.prize-card h3,
.venue-card h3 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.2rem;
}

.info-card p,
.prize-card p,
.venue-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(18rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.section-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

.section-table {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
}

.section-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section-table th,
.section-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.section-table thead th {
  background: #eee4d5;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.section-table tbody tr:last-child th,
.section-table tbody tr:last-child td {
  border-bottom: 0;
}

.callout {
  grid-column: 2;
  margin: 0;
  padding: 1rem 1.25rem;
  background: rgba(79, 111, 91, 0.1);
  border-left: 4px solid var(--sage);
  border-radius: 0.25rem;
}

.compact-section {
  background: #efe4d5;
}

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

.format-grid article span {
  color: var(--muted);
  font-weight: 850;
}

.format-grid article strong {
  display: block;
  margin-top: 0.35rem;
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
}

.format-grid article p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.prize-layout {
  grid-template-columns: 0.9fr 1fr 1fr;
}

.prize-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.prize-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.prize-list span {
  color: var(--muted);
  font-weight: 800;
}

.prize-list strong {
  font-size: 1.25rem;
}

.fee-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.fee-row:last-child {
  border-bottom: 0;
}

.fee-row span {
  color: var(--muted);
}

.fee-row strong {
  font-size: 1.35rem;
}

.venue-layout {
  grid-template-columns: 1.2fr 0.8fr;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 800;
}

.copy-button {
  margin-top: 1rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  border-color: var(--clay);
  outline: 3px solid rgba(159, 63, 47, 0.18);
}

.final-cta {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.final-cta p {
  margin: 0.75rem 0 0;
  color: rgba(247, 243, 234, 0.76);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split-section,
  .venue-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .callout {
    grid-column: auto;
  }

  .payment-grid,
  .format-grid,
  .prize-layout {
    grid-template-columns: 1fr;
  }
}

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

  .brand-name {
    max-width: 10.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4rem);
  }

  .hero-actions,
  .notice-band,
  .final-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-panel {
    border-radius: 0.375rem;
  }

  .board-visual {
    min-height: 15rem;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts div:nth-child(2) {
    border-right: 0;
  }

  .hero-facts div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  }

  .fee-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}
