@charset "UTF-8";

:root {
  --paper: #f6f2e7;
  --paper-2: #efe8d8;
  --card: #fffdf6;
  --ink: #1b2634;
  --ink-2: #24344a;
  --ink-soft: #46566b;
  --muted: #6d7683;
  --line: #ddd4bf;
  --line-soft: #e9e2d0;
  --red: #c82502;
  --red-dark: #9f1d00;
  --red-soft: rgba(200, 37, 2, 0.08);
  --amber: #dfa13a;
  --chalk: #17212e;
  --chalk-2: #1e2b3b;
  --chalk-text: #f1ead8;
  --chalk-muted: #a9b2bf;
  --white: #ffffff;

  --font-display: "Spectral", "Times New Roman", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-card: 0 1px 2px rgba(27, 38, 52, 0.05), 0 10px 30px -12px rgba(27, 38, 52, 0.18);
  --shadow-card-hover: 0 2px 4px rgba(27, 38, 52, 0.06), 0 22px 44px -16px rgba(27, 38, 52, 0.28);
  --shadow-stamp: 5px 6px 0 rgba(27, 38, 52, 0.09);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--red); color: var(--paper); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(76px, 10vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--chalk { background: var(--chalk); color: var(--chalk-text); }

.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--light .section-head__title { color: var(--paper); }
.section-head--light .section-head__lead { color: rgba(246, 242, 231, 0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}
.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-head__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}
.section-head--center .section-head__lead { margin-inline: auto; }

.rule {
  width: 76px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 22px;
}
.section-head--center .rule { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
  white-space: nowrap;
}
.btn .btn__arrow { transition: transform 0.28s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); box-shadow: 0 14px 30px -10px rgba(200, 37, 2, 0.55); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--red); box-shadow: 0 14px 30px -10px rgba(200, 37, 2, 0.45); }

.btn--ghost { border-color: rgba(27, 38, 52, 0.35); color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--red); color: #fff; box-shadow: 0 14px 30px -10px rgba(200, 37, 2, 0.5); }

.btn--ghost-light { border-color: rgba(246, 242, 231, 0.45); color: var(--paper); }
.btn--ghost-light:hover { border-color: var(--red); background: var(--red); color: #fff; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.link-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.link-more svg { transition: transform 0.3s var(--ease); }
.link-more:hover::after { transform: scaleX(1); }
.link-more:hover svg { transform: translateX(4px); }
.link-more--light { color: var(--chalk-text); }

.watermark {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(27, 38, 52, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section--ink .watermark { color: rgba(246, 242, 231, 0.05); }
.section--chalk .watermark { color: rgba(241, 234, 216, 0.05); }

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--amber));
  z-index: 1300;
  transition: width 0.1s linear;
}

/* ============================== HEADER ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: rgba(246, 242, 231, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 32px -18px rgba(27, 38, 52, 0.28);
}

.header-top {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  position: relative;
  z-index: 2;
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  gap: 18px;
}
.header-top__list { display: flex; gap: 26px; flex-wrap: wrap; }
.header-top__item { display: inline-flex; align-items: center; gap: 8px; color: rgba(246, 242, 231, 0.82); transition: color 0.25s; }
.header-top__item:hover { color: #fff; }
.header-top__item svg { flex: 0 0 auto; opacity: 0.75; }
.header-top__social { display: inline-flex; align-items: center; gap: 8px; color: rgba(246, 242, 231, 0.82); transition: color 0.25s; }
.header-top__social:hover { color: #fff; }

.header-main { position: relative; z-index: 1; }
.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}
.site-header.is-scrolled .header-main__inner { min-height: 66px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__text { display: flex; flex-direction: column; }
.brand__logo {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 6px 10px;
  box-shadow: 0 4px 14px -8px rgba(27, 38, 52, 0.25);
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand__logo { transform: rotate(-2deg) translateY(-1px); }
.brand__logo img { height: 46px; width: auto; }
.site-header.is-scrolled .brand__logo img { height: 38px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.brand__name em { font-style: italic; color: var(--red); }
.brand__sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s;
}
.nav__link svg { transition: transform 0.3s var(--ease); }
.nav > li:hover > .nav__link,
.nav > li:focus-within > .nav__link { color: var(--red); }
.nav > li:hover > .nav__link svg,
.nav > li:focus-within > .nav__link svg { transform: rotate(180deg); }
.nav__link.is-active { color: var(--red); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card-hover);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 50;
}
.nav > li:hover .dropdown,
.nav > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 7px;
  transition: background 0.2s, color 0.2s, padding-left 0.25s var(--ease);
}
.dropdown a:hover { background: var(--red-soft); color: var(--red); padding-left: 20px; }

.header-cta { display: inline-flex; }
.header-cta .btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background: var(--chalk);
  color: var(--chalk-text);
  display: flex;
  flex-direction: column;
  padding: 136px var(--gutter) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-menu__group {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241, 234, 216, 0.45);
  margin: 26px 0 8px;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.25;
  padding: 8px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--chalk-text);
  transition: color 0.25s, transform 0.3s var(--ease);
}
.mobile-menu__link span.num { font-family: var(--font-body); font-size: 0.8rem; color: var(--red); letter-spacing: 0.1em; }
.mobile-menu__link:hover { color: var(--red); transform: translateX(8px); }
.mobile-menu__sub a {
  display: block;
  padding: 9px 0 9px 34px;
  font-size: 1rem;
  color: rgba(241, 234, 216, 0.75);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.mobile-menu__sub a:hover { color: var(--red); padding-left: 42px; }
.mobile-menu__foot {
  border-top: 1px solid rgba(241, 234, 216, 0.14);
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(241, 234, 216, 0.75);
}
.mobile-menu__foot a { color: var(--chalk-text); }

/* ============================== HERO ============================== */

.hero {
  position: relative;
  min-height: max(620px, calc(100svh - var(--header-h) - 40px));
  display: flex;
  align-items: stretch;
  background: var(--ink);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s;
  z-index: 1;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }

.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  filter: saturate(0.94);
}
.hero__slide.is-active .hero__bg img { animation: kenburns 8.5s var(--ease) forwards; }

@keyframes kenburns {
  0% { transform: scale(1.12) translate(0, 0); }
  100% { transform: scale(1.02) translate(1.5%, -1.5%); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(16, 22, 32, 0.88) 0%, rgba(16, 22, 32, 0.62) 42%, rgba(16, 22, 32, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 22, 32, 0.55) 0%, transparent 34%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 85%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: inherit;
  width: 100%;
  padding-block: 90px 130px;
}
.hero__inner { max-width: 780px; }

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(200, 37, 2, 0.92);
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__kicker::before { content: "◆"; font-size: 0.6em; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6.5vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: #ffb64f;
  position: relative;
  white-space: nowrap;
}
.hero__title em svg {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.28em;
  overflow: visible;
}
.hero__title em svg path {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;
  stroke-linecap: round;
}

.hero__sub {
  margin-top: 22px;
  max-width: 54ch;
  color: rgba(246, 242, 231, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.hero__item {
  opacity: 0;
  transform: translateY(28px);
}
.hero__slide.is-active .hero__item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.hero__slide.is-active .hero__item:nth-child(1) { transition-delay: 0.35s; }
.hero__slide.is-active .hero__item:nth-child(2) { transition-delay: 0.5s; }
.hero__slide.is-active .hero__item:nth-child(3) { transition-delay: 0.65s; }
.hero__slide.is-active .hero__item:nth-child(4) { transition-delay: 0.8s; }

.hero__controls {
  position: absolute;
  z-index: 4;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 44px;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.hero__dots { display: flex; gap: 10px; align-items: center; }
.hero__dot {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(246, 242, 231, 0.5);
  padding: 8px 6px;
  transition: color 0.3s;
}
.hero__dot i {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}
.hero__dot.is-active { color: #fff; }
.hero__dot.is-active i { width: 52px; color: var(--red); }
.hero__arrows { display: flex; gap: 10px; }
.hero__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 242, 231, 0.4);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

.hero__scroll {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

/* ============================== MARQUEE ============================== */

.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 34s linear infinite;
  padding-block: 13px;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-inline: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after { content: "◆"; font-size: 0.62em; opacity: 0.65; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================== FEATURES ============================== */

.features { position: relative; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}
.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); border-color: var(--line); }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card__num {
  position: absolute;
  top: 20px;
  right: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: rgba(27, 38, 52, 0.06);
  transition: color 0.4s;
}
.feature-card:hover .feature-card__num { color: rgba(200, 37, 2, 0.12); }
.feature-card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.feature-card:hover .feature-card__icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }
.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.feature-card p { color: var(--muted); font-size: 0.98rem; }

/* ============================== STATS ============================== */

.stats { position: relative; overflow: hidden; }
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: center; padding: 10px 16px; }
.stat + .stat { border-left: 1px solid rgba(246, 242, 231, 0.14); }
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  color: var(--paper);
}
.stat__value sup { font-size: 0.5em; font-weight: 500; color: var(--red); }
.stat__label {
  margin-top: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(246, 242, 231, 0.62);
  font-weight: 600;
}

/* ============================== PROGRAMS ============================== */

.programs { position: relative; overflow: hidden; }
.programs__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
}
.programs__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(0.5) contrast(1.05);
}
.programs__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 33, 46, 0.94) 0%, rgba(23, 33, 46, 0.82) 55%, rgba(23, 33, 46, 0.96) 100%);
}
.programs__content { position: relative; z-index: 1; }
.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 246, 0.05);
  border: 1px solid rgba(246, 242, 231, 0.16);
  border-radius: var(--radius);
  padding: 32px 26px 26px;
  color: var(--chalk-text);
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  will-change: transform;
}
.program-card:hover {
  background: rgba(255, 253, 246, 0.1);
  border-color: rgba(200, 37, 2, 0.75);
  transform: translateY(-8px);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.55);
}
.program-card__level {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.program-card__level::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.program-card__grade {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
  line-height: 1.15;
  margin: 18px 0 12px;
  color: var(--paper);
}
.program-card__grade em { font-style: italic; color: #ffb64f; }
.program-card p { font-size: 0.9rem; color: rgba(241, 234, 216, 0.66); flex: 1; }
.program-card__cta {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk-text);
}
.program-card__cta svg { transition: transform 0.3s var(--ease); }
.program-card:hover .program-card__cta svg { transform: translateX(6px); }
.program-card__ghost {
  position: absolute;
  right: 8px;
  bottom: -22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 6.4rem;
  line-height: 1;
  color: rgba(246, 242, 231, 0.05);
  pointer-events: none;
  transition: color 0.4s;
}
.program-card:hover .program-card__ghost { color: rgba(200, 37, 2, 0.18); }

/* ============================== PHILOSOPHY ============================== */

.philosophy { position: relative; }
.philosophy__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.philosophy__media { position: relative; }
.philosophy__media .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.philosophy__media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 4.6; }
.philosophy__stamp {
  position: absolute;
  right: -26px;
  bottom: 34px;
  width: 118px;
  height: 118px;
  z-index: 2;
}
.philosophy__stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.philosophy__body p { color: var(--ink-soft); margin-bottom: 18px; }
.philosophy__body p.lead { font-size: 1.14rem; line-height: 1.85; color: var(--ink); }
.philosophy__list { margin: 26px 0; display: grid; gap: 12px; }
.philosophy__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 0.97rem;
  color: var(--ink-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.philosophy__list li:hover { transform: translateX(6px); border-color: var(--red); box-shadow: var(--shadow-card); }
.philosophy__list .tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.quote-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-left: 6px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 34px 30px 30px;
  margin-top: 34px;
  box-shadow: var(--shadow-card);
}
.quote-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.quote-card .quote-card__meta {
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================== GALLERY ============================== */

.gallery { position: relative; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  text-align: left;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 22, 32, 0.62) 0%, transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1.05); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(13, 18, 26, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { max-width: min(1100px, 92vw); max-height: 86vh; position: relative; }
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__caption {
  color: rgba(246, 242, 231, 0.8);
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.lightbox__btn {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 242, 231, 0.35);
  color: var(--paper);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
  z-index: 2;
}
.lightbox__btn:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.lightbox__close { top: 26px; right: 26px; }
.lightbox__prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.06); }

/* ============================== NEWS ============================== */

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
  z-index: 1;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.news-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10.5; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__date {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 10px 22px -8px rgba(200, 37, 2, 0.7);
}
.news-card__date b { display: block; font-size: 1.3rem; font-weight: 700; }
.news-card__date span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
.news-card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.news-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.25s;
}
.news-card:hover .news-card__title { color: var(--red); }
.news-card p { color: var(--muted); font-size: 0.94rem; flex: 1; }
.news-card .link-more { margin-top: 18px; align-self: flex-start; }

.news-empty {
  text-align: center;
  padding: 70px 20px;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.news-empty .big {
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(27, 38, 52, 0.14);
  line-height: 1;
  margin-bottom: 14px;
}
.news-empty p { color: var(--muted); }

.news-post {
  display: grid;
  grid-template-columns: 360px 1fr;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  scroll-margin-top: 110px;
}
.news-post:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.news-post__media { position: relative; overflow: hidden; min-height: 240px; }
.news-post__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.news-post:hover .news-post__media img { transform: scale(1.05); }
.news-post__body { padding: 30px 34px; display: flex; flex-direction: column; gap: 12px; }
.news-post__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.25s;
}
.news-post:hover .news-post__title { color: var(--red); }
.news-post__body p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.news-post .link-more { align-self: flex-start; }

/* ============================== PANELLADIKES / CHALK ============================== */

.chalk-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(241, 234, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 234, 216, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.panelladikes { position: relative; overflow: hidden; }
.panelladikes__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tool-card {
  background: rgba(255, 253, 246, 0.04);
  border: 1px dashed rgba(241, 234, 216, 0.25);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.tool-card:hover { transform: translateY(-6px) rotate(-1deg); background: rgba(255, 253, 246, 0.08); border-color: var(--red); }
.tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(200, 37, 2, 0.2);
  color: #ff8a6b;
  display: grid;
  place-items: center;
}
.tool-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--chalk-text);
}
.tool-card p { font-size: 0.88rem; color: var(--chalk-muted); flex: 1; }
.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb64f;
}
.tool-card__link svg { transition: transform 0.3s var(--ease); }
.tool-card:hover .tool-card__link svg { transform: translateX(5px); }
.panelladikes__cta {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(241, 234, 216, 0.22);
  padding-top: 38px;
}
.panelladikes__cta-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--chalk-text);
}
.panelladikes__cta-text p { color: var(--chalk-muted); font-size: 0.95rem; margin-top: 6px; }

/* ============================== CONTACT ============================== */

.contact { position: relative; }
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  position: relative;
  z-index: 1;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 18px; }
.form__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form__field label .req { color: var(--red); }
.form__control {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.form__control::placeholder { color: #a9a28f; }
.form__control:focus {
  outline: none;
  border-color: var(--red);
  background: var(--card);
  box-shadow: 0 0 0 4px var(--red-soft);
}
textarea.form__control { min-height: 150px; resize: vertical; }
.form__control.is-error { border-color: var(--red); background: rgba(200, 37, 2, 0.04); }
.form__error {
  display: none;
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 6px;
  font-weight: 600;
}
.form__error.is-visible { display: block; }
.form__note { font-size: 0.84rem; color: var(--muted); margin-top: 14px; }
.form__success {
  display: none;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  background: rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: #2e7d32;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.95rem;
}
.form__success.is-visible { display: flex; animation: pop-in 0.45s var(--ease); }
@keyframes pop-in {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}

.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info__card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.contact-info__card:hover { transform: translateX(6px); border-color: var(--red); box-shadow: var(--shadow-card); }
.contact-info__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
}
.contact-info__card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; margin-bottom: 4px; }
.contact-info__card p, .contact-info__card a { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.contact-info__card a:hover { color: var(--red); }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  margin-top: 22px;
  line-height: 0;
}
.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(0.85) sepia(0.12) contrast(0.95);
  transition: filter 0.5s;
}
.contact-map:hover iframe { filter: none; }

/* ============================== PAGE HERO ============================== */

.page-hero {
  position: relative;
  background: var(--chalk);
  color: var(--chalk-text);
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 100px);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
}
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 33, 46, 0.9), rgba(23, 33, 46, 0.35));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(241, 234, 216, 0.55);
  margin-bottom: 20px;
}
.page-hero__crumb a { color: #ffb64f; transition: color 0.25s; }
.page-hero__crumb a:hover { color: #fff; }
.page-hero__crumb svg { opacity: 0.5; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.1;
  max-width: 22ch;
}
.page-hero__title em { font-style: italic; color: #ffb64f; }
.page-hero__lead { margin-top: 16px; max-width: 62ch; color: rgba(241, 234, 216, 0.7); font-size: 1.08rem; }
.page-hero__ghost {
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10rem, 24vw, 20rem);
  line-height: 1;
  color: rgba(241, 234, 216, 0.05);
  pointer-events: none;
  user-select: none;
}

/* ============================== PROSE / PAGE BODY ============================== */

.page-body { position: relative; }
.page-body__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
  position: relative;
  z-index: 1;
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  margin: 42px 0 14px;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin: 30px 0 10px;
  color: var(--ink);
}
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose p.lead-prose { font-size: 1.15rem; line-height: 1.85; color: var(--ink); }
.prose ul { margin: 18px 0 26px; display: grid; gap: 10px; }
.prose ul li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--red-soft);
  border: 2px solid var(--red);
  transform: rotate(45deg);
}
.prose a { color: var(--red); font-weight: 600; border-bottom: 1px solid rgba(200, 37, 2, 0.35); transition: border-color 0.25s; }
.prose a:hover { border-color: var(--red); }
.prose blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.55;
  color: var(--ink);
  border-left: 5px solid var(--red);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
  margin: 30px 0;
}
.prose strong { color: var(--ink); }

.subject-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 30px; }
.subject-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.subject-chip:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }

.note-box {
  background: var(--red-soft);
  border: 1px solid rgba(200, 37, 2, 0.3);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.note-box b { color: var(--ink); }

.page-sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.side-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-card h4::after { content: ""; height: 2px; flex: 1; background: var(--line-soft); }
.side-card__list { display: grid; gap: 2px; }
.side-card__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line-soft);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.side-card__list a:last-child { border-bottom: 0; }
.side-card__list a:hover { color: var(--red); padding-left: 8px; }
.side-card__list a.is-active { color: var(--red); }
.side-card__list a svg { opacity: 0.5; }

/* ============================== RULES ============================== */

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}
.rule-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.rule-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--line); }
.rule-item__num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--red);
  min-width: 34px;
}
.rule-item p { color: var(--ink-soft); font-size: 0.97rem; }

/* ============================== CTA STRIP ============================== */

.cta-strip {
  position: relative;
  background: var(--red);
  color: #fff;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-block: clamp(44px, 6vw, 64px);
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.2;
  max-width: 22ch;
}
.cta-strip p { margin-top: 10px; font-size: 1rem; opacity: 0.85; max-width: 52ch; }

/* ============================== FOOTER ============================== */

.site-footer { background: var(--ink); color: rgba(246, 242, 231, 0.72); position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 242, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 231, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
}
.site-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-block: clamp(56px, 7vw, 80px) 46px;
}
.site-footer__brand .brand__logo { margin-bottom: 20px; display: inline-flex; }
.site-footer__brand p { font-size: 0.94rem; max-width: 34ch; margin-bottom: 20px; }
.site-footer h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer h4::after { content: ""; width: 26px; height: 2px; background: var(--red); }
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list a {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s, transform 0.25s var(--ease);
}
.site-footer__list a::before { content: "›"; color: var(--red); font-weight: 700; }
.site-footer__list a:hover { color: #fff; transform: translateX(5px); }
.site-footer__contact { display: grid; gap: 12px; font-size: 0.94rem; }
.site-footer__contact span { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--red); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(246, 242, 231, 0.22);
  display: grid;
  place-items: center;
  color: var(--paper);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.site-footer__social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-4px); }
.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(246, 242, 231, 0.12);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.site-footer__bottom .delta {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: #ffb64f;
}

.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px -12px rgba(200, 37, 2, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background 0.25s;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--red-dark); }

/* ============================== REVEAL ============================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ============================== RESPONSIVE ============================== */

@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .panelladikes__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: 0; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .page-body__grid { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
  .philosophy__grid { grid-template-columns: 1fr; }
  .philosophy__stamp { right: 10px; }
  .gallery__grid { grid-auto-rows: 130px; }
}

@media (max-width: 720px) {
  .header-top__list .header-top__item:nth-child(2) { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .news-post { grid-template-columns: 1fr; }
  .news-post__media { min-height: 200px; }
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; }
  .gallery__item--wide { grid-column: span 2; }
  .rules-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__controls { bottom: 26px; }
  .hero__dot { display: none; }
  .hero__dot.is-active { display: flex; }
  .hero { min-height: max(560px, calc(100svh - var(--header-h) - 40px)); }
  .lightbox__prev, .lightbox__next { display: none; }
  .stats__grid { gap: 34px 12px; }
  .cta-strip__inner { flex-direction: column; align-items: flex-start; }
  .brand__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .philosophy__stamp svg { animation: none; }
}
