@import url("./assets/fonts/fonts.css");

:root {
  --ink: #222a2e;
  --red: #f1322b;
  --blue: #00ace6;
  --link: #006f9c;
  --pink: #fff0f3;
  --gray: #f3f4f4;
  --line: #d8dadd;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 18px/1.55 var(--sans);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--link);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #007ba8;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(40px, 4.7vw, 64px);
}
h2 {
  font-size: clamp(30px, 3.3vw, 46px);
}
h3 {
  font-size: 27px;
}
p + p {
  margin-top: 16px;
}
button,
a,
summary {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  padding: 12px;
  background: #fff;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: min(1240px, calc(100% - 112px));
  margin-inline: auto;
}
.site-header {
  background: white;
}
.announcement {
  background: var(--pink);
  border-bottom: 1px solid #f2dfe3;
  font-size: 14px;
  line-height: 1.5;
}
.announcement-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 18px;
  padding-block: 9px;
  text-align: center;
}
.announcement a {
  font-weight: 700;
  white-space: nowrap;
}
.header-inner {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  flex: 0 1 350px;
  display: block;
}
.brand img {
  width: 350px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
}
.site-nav a {
  color: var(--ink);
  white-space: nowrap;
  text-decoration: none;
}
.site-nav a:hover {
  text-decoration: underline;
}
.site-nav .portal-button {
  padding: 11px 27px;
  border: 1px solid #007ca9;
  border-radius: 999px;
  background: #d8f3fc;
  font-weight: 700;
}
.site-nav .portal-button:hover {
  background: #c5edfb;
}
.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}
.menu-button img {
  width: 24px;
  height: 24px;
}
.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  max-width: 1600px;
  margin: auto;
  background: var(--gray);
  min-height: 490px;
}
.hero-copy {
  padding: 62px 30px 54px max(56px, calc((100vw - 1240px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero h1 {
  white-space: nowrap;
}
.hero-description {
  margin-top: 27px;
  font-size: 20px;
  line-height: 1.5;
}
.hero-description p + p {
  margin-top: 3px;
}
.hero-photo {
  width: 100%;
  height: 100%;
  max-height: 550px;
  object-fit: cover;
  object-position: 50% top;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 29px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.3;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  font-size: 20px;
  text-shadow: 0 0 1px #5a0800;
}
.button-primary:hover {
  background: #ce2520;
  border-color: #ce2520;
  text-decoration: none;
  transform: translateY(-1px);
}
.hero .button {
  margin-top: 28px;
}
.hero-question {
  margin-top: 14px;
  font-size: 17px;
}
.swish {
  width: 270px;
  height: 22px;
  object-fit: fill;
  margin-top: 6px;
}
.instruments {
  padding-inline: 0;
  padding-top: 28px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding-inline: 0;
  list-style: none;
  margin-block: 0;
}
.instrument {
  text-align: center;
  position: relative;
}
.instrument + .instrument {
  border-left: 1px solid var(--line);
}
.instrument img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.instrument span {
  display: block;
  font-size: 17px;
}
.offering-link {
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.offering-link:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.instrument small {
  display: block;
  font-size: 14px;
  margin-top: 4px;
  color: #555d61;
}
.group-classes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 28px 32px;
  background: var(--gray);
  border-radius: 12px;
  margin-block: 0 36px;
}
.offering-eyebrow {
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.group-classes h2 {
  font-size: 32px;
}
.group-classes h2 + p {
  margin-top: 12px;
  max-width: 440px;
}
.group-class-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 18px;
}
.group-class-details h3 {
  font-size: 24px;
}
.group-class-details h3 + p {
  margin-top: 6px;
  font-size: 16px;
}
.group-class-note {
  grid-column: 1 / -1;
  font-size: 16px;
}
.about {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 42px;
}
.about-photo {
  width: 100%;
  height: 292px;
  object-fit: cover;
  object-position: 50% top;
}
.about p {
  font-size: 22px;
  max-width: 520px;
  margin-top: 18px;
}
.about details {
  margin-top: 17px;
}
.about summary {
  cursor: pointer;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 5px;
  list-style-position: inside;
}
.about details[open] summary {
  margin-bottom: 18px;
}
.about details p {
  font-size: 18px;
}
.lesson-band {
  background: var(--pink);
}
.lesson-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-block: 35px;
}
.lesson-band h2 {
  font-size: 32px;
}
.lesson-band p {
  margin-top: 14px;
  font-size: 18px;
  max-width: 550px;
}
.testimonial {
  margin: 0;
  padding: 0 0 0 58px;
  border-left: 1px solid #d8cdd0;
  display: flex;
  align-items: center;
}
.testimonial blockquote {
  font: italic 500 28px/1.32 var(--serif);
  letter-spacing: -0.02em;
  margin: 0;
}
.testimonial figcaption {
  font: 14px var(--sans);
  margin-top: 14px;
  font-style: normal;
  color: #5b5356;
}
.contact {
  text-align: center;
  padding-block: 32px 36px;
}
.contact h2 {
  font-size: 32px;
}
.contact > p {
  margin-top: 4px;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 45px;
  margin-top: 20px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.contact-links a:hover {
  text-decoration: underline;
}
.contact-links img {
  width: 24px;
  height: 24px;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #eee;
  padding-block: 20px;
  color: #666;
  font-size: 14px;
}
.footer-note a {
  color: inherit;
}
.page-main {
  padding-block: 44px 65px;
  min-height: 50vh;
}
.page-main > h1 {
  font-size: 48px;
  margin-bottom: 15px;
}
.page-intro {
  max-width: 650px;
  margin-bottom: 35px;
  font-size: 21px;
}
.faq-list {
  max-width: 870px;
  margin: 35px auto;
}
.faq-list details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 21px;
  padding-right: 25px;
}
.faq-answer {
  padding: 20px 22px 3px 0;
  max-width: 760px;
}
.faq-answer p + p {
  margin-top: 14px;
}
.faq-answer li + li {
  margin-top: 8px;
}
.portal-layout {
  max-width: 760px;
}
.portal-help {
  margin-top: 25px;
  font-size: 16px;
}
.registration-panel {
  max-width: 650px;
  padding: 28px;
  background: var(--gray);
  margin-top: 30px;
  border-radius: 12px;
}
.registration-panel p {
  margin-bottom: 20px;
}
.price-table {
  border-collapse: collapse;
  width: min(100%, 620px);
  margin: 30px 0;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.section-title {
  margin-top: 45px;
}
.registration-note {
  font-size: 16px;
  color: #52585b;
  margin-top: 12px;
}
.page-main .button {
  margin-top: 15px;
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-left: 80px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 24px;
    min-height: 108px;
  }
  .brand {
    flex-basis: 280px;
  }
  .site-nav {
    gap: 22px;
    font-size: 15px;
  }
  .hero-copy {
    padding: 42px 26px 42px 32px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero {
    min-height: 440px;
    grid-template-columns: 45% 55%;
  }
  .hero h1 {
    font-size: 48px;
  }
  .about {
    gap: 42px;
  }
  .about p {
    font-size: 20px;
  }
  .lesson-band-inner {
    gap: 35px;
  }
  .testimonial {
    padding-left: 35px;
  }
  .testimonial blockquote {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 17px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 96px;
    gap: 14px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .brand {
    flex: 1;
    max-width: 250px;
  }
  .menu-button {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
  }
  .site-nav[data-open] {
    display: flex;
  }
  .site-nav a {
    padding: 12px 4px;
  }
  .site-nav .portal-button {
    text-align: center;
    margin-top: 10px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-copy {
    padding: 32px 24px 34px;
  }
  .hero h1 {
    font-size: 44px;
    white-space: normal;
    line-height: 1.12;
  }
  .hero-description {
    font-size: 18px;
    margin-top: 20px;
  }
  .hero .button {
    margin-top: 23px;
    font-size: 19px;
    min-height: 52px;
  }
  .hero-question {
    font-size: 16px;
  }
  .hero-photo {
    height: 340px;
    max-height: none;
    object-position: 50% top;
  }
  .swish {
    width: 220px;
    height: 18px;
  }
  .instruments {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 20px;
    padding-top: 24px;
    padding-bottom: 26px;
    width: calc(100% - 20px);
  }
  .instrument img {
    width: 70px;
    height: 78px;
    margin-bottom: 5px;
  }
  .instrument span {
    font-size: 14px;
  }
  .instrument {
    grid-column: span 2;
  }
  .instrument:last-child {
    grid-column: 2 / span 4;
  }
  .group-classes {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    margin-bottom: 30px;
  }
  .group-classes h2 {
    font-size: 29px;
  }
  .group-class-details {
    grid-template-columns: 1fr;
  }
  .instrument + .instrument {
    border: none;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 5px;
    padding-bottom: 34px;
  }
  .about-photo {
    height: 290px;
    object-position: 50% top;
  }
  .about h2 {
    font-size: 34px;
  }
  .about p {
    font-size: 19px;
    margin-top: 13px;
  }
  .lesson-band-inner {
    grid-template-columns: 1fr;
    padding-block: 28px;
    gap: 25px;
  }
  .lesson-band h2 {
    font-size: 29px;
  }
  .lesson-band p {
    font-size: 17px;
  }
  .testimonial {
    border-left: 0;
    border-top: 1px solid #d8cdd0;
    padding: 25px 0 0;
  }
  .testimonial blockquote {
    font-size: 25px;
  }
  .contact {
    padding-block: 28px;
  }
  .contact h2 {
    font-size: 29px;
  }
  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 16px;
  }
  .contact-links a {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  .contact-links img {
    flex: 0 0 22px;
  }
  .footer-note {
    font-size: 13px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-main {
    padding-top: 30px;
  }
  .page-main > h1 {
    font-size: 38px;
  }
  .page-intro {
    font-size: 19px;
  }
  .faq-list summary {
    font-size: 19px;
  }
  .registration-panel {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
@media (min-width: 761px) {
  .header-inner {
    min-height: 112px;
  }
  .hero {
    min-height: 490px;
  }
  .hero-photo {
    height: 490px;
    max-height: 490px;
  }
  .hero-copy {
    padding-top: 34px;
    padding-bottom: 34px;
  }
  .instruments {
    padding-block: 22px;
  }
  .instrument img {
    height: 100px;
    width: 110px;
  }
  .about-photo {
    height: 270px;
  }
  .about h2 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 18px;
  }
  .swish {
    height: 24px;
  }
}
.header-inner > .portal-button {
  padding: 11px 25px;
  border: 1px solid #007ca9;
  border-radius: 999px;
  background: #d8f3fc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-inner > .portal-button:hover {
  background: #c5edfb;
}
.site-nav {
  margin-left: auto;
}
.about-photo-frame {
  overflow: hidden;
}
.instrument img {
  filter: contrast(1.6);
}
@media (min-width: 761px) and (max-width: 950px) {
  .instrument img {
    width: 84px;
  }
  .instrument span {
    font-size: 14px;
  }
  .group-classes {
    gap: 28px;
  }
  .group-class-details {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 40px;
    white-space: normal;
  }
  .header-inner {
    gap: 20px;
  }
  .brand {
    max-width: 220px;
  }
  .site-nav {
    gap: 16px;
    font-size: 14px;
  }
  .header-inner > .portal-button {
    font-size: 14px;
    padding: 10px 16px;
  }
  .about {
    gap: 32px;
  }
  .about h2 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  .site-nav {
    order: 4;
  }
  .header-inner > .portal-button {
    order: 3;
    width: 100%;
    text-align: center;
    padding: 9px 20px;
    font-size: 15px;
  }
}

/* A native disclosure keeps the Lessons links usable without JavaScript. */
.lessons-dropdown {
  position: relative;
}
.lessons-dropdown summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.lessons-dropdown summary::-webkit-details-marker {
  display: none;
}
.nav-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.lessons-dropdown[open] .nav-caret {
  transform: translateY(2px) rotate(225deg);
}
.lessons-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  z-index: 20;
  min-width: 180px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px #222a2e14;
}
.site-nav .lessons-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
}
.site-nav .lessons-menu a:hover {
  background: var(--gray);
}
.kittens-main {
  padding-block: 38px 48px;
}
.kittens-intro {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 64px;
}
.kittens-intro h1 {
  font-size: clamp(38px, 4.5vw, 58px);
}
.kittens-intro h1 span {
  font-size: 0.8em;
}
.kittens-intro p:not(.offering-eyebrow) {
  margin-top: 18px;
  max-width: 600px;
}
.kittens-lede {
  font-size: 23px;
}
.kittens-intro .button {
  margin-top: 24px;
}
.kittens-intro img {
  width: 340px;
  justify-self: center;
}
.term-note {
  margin-top: 36px;
  padding: 22px 28px;
  background: var(--pink);
  border-radius: 10px;
  display: grid;
  gap: 5px;
  text-align: center;
}
.term-note span {
  font-size: 16px;
}
.kittens-classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding-block: 40px;
}
.kittens-class h2 {
  font-size: 36px;
}
.class-time {
  color: var(--link);
  font-weight: 700;
  margin-block: 12px 18px;
}
.kittens-class h3 {
  font-size: 24px;
  margin-top: 24px;
}
.kittens-class ul {
  padding-left: 22px;
}
.kittens-class li + li {
  margin-top: 10px;
}
.caregiver-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 16px;
}
.kittens-register {
  background: var(--gray);
  padding: 32px;
  border-radius: 12px;
  text-align: center;
}
.kittens-register h2 {
  font-size: 34px;
}
.kittens-register p {
  margin-top: 14px;
}
.kittens-register .button {
  margin-top: 24px;
}
.flyer-link {
  font-size: 16px;
}
@media (max-width: 760px) {
  .lessons-dropdown summary {
    padding: 12px 4px;
  }
  .lessons-menu {
    position: static;
    box-shadow: none;
    min-width: 0;
    margin: 0 0 8px;
    background: var(--gray);
  }
  .kittens-main {
    padding-top: 26px;
  }
  .kittens-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .kittens-intro img {
    width: 220px;
  }
  .kittens-classes {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 30px;
  }
  .kittens-class + .kittens-class {
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
  .term-note,
  .kittens-register {
    padding: 24px 20px;
  }
}

/* Current section in the direct-link navigation. */
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Balance the lessons overview and pricing across the page. */
.lessons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1180px;
  column-gap: 48px;
  row-gap: 28px;
  align-items: start;
}
.lessons-introduction h1 {
  font-size: 48px;
  margin-bottom: 28px;
}
.lessons-introduction .page-intro {
  max-width: none;
  margin-bottom: 20px;
}
.lessons-pricing {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
}
.lessons-pricing h2 {
  font-size: 30px;
}
.lessons-pricing .price-table {
  width: 100%;
  margin-block: 20px;
}
.lessons-pricing .price-table caption {
  text-align: left;
  font-size: 16px;
  margin-bottom: 8px;
}
.lessons-pricing .price-table td,
.lessons-pricing .price-table thead th:last-child {
  text-align: right;
}
.lessons-pricing .price-table th,
.lessons-pricing .price-table td {
  padding-block: 12px;
}
.lessons-pricing > p {
  font-size: 16px;
}
.lessons-illustration-frame {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-top: 26px;
}
.lessons-illustration {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  margin: 0;
}

@media (max-width: 760px) {
  .lessons-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lessons-introduction h1 {
    font-size: 38px;
  }
  .lessons-pricing {
    padding: 24px;
  }
  .lessons-pricing h2 {
    font-size: 30px;
  }
}

/* Separate desktop navigation links while keeping the mobile menu vertical. */
@media (min-width: 761px) {
  .site-nav > a + a::before {
    content: "|";
    position: absolute;
    left: calc(var(--nav-divider-gap, 36px) / -2 - 2px);
    color: #9a9fa2;
    font-weight: 400;
    pointer-events: none;
  }
  .site-nav > a {
    position: relative;
  }
}
@media (min-width: 951px) and (max-width: 1100px) {
  .site-nav {
    --nav-divider-gap: 22px;
  }
}
@media (min-width: 761px) and (max-width: 950px) {
  .site-nav {
    --nav-divider-gap: 16px;
  }
}

/* Keep the decision and action together; give the drawing its own space. */
.lessons-pricing .button {
  display: flex;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 18px;
}
.lessons-introduction {
  align-self: start;
}

@media (min-width: 761px) and (max-width: 900px) {
  .lessons-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
  .lessons-illustration-frame {
    max-width: 520px;
    margin-inline: auto;
  }
}
