:root {
  --paper: #f4f6f5;
  --mist: #e3eae9;
  --stone: #cfd8d6;
  --ink: #2d3a3e;
  --ink-soft: #5b6a6d;
  --sky: #a7c1ca;
  --sky-deep: #6f93a0;
  --wood: #b5804f;
  --white: #ffffff;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --arch: 999px 999px 0 0;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.08; }
h3 { font-size: 1.6rem; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 1rem/1 var(--sans); padding: 1.05rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer; transition: background .25s; }
.btn:hover { background: var(--sky-deep); }
.btn--full { width: 100%; }
.link { color: var(--ink); text-decoration-color: var(--sky); text-underline-offset: .3em; text-decoration-thickness: 2px; font-weight: 500; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem var(--pad); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 400 1.35rem/1 var(--serif); }
.brand svg, .foot__brand svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 3; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; font-size: .95rem; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--sky-deep); }
.nav__cta { border: 1.5px solid var(--ink); border-radius: 999px; padding: .55rem 1.1rem; }
.nav__toggle { display: none; }

/* Hero */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 6rem); align-items: end; padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) clamp(3rem, 6vw, 5rem); min-height: calc(100vh - 70px); }
.hero__copy { padding-bottom: clamp(1rem, 4vw, 4rem); }
.hero__place { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.6rem; display: flex; align-items: center; gap: .7rem; }
.hero__place::before { content: ""; width: 34px; height: 1px; background: var(--ink-soft); }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: .98; letter-spacing: -.025em; max-width: 12ch; }
.hero__lede { margin-top: 1.8rem; max-width: 40ch; color: var(--ink-soft); font-size: 1.12rem; }
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.hero__arch { margin: 0; justify-self: end; width: min(100%, 560px); aspect-ratio: 5 / 7; border-radius: var(--arch); overflow: hidden; background: var(--mist); animation: archIn 1.5s cubic-bezier(.2,.7,.2,1) both; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
.hero__note { position: absolute; right: calc(var(--pad) + min(46vw, 560px) * .55); bottom: clamp(4rem, 9vw, 7.5rem); background: var(--white); padding: .8rem 1.1rem; border-radius: 999px; font-size: .9rem; box-shadow: 0 12px 30px -12px rgba(45, 58, 62, .35); display: flex; align-items: center; gap: .6rem; animation: fadeUp .8s 1.1s both; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wood); box-shadow: 0 0 0 4px color-mix(in srgb, var(--wood) 22%, transparent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Section heads */
section { scroll-margin-top: 70px; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); max-width: 46ch; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }

/* Classes */
.classes { padding: clamp(4rem, 8vw, 7rem) var(--pad); background: var(--white); }
.classes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.klass img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 180px 180px 6px 6px; }
.klass:nth-child(even) { margin-top: 3.5rem; }
.klass__body { padding-top: 1.3rem; }
.klass__body p { margin-top: .6rem; color: var(--ink-soft); font-size: .98rem; }
.klass__body .klass__meta { color: var(--ink); font-weight: 500; font-size: .92rem; margin-top: .9rem; }

/* Timetable */
.timetable { padding: clamp(3rem, 5vw, 4rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.tt__legend { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.tt__legend .lvl:last-of-type { margin-left: 1rem; }
.lvl { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lvl--1 { background: var(--sky); }
.lvl--2 { background: var(--wood); }
.tt__filters { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin-bottom: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { font: 500 .92rem/1 var(--sans); color: var(--ink); background: transparent; border: 1.5px solid var(--stone); border-radius: 999px; padding: .62rem 1rem; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips--quiet .chip.is-on { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.toggle { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--ink); }
.tt__days { display: none; }
.tt__grid { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--stone); }
.day { padding: 1rem .55rem 1.4rem; border-right: 1px solid var(--stone); min-height: 25rem; }
.day:last-child { border-right: 0; }
.day__name { font: 400 1.5rem/1 var(--serif); margin-bottom: .2rem; }
.day__date { font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; }
.slot { display: block; width: 100%; text-align: left; background: var(--white); border: 0; border-radius: 14px; padding: .8rem .8rem .85rem; margin-bottom: .6rem; cursor: pointer; font: inherit; color: var(--ink); box-shadow: inset 0 0 0 1px var(--mist); transition: opacity .3s, transform .3s, box-shadow .2s; }
.slot:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slot.is-dim { opacity: .22; transform: scale(.97); }
.slot.is-picked { background: var(--ink); color: var(--paper); }
.slot.is-picked .slot__meta { color: var(--stone); }
.slot__time { font-weight: 600; font-size: .88rem; display: flex; align-items: center; justify-content: space-between; gap: .3rem; }
.slot__name { display: block; font: 400 1.1rem/1.15 var(--serif); margin: .3rem 0 .35rem; }
.slot__meta { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.35; }
.slot__spots { font-weight: 500; }
.slot__spots.low { color: var(--wood); }
.slot.is-picked .slot__spots.low { color: #e7b98c; }
.tt__count { margin-top: 1.4rem; color: var(--ink-soft); font-size: .92rem; }

/* Intro offer */
.intro { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) var(--pad); background: var(--mist); }
.intro__img { margin: 0; border-radius: var(--arch); overflow: hidden; max-width: 460px; }
.intro__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.intro__copy h2 { max-width: 14ch; }
.intro__copy > p { margin-top: 1.3rem; color: var(--ink-soft); max-width: 46ch; }
.intro__list { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--stone); max-width: 32rem; }
.intro__list li { padding: .95rem 0; border-bottom: 1px solid var(--stone); display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.intro__list b { font-weight: 500; font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.intro__price { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; }
.intro__num { font: 300 clamp(3.8rem, 7vw, 5.6rem)/1 var(--serif); }
.intro__was { color: var(--ink-soft); text-decoration: line-through; }

/* Teachers */
.teachers { padding: clamp(4rem, 8vw, 7rem) var(--pad); background: var(--white); }
.teachers__row { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
.teacher img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; margin-bottom: 1.2rem; }
.teacher p { margin-top: .6rem; color: var(--ink-soft); max-width: 38ch; }
.teachers__quote { margin: 0; align-self: center; padding-left: clamp(0rem, 2vw, 2rem); }
.teachers__quote p { font: 300 italic clamp(1.6rem, 2.6vw, 2.3rem)/1.25 var(--serif); }
.teachers__quote cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--ink-soft); font-size: .95rem; }

/* Booking */
.book { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding: clamp(4rem, 8vw, 7rem) var(--pad); }
.book__intro p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.book__visit { margin: 2.4rem 0 0; }
.book__visit div { padding: .9rem 0; border-top: 1px solid var(--stone); display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; }
.book__visit dt { font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.book__visit dd { margin: 0; color: var(--ink-soft); }
.book__form { background: var(--white); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.6rem); display: grid; gap: 1.3rem; box-shadow: 0 30px 60px -40px rgba(45, 58, 62, .45); }
.f { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; min-width: 0; }
.f legend, .f__label { font-weight: 500; font-size: .92rem; padding: 0; margin-bottom: .5rem; }
.f legend { margin-bottom: .6rem; }
.f__label em { font-style: normal; color: var(--ink-soft); font-weight: 400; }
.f--two { grid-template-columns: 1fr 1fr; gap: 1rem; }
.f--two label { display: grid; gap: 0; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 12px; padding: .8rem .95rem; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--sky-deep); outline: none; }
.seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: block; padding: .62rem .95rem; border-radius: 999px; border: 1.5px solid var(--stone); font-size: .92rem; font-weight: 500; transition: all .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
.seg--days span { min-width: 3.1rem; text-align: center; padding-inline: .6rem; }
.check { display: flex; gap: .6rem; align-items: center; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--mist); border-radius: 16px; padding: 1rem 1.2rem; }
.summary__line { font: 400 1.15rem/1.3 var(--serif); }
.summary__price { text-align: right; font: 400 1.7rem/1 var(--serif); }
.summary__price small { display: block; font: 400 .8rem/1.4 var(--sans); color: var(--ink-soft); margin-top: .25rem; }
.form-status { min-height: 1.4em; font-size: .95rem; color: var(--sky-deep); font-weight: 500; }

/* Footer */
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; padding: 2.5rem var(--pad); background: var(--ink); color: var(--mist); font-size: .92rem; }
.foot a { color: var(--white); text-decoration: none; }
.foot__brand { display: flex; gap: .8rem; align-items: flex-start; }
.foot__brand svg { stroke: var(--sky); }
.foot__credit { color: var(--sky); }

/* Responsive */
@media (max-width: 1100px) {
  .classes__grid { grid-template-columns: repeat(2, 1fr); }
  .klass:nth-child(even) { margin-top: 0; }
  .tt__grid { grid-template-columns: repeat(4, 1fr); }
  .day:nth-child(4) { border-right: 0; }
  .day { border-bottom: 1px solid var(--stone); min-height: 0; }
  .teachers__row { grid-template-columns: 1fr 1fr; }
  .teachers__quote { grid-column: 1 / -1; padding: 1rem 0 0; }
}
@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; font: 500 .95rem/1 var(--sans); background: none; border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); padding: .5rem var(--pad) 1.5rem; border-bottom: 1px solid var(--stone); display: none; }
  .nav__links a { padding: .8rem 0; font-size: 1.1rem; width: 100%; }
  .nav__links .nav__cta { border: 0; padding: .8rem 0; }
  .nav.is-open .nav__links { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 2rem; }
  .hero__copy { padding-bottom: 0; }
  .hero__arch { order: -1; justify-self: stretch; width: 100%; aspect-ratio: auto; height: 46vh; border-radius: 999px 999px 18px 18px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__place { margin-bottom: 1rem; }
  .hero__note { right: auto; left: calc(var(--pad) + .8rem); top: calc(46vh - 1.4rem); bottom: auto; }
  .intro, .book { grid-template-columns: 1fr; }
  .intro__img { max-width: none; }
  .intro__img img { aspect-ratio: 4 / 3; }
  .tt__days { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1rem; scrollbar-width: none; }
  .tt__days button { flex: none; font: 500 .92rem/1 var(--sans); border: 1.5px solid var(--stone); background: var(--white); color: var(--ink); border-radius: 14px; padding: .7rem .9rem; cursor: pointer; text-align: center; }
  .tt__days button small { display: block; font-weight: 400; font-size: .75rem; color: var(--ink-soft); margin-top: .25rem; }
  .tt__days button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .tt__days button[aria-selected="true"] small { color: var(--stone); }
  .tt__grid { display: block; border-top: 0; }
  .day { display: none; border: 0; padding: 0; }
  .day.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
  .day.is-active .day__name, .day.is-active .day__date { display: none; }
  .slot { margin: 0; }
}
@media (max-width: 520px) {
  .classes__grid, .teachers__row { grid-template-columns: 1fr; }
  .klass img { aspect-ratio: 5 / 4; border-radius: 140px 140px 6px 6px; }
  .f--two { grid-template-columns: 1fr; }
  .intro__list li { grid-template-columns: 1fr; gap: .2rem; }
  .summary { flex-direction: column; align-items: flex-start; }
  .summary__price { text-align: left; }
  .hero__note { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
