:root {
  --ink: #1c1914;
  --ink-soft: #3f3a33;
  --paper: #f3eee4;
  --paper-2: #e7e0d2;
  --pitch: #24351c;
  --clay: #b84a1f;
  --clay-ink: #8a3514;
  --line: #c9c0b0;
  --white: #fffdf8;
  --radius: 4px;
  --max: 1080px;
  --mast: 68px;
  --font-display: "Arial Narrow", "Franklin Gothic Medium", "Helvetica Neue", sans-serif;
  --font-body: system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
}

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

img {
  height: auto;
}

iframe.map {
  width: 100%;
  min-height: 380px;
  height: 100%;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

a {
  color: var(--clay-ink);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

h1,
h2,
h3,
.mark-name {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 0.35em;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(100% - 1.4rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 20;
}

.skip-link:focus {
  left: 0.6rem;
  top: 0.6rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 12;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mast-row {
  min-height: var(--mast);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.mark img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.mark-name {
  display: block;
  font-size: 1.2rem;
  margin: 0;
}

.mark-note {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.menu-btn {
  display: none;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.4rem 0.7rem;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--clay);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
  font-size: 0.85rem;
}

.lang a {
  text-decoration: none;
  color: var(--ink-soft);
}

.lang a[aria-current="true"] {
  color: var(--ink);
  font-weight: 700;
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 20, 0.28);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.4rem;
  margin: 4.5rem 0 2.2rem;
  max-width: 34rem;
  background: var(--ink);
}

.hero-copy h1,
.hero-copy p {
  color: var(--white);
}

.hero .lead {
  font-size: 1.05rem;
  color: #f0e8d8;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.45rem 1rem;
  border: 1px solid transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
}

.btn-clay {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}

.btn-clay:hover {
  background: var(--clay-ink);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--pitch);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.12);
  color: inherit;
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.9rem;
}

.section {
  padding: 3.4rem 0;
}

.section + .section {
  padding-top: 0;
}

.page-head {
  padding: 2.4rem 0 1.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-head p {
  max-width: 40rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.4rem;
  align-items: start;
}

.split img {
  width: 100%;
  border: 1px solid var(--line);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.reasons {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.reasons > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.reasons h3 {
  margin: 0;
}

.reasons p {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  display: grid;
  gap: 1.4rem;
}

.steps article {
  padding: 0;
}

.steps h3 {
  margin-bottom: 0.3rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.sport-board {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
}

.sport-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
}

.sport-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sport-card > div {
  padding: 0.85rem 0.95rem 1rem;
}

.sport-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.sport-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.sport-card.wide {
  grid-row: span 2;
}

.sport-card.wide img {
  aspect-ratio: 4 / 5;
  min-height: 100%;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.filters button.is-on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.sport-card.is-off {
  display: none;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

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

.league-table th {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--paper-2);
}

.league-table tr:last-child td {
  border-bottom: 0;
}

.desk {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.4rem;
  align-items: start;
}

.desk-hint {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
}

.player-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.player {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--white);
  color: inherit;
  font: inherit;
  padding: 0.4rem;
  cursor: pointer;
}

.player img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.player-meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.player-meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.player-meta small {
  color: var(--ink-soft);
}

.player-nums {
  display: grid;
  justify-items: end;
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding-right: 0.35rem;
}

.player.is-in {
  background: var(--pitch);
  color: var(--white);
  border-color: var(--pitch);
}

.player.is-in img {
  border-color: #3d5340;
}

.player.is-in .player-meta small {
  color: #d7d2c6;
}

.sheet {
  border: 1px solid var(--line);
  padding: 0.95rem;
  background: var(--white);
}

.sheet-slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.slot {
  min-height: 92px;
  border: 1px dashed var(--line);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3rem;
  font-size: 0.72rem;
  color: var(--ink-soft);
}

.slot.is-filled {
  border-style: solid;
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}

.slot.is-captain {
  border-color: var(--clay);
  background: #f6e4d6;
}

.slot img {
  width: 100%;
  height: 44px;
  object-fit: cover;
  margin-bottom: 0.25rem;
}

.slot.is-fresh {
  animation: slot-in 180ms ease;
}

.slot.is-live {
  border-color: var(--pitch);
}

.slot b {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.desk-log {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  max-height: 11rem;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.desk-log:empty {
  display: none;
}

.desk-log li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.desk-log li:last-child {
  border-bottom: 0;
}

.desk-log strong {
  color: var(--ink);
}

.desk-log b {
  color: var(--pitch);
}

.desk-log li.is-cap b {
  color: var(--clay-ink);
}

@keyframes slot-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.meters {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.6rem;
  align-items: baseline;
}

.meter span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.meter b {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.meter-bar {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.meter-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--pitch);
  transition: width 160ms ease;
}

.slot:disabled {
  cursor: default;
}

.meter-bar.is-over i {
  background: var(--clay);
}

.meter-bar-score i {
  background: var(--clay);
}

.faq-list {
  display: grid;
  gap: 0.55rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.75rem 0.9rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list details p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.cta {
  background: var(--pitch);
  color: var(--white);
  padding: 2.6rem 0;
}

.cta h2,
.cta p {
  color: var(--white);
}

.cta p {
  max-width: 36rem;
}

.legal-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
}

.field input:focus,
.field textarea:focus,
.pick:focus {
  border-color: var(--clay);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.pick,
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--ink);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c1914' d='M1 1.2L6 6.2 11 1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 12px 8px;
  color: var(--ink);
  font: inherit;
  padding: 0.55rem 2.4rem 0.55rem 0.8rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.pick option,
.field select option {
  background: var(--white);
  color: var(--ink);
}

.field-error {
  color: var(--clay-ink);
  font-size: 0.88rem;
}

.honey {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.check input:checked {
  background: var(--clay);
  border-color: var(--clay);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fffdf8' stroke-width='2' d='M1.2 5.1L4.4 8.2 10.8 1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-line {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 1.6rem;
}

.contact-line > div {
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--line);
}

.contact-line > div:last-child {
  border-right: 0;
}

.contact-line b {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.28rem;
}

.contact-line p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: stretch;
}

.map-panel {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 100%;
}

.map-panel .map {
  flex: 1;
  min-height: 420px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.map-panel .map-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
}

.form .btn {
  justify-self: start;
  min-width: 12rem;
}

.site-footer {
  background: var(--ink);
  color: #e6dfd2;
  padding: 2.4rem 0 1.2rem;
  margin-top: 3rem;
}

.site-footer a {
  color: #f0e6d4;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .mark-name {
  color: var(--white);
}

.site-footer .mark-note {
  color: #d8cfc0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 1fr;
  gap: 1.6rem;
}

.foot-grid h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-grid li + li {
  margin-top: 0.35rem;
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid #3a342c;
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 30;
  display: none;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 0.9rem 1rem;
  max-width: 36rem;
}

.cookie.is-on {
  display: block;
}

.cookie p {
  margin: 0 0 0.7rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.thanks {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  background: rgba(28, 25, 20, 0.55);
  padding: 1rem;
}

.thanks.is-on {
  display: grid;
}

.thanks-box {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 1.4rem 1.3rem;
  max-width: 24rem;
  width: 100%;
}

.muted {
  color: var(--ink-soft);
}

.note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .split,
  .desk,
  .contact-grid,
  .contact-line,
  .form-row,
  .player-list,
  .sport-board,
  .foot-grid,
  .reasons > div {
    grid-template-columns: 1fr;
  }

  .contact-line > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-line > div:last-child {
    border-bottom: 0;
  }

  .sheet-slots {
    grid-template-columns: repeat(3, 1fr);
  }

  .sport-card.wide {
    grid-row: auto;
  }

  .sport-card.wide img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.7rem 1.4rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .lang {
    margin: 0.4rem 0 0;
    padding: 0.4rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 72vh;
  }

  .hero-copy {
    margin-inline: 0;
  }

  .league-table {
    display: block;
    overflow-x: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
