@import url('../fonts/fonts.css');

:root {
  --paper: #f7f7f4;
  --white: #fff;
  --ink: #292927;
  --muted: #63635e;
  --line: #dcdcd5;
  --graphite: #666664;
  --coral: #f6a39b;
  --blue: #a9b7d9;
  --yellow: #e6d391;
  --teal: #b5d4d3;
  --pink: #e7aad2;
  --green: #cbd4b5;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Montserrat', Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(22px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: inline-block; vertical-align: middle; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; border-radius: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--serif); line-height: 1.07; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
.container { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.star { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; background: var(--ink); color: var(--white); padding: 12px 20px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgb(247 247 244 / 96%); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 102px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: block; position: relative; overflow: hidden; width: 150px; height: 65px; flex: none; }
.brand img { position: absolute; width: 215px; max-width: none; height: auto; left: -37px; top: -39px; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav > a:not(.button) { display: flex; align-items: center; min-height: 44px; position: relative; font-size: 12px; font-weight: 500; }
.site-nav > a:not(.button)::after { content: ''; position: absolute; inset: auto 0 6px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.site-nav > a[aria-current='page']::after { transform: scaleX(1); }
.site-nav .button { margin-left: 10px; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 50%; background: transparent; width: 46px; height: 46px; align-items: center; justify-content: center; }
.menu-toggle .close-icon { display: none; }
.menu-toggle[aria-expanded='true'] .menu-icon { display: none; }
.menu-toggle[aria-expanded='true'] .close-icon { display: block; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 12px 25px; border: 1px solid var(--ink); border-radius: 5px; background: var(--ink); color: var(--white); font-size: 12px; line-height: 1.5; font-weight: 600; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.button:active { transform: scale(.97); }
.button-small { min-height: 44px; padding: 10px 20px; }
.button-light { background: var(--paper); color: var(--ink); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link .icon { width: 18px; transition: transform 200ms var(--ease-out); }
.handwritten { font-family: var(--serif); font-size: 28px; line-height: 1.2; font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 30px; padding: 5px 13px; font-size: 11px; line-height: 1.5; }
.dot { width: 7px; height: 7px; background: var(--graphite); border-radius: 50%; flex: none; }

.hero { padding-top: 62px; padding-bottom: 66px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero-copy { padding-bottom: 14px; }
.hero-intro { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; font-size: 12px; }
.hero-intro .star { width: 25px; height: 25px; }
.hero h1 { font-size: clamp(60px, 6.55vw, 94px); margin-bottom: 26px; }
.hero h1 .line { display: block; }
.marked { display: inline-block; position: relative; z-index: 0; }
.marked::after { content: ''; position: absolute; left: 0; right: -6px; bottom: .045em; height: .12em; background: var(--yellow); z-index: -1; transform: rotate(-1.5deg); border-radius: 44% 25% 36% 30%; }
.hero-description { max-width: 440px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding: 26px 0 12px 14px; }
.photo-frame { position: relative; grid-area: 1 / 1; aspect-ratio: 1.02; overflow: hidden; border-radius: 50% 50% 3px 3px; background: #b7b7b5; transform: rotate(2deg); }
.photo-frame img { position: absolute; max-width: none; width: auto; height: 250%; left: 50%; top: 0; transform: translate(-50%, -44%); }
.photo-annotation { position: absolute; z-index: 1; top: -9px; right: -8px; transform: rotate(8deg); }
.photo-star { position: relative; grid-area: 1 / 1; align-self: end; width: 90px; height: 90px; left: -21px; bottom: 4px; color: var(--paper); filter: drop-shadow(0 0 1px var(--ink)); }
.photo-caption { grid-area: 2 / 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 23px; font-size: 10px; color: var(--muted); }
.photo-caption .caption-line { height: 1px; width: 60px; background: var(--line); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 25px; }
.value { display: flex; justify-content: center; align-items: center; gap: 13px; font-size: 11px; font-weight: 500; }
.value + .value { border-left: 1px solid var(--line); }
.value .icon { width: 22px; height: 22px; }

.classes-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; padding-block: 110px; align-items: start; }
.section-heading h2 { font-size: clamp(46px, 4.4vw, 64px); margin-bottom: 22px; }
.section-heading > p { color: var(--muted); max-width: 350px; font-size: 14px; }
.section-heading .handwritten { color: var(--ink); margin-top: 40px; max-width: 230px; font-size: 30px; transform: rotate(-5deg); }
.drawn-arrow { width: 85px; height: 55px; fill: none; stroke: var(--ink); stroke-width: 1.6; margin-left: 180px; transform: rotate(10deg); }
.class-list { border-top: 1px solid var(--line); }
.class-item { border-bottom: 1px solid var(--line); }
.class-item summary { display: flex; align-items: center; gap: 18px; list-style: none; min-height: 94px; padding-block: 22px; }
summary::-webkit-details-marker { display: none; }
.subject-mark { width: 39px; height: 39px; border-radius: 44% 50% 42% 47%; display: inline-flex; align-items: center; justify-content: center; background: var(--subject-color, var(--yellow)); flex: none; transform: rotate(-7deg); }
.subject-mark .icon { width: 21px; height: 21px; transform: rotate(7deg); }
.class-name { flex: 1; font-size: 19px; line-height: 1.4; font-weight: 500; letter-spacing: -.04em; }
.class-item summary > .icon, .faq-item summary > .icon { width: 17px; height: 17px; transition: transform 200ms var(--ease-out); }
details[open] > summary > .icon { transform: rotate(45deg); }
.class-content { padding: 0 34px 26px 57px; font-size: 14px; color: var(--muted); }
.class-content p + p { margin-top: 12px; }
.class-content .text-link { color: var(--ink); margin-top: 10px; }
.class-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.class-tags span { border: 1px solid var(--line); border-radius: 3px; font-size: 11px; padding: 3px 9px; color: var(--ink); }
.coral { --subject-color: var(--coral); }
.blue { --subject-color: var(--blue); }
.yellow { --subject-color: var(--yellow); }
.teal { --subject-color: var(--teal); }
.pink { --subject-color: var(--pink); }
.green { --subject-color: var(--green); }

.about-band { background: var(--graphite); color: var(--white); padding-block: 78px; }
.about-band-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.about-band h2 { font-size: clamp(44px, 4.2vw, 62px); max-width: 580px; }
.about-band h2 .star { width: 47px; height: 47px; margin-left: 9px; }
.about-band-copy > p { max-width: 440px; font-size: 14px; color: #f0f0ed; }
.teacher-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 24px; }
.teacher-chip { border: 1px solid #a3a39f; border-radius: 30px; padding: 7px 14px; font-size: 11px; }
.about-band .text-link { color: var(--white); }
.agenda-section { display: grid; grid-template-columns: 130px 1fr auto; gap: 35px; align-items: center; padding-block: 80px; }
.calendar-drawing { width: 100px; height: 112px; border: 1.5px solid var(--ink); border-radius: 5px; transform: rotate(-7deg); position: relative; background: var(--paper); }
.calendar-drawing::before, .calendar-drawing::after { content: ''; position: absolute; width: 4px; height: 17px; border-radius: 2px; background: var(--ink); top: -9px; }
.calendar-drawing::before { left: 21px; }
.calendar-drawing::after { right: 21px; }
.calendar-drawing .calendar-top { display: block; border-bottom: 1.5px solid var(--ink); text-align: center; padding-block: 6px 2px; font-size: 10px; font-weight: 600; }
.calendar-drawing .star { width: 46px; height: 46px; display: block; margin: 9px auto; }
.agenda-section h2 { font-size: 40px; margin-bottom: 12px; }
.agenda-section p { font-size: 14px; max-width: 520px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #ededE9; }
.footer-top { display: grid; grid-template-columns: 1fr 1.05fr; align-items: start; gap: 100px; padding-block: 64px; }
.footer-top h2 { font-size: clamp(46px, 4.8vw, 68px); margin-bottom: 14px; }
.footer-top p { font-size: 14px; color: var(--muted); max-width: 360px; }
.contact-list { list-style: none; }
.contact-list li + li { border-top: 1px solid #d2d2cb; }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 15px; min-height: 55px; font-size: 13px; }
.contact-list a > span { display: flex; align-items: center; gap: 14px; }
.contact-list .contact-icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d2d2cb; min-height: 86px; gap: 24px; }
.footer-bottom p { color: var(--muted); font-size: 9px; }
.footer-motto { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.footer-motto .star { width: 24px; height: 24px; flex: none; }

.page-hero { padding-block: 70px 56px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font-size: 11px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb .icon { width: 13px; height: 13px; }
.page-hero h1 { font-size: clamp(54px, 6.7vw, 90px); max-width: 880px; }
.page-hero > p { margin-top: 26px; max-width: 660px; color: var(--muted); font-size: 14px; }
.page-hero .handwritten { margin-top: 22px; color: var(--ink); font-size: 30px; }
.team-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 50px 70px; border-top: 1px solid var(--line); }
.team-intro h2 { font-size: 44px; }
.team-intro p { font-size: 14px; color: var(--muted); }
.teacher-profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding-block: 64px; border-top: 1px solid var(--line); }
.profile-name .star { color: var(--subject-color); width: 58px; height: 58px; margin-bottom: 19px; }
.profile-name h2 { font-size: clamp(44px, 4.1vw, 58px); max-width: 360px; }
.profile-name .handwritten { margin-top: 18px; transform: rotate(-3deg); }
.profile-details h3 { font-size: 12px; font-weight: 600; margin-bottom: 18px; }
.credentials { padding-left: 18px; color: var(--muted); font-size: 14px; }
.credentials li { padding-left: 6px; }
.credentials li + li { margin-top: 12px; }
.credentials li::marker { color: var(--ink); }
.profile-subjects { margin-top: 32px; }
.profile-subjects p { font-size: 14px; color: var(--muted); }
.profile-subjects .class-tags span { background: var(--subject-color); border-color: transparent; }
.original-link { border-top: 1px solid var(--line); padding-block: 25px 55px; font-size: 11px; color: var(--muted); }
.original-link a { text-decoration: underline; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.original-link .icon { width: 15px; height: 15px; }

.schedule-section { padding-bottom: 60px; }
.schedule-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.schedule-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; border-radius: 7px; background: #eaeae5; }
.filter-button { background: transparent; border: 1px solid transparent; border-radius: 4px; padding: 10px 14px; min-height: 44px; font-size: 11px; font-weight: 500; transition: background-color 160ms ease, color 160ms ease; }
.filter-button[aria-pressed='true'] { background: var(--ink); color: var(--white); }
.schedule-help { font-size: 10px; color: var(--muted); }
.schedule-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.day-panel { min-width: 0; display: grid; grid-template-rows: auto repeat(3, 1fr); border: 1px solid var(--line); border-radius: 7px; background: var(--white); overflow: hidden; }
.workshop-day { grid-template-rows: auto 1fr; }
.day-panel > h2 { padding: 20px 15px; text-align: center; font-size: 29px; border-bottom: 1px solid var(--line); background: var(--paper); }
.time-slot { padding: 15px 10px; }
.time-slot + .time-slot { border-top: 1px solid var(--line); }
.slot-time { display: block; font-size: 10px; font-weight: 600; margin-bottom: 10px; text-align: center; }
.lesson { background: var(--subject-color); padding: 10px; border-radius: 4px; min-height: 92px; }
.lesson + .lesson { margin-top: 8px; }
.room { display: block; font-size: 9px; margin-bottom: 3px; }
.lesson h3 { font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.lesson p { font-size: 9px; line-height: 1.5; margin-top: 4px; }
.no-lesson { padding: 11px 6px; min-height: 92px; display: grid; align-content: center; text-align: center; font-size: 10px; color: var(--muted); }
.workshop-activities { padding: 30px 15px; text-align: center; }
.workshop-activities .star { width: 55px; height: 55px; margin-bottom: 20px; color: var(--graphite); }
.workshop-activities h3 { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-bottom: 18px; }
.workshop-activities > p { font-size: 12px; color: var(--muted); }
.workshop-time { margin-block: 20px; }
.workshop-activities .text-link { font-size: 11px; }
.schedule-grid.is-filtered { grid-template-columns: 1fr; max-width: 800px; margin-inline: auto; }
.schedule-grid.is-filtered .day-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr; }
.schedule-grid.is-filtered .day-panel > h2 { grid-column: 1 / -1; }
.schedule-grid.is-filtered .time-slot { border-top: 0; padding: 20px; }
.schedule-grid.is-filtered .time-slot + .time-slot { border-left: 1px solid var(--line); }
.schedule-grid.is-filtered .workshop-activities { grid-column: 1 / -1; }
.schedule-note { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 24px; color: var(--muted); font-size: 10px; }
.schedule-note a { text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.schedule-note .icon { width: 16px; }
.faq-section { padding-block: 70px 90px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding-block: 18px; list-style: none; font-size: 13px; font-weight: 500; }
.faq-content { font-size: 14px; color: var(--muted); padding: 0 30px 24px 0; }
.faq-content p + p { margin-top: 14px; }

.events-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: center; }
.events-hero .calendar-drawing { width: 180px; height: 195px; margin: 20px auto; transform: rotate(9deg); background: var(--yellow); }
.events-hero .calendar-drawing .calendar-top { font-size: 17px; padding-top: 13px; }
.events-hero .calendar-drawing .star { width: 90px; height: 90px; margin-top: 20px; }
.events-empty { margin-bottom: 80px; padding: 55px; border: 1px dashed #aaaaa0; border-radius: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.events-empty h2 { font-size: 43px; margin-block: 20px 0; }
.events-empty p { font-size: 13px; color: var(--muted); }
.events-empty .hero-actions { gap: 20px; margin-top: 22px; }
.events-empty .button { font-size: 11px; }

@media (hover: hover) and (pointer: fine) {
  .site-nav > a:not(.button):hover::after { transform: scaleX(1); }
  .button:hover { background: var(--graphite); border-color: var(--graphite); color: var(--white); transform: translateY(-2px); }
  .button-light:hover { background: var(--white); color: var(--ink); }
  .text-link:hover .icon, .contact-list a:hover > .icon { transform: translateX(4px); }
  summary:hover .class-name, .faq-item summary:hover { color: #575751; }
  .filter-button:not([aria-pressed='true']):hover { background: #dcdcd5; }
}

@keyframes page-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes star-enter { from { transform: rotate(-100deg); } to { transform: rotate(0); } }
@keyframes ink-appear { from { transform: scaleX(.15) rotate(-1.5deg); opacity: 0; } to { transform: scaleX(1) rotate(-1.5deg); opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-intro { animation: page-enter 600ms var(--ease-out) both; }
  .hero h1 { animation: page-enter 700ms 60ms var(--ease-out) both; }
  .hero-description, .hero-actions { animation: page-enter 700ms 120ms var(--ease-out) both; }
  .hero-visual { animation: page-enter 900ms 180ms var(--ease-out) both; }
  .hero-intro .star { animation: star-enter 1000ms var(--ease-out) both; }
  .marked::after { transform-origin: left; animation: ink-appear 900ms 300ms var(--ease-out) both; }
  .ink-reveal[data-visible='true']::after { animation: ink-appear 800ms var(--ease-out) both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .text-link .icon, .class-item summary > .icon, .faq-item summary > .icon { transition-property: opacity, background-color, color; transition-duration: 160ms; }
  .button:active { transform: none; opacity: .8; }
  .button:hover, .text-link:hover .icon, .contact-list a:hover > .icon { transform: none; }
}

@media (min-width: 1600px) {
  .hero { padding-block: 80px; }
}
@media (max-width: 1100px) {
  .header-inner { gap: 20px; }
  .site-nav { gap: 20px; }
  .hero h1 { font-size: 68px; }
  .hero { gap: 40px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding-inline: 18px; }
  .hero-actions .text-link { font-size: 11px; }
  .classes-section, .about-band-inner, .footer-top, .team-intro, .teacher-profile, .faq-section { gap: 60px; }
  .lesson { padding: 8px; }
  .time-slot { padding-inline: 8px; }
  .schedule-filters { gap: 2px; }
  .schedule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-button { padding-inline: 10px; }
  .schedule-help { display: none; }
}
@media (max-width: 850px) {
  .header-inner { min-height: 88px; flex-wrap: wrap; column-gap: 16px; row-gap: 0; }
  .brand { width: 132px; height: 59px; }
  .brand img { width: 190px; left: -33px; top: -35px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .site-nav { width: 100%; order: 3; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-block: 8px 20px; }
  .site-nav > a:not(.button) { font-size: 12px; }
  .site-nav .button { margin-left: 0; }
  .nav-enhanced .site-nav:not(.is-open) { display: none; }
  .hero { padding-top: 44px; padding-bottom: 50px; gap: 32px; }
  .hero h1 { font-size: 57px; }
  .hero-intro { font-size: 10px; gap: 8px; margin-bottom: 22px; }
  .hero-description { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
  .photo-frame { aspect-ratio: .73; }
  .photo-frame img { height: 210%; transform: translate(-50%, -42%); }
  .photo-annotation { font-size: 25px; right: 8px; }
  .photo-caption { font-size: 8px; }
  .photo-caption .caption-line { display: none; }
  .photo-star { width: 60px; height: 60px; left: -9px; }
  .value { font-size: 9px; gap: 8px; }
  .value .icon { width: 19px; height: 19px; }
  .classes-section, .faq-section { gap: 45px; grid-template-columns: .8fr 1.2fr; padding-block: 75px; }
  .class-name { font-size: 16px; }
  .class-item summary { gap: 12px; }
  .class-content { padding-left: 0; padding-right: 8px; }
  .section-heading h2 { font-size: 43px; }
  .section-heading .handwritten { font-size: 26px; }
  .drawn-arrow { margin-left: 120px; }
  .about-band-inner { gap: 40px; }
  .about-band h2 { font-size: 43px; }
  .about-band-copy > p { font-size: 14px; }
  .agenda-section { gap: 25px; grid-template-columns: 90px 1fr; }
  .agenda-section .text-link { grid-column: 2; margin-top: -20px; justify-self: start; }
  .calendar-drawing { width: 80px; height: 96px; }
  .calendar-drawing .star { width: 35px; height: 35px; }
  .agenda-section h2 { font-size: 35px; }
  .footer-top { gap: 40px; }
  .footer-top h2 { font-size: 46px; }
  .contact-list a { font-size: 13px; }
  .contact-list a > span { gap: 8px; }
  .team-intro, .teacher-profile { gap: 40px; grid-template-columns: .85fr 1.15fr; }
  .team-intro h2 { font-size: 36px; }
  .team-intro p { font-size: 14px; }
  .schedule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .lesson h3 { font-size: 12px; }
  .lesson p { font-size: 11px; }
  .room { font-size: 9px; }
  .time-slot { padding: 17px; }
  .workshop-activities { max-width: 450px; margin-inline: auto; }
  .events-empty { padding: 35px; gap: 35px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 105px; }
  .site-nav { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .site-nav > a:not(.button) { padding: 5px 0; }
  .site-nav .button { grid-column: 1 / -1; margin-top: 7px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(51px, 12vw, 71px); max-width: 450px; margin-bottom: 23px; }
  .hero-intro { font-size: 11px; margin-bottom: 22px; }
  .hero-description { font-size: 14px; max-width: 360px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 13px; }
  .hero-actions .button { font-size: 11px; gap: 12px; padding-inline: 16px; }
  .hero-actions .text-link { font-size: 10px; gap: 7px; }
  .hero-visual { padding: 24px 12px 0; margin-top: 6px; }
  .photo-frame { aspect-ratio: 1.22; border-radius: 43% 43% 3px 3px; }
  .photo-frame img { height: 270%; transform: translate(-50%, -44%); }
  .photo-annotation { top: -3px; right: 15px; font-size: 25px; }
  .photo-star { left: -8px; width: 64px; height: 64px; }
  .photo-caption { font-size: 8px; margin-top: 20px; }
  .values { grid-template-columns: 1fr; padding-block: 10px; }
  .value { justify-content: flex-start; padding-block: 13px; font-size: 11px; gap: 15px; }
  .value + .value { border-left: 0; border-top: 1px solid var(--line); }
  .classes-section, .faq-section { grid-template-columns: 1fr; padding-block: 64px; gap: 32px; }
  .section-heading h2 { font-size: 45px; max-width: 330px; margin-bottom: 15px; }
  .section-heading > p { font-size: 14px; }
  .section-heading .handwritten { margin-top: 20px; max-width: none; font-size: 26px; transform: none; }
  .drawn-arrow { display: none; }
  .class-item summary { min-height: 84px; }
  .class-name { font-size: 17px; }
  .class-content { padding-left: 51px; padding-right: 0; }
  .about-band { padding-block: 58px; }
  .about-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-band h2 { font-size: 44px; }
  .about-band h2 .star { width: 37px; height: 37px; }
  .teacher-chips { gap: 7px; }
  .teacher-chip { font-size: 10px; padding-inline: 12px; }
  .agenda-section { padding-block: 60px; grid-template-columns: 65px 1fr; gap: 25px; }
  .agenda-section h2 { font-size: 32px; }
  .agenda-section p { font-size: 13px; }
  .calendar-drawing { width: 62px; height: 78px; }
  .calendar-drawing .calendar-top { font-size: 8px; }
  .calendar-drawing .star { width: 29px; height: 29px; margin-top: 7px; }
  .calendar-drawing::before { left: 12px; }
  .calendar-drawing::after { right: 12px; }
  .agenda-section .text-link { margin-top: -12px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-block: 50px 30px; }
  .footer-top h2 { font-size: 48px; }
  .contact-list a { font-size: 13px; padding-block: 18px; }
  .contact-list a > span { gap: 13px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 24px; }
  .footer-motto { font-size: 21px; }
  .page-hero { padding-block: 38px 40px; }
  .breadcrumb { margin-bottom: 24px; }
  .page-hero h1 { font-size: 55px; }
  .page-hero > p { font-size: 14px; margin-top: 20px; }
  .page-hero .handwritten { font-size: 26px; }
  .team-intro, .teacher-profile { grid-template-columns: 1fr; gap: 28px; padding-block: 40px; }
  .team-intro h2 { font-size: 37px; max-width: 320px; }
  .profile-name .star { width: 40px; height: 40px; margin-bottom: 12px; }
  .profile-name h2 { font-size: 44px; }
  .profile-name .handwritten { margin-top: 10px; font-size: 26px; }
  .original-link { padding-bottom: 35px; }
  .schedule-toolbar { display: block; }
  .schedule-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .filter-button { font-size: 10px; padding-inline: 8px; }
  .filter-button:first-child { grid-column: 1 / -1; }
  .schedule-grid, .schedule-grid.is-filtered { grid-template-columns: 1fr; }
  .schedule-grid.is-filtered .day-panel { display: block; }
  .schedule-grid.is-filtered .time-slot + .time-slot { border-left: 0; border-top: 1px solid var(--line); }
  .time-slot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
  .time-slot .slot-time { grid-column: 1 / -1; margin-bottom: 0; font-size: 11px; }
  .lesson + .lesson { margin-top: 0; }
  .lesson { padding: 11px; }
  .lesson h3 { font-size: 11px; }
  .lesson p { font-size: 10px; }
  .schedule-grid.is-filtered .time-slot { padding: 18px; }
  .schedule-note { gap: 4px; }
  .schedule-note p { font-size: 10px; }
  .faq-item summary { font-size: 12px; }
  .events-hero { grid-template-columns: 1fr; gap: 0; }
  .events-hero .calendar-drawing { width: 95px; height: 106px; margin: 15px 10px 0 auto; }
  .events-hero .calendar-drawing .calendar-top { font-size: 10px; padding-top: 6px; }
  .events-hero .calendar-drawing .star { width: 43px; height: 43px; margin-top: 12px; }
  .events-empty { grid-template-columns: 1fr; padding: 28px 22px; gap: 22px; margin-bottom: 55px; }
  .events-empty h2 { font-size: 36px; }
  .events-empty p { font-size: 14px; }
  .events-empty .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
}
