:root {
  --black: #050505;
  --black-soft: #0d0d0f;
  --black-panel: #151517;
  --red: #b40000;
  --red-bright: #e00f0f;
  --red-dark: #5b0000;
  --white: #f8f4ef;
  --muted: #bcb6af;
  --line: rgba(248, 244, 239, 0.16);
  --line-strong: rgba(248, 244, 239, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  --radius: 24px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(180, 0, 0, 0.24), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(180, 0, 0, 0.18), transparent 24rem),
    var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.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;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  z-index: 50;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mix-blend-mode: screen;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 30;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header[data-elevated="true"] {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand img {
  width: 60px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
}

.brand small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.68rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.35vw, 1.2rem);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.main-nav a {
  position: relative;
  color: rgba(248, 244, 239, 0.82);
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red-bright);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switch,
.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 999px;
  cursor: pointer;
}

.language-switch {
  padding: 0.58rem 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: rgba(224, 15, 15, 0.8);
  background: rgba(180, 0, 0, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) clamp(1rem, 6vw, 7rem) 5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-background,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-background {
  background-image: url("./assets/hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: grayscale(1) contrast(1.08) brightness(0.96);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.74) 0%, rgba(5, 5, 5, 0.33) 48%, rgba(5, 5, 5, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.18) 0%, rgba(5, 5, 5, 0.08) 52%, #050505 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12% auto auto -8rem;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.22);
  filter: blur(80px);
  z-index: -1;
}

.hero-content {
  max-width: 820px;
  padding: clamp(1.2rem, 3.2vw, 2.2rem);
  border: 1px solid rgba(248, 244, 239, 0.18);
  border-radius: calc(var(--radius) * 1.2);
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.36));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(7px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 900;
  font-size: 0.78rem;
}

.hero h1,
.section h2,
.quote-card .motto-text {
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 0.96;
  letter-spacing: 0.015em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8.4vw, 7.8rem);
  max-width: 900px;
  text-wrap: balance;
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.65);
}

.hero-subtitle {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: rgba(248, 244, 239, 0.88);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red-bright), var(--red-dark));
  box-shadow: 0 16px 44px rgba(180, 0, 0, 0.3);
}

.btn-ghost {
  border: 1px solid rgba(248, 244, 239, 0.28);
  background: rgba(248, 244, 239, 0.06);
}

.hero-note {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  color: var(--muted);
}

.hero-note span {
  color: var(--white);
  font-weight: 900;
}

.photo-credit {
  position: absolute;
  left: 1rem;
  bottom: 0.8rem;
  margin: 0;
  color: rgba(248, 244, 239, 0.42);
  font-size: 0.78rem;
}

.intro-strip {
  width: min(1180px, calc(100% - 2rem));
  margin: -4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 3;
}

.info-card,
.training-card,
.contact-card,
.quote-card,
.identity-panel,
.timeline-item,
.practice-card,
.event-card,
.event-panel,
.ally-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.info-card {
  padding: 1.4rem;
  border-radius: var(--radius);
  min-height: 230px;
}

.card-number {
  display: inline-flex;
  color: var(--red-bright);
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
}

.info-card h2,
.training-card h3,
.timeline-item h3,
.practice-card h3,
.event-card h3,
.event-panel h3,
.ally-card h3,
.identity-card h3 {
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0.9rem 0 0.6rem;
  line-height: 1.1;
}

.info-card p,
.training-card p,
.timeline-item p,
.section-copy p,
.contact-copy p,
.practice-card p,
.event-card p,
.event-panel p,
.ally-card p,
.section-heading p {
  color: rgba(248, 244, 239, 0.78);
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.section + .section {
  margin-top: clamp(2.5rem, 5.5vw, 5rem);
}

.two-column,
.split-dark,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 5.3vw, 5rem);
  text-wrap: balance;
}

.section-copy p,
.contact-copy p,
.section-heading p {
  font-size: 1.05rem;
  margin: 0 0 1.1rem;
}

.identity-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(circle at 70% 30%, rgba(180, 0, 0, 0.28), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.identity-panel::before,
.identity-panel::after {
  content: "";
  position: absolute;
  background: var(--white);
  opacity: 0.08;
}

.identity-panel::before {
  width: 1px;
  height: 90%;
  transform: rotate(22deg);
}

.identity-panel::after {
  width: 90%;
  height: 1px;
  transform: rotate(-14deg);
}

.identity-panel img {
  width: min(440px, 96%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.55));
}

.identity-card {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(248, 244, 239, 0.18);
  background: rgba(5, 5, 5, 0.44);
}

.identity-card h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.status-pill,
.ally-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(224, 15, 15, 0.55);
  border-radius: 999px;
  color: var(--white) !important;
  background: rgba(180, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 900;
}

.check-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(224, 15, 15, 0.6);
}

.training-section,
.practice-section,
.gallery-section,
.event-section,

.event-section {
  width: min(1280px, calc(100% - 2rem));
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 15%, rgba(224, 15, 15, 0.22), transparent 22rem),
    radial-gradient(circle at 10% 88%, rgba(180, 0, 0, 0.18), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.event-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: stretch;
}

.event-panel,
.event-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.event-panel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.92)),
    url("./assets/gallery-fantastic-fecht.jpg") center / cover;
}

.event-date {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(224, 15, 15, 0.68);
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.32);
  color: var(--white) !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-panel h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.event-card {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032));
}

.event-card span {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(224, 15, 15, 0.62);
  border-radius: 999px;
  color: var(--white);
  background: rgba(180, 0, 0, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
}

.event-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.allies-section {
  width: min(1280px, calc(100% - 2rem));
}

.section-heading {
  max-width: 980px;
  margin-bottom: 2rem;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.training-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  min-height: 310px;
  position: relative;
  overflow: hidden;
}

.training-card::after,
.practice-card::after,
.event-card::after,
.event-panel::after,
.ally-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -28% auto;
  width: 15rem;
  height: 15rem;
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.16);
  filter: blur(22px);
  pointer-events: none;
}

.training-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.training-card .big {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.split-dark {
  width: min(1280px, calc(100% - 2rem));
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  background:
    linear-gradient(120deg, rgba(180, 0, 0, 0.17), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-list div {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list strong {
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.3rem;
  color: var(--white);
}

.feature-list span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.practice-grid,
.allies-grid {
  display: grid;
  gap: 1rem;
}

.practice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.practice-card,
.ally-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
}

.practice-card span {
  color: var(--red-bright);
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
}

.practice-card h3,
.event-card h3,
.event-panel h3,
.ally-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
}

.gallery-section {
  width: min(1280px, calc(100% - 2rem));
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 12%, rgba(224, 15, 15, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 1rem;
}

.gallery-card {
  position: relative;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--black-panel);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.gallery-card-large {
  min-height: 540px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.88);
  transform: scale(1.02);
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.07);
  filter: saturate(1.04) contrast(1.08) brightness(0.68);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0%, rgba(5, 5, 5, 0.28) 40%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.22), transparent 52%);
  pointer-events: none;
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.gallery-card figcaption span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(224, 15, 15, 0.62);
  border-radius: 999px;
  color: var(--white);
  background: rgba(180, 0, 0, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
}

.gallery-card figcaption strong {
  display: block;
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1;
}

.gallery-card figcaption p {
  max-width: 560px;
  margin: 0.75rem 0 0;
  color: rgba(248, 244, 239, 0.82);
}

.gallery-subheading {
  margin-top: clamp(2rem, 5vw, 4rem);
  max-width: 760px;
}

.gallery-subheading h3 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 0.95;
}

.gallery-subheading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
}

.tournament-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tournament-photo {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--black-panel);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.tournament-photo-wide {
  grid-column: span 2;
}

.tournament-photo-tall {
  grid-row: span 2;
  min-height: 660px;
}

.tournament-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.04) brightness(0.9);
  transform: scale(1.015);
  transition: transform 500ms ease, filter 500ms ease;
}

.tournament-photo:hover img,
.tournament-photo:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.04) contrast(1.08) brightness(0.68);
}

.tournament-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02) 0%, rgba(5, 5, 5, 0.18) 44%, rgba(5, 5, 5, 0.88) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.18), transparent 50%);
  pointer-events: none;
}

.tournament-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem;
}

.tournament-photo figcaption span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(224, 15, 15, 0.58);
  border-radius: 999px;
  color: var(--white);
  background: rgba(180, 0, 0, 0.26);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.62rem;
  font-weight: 900;
}

.tournament-photo figcaption strong {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
}


.event-section {
  width: min(1280px, calc(100% - 2rem));
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 15%, rgba(224, 15, 15, 0.22), transparent 22rem),
    radial-gradient(circle at 10% 88%, rgba(180, 0, 0, 0.18), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.event-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
  align-items: stretch;
}

.event-panel,
.event-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.event-panel {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.92)),
    url("./assets/gallery-fantastic-fecht.jpg") center / cover;
}

.event-date {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(224, 15, 15, 0.68);
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.32);
  color: var(--white) !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-panel h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.event-card {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032));
}

.event-card span {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.85rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(224, 15, 15, 0.62);
  border-radius: 999px;
  color: var(--white);
  background: rgba(180, 0, 0, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 900;
}

.event-card h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.allies-section {
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
  border-radius: calc(var(--radius) * 1.4);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%, rgba(224, 15, 15, 0.18), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.allies-grid {
  grid-template-columns: repeat(2, 1fr);
}

.ally-card {
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
}

.ally-card h3 {
  margin-top: 1.1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline-item {
  padding: 1.4rem;
  border-radius: var(--radius);
  min-height: 260px;
}

.timeline-item time {
  display: inline-flex;
  color: var(--red-bright);
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 900;
}

.quote-section {
  padding-top: 0;
}

.quote-card {
  min-height: 380px;
  border-radius: calc(var(--radius) * 1.4);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.78), rgba(5, 5, 5, 0.3)),
    url("./assets/hero.png") center / cover;
  filter: grayscale(1) contrast(1.05);
  z-index: -2;
}

.quote-card::after {
  content: "";
  position: absolute;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  background: rgba(180, 0, 0, 0.24);
  filter: blur(55px);
  z-index: -1;
}

.quote-card .motto-text {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 6.2rem);
  max-width: 960px;
}

.quote-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 900;
}

.contact-section {
  align-items: start;
}

.contact-copy .btn {
  margin-top: 1rem;
}

.contact-card {
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-card dl {
  margin: 0;
  display: grid;
  gap: 1.2rem;
}

.contact-card div {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card dt {
  color: var(--red-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 0.78rem;
}

.contact-card dd {
  margin: 0.35rem 0 0;
  font-size: 1.12rem;
  color: rgba(248, 244, 239, 0.88);
}

.contact-card a {
  text-decoration: underline;
  text-decoration-color: rgba(224, 15, 15, 0.8);
  text-underline-offset: 0.22em;
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.site-footer strong {
  color: var(--white);
  font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer p {
  margin: 0.25rem 0 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* V12: citáty k HEMA a historickému tréninku */
.source-quote {
  position: relative;
  margin: 1.6rem 0 0;
  padding: 1.2rem 1.25rem 1.2rem 1.35rem;
  border-left: 4px solid var(--red-bright);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(90deg, rgba(180, 0, 0, 0.22), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 5, 0.26);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.source-quote p {
  margin: 0;
  color: rgba(248, 244, 239, 0.92);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  font-weight: 650;
  font-style: italic;
}

.source-quote cite {
  display: block;
  margin-top: 0.85rem;
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.training-source-quote {
  width: min(860px, 100%);
  margin: 1.4rem auto 0;
  border-left: 0;
  border-top: 3px solid var(--red-bright);
  border-radius: 22px;
  background: rgba(5, 5, 5, 0.48);
}

.training-source-quote p {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

@media (max-width: 1120px) {
  .training-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .nav-toggle {
    display: inline-flex;
    z-index: 32;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: grid;
    place-content: center;
    gap: 1.5rem;
    background: rgba(5, 5, 5, 0.96);
    transform: translateX(100%);
    transition: transform 220ms ease;
    font-size: 1.1rem;
    text-align: center;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .intro-strip,
  .timeline,
  .two-column,
  .split-dark,
  .contact-section,
  .gallery-grid,
  .tournament-gallery,
  .event-layout,
  .allies-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: -2rem;
  }

  .identity-panel {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand img {
    width: 48px;
    height: 40px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 92svh;
    padding-inline: 1rem;
  }

  .hero-background {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.64), rgba(5, 5, 5, 0.32)),
      linear-gradient(180deg, rgba(5, 5, 5, 0.14), #050505 100%);
  }

  .hero-content {
    padding: 1rem;
    border-radius: 20px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro-strip,
  .section,
  .training-section,
  .practice-section,
  .gallery-section,
  .event-section,
  .split-dark,
  .allies-section,
  .site-footer {
    width: min(100% - 1rem, 1180px);
  }

  .section + .section {
    margin-top: 2.25rem;
  }

  .training-grid,
  .practice-grid,
  .event-cards {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card-large {
    min-height: 360px;
  }

  .tournament-photo,
  .tournament-photo-wide,
  .tournament-photo-tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 340px;
  }

  .event-panel {
    min-height: 520px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* V7: allied group logos and extra community gallery */
.gallery-grid-secondary {
  margin-top: 1rem;
}

.gallery-grid-secondary .gallery-card-large {
  min-height: 520px;
}

.ally-logo-wrap {
  display: grid;
  place-items: center;
  height: 170px;
  margin-bottom: 1.15rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.ally-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ally-logo-rsg img {
  max-width: 150px;
}

.ally-logo-stray img {
  max-width: 260px;
}

@media (max-width: 980px) {
  .gallery-grid-secondary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ally-logo-wrap {
    height: 150px;
  }
}


.tournament-photo-main {
  min-height: 420px;
}

.ally-actions {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
}

.ally-link {
  width: fit-content;
}


/* V9: Urbanist font and darker image hover */

/* V10: výrazně tmavé fotky, které se při najetí myší silně rozsvítí */
.gallery-card img,
.tournament-photo img {
  filter: saturate(0.72) contrast(1.16) brightness(0.30);
  transform: scale(1.025);
  transition: transform 650ms ease, filter 650ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img,
.tournament-photo:hover img,
.tournament-photo:focus-within img {
  filter: saturate(1.12) contrast(1.08) brightness(1.12);
  transform: scale(1.075);
}

.gallery-card::after,
.tournament-photo::after {
  transition: background 650ms ease, opacity 650ms ease;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.48) 0%, rgba(5, 5, 5, 0.66) 46%, rgba(5, 5, 5, 0.94) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.24), transparent 52%);
}

.gallery-card:hover::after,
.gallery-card:focus-within::after,
.tournament-photo:hover::after,
.tournament-photo:focus-within::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02) 0%, rgba(5, 5, 5, 0.08) 46%, rgba(5, 5, 5, 0.58) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.08), transparent 52%);
}

.event-panel {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.66), rgba(5, 5, 5, 0.96)),
    url("./assets/gallery-fantastic-fecht.jpg") center / cover;
  transition: transform 650ms ease, box-shadow 650ms ease, background 650ms ease;
}

.event-panel:hover,
.event-panel:focus-within {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.68)),
    url("./assets/gallery-fantastic-fecht.jpg") center / cover;
}


/* V11: výchozí fotky jsou asi o třetinu světlejší než ve v10, hover zůstává výrazně světlý */
.gallery-card img,
.tournament-photo img {
  filter: saturate(0.78) contrast(1.12) brightness(0.40);
}

.gallery-card:hover img,
.gallery-card:focus-within img,
.tournament-photo:hover img,
.tournament-photo:focus-within img {
  filter: saturate(1.12) contrast(1.08) brightness(1.14);
}

.gallery-card::after,
.tournament-photo::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.34) 0%, rgba(5, 5, 5, 0.48) 46%, rgba(5, 5, 5, 0.72) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.20), transparent 52%);
}

.gallery-card:hover::after,
.gallery-card:focus-within::after,
.tournament-photo:hover::after,
.tournament-photo:focus-within::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, rgba(5, 5, 5, 0.18) 46%, rgba(5, 5, 5, 0.42) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.10), transparent 52%);
}

.map-address-link,
.contact-map-link {
  color: inherit;
  text-decoration: none;
}

.map-address-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 180ms ease, border-color 180ms ease;
}

.map-address-link::after {
  content: "↗";
  color: var(--red);
  font-size: 0.85em;
}

.map-address-link:hover,
.map-address-link:focus-visible {
  color: var(--white);
  border-color: var(--red);
}

.contact-map-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  width: fit-content;
  transition: color 180ms ease;
}

.contact-map-link span {
  color: var(--white);
}

.contact-map-link small {
  color: var(--red-soft);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.contact-map-link:hover small,
.contact-map-link:focus-visible small {
  color: var(--red);
  text-decoration: underline;
}

/* V13: proklik na Facebook a Instagram s ikonami */
.social-block {
  margin-top: 1.35rem;
}

.social-title {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.social-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.social-link,
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(180, 0, 0, 0.16));
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.social-link {
  padding: 0.78rem 1rem;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  padding: 0;
}

.social-link svg,
.footer-social-link svg {
  width: 1.18rem;
  height: 1.18rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link svg path,
.footer-social-link svg path {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible,
.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(224, 15, 15, 0.72);
  background: linear-gradient(135deg, rgba(224, 15, 15, 0.34), rgba(255, 255, 255, 0.12));
  box-shadow: 0 22px 60px rgba(180, 0, 0, 0.22);
}

.footer-social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .social-links {
    align-items: stretch;
    flex-direction: column;
  }

  .social-link {
    width: 100%;
  }

  .footer-socials {
    order: 2;
  }
}
