/*
Theme Name: UCJC — Upper Canada Judo Club
Theme URI: https://ucjc.ca
Author: Upper Canada Judo Club
Author URI: https://ucjc.ca
Description: Official theme for the Upper Canada Judo Club. Bold, athletic, and built for champions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ucjc
Tags: sports, martial-arts, judo, one-page, responsive
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-black:       #0F0F0F;
  --color-dark:        #1C1C1E;
  --color-dark-mid:    #2A2A2C;
  --color-red:         #C8102E;
  --color-red-dark:    #9A0C22;
  --color-red-light:   #E8244A;
  --color-white:       #FFFFFF;
  --color-off-white:   #F7F5F2;
  --color-gray-light:  #EBEBEB;
  --color-gray-mid:    #999999;
  --color-gray-text:   #444444;
  --font-display:      'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:         'Lato', 'Helvetica Neue', sans-serif;
  --nav-height:        70px;
  --section-pad:       90px;
  --radius:            6px;
  --radius-lg:         12px;
  --transition:        0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-red-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--color-dark);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
  word-wrap: normal;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 860px; }
.container--wide   { max-width: 1400px; }

section { position: relative; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-black);
  border-bottom: 2px solid var(--color-red);
  transition: background var(--transition), box-shadow var(--transition);
}

#site-header.scrolled {
  background: rgba(15,15,15,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo__emblem {
  width: 42px;
  height: 42px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--color-white);
  flex-shrink: 0;
}

.nav-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.nav-logo__sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-mid);
}

#primary-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 4px;
}

#primary-nav a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-mid);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

#primary-nav a:hover,
#primary-nav a.active {
  color: var(--color-white);
  background: rgba(200,16,46,0.15);
}

.nav-cta {
  background: var(--color-red) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover {
  background: var(--color-red-dark) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: var(--color-black);
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
  position: relative;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(200,16,46,0.03) 40px,
      rgba(200,16,46,0.03) 41px
    );
  pointer-events: none;
}

.hero-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-red);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-red);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin-bottom: 8px;
}

.hero-title span {
  color: var(--color-red);
  display: block;
}

.hero-motto {
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-gray-mid);
  margin-bottom: 36px;
  padding-left: 2px;
  letter-spacing: 0.04em;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {}
.hero-stat__num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.hero-stat__num span { color: var(--color-red); }
.hero-stat__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gray-mid);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--color-dark-mid);
  border: 2px solid rgba(200,16,46,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,0.12);
}

.hero-badge__kanji {
  font-family: serif;
  font-size: 100px;
  color: rgba(200,16,46,0.25);
  line-height: 1;
  position: absolute;
}

.hero-badge__founded {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gray-mid);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-badge__year {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--color-white);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.hero-badge__club {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--color-red);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

.hero-badge__location {
  font-size: 11px;
  color: var(--color-gray-mid);
  margin-top: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: 0.06em;
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slideshow {
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(200,16,46,0.45);
  box-shadow: 0 0 0 8px rgba(200,16,46,0.08), 0 0 0 16px rgba(200,16,46,0.04);
  background: var(--color-dark-mid);
  flex-shrink: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-mid);
  gap: 10px;
  opacity: 1;
}

.hero-slide--placeholder .placeholder-kanji {
  font-family: serif;
  font-size: 90px;
  color: rgba(200,16,46,0.2);
  line-height: 1;
}

.hero-slide--placeholder .placeholder-year {
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--color-white);
  line-height: 1;
}

.hero-slide--placeholder .placeholder-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-red);
}

.slideshow-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 5;
}

.slideshow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.slideshow-dot.active {
  background: var(--color-red);
  transform: scale(1.3);
}

.slideshow-prev,
.slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity var(--transition), background var(--transition);
  color: var(--color-white);
  font-size: 16px;
  line-height: 1;
}

.hero-slideshow:hover .slideshow-prev,
.hero-slideshow:hover .slideshow-next { opacity: 1; }
.slideshow-prev { left: 12px; }
.slideshow-next { right: 12px; }
.slideshow-prev:hover,
.slideshow-next:hover { background: rgba(200,16,46,0.7); }

/* ============================================================
   BODY TWO-COLUMN: main + sticky news panel
   ============================================================ */
.site-body-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.site-body-main { min-width: 0; }

.news-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  max-height: calc(100vh - var(--nav-height) - 40px);
  overflow-y: auto;
  padding: 40px 24px 24px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,16,46,0.3) transparent;
}

.news-sidebar::-webkit-scrollbar { width: 4px; }
.news-sidebar::-webkit-scrollbar-thumb {
  background: rgba(200,16,46,0.3);
  border-radius: 2px;
}

.news-panel {
  background: var(--color-white);
  border: 1px solid var(--color-gray-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.news-panel__header {
  background: var(--color-dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-panel__title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-white);
  letter-spacing: 0.06em;
  line-height: 1;
}

.news-panel__badge {
  background: var(--color-red);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.news-panel__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-gray-light);
  transition: background var(--transition);
}

.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--color-off-white); }

.news-item__date {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red);
  margin-bottom: 4px;
}

.news-item__title {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}

.news-item__title a { color: inherit; text-decoration: none; }
.news-item__title a:hover { color: var(--color-red); }

.news-item__excerpt {
  font-size: 12px;
  color: var(--color-gray-mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-panel__footer {
  padding: 13px 20px;
  background: var(--color-off-white);
  border-top: 1px solid var(--color-gray-light);
  text-align: center;
}

.news-panel__footer a {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--color-gray-mid);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 1;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll__arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header--left { text-align: left; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-red);
  margin-bottom: 12px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 24px;
  background: var(--color-red);
}

.section-header--left .section-eyebrow::after { display: none; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-title--white { color: var(--color-white); }

.section-lead {
  font-size: 17px;
  color: var(--color-gray-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1;
}

.btn--primary {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn--primary:hover {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-gray-light);
}
.btn--outline-dark:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 11px;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 14px;
}

/* Arrow icon */
.btn .arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   DIAGONAL DIVIDER
   ============================================================ */
.diagonal-divider {
  position: relative;
  height: 60px;
  overflow: hidden;
  margin-top: -1px;
}

.diagonal-divider--dark-to-light::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--color-white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.diagonal-divider--light-to-dark::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--color-dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: var(--section-pad) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content {}

.about-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-gray-text);
  margin-bottom: 28px;
}

.about-motto {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--color-off-white);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
}

.about-motto__text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  color: var(--color-dark);
  line-height: 1.2;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-card__top {
  background: var(--color-red);
  padding: 32px;
  position: relative;
}

.about-card__top::after {
  content: '柔道';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: serif;
  font-size: 64px;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

.about-card__top-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.about-card__top-text {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.about-card__body {
  padding: 28px 32px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-fact {}

.about-fact__num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.about-fact__num span { color: var(--color-red); }

.about-fact__label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ============================================================
   SCHEDULE SECTION
   ============================================================ */
#schedule {
  padding: var(--section-pad) 0;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

#schedule::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.015) 60px,
    rgba(255,255,255,0.015) 61px
  );
  pointer-events: none;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.schedule-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.schedule-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,16,46,0.4);
}

.schedule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.schedule-card:hover::before {
  transform: scaleX(1);
}

.schedule-card__days {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.schedule-card__time {
  font-size: 13px;
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.schedule-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 14px;
}

.schedule-card__class {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 4px;
}

.schedule-card__desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.schedule-note {
  margin-top: 40px;
  padding: 20px 28px;
  background: rgba(200,16,46,0.1);
  border: 1px solid rgba(200,16,46,0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.schedule-note__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.schedule-note__text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.schedule-note__text strong {
  color: var(--color-white);
}

/* ============================================================
   NEWS SECTION
   ============================================================ */
#news {
  padding: var(--section-pad) 0;
  background: var(--color-off-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-light);
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.news-card__top {
  padding: 24px 24px 0;
}

.news-card__date {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-red);
  background: rgba(200,16,46,0.08);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--color-dark);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.news-card__body {
  padding: 0 24px 24px;
}

.news-card__excerpt {
  font-size: 14px;
  color: var(--color-gray-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-card__link {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__link::after {
  content: '→';
  transition: transform var(--transition);
}

.news-card:hover .news-card__link::after {
  transform: translateX(4px);
}

/* Featured News */
.news-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news-card--featured .news-card__top {
  padding: 36px 36px 0;
}

.news-card--featured .news-card__body {
  padding: 16px 36px 36px;
}

.news-card--featured .news-card__title {
  font-size: 36px;
}

.news-card--featured .news-card__visual {
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  font-family: var(--font-display);
  font-size: 160px;
  color: rgba(200,16,46,0.2);
  letter-spacing: -0.02em;
}

/* ============================================================
   CALENDAR PLACEHOLDER
   ============================================================ */
#calendar {
  padding: var(--section-pad) 0;
  background: var(--color-white);
}

.calendar-placeholder {
  border: 2px dashed var(--color-gray-light);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  background: var(--color-off-white);
}

.calendar-placeholder__icon {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.3;
  line-height: 1;
}

.calendar-placeholder__title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-dark);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.calendar-placeholder__text {
  font-size: 15px;
  color: var(--color-gray-mid);
  max-width: 420px;
  margin: 0 auto 24px;
}

/* ============================================================
   LOCATION + CONTACT
   ============================================================ */
#location {
  padding: var(--section-pad) 0;
  background: var(--color-dark);
  position: relative;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-info {}

.location-address-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.location-detail:last-child { border-bottom: none; }

.location-detail__icon {
  width: 36px;
  height: 36px;
  background: rgba(200,16,46,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-detail__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--color-red);
}

.location-detail__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}

.location-detail__value {
  font-size: 15px;
  color: var(--color-white);
  line-height: 1.4;
}

.location-detail__value a {
  color: var(--color-white);
  text-decoration: none;
}

.location-detail__value a:hover {
  color: var(--color-red);
}

.location-map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--color-dark-mid);
}

.location-map-frame iframe,
.location-map-placeholder {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
}

.location-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-mid);
  color: rgba(255,255,255,0.3);
  font-size: 14px;
  gap: 12px;
}

/* ============================================================
   GEAR SECTION
   ============================================================ */
#gear {
  padding: var(--section-pad) 0;
  background: var(--color-red);
  position: relative;
  overflow: hidden;
}

#gear::before {
  content: '柔道';
  position: absolute;
  right: -30px;
  top: -20px;
  font-family: serif;
  font-size: 280px;
  color: rgba(0,0,0,0.1);
  line-height: 1;
  pointer-events: none;
}

.gear-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.gear-text {}

.gear-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.gear-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--color-white);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.gear-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 400px;
  line-height: 1.6;
}

.gear-actions { flex-shrink: 0; }

.btn--gear {
  background: var(--color-white);
  color: var(--color-red);
  border-color: var(--color-white);
  font-size: 14px;
  padding: 16px 36px;
}

.btn--gear:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
#colophon {
  background: var(--color-black);
  padding: 60px 0 30px;
  border-top: 2px solid var(--color-red);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-about {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-logo__emblem {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.footer-logo__name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social__link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.footer-social__link:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.footer-col {}

.footer-col__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer-col p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col a {
  color: rgba(255,255,255,0.55);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-bottom__links {
  display: flex;
  gap: 20px;
}

.footer-bottom__links a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
}

.footer-bottom__links a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   PAGE TEMPLATE STYLES (for inner pages)
   ============================================================ */
.page-hero {
  background: var(--color-dark);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-red);
}

.page-hero__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-red);
  margin-bottom: 10px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.page-content {
  padding: 80px 0;
}

.entry-content h2 {
  font-size: 36px;
  margin: 2rem 0 1rem;
  color: var(--color-dark);
}
.entry-content h3 {
  font-size: 26px;
  margin: 1.5rem 0 0.75rem;
}
.entry-content p { margin-bottom: 1.2rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.2rem; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs {
  font-size: 13px;
  color: var(--color-gray-mid);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.breadcrumbs a { color: var(--color-gray-mid); }
.breadcrumbs a:hover { color: var(--color-red); }
.breadcrumbs .sep { opacity: 0.4; }

/* ============================================================
   WIDGETS / SIDEBAR
   ============================================================ */
.widget { margin-bottom: 36px; }
.widget-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gray-mid);
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-gray-light);
  font-size: 14px;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul a { color: var(--color-gray-text); }
.widget ul a:hover { color: var(--color-red); }

/* ============================================================
   JUDO ONTARIO / AFFILIATIONS BAR
   ============================================================ */
.affiliations {
  background: var(--color-off-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--color-gray-light);
}
.affiliations__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.affiliations__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gray-mid);
  font-weight: 700;
}
.affiliations__badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-gray-text);
  padding: 6px 16px;
  border: 1px solid var(--color-gray-light);
  border-radius: 30px;
  background: var(--color-white);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .site-body-wrap { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .location-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: auto; display: block; }
  .news-card--featured .news-card__visual { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .gear-inner { flex-direction: column; text-align: center; }
  .gear-desc { margin: 0 auto; }
  .site-body-wrap { grid-template-columns: 1fr; }
  .news-sidebar { position: static; max-height: none; padding: 0 24px 24px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
    text-align: center;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 28px; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }

  #primary-nav { display: none; }
  #primary-nav.open { display: flex; }
  #primary-nav ul {
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--color-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    gap: 4px;
  }

  .nav-toggle { display: flex; }

  .schedule-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-about { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 56px; }
  .hero-stat__num { font-size: 36px; }
  .btn { padding: 12px 22px; font-size: 12px; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================================
   WP ALIGNMENT CLASSES
   ============================================================ */
.alignleft  { float: left;  margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignfull  { width: 100vw; margin-left: calc(50% - 50vw); }
.alignwide  { width: calc(100% + 48px); margin-left: -24px; }

/* ============================================================
   ADMIN BAR COMPENSATION
   ============================================================ */
.admin-bar #site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}
