/* ============================================================
   ARIGA SENSEI SEMINAR 2026 — No JavaScript
   Colour scheme: warm light grey, red accents, modern fonts
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds — light warm greys */
  --ink:        #f2eeea;
  --ink-mid:    #e8e2dc;
  --ink-soft:   #ddd6ce;

  /* Primary: kendo red */
  --red:        #8b1a1a;
  --red-dark:   #6b1010;
  --red-bright: #b82020;

  /* Accents */
  --gold:       #a07830;
  --gold-light: #c89a50;
  --gold-dim:   #7a5c20;

  /* Text — dark on light */
  --cream:      #1a1210;
  --cream-dim:  #3a2e28;
  --text:       #2c2420;
  --text-dim:   #6a5e58;
  --white:      #ffffff;

  --font-heading: 'DM Serif Display', serif;
  --font-brush:   'Zen Kurenaido', serif;
  --font-body:    'DM Sans', sans-serif;

  --ease:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(242, 238, 234, 0.96);
  border-bottom: 2px solid var(--red);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* CSS-only checkbox nav */
.nav-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: all var(--ease);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.5rem 0.9rem;
  position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-link:hover        { color: var(--red); }
.nav-link:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO — poster, full width, natural height
   ============================================================ */
.hero {
  width: 100%;
  line-height: 0;
  /* push below fixed header */
  padding-top: var(--header-h);
  background: var(--ink);
}
.hero picture { display: block; width: 100%; }
.hero img     { width: 100%; height: auto; display: block; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: 6rem 0; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-brush);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* ============================================================
   ABOUT
   ============================================================ */
.section-about {
  background: var(--ink-mid);
  border-top: 1px solid rgba(139, 26, 26, 0.4);
  border-bottom: 1px solid rgba(139, 26, 26, 0.4);
}

.sensei-grade {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.about-col-full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(139, 26, 26, 0.25);
  padding-top: 2.5rem;
}

.about-subhead {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.about-col .about-subhead:first-child { margin-top: 0; }

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.about-list li {
  font-size: 0.97rem;
  color: var(--text-dim);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.about-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
}

.about-list-inline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.5rem 2rem;
}

/* ============================================================
   VENUE
   ============================================================ */
.section-venue {
  background: var(--ink-soft);
  border-top: 1px solid rgba(139, 26, 26, 0.4);
}

.venue-body {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 60ch;
}
.venue-body strong { color: var(--cream); font-weight: 600; }

.venue-details {
  display: inline-flex;
  flex-direction: column;
  border: 1px solid rgba(139, 26, 26, 0.35);
}
.venue-detail {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(139, 26, 26, 0.15);
}
.venue-detail:last-child { border-bottom: none; }
.venue-detail-label {
  font-family: var(--font-heading);
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-bright);
  min-width: 5.5rem;
  flex-shrink: 0;
}
.venue-detail-value { font-size: 1rem; color: var(--cream-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #2c2420;
  border-top: 2px solid var(--red);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-ckl-logo {
  height: 56px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-org-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-support-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.footer-support-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-support-logos img {
  height: 52px;
  width: auto;
  mix-blend-mode: screen;
  opacity: 0.8;
  transition: opacity var(--ease);
}
.footer-support-logos img:hover { opacity: 1; }

.footer-bottom {
  padding: 1rem 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 4rem) 2rem 4rem;
  background: var(--ink-mid);
  border-bottom: 2px solid var(--red);
}
.page-hero-inner { max-width: 900px; margin: 0 auto; }

.page-title {
  font-family: var(--font-brush);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--cream);
}
.page-subtitle { font-size: 1.1rem; color: var(--text-dim); font-style: italic; margin-top: 0.5rem; }

.page-content { padding: 5rem 2rem; }
.content-inner { max-width: 900px; margin: 0 auto; }

.content-inner h2 {
  font-family: var(--font-brush);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--gold);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(139, 26, 26, 0.3);
}
.content-inner p  { font-size: 1.1rem; color: var(--text-dim); margin-bottom: 1.25rem; }
.content-inner ul,
.content-inner ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: var(--text-dim); }
.content-inner li { margin-bottom: 0.5rem; }
.content-inner strong { color: var(--cream); font-weight: 600; }
.content-inner a  { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.content-inner table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.content-inner th {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(200, 168, 75, 0.3);
  text-align: left;
}
.content-inner td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
}

/* ============================================================
   REVEAL — CSS scroll-driven, no JS
   ============================================================ */
@supports (animation-timeline: scroll()) {
  .reveal {
    animation: reveal-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 25%;
  }
  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .nav-toggle { display: flex; }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(242, 238, 234, 0.99);
    border-top: 1px solid var(--red);
    padding: 0.5rem 0;
  }
  .nav-check:checked ~ .nav-list { display: flex; }

  .nav-check:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-link { display: block; padding: 0.75rem 1.5rem; }
  .nav-link::after { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-col-full { grid-column: 1; }
  .about-list-inline { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right  { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .venue-details { display: flex; }
}
