/* ============================================================
   Sifu Kairesh — The Magician of Mandarin
   Design language: Ink-brush minimalism — cream paper, ink black,
   seal-stamp vermillion, brushed gold. Distinct from typical
   red/gold Chinese-school templates via generous whitespace,
   editorial serif type and brush-stroke dividers.
   ============================================================ */

:root {
  --ink: #1c1a17;
  --ink-soft: #3a3530;
  --paper: #f8f3e8;
  --paper-dim: #efe6d3;
  --vermillion: #a3121a;
  --vermillion-dark: #7c0d13;
  --gold: #c9a24b;
  --gold-soft: #e4d3a0;
  --line: rgba(28, 26, 23, 0.12);
  --shadow: 0 20px 50px rgba(28, 26, 23, 0.12);
  --radius: 4px;
  --header-height: 68px;
  --serif: "Noto Serif TC", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; padding: 96px 0; }

.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vermillion);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--vermillion);
  display: inline-block;
}

.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--vermillion); color: #fff; }
.btn-primary:hover { background: var(--vermillion-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(163, 18, 26, 0.28); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }

.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 243, 232, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}

.brand .seal {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vermillion);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: var(--serif);
  flex-shrink: 0;
}

.brand span { display: block; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.main-nav ul { display: flex; gap: 34px; }

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--vermillion);
  transition: right 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.main-nav a.active { color: var(--vermillion); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */

.hero {
  min-height: max(620px, calc(100svh - var(--header-height)));
  padding: 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(163,18,26,0.10), transparent 45%),
    var(--paper);
  overflow: hidden;
}

.hero-slides {
  min-height: max(620px, calc(100svh - var(--header-height)));
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.7s ease;
}

.hero-slide::before,
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide::before {
  background-position: center;
  background-size: cover;
}

.hero-slide::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(20, 18, 15, 0.92) 0%, rgba(20, 18, 15, 0.76) 42%, rgba(20, 18, 15, 0.18) 100%);
}

.hero-slide:nth-child(1)::before { background-image: url("../img/sk1.jpg?v=20260819-3"); }
.hero-slide:nth-child(2)::before { background-image: url("../img/sk2.jpg?v=20260819-3"); }
.hero-slide:nth-child(2)::after { display: none; }
.hero-slide:nth-child(2) .container { display: none; }
.hero-slide:nth-child(3)::before { background-image: url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=2000&q=85"); }

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 1;
}

.hero-slide .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 84px;
}

.hero-copy { color: #fff; }
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero-copy .eyebrow::before { background: var(--gold); }

.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  margin-bottom: 20px;
}

.hero-copy h1 .accent,
.hero-copy h2 .accent { color: var(--gold-soft); }

.hero-copy p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 480px;
}

.hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.72); }
.hero .btn-outline:hover { background: #fff; color: var(--ink); }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 0; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
}

.hero-stats .stat { display: flex; align-items: center; gap: 10px; }
.hero-stats .stat .num { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--vermillion); display:block; }
.hero-stats .stat .label { font-size: 12px; color: var(--ink-soft); }

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

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--ink) 0%, #2b2620 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-frame .placeholder-figure {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  font-family: var(--serif);
  text-align: center;
  padding: 20px;
  font-size: 15px;
  background:
    radial-gradient(circle at 50% 30%, rgba(201,162,75,0.18), transparent 60%);
}

.hero-frame .disc {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(163,18,26,0.85);
  top: 12%; right: -40px;
  filter: blur(2px);
}

.hero-visual .glyph-col {
  position: absolute;
  right: -46px;
  top: 6%;
  font-family: var(--serif);
  writing-mode: vertical-rl;
  font-size: 34px;
  color: var(--ink);
  opacity: 0.85;
  letter-spacing: 6px;
}

.hero-visual-corporate .hero-frame { background: linear-gradient(160deg, #272f2c 0%, #161b19 100%); }
.hero-visual-junior .hero-frame { background: linear-gradient(160deg, #72502c 0%, #342418 100%); }

.hero > .hero-stats {
  position: absolute;
  z-index: 2;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
}

.hero .stat .num { color: var(--gold-soft); }
.hero .stat .label { color: rgba(255, 255, 255, 0.78); }

.hero-slider-controls {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-slider-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  background: rgba(28, 26, 23, 0.42);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible { background: var(--ink); color: var(--paper); }

.hero-slider-dots { display: flex; gap: 8px; }

.hero-slider-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-slider-dots button.is-active { width: 48px; background: var(--gold-soft); }

/* ---------- Brush divider ---------- */

.brush-divider {
  height: 40px;
  background: repeating-linear-gradient(90deg, var(--vermillion) 0 40px, transparent 40px 64px);
  opacity: 0.15;
}

.divider-simple {
  width: 60px; height: 3px;
  background: var(--vermillion);
  margin: 0 auto 20px;
}
.section-head:not(.center) .divider-simple { margin-left: 0; }

/* ---------- Programme / Card grids ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.card .icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--vermillion);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.card h3 { font-size: 19px; margin-bottom: 6px; }
.card .cjk { color: var(--gold); font-size: 13px; font-weight: 600; margin-bottom: 12px; display:block; }
.card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.card .card-link { font-weight: 700; font-size: 13.5px; color: var(--vermillion); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Dark band (About preview / CTA) ---------- */

.band-dark {
  background: var(--ink);
  color: var(--paper);
}

.band-dark .eyebrow { color: var(--gold); }
.band-dark .eyebrow::before { background: var(--gold); }
.band-dark p { color: rgba(248,243,232,0.75); }

.about-preview .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-figure {
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: linear-gradient(160deg, #3a3530, var(--ink));
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,0.35);
}
.about-figure .placeholder-figure {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft); font-family: var(--serif); text-align: center; padding: 20px; font-size: 15px;
}

.signature { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 22px; margin-top: 18px; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.stat-grid .stat-box { border-top: 2px solid var(--gold); padding-top: 12px; }
.stat-grid .stat-box .num { font-family: var(--serif); font-size: 30px; color: var(--gold); display:block; }
.stat-grid .stat-box .label { font-size: 13px; color: rgba(248,243,232,0.65); }

/* ---------- Method steps ---------- */

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.method-step {
  position: relative;
  text-align: center;
  padding: 0 18px;
}

.method-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 14px;
  color: var(--vermillion);
  margin-bottom: 10px;
  font-weight: 700;
}

.method-step .icon {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--vermillion);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--vermillion);
  background: #fff;
}

.method-step h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.method-step p { font-size: 14px; color: var(--ink-soft); }

.method-arrow {
  position: absolute;
  top: 33px; right: -18px;
  color: var(--gold);
  font-size: 20px;
}
.method-step:last-child .method-arrow { display: none; }

/* ---------- Testimonials ---------- */

.testi-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 30px;
}

.testi-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.testi-quote { font-size: 15px; color: var(--ink-soft); font-style: italic; margin-bottom: 20px; }

.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--vermillion); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
}
.testi-person .name { font-weight: 700; font-size: 14.5px; }
.testi-person .role { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Book / Media split ---------- */

.split-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split-item {
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-item.book { background: var(--paper-dim); border: 1px solid var(--line); }
.split-item.video { background: var(--ink); color: #fff; }
.split-item .eyebrow { margin-bottom: 10px; }
.split-item h3 { font-size: 26px; margin-bottom: 10px; }

.play-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--vermillion);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  cursor: pointer;
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--vermillion);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left:auto; margin-right:auto; }
.final-cta .cta-actions { display:flex; gap:16px; justify-content:center; margin-top: 26px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 20px 0 20px;
  text-align: center;
}
.page-hero .eyebrow { color: var(--gold); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.page-hero + section { padding-top: 40px; }
.breadcrumb { font-size: 13px; color: rgba(248,243,232,0.6); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Timeline (About) ---------- */

.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content:""; position:absolute; left: 6px; top:6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 34px; padding-left: 30px; }
.timeline-item::before {
  content:""; position:absolute; left: -30px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--vermillion); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--vermillion);
}
.timeline-item .year { font-family: var(--serif); color: var(--vermillion); font-weight: 700; font-size: 15px; }
.timeline-item h4 { margin: 4px 0 6px; font-size: 18px; }
.timeline-item p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- Programme detail sections ---------- */

.programme-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.programme-detail:nth-child(even) .prog-visual { order: 2; }
.prog-visual {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--paper-dim), #e6d9bd);
  border: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft); font-family: var(--serif);
}
.prog-body ul.feature-list { margin: 18px 0 26px; }
.prog-body ul.feature-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}
.prog-body ul.feature-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--vermillion); font-weight: 700;
}

/* ---------- Gallery ---------- */

.gallery-filters { display:flex; gap: 12px; justify-content:center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--vermillion); color: #fff; border-color: var(--vermillion); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--paper-dim), #dfd0aa);
  display: flex; align-items:center; justify-content:center;
  color: var(--ink-soft);
  font-size: 13px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
}
.gallery-item:nth-child(3n+1) { background: linear-gradient(150deg, #efe1c2, var(--vermillion) 160%); color: #fff; }
.gallery-item span { position:relative; z-index:2; }
.gallery-item.hidden { display: none; }

.lightbox {
  position: fixed; inset:0; background: rgba(28,26,23,0.92);
  display:none; align-items:center; justify-content:center; z-index: 1000;
  padding: 40px;
}
.lightbox.open { display:flex; }
.lightbox-inner {
  background: var(--paper); border-radius: 8px; max-width: 640px; width:100%;
  aspect-ratio: 4/3; display:flex; align-items:center; justify-content:center;
  font-family: var(--serif); color: var(--ink-soft); position: relative;
}
.lightbox-close {
  position:absolute; top:-46px; right:0; color:#fff; background:none; border:none;
  font-size: 30px; cursor:pointer; line-height:1;
}

/* ---------- Testimonials page ---------- */

.testi-filters { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }

/* ---------- Contact ---------- */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 12px;
  padding: 40px;
}
.contact-info-card h3 { color: #fff; font-size: 20px; }
.contact-line { display:flex; gap:14px; align-items:flex-start; margin-bottom: 22px; }
.contact-line .ic {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(201,162,75,0.15); color: var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-line strong { display:block; font-size: 14.5px; }
.contact-line span, .contact-line a { font-size: 13.5px; color: rgba(248,243,232,0.7); }
.social-row { display:flex; gap:12px; margin-top: 24px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(201,162,75,0.4); color: var(--gold);
  display:flex; align-items:center; justify-content:center; font-size: 14px;
}
.social-row a:hover { background: var(--gold); color: var(--ink); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display:block; font-size: 13px; font-weight: 700; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: 14.5px; background: var(--paper);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--vermillion); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

.map-frame {
  margin-top: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  aspect-ratio: 21/8;
  background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft); font-family: var(--serif);
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(248,243,232,0.84); padding: 92px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { color: var(--gold-soft); font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a { color: rgba(248,243,232,0.86); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: rgba(248,243,232,0.72) !important; }
.footer-brand p { font-size: 14px; margin-top: 14px; max-width: 280px; color: rgba(248,243,232,0.78); }
.footer-bottom {
  border-top: 1px solid rgba(248,243,232,0.18);
  padding-top: 24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
  color: rgba(248,243,232,0.76);
}

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 26px; box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 980px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .main-nav {
    display: flex;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 20px 32px;
  }
  .site-header.open .main-nav ul { flex-direction: column; gap: 18px; }
  .hero-slide .container,
  .about-preview .container,
  .split-band .container,
  .contact-wrap,
  .programme-detail { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-slide .container { padding-bottom: 110px; }
  .programme-detail:nth-child(even) .prog-visual { order: 0; }
  .grid-4, .testi-track, .method-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .method-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-height: 64px; }
  .brand { font-size: 16px; }
  .brand small { font-size: 8.5px; letter-spacing: 0.06em; }
  .hero-slide:nth-child(1)::before { background-image: url("../img/sk1_m.jpg?v=20260819-3"); }
  .hero-slide:nth-child(2)::before { background-image: url("../img/sk2_m.jpg?v=20260819-3"); }
  .hero, .hero-slides { min-height: calc(100svh - var(--header-height)); }
  .grid-4, .grid-3, .testi-track, .method-steps, .gallery-grid, .form-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-slide .container { padding-bottom: 110px; }
  .hero-visual { display: none; }
  .hero-copy h1, .hero-copy h2 { font-size: clamp(36px, 10vw, 50px); }
  .hero > .hero-stats { bottom: 74px; gap: 14px; }
  .hero-slider-controls { bottom: 20px; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
