@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&family=Russo+One&display=swap');

/* ---------- Tokens: change the look here ---------- */
:root {
  --accent: #d9533a;        /* orange-red */
  --accent-dark: #c04128;
  --dark: #272727;          /* footer / cards */
  --ink: #232323;
  --page: #fafafa;
  --muted: #5d5d5d;
  --maxw: 1180px;
  --font-body: 'Rubik', system-ui, sans-serif;
  --font-head: 'Russo One', 'Rubik', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--page); color: var(--ink); line-height: 1.7; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, .title, .big-title { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }

/* ---------- Typography ---------- */
.eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; font-size: .9rem; color: var(--accent); margin: 0 0 1rem; }
.title { font-family: var(--font-head); font-style: italic; text-transform: uppercase; line-height: 1.1; margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 3.4rem); }
.title em { font-style: italic; color: var(--accent); }
.on-dark .title { color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; padding: 1rem 2.2rem; font: 500 .95rem var(--font-body); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-link { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 500; font-size: .95rem; }
.btn-link:hover { color: var(--accent); }

/* Announcement banner above the header (js/layout.js) */
.promo-bar { background: var(--accent-dark); color: #fff; text-align: center; padding: .65rem 1.25rem; font-size: .95rem; line-height: 1.4; }
.promo-bar strong { font-weight: 700; }
.promo-bar a { color: #fff; font-weight: 700; text-decoration: underline; white-space: nowrap; margin-left: .4rem; }
.promo-bar a:hover { text-decoration: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 1.25rem; padding: .75rem 1.25rem; color: #fff; transition: background .3s, box-shadow .3s; }
.site-header.scrolled, body.plain .site-header { background: rgba(30,30,30,.97); box-shadow: 0 2px 14px rgba(0,0,0,.35); }
body.plain { padding-top: 125px; }
.brand { flex: none; }
.brand img { border-radius: 50%; width: 100px; height: auto; transition: width .3s; }
.site-header.scrolled .brand img { width: 80px; }
.nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: 1.8rem; }
.nav > a, .dropdown > a { text-decoration: none; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 0; transition: color .2s; }
.nav a:hover, .nav a.active, .dropdown.active > a { color: #fff; }
.nav a.hl, .dropdown.hl > a { color: var(--accent); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: -1rem; min-width: 180px; background: rgba(30,30,30,.97); padding: .5rem 0; display: none; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .6rem 1.2rem; text-decoration: none; text-transform: uppercase; font-size: .85rem; color: rgba(255,255,255,.8); }
.dropdown-menu a:hover { color: var(--accent); }
.lang { display: flex; }
.lang button { background: none; border: 0; padding: .4rem .55rem; font: 500 .85rem var(--font-body); letter-spacing: .05em; color: rgba(255,255,255,.65); cursor: pointer; box-shadow: inset 0 -2px 0 transparent; transition: color .2s, box-shadow .2s; }
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); }
.social { display: flex; gap: .75rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.55); color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 8rem 1.25rem 5rem; color: #fff;
  background: linear-gradient(rgba(25,25,25,.5), rgba(25,25,25,.5)), var(--img, none) center/cover, linear-gradient(135deg, #3b3b3b, #1b1b1b); }
.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: clamp(0rem, 6vw, 5rem); }
.hero h1 { font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 6.2rem); line-height: 1.05; margin: 0 0 2rem; }
.hero .tagline { font-family: var(--font-head); font-style: italic; color: var(--accent); font-size: clamp(1.3rem, 3vw, 2rem); margin: 0 0 2rem; }
.hero-actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 6rem 1.25rem; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.placeholder-img { background: var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; padding-top: 4rem; }
.about-media .badge { position: absolute; top: calc(4rem - 65px); right: calc(14% - 65px); width: 130px; height: 130px; border-radius: 50%; border: 6px solid var(--page); background: var(--page); z-index: 1; }
.about-media .badge img { width: 100%; height: 100%; border-radius: 50%; }
.about-media .photo { aspect-ratio: 4/5; border-left: 4px solid var(--accent); width: 82%; margin-left: 4%; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; margin: 2rem 0; }
.feature { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.feature .tick { width: 52px; height: 52px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.feature h3 { font-family: var(--font-head); text-transform: uppercase; margin: 0 0 .5rem; font-size: 1.15rem; line-height: 1.2; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.quote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 2rem 0; color: var(--muted); }

/* Disciplines */
.disciplines { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; margin-top: 2rem; }
.disc { grid-column: span 2; position: relative; min-height: 440px; display: flex; align-items: flex-end; border-left: 4px solid var(--accent); color: #fff; text-decoration: none; overflow: hidden;
  background: linear-gradient(to top, rgba(20,20,20,.85), rgba(20,20,20,.1)), var(--img, none) center/cover, linear-gradient(135deg, #3a3a3a, #161616); transition: transform .3s; }
.disc:hover { transform: translateY(-5px); }
.disc.wide { grid-column: span 3; min-height: 480px; }
.disc div { padding: 2.2rem; }
.disc h3 { font-family: var(--font-head); text-transform: uppercase; margin: 0 0 .8rem; font-size: 1.6rem; line-height: 1.15; }
.disc p { margin: 0 0 1rem; }
.disc .more { color: var(--accent); text-transform: uppercase; font-weight: 500; font-size: .95rem; }

/* Trainers */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trainers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trainer { background: var(--dark); border-left: 4px solid var(--accent); color: #fff; text-align: center; }
.trainer .photo { aspect-ratio: 1; background: var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); }
.trainer .photo.logo { background: var(--dark); display: grid; place-items: center; }
.trainer h3 { font-family: var(--font-head); text-transform: uppercase; margin: 1.5rem 0 .3rem; font-size: 1.6rem; }
.trainer p { margin: 0 0 1.8rem; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; }
.trainer.group { grid-column: 1 / -1; padding: 2.5rem; }
.trainer.group .photo { aspect-ratio: 2.1/1; }

/* Contact strip */
.contact-text { color: var(--muted); max-width: 60ch; margin: 0; }
.contact-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid #dcdcdc; }
.contact-item { display: flex; align-items: center; gap: 1.25rem; }
.contact-item .ico { flex: none; width: 56px; height: 56px; background: var(--accent); display: grid; place-items: center; color: #fff; }
.contact-item h3 { font-family: var(--font-head); text-transform: uppercase; margin: 0 0 .15rem; font-size: 1.15rem; line-height: 1.3; }
.contact-item p { margin: 0; color: var(--muted); font-size: 1.15rem; overflow-wrap: anywhere; }
.contact-item a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contact-item a:hover { color: var(--accent); }

/* Join banner */
.join { position: relative; overflow: hidden; text-align: center; color: #fff; padding: 7rem 1.25rem; background: #232323; }
.join::before { content: ''; position: absolute; inset: -30px; background: var(--img, none) center/cover; filter: grayscale(1) blur(5px); }
.join::after { content: ''; position: absolute; inset: 0; background: rgba(35,35,35,.7); }
.join > * { position: relative; z-index: 1; }
.join p { max-width: 900px; margin: 0 auto 2rem; }
.join .btn-link { margin-top: 1rem; }

/* Slider */
.slider { position: relative; max-width: var(--maxw); margin: 2rem auto 0; padding: 0 1.25rem; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 33.333%; aspect-ratio: 3/2.2; scroll-snap-align: start; background: var(--img, none) center/cover, linear-gradient(135deg, #3c3c3c, #1d1d1d); }
.slider .prev, .slider .next { position: absolute; top: 45%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; z-index: 2; padding: .5rem; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.slider .prev { left: 1.5rem; } .slider .next { right: 1.5rem; }
.dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1rem; }
.dots button { width: 14px; height: 14px; border-radius: 50%; border: 0; background: #ccc; cursor: pointer; padding: 0; }
.dots button.on { background: #111; }

/* Partners */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; align-items: center; margin-top: 2rem; }
.partners .logo { height: 150px; display: grid; place-items: center; background: #fff; border: 1px dashed #ccc; color: var(--muted); font-size: .85rem; text-align: center; }
.partners img { max-height: 110px; width: auto; max-width: 100%; margin: auto; object-fit: contain; }
@media (max-width: 600px) {
  .partners { grid-template-columns: 1fr; gap: 2.5rem; }
  .partners img { max-height: 160px; width: 85%; }
}

/* Results tables (tournaments + news) */
.table-wrap { overflow-x: auto; }
.results-group { font-family: var(--font-head); text-transform: uppercase; font-size: 1.2rem; margin: 2rem 0 .8rem; }
.results-cat { font: 600 1rem var(--font-body); margin: 1.4rem 0 .4rem; color: var(--ink); }
.results { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .4rem 0 1rem; }
.results th { background: var(--dark); color: #fff; text-align: left; font-family: var(--font-head); text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; padding: .6rem .9rem; }
.results td { padding: .55rem .9rem; border-bottom: 1px solid #e2e2e2; color: var(--ink); vertical-align: top; }
.results:not(.medals) { table-layout: fixed; }
.results:not(.medals) th:nth-child(1) { width: 4.5rem; }
.results:not(.medals) th:nth-child(2) { width: 45%; }
.results td.rank { width: 3.5rem; text-align: center; font-weight: 600; }
.results tr.own td { background: rgba(215,85,60,.1); font-weight: 600; }
.results small, .acc summary small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.acc summary small { display: inline; margin-left: .6rem; font-family: var(--font-body); text-transform: none; }
.medal { display: inline-block; padding: .1rem .7rem; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.medal.gold { background: #b8911f; } .medal.silver { background: #7d838c; } .medal.bronze { background: #9c5f33; }
.acc .results-body { padding-left: 1.2rem; }

/* Footer */
.site-footer { background: var(--dark); color: #fff; padding: 5rem clamp(1.25rem, 5vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.2); }
.site-footer h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.5rem; margin: 0 0 1.5rem; }
.site-footer img { border-radius: 50%; margin-bottom: 1rem; width: 140px; height: auto; }
.contact-list, .quicklinks { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.contact-list svg { color: var(--accent); flex-shrink: 0; }
.contact-list a { text-decoration: none; }
.quicklinks li { margin-bottom: .7rem; }
.quicklinks a { text-decoration: none; text-transform: uppercase; font-size: .95rem; }
.quicklinks a:hover, .quicklinks a.active { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.copyright { margin: 0; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-grid > div:first-child p { max-width: 320px; }

/* ---------- Inner pages ---------- */
/* Page hero: short banner with title + breadcrumb */
.page-hero { min-height: 440px; display: grid; place-items: center; text-align: center; padding: 9rem 1.25rem 4rem; color: #fff;
  background: linear-gradient(rgba(25,25,25,.5), rgba(25,25,25,.5)), var(--img, none) center/cover, linear-gradient(135deg, #3b3b3b, #1b1b1b); }
.page-hero h1 { font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 1.4rem; }
.page-hero h1 em { color: var(--accent); }
.page-hero .sub { font-family: var(--font-head); text-transform: uppercase; color: var(--accent); font-size: clamp(1.1rem, 2.4vw, 1.6rem); margin: -.6rem 0 1.4rem; }
.crumbs { display: flex; justify-content: center; align-items: center; gap: 1.4rem; margin: 0; text-transform: uppercase; font-size: .95rem; letter-spacing: .03em; color: rgba(255,255,255,.55); }
.crumbs a { color: var(--accent); text-decoration: none; }
.crumbs span[aria-hidden] { width: 8px; height: 8px; background: var(--accent); }
.crumbs .accent { color: var(--accent); }

.kicker { font-family: var(--font-head); text-transform: uppercase; color: var(--accent); font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0 0 1rem; }
.center { text-align: center; }
.rule { border: 0; border-top: 3px solid var(--ink); margin: 0 0 3rem; }

/* About: history text */
.prose { color: var(--muted); }
.prose h2 { font-family: var(--font-head); text-transform: uppercase; text-decoration: underline; font-size: 1.15rem; margin: 0 0 1.2rem; }
.prose h3 { font-family: var(--font-head); font-size: 1.1rem; margin: 1.8rem 0 1rem; }
.prose p { margin: 0 0 1.2rem; max-width: 75ch; }

/* Video block (also used on gallery-videos). Set data-video="YOUTUBE_ID" to make it play. */
.history { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: start; }
.history-facts { position: sticky; top: 120px; display: grid; gap: 1.6rem; background: var(--dark); color: #fff; border-left: 4px solid var(--accent); padding: 2rem; }
.history-logo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto .4rem; }
.history-facts strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; line-height: 1.15; }
.history-facts span { color: rgba(255,255,255,.7); font-size: .95rem; }
.history .prose p { max-width: 68ch; }
.history .prose h3 { border-left: 3px solid var(--accent); padding-left: 1rem; font-size: 1.3rem; margin: 2.5rem 0 1rem; }
.history .prose > :first-child { margin-top: 0; }
section[hidden] { display: none; }
.video { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16/6.2; border: 0; border-left: 4px solid var(--accent); padding: 0; cursor: pointer; color: #fff;
  background: linear-gradient(rgba(30,30,30,.35), rgba(30,30,30,.35)), var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); }
.video .play { width: 96px; height: 96px; display: grid; place-items: center; background: var(--dark); border-left: 3px solid var(--accent); transition: background .2s; }
.video:hover .play { background: var(--accent); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-player { margin: 0; max-width: 960px; }
.video-player video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #000; border-left: 4px solid var(--accent); }
.video-player figcaption { font-family: var(--font-head); text-transform: uppercase; margin-top: 1rem; font-size: 1.2rem; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.videos .video { aspect-ratio: 16/9; }
.videos h3 { font-family: var(--font-head); text-transform: uppercase; margin: 1rem 0 0; font-size: 1.2rem; }

/* Classes: weekly schedule */
.next-class { background: var(--dark); color: #fff; border-left: 6px solid var(--accent); padding: 1.4rem 1.75rem; margin-bottom: 2rem; }
.next-class[hidden] { display: none; }
.next-when { font-family: var(--font-head); font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0; line-height: 1.2; }
.next-what { margin: .3rem 0 0; color: rgba(255,255,255,.75); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chip { font: 500 .95rem var(--font-body); background: transparent; color: var(--ink); border: 1px solid #c9c9c9; padding: .45rem 1.1rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Class filter chips use the same colours as the class labels: tinted when off, solid when selected */
.chip[data-filter]:not([data-filter="all"]) { color: var(--c); border-color: var(--c); background: #fff; background: color-mix(in srgb, var(--c) 10%, #fff); font-weight: 600; }
.chip[data-filter]:not([data-filter="all"]):hover { background: color-mix(in srgb, var(--c) 20%, #fff); }
.chip[data-filter]:not([data-filter="all"])[aria-pressed="true"] { background: var(--c); color: #fff; }
.chip[data-filter="sanda"] { --c: #c04128; }
.chip[data-filter="kungfu"] { --c: #2f6b6e; }
.chip[data-filter="kids"] { --c: #a8671a; }
.chip[data-filter="ladies"] { --c: #b4527a; }

.class-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.class-row { display: grid; grid-template-columns: 11rem 11rem 1fr 15rem; align-items: center; gap: .25rem 1.5rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid #dcdcdc; }
.class-row[hidden] { display: none; }
.class-row.is-next { background: #fff; box-shadow: inset 6px 0 0 var(--accent); }
.class-day { font-family: var(--font-head); font-size: 1.4rem; }
.class-time { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--accent-dark); }
.class-name { display: inline-block; font-size: 1.05rem; font-weight: 600; color: #fff; background: var(--cls, var(--dark)); padding: .3rem .85rem; }
/* One colour per class type (js: class="class-name c-...") */
.c-sanda { --cls: #c04128; }        /* red: same family as the site accent */
.c-sanda-kids { --cls: #a8671a; }   /* amber */
.c-kungfu { --cls: #2f6b6e; }       /* teal */
.c-kungfu-kids { --cls: #2f7a66; }  /* green-teal */
.c-ladies { --cls: #b4527a; }       /* dusty rose */
.class-tag { margin-left: 0; font-size: .9rem; color: var(--muted); border: 1px solid #c9c9c9; padding: 0 .55rem; white-space: nowrap; }
.class-place { color: var(--muted); }
.class-info { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
@media (min-width: 901px) {
  .class-place .coach { display: block; }
  .class-place .sep { display: none; }
  .class-info { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1300px) {
  /* Wide screens: name box and age label in two fixed columns, so labels line up under each other */
  .class-info { display: grid; grid-template-columns: 19.5rem auto; justify-content: start; align-items: center; }
  .class-name { justify-self: start; }
}

.schedule-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3rem; }
.schedule-cta p { margin: 0; font-size: 1.2rem; }
@media (min-width: 901px) {
  /* Same columns as .class-row, so the button starts exactly where the locations start */
  .schedule-cta { display: grid; grid-template-columns: 11rem 11rem 1fr 15rem; gap: .25rem 1.5rem; padding: 0 1.5rem; align-items: center; }
  .schedule-cta p { grid-column: 1 / 4; }
  .schedule-cta .btn { grid-column: 4; margin-right: -1.5rem; text-align: center; }
}

/* Info: discipline blocks */
.discipline { padding: 3rem 0; scroll-margin-top: 110px; }
.discipline-body { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: start; }
.discipline-body .photo { aspect-ratio: 3/2; background: var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); }
.discipline-body p { color: var(--muted); margin: 0 0 1.2rem; }

/* Contact */
.info-box { background: var(--dark); color: #fff; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4rem 2rem; text-align: center; }
.info-box.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-box > div { text-wrap: balance; }
.info-box > div { padding: 0 1.5rem; }
.info-box.cols-4 > div { display: flex; flex-direction: column; align-items: center; }
.info-box .place-link { margin-top: auto; padding-top: 1rem; }
.info-box .place-link a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.info-box > div + div { border-left: 1px solid rgba(255,255,255,.25); }
.info-box .ico { width: 48px; height: 48px; margin: 0 auto 1.8rem; background: var(--accent); display: grid; place-items: center; }
.info-box h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.4rem; margin: 0 0 .6rem; }
.info-box p { margin: 0; }
.info-box a { text-decoration: none; }
.map { width: 100%; height: 540px; border: 0; margin-top: 4rem; filter: grayscale(1); display: block; }
/* Contact: directions card + two maps */
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.map-block h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 1.15rem; line-height: 1.2; margin: 0 0 1rem; border-left: 4px solid var(--accent); padding-left: .8rem; }
.map-block .map { height: 420px; margin-top: 0; }
.dir-card { height: 420px; background: #fff; border: 1px solid #e2e2e2; border-left: 4px solid var(--accent); padding: 1.6rem 1.4rem; }
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.dir-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.dir-ico { width: 44px; height: 44px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.dir-list strong { display: block; font-weight: 600; margin-bottom: .3rem; }
.dir-list p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dir-card { height: auto; }
  .map-block .map { height: 340px; }
}

/* Tournaments */
.big-title { font-family: var(--font-head); font-style: italic; text-transform: uppercase; text-align: center; line-height: 1.15; font-size: clamp(2rem, 5vw, 3.6rem); margin: 0 0 2rem; }
.poster { width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.posters figure { margin: 0; text-align: center; }
.posters img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-left: 4px solid var(--accent); }
.posters figcaption small { display: block; font-family: var(--font-body); text-transform: none; font-size: .95rem; color: var(--muted); margin-top: .2rem; }
.posters figcaption { font-family: var(--font-head); text-transform: uppercase; margin-top: .8rem; font-size: 1.1rem; }

/* News */
.news-head { font-family: var(--font-head); text-transform: uppercase; border-left: 4px solid var(--accent); padding-left: 1rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 4.5rem 0 1.5rem; }
.news-intro { color: var(--muted); margin: 0 0 2rem; max-width: 70ch; }
.news-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.news-jump .chip { text-decoration: none; }
.news-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: var(--dark); color: #fff; border-left: 6px solid var(--accent); padding: 1.4rem 1.75rem; margin-bottom: 2rem; }
.news-note p { margin: 0; max-width: 60ch; }
.events { margin-bottom: 2.5rem; border-bottom: 1px solid #dcdcdc; }
.event { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 0; border-top: 1px solid #dcdcdc; }
.event-date { background: var(--accent); color: #fff; text-align: center; padding: .7rem .4rem; font-family: var(--font-head); line-height: 1.15; }
.event-date strong { display: block; font-weight: 400; font-size: 2.2rem; }
.event-date span { font-size: .9rem; }
.event h3 { font-family: var(--font-head); font-weight: 400; margin: 0 0 .2rem; font-size: 1.4rem; }
.event p { margin: 0; color: var(--muted); }
.event .btn-link { color: var(--ink); }
.event .btn-link:hover { color: var(--accent); }
html { scroll-padding-top: 110px; }
.banner { position: relative; min-height: 330px; display: flex; align-items: flex-end; padding: 3rem; border-left: 4px solid var(--accent); color: #fff; text-decoration: none;
  background: linear-gradient(to top, rgba(20,20,20,.75), rgba(20,20,20,.1)), var(--img, none) center/cover, linear-gradient(135deg, #3a3a3a, #161616); }
.banner h3 { font-family: var(--font-head); text-transform: uppercase; margin: 0 0 .8rem; font-size: 1.6rem; }
.banner p { margin: 0; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.photo-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.photo-row div { aspect-ratio: 4/3; background: var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); }
.acc { border-bottom: 1px solid #ccc; }
.acc summary { list-style: none; cursor: pointer; padding: 1.2rem 1.2rem; font-family: var(--font-head); text-transform: uppercase; color: var(--accent); font-size: 1.15rem; display: flex; align-items: center; gap: .8rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::before { content: ''; border: 6px solid transparent; border-left: 8px solid var(--ink); border-right: 0; transition: transform .2s; }
.acc[open] summary::before { transform: rotate(90deg); }
.acc div { padding: 0 1.2rem 1.5rem 2.8rem; color: var(--muted); }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery a { aspect-ratio: 4/3; background: var(--img, none) center/cover, linear-gradient(135deg, #4a4a4a, #222); transition: filter .2s; }
.gallery a:hover { filter: brightness(1.15); }
.lightbox { border: 0; padding: 0; background: none; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 92vw; max-height: 92vh; }
.lightbox button { position: fixed; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; line-height: 1; cursor: pointer; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .nav > a.active, .dropdown.active > a { box-shadow: inset 0 -2px var(--accent); }
  .discipline-body .photo { position: sticky; top: 130px; }
}
@media (max-width: 1100px) {
  .social { display: none; }
  .nav { gap: 1rem; }
  .brand img { width: 84px; }
  .site-header.scrolled .brand img { width: 72px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .info-box.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 3rem 0; }
  .info-box.cols-4 > div:nth-child(odd) { border-left: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: .25rem; }
  .lang { margin-left: auto; }
  .brand img { width: 100px; }
  .site-header.scrolled .brand img { width: 80px; }
  body.plain { padding-top: 125px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(30,30,30,.98); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav.open { max-height: 90vh; overflow-y: auto; }
  .nav > a, .dropdown > a { padding: 1rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); }
  .dropdown-menu { position: static; display: block; box-shadow: none; padding: 0 0 0 1rem; background: none; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .disciplines { grid-template-columns: 1fr; }
  .disc, .disc.wide { grid-column: auto; min-height: 380px; }
  .trainers { grid-template-columns: 1fr; }
  .contact-strip, .footer-grid, .features { grid-template-columns: 1fr; }
  .slide { flex-basis: 100%; }
  .page-hero { min-height: 340px; }
  .info-box.cols-4 { grid-template-columns: 1fr; }
  .event { grid-template-columns: 90px 1fr; }
  .event .btn-link { grid-column: 1 / -1; }
  .history { grid-template-columns: 1fr; gap: 2.5rem; }
  .history-facts { position: static; }
  .class-row { grid-template-columns: 1fr auto; padding: 1.1rem 1rem; }
  .class-day { grid-column: 1; }
  .class-time { grid-column: 2; text-align: right; }
  .class-info, .class-place { grid-column: 1 / -1; }
  .schedule-cta .btn { width: 100%; text-align: center; }
  .discipline-body, .videos { grid-template-columns: 1fr; }
  .info-box { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.25rem; }
  .info-box > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 2.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .photo-row, .photo-row.cols-2, .photo-row.cols-4, .posters { grid-template-columns: 1fr; }
  .banner { padding: 2rem 1.5rem; min-height: 280px; }
  .video { aspect-ratio: 16/9; }
  .map { height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
