:root {
  --primary: #b74a0b;
  --primary-2: #ec7d14;
  --accent: #b12222;
  --gold: #eab308;
  --ink: #1a1a1a;
  --muted: #666;
  --soft: #f7f4ef;
  --line: #eadfce;
  --white: #fff;
  --shadow: 0 20px 55px rgba(26, 26, 26, .12);
  --radius: 24px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 1rem; color: inherit; }
h1 { font-size: clamp(3rem, 9vw, 6.8rem); max-width: 840px; }
h2 { font-size: clamp(2.2rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
button, input, select, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 9999; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; }

.top-bar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .88rem; }
.top-bar__inner { min-height: 36px; display: flex; gap: 24px; align-items: center; justify-content: flex-end; }
.top-bar a:hover { color: #fff; }
.nav-wrap { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(183,74,11,.12); backdrop-filter: blur(14px); }
.nav-wrap__inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark { width: 48px; height: 48px; border-radius: 999px; display: inline-grid; place-items: center; flex: 0 0 auto; background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; font-family: var(--display); font-size: 1.35rem; font-weight: 800; box-shadow: 0 12px 30px rgba(183,74,11,.22); }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-size: .98rem; }
.brand__text small { color: var(--primary); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 800; }
.custom-logo { max-width: 52px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.wccm-menu { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; align-items: center; }
.wccm-menu a { color: #333; font-weight: 700; font-size: .92rem; }
.wccm-menu a:hover { color: var(--primary); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 22px; border-radius: 14px; border: 0; background: linear-gradient(135deg, var(--accent), var(--primary-2)); color: #fff; font-weight: 800; box-shadow: 0 18px 40px rgba(183,74,11,.25); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(183,74,11,.3); }
.btn--small { min-height: 42px; padding: 10px 16px; font-size: .88rem; white-space: nowrap; }
.btn--ghost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.15); }

.hero { min-height: 100vh; display: flex; align-items: center; background: radial-gradient(circle at 70% 20%, rgba(234,179,8,.16), transparent 30%), linear-gradient(110deg, #1a1a1a, #3d1f14); background-size: cover; background-position: center; color: #fff; padding: 160px 0 90px; }
.hero__inner { animation: heroEnter .8s ease both; }
.hero h1 { color: #fff; }
.hero__text { max-width: 680px; font-size: clamp(1.08rem, 2vw, 1.3rem); color: rgba(255,255,255,.82); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.eyebrow { display: inline-flex; color: #f6c162; text-transform: uppercase; font-weight: 900; letter-spacing: .12em; font-size: .78rem; margin-bottom: 16px; }
.eyebrow--light { color: var(--primary); background: #fff6ec; padding: 7px 12px; border-radius: 999px; }

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--white { background: #fff; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: rgba(255,255,255,.72); }
.section-heading { max-width: 760px; text-align: center; margin: 0 auto 52px; }
.section-heading p { font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px, 7vw, 86px); align-items: center; }
.split--reverse { grid-template-columns: 1.05fr 1fr; }
.media-frame { min-height: 360px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #eee; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.image-placeholder { min-height: 360px; display: grid; place-items: center; padding: 28px; text-align: center; color: var(--muted); background: linear-gradient(135deg, #f5eadb, #fff); }
.image-placeholder--dark { background: linear-gradient(135deg, #2a2a2a, #111); color: rgba(255,255,255,.68); }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; color: #333; }
.check-list li::before { content: ''; width: 9px; height: 9px; border-radius: 99px; background: var(--primary); margin-top: .55em; flex: 0 0 auto; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.program-card { background: #fff; border: 1px solid rgba(183,74,11,.12); border-radius: var(--radius); overflow: hidden; box-shadow: 0 16px 42px rgba(26,26,26,.08); transition: transform .2s ease, box-shadow .2s ease; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program-card__image { aspect-ratio: 16 / 11; overflow: hidden; background: #f1eadf; }
.program-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.program-card:hover img { transform: scale(1.05); }
.program-card__body { padding: 24px; }
.program-card__body a { color: var(--primary); font-weight: 900; }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.principles span { border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 18px; background: rgba(255,255,255,.05); display: grid; gap: 6px; color: rgba(255,255,255,.72); }
.principles strong { display: block; color: #f6c162; font-family: var(--display); font-size: 2rem; }

.schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.schedule-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 6px; box-shadow: 0 12px 26px rgba(26,26,26,.04); }
.schedule-item strong { color: var(--primary); }
.schedule-item span { color: var(--muted); font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 7vw, 80px); align-items: start; }
address { font-style: normal; color: var(--muted); line-height: 1.9; }
address a { color: var(--primary); font-weight: 800; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow); border: 1px solid rgba(183,74,11,.12); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #333; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #ddd2c4; background: #fff; border-radius: 14px; padding: 13px 14px; outline: 0; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(183,74,11,.12); }
.form-message { margin: 0; padding: 12px 14px; border-radius: 14px; font-weight: 800; }
.form-message--success { background: #ecfdf5; color: #047857; }
.form-message--error { background: #fef2f2; color: #b91c1c; }

.archive-section { padding-top: 150px; }
.post-list { display: grid; gap: 18px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.post-card a { color: var(--primary); }

.footer-cta { background: linear-gradient(135deg, var(--accent), var(--primary-2)); color: #fff; text-align: center; padding: 58px 0; }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: rgba(255,255,255,.82); max-width: 700px; margin: 0 auto 24px; }
.site-footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr; gap: 42px; padding: 64px 0; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.62); }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid h3 { font-family: var(--font); font-size: 1rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-bottom p, .footer-bottom a { margin: 0; color: rgba(255,255,255,.45); font-size: .92rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes heroEnter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .top-bar { display: none; }
  .nav-wrap__inner { min-height: 68px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 10px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .wccm-menu { display: grid; gap: 12px; }
  .primary-nav .btn { margin-top: 8px; width: 100%; }
  .split, .split--reverse, .contact-grid { grid-template-columns: 1fr; }
  .program-grid { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand__text strong { font-size: .86rem; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__text small { font-size: .64rem; }
  .hero { min-height: 88vh; padding: 120px 0 70px; }
  .hero__actions, .hero__actions .btn { width: 100%; }
  .schedule-grid, .principles { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; justify-content: center; padding: 18px 0; text-align: center; }
}