/* =========================================================
   1. GLOBAL / DESIGN TOKENS
   Bright, playful bilingual violin-school visual system
   ========================================================= */
:root {
  --ink: #203f3b;
  --muted: #61736f;
  --paper: #fffdf8;
  --white: #ffffff;
  --cream: #fff8ed;
  --peach: #ffd8cf;
  --coral: #f26464;
  --coral-dark: #d94e52;
  --mint: #73c4ae;
  --mint-dark: #176e67;
  --lavender: #eee8fa;
  --yellow: #f2ae2e;
  --line: rgba(32, 63, 59, 0.14);
  --shadow: 0 18px 45px rgba(70, 62, 91, 0.13);
  --shadow-soft: 0 10px 28px rgba(70, 62, 91, 0.09);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Nunito", Arial, sans-serif;
  --script: "Dancing Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.12;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.9rem);
}

h3 {
  font-size: 1.45rem;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 105px 0;
}

.centered {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

.eyebrow.light {
  color: #fff6ef;
}

.script-label {
  margin-bottom: 10px;
  color: var(--coral);
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 600;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 7px 0 rgba(32, 63, 59, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 0 rgba(32, 63, 59, 0.09);
}

.button-primary {
  color: var(--white);
  background: var(--coral);
}

.button-primary:hover {
  background: var(--coral-dark);
}

.button-outline {
  border-color: var(--mint-dark);
  color: var(--mint-dark);
  background: rgba(255, 255, 255, 0.62);
}

.button-outline:hover {
  color: var(--white);
  background: var(--mint-dark);
}

.button-light {
  color: var(--coral-dark);
  background: var(--white);
}

.text-link {
  color: var(--mint-dark);
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--mint-dark);
  background: #dff5ed;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   2. HEADER / NAVIGATION
   Coral announcement-like bar and playful studio branding
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.94);
  border-top: 10px solid var(--coral);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(70, 62, 91, 0.07);
}

.header-inner {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--mint-dark);
  font-family: var(--serif);
  font-size: 1.8rem;
  box-shadow: 5px 5px 0 var(--yellow);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--coral-dark);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0;
  transform: translate(-50%, 6px) scale(0);
  transition: 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a.active::after {
  opacity: 1;
  transform: translate(-50%, 6px) scale(1);
}

.language-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--peach);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--mint-dark);
}

/* =========================================================
   3. FOOTER
   Coral footer inspired by the reference site's bold ending
   ========================================================= */
.site-footer {
  position: relative;
  padding: 78px 0 26px;
  color: var(--white);
  background: var(--coral);
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  border-radius: 48% 52% 38% 62%;
  opacity: 0.22;
}

.site-footer::before {
  width: 240px;
  height: 150px;
  left: -60px;
  top: 30px;
  background: var(--yellow);
  transform: rotate(-12deg);
}

.site-footer::after {
  width: 210px;
  height: 210px;
  right: -70px;
  bottom: -70px;
  background: var(--mint-dark);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 70px;
}

.footer-grid h2 {
  margin-bottom: 15px;
  color: var(--white);
  font: 900 0.78rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.footer-grid a {
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  background: var(--white);
  color: var(--coral);
  box-shadow: 5px 5px 0 var(--yellow);
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   4. HOME PAGE
   Alternating colour bands, organic shapes and rounded cards
   ========================================================= */
.hero {
  position: relative;
  padding: 76px 0 48px;
  overflow: hidden;
  background: var(--lavender);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 44% 56% 60% 40%;
  opacity: 0.95;
}

.hero::before {
  width: 270px;
  height: 210px;
  left: -105px;
  top: 85px;
  background: var(--peach);
  transform: rotate(18deg);
}

.hero::after {
  width: 190px;
  height: 190px;
  right: -50px;
  bottom: 25px;
  background: #d8f1e8;
  transform: rotate(-18deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
  align-items: center;
  min-height: 620px;
}

.hero h1 {
  margin-bottom: 26px;
}

.hero h1 em {
  color: var(--coral);
  font-weight: 600;
}

.hero-collage {
  position: relative;
  min-height: 570px;
}

.hero-collage::before {
  content: "";
  position: absolute;
  inset: 6% 4% 10% 10%;
  border-radius: 46% 54% 38% 62% / 55% 40% 60% 45%;
  background: var(--mint);
  transform: rotate(-4deg);
}

.hero-collage img {
  position: absolute;
  z-index: 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-large {
  top: 0;
  right: 0;
  width: 78%;
  height: 78%;
  border: 9px solid var(--white);
  border-radius: 48% 48% 18px 18px;
}

.photo-small {
  left: 0;
  bottom: 0;
  width: 48%;
  height: 42%;
  border: 10px solid var(--white);
  border-radius: 18px 48% 18px 48%;
}

.music-note {
  position: absolute;
  z-index: 2;
  right: -1%;
  bottom: 5%;
  color: var(--yellow);
  font-family: var(--serif);
  font-size: 5rem;
  transform: rotate(-10deg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  padding: 25px 0;
  border-top: 2px dashed rgba(32, 63, 59, 0.18);
}

.stats div {
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--coral);
  font: 700 2.2rem var(--serif);
}

.stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.welcome {
  overflow: hidden;
  background: var(--cream);
}

.welcome::after {
  content: "✦";
  position: absolute;
  right: 5%;
  top: 13%;
  color: var(--yellow);
  font-size: 4rem;
  transform: rotate(18deg);
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 28px -28px -24px 25px;
  border-radius: 48% 48% 20px 20px;
  background: var(--peach);
}

.image-frame img {
  position: relative;
  z-index: 1;
  height: 560px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 260px 260px 22px 22px;
  box-shadow: var(--shadow-soft);
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
}

.programs-section {
  overflow: hidden;
  background: var(--lavender);
}

.programs-section::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 120px;
  left: -45px;
  bottom: 30px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.26;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.program-card {
  overflow: hidden;
  border: 0;
  border-radius: 28px 28px 18px 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.program-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
}

.program-card:nth-child(2) {
  transform: translateY(18px);
}

.program-card:nth-child(2):hover {
  transform: translateY(10px) rotate(0.5deg);
}

.program-card img {
  height: 235px;
  object-fit: cover;
}

.program-card div {
  padding: 28px;
  border-top: 7px solid var(--peach);
}

.program-card:nth-child(2) div {
  border-top-color: var(--mint);
}

.program-card:nth-child(3) div {
  border-top-color: var(--yellow);
}

.program-card span {
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.program-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-preview {
  background: var(--paper);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.news-list {
  margin-top: 34px;
  border-top: 0;
}

.news-list a {
  display: grid;
  grid-template-columns: 120px 130px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.news-list a:hover {
  transform: translateX(7px);
  border-color: var(--mint);
}

.news-list time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cta-band {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  color: var(--white);
  background: var(--mint-dark);
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-band::before {
  width: 180px;
  height: 180px;
  left: -70px;
  top: -80px;
  background: var(--yellow);
}

.cta-band::after {
  width: 150px;
  height: 150px;
  right: -40px;
  bottom: -65px;
  background: var(--coral);
}

.cta-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cta-band h2 {
  margin-bottom: 0;
  color: var(--white);
}

/* =========================================================
   5. SHARED INNER-PAGE HERO
   Colourful title panel used by About, Lessons, News, Contact
   ========================================================= */
.page-hero {
  position: relative;
  padding: 94px 0 86px;
  overflow: hidden;
  background: var(--lavender);
  text-align: center;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 46% 54% 38% 62%;
}

.page-hero::before {
  width: 180px;
  height: 130px;
  left: 8%;
  bottom: -40px;
  background: var(--peach);
  transform: rotate(18deg);
}

.page-hero::after {
  width: 145px;
  height: 145px;
  right: 9%;
  top: -48px;
  background: #d8f1e8;
  transform: rotate(-12deg);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

/* =========================================================
   6. ABOUT PAGE
   Portrait, biography, philosophy and colourful value blocks
   ========================================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 84px;
  align-items: start;
}

.portrait {
  position: sticky;
  top: 120px;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 30px -24px -24px 28px;
  border-radius: 220px 220px 22px 22px;
  background: var(--mint);
}

.portrait img {
  position: relative;
  z-index: 1;
  height: 610px;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 220px 220px 22px 22px;
  box-shadow: var(--shadow);
}

.bio-copy > p:not(.script-label) {
  color: var(--muted);
}

.credentials {
  margin-top: 38px;
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: var(--cream);
}

.credentials h2 {
  color: var(--coral);
  font: 900 0.78rem var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.credentials li,
.check-list li {
  margin: 10px 0;
  color: var(--muted);
}

.credentials li::marker,
.check-list li::marker {
  color: var(--coral);
}

.philosophy {
  background: var(--peach);
}

.philosophy .split > div:first-child {
  padding: 44px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.58);
}

.philosophy p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.value-grid article {
  padding: 34px 22px;
  border-radius: 22px;
  background: var(--lavender);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.value-grid article:nth-child(2) {
  background: #dff5ed;
}

.value-grid article:nth-child(3) {
  background: var(--peach);
}

.value-grid article:nth-child(4) {
  background: #fff0c7;
}

.value-grid b {
  font-size: 2rem;
}

.value-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* =========================================================
   7. LESSONS PAGE
   Large alternating pastel programme panels and policy card
   ========================================================= */
.lessons-intro {
  padding-bottom: 30px;
  background: var(--paper);
}

.lessons-intro .container {
  text-align: center;
}

.lessons-intro p {
  color: var(--muted);
}

.lessons-intro strong {
  color: var(--coral);
}

.lesson-cards {
  padding-top: 44px;
  background: var(--paper);
}

.lesson-cards .container {
  display: grid;
  gap: 34px;
}

.lesson-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 0;
  border-radius: 26px;
  background: var(--peach);
  box-shadow: var(--shadow);
}

.lesson-card:nth-child(2) {
  background: #dff5ed;
}

.lesson-card:nth-child(3) {
  background: var(--lavender);
}

.lesson-card.reverse img {
  order: 2;
}

.lesson-card img {
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.lesson-card > div {
  padding: 48px;
}

.lesson-card > div > span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lesson-card p {
  color: var(--muted);
}

.price-list {
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  padding: 13px 17px;
  border: 1px solid rgba(32, 63, 59, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.policies {
  background: var(--cream);
}

.check-list {
  padding-left: 20px;
}

.mini-cta {
  padding: 42px;
  border-radius: 26px;
  background: var(--coral);
  box-shadow: var(--shadow);
}

.mini-cta h2,
.mini-cta p {
  color: var(--white);
}

/* =========================================================
   8. NEWS PAGE
   Editorial cards with bright category accents
   ========================================================= */
.article-list {
  max-width: 860px;
}

.article-list article {
  position: relative;
  margin-bottom: 26px;
  padding: 38px 42px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.article-list article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 9px;
  background: var(--coral);
}

.article-list article:nth-child(2)::before {
  background: var(--mint);
}

.article-list article:nth-child(3)::before {
  background: var(--yellow);
}

.article-list article > div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.article-list time {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.article-list h2 {
  margin: 18px 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.article-list p {
  color: var(--muted);
}

/* =========================================================
   9. CONTACT PAGE
   Friendly form card and colourful studio-information panel
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 74px;
}

.contact-form-wrap {
  padding: 42px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-form-wrap > p {
  color: var(--muted);
}

#contact-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

#contact-form label span {
  display: block;
  margin-bottom: 7px;
  color: var(--mint-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: var(--white);
}

#contact-form .button {
  justify-self: start;
}

.form-status {
  min-height: 24px;
  color: var(--coral-dark);
  font-weight: 800;
}

.contact-details {
  padding: 40px;
  border-radius: 26px;
  background: #dff5ed;
  box-shadow: var(--shadow-soft);
}

.contact-details h2 {
  color: var(--mint-dark);
}

.contact-details dt {
  margin-top: 20px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details dd {
  margin-left: 0;
  color: var(--muted);
  white-space: pre-line;
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 200px;
  margin-top: 30px;
  border: 7px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 35%, var(--yellow) 0 8px, transparent 9px),
    radial-gradient(circle at 70% 70%, var(--coral) 0 10px, transparent 11px),
    linear-gradient(135deg, var(--lavender), var(--peach));
  text-align: center;
  font-family: var(--serif);
}

/* =========================================================
   10. RESPONSIVE STYLES
   Tablet and mobile refinements for all pages
   ========================================================= */
@media (max-width: 900px) {
  .section {
    padding: 78px 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    inset: 94px 0 auto;
    display: grid;
    gap: 0;
    padding: 20px 24px 26px;
    background: var(--paper);
    border-bottom: 8px solid var(--coral);
    box-shadow: var(--shadow-soft);
    transform: translateY(-135%);
    transition: transform 0.3s ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-toggle {
    margin-top: 16px;
  }

  .hero-grid,
  .split,
  .bio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-bottom: 54px;
  }

  .hero-collage {
    min-height: 500px;
  }

  .card-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portrait {
    position: relative;
    top: auto;
    max-width: 560px;
    margin-inline: auto;
  }

  .portrait img {
    height: 560px;
  }

  .lesson-card {
    grid-template-columns: 1fr;
  }

  .lesson-card.reverse img {
    order: 0;
  }

  .lesson-card img {
    min-height: 330px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    border-top-width: 7px;
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }

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

  .brand small {
    font-size: 0.6rem;
  }

  .primary-nav {
    inset: 83px 0 auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    min-height: auto;
    gap: 38px;
  }

  .hero-collage {
    min-height: 395px;
  }

  .photo-large {
    width: 80%;
  }

  .photo-small {
    width: 52%;
  }

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

  .stats div {
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .card-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .program-card:nth-child(2),
  .program-card:nth-child(2):hover {
    transform: none;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .section-heading,
  .cta-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .container {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .image-frame img,
  .portrait img {
    height: 440px;
  }

  .lesson-card > div,
  .contact-details,
  .contact-form-wrap,
  .article-list article {
    padding: 27px;
  }

  .page-hero {
    padding: 72px 0 66px;
  }
}
