:root {
  --ink: #080605;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #69635a;
  --accent: #b91c1c;
  --shadow: 0 18px 50px rgba(8, 6, 5, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: #000000;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(8, 6, 5, 0.06);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-logo {
  width: 74px;
  height: 56px;
  padding: 5px;
  border: 1px solid rgba(8, 6, 5, 0.14);
  background: var(--white);
  object-fit: contain;
}

.brand-text {
  max-width: 220px;
  line-height: 1.05;
  font-size: 0.94rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  min-height: 36px;
  padding: 9px 11px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-items: center;
  min-height: auto;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) clamp(18px, 5vw, 48px);
}

.hero-copy {
  max-width: 680px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
}

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

.hero p:not(.eyebrow),
.section-copy p,
.contact-section a {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.7;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

button {
  min-height: 48px;
  margin-top: 16px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(8, 6, 5, 0.16);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

button:hover,
button:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 18px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(8, 6, 5, 0.16);
  font-weight: 800;
  text-decoration: none;
}

.page-hero .button-link {
  background: var(--white);
  color: var(--ink);
  border-color: var(--ink);
}

.page-hero .button-link:hover,
.page-hero .button-link:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}

.button-link:hover,
.button-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.hero-mark {
  display: grid;
  place-items: center;
  min-height: 350px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--white);
  border: 1px solid rgba(8, 6, 5, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-mark img {
  width: min(92%, 440px);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(18px, 4vw, 32px);
}

#turneringar {
  border-left: 4px solid var(--accent);
  background: rgba(185, 28, 28, 0.03);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.1);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

#om.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.section-copy {
  border-left: 1px solid rgba(8, 6, 5, 0.18);
  padding-left: clamp(20px, 4vw, 36px);
}

.section-copy h2 {
  margin: 0 0 clamp(22px, 3vw, 30px);
}

.section-copy .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 clamp(18px, 2vw, 24px);
}

.section.split-section > div > .text-link {
  display: inline-flex;
  margin-top: 24px;
}

.section-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.section-copy .text-link {
  display: inline-flex;
  margin-top: 18px;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.tile-list,
.sponsor-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.tile-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
}

.sponsor-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.tile-list li,
.sponsor-card {
  min-height: 78px;
  margin: 0;
  display: flex;
  align-items: end;
  border: 1px solid rgba(8, 6, 5, 0.16);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(8, 6, 5, 0.07);
}

.sponsor-card {
  flex-direction: column;
  justify-content: center;
  min-height: 156px;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sponsor-card img {
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 6, 5, 0.12);
  outline: none;
}

.sponsor-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.tile-list li:nth-child(even) {
  background: var(--ink);
  color: var(--white);
}

.tournament-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 168px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.tournament-title {
  font-size: 1.18rem;
  font-weight: 900;
}

.tournament-summary {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.55;
}

.tile-list li:nth-child(even) .tournament-summary {
  color: rgba(255, 255, 255, 0.78);
}

.tournament-action {
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.tile-list li:hover,
.tile-list li:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 6, 5, 0.12);
}

.tournament-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.contact-section {
  margin-bottom: clamp(30px, 5vw, 60px);
  border-top: 1px solid rgba(8, 6, 5, 0.16);
  border-bottom: 1px solid rgba(8, 6, 5, 0.16);
}

.page-hero,
.content-panel {
  max-width: 920px;
  margin: 0 auto;
  padding-right: clamp(18px, 5vw, 48px);
  padding-left: clamp(18px, 5vw, 48px);
}

.page-hero {
  padding-top: clamp(44px, 7vw, 74px);
  padding-bottom: clamp(18px, 3vw, 32px);
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

.page-hero + .section {
  padding-top: clamp(18px, 3vw, 28px);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.7;
}

.content-panel {
  padding-bottom: clamp(48px, 7vw, 86px);
}

.content-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 5vw, 42px);
  background: var(--white);
  border: 1px solid rgba(8, 6, 5, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card .button-link,
.content-card button {
  margin-top: auto;
}

.content-card h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
}

.content-card h3 {
  margin: 30px 0 10px;
  font-size: 1.16rem;
}

.content-card p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.content-card .eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.guide-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.guide-list li {
  padding: 14px 16px;
  border: 1px solid rgba(8, 6, 5, 0.14);
  border-radius: 8px;
  background: rgba(247, 245, 239, 0.62);
  color: var(--muted);
  line-height: 1.6;
}

.guide-list li.guide-list-important {
  border: 2px solid rgba(185, 28, 28, 0.58);
  background: rgba(185, 28, 28, 0.07);
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.08);
}

.guide-list strong {
  color: var(--ink);
}

.guide-list-important strong {
  color: var(--accent);
}

.event-list {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(8, 6, 5, 0.14);
  border-radius: 6px;
  background: var(--white);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.event-list li:hover,
.event-list li:focus-within {
  background: rgba(247, 245, 239, 0.8);
  box-shadow: 0 8px 20px rgba(8, 6, 5, 0.08);
}

.event-list input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  cursor: default;
  accent-color: var(--accent);
}

.event-list a {
  flex: 1;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.02rem;
}

.event-list a:hover,
.event-list a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  outline: none;
}

@media (max-width: 520px) {
  .event-list li {
    min-height: 44px;
    padding: 10px 12px;
  }

  .event-list a {
    font-size: 0.96rem;
  }
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.text-link,
.source-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.text-link {
  border: 1px solid rgba(8, 6, 5, 0.22);
}

.source-link {
  background: var(--ink);
  color: var(--white);
}

.text-link:hover,
.text-link:focus-visible,
.source-link:hover,
.source-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  outline: none;
}

.contact-section a {
  align-self: center;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  background: var(--ink);
  color: var(--white);
}

.footer img {
  width: 58px;
  height: 46px;
  padding: 5px;
  border-radius: 4px;
  background: var(--white);
  object-fit: contain;
}

.footer p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 750;
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-bottom: clamp(120px, 14vw, 140px);
  }

  #om {
    position: relative;
    padding-top: clamp(120px, 14vw, 140px);
    padding-bottom: clamp(36px, 6vw, 50px);
  }

  #om.split-section {
    grid-template-columns: 1fr;
  }

  #om .hero-mark {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -35%);
    width: min(220px, 68%);
    max-width: 240px;
    padding: clamp(18px, 3vw, 24px);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(8, 6, 5, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(8, 6, 5, 0.08);
    z-index: 1;
  }

  #om .hero-mark img {
    width: 100%;
    display: block;
  }

  .hero-mark {
    min-height: auto;
  }

  .section-copy {
    position: relative;
    z-index: 2;
    border-left: 0;
    border-top: 1px solid rgba(8, 6, 5, 0.18);
    padding-top: clamp(32px, 5vw, 42px);
    padding-left: 0;
    background: rgba(247, 245, 239, 0.95);
    border-radius: 20px;
    padding: clamp(32px, 5vw, 42px) clamp(26px, 4vw, 34px) clamp(28px, 5vw, 40px);
  }

  .section-copy h2 {
    margin-top: 0;
  }

  #om .section-copy p {
    margin-bottom: 18px;
  }

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

@media (max-width: 520px) {
  .brand-logo {
    width: 62px;
    height: 48px;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .site-nav a {
    padding: 8px 9px;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-mark {
    min-height: 220px;
  }

  .tile-list {
    grid-template-columns: 1fr;
  }
}
