:root {
  --ink: #16243b;
  --ink-soft: #34445f;
  --muted: #5f6d80;
  --paper: #fbf7ef;
  --paper-2: #f3ecdf;
  --surface: #ffffff;
  --teal: #0f6b62;
  --teal-deep: #0a4f49;
  --teal-ink: #073b37;
  --coral: #ef6a4c;
  --gold: #f3b73f;
  --blue: #3c74c9;
  --plum: #8a5aa8;
  --line: rgba(22, 36, 59, 0.12);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 8px 22px rgba(22, 36, 59, 0.07);
  --shadow-md: 0 22px 55px rgba(22, 36, 59, 0.13);
  --container: 1160px;
  --font: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(243, 183, 63, 0.16), transparent 26rem),
    radial-gradient(circle at 96% 18%, rgba(15, 107, 98, 0.09), transparent 30rem),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 6.2vw, 4.7rem);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand__crest {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--coral), #f7a03c 55%, var(--gold));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: 0 8px 18px rgba(239, 106, 76, 0.28);
  transform: rotate(-3deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__text strong {
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.brand__text span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav > a:not(.btn) {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transition: right 0.22s ease;
}

.site-nav > a:not(.btn):hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--teal), #12857a);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 107, 98, 0.24);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 107, 98, 0.3);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 107, 98, 0.35);
  background: #fff;
}

.btn--small {
  padding: 0.62rem 1.15rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none !important;
}

/* Shared type */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 106, 76, 0.14);
}

.eyebrow--light {
  color: #c6ece4;
}

.eyebrow--light .eyebrow__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(243, 183, 63, 0.18);
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.4rem;
}

.section-head__lead {
  max-width: 34rem;
  margin: 0 0 0.2rem auto;
  color: var(--muted);
  font-size: 1rem;
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(2.6rem, 5.5vw, 4.8rem) 0 clamp(2.2rem, 4vw, 3.2rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.text-accent {
  position: relative;
  z-index: 0;
  color: var(--teal);
}

.text-accent::before {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0.06em;
  z-index: -1;
  height: 0.26em;
  border-radius: 999px;
  background: rgba(243, 183, 63, 0.62);
}

.hero__slogan {
  margin: 0.7rem 0 0.8rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(15, 107, 98, 0.22);
  border-radius: 50%;
  background: rgba(15, 107, 98, 0.09);
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 800;
}

.hero__art {
  position: relative;
  min-width: 0;
}

.hero__frame {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 8px;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(1.4deg);
}

.hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1408 / 768;
  object-fit: cover;
  border-radius: 28px;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero__blob--one {
  top: -42px;
  right: -28px;
  width: 220px;
  height: 220px;
  background: rgba(243, 183, 63, 0.38);
}

.hero__blob--two {
  bottom: -48px;
  left: -34px;
  width: 178px;
  height: 178px;
  background: rgba(239, 106, 76, 0.22);
}

.hero__badge {
  position: absolute;
  right: -10px;
  bottom: -18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.05rem;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 36px rgba(22, 36, 59, 0.28);
  transform: rotate(-3deg);
}

.hero__badge strong {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.hero__badge span {
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Facts */

.facts {
  padding-top: 1.1rem;
}

.facts__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.5rem 1.2rem;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(243, 183, 63, 0.2), transparent 18rem),
    linear-gradient(120deg, var(--teal-deep), var(--teal) 70%, #147a6f);
  box-shadow: 0 20px 44px rgba(10, 79, 73, 0.22);
}

.fact {
  padding: 0.25rem 1.4rem;
  border-right: 1px dashed rgba(255, 255, 255, 0.22);
  color: #fff;
}

.fact:last-child {
  border-right: 0;
}

.fact__value {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.fact__label {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.35;
}

/* About */

.about {
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
}

.about__media {
  position: relative;
  min-width: 0;
}

.about__frame {
  margin: 0;
  padding: 8px;
  border-radius: 32px;
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: rotate(-1.4deg);
}

.about__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1408 / 768;
  object-fit: cover;
  border-radius: 24px;
}

.about__sticker {
  position: absolute;
  right: -16px;
  bottom: -24px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  max-width: 230px;
  padding: 0.95rem 1.15rem;
  border-radius: 20px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 16px 34px rgba(239, 106, 76, 0.28);
  transform: rotate(2deg);
}

.about__sticker strong {
  font-size: 1.3rem;
  line-height: 1.1;
}

.about__sticker span {
  font-size: 0.78rem;
  line-height: 1.3;
  opacity: 0.92;
}

.about__copy h2 {
  margin-bottom: 1rem;
}

.about__copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.ticks {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-weight: 650;
}

.ticks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2f3ee;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

/* Directions */

.directions {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}

.card {
  --card-accent: var(--teal);
  --card-soft: #e3f4ef;
  position: relative;
  padding: 1.5rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--card-accent);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: var(--card-soft);
  color: var(--card-accent);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.card__tag {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--card-soft);
  color: var(--card-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card:nth-child(8n + 1) {
  --card-accent: #0f6b62;
  --card-soft: #e1f3ee;
}

.card:nth-child(8n + 2) {
  --card-accent: #c2573a;
  --card-soft: #fbe7df;
}

.card:nth-child(8n + 3) {
  --card-accent: #8a5aa8;
  --card-soft: #f1e8f7;
}

.card:nth-child(8n + 4) {
  --card-accent: #a8791d;
  --card-soft: #fbf0d3;
}

.card:nth-child(8n + 5) {
  --card-accent: #3c74c9;
  --card-soft: #e4edfa;
}

.card:nth-child(8n + 6) {
  --card-accent: #2d7f4f;
  --card-soft: #e2f4e8;
}

.card:nth-child(8n + 7) {
  --card-accent: #b0455a;
  --card-soft: #f9e4e8;
}

.card:nth-child(8n + 8) {
  --card-accent: #0b6e80;
  --card-soft: #e0f3f6;
}

/* Teachers */

.teachers {
  background: var(--paper);
}

.teachers__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.3rem;
  align-items: stretch;
}

.director-card {
  position: relative;
  padding: 1.8rem;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(155deg, var(--teal), var(--teal-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.director-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(243, 183, 63, 0.14);
}

.director-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.director-card__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--gold), #f7a03c);
  color: var(--teal-ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.director-card__role {
  margin: 0;
  color: #bfe7df;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.director-card h3 {
  margin: 0.25rem 0 0.35rem;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.3;
}

.director-card__fact {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
}

.director-card > p {
  position: relative;
  z-index: 1;
  margin: 1.3rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.teachers__copy {
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.teachers__copy > h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.teachers__copy > p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.teacher-features {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.teacher-features li {
  display: flex;
  gap: 0.9rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.teacher-features__mark {
  padding-top: 0.12rem;
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.teacher-features strong {
  display: block;
  font-size: 0.98rem;
}

.teacher-features li > div > span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.note {
  margin: 0;
  padding-left: 0.8rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.82rem;
}

/* Lead form band */

.lead-band {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(243, 183, 63, 0.17), transparent 24rem),
    linear-gradient(135deg, var(--teal-deep), var(--teal) 55%, #137d72);
  color: #fff;
}

.lead-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.3;
  pointer-events: none;
}

.lead-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lead-band__copy h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.lead-band__copy > p {
  max-width: 32rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.lead-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.lead-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
}

.lead-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
}

.lead-form {
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.24);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.req {
  color: var(--coral);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #96a0ae;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 107, 98, 0.13);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 106, 76, 0.13);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0.2rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  accent-color: var(--teal);
}

.consent a {
  color: var(--teal);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  min-height: 1.2em;
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-success {
  padding: 0.7rem 0.9rem;
  border: 1px solid #b9e6d2;
  border-radius: 12px;
  background: #e5f6ee;
  color: #13704f;
}

.form-status.is-error {
  padding: 0.7rem 0.9rem;
  border: 1px solid #f5c7bd;
  border-radius: 12px;
  background: #fdece8;
  color: #a43a2c;
}

/* Contacts */

.contacts {
  background: var(--paper);
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fdece8;
  color: var(--coral);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  margin: 0.9rem 0 0.4rem;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-card a {
  color: var(--teal);
  font-weight: 750;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card .contact-card__note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.contact-card--route {
  border-color: #f0dfb6;
  background: linear-gradient(150deg, #fff7e5, #fff);
}

.contact-card--route .contact-card__icon {
  background: #fbf0d3;
  color: #a8791d;
}

/* Footer */

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand--footer {
  margin-bottom: 1rem;
  color: #fff;
}

.brand--footer .brand__text span {
  color: rgba(255, 255, 255, 0.55);
}

.footer__brand p {
  max-width: 28rem;
  margin: 0;
  font-size: 0.9rem;
}

.footer__nav,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__nav a,
.footer__contacts a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer__nav a:hover,
.footer__contacts a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__contacts span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
}

.footer__bottom p {
  margin: 0;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__bottom a:hover {
  color: #fff;
}

/* Inner pages: privacy */

.page-hero {
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 2rem;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-hero p {
  max-width: 46rem;
  margin: 0;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 650;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.prose {
  width: min(100% - 2.5rem, 820px);
  margin-inline: auto;
  padding: 2.6rem 0 4.5rem;
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

.prose h2:first-of-type {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--teal);
  font-weight: 650;
}

.prose .updated {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #e2f3ee;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
}

.prose .callout {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Staff page */

.staff-main {
  min-height: 62vh;
  padding: 2.6rem 0 4.5rem;
}

.staff-panel {
  width: min(100% - 2.5rem, 1040px);
  margin-inline: auto;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.staff-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.staff-head h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}

.staff-head p {
  max-width: 40rem;
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.staff-login {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-end;
  margin-bottom: 1.2rem;
}

.staff-login .field {
  flex: 1 1 260px;
  margin: 0;
}

.staff-login .btn {
  flex: 0 0 auto;
}

.staff-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.staff-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.staff-stat {
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.staff-stat strong {
  display: block;
  margin-bottom: 0.1rem;
  color: var(--ink);
  font-size: 1.2rem;
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.staff-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.staff-table th,
.staff-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.staff-table tr:last-child td {
  border-bottom: 0;
}

.staff-table th {
  background: var(--paper);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.staff-table td {
  color: var(--ink-soft);
}

.staff-table .nowrap {
  white-space: nowrap;
}

.staff-table a {
  color: var(--teal);
  font-weight: 650;
  text-decoration: none;
}

.staff-table a:hover {
  text-decoration: underline;
}

.staff-empty {
  padding: 2.2rem 1rem;
  color: var(--muted);
  text-align: center;
}

.staff-message {
  display: none;
  margin-bottom: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

.staff-message.is-error {
  display: block;
  border: 1px solid #f5c7bd;
  background: #fdece8;
  color: #a43a2c;
}

.staff-message.is-info {
  display: block;
  border: 1px solid #b9e6d2;
  background: #e5f6ee;
  color: #13704f;
}

.staff-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Responsive */

@media (max-width: 980px) {
  .hero__grid,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__art {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .about__media {
    max-width: 640px;
    margin-inline: auto;
    width: 100%;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .section-head__lead {
    margin-left: 0;
  }

  .teachers__grid,
  .lead-band__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 84px;
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem 1.25rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 22px 40px rgba(22, 36, 59, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 0.75rem 0.3rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 0.7rem;
    width: 100%;
  }

  .facts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0;
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, var(--container));
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__badge {
    right: 4px;
    bottom: -14px;
    padding: 0.65rem 0.85rem;
  }

  .hero__badge strong {
    font-size: 1.6rem;
  }

  .hero__badge span {
    font-size: 0.62rem;
  }

  .about__sticker {
    right: 6px;
    bottom: -18px;
    max-width: 200px;
    padding: 0.8rem 0.95rem;
  }

  .about__sticker strong {
    font-size: 1.1rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .staff-panel {
    width: calc(100% - 1.6rem);
  }

  .staff-login .btn {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .facts__grid {
    grid-template-columns: 1fr;
    padding: 1.2rem;
  }

  .fact {
    padding: 0.6rem 0.3rem;
    border-right: 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(-n + 2) {
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .brand__text strong {
    font-size: 0.98rem;
  }

  .hero__points {
    gap: 0.45rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
