: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-contrast-8k.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-vol2-group.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(2, 1fr);
}

.practice-card,
.ally-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
}

.practice-card-icon {
  width: 5.25rem;
  height: 5.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  opacity: 0.95;
  transition: transform var(--transition), opacity var(--transition), filter var(--transition);
}

.practice-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.practice-card:hover .practice-card-icon,
.practice-card:focus-within .practice-card-icon {
  opacity: 1;
  transform: translateY(-2px) scale(1.04);
}

.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-vol2-group.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-contrast-8k.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-vol2-group.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-vol2-group.jpg") center / cover;
}


/* V11: výchozí fotky jsou asi o třetinu světlejší než ve v25.06.3, 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;
  }
}


/* V16: kompaktnější galerie bez velkých děr + nová náhrada turnajové fotky */
.tournament-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.tournament-photo,
.tournament-photo-wide,
.tournament-photo-tall {
  grid-column: span 1;
  grid-row: span 1;
  min-height: 320px;
}

.tournament-photo-main {
  grid-column: 1 / -1;
  min-height: 440px;
}

.tournament-photo-wide {
  min-height: 340px;
}

.tournament-photo-tall {
  min-height: 420px;
}

.tournament-photo img {
  height: 100%;
}

@media (max-width: 980px) {
  .tournament-gallery {
    grid-template-columns: 1fr;
  }

  .tournament-photo-main,
  .tournament-photo,
  .tournament-photo-wide,
  .tournament-photo-tall {
    grid-column: auto;
    min-height: 340px;
  }
}


/* V17: ještě pevnější rozložení turnajové galerie bez prázdných děr */
.tournament-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 0.9rem;
}

.tournament-gallery .tournament-photo,
.tournament-gallery .tournament-photo-wide,
.tournament-gallery .tournament-photo-tall {
  grid-column: auto;
  grid-row: auto;
  min-height: 315px;
}

.tournament-gallery .tournament-photo-main {
  grid-column: 1 / -1;
  min-height: 460px;
}

.tournament-gallery .tournament-photo img {
  min-height: 315px;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .tournament-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tournament-gallery .tournament-photo-main {
    grid-column: 1 / -1;
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .tournament-gallery {
    grid-template-columns: 1fr;
  }

  .tournament-gallery .tournament-photo,
  .tournament-gallery .tournament-photo-wide,
  .tournament-gallery .tournament-photo-tall,
  .tournament-gallery .tournament-photo-main {
    grid-column: auto;
    min-height: 330px;
  }

  .tournament-gallery .tournament-photo img {
    min-height: 330px;
  }
}


/* Content update: identity motto from PDF notes */
.identity-quote {
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(248,244,239,0.88);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
}


/* Bilingual fixed v25.06.3 intro: red aligned slash + logo split + zoom/fade into page */
.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(224, 15, 15, 0.18), transparent 18rem),
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.08), transparent 15rem),
    #050505;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: introOverlayZoomFade 3100ms ease forwards;
}

.intro-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
  transition: opacity 560ms ease, visibility 560ms ease;
}

.intro-skip {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(248, 244, 239, 0.78);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  color: var(--white);
  border-color: rgba(224, 15, 15, 0.7);
  background: rgba(224, 15, 15, 0.16);
}

.intro-zoom-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(82vw, 720px);
  min-height: min(62vw, 460px);
  isolation: isolate;
  animation: introMarkZoomIntoPage 3100ms cubic-bezier(.18,.86,.23,1) forwards;
}

.intro-logo-split {
  position: relative;
  z-index: 2;
  width: min(72vw, 590px);
  aspect-ratio: 16 / 9;
  filter:
    drop-shadow(0 0 38px rgba(224, 15, 15, 0.30))
    drop-shadow(0 0 90px rgba(0, 0, 0, 0.98));
  animation: introLogoSettle 700ms cubic-bezier(.2,.9,.15,1) 70ms both;
}

.intro-logo-shadow,
.intro-logo-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.intro-logo-shadow {
  opacity: 0.12;
  filter: blur(10px);
  transform: scale(1.02);
}

.intro-logo-part {
  opacity: 0;
  animation-duration: 2400ms;
  animation-timing-function: cubic-bezier(.18,.86,.23,1);
  animation-fill-mode: forwards;
}

.intro-logo-part-a {
  clip-path: polygon(0 0, 100% 0, 0 100%);
  animation-name: introLogoPartA;
}

.intro-logo-part-b {
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  animation-name: introLogoPartB;
}

.intro-red-flash {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(78vw, 720px);
  height: 4px;
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-29deg) scaleX(0);
  opacity: 0;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(224, 15, 15, 0.0) 18%,
      rgba(224, 15, 15, 0.95) 45%,
      rgba(255, 42, 42, 1) 50%,
      rgba(224, 15, 15, 0.95) 55%,
      rgba(224, 15, 15, 0.0) 82%,
      transparent 100%);
  filter:
    blur(0.15px)
    drop-shadow(0 0 8px rgba(224, 15, 15, 0.74))
    drop-shadow(0 0 16px rgba(224, 15, 15, 0.42));
  animation: introRedAlignedBlink 260ms cubic-bezier(.08,.9,.13,1) 1030ms forwards;
}

@keyframes introLogoSettle {
  0% { opacity: 0; transform: scale(0.91); }
  72% { opacity: 1; transform: scale(1.024); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes introLogoPartA {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  76% { opacity: 1; transform: translate(-22px, -10px) rotate(-2.2deg) scale(1.004); }
  100% { opacity: 0; transform: translate(-54px, -30px) rotate(-4.8deg) scale(1.05); }
}

@keyframes introLogoPartB {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  76% { opacity: 1; transform: translate(22px, 10px) rotate(2.2deg) scale(1.004); }
  100% { opacity: 0; transform: translate(54px, 30px) rotate(4.8deg) scale(1.05); }
}

@keyframes introRedAlignedBlink {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-29deg) scaleX(0); }
  24% { opacity: 1; transform: translate(-50%, -50%) rotate(-29deg) scaleX(1); }
  58% { opacity: 0.88; transform: translate(-50%, -50%) rotate(-29deg) scaleX(1.08); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-29deg) scaleX(1.16); }
}

@keyframes introMarkZoomIntoPage {
  0%, 70% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.32); opacity: 0; }
}

@keyframes introOverlayZoomFade {
  0%, 72% { opacity: 1; visibility: visible; pointer-events: auto; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 640px) {
  .intro-zoom-mark {
    width: min(90vw, 520px);
    min-height: 360px;
  }

  .intro-logo-split {
    width: min(86vw, 480px);
  }

  .intro-red-flash {
    width: min(90vw, 560px);
    height: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-loader {
    display: none;
  }
}


/* Hotfix 24.03: hlavní skupinová fotka Fantastic Fecht Vol. 2 */
.event-recap-photo {
  margin: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.15);
  overflow: hidden;
  background: rgba(5, 5, 5, 0.92);
  box-shadow: var(--shadow);
}

.event-recap-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(0.96) contrast(1.04) brightness(0.78);
  transition: filter 500ms ease, transform 500ms ease;
}

.event-recap-photo:hover img,
.event-recap-photo:focus-within img {
  filter: saturate(1.05) contrast(1.07) brightness(0.98);
  transform: scale(1.01);
}

.event-recap-photo figcaption {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  color: rgba(248, 244, 239, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(5, 5, 5, 0.82);
}

.gallery-card img[src="./assets/gallery-fantastic-fecht-vol2-group.jpg"] {
  object-fit: cover;
  object-position: center;
}


/* Hotfix 24.03: připravený prostor pro budoucí galerii fotek z Fantastic Fecht Vol. 2 */
.event-gallery-prep {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.15);
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 15, 15, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.event-gallery-prep-heading {
  max-width: 860px;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.event-gallery-prep-heading h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1;
}

.event-gallery-prep-heading p:not(.eyebrow) {
  color: rgba(248, 244, 239, 0.76);
}

.event-photo-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-photo-slot {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: clamp(1.1rem, 2.2vw, 1.45rem);
  border: 1px dashed rgba(248, 244, 239, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.10), rgba(5, 5, 5, 0.76)),
    radial-gradient(circle at 80% 15%, rgba(224, 15, 15, 0.14), transparent 12rem),
    rgba(255, 255, 255, 0.035);
  position: relative;
  overflow: hidden;
}

.event-photo-slot::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(248, 244, 239, 0.06);
  border-radius: calc(var(--radius) * 0.72);
  pointer-events: none;
}

.event-photo-slot-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--red-bright);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.16em;
}

.event-photo-slot strong {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.event-photo-slot p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(248, 244, 239, 0.70);
}

@media (max-width: 980px) {
  .event-photo-slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .event-photo-slots {
    grid-template-columns: 1fr;
  }

  .event-photo-slot {
    min-height: 210px;
  }
}


/* Hotfix 24.04: fotka vítěze Fantastic Fecht Vol. 2 v připravené galerii */
.event-photo-slot-image {
  padding: 0;
  justify-content: flex-end;
  border-style: solid;
  min-height: 430px;
  overflow: hidden;
}

.event-photo-slot-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.95) contrast(1.04) brightness(0.72);
  transform: scale(1.01);
  transition: transform 500ms ease, filter 500ms ease;
}

.event-photo-slot-image:hover img,
.event-photo-slot-image:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.07) brightness(0.94);
}

.event-photo-slot-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.05) 0%, rgba(5, 5, 5, 0.26) 38%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.24), transparent 52%);
  pointer-events: none;
}

.event-photo-slot-image .event-photo-slot-number,
.event-photo-slot-image strong,
.event-photo-slot-image p {
  position: relative;
  z-index: 1;
  margin-left: clamp(1.1rem, 2.2vw, 1.45rem);
  margin-right: clamp(1.1rem, 2.2vw, 1.45rem);
}

.event-photo-slot-image .event-photo-slot-number {
  margin-left: 0;
  margin-right: 0;
}

.event-photo-slot-image p {
  margin-bottom: clamp(1.1rem, 2.2vw, 1.45rem);
}

.event-photo-slot-reserved {
  border-color: rgba(224, 15, 15, 0.24);
}


/* Hotfix 24.06: benefiční blok pro Vojenský fond solidarity */
.solidarity-block {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  padding: clamp(1.35rem, 3vw, 2.15rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.15);
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 15, 15, 0.14), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.solidarity-heading {
  max-width: 860px;
  margin-bottom: clamp(1.3rem, 3vw, 1.9rem);
}

.solidarity-heading h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  line-height: 1.02;
}

.solidarity-heading p:not(.eyebrow) {
  color: rgba(248, 244, 239, 0.76);
}

.solidarity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.92fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.solidarity-copy {
  display: grid;
  gap: 0.95rem;
}

.solidarity-copy p {
  margin: 0;
  color: rgba(248, 244, 239, 0.82);
}

.solidarity-stat {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: fit-content;
  padding: 0.95rem 1.1rem;
  border-radius: calc(var(--radius) * 0.95);
  border: 1px solid rgba(224, 15, 15, 0.28);
  background: linear-gradient(180deg, rgba(180, 0, 0, 0.22), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.solidarity-stat span {
  color: rgba(248, 244, 239, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solidarity-stat strong {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.solidarity-note {
  color: rgba(248, 244, 239, 0.66);
  font-weight: 700;
}

.solidarity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.45rem;
}

.solidarity-media {
  display: grid;
  gap: 1rem;
}

.solidarity-figure {
  margin: 0;
  border-radius: calc(var(--radius) * 1.05);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.92);
  box-shadow: var(--shadow);
}

.solidarity-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04) brightness(0.78);
  transition: filter 500ms ease, transform 500ms ease;
}

.solidarity-figure:hover img,
.solidarity-figure:focus-within img {
  filter: saturate(1.05) contrast(1.07) brightness(0.96);
  transform: scale(1.02);
}

.solidarity-poster img {
  aspect-ratio: 3 / 2;
  object-position: center;
}

.solidarity-handover img {
  aspect-ratio: 4 / 3;
  object-position: center;
}

.solidarity-figure figcaption {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  color: rgba(248, 244, 239, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(5, 5, 5, 0.82);
}

@media (max-width: 980px) {
  .solidarity-layout {
    grid-template-columns: 1fr;
  }
}


/* Hotfix 24.10.1: masonry rozložení bez hluchých mezer */
.event-gallery-grid {
  column-count: 3;
  column-gap: 0.9rem;
  margin-top: 1.5rem;
}

.event-gallery-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0.9rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--black-panel);
  box-shadow: var(--shadow);
  isolation: isolate;
  vertical-align: top;
}

.event-gallery-card.is-wide,
.event-gallery-card.is-portrait {
  min-height: auto;
}

.event-gallery-card.is-featured {
  display: block;
  width: 100%;
  min-height: 460px;
  margin-bottom: 0.9rem;
  border-color: rgba(224, 15, 15, 0.32);
  break-inside: avoid;
  -webkit-column-span: all;
  column-span: all;
}

.event-gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.93) contrast(1.05) brightness(0.74);
  transform: scale(1.015);
  transition: transform 500ms ease, filter 500ms ease;
}

.event-gallery-card.is-featured img {
  min-height: 460px;
  max-height: 640px;
  width: 100%;
  object-fit: cover;
}

.event-gallery-card:hover img,
.event-gallery-card:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.03) contrast(1.08) brightness(1.02);
}

.event-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.3) 42%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(180, 0, 0, 0.18), transparent 50%);
  transition: opacity 320ms ease;
  pointer-events: none;
}

.event-gallery-card:hover::after,
.event-gallery-card:focus-within::after {
  opacity: 0.78;
}

.event-gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: none;
}

.event-gallery-card-title {
  color: var(--white);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.05;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

.event-gallery-card-text {
  display: block;
  color: rgba(248, 244, 239, 0.82);
  font-size: 0.96rem;
  line-height: 1.45;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.58);
}

.event-gallery-card-kicker {
  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;
}

@media (max-width: 1100px) {
  .event-gallery-grid {
    column-count: 2;
  }

  .event-gallery-card.is-featured {
    min-height: 420px;
  }

  .event-gallery-card.is-featured img {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .event-gallery-grid {
    column-count: 1;
    column-gap: 0;
  }

  .event-gallery-card,
  .event-gallery-card.is-wide,
  .event-gallery-card.is-portrait,
  .event-gallery-card.is-featured {
    display: block;
    width: 100%;
    margin-bottom: 0.9rem;
  }

  .event-gallery-card.is-featured,
  .event-gallery-card.is-featured img {
    min-height: 330px;
  }
}

.tournament-edition-block {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.gallery-section .tournament-edition-block {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.15);
  background:
    radial-gradient(circle at 82% 12%, rgba(224, 15, 15, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.tournament-edition-block .event-gallery-prep-heading h3 {
  margin: 0.45rem 0 0.7rem;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1;
}

.tournament-edition-block .event-gallery-prep-heading p:not(.eyebrow) {
  color: rgba(248, 244, 239, 0.76);
}

.tournament-edition-block .event-gallery-grid {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

/* Původní třídy Vol.1 nechávám jako fallback, ale nově používají stejný card systém jako Vol.2. */
.tournament-gallery {
  display: block;
}


/* Hotfix 24.10.2: stabilní scroll na kotvy po prvním načtení stránky */
html {
  scroll-padding-top: 110px;
}

[data-anchor-target],
section[id] {
  scroll-margin-top: 110px;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 92px;
  }

  [data-anchor-target],
  section[id] {
    scroll-margin-top: 92px;
  }
}


/* Hotfix 24.10.3: přesnější kotvy a rezervace prostoru pro obrázky */
html {
  scroll-padding-top: 116px;
}

[data-anchor-target],
section[id] {
  scroll-margin-top: 116px;
}

img[width][height] {
  height: auto;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  [data-anchor-target],
  section[id] {
    scroll-margin-top: 96px;
  }
}


/* Hotfix 24.10.4: oprava mobilního menu přes celou obrazovku */
@media (max-width: 980px) {
  html.nav-open,
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .site-header {
    background: rgba(5, 5, 5, 0.98);
    border-bottom-color: rgba(248, 244, 239, 0.12);
    backdrop-filter: blur(16px);
  }

  .site-header {
    z-index: 1000;
  }

  .brand,
  .nav-toggle {
    position: relative;
    z-index: 1002;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1001;
    width: 100vw;
    min-height: 100vh;
    min-height: 100svh;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 2.8vh, 1.25rem);
    padding:
      calc(var(--header-height) + max(1.25rem, env(safe-area-inset-top)))
      clamp(1rem, 5vw, 2rem)
      calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background:
      radial-gradient(circle at 50% 0%, rgba(180, 0, 0, 0.18), transparent 20rem),
      rgba(5, 5, 5, 0.985);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
    text-align: center;
  }

  .main-nav.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    display: block;
    width: min(88vw, 460px);
    padding: 0.18rem 0;
    white-space: normal;
    font-size: clamp(1rem, 4.6vw, 1.28rem);
    line-height: 1.14;
    letter-spacing: 0.12em;
  }

  .main-nav a::after {
    left: 50%;
    right: auto;
    width: min(7rem, 42vw);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    bottom: -0.35rem;
  }

  .main-nav a:hover::after,
  .main-nav a:focus-visible::after {
    transform: translateX(-50%) scaleX(1);
  }

  .main-nav .language-switch {
    margin-top: 0.2rem;
    min-width: 4.4rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .main-nav {
    gap: 0.68rem;
    padding-top: calc(var(--header-height) + 1rem);
  }

  .main-nav a {
    font-size: 1rem;
    line-height: 1.1;
  }
}


/* Hotfix 25.01: červený řez sjednocený s osou rozpadu loga */
.intro-zoom-mark {
  --intro-cut-angle: -37deg;
  --intro-cut-top: 87%;
  --intro-cut-bottom: 13%;
}

.intro-logo-part-a {
  clip-path: polygon(0 0, var(--intro-cut-top) 0, var(--intro-cut-bottom) 100%, 0 100%);
  animation-name: introLogoPartAAlignedV2501;
}

.intro-logo-part-b {
  clip-path: polygon(var(--intro-cut-top) 0, 100% 0, 100% 100%, var(--intro-cut-bottom) 100%);
  animation-name: introLogoPartBAlignedV2501;
}

.intro-red-flash {
  width: min(74vw, 640px);
  height: 3px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0);
  animation: introRedAlignedBlinkV2501 320ms cubic-bezier(.08,.9,.13,1) 1180ms forwards;
}

@keyframes introLogoPartAAlignedV2501 {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  48% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  68% { opacity: 1; transform: translate(-24px, -19px) rotate(-2.4deg) scale(1.004); }
  100% { opacity: 0; transform: translate(-58px, -46px) rotate(-5deg) scale(1.05); }
}

@keyframes introLogoPartBAlignedV2501 {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  48% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  68% { opacity: 1; transform: translate(24px, 19px) rotate(2.4deg) scale(1.004); }
  100% { opacity: 0; transform: translate(58px, 46px) rotate(5deg) scale(1.05); }
}

@keyframes introRedAlignedBlinkV2501 {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0); }
  22% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0.94); }
  56% { opacity: 0.92; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(1.04); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(1.12); }
}

@media (max-width: 640px) {
  .intro-red-flash {
    width: min(84vw, 520px);
    height: 2.5px;
  }
}


/* Hotfix 25.02: přesnější zarovnání červeného řezu na osu rozpadu loga */
.intro-logo-split {
  --intro-cut-angle: -37.35deg;
  --intro-cut-top: 87%;
  --intro-cut-bottom: 13%;
}

.intro-logo-split .intro-logo-part-a {
  clip-path: polygon(0 0, var(--intro-cut-top) 0, var(--intro-cut-bottom) 100%, 0 100%);
  animation-name: introLogoPartAPrecisionV2502;
}

.intro-logo-split .intro-logo-part-b {
  clip-path: polygon(var(--intro-cut-top) 0, 100% 0, 100% 100%, var(--intro-cut-bottom) 100%);
  animation-name: introLogoPartBPrecisionV2502;
}

.intro-logo-split .intro-red-flash {
  position: absolute;
  z-index: 9;
  left: 50%;
  top: 50%;
  width: 128%;
  height: 2.5px;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0);
  animation: introRedPrecisionBlinkV2502 260ms cubic-bezier(.08,.9,.13,1) 1160ms forwards;
}

@keyframes introLogoPartAPrecisionV2502 {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  48% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  67% { opacity: 1; transform: translate(-23px, -18px) rotate(-2.4deg) scale(1.004); }
  100% { opacity: 0; transform: translate(-56px, -44px) rotate(-5deg) scale(1.05); }
}

@keyframes introLogoPartBPrecisionV2502 {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.94); }
  24% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  48% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  67% { opacity: 1; transform: translate(23px, 18px) rotate(2.4deg) scale(1.004); }
  100% { opacity: 0; transform: translate(56px, 44px) rotate(5deg) scale(1.05); }
}

@keyframes introRedPrecisionBlinkV2502 {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0); }
  20% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(0.96); }
  55% { opacity: 0.92; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(1.04); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--intro-cut-angle)) scaleX(1.1); }
}

@media (max-width: 640px) {
  .intro-logo-split .intro-red-flash {
    width: 132%;
    height: 2px;
  }
}


/* Hotfix 25.03: Fechtbuch ilustrace místo čísel v horních info kartách */
.card-figure {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 5.6rem;
  height: 5.8rem;
  margin: -0.35rem 0 0.15rem;
  overflow: visible;
}

.card-figure img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
}

.card-figure-1 img {
  transform: translate(-0.4rem, 0.05rem);
}

.card-figure-2 img {
  transform: translate(-0.45rem, 0.2rem) scale(1.08);
  transform-origin: left bottom;
}

.card-figure-3 img {
  transform: translate(-0.2rem, -0.02rem) scale(1.04);
  transform-origin: left bottom;
}

.info-card h2 {
  margin-top: 0.55rem;
}

@media (max-width: 720px) {
  .card-figure {
    width: 4.75rem;
    height: 4.95rem;
    margin-top: -0.2rem;
  }
}


/* Hotfix row align: ikonka a nadpis vedle sebe */
.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "figure title"
    "text text";
  column-gap: 1rem;
  row-gap: 0.6rem;
  align-items: start;
}

.info-card .card-figure {
  grid-area: figure;
  margin: -0.15rem 0 0;
  align-self: start;
}

.info-card h2 {
  grid-area: title;
  margin: 0;
  align-self: center;
}

.info-card p {
  grid-area: text;
  margin: 0.1rem 0 0;
}

@media (max-width: 720px) {
  .info-card {
    column-gap: 0.85rem;
  }
}


/* v25.06.3 / v25.06.3 practice heading master figure */
.practice-section .section-heading {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.55fr);
  gap: 1rem 2rem;
  align-items: start;
}

.practice-section .section-heading > .eyebrow,
.practice-section .section-heading > h2,
.practice-section .section-heading > p {
  grid-column: 1;
}

.practice-heading-figure {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 100%;
  padding-top: 0.15rem;
}

.practice-heading-figure img {
  display: block;
  width: min(100%, 320px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.38));
  opacity: 0.96;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 1120px) {
  .practice-section .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.42fr);
    gap: 1rem 1.2rem;
  }

  .practice-heading-figure img {
    width: min(100%, 240px);
    max-height: 320px;
  }
}

@media (max-width: 820px) {
  .practice-section .section-heading {
    display: block;
  }

  .practice-heading-figure {
    display: none;
  }
}


/* v25.06.3 / v25.06.3 hema manuscript figure */
.hema-manuscript-figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.25rem 0 0.9rem;
}

.hema-manuscript-figure img {
  display: block;
  width: min(100%, 440px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
  user-select: none;
  pointer-events: none;
}

@media (max-width: 980px) {
  .hema-manuscript-figure img {
    width: min(100%, 360px);
    max-height: 430px;
  }
}

@media (max-width: 820px) {
  .hema-manuscript-figure {
    justify-content: center;
    padding: 0.15rem 0 0.75rem;
  }

  .hema-manuscript-figure img {
    width: min(100%, 340px);
    max-height: 400px;
  }
}


/* v25.06.3 / v25.06.3 manuscript figure bubble removal */
.feature-list > .hema-manuscript-figure {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 0 0.2rem;
}

.feature-list > .hema-manuscript-figure img {
  display: block;
  width: min(100%, 420px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
}

@media (max-width: 980px) {
  .feature-list > .hema-manuscript-figure img {
    width: min(100%, 360px);
    max-height: 460px;
  }
}

@media (max-width: 820px) {
  .feature-list > .hema-manuscript-figure {
    display: none;
  }
}


.practice-grid-compact .practice-card {
  min-height: 100%;
}

.practice-grid-compact .practice-card-icon {
  width: clamp(4.4rem, 9vw, 5.6rem);
  height: clamp(4.4rem, 9vw, 5.6rem);
}

.practice-grid-compact .practice-card-icon img {
  width: 100%;
  height: 100%;
}

@media (max-width: 1120px) {
  .practice-grid-compact {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .practice-grid-compact {
    grid-template-columns: 1fr;
  }
}


.practice-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.practice-card-head h3 {
  margin: 0;
  flex: 1 1 auto;
}

.practice-card-head .practice-card-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
  margin-left: auto;
  width: clamp(4.1rem, 8vw, 5.25rem);
  height: clamp(4.1rem, 8vw, 5.25rem);
  align-self: flex-start;
}

.practice-card p {
  margin-top: 0;
}

@media (max-width: 640px) {
  .practice-card-head {
    gap: 0.85rem;
  }

  .practice-card-head .practice-card-icon {
    width: 3.8rem;
    height: 3.8rem;
  }
}


/* Hotfix: 18+ upozornění */
.adult-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(226, 27, 27, 0.52);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(226, 27, 27, 0.16), rgba(5, 5, 5, 0.58));
  color: rgba(248, 244, 239, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.adult-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.85rem;
  min-height: 2.15rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--red-bright);
  color: var(--white);
  font-weight: 950;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(226, 27, 27, 0.28);
}

.training-card.age-card {
  border-color: rgba(226, 27, 27, 0.5);
}

.training-card.age-card .big {
  color: var(--red-bright);
}

@media (max-width: 640px) {
  .adult-notice {
    align-items: flex-start;
    border-radius: 22px;
    font-size: 0.9rem;
    line-height: 1.35;
  }
}
