/*
Theme Name: Aberdeen Piano
Theme URI: https://www.aberdeenpiano.com
Author: Webart Technology
Author URI: https://webart.technology
Description: A bespoke WordPress theme for Aberdeen Piano — private piano lessons and music education in Aberdeen, Maryland. Built from the Aberdeen Piano static design with a warm cream palette, serif typography, depth-scroll motion and a filterable studio calendar.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aberdeen-piano
Tags: one-column, custom-menu, custom-logo, editor-style, featured-images, threaded-comments, translation-ready, blog, education
*/

/* main index page */


    :root {
      --ink: #12191d;
      --sage: #71838d;
      --sage-deep: #415662;
      --cream: #f3eee6;
      --paper: #fffaf3;
      --blush: #f4b27f;
      --rose: #bf4b18;
      --gold: #ff8a34;
      --slate: #526572;
      --mist: #c6ced0;
      --line: rgba(18, 25, 29, .16);
      --shadow: 0 24px 70px rgba(18, 25, 29, .16)
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth
    }

    body {
      margin: 0;
      background: var(--cream);
      color: var(--ink);
      font-family: Georgia, 'Times New Roman', serif;
      line-height: 1.6
    }

    body.locked {
      overflow: hidden
    }

    a {
      color: inherit
    }

    button,
    input,
    textarea {
      font: inherit
    }

    .wrap {
      width: min(1160px, calc(100% - 40px));
      margin: auto
    }

    .eyebrow {
      display: flex;
      gap: 12px;
      align-items: center;
      color: var(--sage-deep);
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .2em;
      text-transform: uppercase
    }

    .eyebrow:before {
      content: "";
      width: 34px;
      height: 1px;
      background: var(--gold)
    }

    html {
      overflow-x: hidden;
    }

    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 50% 35%, #283740 0, #12191d 48%, #080b0d 100%);
      color: var(--paper);
      transition: clip-path 1s cubic-bezier(.77, 0, .18, 1), visibility 1s;
      clip-path: inset(0 0 0 0)
    }

    .loader.done {
      clip-path: inset(0 0 100% 0);
      visibility: hidden
    }

    .loader-inner {
      text-align: center;
      width: min(780px, 92vw)
    }

    .loader-logo {
      width: 104px;
      height: 104px;
      object-fit: contain;
      filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .4));
      animation: logoFloat 1.8s ease-in-out infinite
    }

    .loader-mark {
      font-size: .72rem;
      letter-spacing: .38em;
      text-transform: uppercase;
      margin: 14px 0 28px;
      color: #f2cab0
    }

    .keys {
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      height: 142px;
      filter: drop-shadow(0 24px 25px rgba(0, 0, 0, .42));
      perspective: 900px
    }

    .key {
      position: relative;
      width: 52px;
      height: 130px;
      background: linear-gradient(90deg, #d8d8d3, #fff 14%, #fffdf7 72%, #d2d1cc);
      border: 1px solid #73797b;
      border-radius: 0 0 7px 7px;
      transform-origin: top;
      animation: press 1.5s infinite cubic-bezier(.6, 0, .2, 1)
    }

    .key:nth-child(2) {
      animation-delay: .1s
    }

    .key:nth-child(3) {
      animation-delay: .2s
    }

    .key:nth-child(4) {
      animation-delay: .3s
    }

    .key:nth-child(5) {
      animation-delay: .4s
    }

    .key:nth-child(6) {
      animation-delay: .5s
    }

    .key:nth-child(7) {
      animation-delay: .6s
    }

    .key:nth-child(8) {
      animation-delay: .7s
    }

    .key:nth-child(9) {
      animation-delay: .8s
    }

    .key:nth-child(10) {
      animation-delay: .9s
    }

    .key.black {
      z-index: 2;
      width: 31px;
      height: 82px;
      margin: 0 -16px;
      background: linear-gradient(90deg, #050607, #283037 45%, #080a0b);
      border-color: #030405;
      border-radius: 0 0 5px 5px;
      animation-name: pressBlack
    }

    .loader p {
      margin: 3px 0 13px;
      font-style: italic;
      color: #c6ced0
    }

    .loader-progress {
      height: 2px;
      background: rgba(255, 255, 255, .15);
      overflow: hidden;
      width: min(430px, 75vw);
      margin: auto
    }

    .loader-progress span {
      display: block;
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, var(--rose), var(--gold));
      animation: loadbar 3s cubic-bezier(.2, .8, .2, 1) forwards
    }

    .loader-count {
      margin-top: 10px;
      color: #f6d2b7;
      font-size: .65rem;
      letter-spacing: .2em
    }

    @keyframes press {

      0%,
      45%,
      100% {
        transform: rotateX(0) translateY(0)
      }

      18% {
        transform: rotateX(-7deg) translateY(12px);
        box-shadow: inset 0 8px 14px #b9b9b5
      }
    }

    @keyframes pressBlack {

      0%,
      45%,
      100% {
        transform: rotateX(0) translateY(0)
      }

      18% {
        transform: rotateX(-9deg) translateY(10px)
      }
    }

    @keyframes logoFloat {
      50% {
        transform: translateY(-8px) rotate(2deg)
      }
    }

    @keyframes loadbar {
      to {
        width: 100%
      }
    }

    .topline {
      background: var(--ink);
      color: #eef4ef;
      font-size: .73rem;
      letter-spacing: .08em
    }

    .topline .wrap {
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .topline a {
      text-decoration: none
    }

    .nav {
      position: absolute;
      z-index: 10;
      left: 0;
      right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .27);
      color: white
    }

    .nav-inner {
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      text-decoration: none
    }

    .monogram {
      display: grid;
      place-items: center;
      width: 47px;
      height: 47px;
      border: 1px solid rgba(255, 255, 255, .65);
      border-radius: 50%;
      font-size: 1.25rem;
      font-style: italic
    }

    .brand strong {
      display: block;
      font-size: 1.06rem;
      font-weight: normal;
      letter-spacing: .08em
    }

    .brand small {
      display: block;
      font-size: .62rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      opacity: .75
    }

    .nav-links {
      display: flex;
      gap: 30px;
      align-items: center
    }

    .nav-links a {
      text-decoration: none;
      font-size: .83rem;
      letter-spacing: .07em
    }

    .header_btn {
      padding: 11px 20px;
      border: 1px solid rgba(255, 255, 255, .72);
      border-radius: 99px;
      text-decoration: none;
      font-size: .83rem;
      letter-spacing: .07em
    }

    .menu {
      display: none;
      background: none;
      border: 0;
      color: white;
      font-size: 1.5rem
    }

    .hero {
      position: relative;
      min-height: 760px;
      display: grid;
      align-items: end;
      color: white;
      background: linear-gradient(90deg, rgba(25, 36, 31, .82) 0%, rgba(25, 36, 31, .6) 42%, rgba(25, 36, 31, .12) 72%), url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?auto=format&fit=crop&w=2000&q=88') center/cover
    }

    .hero:after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 150px;
      background: linear-gradient(transparent, var(--cream))
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 760px;
      padding: 190px 0 120px
    }

    .hero .eyebrow {
      color: #dbe9de
    }

    .hero h1 {
      font-size: clamp(3.6rem, 7.5vw, 7.2rem);
      line-height: .94;
      font-weight: normal;
      letter-spacing: -.045em;
      margin: 22px 0 28px
    }

    .hero h1 em {
      color: #e6cfc5;
      font-weight: normal
    }

    .hero p {
      max-width: 600px;
      font-size: 1.15rem;
      color: #edf2ee
    }

    .actions {
      display: flex;
      gap: 14px;
      margin-top: 36px
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border: 1px solid var(--sage-deep);
      background: var(--sage-deep);
      color: white;
      padding: 14px 24px;
      border-radius: 99px;
      font-size: .8rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: .25s
    }

    .btn:hover {
      transform: translateY(-2px);
      background: var(--ink)
    }

    .btn.light {
      background: transparent;
      border-color: rgba(255, 255, 255, .65)
    }

    section {
      padding: 110px 0
    }

    .intro-grid {
      display: grid;
      grid-template-columns: .86fr 1.14fr;
      gap: 90px;
      align-items: center
    }

    .portrait {
      position: relative
    }

    .portrait img {
      display: block;
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: 48% 48% 8px 8px;
      filter: saturate(.68) sepia(.08)
    }

    .portrait:before {
      content: "45+ years\A of teaching";
      white-space: pre;
      position: absolute;
      z-index: 2;
      right: -28px;
      bottom: 50px;
      width: 130px;
      height: 130px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      text-align: center;
      line-height: 1.25;
      background: var(--blush);
      color: var(--ink);
      font-size: .82rem;
      letter-spacing: .06em;
      box-shadow: var(--shadow)
    }

    .section-title {
      font-size: clamp(2.5rem, 5vw, 4.7rem);
      line-height: 1.06;
      font-weight: normal;
      letter-spacing: -.035em;
      margin: 18px 0 25px
    }

    .section-title em {
      color: var(--rose);
      font-weight: normal
    }

    .lead {
      font-size: 1.12rem;
      color: var(--body)
    }

    .signature {
      font-size: 1.55rem;
      font-style: italic;
      color: var(--sage-deep);
      margin-top: 30px
    }

    .credentials {
      font-size: .73rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--body)
    }

    .programs {
      background: #e8efe9
    }

    .program-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      margin-bottom: 48px
    }

    .program-head p {
      max-width: 400px
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px
    }

    .card {
      min-height: 370px;
      padding: 36px 30px;
      display: flex;
      flex-direction: column;
      background: rgba(255, 253, 248, .82);
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 180px 180px 12px 12px;
      text-align: center;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .07)
    }

    .card .num {
      color: var(--rose);
      font-style: italic
    }

    .card h3 {
      font-size: 1.75rem;
      font-weight: normal;
      margin: 55px 0 13px
    }

    .card p {
      color: var(--body);
      font-size: .92rem
    }

    .card a {
      margin-top: auto;
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: .7rem;
      text-underline-offset: 5px
    }

    .quote {
      padding: 90px 0;
      background: var(--blush);
      text-align: center
    }

    .quote blockquote {
      max-width: 900px;
      margin: 0 auto;
      font-size: clamp(1.7rem, 3.4vw, 3rem);
      line-height: 1.3;
      font-weight: normal
    }

    .quote cite {
      display: block;
      margin-top: 24px;
      font-style: normal;
      font-size: .72rem;
      letter-spacing: .17em;
      text-transform: uppercase;
      color: #755d58
    }

    .journey-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start
    }

    .steps {
      border-top: 1px solid var(--line)
    }

    .step {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 20px;
      padding: 25px 0;
      border-bottom: 1px solid var(--line)
    }

    .step span {
      color: var(--rose);
      font-style: italic
    }

    .step h3 {
      margin: 0 0 6px;
      font-weight: normal;
      font-size: 1.25rem
    }

    .step p {
      margin: 0;
      color: #65716b;
      font-size: .92rem
    }

    .tuition-note {
      margin-top: 30px;
      padding: 22px 25px;
      border-left: 3px solid var(--gold);
      background: white
    }

    .tuition-note strong {
      display: block;
      font-weight: normal;
      font-size: 1.25rem
    }

    .tuition-note small {
      color: #68746d
    }

    .calendar {
      background: var(--ink);
      color: #f7f4ec
    }

    .calendar .eyebrow {
      color: #bfd0c4
    }

    .calendar-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 30px
    }

    .calendar .section-title {
      margin-bottom: 0
    }

    .event-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 48px
    }

    .event {
      padding: 30px;
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 8px;
      background: rgba(255, 255, 255, .035)
    }

    .date {
      color: #e5c3ba;
      font-style: italic
    }

    .event h3 {
      font-weight: normal;
      font-size: 1.3rem;
      margin: 14px 0 8px
    }

    .event p {
      margin: 0;
      color: #bfcac3;
      font-size: .88rem
    }

    .calendar-note {
      margin-top: 28px;
      color: #afbbb3;
      font-size: 1rem
    }

    .contact-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 80px
    }

    .contact-list {
      margin-top: 35px
    }

    .contact-list a,
    .contact-list address {
      display: block;
      margin: 10px 0;
      text-decoration: none;
      font-style: normal
    }

    .contact-card {
      background: white;
      padding: 40px;
      border-radius: 12px;
      box-shadow: var(--shadow)
    }

    .field-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px
    }

    .contact-card label {
      display: block;
      font-size: .68rem;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin: 13px 0 6px
    }

    .contact-card input,
    .contact-card textarea {
      width: 100%;
      padding: 13px 2px;
      border: 0;
      border-bottom: 1px solid #bfc9c2;
      background: transparent;
      outline: none
    }

    .contact-card textarea {
      min-height: 95px;
      resize: none
    }

    .contact-card .btn {
      margin-top: 25px;
      border: 0;
      cursor: pointer
    }

    .form_btn_logo {
      display: flex;
      justify-content: space-between;
      align-items: center;

      .form_logo {
        margin-top: 15px;
        display: flex;
        gap: 10px;
        align-items: center;
        text-decoration: none;
      }
    }

    footer {
      background: #1d2823;
      color: #d5dfd8;
      padding: 26px 0
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px
    }

    .footer-inner p {
      margin: 0;
      color: #91a096;
      font-size: .74rem
    }

    .footer-inner a {
      text-decoration: none;
      margin-left: 20px;
      font-size: .75rem
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: .8s ease
    }

    .reveal.visible {
      opacity: 1;
      transform: none
    }

    .piano-line {
      display: inline-flex;
      gap: .08em;
      align-items: center
    }

    .piano-line .white-key,
    .piano-line .black-key {
      display: inline-block;
      padding: .02em .14em .09em;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone
    }

    .piano-line .white-key {
      background: #fff;
      color: #1a211e;
      box-shadow: inset 0 -4px 0 #d9d9d4
    }

    .piano-line .black-key {
      background: #111815;
      color: #fff;
      box-shadow: inset 0 -4px 0 #000
    }

    .piano-line span {
      transition: transform .35s, box-shadow .35s
    }

    .piano-line:hover span:nth-child(odd) {
      transform: translateY(5px)
    }

    .piano-line:hover span:nth-child(even) {
      transform: translateY(-4px)
    }

    .nav-links a:not(.button) {
      position: relative
    }

    .nav-links a:not(.button):after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -8px;
      height: 1px;
      background: #fff;
      transition: right .35s
    }

    .nav-links a:hover:after {
      right: 0
    }

    .monogram {
      transition: .5s cubic-bezier(.2, .8, .2, 1)
    }

    .brand:hover .monogram {
      background: #fff;
      color: #111;
      transform: rotate(-9deg) scale(1.08)
    }

    .card {
      transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s
    }

    .card:hover {
      transform: translateY(-16px) rotateX(3deg);
      box-shadow: 0 30px 70px rgba(39, 52, 47, .17)
    }

    .event {
      transition: .4s
    }

    .event:hover {
      transform: translateY(-7px);
      background: #fff;
      color: var(--ink);
      border-color: #fff
    }

    .event:hover p {
      color: #5d6963
    }

    .btn {
      overflow: hidden;
      position: relative
    }

    .btn:after {
      content: "→";
      margin-left: 0;
      width: 0;
      opacity: 0;
      transition: .3s
    }

    .btn:hover:after {
      margin-left: 12px;
      width: auto;
      opacity: 1
    }

    .pricing {
      background: var(--paper);
      position: relative;
      overflow: hidden
    }

    .pricing:before {
      content: "88";
      position: absolute;
      right: -30px;
      top: -100px;
      color: rgba(39, 52, 47, .035);
      font-size: 25rem;
      line-height: 1
    }

    .price-grid {
      display: grid;
      grid-template-columns: 1.2fr 1fr 1fr;
      gap: 1px;
      background: var(--ink);
      border: 1px solid var(--ink);
      margin-top: 45px
    }

    .price-card {
      position: relative;
      background: var(--paper);
      padding: 40px;
      min-height: 380px;
      display: flex;
      flex-direction: column;
      transition: .45s
    }

    .price-card.featured {
      background: var(--ink);
      color: white
    }

    .price-card:hover {
      z-index: 2;
      transform: scale(1.025);
      box-shadow: var(--shadow)
    }

    .price-card .label {
      font-size: .68rem;
      text-transform: uppercase;
      letter-spacing: .17em;
      color: var(--rose)
    }

    .price {
      font-size: 3.8rem;
      line-height: 1;
      margin: 35px 0 8px
    }

    .price sup {
      font-size: 1.1rem;
      vertical-align: top
    }

    .price small {
      font-size: .9rem;
      color: #78847e
    }

    .featured .price small {
      color: #b5c1ba
    }

    .price-card ul {
      padding: 0;
      margin: 26px 0;
      list-style: none
    }

    .price-card li {
      padding: 8px 0;
      border-bottom: 1px solid var(--line);
      font-size: .88rem
    }

    .featured li {
      border-color: rgba(255, 255, 255, .14)
    }

    .price-card a {
      margin-top: auto;
      text-transform: uppercase;
      letter-spacing: .13em;
      font-size: .7rem;
      text-underline-offset: 5px
    }

    .policy-section {
      background: #ebe1dc
    }

    .policy-grid {
      display: grid;
      grid-template-columns: .72fr 1.28fr;
      gap: 75px
    }

    .policy-list details {
      border-top: 1px solid rgba(39, 52, 47, .22);
      padding: 20px 0
    }

    .policy-list details:last-child {
      border-bottom: 1px solid rgba(39, 52, 47, .22)
    }

    .policy-list summary {
      cursor: pointer;
      font-size: 1.2rem;
      list-style: none;
      display: flex;
      justify-content: space-between
    }

    .policy-list summary:after {
      content: "+";
      transition: .3s
    }

    .policy-list details[open] summary:after {
      transform: rotate(45deg)
    }

    .policy-list p {
      max-width: 700px;
      color: #5d6863;
      font-size: .9rem
    }

    .schedule-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-top: 40px
    }

    .filter {
      border: 1px solid rgba(255, 255, 255, .25);
      background: transparent;
      color: white;
      border-radius: 99px;
      padding: 9px 17px;
      cursor: pointer;
      font-size: .7rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: .3s
    }

    .filter:hover,
    .filter.active {
      background: white;
      color: var(--ink)
    }

    .schedule-list {
      margin-top: 35px;
      border-top: 1px solid rgba(255, 255, 255, .17)
    }

    .schedule-item {
      display: grid;
      grid-template-columns: 155px 130px 1fr auto;
      gap: 28px;
      align-items: center;
      padding: 21px 12px;
      border-bottom: 1px solid rgba(255, 255, 255, .12);
      transition: .35s
    }

    .schedule-item:hover {
      background: white;
      color: var(--ink);
      padding-left: 24px
    }

    .schedule-item.hidden {
      display: none
    }

    .schedule-date {
      color: #e6c4bb;
      font-style: italic
    }

    .schedule-item:hover .schedule-date {
      color: var(--rose)
    }

    .schedule-day {
      color: #94a59a;
      font-size: .73rem;
      letter-spacing: .08em;
      text-transform: uppercase
    }

    .schedule-name {
      font-size: 1.05rem
    }

    .schedule-time {
      font-size: .76rem;
      color: #aebbb3;
      text-align: right
    }

    .schedule-item:hover .schedule-time {
      color: #5f6c65
    }

    .schedule-tag {
      display: inline-block;
      font-size: .6rem;
      text-transform: uppercase;
      letter-spacing: .12em;
      border: 1px solid currentColor;
      border-radius: 99px;
      padding: 4px 8px;
      margin-left: 9px;
      opacity: .7
    }

    .depth-scene {
      transform: perspective(1200px) translateZ(var(--depth, 0px)) scale(var(--zoom, 1));
      transform-origin: center;
      will-change: transform
    }

    .hero {
      overflow: hidden
    }

    .hero:before {
      content: "";
      position: absolute;
      inset: -5%;
      background: inherit;
      background-attachment: fixed;
      transform: scale(var(--hero-zoom, 1.05));
      transition: transform .1s linear
    }

    .hero>* {
      position: relative
    }

    .scroll-cue {
      position: absolute;
      z-index: 3;
      right: 34px;
      bottom: 75px;
      writing-mode: vertical-rl;
      font-size: .62rem;
      letter-spacing: .2em;
      text-transform: uppercase
    }

    .scroll-cue:after {
      content: "";
      display: inline-block;
      width: 1px;
      height: 60px;
      margin-top: 12px;
      background: rgba(255, 255, 255, .55)
    }

    .brand-logo {
      width: 58px;
      height: 58px;
      object-fit: contain;
      filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .22));
      transition: .5s
    }

    .brand:hover .brand-logo {
      transform: translateY(-4px) rotate(-4deg) scale(1.08)
    }

    .hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .91) 0%, rgba(24, 31, 34, .71) 45%, rgba(18, 25, 29, .16) 75%), url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?auto=format&fit=crop&w=2000&q=88') center/cover
    }

    .hero h1 em {
      color: #ffad73
    }

    .hero-orbit {
      position: absolute !important;
      z-index: 2;
      right: 8vw;
      top: 25%;
      width: 260px;
      height: 260px;
      border: 1px solid rgba(255, 138, 52, .45);
      border-radius: 50%;
      animation: orbit 12s linear infinite
    }

    .hero-orbit:before,
    .hero-orbit:after {
      content: "";
      position: absolute;
      border-radius: 50%
    }

    .hero-orbit:before {
      width: 16px;
      height: 16px;
      background: var(--gold);
      top: 18px;
      left: 48px;
      box-shadow: 0 0 28px var(--gold)
    }

    .hero-orbit:after {
      inset: 28px;
      border: 1px dashed rgba(198, 206, 208, .34);
      animation: orbit 8s linear infinite reverse
    }

    .hero-mark {
      position: absolute !important;
      right: calc(8vw + 50px);
      top: calc(25% + 50px);
      width: 160px;
      height: 160px;
      object-fit: contain;
      z-index: 3;
      opacity: .84;
      filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35));
      animation: heroMark 5s ease-in-out infinite
    }

    .topline {
      background: #0b1013
    }

    .nav {
      transition: background .45s, transform .45s, box-shadow .45s
    }

    .nav.scrolled {
      position: fixed;
      top: 0;
      background: rgba(18, 25, 29, .9);
      backdrop-filter: blur(18px);
      box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
      animation: navDrop .5s both
    }

    .nav.scrolled .nav-inner {
      height: 72px
    }

    .scroll-progress {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 10000;
      height: 3px;
      width: var(--progress, 0%);
      background: linear-gradient(90deg, var(--rose), var(--gold), #c6ced0);
      box-shadow: 0 0 14px var(--gold)
    }

    .marquee {
      overflow: hidden;
      background: var(--gold);
      color: #15191b;
      padding: 16px 0;
      transform: rotate(-1deg) scale(1.02);
      position: relative;
      z-index: 4
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 28s linear infinite
    }

    .marquee span {
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .18em;
      text-transform: uppercase;
      white-space: nowrap
    }

    .marquee b {
      font-size: 1.1rem;
      margin: 0 24px;
      color: #fff
    }

    .marquee:hover .marquee-track {
      animation-play-state: paused
    }

    .ambient {
      position: fixed;
      z-index: -1;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(1px);
      opacity: .16
    }

    .ambient.one {
      width: 340px;
      height: 340px;
      background: var(--gold);
      right: -130px;
      top: 35vh;
      animation: drift 11s ease-in-out infinite
    }

    .ambient.two {
      width: 220px;
      height: 220px;
      border: 35px solid var(--slate);
      left: -80px;
      bottom: 8vh;
      animation: drift 14s ease-in-out infinite reverse
    }

    .cursor-glow {
      position: fixed;
      z-index: 30;
      width: 260px;
      height: 260px;
      margin: -130px 0 0 -130px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 138, 52, .12), transparent 68%);
      pointer-events: none;
      transform: translate(var(--x, -500px), var(--y, -500px));
      transition: transform .12s linear
    }

    .section-title em,
    .signature,
    .date,
    .schedule-date {
      color: var(--rose)
    }

    .eyebrow:before {
      background: var(--gold)
    }

    .programs {
      background: linear-gradient(135deg, #dbe0df, #bac7cd)
    }

    .quote {
      background: linear-gradient(120deg, #f7c39c, #eaa36d)
    }

    .policy-section {
      background: linear-gradient(135deg, #eee5dc, #e9b58e)
    }

    .card {
      transform-style: preserve-3d
    }

    .card>* {
      transform: translateZ(22px)
    }

    .reveal {
      opacity: 0;
      transform: translateY(60px) rotateX(7deg);
      filter: blur(5px);
      transition: 1s cubic-bezier(.16, 1, .3, 1)    ;
      -webkit-transition: 1s cubic-bezier(.16, 1, .3, 1);
      -moz-transition: 1s cubic-bezier(.16, 1, .3, 1);
      -ms-transition: 1s cubic-bezier(.16, 1, .3, 1);
      -o-transition: 1s cubic-bezier(.16, 1, .3, 1);
}

    .reveal.visible {
      opacity: 1;
      transform: none;
      filter: none
    }

    .schedule-item:hover {
      border-left: 4px solid var(--gold)
    }

    @keyframes orbit {
      to {
        transform: rotate(360deg)
      }
    }

    @keyframes heroMark {
      50% {
        transform: translateY(-14px) rotate(-2deg)
      }
    }

    @keyframes navDrop {
      from {
        transform: translateY(-100%)
      }

      to {
        transform: none
      }
    }

    @keyframes marquee {
      to {
        transform: translateX(-50%)
      }
    }

    @keyframes drift {
      50% {
        transform: translate(25px, -45px) scale(1.12)
      }
    }

    @media(max-width:1500px) {
      .section-title {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
      }
    }

    @media(max-width:850px) {
      .nav-links {
        display: none
      }

      .menu {
        display: block
      }

      .brand-logo {
        width: 50px;
        height: 50px
      }

      .hero {
        min-height: 680px
      }

      .hero-content {
        padding-bottom: 90px
      }

      .hero-orbit,
      .hero-mark,
      .scroll-cue,
      .cursor-glow {
        display: none
      }

      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid {
        grid-template-columns: 1fr;
        gap: 50px
      }

      .portrait {
        max-width: 500px
      }

      .cards,
      .event-grid,
      .price-grid {
        grid-template-columns: 1fr
      }

      .card {
        min-height: 270px;
        border-radius: 140px 140px 12px 12px
      }

      .card h3 {
        margin-top: 28px
      }

      .program-head,
      .calendar-head {
        display: block
      }

      .program-head p {
        max-width: none
      }

      .topline .wrap span:first-child {
        display: none
      }

      .field-row {
        grid-template-columns: 1fr
      }

      .schedule-item {
        grid-template-columns: 100px 1fr;
        gap: 5px 18px
      }

      .schedule-day {
        display: none
      }

      .schedule-time {
        text-align: left
      }

      .schedule-tag {
        display: none
      }

      .footer-inner {
        display: block;
        text-align: center
      }

      .footer-inner nav {
        margin-top: 16px
      }

      .footer-inner a {
        margin: 0 8px
      }

      .depth-scene {
        transform: none !important
      }

      .loader-logo {
        width: 84px;
        height: 84px
      }

      .key {
        width: 34px;
        height: 112px
      }

      .key.black {
        width: 22px;
        margin: 0 -11px;
        height: 70px
      }

      .keys {
        height: 122px
      }
    }

    @media(prefers-reduced-motion:reduce) {
      * {
        scroll-behavior: auto !important
      }

      .key,
      .loader-logo,
      .hero-orbit,
      .hero-mark,
      .marquee-track,
      .ambient {
        animation: none !important
      }

      .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none
      }
    }

    #pricing .price-card .label {
      font-size: 15px;
    }

    #pricing .price-card p {
      padding: 8px 0;
      /* border-bottom: 1px solid var(--line); */
      font-size: .88rem;
    }

    #pricing .star {
      font-size: 37px;
      position: relative;
      top: 10px;
      left: -11px;
      color: var(--rose);
    }

    #pricing .star-1 {
      font-size: 29px;
      position: relative;
      top: 10px;
      left: -3px;
      color: var(--rose);
    }

    #pricing .price-card.one .price {
      font-size: 3.8rem;
      line-height: 1;
      margin: 6px 0 8px;
    }

    #pricing .price-card.featured .label {
      color: #fff;
    }

    .calendar .eyebrow {
      font-size: 18px;
    }

    .contact-card.reveal.visible {
      height: fit-content;
    }

    .contact-card.reveal.visible .contact-card {
      background: white;
      padding: 70px 50px;
      border-radius: 12px;
      box-shadow: var(--shadow);
    }

    /* blog page css */
    
    :root {
      --ink: #12191d;
      --sage: #71838d;
      --sage-deep: #415662;
      --cream: #f3eee6;
      --paper: #fffaf3;
      --blush: #f4b27f;
      --rose: #bf4b18;
      --gold: #ff8a34;
      --slate: #526572;
      --mist: #c6ced0;
      --line: rgba(18, 25, 29, .16);
      --shadow: 0 24px 70px rgba(18, 25, 29, .16)
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth;
      overflow-x: hidden
    }

    body {
      margin: 0;
      background: var(--cream);
      color: var(--ink);
      font-family: Georgia, 'Times New Roman', serif;
      line-height: 1.6
    }

    body.locked {
      overflow: hidden
    }

    a {
      color: inherit
    }

    button,
    input,
    textarea {
      font: inherit
    }

    .wrap {
      width: min(1160px, calc(100% - 40px));
      margin: auto
    }

    .eyebrow {
      display: flex;
      gap: 12px;
      align-items: center;
      color: var(--sage-deep);
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .2em;
      text-transform: uppercase
    }

    .eyebrow:before {
      content: "";
      width: 34px;
      height: 1px;
      background: var(--gold)
    }

    /* ---------- Loader ---------- */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 50% 35%, #283740 0, #12191d 48%, #080b0d 100%);
      color: var(--paper);
      transition: clip-path 1s cubic-bezier(.77, 0, .18, 1), visibility 1s;
      clip-path: inset(0 0 0 0)
    }

    .loader.done {
      clip-path: inset(0 0 100% 0);
      visibility: hidden
    }

    .loader-inner {
      text-align: center;
      width: min(780px, 92vw)
    }

    .loader-logo {
      width: 104px;
      height: 104px;
      object-fit: contain;
      filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .4));
      animation: logoFloat 1.8s ease-in-out infinite
    }

    .loader-mark {
      font-size: .72rem;
      letter-spacing: .38em;
      text-transform: uppercase;
      margin: 14px 0 28px;
      color: #f2cab0
    }

    .keys {
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      height: 142px;
      filter: drop-shadow(0 24px 25px rgba(0, 0, 0, .42));
      perspective: 900px
    }

    .key {
      position: relative;
      width: 52px;
      height: 130px;
      background: linear-gradient(90deg, #d8d8d3, #fff 14%, #fffdf7 72%, #d2d1cc);
      border: 1px solid #73797b;
      border-radius: 0 0 7px 7px;
      transform-origin: top;
      animation: press 1.5s infinite cubic-bezier(.6, 0, .2, 1)
    }

    .key:nth-child(2) { animation-delay: .1s }
    .key:nth-child(3) { animation-delay: .2s }
    .key:nth-child(4) { animation-delay: .3s }
    .key:nth-child(5) { animation-delay: .4s }
    .key:nth-child(6) { animation-delay: .5s }
    .key:nth-child(7) { animation-delay: .6s }
    .key:nth-child(8) { animation-delay: .7s }
    .key:nth-child(9) { animation-delay: .8s }
    .key:nth-child(10) { animation-delay: .9s }

    .key.black {
      z-index: 2;
      width: 31px;
      height: 82px;
      margin: 0 -16px;
      background: linear-gradient(90deg, #050607, #283037 45%, #080a0b);
      border-color: #030405;
      border-radius: 0 0 5px 5px;
      animation-name: pressBlack
    }

    .loader p {
      margin: 3px 0 13px;
      font-style: italic;
      color: #c6ced0
    }

    .loader-progress {
      height: 2px;
      background: rgba(255, 255, 255, .15);
      overflow: hidden;
      width: min(430px, 75vw);
      margin: auto
    }

    .loader-progress span {
      display: block;
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, var(--rose), var(--gold));
      animation: loadbar 3s cubic-bezier(.2, .8, .2, 1) forwards
    }

    .loader-count {
      margin-top: 10px;
      color: #f6d2b7;
      font-size: .65rem;
      letter-spacing: .2em
    }

    @keyframes press {
      0%, 45%, 100% { transform: rotateX(0) translateY(0) }
      18% { transform: rotateX(-7deg) translateY(12px); box-shadow: inset 0 8px 14px #b9b9b5 }
    }

    @keyframes pressBlack {
      0%, 45%, 100% { transform: rotateX(0) translateY(0) }
      18% { transform: rotateX(-9deg) translateY(10px) }
    }

    @keyframes logoFloat {
      50% { transform: translateY(-8px) rotate(2deg) }
    }

    @keyframes loadbar {
      to { width: 100% }
    }

    /* ---------- Top line & nav ---------- */
    .topline {
      background: #0b1013;
      color: #eef4ef;
      font-size: .73rem;
      letter-spacing: .08em
    }

    .topline .wrap {
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .topline a {
      text-decoration: none
    }

    .nav {
      position: absolute;
      z-index: 10;
      left: 0;
      right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .27);
      color: white;
      transition: background .45s, transform .45s, box-shadow .45s
    }

    .nav-inner {
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      text-decoration: none
    }

    .brand strong {
      display: block;
      font-size: 1.06rem;
      font-weight: normal;
      letter-spacing: .08em
    }

    .brand small {
      display: block;
      font-size: .62rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      opacity: .75
    }

    .nav-links {
      display: flex;
      gap: 30px;
      align-items: center
    }

    .nav-links a {
      text-decoration: none;
      font-size: .83rem;
      letter-spacing: .07em;
      position: relative
    }

    .nav-links a:not(.button):after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -8px;
      height: 1px;
      background: #fff;
      transition: right .35s
    }

    .nav-links a:hover:after {
      right: 0
    }

    .nav-links a.current:after {
      right: 0;
      background: var(--gold)
    }

    .nav-links .button {
      padding: 11px 20px;
      border: 1px solid rgba(255, 255, 255, .72);
      border-radius: 99px
    }

    .nav-links .button:after {
      display: none
    }

    .menu {
      display: none;
      background: none;
      border: 0;
      color: white;
      font-size: 1.5rem
    }

    .brand-logo {
      width: 58px;
      height: 58px;
      object-fit: contain;
      filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .22));
      transition: .5s
    }

    .brand:hover .brand-logo {
      transform: translateY(-4px) rotate(-4deg) scale(1.08)
    }

    .nav.scrolled {
      position: fixed;
      top: 0;
      background: rgba(18, 25, 29, .9);
      backdrop-filter: blur(18px);
      box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
      animation: navDrop .5s both
    }

    .nav.scrolled .nav-inner {
      height: 72px
    }

    @keyframes navDrop {
      from { transform: translateY(-100%) }
      to { transform: none }
    }

    .scroll-progress {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 10000;
      height: 3px;
      width: var(--progress, 0%);
      background: linear-gradient(90deg, var(--rose), var(--gold), #c6ced0);
      box-shadow: 0 0 14px var(--gold)
    }

    /* ---------- Blog hero ---------- */
    .blog-hero {
      position: relative;
      min-height: 620px;
      display: grid;
      align-items: end;
      color: white;
      overflow: hidden;
      background: linear-gradient(90deg, rgba(12, 17, 20, .91) 0%, rgba(24, 31, 34, .71) 45%, rgba(18, 25, 29, .22) 75%), url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=2000&q=88') center/cover
    }

    .blog-hero:after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 150px;
      background: linear-gradient(transparent, var(--cream))
    }

    .blog-hero:before {
      content: "";
      position: absolute;
      inset: -5%;
      background: inherit;
      background-attachment: fixed;
      transform: scale(var(--hero-zoom, 1.05));
      transition: transform .1s linear
    }

    .blog-hero > * {
      position: relative
    }

    .blog-hero-content {
      position: relative;
      z-index: 2;
      max-width: 760px;
      padding: 190px 0 120px
    }

    .blog-hero .eyebrow {
      color: #dbe9de
    }

    .blog-hero h1 {
      font-size: clamp(3rem, 7vw, 6.4rem);
      line-height: .96;
      font-weight: normal;
      letter-spacing: -.045em;
      margin: 22px 0 28px
    }

    .blog-hero h1 em {
      color: #ffad73;
      font-weight: normal
    }

    .blog-hero p {
      max-width: 600px;
      font-size: 1.15rem;
      color: #edf2ee
    }

    .piano-line {
      display: inline-flex;
      gap: .08em;
      align-items: center
    }

    .piano-line .white-key,
    .piano-line .black-key {
      display: inline-block;
      padding: .02em .14em .09em;
      box-decoration-break: clone;
      -webkit-box-decoration-break: clone
    }

    .piano-line .white-key {
      background: #fff;
      color: #1a211e;
      box-shadow: inset 0 -4px 0 #d9d9d4
    }

    .piano-line .black-key {
      background: #111815;
      color: #fff;
      box-shadow: inset 0 -4px 0 #000
    }

    .piano-line span {
      transition: transform .35s, box-shadow .35s
    }

    .piano-line:hover span:nth-child(odd) { transform: translateY(5px) }
    .piano-line:hover span:nth-child(even) { transform: translateY(-4px) }

    /* ---------- Marquee ---------- */
    .marquee {
      overflow: hidden;
      background: var(--gold);
      color: #15191b;
      padding: 16px 0;
      transform: rotate(-1deg) scale(1.02);
      position: relative;
      z-index: 4
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 28s linear infinite
    }

    .marquee span {
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .18em;
      text-transform: uppercase;
      white-space: nowrap
    }

    .marquee b {
      font-size: 1.1rem;
      margin: 0 24px;
      color: #fff
    }

    .marquee:hover .marquee-track {
      animation-play-state: paused
    }

    @keyframes marquee {
      to { transform: translateX(-50%) }
    }

    section {
      padding: 110px 0
    }

    .section-title {
      font-size: clamp(2.3rem, 5vw, 4.4rem);
      line-height: 1.06;
      font-weight: normal;
      letter-spacing: -.035em;
      margin: 18px 0 25px
    }

    .section-title em {
      color: var(--rose);
      font-weight: normal
    }

    .lead {
      font-size: 1.12rem;
      color: var(--body)
    }

    /* ---------- Featured post ---------- */
    .feature-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 70px;
      align-items: center
    }

    .feature-media {
      position: relative
    }

    .feature-media img {
      display: block;
      width: 100%;
      aspect-ratio: 5/4;
      object-fit: cover;
      border-radius: 8px;
      filter: saturate(.78) sepia(.06);
      box-shadow: var(--shadow)
    }

    .feature-media:before {
      content: "Featured";
      position: absolute;
      z-index: 2;
      top: 22px;
      left: 22px;
      background: var(--ink);
      color: var(--paper);
      font-size: .62rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      padding: 8px 14px;
      border-radius: 99px
    }

    .post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      align-items: center;
      font-size: .72rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--body)
    }

    .chip {
      display: inline-block;
      border: 1px solid var(--line);
      border-radius: 99px;
      padding: 5px 13px;
      font-size: .62rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--rose)
    }

    .feature-grid h2 {
      font-size: clamp(2rem, 3.6vw, 3rem);
      line-height: 1.08;
      font-weight: normal;
      letter-spacing: -.03em;
      margin: 18px 0 16px
    }

    .feature-grid h2 a {
      text-decoration: none
    }

    .feature-grid p {
      color: var(--body)
    }

    .read-more {
      display: inline-flex;
      align-items: center;
      margin-top: 22px;
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: .72rem;
      text-decoration: none;
      text-underline-offset: 5px;
      border-bottom: 1px solid var(--rose);
      padding-bottom: 4px;
      color: var(--rose);
      transition: gap .3s
    }

    .read-more:after {
      content: "→";
      margin-left: 10px;
      transition: margin .3s
    }

    .read-more:hover:after {
      margin-left: 18px
    }

    /* ---------- Posts grid ---------- */
    .journal {
      background: linear-gradient(135deg, #dbe0df, #bac7cd)
    }

    .journal-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      margin-bottom: 30px
    }

    .journal-head p {
      max-width: 400px
    }

    .post-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 9px;
      margin-bottom: 44px
    }

    .filter {
      border: 1px solid rgba(18, 25, 29, .25);
      background: transparent;
      color: white;
      border-radius: 99px;
      padding: 9px 17px;
      cursor: pointer;
      font-size: .7rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: .3s
    }

    .filter:hover,
    .filter.active {
      background: var(--ink);
      color: var(--rose);
      border-color: var(--ink)
    }

    .post-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px
    }

    .post-card {
      display: flex;
      flex-direction: column;
      background: rgba(255, 253, 248, .9);
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .08);
      transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s
    }

    .post-card:hover {
      transform: translateY(-14px);
      box-shadow: 0 30px 70px rgba(39, 52, 47, .17)
    }

    .post-card.hidden {
      display: none
    }

    .post-thumb {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16/10
    }

    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.78) sepia(.05);
      transition: transform .7s cubic-bezier(.2, .8, .2, 1)
    }

    .post-card:hover .post-thumb img {
      transform: scale(1.07)
    }

    .post-thumb .chip {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(18, 25, 29, .82);
      color: #ffad73;
      border-color: transparent
    }

    .post-body {
      padding: 26px 26px 30px;
      display: flex;
      flex-direction: column;
      flex: 1
    }

    .post-body .date {
      font-style: italic;
      color: var(--rose);
      font-size: .82rem
    }

    .post-body h3 {
      font-size: 1.4rem;
      font-weight: normal;
      line-height: 1.18;
      margin: 10px 0 12px
    }

    .post-body h3 a {
      text-decoration: none
    }

    .post-body p {
      color: var(--body);
      font-size: .92rem;
      margin: 0 0 20px
    }

    .post-foot {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--line);
      padding-top: 16px;
      font-size: .72rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--body)
    }

    .post-foot a {
      text-decoration: none;
      color: var(--rose);
      text-underline-offset: 4px
    }

    .post-foot a:hover {
      text-decoration: underline
    }

    /* ---------- Quote band ---------- */
    .quote {
      padding: 90px 0;
      background: linear-gradient(120deg, #f7c39c, #eaa36d);
      text-align: center
    }

    .quote blockquote {
      max-width: 900px;
      margin: 0 auto;
      font-size: clamp(1.6rem, 3.2vw, 2.7rem);
      line-height: 1.3;
      font-weight: normal
    }

    .quote cite {
      display: block;
      margin-top: 24px;
      font-style: normal;
      font-size: .72rem;
      letter-spacing: .17em;
      text-transform: uppercase;
      color: #755d58
    }

    /* ---------- Newsletter ---------- */
    .newsletter {
      background: var(--ink);
      color: #f7f4ec
    }

    .newsletter .eyebrow {
      color: #bfd0c4
    }

    .news-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center
    }

    .news-grid .section-title {
      margin-bottom: 18px
    }

    .news-grid p {
      color: #bfcac3
    }

    .news-form {
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 12px;
      padding: 36px
    }

    .news-form label {
      display: block;
      font-size: .68rem;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin: 0 0 8px
    }

    .news-form input {
      width: 100%;
      padding: 14px 2px;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .28);
      background: transparent;
      color: #fff;
      outline: none;
      margin-bottom: 18px
    }

    .news-form input::placeholder {
      color: #7e8b85
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border: 1px solid var(--sage-deep);
      background: var(--sage-deep);
      color: white;
      padding: 14px 24px;
      border-radius: 99px;
      font-size: .8rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: .25s;
      cursor: pointer;
      overflow: hidden;
      position: relative
    }

    .btn:hover {
      transform: translateY(-2px);
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .btn:after {
      content: "→";
      width: 0;
      opacity: 0;
      transition: .3s
    }

    .btn:hover:after {
      margin-left: 12px;
      width: auto;
      opacity: 1
    }

    .news-note {
      margin-top: 18px;
      font-size: .76rem;
      color: #afbbb3
    }
    .form_btn_logo {
      display: flex;
      justify-content: space-between;
      align-items: start;

      .form_logo {
        margin-top: 0;
        display: flex;
        gap: 10px;
        align-items: center;
        text-decoration: none;
      }
    }

    /* ---------- Footer ---------- */
    footer {
      background: #1d2823;
      color: #d5dfd8;
      padding: 26px 0
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px
    }

    .footer-inner p {
      margin: 0;
      color: #91a096;
      font-size: .74rem
    }

    .footer-inner a {
      text-decoration: none;
      margin-left: 20px;
      font-size: .75rem
    }

    /* ---------- Reveal + ambient ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(60px) rotateX(7deg);
      filter: blur(5px);
      transition: 1s cubic-bezier(.16, 1, .3, 1)
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
      filter: none
    }

    .ambient {
      position: fixed;
      z-index: -1;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(1px);
      opacity: .16
    }

    .ambient.one {
      width: 340px;
      height: 340px;
      background: var(--gold);
      right: -130px;
      top: 35vh;
      animation: drift 11s ease-in-out infinite
    }

    .ambient.two {
      width: 220px;
      height: 220px;
      border: 35px solid var(--slate);
      left: -80px;
      bottom: 8vh;
      animation: drift 14s ease-in-out infinite reverse
    }

    .cursor-glow {
      position: fixed;
      z-index: 30;
      width: 260px;
      height: 260px;
      margin: -130px 0 0 -130px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 138, 52, .12), transparent 68%);
      pointer-events: none;
      transform: translate(var(--x, -500px), var(--y, -500px));
      transition: transform .12s linear
    }

    @keyframes drift {
      50% { transform: translate(25px, -45px) scale(1.12) }
    }

    /* ---------- Responsive ---------- */
    @media(max-width:850px) {
      .nav-links {
        display: none
      }

      .menu {
        display: block
      }

      .brand-logo {
        width: 50px;
        height: 50px
      }

      .blog-hero {
        min-height: 540px
      }

      .blog-hero-content {
        padding: 150px 0 90px
      }

      .cursor-glow {
        display: none
      }

      .feature-grid,
      .news-grid {
        grid-template-columns: 1fr;
        gap: 44px
      }

      .post-grid {
        grid-template-columns: 1fr 1fr
      }

      .journal-head {
        display: block
      }

      .journal-head p {
        max-width: none;
        margin-top: 14px
      }

      .topline .wrap span:first-child {
        display: none
      }

      .footer-inner {
        display: block;
        text-align: center
      }

      .footer-inner nav {
        margin-top: 16px
      }

      .footer-inner a {
        margin: 0 8px
      }

      .loader-logo {
        width: 84px;
        height: 84px
      }

      .key {
        width: 34px;
        height: 112px
      }

      .key.black {
        width: 22px;
        margin: 0 -11px;
        height: 70px
      }

      .keys {
        height: 122px
      }
    }

    @media(max-width:560px) {
      section {
        padding: 80px 0
      }

      .post-grid {
        grid-template-columns: 1fr
      }

      .news-form {
        padding: 26px
      }
    }

    @media(prefers-reduced-motion:reduce) {
      * {
        scroll-behavior: auto !important
      }

      .key,
      .loader-logo,
      .marquee-track,
      .ambient {
        animation: none !important
      }

      .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none
      }
    }
    .d-none{
      display: none;
    }


    /* blog-details page */

    :root {
      --ink: #12191d;
      --sage: #71838d;
      --sage-deep: #415662;
      --cream: #f3eee6;
      --paper: #fffaf3;
      --blush: #f4b27f;
      --rose: #bf4b18;
      --gold: #ff8a34;
      --slate: #526572;
      --mist: #c6ced0;
      --line: rgba(18, 25, 29, .16);
      --shadow: 0 24px 70px rgba(18, 25, 29, .16)
    }

    * {
      box-sizing: border-box
    }

    html {
      scroll-behavior: smooth;
      overflow-x: hidden
    }

    body {
      margin: 0;
      background: var(--cream);
      color: var(--ink);
      font-family: Georgia, 'Times New Roman', serif;
      line-height: 1.6
    }

    body.locked {
      overflow: hidden
    }

    a {
      color: inherit
    }

    button,
    input,
    textarea {
      font: inherit
    }

    .wrap {
      width: min(1160px, calc(100% - 40px));
      margin: auto
    }

    .eyebrow {
      display: flex;
      gap: 12px;
      align-items: center;
      color: var(--sage-deep);
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .2em;
      text-transform: uppercase
    }

    .eyebrow:before {
      content: "";
      width: 34px;
      height: 1px;
      background: var(--gold)
    }

    /* ---------- Loader ---------- */
    .loader {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: grid;
      place-items: center;
      background: radial-gradient(circle at 50% 35%, #283740 0, #12191d 48%, #080b0d 100%);
      color: var(--paper);
      transition: clip-path 1s cubic-bezier(.77, 0, .18, 1), visibility 1s;
      clip-path: inset(0 0 0 0)
    }

    .loader.done {
      clip-path: inset(0 0 100% 0);
      visibility: hidden
    }

    .loader-inner {
      text-align: center;
      width: min(780px, 92vw)
    }

    .loader-logo {
      width: 104px;
      height: 104px;
      object-fit: contain;
      filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .4));
      animation: logoFloat 1.8s ease-in-out infinite
    }

    .loader-mark {
      font-size: .72rem;
      letter-spacing: .38em;
      text-transform: uppercase;
      margin: 14px 0 28px;
      color: #f2cab0
    }

    .keys {
      position: relative;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      height: 142px;
      filter: drop-shadow(0 24px 25px rgba(0, 0, 0, .42));
      perspective: 900px
    }

    .key {
      position: relative;
      width: 52px;
      height: 130px;
      background: linear-gradient(90deg, #d8d8d3, #fff 14%, #fffdf7 72%, #d2d1cc);
      border: 1px solid #73797b;
      border-radius: 0 0 7px 7px;
      transform-origin: top;
      animation: press 1.5s infinite cubic-bezier(.6, 0, .2, 1)
    }

    .key:nth-child(2) { animation-delay: .1s }
    .key:nth-child(3) { animation-delay: .2s }
    .key:nth-child(4) { animation-delay: .3s }
    .key:nth-child(5) { animation-delay: .4s }
    .key:nth-child(6) { animation-delay: .5s }
    .key:nth-child(7) { animation-delay: .6s }
    .key:nth-child(8) { animation-delay: .7s }
    .key:nth-child(9) { animation-delay: .8s }
    .key:nth-child(10) { animation-delay: .9s }

    .key.black {
      z-index: 2;
      width: 31px;
      height: 82px;
      margin: 0 -16px;
      background: linear-gradient(90deg, #050607, #283037 45%, #080a0b);
      border-color: #030405;
      border-radius: 0 0 5px 5px;
      animation-name: pressBlack
    }

    .loader p {
      margin: 3px 0 13px;
      font-style: italic;
      color: #c6ced0
    }

    .loader-progress {
      height: 2px;
      background: rgba(255, 255, 255, .15);
      overflow: hidden;
      width: min(430px, 75vw);
      margin: auto
    }

    .loader-progress span {
      display: block;
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, var(--rose), var(--gold));
      animation: loadbar 3s cubic-bezier(.2, .8, .2, 1) forwards
    }

    .loader-count {
      margin-top: 10px;
      color: #f6d2b7;
      font-size: .65rem;
      letter-spacing: .2em
    }

    @keyframes press {
      0%, 45%, 100% { transform: rotateX(0) translateY(0) }
      18% { transform: rotateX(-7deg) translateY(12px); box-shadow: inset 0 8px 14px #b9b9b5 }
    }

    @keyframes pressBlack {
      0%, 45%, 100% { transform: rotateX(0) translateY(0) }
      18% { transform: rotateX(-9deg) translateY(10px) }
    }

    @keyframes logoFloat {
      50% { transform: translateY(-8px) rotate(2deg) }
    }

    @keyframes loadbar {
      to { width: 100% }
    }

    /* ---------- Top line & nav ---------- */
    .topline {
      background: #0b1013;
      color: #eef4ef;
      font-size: .73rem;
      letter-spacing: .08em
    }

    .topline .wrap {
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .topline a {
      text-decoration: none
    }

    .nav {
      position: absolute;
      z-index: 10;
      left: 0;
      right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .27);
      color: white;
      transition: background .45s, transform .45s, box-shadow .45s
    }

    .nav-inner {
      height: 92px;
      display: flex;
      align-items: center;
      justify-content: space-between
    }

    .brand {
      display: flex;
      gap: 12px;
      align-items: center;
      text-decoration: none
    }

    .brand strong {
      display: block;
      font-size: 1.06rem;
      font-weight: normal;
      letter-spacing: .08em
    }

    .brand small {
      display: block;
      font-size: .62rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      opacity: .75
    }

    .nav-links {
      display: flex;
      gap: 30px;
      align-items: center
    }

    .nav-links a {
      text-decoration: none;
      font-size: .83rem;
      letter-spacing: .07em;
      position: relative
    }

    .nav-links a:not(.button):after {
      content: "";
      position: absolute;
      left: 0;
      right: 100%;
      bottom: -8px;
      height: 1px;
      background: #fff;
      transition: right .35s
    }

    .nav-links a:hover:after {
      right: 0
    }

    .nav-links a.current:after {
      right: 0;
      background: var(--gold)
    }

    .nav-links .button {
      padding: 11px 20px;
      border: 1px solid rgba(255, 255, 255, .72);
      border-radius: 99px
    }

    .nav-links .button:after {
      display: none
    }

    .menu {
      display: none;
      background: none;
      border: 0;
      color: white;
      font-size: 1.5rem
    }

    .brand-logo {
      width: 58px;
      height: 58px;
      object-fit: contain;
      filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .22));
      transition: .5s
    }

    .brand:hover .brand-logo {
      transform: translateY(-4px) rotate(-4deg) scale(1.08)
    }

    .nav.scrolled {
      position: fixed;
      top: 0;
      background: rgba(18, 25, 29, .9);
      backdrop-filter: blur(18px);
      box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
      animation: navDrop .5s both
    }

    .nav.scrolled .nav-inner {
      height: 72px
    }

    @keyframes navDrop {
      from { transform: translateY(-100%) }
      to { transform: none }
    }

    .scroll-progress {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 10000;
      height: 3px;
      width: var(--progress, 0%);
      background: linear-gradient(90deg, var(--rose), var(--gold), #c6ced0);
      box-shadow: 0 0 14px var(--gold)
    }

    /* ---------- Article hero ---------- */
    .article-hero {
      position: relative;
      min-height: 660px;
      display: grid;
      align-items: end;
      color: white;
      overflow: hidden;
      background: linear-gradient(90deg, rgba(12, 17, 20, .92) 0%, rgba(24, 31, 34, .74) 45%, rgba(18, 25, 29, .34) 80%), url('https://images.unsplash.com/photo-1552422535-c45813c61732?auto=format&fit=crop&w=2000&q=88') center/cover
    }

    .article-hero:after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 150px;
      background: linear-gradient(transparent, var(--cream))
    }

    .article-hero:before {
      content: "";
      position: absolute;
      inset: -5%;
      background: inherit;
      background-attachment: fixed;
      transform: scale(var(--hero-zoom, 1.05));
      transition: transform .1s linear
    }

    .article-hero > * {
      position: relative
    }

    .article-hero-content {
      position: relative;
      z-index: 2;
      max-width: 880px;
      padding: 190px 0 110px
    }

    .crumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      font-size: .72rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #dbe9de;
      margin-bottom: 26px
    }

    .crumbs a {
      text-decoration: none;
      opacity: .82;
      transition: opacity .3s
    }

    .crumbs a:hover {
      opacity: 1
    }

    .crumbs span {
      opacity: .55
    }

    .article-hero h1 {
      font-size: clamp(2.4rem, 5.4vw, 5rem);
      line-height: 1.02;
      font-weight: normal;
      letter-spacing: -.04em;
      margin: 0 0 30px
    }

    .article-hero h1 em {
      color: #ffad73;
      font-weight: normal
    }

    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 22px;
      align-items: center;
      font-size: .74rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #edf2ee
    }

    .hero-meta .chip {
      border-color: rgba(255, 255, 255, .4);
      color: #ffd0ad
    }

    .hero-meta .by {
      display: flex;
      gap: 11px;
      align-items: center;
      text-transform: none;
      letter-spacing: .02em;
      font-size: .9rem
    }

    .hero-meta .by img {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid rgba(255, 255, 255, .6)
    }

    .chip {
      display: inline-block;
      border: 1px solid var(--line);
      border-radius: 99px;
      padding: 5px 13px;
      font-size: .62rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--rose)
    }

    /* ---------- Article body ---------- */
    .article {
      padding: 96px 0 70px
    }

    .article-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 290px;
      gap: 70px;
      align-items: start
    }

    .prose {
      max-width: 720px;
      font-size: 1.14rem;
      color: var(--body)
    }

    .prose > .lead {
      font-size: 1.45rem;
      line-height: 1.5;
      color: var(--sage-deep);
      margin: 0 0 36px
    }

    .prose p {
      margin: 0 0 26px
    }

    .prose h2 {
      font-size: clamp(1.7rem, 3vw, 2.3rem);
      line-height: 1.14;
      font-weight: normal;
      letter-spacing: -.03em;
      margin: 52px 0 18px
    }

    .prose h2 em {
      color: var(--rose);
      font-style: italic
    }

    .prose h3 {
      font-size: 1.32rem;
      font-weight: normal;
      margin: 38px 0 12px;
      color: var(--ink)
    }

    .prose a:not(.btn) {
      color: var(--rose);
      text-underline-offset: 4px
    }

    .prose ul {
      margin: 0 0 26px;
      padding-left: 0;
      list-style: none
    }

    .prose ul li {
      position: relative;
      padding-left: 30px;
      margin-bottom: 14px
    }

    .prose ul li:before {
      content: "♪";
      position: absolute;
      left: 0;
      top: -1px;
      color: var(--gold);
      font-size: 1.1rem
    }

    .prose blockquote {
      margin: 40px 0;
      padding: 8px 0 8px 32px;
      border-left: 3px solid var(--gold);
      font-size: 1.5rem;
      line-height: 1.4;
      font-style: italic;
      color: var(--sage-deep)
    }

    .figure {
      margin: 44px 0
    }

    .figure img {
      display: block;
      width: 100%;
      border-radius: 10px;
      aspect-ratio: 16/9;
      object-fit: cover;
      filter: saturate(.8) sepia(.05);
      box-shadow: var(--shadow)
    }

    .figure figcaption {
      margin-top: 12px;
      font-size: .82rem;
      font-style: italic;
      color: var(--body);
      text-align: center
    }

    .callout {
      margin: 40px 0;
      background: rgba(255, 138, 52, .1);
      border: 1px solid rgba(255, 138, 52, .32);
      border-radius: 12px;
      padding: 28px 30px
    }

    .callout strong {
      display: block;
      font-size: .72rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--rose);
      margin-bottom: 8px
    }

    .callout p {
      margin: 0;
      font-size: 1.02rem;
      color: #3a4742
    }

    /* tags + share */
    .article-foot {
      margin-top: 56px;
      padding-top: 30px;
      border-top: 1px solid var(--line);
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      align-items: center;
      justify-content: space-between
    }

    .tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 9px
    }

    .share {
      display: flex;
      gap: 10px;
      align-items: center
    }

    .share span {
      font-size: .7rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--body)
    }

    .share a {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 50%;
      text-decoration: none;
      font-size: .82rem;
      letter-spacing: .02em;
      transition: .3s
    }

    .share a:hover {
      background: var(--ink);
      color: #fff;
      border-color: var(--ink);
      transform: translateY(-3px)
    }

    /* author card */
    .author {
      margin-top: 50px;
      display: flex;
      gap: 24px;
      align-items: center;
      background: rgba(255, 253, 248, .9);
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 14px;
      padding: 28px;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .08)
    }

    .author img {
      width: 92px;
      height: 92px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0
    }

    .author h4 {
      margin: 0 0 6px;
      font-size: 1.2rem;
      font-weight: normal
    }

    .author .role {
      font-size: .68rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--rose);
      margin-bottom: 8px
    }

    .author p {
      margin: 0;
      font-size: .94rem;
      color: var(--body)
    }

    /* ---------- Sidebar ---------- */
    .sidebar {
      position: sticky;
      top: 96px;
      display: flex;
      flex-direction: column;
      gap: 30px
    }

    .widget {
      background: rgba(255, 253, 248, .92);
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 14px;
      padding: 26px;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .07)
    }

    .widget h4 {
      margin: 0 0 18px;
      font-size: .74rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    .toc a {
      display: block;
      text-decoration: none;
      font-size: .96rem;
      color: #4a5852;
      padding: 8px 0 8px 16px;
      border-left: 2px solid var(--line);
      transition: .3s
    }

    .toc a:hover {
      color: var(--rose);
      border-color: var(--gold);
      padding-left: 22px
    }

    .mini-post {
      display: flex;
      gap: 14px;
      align-items: center;
      text-decoration: none;
      margin-bottom: 18px
    }

    .mini-post:last-child {
      margin-bottom: 0
    }

    .mini-post img {
      width: 64px;
      height: 64px;
      border-radius: 9px;
      object-fit: cover;
      flex-shrink: 0;
      filter: saturate(.8) sepia(.05)
    }

    .mini-post .m-date {
      font-size: .68rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--rose)
    }

    .mini-post h5 {
      margin: 4px 0 0;
      font-size: .96rem;
      font-weight: normal;
      line-height: 1.25;
      color: var(--ink);
      transition: color .3s
    }

    .mini-post:hover h5 {
      color: var(--rose)
    }

    .widget-cta {
      background: linear-gradient(135deg, #283740, #12191d);
      color: #f3eee6;
      border: 0
    }

    .widget-cta h4 {
      color: #ffad73
    }

    .widget-cta p {
      margin: 0 0 18px;
      font-size: .92rem;
      color: #c6ced0
    }

    .widget-cta .btn {
      width: 100%
    }

    /* ---------- Marquee ---------- */
    .marquee {
      overflow: hidden;
      background: var(--gold);
      color: #15191b;
      padding: 16px 0;
      transform: rotate(-1deg) scale(1.02);
      position: relative;
      z-index: 4
    }

    .marquee-track {
      display: flex;
      width: max-content;
      animation: marquee 28s linear infinite
    }

    .marquee span {
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .18em;
      text-transform: uppercase;
      white-space: nowrap
    }

    .marquee b {
      font-size: 1.1rem;
      margin: 0 24px;
      color: #fff
    }

    .marquee:hover .marquee-track {
      animation-play-state: paused
    }

    @keyframes marquee {
      to { transform: translateX(-50%) }
    }

    /* ---------- Related ---------- */
    .related {
      background: linear-gradient(135deg, #dbe0df, #bac7cd);
      padding: 100px 0
    }

    .section-title {
      font-size: clamp(2.3rem, 5vw, 4.4rem);
      line-height: 1.06;
      font-weight: normal;
      letter-spacing: -.035em;
      margin: 18px 0 25px
    }

    .section-title em {
      color: var(--rose);
      font-weight: normal
    }

    .related-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
      margin-bottom: 44px
    }

    .related-head a {
      flex-shrink: 0;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: .72rem;
      border-bottom: 1px solid var(--rose);
      padding-bottom: 4px;
      color: var(--rose)
    }

    .post-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px
    }

    .post-card {
      display: flex;
      flex-direction: column;
      background: rgba(255, 253, 248, .9);
      border: 1px solid rgba(255, 255, 255, .8);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .08);
      transition: transform .55s cubic-bezier(.2, .8, .2, 1), box-shadow .55s
    }

    .post-card:hover {
      transform: translateY(-14px);
      box-shadow: 0 30px 70px rgba(39, 52, 47, .17)
    }

    .post-thumb {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16/10
    }

    .post-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.78) sepia(.05);
      transition: transform .7s cubic-bezier(.2, .8, .2, 1)
    }

    .post-card:hover .post-thumb img {
      transform: scale(1.07)
    }

    .post-thumb .chip {
      position: absolute;
      top: 14px;
      left: 14px;
      background: rgba(18, 25, 29, .82);
      color: #ffad73;
      border-color: transparent
    }

    .post-body {
      padding: 26px 26px 30px;
      display: flex;
      flex-direction: column;
      flex: 1
    }

    .post-body .date {
      font-style: italic;
      color: var(--rose);
      font-size: .82rem
    }

    .post-body h3 {
      font-size: 1.4rem;
      font-weight: normal;
      line-height: 1.18;
      margin: 10px 0 12px
    }

    .post-body h3 a {
      text-decoration: none
    }

    .post-body p {
      color: var(--body);
      font-size: .92rem;
      margin: 0 0 20px
    }

    .post-foot {
      margin-top: auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--line);
      padding-top: 16px;
      font-size: .72rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: var(--body)
    }

    .post-foot a {
      text-decoration: none;
      color: var(--rose);
      text-underline-offset: 4px
    }

    .post-foot a:hover {
      text-decoration: underline
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      border: 1px solid var(--sage-deep);
      background: var(--sage-deep);
      color: white;
      padding: 14px 24px;
      border-radius: 99px;
      font-size: .8rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      transition: .25s;
      cursor: pointer;
      overflow: hidden;
      position: relative
    }

    .btn:hover {
      transform: translateY(-2px);
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .btn.gold {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .btn.gold:hover {
      background: var(--rose);
      border-color: var(--rose);
      color: #fff
    }

    /* ---------- Newsletter ---------- */
    .newsletter {
      background: var(--ink);
      color: #f7f4ec;
      padding: 110px 0
    }

    .newsletter .eyebrow {
      color: #bfd0c4
    }

    .news-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center
    }

    .news-grid .section-title {
      margin-bottom: 18px
    }

    .news-grid p {
      color: #bfcac3
    }

    .news-form {
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 12px;
      padding: 36px
    }

    .news-form label {
      display: block;
      font-size: .68rem;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin: 0 0 8px
    }

    .news-form input {
      width: 100%;
      padding: 14px 2px;
      border: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .28);
      background: transparent;
      color: #fff;
      outline: none;
      margin-bottom: 18px
    }

    .news-form input::placeholder {
      color: #7e8b85
    }

    .news-form .btn:after {
      content: "→";
      width: 0;
      opacity: 0;
      transition: .3s
    }

    .news-form .btn:hover:after {
      margin-left: 12px;
      width: auto;
      opacity: 1
    }

    .news-note {
      margin-top: 18px;
      font-size: .76rem;
      color: #afbbb3
    }
    .form_btn_logo {
      display: flex;
      justify-content: space-between;
      align-items: start;

      .form_logo {
        margin-top: 0;
        display: flex;
        gap: 10px;
        align-items: center;
        text-decoration: none;
      }
    }

    /* ---------- Footer ---------- */
    footer {
      background: #1d2823;
      color: #d5dfd8;
      padding: 26px 0
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px
    }

    .footer-inner p {
      margin: 0;
      color: #91a096;
      font-size: .74rem
    }

    .footer-inner a {
      text-decoration: none;
      margin-left: 20px;
      font-size: .75rem
    }

    /* ---------- Reveal + ambient ---------- */
    .reveal {
      opacity: 0;
      transform: translateY(60px) rotateX(7deg);
      filter: blur(5px);
      transition: 1s cubic-bezier(.16, 1, .3, 1)
    }

    /* Article content reveals faster & lighter (no blur) so it appears almost instantly */
    .prose.reveal,
    .sidebar.reveal {
      transform: translateY(24px);
      filter: none;
      transition: opacity .45s ease-out, transform .45s cubic-bezier(.16, 1, .3, 1)
    }

    .reveal.visible {
      opacity: 1;
      transform: none;
      filter: none
    }

    .ambient {
      position: fixed;
      z-index: -1;
      border-radius: 50%;
      pointer-events: none;
      filter: blur(1px);
      opacity: .16
    }

    .ambient.one {
      width: 340px;
      height: 340px;
      background: var(--gold);
      right: -130px;
      top: 35vh;
      animation: drift 11s ease-in-out infinite
    }

    .ambient.two {
      width: 220px;
      height: 220px;
      border: 35px solid var(--slate);
      left: -80px;
      bottom: 8vh;
      animation: drift 14s ease-in-out infinite reverse
    }

    .cursor-glow {
      position: fixed;
      z-index: 30;
      width: 260px;
      height: 260px;
      margin: -130px 0 0 -130px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 138, 52, .12), transparent 68%);
      pointer-events: none;
      transform: translate(var(--x, -500px), var(--y, -500px));
      transition: transform .12s linear
    }

    @keyframes drift {
      50% { transform: translate(25px, -45px) scale(1.12) }
    }

    /* ---------- Responsive ---------- */
    @media(max-width:980px) {
      .article-grid {
        grid-template-columns: 1fr;
        gap: 50px
      }

      .sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap
      }

      .sidebar .widget {
        flex: 1 1 280px
      }
    }

    @media(max-width:850px) {
      .nav-links {
        display: none
      }

      .menu {
        display: block
      }

      .brand-logo {
        width: 50px;
        height: 50px
      }

      .article-hero {
        min-height: 560px
      }

      .article-hero-content {
        padding: 150px 0 90px
      }

      .cursor-glow {
        display: none
      }

      .news-grid {
        grid-template-columns: 1fr;
        gap: 44px
      }

      .post-grid {
        grid-template-columns: 1fr 1fr
      }

      .related-head {
        display: block
      }

      .related-head a {
        display: inline-block;
        margin-top: 14px
      }

      .topline .wrap span:first-child {
        display: none
      }

      .footer-inner {
        display: block;
        text-align: center
      }

      .footer-inner nav {
        margin-top: 16px
      }

      .footer-inner a {
        margin: 0 8px
      }

      .loader-logo {
        width: 84px;
        height: 84px
      }

      .key {
        width: 34px;
        height: 112px
      }

      .key.black {
        width: 22px;
        margin: 0 -11px;
        height: 70px
      }

      .keys {
        height: 122px
      }
    }

    @media(max-width:560px) {
      .article {
        padding: 70px 0 50px
      }

      .newsletter,
      .related {
        padding: 80px 0
      }

      .prose {
        font-size: 1.06rem
      }

      .prose > .lead {
        font-size: 1.24rem
      }

      .post-grid {
        grid-template-columns: 1fr
      }

      .article-foot {
        flex-direction: column;
        align-items: flex-start
      }

      .author {
        flex-direction: column;
        text-align: center
      }

      .sidebar {
        flex-direction: column
      }

      .news-form {
        padding: 26px
      }
    }

    @media(prefers-reduced-motion:reduce) {
      * {
        scroll-behavior: auto !important
      }

      .key,
      .loader-logo,
      .marquee-track,
      .ambient {
        animation: none !important
      }

      .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none
      }
    }
    /* ---------- Shared mobile navigation ---------- */
    @media(max-width:850px) {
      .nav-inner {
        position: relative
      }

      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 18px 16px;
        background: #0d0b0a;
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
        z-index: 60
      }

      .nav-links.open {
        display: flex
      }

      .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: .95rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08)
      }

      .nav-links a:last-child {
        border-bottom: 0
      }
    }

    /* ---------------------------------------------------------------
       Theme additions — Journal filters as links, and pagination.
       The static design filtered the grid in JavaScript, which cannot
       work across paginated pages, so the filters are category links.
       These rules only make an <a> sit exactly where a <button> did.
       --------------------------------------------------------------- */

    a.filter {
      display: inline-block;
      text-decoration: none;
      line-height: 1.2
    }

    .journal-pagination {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 9px;
      margin-top: 54px
    }

    .journal-pagination .page-numbers {
      display: inline-block;
      min-width: 42px;
      text-align: center;
      text-decoration: none;
      line-height: 1.2;
      color: var(--ink)
    }

    .journal-pagination .page-numbers.current,
    .journal-pagination .page-numbers:hover {
      background: var(--ink);
      color: var(--rose);
      border-color: var(--ink)
    }

    .journal-pagination .page-numbers.dots {
      border-color: transparent;
      background: transparent;
      color: var(--sage-deep);
      min-width: 0;
      padding-left: 4px;
      padding-right: 4px
    }

    .journal-pagination .page-numbers.dots:hover {
      background: transparent;
      color: var(--sage-deep)
    }

    .pagination-summary {
      margin-top: 14px;
      text-align: center;
      color: var(--sage-deep);
      font-size: .78rem;
      letter-spacing: .08em;
      text-transform: uppercase
    }

    .journal-empty {
      margin: 40px 0 0;
      font-size: 1.05rem;
      color: var(--sage-deep)
    }

    @media (max-width:720px) {
      .journal-pagination {
        margin-top: 38px
      }
    }

    /* Journal AJAX loading state — the grid dims and stops taking clicks
       while a filter or page request is in flight. */

    .journal-posts {
      position: relative;
      transition: opacity .25s ease
    }

    .journal-posts.is-loading {
      opacity: .45;
      pointer-events: none
    }

    .journal-posts.is-loading:after {
      content: "";
      position: absolute;
      top: 40px;
      left: 50%;
      width: 26px;
      height: 26px;
      margin-left: -13px;
      border: 2px solid rgba(18, 25, 29, .2);
      border-top-color: var(--rose);
      border-radius: 50%;
      animation: ap-spin .7s linear infinite
    }

    @keyframes ap-spin {
      to {
        transform: rotate(360deg)
      }
    }

    @media (prefers-reduced-motion:reduce) {

      .journal-posts,
      .journal-posts.is-loading:after {
        transition: none;
        animation: none
      }
    }

    /* Article page — tags link to their archives, and the copy-link button
       confirms after a click. */

    a.chip {
      text-decoration: none;
      transition: .3s
    }

    a.chip:hover {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--gold)
    }

    .share a.copied {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--gold)
    }

    /* ---------------------------------------------------------------
       Forms — live validation feedback and AJAX status messages.
       --------------------------------------------------------------- */

    .ap-field {
      position: relative
    }

    .ap-error {
      display: none;
      margin-top: 6px;
      font-size: .78rem;
      line-height: 1.4;
      color: var(--rose);
      letter-spacing: .01em
    }

    .ap-field.has-error .ap-error {
      display: block
    }

    .ap-field.has-error input,
    .ap-field.has-error textarea {
      border-color: var(--rose)
    }

    .form-message {
      margin: 12px 0 0;
      font-size: .85rem;
      line-height: 1.5
    }

    .form-message.is-success {
      color: var(--sage-deep);
      font-weight: bold
    }

    .form-message.is-error {
      color: var(--rose)
    }

    .form-message.is-sending {
      color: var(--slate)
    }

    form.is-sending {
      opacity: .75
    }

    /* The newsletter sits on the dark ink panel, so its status message and
       field errors use the orange accents rather than the light-background
       colours used elsewhere. */

    .news-form .form-message,
    .news-form .form-message.is-success,
    .news-form .form-message.is-error,
    .news-form .form-message.is-sending {
      color: var(--gold)
    }

    .news-form .ap-error {
      color: var(--blush)
    }

    button[type="submit"][disabled] {
      cursor: progress;
      opacity: .7
    }

    /* Honeypot — hidden from people, reachable by bots. */
    .ap-hp {
      position: absolute !important;
      left: -9999px !important;
      width: 1px;
      height: 1px;
      overflow: hidden
    }

    /* Required-field marker. */

    .ap-required {
      color: var(--gold);
      font-weight: bold
    }

    /* ---------------------------------------------------------------
       Editor content (page.php and any future page).

       The design only styled the handful of tags its article used
       (p, h2, h3, ul, blockquote). An editor can produce far more than
       that, so everything else the classic editor emits is covered here
       in the same visual language.
       --------------------------------------------------------------- */

    .page-grid {
      display: block
    }

    .page-grid .prose {
      max-width: 820px;
      margin: 0 auto
    }

    .prose h4,
    .prose h5,
    .prose h6 {
      font-family: Georgia, 'Times New Roman', serif;
      font-weight: normal;
      color: var(--ink);
      margin: 36px 0 12px;
      line-height: 1.25
    }

    .prose h4 {
      font-size: 1.35rem
    }

    .prose h5 {
      font-size: 1.15rem
    }

    .prose h6 {
      font-size: .82rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    /* Numbered lists mirror the bulleted list styling. */

    .prose ol {
      margin: 22px 0;
      padding-left: 1.4em;
      counter-reset: ap-ol
    }

    .prose ol > li {
      position: relative;
      list-style: none;
      margin-bottom: 12px;
      padding-left: 1.1em
    }

    .prose ol > li:before {
      counter-increment: ap-ol;
      content: counter(ap-ol) ".";
      position: absolute;
      left: -0.3em;
      color: var(--rose);
      font-weight: bold
    }

    .prose ol ol,
    .prose ul ul,
    .prose ol ul,
    .prose ul ol {
      margin: 12px 0
    }

    /* Definition lists — common on policy pages. */

    .prose dl {
      margin: 22px 0
    }

    .prose dt {
      font-weight: bold;
      color: var(--ink);
      margin-top: 16px
    }

    .prose dd {
      margin: 6px 0 0;
      padding-left: 1.1em;
      color: var(--slate)
    }

    /* Tables */

    .prose .table-scroll,
    .prose figure.wp-block-table {
      overflow-x: auto;
      margin: 26px 0
    }

    .prose table {
      width: 100%;
      border-collapse: collapse;
      margin: 26px 0;
      font-size: .95rem
    }

    .prose th,
    .prose td {
      border: 1px solid var(--line);
      padding: 10px 14px;
      text-align: left;
      vertical-align: top
    }

    .prose thead th {
      background: rgba(18, 25, 29, .05);
      font-size: .74rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    /* Media, captions and the editor's alignment classes. */

    .prose img {
      max-width: 100%;
      height: auto;
      border-radius: 10px
    }

    .prose figure {
      margin: 30px 0
    }

    .prose figcaption,
    .prose .wp-caption-text {
      margin-top: 10px;
      font-size: .82rem;
      color: var(--sage-deep);
      text-align: center
    }

    .prose .alignleft {
      float: left;
      margin: 6px 28px 18px 0
    }

    .prose .alignright {
      float: right;
      margin: 6px 0 18px 28px
    }

    .prose .aligncenter {
      display: block;
      margin-left: auto;
      margin-right: auto
    }

    .prose .alignnone {
      margin: 26px 0
    }

    .prose .wp-caption {
      max-width: 100%
    }

    .prose:after {
      content: "";
      display: block;
      clear: both
    }

    /* Code and rules */

    .prose code,
    .prose kbd {
      background: rgba(18, 25, 29, .06);
      border-radius: 4px;
      padding: 2px 6px;
      font-size: .88em
    }

    .prose pre {
      background: var(--ink);
      color: var(--paper);
      padding: 18px 20px;
      border-radius: 10px;
      overflow-x: auto;
      margin: 26px 0
    }

    .prose pre code {
      background: none;
      padding: 0;
      color: inherit
    }

    .prose hr {
      border: 0;
      border-top: 1px solid var(--line);
      margin: 40px 0
    }

    /* Multi-page content and the "last updated" note. */

    .page-links {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin: 36px 0 0
    }

    .page-links a,
    .page-links > span {
      display: inline-block;
      min-width: 34px;
      padding: 6px 12px;
      border: 1px solid var(--line);
      border-radius: 99px;
      text-align: center;
      text-decoration: none;
      font-size: .8rem
    }

    .page-links a:hover {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--gold)
    }

    .page-updated {
      margin-top: 44px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      font-size: .8rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    /* Core's password form, styled like the site's inputs. */

    .post-password-form input[type="password"] {
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 10px 12px;
      margin: 0 8px 0 4px
    }

    @media (max-width:720px) {

      .prose .alignleft,
      .prose .alignright {
        float: none;
        margin: 26px 0
      }
    }


    /* ---------------------------------------------------------------
       About page (page-about.php)

       Section bands alternate paper / ink / sage / cream so the page
       reads as a sequence of rooms rather than one long scroll. Shared
       components (.card, .step, .policy-list, .btn) are reused as-is;
       everything below is only what the About page adds.
       --------------------------------------------------------------- */

    /* The About page runs tighter than the home page — its bands are shorter
       reads, so 110px of section padding leaves the sections floating apart. */

    .about-page > section {
      padding: 62px 0
    }

    .about-page .about-hero {
      padding: 0
    }

    .about-hero {
      min-height: 620px;
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .about-hero .about-hero-eyebrow {
      color: #f0cdb0;
      margin-bottom: 20px
    }

    .about-hero-lead {
      max-width: 640px;
      margin: 0;
      font-size: 1.12rem;
      color: #e6ece7
    }

    /* A grid, not a flex row: three equal columns keep the figures on a shared
       left edge instead of drifting with the width of the label beneath. */

    .about-hero-stats {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px 30px;
      list-style: none;
      margin: 46px 0 0;
      padding: 28px 0 0;
      max-width: 560px;
      border-top: 1px solid rgba(255, 255, 255, .2)
    }

    .about-hero-stats li {
      min-width: 0
    }

    .about-hero-stats strong {
      display: block;
      font-size: 2.3rem;
      font-weight: normal;
      letter-spacing: -.03em;
      line-height: 1.1
    }

    .about-hero-stats sup {
      font-size: 1rem;
      color: var(--gold);
      vertical-align: top
    }

    .about-hero-stats span {
      font-size: .68rem;
      letter-spacing: .17em;
      text-transform: uppercase;
      color: #c8d5cb
    }

    /* ---------- Studio introduction ---------- */

    .about-intro {
      background: var(--paper)
    }

    .about-intro-grid {
      align-items: center
    }

    .about-figure {
      position: relative
    }

    .about-figure img {
      display: block;
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: 250px 250px 12px 12px;
      filter: saturate(.7) sepia(.08);
      box-shadow: var(--shadow)
    }

    .about-figure:before {
      content: "";
      position: absolute;
      inset: -18px;
      border: 1px solid rgba(191, 75, 24, .28);
      border-radius: 262px 262px 18px 18px;
      pointer-events: none
    }

    .about-figure-badge {
      position: absolute;
      z-index: 2;
      right: -24px;
      bottom: 46px;
      width: 124px;
      height: 124px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      align-content: center;
      text-align: center;
      line-height: 1.2;
      background: var(--blush);
      color: var(--ink);
      font-size: 1.35rem;
      letter-spacing: .04em;
      box-shadow: var(--shadow)
    }

    .about-figure-badge em {
      display: block;
      font-size: .68rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      font-style: normal;
      color: #7c4a2c
    }

    .about-intro-marks {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 34px
    }

    .about-intro-marks span {
      padding: 9px 17px;
      border: 1px solid var(--line);
      border-radius: 99px;
      background: rgba(255, 255, 255, .6);
      font-size: .7rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    /* ---------- Mission ---------- */

    .about-page .about-mission {
      position: relative;
      overflow: hidden;
      padding: 76px 0;
      background: var(--ink);
      color: #f7f4ec;
      text-align: center
    }

    .about-mission:before {
      content: "\266B";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      font-size: 26rem;
      line-height: 1;
      color: rgba(255, 255, 255, .035);
      pointer-events: none
    }

    .about-mission .wrap {
      position: relative;
      z-index: 1
    }

    .about-mission .eyebrow {
      justify-content: center;
      color: #dcc6b5
    }

    .about-mission blockquote {
      max-width: 940px;
      margin: 26px auto 0;
      font-size: clamp(1.7rem, 3.5vw, 3rem);
      line-height: 1.28;
      font-weight: normal
    }

    .about-mission cite {
      display: block;
      margin-top: 26px;
      font-style: normal;
      font-size: .7rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #a9b6ac
    }

    /* ---------- Approach and philosophy ---------- */

    .about-approach {
      background: #e8efe9
    }

    .about-approach-cards {
      margin-top: 6px
    }

    .about-philosophy {
      background: var(--cream)
    }

    .about-philosophy .steps {
      margin-top: 6px
    }

    /* ---------- Instructor profile ---------- */

    .about-instructor {
      background: var(--paper)
    }

    .instructor-grid {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      gap: 84px;
      align-items: start
    }

    .instructor-portrait {
      position: relative;
      margin-bottom: 52px
    }

    .instructor-portrait img {
      display: block;
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: 12px;
      filter: saturate(.7) sepia(.08);
      box-shadow: var(--shadow)
    }

    .instructor-plate {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: -34px;
      padding: 18px 22px;
      border-radius: 10px;
      background: var(--ink);
      color: #f7f4ec;
      text-align: center;
      box-shadow: var(--shadow)
    }

    .instructor-plate strong {
      display: block;
      font-size: 1.3rem;
      font-weight: normal;
      letter-spacing: -.01em
    }

    .instructor-plate span {
      font-size: .66rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #bfd0c4
    }

    .instructor-facts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      margin-top: 38px;
      background: var(--line);
      border: 1px solid var(--line)
    }

    .instructor-facts article {
      padding: 28px 26px;
      background: var(--paper);
      transition: background .3s
    }

    .instructor-facts article:hover {
      background: #fff
    }

    .instructor-facts h3 {
      margin: 0 0 10px;
      padding-top: 14px;
      border-top: 2px solid var(--gold);
      display: inline-block;
      font-size: 1.1rem;
      font-weight: normal
    }

    .instructor-facts p {
      margin: 0;
      color: var(--body);
      font-size: .9rem
    }

    .about-instructor .signature {
      margin-top: 34px
    }

    /* ---------- Policies ---------- */

    .about-policies .about-policy-note {
      margin-top: 26px;
      padding: 4px 0 4px 16px;
      border-left: 2px solid var(--gold);
      font-size: .88rem;
      color: #5d6863
    }

    /* ---------- Closing call to action ---------- */

    .cta {
      background: var(--ink);
      color: #f7f4ec
    }

    /* A single centred panel: keys motif, statement, actions, then the three
       ways to reach the studio on one hairline-divided row. */

    .cta-panel {
      position: relative;
      max-width: 920px;
      margin: 0 auto;
      padding: 64px 60px 54px;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 20px;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 52, .12) 0%, transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .015) 100%)
    }

    .cta-keys {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      height: 34px;
      margin-bottom: 26px
    }

    .cta-keys i {
      width: 16px;
      height: 34px;
      border-radius: 0 0 3px 3px;
      background: linear-gradient(180deg, #fdf6ec 0%, #cdc3b4 100%)
    }

    .cta-keys i.black {
      width: 10px;
      height: 21px;
      margin: 0 -5px;
      z-index: 1;
      background: linear-gradient(180deg, #3a4a52 0%, #12191d 100%)
    }

    .cta .eyebrow {
      justify-content: center;
      color: #dcc6b5
    }

    .cta .section-title {
      margin: 14px 0 16px
    }

    .cta .section-title em {
      color: #ffad73
    }

    .cta .lead {
      max-width: 520px;
      margin: 0 auto;
      color: #c3cec5
    }

    .cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 14px;
      margin-top: 34px
    }

    .cta-ghost {
      background: transparent;
      border-color: rgba(255, 255, 255, .45)
    }

    .cta-ghost:hover {
      background: #fff;
      border-color: #fff;
      color: var(--ink)
    }

    .cta-meta {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      list-style: none;
      margin: 48px 0 0;
      padding: 32px 0 0;
      border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .cta-meta li {
      display: grid;
      gap: 8px;
      align-content: start
    }

    .cta-meta li + li {
      border-left: 1px solid rgba(255, 255, 255, .12)
    }

    .cta-meta span {
      font-size: .64rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #93a198
    }

    .cta-meta a,
    .cta-meta strong {
      font-size: 1.08rem;
      font-weight: normal;
      letter-spacing: -.01em;
      text-decoration: none;
      word-break: break-word;
      transition: color .3s
    }

    .cta-meta a:hover {
      color: var(--gold)
    }

    @media (max-width:1100px) {
      .instructor-grid {
        grid-template-columns: 1fr;
        gap: 64px
      }

      .instructor-portrait {
        max-width: 460px
      }
    }

    @media (max-width:850px) {
      .about-page > section {
        padding: 56px 0
      }

      .about-hero {
        min-height: 540px
      }

      .about-hero-stats {
        gap: 18px 36px
      }

      .about-figure {
        max-width: 480px
      }

      .about-figure-badge {
        right: 0;
        bottom: 20px;
        width: 104px;
        height: 104px;
        font-size: 1.15rem
      }

      .about-page .about-mission {
        padding: 66px 0
      }

      .about-mission:before {
        font-size: 16rem
      }

      .instructor-facts {
        grid-template-columns: 1fr
      }

      .cta-panel {
        padding: 48px 32px 42px
      }

      .cta-meta {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 38px;
        padding-top: 8px
      }

      .cta-meta li {
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, .12)
      }

      .cta-meta li + li {
        border-left: 0
      }
    }

    @media (max-width:560px) {
      .about-page > section {
        padding: 48px 0
      }

      .about-hero-stats {
        gap: 20px 28px;
        margin-top: 34px
      }

      .about-hero-stats strong {
        font-size: 1.85rem
      }

      .about-figure img {
        border-radius: 170px 170px 12px 12px
      }

      .about-figure:before {
        inset: -12px;
        border-radius: 180px 180px 16px 16px
      }

      .about-figure-badge {
        right: -6px;
        width: 92px;
        height: 92px;
        font-size: 1.05rem
      }

      .about-intro-marks span {
        font-size: .66rem;
        padding: 8px 13px
      }

      .about-page .about-mission {
        padding: 56px 0
      }

      .instructor-plate {
        left: 14px;
        right: 14px
      }

      .instructor-facts article {
        padding: 24px 20px
      }

      .cta-panel {
        padding: 40px 22px 34px;
        border-radius: 16px
      }

      .cta-buttons .btn {
        flex: 1 1 100%
      }
    }


    /* ---------------------------------------------------------------
       Services page (page-services.php)

       Four service blocks on alternating bands, each opening with the
       shared .section-head. Shared components (.card, .step, .btn, the
       .cta panel) are reused as-is; everything below is what the
       Services page adds.
       --------------------------------------------------------------- */

    .services-page > section {
      padding: 62px 0
    }

    .services-page .services-hero {
      padding: 0
    }

    .services-hero {
      min-height: 600px;
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1466428996289-fb355538da1b?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .services-hero .services-hero-eyebrow {
      color: #f0cdb0;
      margin-bottom: 20px
    }

    .services-hero-lead {
      max-width: 640px;
      margin: 0;
      font-size: 1.12rem;
      color: #e6ece7
    }

    /* ---------- Anchor bar ----------
       One rule-bar of four single-line links. Cards were tried here first and
       read badly: the descriptions wrapped to different depths, which left the
       prices on four different baselines. */

    .services-page .page-index {
      padding: 42px 0;
      background: var(--paper)
    }

    .jump-bar {
      display: flex;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line)
    }

    .jump-bar a {
      position: relative;
      flex: 1;
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 12px;
      padding: 22px 18px;
      text-decoration: none;
      white-space: nowrap;
      transition: background .3s, color .3s
    }

    .jump-bar a + a {
      border-left: 1px solid var(--line)
    }

    .jump-bar a:after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 2px;
      background: var(--gold);
      transform: scaleX(0);
      transition: transform .35s
    }

    .jump-bar a:hover {
      background: rgba(255, 255, 255, .6)
    }

    .jump-bar a:hover:after {
      transform: scaleX(1)
    }

    .jump-bar .num {
      font-style: italic;
      font-size: .82rem;
      color: var(--rose)
    }

    .jump-bar strong {
      font-weight: normal;
      font-size: 1.12rem;
      letter-spacing: -.01em
    }

    .jump-bar em {
      font-style: normal;
      font-size: .78rem;
      letter-spacing: .08em;
      text-transform: uppercase;
      color: #7e8a84
    }

    /* ---------- Section heads and bands ---------- */

    .section-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 34px;
      margin-bottom: 40px
    }

    .section-head p {
      max-width: 380px;
      margin: 0;
      color: var(--body)
    }

    .section-head .section-title {
      margin-bottom: 0
    }

    .block-subtitle {
      margin: 0 0 22px;
      font-size: 1.28rem;
      font-weight: normal;
      letter-spacing: -.01em
    }

    .student-lessons {
      background: var(--cream)
    }

    .adult-lessons {
      background: #e8efe9
    }

    .music-theory {
      background: var(--paper)
    }

    .performance-prep {
      background: #ebe1dc
    }

    /* ---------- Student lessons: inclusions and the tuition card ---------- */

    .tuition-grid {
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: 60px;
      align-items: start
    }

    .includes-list {
      list-style: none;
      margin: 0;
      padding: 0;
      border-top: 1px solid var(--line)
    }

    .includes-list li {
      position: relative;
      padding: 20px 0 20px 40px;
      border-bottom: 1px solid var(--line)
    }

    .includes-list li:before {
      content: "";
      position: absolute;
      left: 4px;
      top: 27px;
      width: 12px;
      height: 7px;
      border-left: 2px solid var(--gold);
      border-bottom: 2px solid var(--gold);
      transform: rotate(-45deg)
    }

    .includes-list strong {
      display: block;
      font-weight: normal;
      font-size: 1.12rem
    }

    .includes-list span {
      display: block;
      margin-top: 4px;
      font-size: .9rem;
      color: var(--body)
    }

    .tuition-card {
      position: sticky;
      top: 96px;
      padding: 38px 34px 34px;
      border-radius: 16px;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 52, .14) 0%, transparent 64%),
        var(--ink);
      color: #f7f4ec;
      box-shadow: var(--shadow)
    }

    .tuition-card .label {
      font-size: .66rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #ffad73
    }

    .tuition-price {
      margin: 16px 0 10px;
      font-size: 4rem;
      line-height: 1
    }

    .tuition-price sup {
      font-size: 1.1rem;
      vertical-align: top
    }

    .tuition-price small {
      display: block;
      margin-top: 8px;
      font-size: .8rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #9daba2
    }

    .tuition-card > p {
      margin: 0;
      font-size: .9rem;
      color: #c3cec5
    }

    .tuition-facts {
      margin: 26px 0 30px;
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .tuition-facts > div {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 11px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .09)
    }

    .tuition-facts dt {
      font-size: .68rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #93a198
    }

    .tuition-facts dd {
      margin: 0;
      font-size: .9rem;
      text-align: right
    }

    .tuition-card .btn {
      width: 100%;
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .tuition-card .btn:hover {
      background: #fff;
      border-color: #fff
    }

    /* ---------- Cancellation and payment panels ---------- */

    .info-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      margin-top: 40px
    }

    .info-card {
      padding: 32px 30px;
      border: 1px solid var(--line);
      border-top: 2px solid var(--gold);
      border-radius: 4px 4px 12px 12px;
      background: rgba(255, 253, 248, .82)
    }

    .info-card h3 {
      margin: 0 0 14px;
      font-size: 1.28rem;
      font-weight: normal
    }

    .info-card p {
      margin: 0;
      font-size: .92rem;
      color: var(--body)
    }

    .info-contact {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 18px;
      margin-top: 24px;
      padding-top: 22px;
      border-top: 1px solid var(--line)
    }

    .info-contact a {
      display: grid;
      gap: 5px;
      text-decoration: none;
      transition: color .3s
    }

    .info-contact a:hover {
      color: var(--rose)
    }

    .info-contact span {
      font-size: .64rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #7e8a84
    }

    .info-contact strong {
      font-weight: normal;
      font-size: 1.02rem;
      word-break: break-word
    }

    .tick-list {
      list-style: none;
      margin: 0;
      padding: 0
    }

    .tick-list li {
      position: relative;
      padding: 9px 0 9px 26px;
      font-size: .92rem;
      color: var(--body)
    }

    .tick-list li:before {
      content: "";
      position: absolute;
      left: 2px;
      top: 16px;
      width: 10px;
      height: 6px;
      border-left: 2px solid var(--gold);
      border-bottom: 2px solid var(--gold);
      transform: rotate(-45deg)
    }

    .info-note {
      margin-top: 18px;
      padding: 12px 16px;
      border-left: 2px solid var(--rose);
      background: rgba(255, 255, 255, .6);
      font-size: .88rem
    }

    /* ---------- Adult tiers ---------- */

    .tier-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--ink);
      border: 1px solid var(--ink)
    }

    .tier {
      display: flex;
      flex-direction: column;
      padding: 44px 40px;
      background: var(--paper);
      transition: .4s
    }

    .tier:hover {
      z-index: 2;
      transform: scale(1.02);
      box-shadow: var(--shadow)
    }

    .tier.featured {
      background: var(--ink);
      color: #f7f4ec
    }

    .tier .label {
      font-size: .68rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--rose)
    }

    .tier.featured .label {
      color: #ffad73
    }

    .tier-price {
      margin: 22px 0 6px;
      font-size: 3.6rem;
      line-height: 1
    }

    .tier-price sup {
      font-size: 1.05rem;
      vertical-align: top
    }

    .tier-price small {
      display: block;
      margin-top: 8px;
      font-size: .78rem;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #7e8a84
    }

    .tier.featured .tier-price small {
      color: #9daba2
    }

    .tier-note {
      margin: 0;
      font-size: .92rem;
      color: var(--body)
    }

    .tier.featured .tier-note {
      color: #c3cec5
    }

    .tier-divider {
      display: block;
      margin: 28px 0 8px;
      padding-top: 18px;
      border-top: 1px solid var(--line);
      font-size: .64rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #7e8a84
    }

    .tier.featured .tier-divider {
      border-color: rgba(255, 255, 255, .14);
      color: #93a198
    }

    .tier.featured .tick-list li {
      color: #d3dcd5
    }

    .tier-link {
      margin-top: auto;
      padding-top: 28px;
      font-size: .7rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      text-underline-offset: 5px
    }

    /* ---------- Theory and performance ---------- */

    .music-theory .steps {
      margin-top: 6px
    }

    .performance-cards {
      margin-top: 6px
    }

    .performance-prep .card {
      background: rgba(255, 253, 248, .88)
    }

    /* ---------- Responsive ---------- */

    @media (max-width:1100px) {
      .jump-bar {
        flex-wrap: wrap
      }

      .jump-bar a {
        flex: 1 1 50%
      }

      .jump-bar a:nth-child(3) {
        border-left: 0
      }

      .jump-bar a:nth-child(n+3) {
        border-top: 1px solid var(--line)
      }

      .tuition-grid {
        grid-template-columns: 1fr;
        gap: 44px
      }

      .tuition-card {
        position: static;
        max-width: 460px
      }
    }

    @media (max-width:850px) {
      .services-page > section {
        padding: 56px 0
      }

      .services-hero {
        min-height: 520px
      }

      .section-head {
        display: block
      }

      .section-head p {
        max-width: none;
        margin-top: 18px
      }

      .info-cards,
      .tier-grid {
        grid-template-columns: 1fr
      }

      .tier:hover {
        transform: none;
        box-shadow: none
      }
    }

    @media (max-width:560px) {
      .services-page > section {
        padding: 48px 0
      }

      .jump-bar a {
        flex: 1 1 100%;
        justify-content: flex-start;
        padding: 16px 4px
      }

      .jump-bar a + a {
        border-left: 0;
        border-top: 1px solid var(--line)
      }

      .jump-bar em {
        margin-left: auto
      }

      .tuition-card {
        padding: 30px 24px 28px
      }

      .tuition-price {
        font-size: 3.2rem
      }

      .info-card {
        padding: 26px 22px
      }

      .info-contact {
        grid-template-columns: 1fr;
        gap: 16px
      }

      .tier {
        padding: 34px 24px
      }

      .tier-price {
        font-size: 3rem
      }
    }


    /* ---------------------------------------------------------------
       Student Resources page (page-student.php)

       Two image-and-detail blocks (Audio-Visual Lab, Music Library)
       either side of a dark access panel, closing on the two
       performance cards. Reuses .jump-bar, .section-head, .tick-list,
       .btn and the .cta panel from the Services page.
       --------------------------------------------------------------- */

    .student-page > section {
      padding: 62px 0
    }

    .student-page .student-hero {
      padding: 0
    }

    .student-page .page-index {
      padding: 42px 0;
      background: var(--paper)
    }

    .student-hero {
      min-height: 600px;
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .student-hero .student-hero-eyebrow {
      color: #f0cdb0;
      margin-bottom: 20px
    }

    .student-hero-lead {
      max-width: 640px;
      margin: 0;
      font-size: 1.12rem;
      color: #e6ece7
    }

    /* ---------- Bands ---------- */

    .av-lab {
      background: var(--cream)
    }

    .lab-access {
      background: #e8efe9
    }

    .music-library {
      background: var(--paper)
    }

    .performance-ops {
      background: #ebe1dc
    }

    /* ---------- Image + detail blocks ---------- */

    .resource-grid {
      display: grid;
      grid-template-columns: .84fr 1.16fr;
      gap: 72px;
      align-items: center
    }

    .resource-grid.reversed {
      grid-template-columns: 1.16fr .84fr
    }

    .resource-figure {
      position: relative
    }

    .resource-figure img {
      display: block;
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: 12px;
      filter: saturate(.72) sepia(.08);
      box-shadow: var(--shadow)
    }

    .resource-figure:before {
      content: "";
      position: absolute;
      inset: -16px;
      border: 1px solid rgba(191, 75, 24, .26);
      border-radius: 18px;
      pointer-events: none
    }

    .resource-figure-tag {
      position: absolute;
      left: 22px;
      bottom: 22px;
      padding: 10px 18px;
      border-radius: 99px;
      background: var(--blush);
      color: var(--ink);
      font-size: .68rem;
      letter-spacing: .15em;
      text-transform: uppercase;
      box-shadow: 0 14px 30px rgba(18, 25, 29, .22)
    }

    .feature-list {
      list-style: none;
      margin: 30px 0 0;
      padding: 0;
      border-top: 1px solid var(--line)
    }

    .feature-list li {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 18px;
      padding: 22px 0;
      border-bottom: 1px solid var(--line)
    }

    .feature-num {
      font-style: italic;
      font-size: .95rem;
      color: var(--rose)
    }

    .feature-list h3 {
      margin: 0 0 6px;
      font-size: 1.18rem;
      font-weight: normal
    }

    .feature-list p {
      margin: 0;
      font-size: .92rem;
      color: var(--body)
    }

    /* ---------- Additional lab access ---------- */

    .access-panel {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: 64px;
      padding: 56px 54px;
      border-radius: 20px;
      background:
        radial-gradient(ellipse at 12% 0%, rgba(255, 138, 52, .13) 0%, transparent 60%),
        var(--ink);
      color: #f7f4ec;
      box-shadow: var(--shadow)
    }

    .access-intro .eyebrow {
      color: #dcc6b5
    }

    .access-intro .section-title {
      margin: 14px 0 16px
    }

    .access-intro .section-title em {
      color: #ffad73
    }

    .access-intro p {
      margin: 0 0 28px;
      color: #c3cec5;
      font-size: .98rem
    }

    .access-intro .btn {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .access-intro .btn:hover {
      background: #fff;
      border-color: #fff
    }

    .access-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 26px;
      list-style: none;
      margin: 0;
      padding: 0
    }

    .access-list li {
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, .2)
    }

    .access-num {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 50%;
      font-size: .82rem;
      font-style: italic;
      color: #ffad73
    }

    .access-list h3 {
      margin: 16px 0 8px;
      font-size: 1.18rem;
      font-weight: normal
    }

    .access-list p {
      margin: 0;
      font-size: .88rem;
      color: #b7c3bb
    }

    /* ---------- Performance opportunities ---------- */

    .recital-grid {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 22px
    }

    .recital-card {
      display: flex;
      flex-direction: column;
      padding: 42px 40px;
      border: 1px solid var(--line);
      border-top: 2px solid var(--gold);
      border-radius: 4px 4px 14px 14px;
      background: rgba(255, 253, 248, .86)
    }

    .recital-card.featured {
      border-color: var(--ink);
      border-top-color: var(--gold);
      background: var(--ink);
      color: #f7f4ec
    }

    .recital-card .label {
      font-size: .68rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--rose)
    }

    .recital-card.featured .label {
      color: #ffad73
    }

    .recital-card h3 {
      margin: 14px 0 0;
      font-size: 1.85rem;
      font-weight: normal;
      letter-spacing: -.02em
    }

    .recital-points {
      margin-top: 26px;
      border-top: 1px solid var(--line)
    }

    .recital-points > div {
      padding: 20px 0;
      border-bottom: 1px solid var(--line)
    }

    .recital-points h4 {
      margin: 0 0 6px;
      font-size: 1.06rem;
      font-weight: normal
    }

    .recital-points p {
      margin: 0;
      font-size: .9rem;
      color: var(--body)
    }

    .recital-lead {
      margin: 18px 0 0;
      color: #c3cec5;
      font-size: .98rem
    }

    .recital-divider {
      display: block;
      margin: 28px 0 8px;
      padding-top: 18px;
      border-top: 1px solid rgba(255, 255, 255, .16);
      font-size: .64rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #93a198
    }

    .recital-card.featured .tick-list li {
      color: #d3dcd5
    }

    .recital-note {
      margin: auto 0 0;
      padding-top: 26px;
      font-size: .82rem;
      letter-spacing: .06em;
      color: #93a198
    }

    /* ---------- Responsive ---------- */

    @media (max-width:1100px) {
      .resource-grid,
      .resource-grid.reversed {
        grid-template-columns: 1fr;
        gap: 48px
      }

      /* Keep the picture above its text when the columns collapse — both rows
         are stated explicitly so auto-placement cannot open a second column. */
      .resource-grid.reversed > * {
        grid-column: 1
      }

      .resource-grid.reversed .resource-figure {
        grid-row: 1
      }

      .resource-grid.reversed > :not(.resource-figure) {
        grid-row: 2
      }

      .resource-figure {
        max-width: 460px
      }

      .access-panel {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 48px 42px
      }

      .recital-grid {
        grid-template-columns: 1fr
      }
    }

    @media (max-width:850px) {
      .student-page > section {
        padding: 56px 0
      }

      .student-hero {
        min-height: 520px
      }

      .access-list {
        grid-template-columns: 1fr;
        gap: 0
      }

      .access-list li {
        padding: 20px 0
      }
    }

    @media (max-width:560px) {
      .student-page > section {
        padding: 48px 0
      }

      .resource-figure:before {
        inset: -10px;
        border-radius: 16px
      }

      .resource-figure-tag {
        left: 14px;
        bottom: 14px;
        padding: 8px 14px;
        font-size: .62rem
      }

      .feature-list li {
        grid-template-columns: 34px 1fr;
        gap: 12px
      }

      .access-panel {
        padding: 36px 24px;
        border-radius: 16px
      }

      .access-intro .btn {
        width: 100%
      }

      .recital-card {
        padding: 32px 24px
      }

      .recital-card h3 {
        font-size: 1.6rem
      }
    }


    /* ---------------------------------------------------------------
       Contact Us page (page-contact-us.php)

       Three contact methods under the hero, the details column beside
       the form card, then the map with an address card set into it.
       Reuses .contact-grid, .contact-card, .field-row, .ap-field and
       .btn from the home page so the form is identical to the one
       visitors already meet there.
       --------------------------------------------------------------- */

    .contact-page > section {
      padding: 62px 0
    }

    .contact-page .contact-hero {
      padding: 0
    }

    .contact-hero {
      min-height: 560px;
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1552422535-c45813c61732?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .contact-hero .contact-hero-eyebrow {
      color: #f0cdb0;
      margin-bottom: 20px
    }

    .contact-hero-lead {
      max-width: 620px;
      margin: 0;
      font-size: 1.12rem;
      color: #e6ece7
    }

    /* ---------- Contact methods ---------- */

    .contact-page .contact-methods {
      padding: 44px 0;
      background: var(--paper)
    }

    .contact-methods-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--line);
      border: 1px solid var(--line)
    }

    .contact-method {
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding: 28px 30px;
      background: var(--paper);
      text-decoration: none;
      transition: background .3s, color .3s
    }

    a.contact-method:hover {
      background: #fff;
      color: var(--rose)
    }

    .method-label {
      font-size: .64rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #7e8a84
    }

    .contact-method strong {
      font-weight: normal;
      font-size: 1.28rem;
      letter-spacing: -.01em;
      word-break: break-word
    }

    .contact-method em {
      margin-top: auto;
      font-style: normal;
      font-size: .82rem;
      color: #67746d
    }

    /* ---------- Details and form ---------- */

    .contact-main {
      background: var(--cream)
    }

    .contact-main-grid {
      align-items: start
    }

    .contact-details {
      margin: 34px 0 0;
      border-top: 1px solid var(--line)
    }

    .contact-details > div {
      display: grid;
      grid-template-columns: 130px 1fr;
      gap: 20px;
      padding: 16px 0;
      border-bottom: 1px solid var(--line)
    }

    .contact-details dt {
      font-size: .66rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #7e8a84;
      padding-top: 4px
    }

    .contact-details dd {
      margin: 0;
      font-size: 1.06rem
    }

    .contact-details address {
      font-style: normal;
      line-height: 1.5
    }

    .contact-details a {
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color .3s, color .3s
    }

    .contact-details a:hover {
      color: var(--rose);
      border-color: var(--rose)
    }

    .contact-aside {
      margin-top: 26px;
      padding: 14px 18px;
      border-left: 2px solid var(--gold);
      background: rgba(255, 255, 255, .6);
      font-size: .9rem;
      color: var(--body)
    }

    /* ---------- The form ----------
       The home page form uses bare underline inputs on a plain white box. On a
       dedicated contact page that reads thin, so the fields here are boxed and
       filled, the card carries a gold top edge and the studio mark, and the
       submit sits on its own footer rule. */

    .contact-form {
      position: relative;
      padding: 40px 40px 34px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background:
        radial-gradient(ellipse at 100% 0%, rgba(255, 138, 52, .07) 0%, transparent 58%),
        #fffdf9;
      box-shadow: var(--shadow)
    }

    .contact-form:before {
      content: "";
      position: absolute;
      left: 40px;
      right: 40px;
      top: 0;
      height: 2px;
      border-radius: 0 0 2px 2px;
      background: linear-gradient(90deg, var(--gold), var(--blush))
    }

    .contact-form-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      padding-bottom: 22px;
      border-bottom: 1px solid var(--line)
    }

    .contact-form-head h3 {
      margin: 8px 0 0;
      font-size: 1.75rem;
      font-weight: normal;
      letter-spacing: -.025em
    }

    .contact-form-mark {
      width: 52px;
      height: 52px;
      object-fit: contain;
      opacity: .8
    }

    .contact-fields {
      display: grid;
      gap: 18px;
      margin-top: 26px
    }

    .contact-form .field-row {
      gap: 18px
    }

    .contact-form label {
      display: block;
      margin-bottom: 8px;
      font-size: .66rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    .contact-form .ap-required {
      color: var(--rose)
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: rgba(243, 238, 230, .5);
      color: var(--ink);
      outline: none;
      transition: border-color .25s, background .25s, box-shadow .25s
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
      color: #9aa69f
    }

    .contact-form input:hover,
    .contact-form textarea:hover {
      border-color: #b6c0b8
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: var(--gold);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(255, 138, 52, .16)
    }

    .contact-form textarea {
      min-height: 150px;
      resize: none
    }

    .contact-form-foot {
      display: flex;
      align-items: center;
      flex-wrap: nowrap;
      gap: 22px;
      margin-top: 28px;
      padding-top: 24px;
      border-top: 1px solid var(--line)
    }

    .contact-form-foot .btn {
      flex: 0 0 auto;
      margin-top: 0;
      border: 0;
      cursor: pointer;
      padding: 16px 34px;
      white-space: nowrap
    }

    /* The note introduces the form, so it sits under the "Send a message"
       heading rather than after the submit button, where it competed with the
       button for the same row and then trailed the form as a loose line. */

    .contact-form-note {
      margin: 6px 0 0;
      font-size: .78rem;
      line-height: 1.5;
      color: var(--body)
    }

    /* ---------- Map ----------
       A single framed panel: the address rail on the left, the live map filling
       the right. An overlay card was tried first and covered the map on any
       screen narrower than a desktop. */

    .contact-map {
      background: var(--paper)
    }

    .map-panel {
      display: grid;
      grid-template-columns: .82fr 1.18fr;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow)
    }

    .map-aside {
      display: flex;
      flex-direction: column;
      padding: 46px 42px;
      background:
        radial-gradient(ellipse at 10% 0%, rgba(255, 138, 52, .14) 0%, transparent 62%),
        var(--ink);
      color: #f7f4ec
    }

    .map-aside .method-label {
      color: #ffad73
    }

    .map-aside address {
      margin-top: 12px;
      font-style: normal;
      font-size: 1.5rem;
      line-height: 1.45;
      letter-spacing: -.01em
    }

    .map-facts {
      margin: 30px 0 32px;
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, .16)
    }

    .map-facts > div {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 18px;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .09)
    }

    .map-facts dt {
      font-size: .66rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #93a198;
      white-space: nowrap
    }

    .map-facts dd {
      margin: 0;
      font-size: .92rem;
      text-align: right
    }

    .map-facts a {
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color .3s, color .3s
    }

    .map-facts a:hover {
      color: var(--gold);
      border-color: var(--gold)
    }

    .map-aside .btn {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .map-aside .btn:hover {
      background: #fff;
      border-color: #fff
    }

    .map-note {
      margin: 18px 0 0;
      font-size: .74rem;
      line-height: 1.5;
      color: #8b998f
    }

    .map-embed {
      position: relative;
      min-height: 480px;
      background: #dfe4e0
    }

    .map-embed iframe {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      border: 0;
      filter: saturate(.74) contrast(1.02)
    }

    /* ---------- Responsive ---------- */

    @media (max-width:1100px) {
      .contact-methods-grid {
        grid-template-columns: 1fr 1fr
      }

      .contact-method:last-child {
        grid-column: 1 / -1
      }

      .map-panel {
        grid-template-columns: 1fr
      }

      .map-aside {
        padding: 40px 36px
      }

      .map-embed {
        min-height: 0;
        height: 420px
      }
    }

    @media (max-width:850px) {
      .contact-page > section {
        padding: 56px 0
      }

      .contact-hero {
        min-height: 500px
      }

      .contact-form {
        padding: 32px 26px 28px
      }

      .contact-form:before {
        left: 26px;
        right: 26px
      }

      .map-embed {
        height: 340px
      }
    }

    @media (max-width:560px) {
      .contact-page > section {
        padding: 48px 0
      }

      .contact-methods-grid {
        grid-template-columns: 1fr
      }

      .contact-method:last-child {
        grid-column: auto
      }

      .contact-details > div {
        grid-template-columns: 1fr;
        gap: 4px
      }

      .contact-details dt {
        padding-top: 0
      }

      .contact-form {
        padding: 28px 22px 26px;
        border-radius: 14px
      }

      .contact-form:before {
        left: 22px;
        right: 22px
      }

      .contact-form-head h3 {
        font-size: 1.5rem
      }

      .contact-form-mark {
        width: 42px;
        height: 42px
      }

      .contact-form-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 14px
      }

      .contact-form-foot .btn {
        width: 100%
      }

      .map-panel {
        border-radius: 16px
      }

      .map-aside {
        padding: 32px 24px
      }

      .map-aside address {
        font-size: 1.28rem
      }

      .map-facts > div {
        display: grid;
        gap: 4px
      }

      .map-facts dd {
        text-align: left
      }

      .map-embed {
        height: 280px
      }
    }


    /* ===============================================================
       Interior pages — responsive refinement

       About, Services, Student Resources and Contact all carry
       .page-interior on <main>, so everything here is scoped to those
       four pages and never touches the approved home page.

       The base layouts were built desktop-first against the theme's
       own 850px breakpoint, which left the 900–1200px tablet band
       squeezed (two columns with 80–90px gutters) and the headings
       oversized below 640px. This layer closes those gaps.
       =============================================================== */

    /* ---------- 1280px: pull the wide gutters in ---------- */

    @media (max-width:1280px) {

      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 54px
      }

      .page-interior .section-title {
        font-size: clamp(2.1rem, 3.9vw, 3.05rem)
      }

      .page-interior .article-hero h1 {
        font-size: clamp(2.3rem, 4.8vw, 4.1rem)
      }
    }

    /* ---------- 1200px ---------- */

    @media (max-width:1200px) {

      .page-interior .cta-panel {
        padding: 56px 46px 48px
      }

      .page-interior .access-panel {
        padding: 50px 44px
      }

      .page-interior .tier {
        padding: 40px 32px
      }

      .page-interior .recital-card {
        padding: 38px 32px
      }

      .page-interior .contact-form {
        padding: 36px 32px 32px
      }

      .page-interior .contact-form:before {
        left: 32px;
        right: 32px
      }
    }

    /* ---------- 1120px ---------- */

    @media (max-width:1120px) {

      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 46px
      }

      .page-interior .instructor-facts {
        margin-top: 32px
      }

      .page-interior .map-aside {
        padding: 40px 34px
      }
    }

    /* ---------- 1024px: the two-column reading layouts stack ----------
       At this width a .86fr/1.14fr split leaves both columns too narrow
       to read comfortably, so they go single column here rather than
       waiting for the theme's 850px breakpoint. */

    @media (max-width:1024px) {

      .page-interior > section {
        padding: 56px 0
      }

      .page-interior .section-head,
      .page-interior .program-head {
        margin-bottom: 34px
      }

      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid {
        grid-template-columns: 1fr;
        gap: 44px
      }

      .page-interior .about-figure,
      .page-interior .resource-figure,
      .page-interior .instructor-portrait {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto
      }

      .page-interior .section-head,
      .page-interior .program-head {
        display: block
      }

      .page-interior .section-head p,
      .page-interior .program-head p {
        max-width: none;
        margin-top: 16px
      }

      .page-interior .steps,
      .page-interior .policy-list {
        margin-top: 0
      }

      /* A fixed-attachment layer behaves badly on touch devices — the
         hero keeps its own background without it. */
      .page-interior .article-hero:before {
        display: none
      }
    }

    /* ---------- 991px ---------- */

    @media (max-width:991px) {

      .page-interior .section-title {
        font-size: clamp(1.95rem, 5vw, 2.55rem)
      }

      .page-interior .article-hero {
        min-height: 520px
      }

      .page-interior .article-hero-content {
        padding: 150px 0 80px
      }

      .page-interior .about-mission blockquote {
        font-size: clamp(1.5rem, 4.2vw, 2.3rem)
      }

      .page-interior .tuition-price {
        font-size: 3.4rem
      }

      .page-interior .tier-price {
        font-size: 3.1rem
      }

      .page-interior .access-list {
        grid-template-columns: 1fr 1fr;
        gap: 22px
      }

      .page-interior .cta-meta {
        gap: 22px
      }
    }

    /* ---------- 768px: everything is one column ---------- */

    @media (max-width:768px) {

      .page-interior > section {
        padding: 50px 0
      }

      .page-interior .article-hero {
        min-height: 470px
      }

      .page-interior .article-hero-content {
        padding: 140px 0 70px
      }

      /* Two jump links per row cannot hold their nowrap text at this
         width, so each takes a row of its own. */
      .page-interior .jump-bar {
        display: block
      }

      .page-interior .jump-bar a {
        justify-content: flex-start;
        padding: 15px 4px
      }

      .page-interior .jump-bar a + a {
        border-left: 0;
        border-top: 1px solid var(--line)
      }

      .page-interior .jump-bar a:nth-child(n+3) {
        border-top: 1px solid var(--line)
      }

      .page-interior .jump-bar em {
        margin-left: auto
      }

      .page-interior .access-list {
        grid-template-columns: 1fr;
        gap: 0
      }

      .page-interior .access-list li {
        padding: 20px 0
      }

      .page-interior .instructor-facts,
      .page-interior .info-cards,
      .page-interior .tier-grid,
      .page-interior .recital-grid,
      .page-interior .contact-methods-grid,
      .page-interior .cta-meta {
        grid-template-columns: 1fr
      }

      .page-interior .contact-method:last-child {
        grid-column: auto
      }

      .page-interior .cta-meta {
        gap: 0;
        margin-top: 36px;
        padding-top: 8px
      }

      .page-interior .cta-meta li {
        padding: 18px 0;
        border-top: 1px solid rgba(255, 255, 255, .12)
      }

      .page-interior .cta-meta li + li {
        border-left: 0
      }

      .page-interior .tier:hover,
      .page-interior .price-card:hover {
        transform: none;
        box-shadow: none
      }

      .page-interior .about-hero-stats {
        gap: 16px 22px;
        margin-top: 32px;
        padding-top: 22px
      }

      .page-interior .about-hero-stats strong {
        font-size: 1.75rem
      }

      .page-interior .about-hero-stats span {
        font-size: .6rem;
        letter-spacing: .12em;
        line-height: 1.35;
        display: block
      }
    }

    /* ---------- 640px ---------- */

    @media (max-width:640px) {

      .page-interior .section-title {
        font-size: clamp(1.8rem, 6.4vw, 2.2rem);
        margin: 14px 0 18px
      }

      .page-interior .article-hero h1 {
        font-size: clamp(2rem, 7vw, 2.7rem)
      }

      .page-interior .article-hero {
        min-height: 430px
      }

      .page-interior .article-hero-content {
        padding: 130px 0 60px
      }

      .page-interior .about-hero-lead,
      .page-interior .services-hero-lead,
      .page-interior .student-hero-lead,
      .page-interior .contact-hero-lead {
        font-size: 1rem
      }

      .page-interior .lead {
        font-size: 1.04rem
      }

      .page-interior .tuition-price {
        font-size: 3rem
      }

      .page-interior .tier-price {
        font-size: 2.8rem
      }

      .page-interior .recital-card h3 {
        font-size: 1.55rem
      }

      .page-interior .contact-form-head h3 {
        font-size: 1.45rem
      }

      .page-interior .map-aside address {
        font-size: 1.3rem
      }
    }

    /* ---------- 576px ---------- */

    @media (max-width:576px) {

      .page-interior .wrap {
        width: min(1160px, calc(100% - 44px))
      }

      .page-interior > section {
        padding: 44px 0
      }

      .page-interior .contact-method strong {
        font-size: 1.14rem
      }

      .page-interior .includes-list li {
        padding-left: 34px
      }

      .page-interior .includes-list strong {
        font-size: 1.05rem
      }

      .page-interior .about-figure-badge {
        right: -4px;
        bottom: 16px;
        width: 88px;
        height: 88px;
        font-size: 1rem
      }

      .page-interior .instructor-plate {
        left: 12px;
        right: 12px;
        padding: 15px 16px
      }

      .page-interior .instructor-plate strong {
        font-size: 1.15rem
      }

      .page-interior .contact-details > div {
        grid-template-columns: 1fr;
        gap: 4px
      }

      .page-interior .contact-details dt {
        padding-top: 0
      }

      .page-interior .map-facts > div {
        display: grid;
        gap: 4px
      }

      .page-interior .map-facts dd {
        text-align: left
      }
    }

    /* ---------- 480px ---------- */

    @media (max-width:480px) {

      .page-interior .section-title {
        font-size: clamp(1.62rem, 7.4vw, 2rem)
      }

      .page-interior .article-hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.35rem)
      }

      .page-interior .eyebrow {
        font-size: .66rem;
        letter-spacing: .15em;
        gap: 9px
      }

      .page-interior .eyebrow:before {
        width: 24px
      }

      .page-interior .btn {
        padding: 12px 20px;
        font-size: .74rem
      }

      .page-interior .cta-buttons .btn,
      .page-interior .access-intro .btn,
      .page-interior .map-aside .btn,
      .page-interior .tuition-card .btn {
        width: 100%
      }

      .page-interior .cta-keys {
        height: 26px;
        margin-bottom: 20px
      }

      .page-interior .cta-keys i {
        width: 13px;
        height: 26px
      }

      .page-interior .cta-keys i.black {
        width: 8px;
        height: 16px;
        margin: 0 -4px
      }

      .page-interior .tuition-price {
        font-size: 2.7rem
      }

      .page-interior .tier-price {
        font-size: 2.5rem
      }

      .page-interior .recital-card h3 {
        font-size: 1.42rem
      }

      /* Three columns cannot hold "and adult learners" on a phone, so the
         stats become rows: figure left, label beside it. */
      .page-interior .about-hero-stats {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 28px;
        padding-top: 8px
      }

      .page-interior .about-hero-stats li {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 11px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .14)
      }

      .page-interior .about-hero-stats strong {
        flex: 0 0 auto;
        min-width: 88px;
        font-size: 1.55rem
      }

      .page-interior .about-hero-stats span {
        font-size: .64rem;
        letter-spacing: .14em
      }

      .page-interior .feature-list li {
        grid-template-columns: 30px 1fr;
        gap: 10px
      }

      .page-interior .step {
        grid-template-columns: 34px 1fr;
        gap: 14px
      }
    }

    /* ---------- 390px ---------- */

    @media (max-width:390px) {

      .page-interior .wrap {
        width: min(1160px, calc(100% - 40px))
      }

      .page-interior > section {
        padding: 38px 0
      }

      .page-interior .section-title {
        font-size: 1.58rem
      }

      .page-interior .article-hero h1 {
        font-size: 1.95rem
      }

      .page-interior .contact-form,
      .page-interior .info-card,
      .page-interior .tier,
      .page-interior .recital-card,
      .page-interior .tuition-card,
      .page-interior .map-aside {
        padding: 26px 18px
      }

      .page-interior .contact-form:before {
        left: 18px;
        right: 18px
      }

      .page-interior .access-panel {
        padding: 30px 18px
      }

      .page-interior .cta-panel {
        padding: 34px 18px 30px
      }

      .page-interior .about-figure-badge {
        width: 76px;
        height: 76px;
        font-size: .9rem
      }

      .page-interior .about-figure-badge em {
        font-size: .58rem
      }

      .page-interior .about-figure img {
        border-radius: 140px 140px 12px 12px
      }

      .page-interior .about-figure:before {
        border-radius: 150px 150px 16px 16px
      }

      .page-interior .map-embed {
        height: 250px
      }
    }

    /* ---------- 320px ---------- */

    @media (max-width:320px) {

      .page-interior .wrap {
        width: min(1160px, calc(100% - 32px))
      }

      .page-interior .section-title {
        font-size: 1.44rem
      }

      .page-interior .article-hero h1 {
        font-size: 1.78rem
      }

      .page-interior .article-hero {
        min-height: 400px
      }

      .page-interior .about-hero-stats strong {
        min-width: 72px;
        font-size: 1.4rem
      }

      .page-interior .jump-bar strong {
        font-size: .98rem
      }

      .page-interior .jump-bar em {
        font-size: .68rem
      }

      .page-interior .contact-method strong {
        font-size: .98rem
      }

      .page-interior .map-aside address {
        font-size: 1.14rem
      }

      .page-interior .tuition-price {
        font-size: 2.3rem
      }

      .page-interior .tier-price {
        font-size: 2.2rem
      }

      .page-interior .btn {
        padding: 11px 16px;
        font-size: .7rem
      }

      .page-interior .crumbs {
        font-size: .66rem
      }
    }

    /* ---------------------------------------------------------------
       Header overflow on very narrow phones

       .nav is position:absolute until the scroll handler adds .scrolled,
       which switches it to position:fixed. Absolute sizes it against the
       document (where html{overflow-x:hidden} was quietly masking the
       overflow); fixed sizes it against the viewport, so the bar's
       contents suddenly stuck out past the right edge.

       The cause is flex defaults: .brand and .nav-inner have
       min-width:auto, so the brand wordmark refused to shrink. Letting
       them shrink — and truncating the wordmark as a last resort — keeps
       the bar inside the viewport in both positioning modes.

       No overflow:hidden on .nav itself: the mobile menu is an absolutely
       positioned panel hanging below it and would be clipped away.
       --------------------------------------------------------------- */

    .nav-inner {
      min-width: 0;
      gap: 14px
    }

    /* 0 1 auto, not 1 1 auto: the wordmark must be allowed to shrink but must
       not grow, or it would push .nav-links off centre on desktop. No overflow
       here either — it would clip the logo's hover lift. */
    .brand {
      flex: 0 1 auto;
      min-width: 0
    }

    .brand > span {
      min-width: 0;
      overflow: hidden
    }

    .brand strong {
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis
    }

    .brand-logo {
      flex: 0 0 auto
    }

    /* The button's label is the ☰ character, and the theme sets `font: inherit`
       on buttons — so it inherits Georgia, which has no glyph for it. Draw the
       three bars instead: it renders identically everywhere and is crisper. */

    .menu {
      position: relative;
      z-index: 2;
      flex: 0 0 auto;
      width: 44px;
      height: 44px;
      padding: 0;
      font-size: 0;
      line-height: 0;
      color: transparent;
      cursor: pointer
    }

    .menu:before,
    .menu:after {
      content: "";
      position: absolute;
      left: 11px;
      right: 11px;
      height: 2px;
      background: #fff
    }

    /* Three evenly spaced bars at y = 14, 21 and 28 in a 44px button. */
    .menu:before {
      top: 14px;
      box-shadow: 0 7px 0 #fff
    }

    .menu:after {
      bottom: 14px
    }

    /* Don't rely on space-between with a hidden middle child — state the
       layout outright so the button can never be pushed past the edge. */

    @media (max-width:850px) {
      .nav-inner {
        justify-content: flex-start;
        flex-wrap: nowrap
      }

      .brand {
        margin-right: auto
      }

      .menu {
        display: block
      }
    }

    @media (max-width:480px) {
      .brand-logo {
        width: 44px;
        height: 44px
      }

      .brand strong {
        font-size: .95rem;
        letter-spacing: .05em
      }
    }

    @media (max-width:360px) {
      .brand {
        gap: 9px
      }

      .brand-logo {
        width: 38px;
        height: 38px
      }

      .brand strong {
        font-size: .86rem;
        letter-spacing: .03em
      }

      .nav-inner {
        height: 76px
      }

      .nav.scrolled .nav-inner {
        height: 62px
      }
    }

    /* The bar is laid out with padding rather than .wrap's calc() width, so the
       gutters belong to the element itself and no child can eat into them, and
       it is clamped to the viewport in case anything on the page is wider. */

    @media (max-width:850px) {

      .nav,
      .topline {
        max-width: 100vw
      }

      .nav .nav-inner {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px
      }

      .topline .wrap {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px
      }

      /* Bars inset less so their right edge lines up with the 20px gutter
         instead of sitting 11px further in. */
      .menu:before,
      .menu:after {
        left: 8px;
        right: 0
      }
    }

    /* Safety net: nothing on an interior page may widen the document.
       `clip` rather than `hidden` — it does not create a scroll container, so
       the sticky tuition card on the Services page keeps working. */

    .page-interior {
      overflow-x: clip
    }

    /* The Contact page form's status line sits under the footer rule, so it
       needs its own spacing rather than the inline one the home form uses. */

    .contact-form .form-message {
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px dashed var(--line)
    }

    .contact-form .ap-error {
      display: none;
      margin-top: 6px;
      font-size: .78rem;
      color: var(--rose)
    }

    .contact-form .ap-field.has-error .ap-error {
      display: block
    }

    .contact-form .ap-field.has-error input,
    .contact-form .ap-field.has-error textarea {
      border-color: var(--rose);
      box-shadow: 0 0 0 3px rgba(191, 75, 24, .12)
    }


    /* ===============================================================
       ABRSM · Activities · Calendar · Testimonials · Gallery

       All five carry .page-interior, so the shared responsive layer
       already governs section rhythm, heading scale and gutters. What
       follows is only what each page adds on top of the theme's own
       components (.card, .step, .info-card, .tick-list, .cta, .btn).
       =============================================================== */

    .abrsm-page .abrsm-hero,
    .activities-page .activities-hero,
    .calendar-page .calendar-hero,
    .testimonials-page .testimonials-hero,
    .gallery-page .gallery-hero {
      padding: 0
    }

    .abrsm-hero,
    .activities-hero,
    .calendar-hero,
    .testimonials-hero,
    .gallery-hero {
      min-height: 560px
    }

    .abrsm-hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1481886756534-97af88ccb438?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .activities-hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1466428996289-fb355538da1b?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .calendar-hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .testimonials-hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1552422535-c45813c61732?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .gallery-hero {
      background: linear-gradient(90deg, rgba(12, 17, 20, .93) 0%, rgba(24, 31, 34, .78) 46%, rgba(18, 25, 29, .38) 82%), var(--hero-image, url('https://images.unsplash.com/photo-1507838153414-b4b713384a76?auto=format&fit=crop&w=2000&q=88')) center/cover
    }

    .abrsm-hero-eyebrow,
    .activities-hero-eyebrow,
    .calendar-hero-eyebrow,
    .testimonials-hero-eyebrow,
    .gallery-hero-eyebrow {
      color: #f0cdb0;
      margin-bottom: 20px
    }

    .abrsm-hero-lead,
    .activities-hero-lead,
    .calendar-hero-lead,
    .testimonials-hero-lead,
    .gallery-hero-lead {
      max-width: 640px;
      margin: 0;
      font-size: 1.12rem;
      color: #e6ece7
    }

    /* ---------------------------------------------------------------
       Shared: the filter bar, and the dark band used to point off-page
       --------------------------------------------------------------- */

    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 34px
    }

    .filter-bar .filter {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 10px 18px;
      border: 1px solid var(--line);
      border-radius: 99px;
      background: rgba(255, 255, 255, .55);
      color: var(--sage-deep);
      font-size: .72rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      cursor: pointer;
      transition: .25s
    }

    .filter-bar .filter:hover {
      border-color: var(--sage-deep)
    }

    .filter-bar .filter.active {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--paper)
    }

    .filter-bar .dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--sage)
    }

    .filter-bar .dot.is-all {
      background: var(--mist)
    }

    .filter-bar .dot.is-lesson {
      background: var(--sage-deep)
    }

    .filter-bar .dot.is-makeup {
      background: var(--blush)
    }

    .filter-bar .dot.is-performance {
      background: var(--rose)
    }

    .filter-bar .dot.is-holiday {
      background: var(--mist)
    }

    [data-filter-scope] .hidden {
      display: none !important
    }

    .resource-band {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
      padding: 44px 46px;
      border-radius: 18px;
      background:
        radial-gradient(ellipse at 8% 0%, rgba(255, 138, 52, .14) 0%, transparent 60%),
        var(--ink);
      color: #f7f4ec;
      box-shadow: var(--shadow)
    }

    .resource-band .method-label {
      color: #ffad73
    }

    .resource-band h2 {
      margin: 12px 0 8px;
      font-size: clamp(1.5rem, 2.6vw, 2.1rem);
      font-weight: normal;
      letter-spacing: -.02em
    }

    .resource-band h2 em {
      color: #ffad73;
      font-style: italic
    }

    .resource-band p {
      margin: 0;
      max-width: 560px;
      font-size: .94rem;
      color: #c3cec5
    }

    .resource-band .btn {
      flex: 0 0 auto;
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink);
      white-space: nowrap
    }

    .resource-band .btn:hover {
      background: #fff;
      border-color: #fff
    }

    /* ---------------------------------------------------------------
       ABRSM Program
       --------------------------------------------------------------- */

    .abrsm-page .page-index {
      padding: 42px 0;
      background: var(--paper)
    }

    .abrsm-overview {
      background: var(--cream)
    }

    .abrsm-overview-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 60px;
      align-items: start
    }

    .abrsm-facts {
      padding: 38px 34px 32px;
      border-radius: 16px;
      background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 52, .13) 0%, transparent 64%),
        var(--ink);
      color: #f7f4ec;
      box-shadow: var(--shadow)
    }

    .abrsm-facts .label {
      font-size: .66rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #ffad73
    }

    .abrsm-facts dl {
      margin: 20px 0 0;
      padding-top: 4px;
      border-top: 1px solid rgba(255, 255, 255, .14)
    }

    .abrsm-facts > dl > div {
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .09)
    }

    .abrsm-facts dt {
      font-size: .64rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #93a198
    }

    .abrsm-facts dd {
      margin: 5px 0 0;
      font-size: 1.02rem
    }

    .abrsm-facts-note {
      margin: 22px 0 0;
      font-size: .82rem;
      line-height: 1.5;
      color: #9daba2
    }

    .abrsm-ladder {
      background: #e8efe9
    }

    .ladder-head {
      margin-bottom: 34px
    }

    .ladder-head .section-title {
      margin-bottom: 0
    }

    .ladder {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 1px;
      list-style: none;
      margin: 0;
      padding: 0;
      background: var(--line);
      border: 1px solid var(--line)
    }

    .ladder li {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 28px 24px;
      background: rgba(255, 253, 248, .86);
      transition: background .3s
    }

    .ladder li:hover {
      background: #fff
    }

    .ladder li.is-crest {
      background: var(--ink);
      color: #f7f4ec
    }

    .ladder .rung {
      display: inline-block;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--gold);
      align-self: flex-start;
      font-size: 1.16rem;
      letter-spacing: -.01em
    }

    .ladder p {
      margin: 0;
      font-size: .88rem;
      color: var(--body)
    }

    .ladder li.is-crest p {
      color: #b7c3bb
    }

    .abrsm-content {
      background: var(--paper)
    }

    .abrsm-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px
    }

    .abrsm-grid .info-card {
      position: relative;
      padding-top: 36px
    }

    .card-num {
      position: absolute;
      top: 20px;
      right: 26px;
      font-style: italic;
      font-size: 1.5rem;
      color: rgba(191, 75, 24, .3)
    }

    .abrsm-grid .tick-list {
      margin-top: 18px;
      padding-top: 14px;
      border-top: 1px solid var(--line)
    }

    .abrsm-commitment {
      background: var(--cream)
    }

    .abrsm-resource {
      background: var(--paper)
    }

    /* ---------------------------------------------------------------
       Activities &amp; Events
       --------------------------------------------------------------- */

    .activities-intro {
      background: var(--paper)
    }

    .activities-intro-grid {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 60px;
      align-items: start
    }

    .activities-intro-grid .section-title {
      margin-top: 14px
    }

    .activities-list {
      background: var(--cream)
    }

    .activity-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px
    }

    .activity-card {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 34px 30px 30px;
      border: 1px solid var(--line);
      border-top: 2px solid var(--gold);
      border-radius: 4px 4px 14px 14px;
      background: rgba(255, 253, 248, .86);
      transition: transform .35s, box-shadow .35s, background .35s
    }

    .activity-card:hover {
      transform: translateY(-4px);
      background: #fff;
      box-shadow: 0 20px 50px rgba(73, 97, 83, .12)
    }

    .activity-num {
      font-style: italic;
      color: var(--rose);
      font-size: .95rem
    }

    .activity-card h3 {
      margin: 12px 0 10px;
      font-size: 1.32rem;
      font-weight: normal;
      letter-spacing: -.01em
    }

    .activity-card p {
      margin: 0 0 22px;
      font-size: .92rem;
      color: var(--body)
    }

    .activity-tag {
      margin-top: auto;
      align-self: flex-start;
      padding: 7px 14px;
      border: 1px solid var(--line);
      border-radius: 99px;
      background: rgba(243, 238, 230, .7);
      font-size: .64rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--sage-deep)
    }

    .recognition {
      background: var(--ink);
      color: #f7f4ec
    }

    .recognition-head {
      max-width: 720px;
      margin-bottom: 40px
    }

    .recognition-head .eyebrow {
      color: #dcc6b5
    }

    .recognition-head .section-title {
      margin: 14px 0 14px
    }

    .recognition-head .section-title em {
      color: #ffad73
    }

    .recognition-head p {
      margin: 0;
      color: #c3cec5
    }

    .recognition-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px
    }

    .recognition-card {
      padding: 34px 30px;
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 16px;
      background: rgba(255, 255, 255, .04);
      transition: background .3s, border-color .3s
    }

    .recognition-card:hover {
      background: rgba(255, 255, 255, .07);
      border-color: rgba(255, 173, 115, .4)
    }

    .recognition-mark {
      display: grid;
      place-items: center;
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255, 173, 115, .5);
      border-radius: 50%;
      color: var(--gold);
      font-size: 1.05rem
    }

    .recognition-card h3 {
      margin: 20px 0 10px;
      font-size: 1.24rem;
      font-weight: normal
    }

    .recognition-card p {
      margin: 0;
      font-size: .9rem;
      color: #b7c3bb
    }

    .activities-note {
      background: var(--cream)
    }

    /* ---------------------------------------------------------------
       Calendar of Events
       --------------------------------------------------------------- */

    .calendar-year {
      background: var(--paper)
    }

    .calendar-months {
      display: grid;
      gap: 34px
    }

    .cal-month-head {
      display: flex;
      align-items: baseline;
      gap: 12px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line)
    }

    .cal-month-head h3 {
      margin: 0;
      font-size: 1.7rem;
      font-weight: normal;
      letter-spacing: -.02em
    }

    .cal-month-head h3 span {
      font-size: .7rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: #8b978f;
      vertical-align: middle;
      margin-left: 6px
    }

    .cal-events {
      list-style: none;
      margin: 0;
      padding: 0
    }

    .cal-event {
      position: relative;
      display: grid;
      grid-template-columns: 150px 1fr 200px;
      gap: 24px;
      align-items: baseline;
      padding: 18px 0 18px 18px;
      border-bottom: 1px solid var(--line);
      transition: background .25s
    }

    .cal-event:hover {
      background: rgba(243, 238, 230, .5)
    }

    /* A colour spine keyed to the filter dots, so kinds read at a glance. */
    .cal-event:before {
      content: "";
      position: absolute;
      left: 0;
      top: 18px;
      bottom: 18px;
      width: 3px;
      border-radius: 3px;
      background: var(--sage)
    }

    .cal-event[data-kind="lesson"]:before {
      background: var(--sage-deep)
    }

    .cal-event[data-kind="makeup"]:before {
      background: var(--blush)
    }

    .cal-event[data-kind="performance"]:before {
      background: var(--rose)
    }

    .cal-event[data-kind="holiday"]:before {
      background: var(--mist)
    }

    .cal-date {
      font-size: 1.02rem;
      letter-spacing: -.01em
    }

    .cal-date small {
      display: block;
      margin-top: 3px;
      font-size: .66rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #8b978f
    }

    .cal-name {
      font-size: 1.1rem
    }

    .cal-tag {
      display: inline-block;
      margin-left: 10px;
      padding: 4px 11px;
      border: 1px solid var(--line);
      border-radius: 99px;
      background: rgba(255, 255, 255, .6);
      font-style: normal;
      font-size: .62rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      color: var(--sage-deep);
      vertical-align: middle
    }

    .cal-time {
      text-align: right;
      font-size: .86rem;
      color: #67746d
    }

    .calendar-footnote {
      margin: 34px 0 0;
      padding: 14px 18px;
      border-left: 2px solid var(--gold);
      background: rgba(243, 238, 230, .6);
      font-size: .88rem;
      color: var(--body)
    }

    .summer-program {
      background: #e8efe9
    }

    .summer-panel {
      display: grid;
      grid-template-columns: .84fr 1.16fr;
      gap: 60px;
      padding: 50px 48px;
      border-radius: 20px;
      background:
        radial-gradient(ellipse at 10% 0%, rgba(255, 138, 52, .14) 0%, transparent 62%),
        var(--ink);
      color: #f7f4ec;
      box-shadow: var(--shadow)
    }

    .summer-intro .eyebrow {
      color: #dcc6b5
    }

    .summer-intro .section-title {
      margin: 14px 0 14px
    }

    .summer-intro .section-title em {
      color: #ffad73
    }

    .summer-intro p {
      margin: 0 0 26px;
      color: #c3cec5;
      font-size: .96rem
    }

    .summer-intro .btn {
      background: var(--gold);
      border-color: var(--gold);
      color: var(--ink)
    }

    .summer-intro .btn:hover {
      background: #fff;
      border-color: #fff
    }

    .summer-list {
      display: grid;
      gap: 26px;
      align-content: start;
      list-style: none;
      margin: 0;
      padding: 0
    }

    .summer-list li {
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, .2)
    }

    .summer-num {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 50%;
      font-style: italic;
      font-size: .82rem;
      color: #ffad73
    }

    .summer-list h3 {
      margin: 16px 0 8px;
      font-size: 1.2rem;
      font-weight: normal
    }

    .summer-list p {
      margin: 0;
      font-size: .9rem;
      color: #b7c3bb
    }

    /* ---------------------------------------------------------------
       Testimonials
       --------------------------------------------------------------- */

    .featured-quote {
      position: relative;
      overflow: hidden;
      padding: 96px 0;
      background: var(--ink);
      color: #f7f4ec;
      text-align: center
    }

    .featured-quote .quote-mark {
      display: block;
      font-size: 6rem;
      line-height: .6;
      color: var(--gold);
      opacity: .5
    }

    .featured-quote blockquote {
      max-width: 900px;
      margin: 34px auto 0;
      font-size: clamp(1.6rem, 3.4vw, 2.8rem);
      line-height: 1.3
    }

    .featured-quote cite {
      display: block;
      margin-top: 30px;
      font-style: normal
    }

    .featured-quote cite strong {
      display: block;
      font-weight: normal;
      font-size: 1.02rem
    }

    .featured-quote cite span {
      display: block;
      margin-top: 6px;
      font-size: .66rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #93a198
    }

    .testimonial-wall {
      background: var(--cream)
    }

    /* Two columns, not three: with real copy in them, three-across cards were
       narrow enough that every quote broke into ragged five-word lines. Two of
       the six take the ink treatment so the wall has a rhythm. */

    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px
    }

    .testimonial-card {
      position: relative;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 38px 36px 32px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 253, 248, .9);
      transition: transform .4s, box-shadow .4s, background .4s
    }

    /* A gold hairline that draws itself across the top edge on hover. */
    .testimonial-card:before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--gold), var(--blush));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform .5s
    }

    .testimonial-card:hover {
      transform: translateY(-5px);
      background: #fff;
      box-shadow: 0 24px 60px rgba(73, 97, 83, .13)
    }

    .testimonial-card:hover:before {
      transform: none
    }

    .testimonial-card.is-dark {
      background: var(--ink);
      border-color: var(--ink);
      color: #f7f4ec
    }

    .testimonial-card.is-dark:hover {
      background: #161f24
    }

    .testimonial-quote-mark {
      position: absolute;
      top: 6px;
      right: 22px;
      font-size: 7rem;
      line-height: 1;
      color: rgba(191, 75, 24, .09);
      pointer-events: none
    }

    .testimonial-card.is-dark .testimonial-quote-mark {
      color: rgba(255, 173, 115, .16)
    }

    .testimonial-kind {
      position: relative;
      align-self: flex-start;
      font-size: .64rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--rose)
    }

    .testimonial-card.is-dark .testimonial-kind {
      color: #ffad73
    }

    .testimonial-card blockquote {
      position: relative;
      margin: 18px 0 26px;
      font-size: 1.14rem;
      line-height: 1.68;
      color: #45514a
    }

    .testimonial-card.is-dark blockquote {
      color: #dfe6e0
    }

    .testimonial-card blockquote:before {
      content: "\201C"
    }

    .testimonial-card blockquote:after {
      content: "\201D"
    }

    .testimonial-card footer {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: auto;
      padding-top: 20px;
      border-top: 1px solid var(--line)
    }

    .testimonial-card.is-dark footer {
      border-color: rgba(255, 255, 255, .14)
    }

    .testimonial-mono {
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 50%;
      background: var(--blush);
      color: var(--ink);
      font-size: 1.02rem;
      letter-spacing: .02em
    }

    .testimonial-card.is-dark .testimonial-mono {
      border-color: rgba(255, 173, 115, .5);
      background: transparent;
      color: var(--gold)
    }

    .testimonial-who {
      min-width: 0
    }

    .testimonial-who strong {
      display: block;
      font-weight: normal;
      font-size: 1rem;
      letter-spacing: -.01em
    }

    .testimonial-who > span {
      display: block;
      margin-top: 3px;
      font-size: .66rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #8b978f
    }

    .testimonial-card.is-dark .testimonial-who > span {
      color: #93a198
    }


    .achievements {
      background: var(--paper)
    }

    .achievements-head {
      max-width: 720px;
      margin-bottom: 38px
    }

    .achievements-head .section-title {
      margin: 14px 0 14px
    }

    .achievements-head p {
      margin: 0;
      color: var(--body)
    }

    .achievement-list {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      list-style: none;
      margin: 0;
      padding: 0;
      background: var(--line);
      border: 1px solid var(--line)
    }

    .achievement-list li {
      padding: 30px 26px;
      background: var(--paper);
      transition: background .3s
    }

    .achievement-list li:hover {
      background: #fff
    }

    .achievement-list strong {
      display: inline-block;
      padding-top: 14px;
      border-top: 2px solid var(--gold);
      font-weight: normal;
      font-size: 1.14rem;
      letter-spacing: -.01em
    }

    .achievement-list p {
      margin: 10px 0 0;
      font-size: .9rem;
      color: var(--body)
    }

    /* ---------------------------------------------------------------
       Gallery
       --------------------------------------------------------------- */

    .gallery {
      background: var(--cream)
    }

    /* Every tile the same size. The earlier wide/tall masonry made the grid
       look accidental once the photographs varied, and left odd gaps whenever
       the category filter removed a tile. */

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px
    }

    .gallery-tile {
      position: relative;
      margin: 0;
      overflow: hidden;
      border-radius: 14px;
      background: #dfe4e0;
      box-shadow: 0 15px 45px rgba(73, 97, 83, .08)
    }

    .gallery-link {
      display: block;
      position: relative;
      aspect-ratio: 4/3;
      overflow: hidden;
      cursor: zoom-in
    }

    .gallery-tile img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(.74) sepia(.06);
      transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s
    }

    .gallery-tile:hover img {
      transform: scale(1.06);
      filter: saturate(.95) sepia(0)
    }

    .gallery-tile:after {
      content: "";
      position: absolute;
      inset: auto 0 0;
      height: 62%;
      background: linear-gradient(transparent, rgba(12, 17, 20, .82));
      pointer-events: none;
      transition: opacity .4s;
      opacity: .85
    }

    .gallery-tile:hover:after {
      opacity: 1
    }

    /* The magnifier that appears over a tile on hover. */
    .gallery-zoom {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 2;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255, 250, 243, .92);
      opacity: 0;
      transform: scale(.85);
      transition: .35s
    }

    .gallery-zoom:before,
    .gallery-zoom:after {
      content: "";
      position: absolute;
      background: var(--ink)
    }

    .gallery-zoom:before {
      width: 13px;
      height: 1.5px
    }

    .gallery-zoom:after {
      width: 1.5px;
      height: 13px
    }

    .gallery-tile:hover .gallery-zoom,
    .gallery-link:focus-visible .gallery-zoom {
      opacity: 1;
      transform: none
    }

    .gallery-tile figcaption {
      position: absolute;
      left: 22px;
      right: 22px;
      bottom: 20px;
      z-index: 2;
      color: #f7f4ec;
      pointer-events: none;
      transform: translateY(6px);
      transition: transform .4s
    }

    .gallery-tile:hover figcaption {
      transform: none
    }

    .gallery-tile figcaption strong {
      display: block;
      font-weight: normal;
      font-size: 1.18rem;
      letter-spacing: -.01em
    }

    .gallery-tile figcaption span {
      display: block;
      margin-top: 4px;
      font-size: .68rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #c9d3cb
    }

    .gallery-tag {
      position: absolute;
      top: 16px;
      left: 16px;
      z-index: 2;
      pointer-events: none;
      padding: 6px 13px;
      border-radius: 99px;
      background: rgba(255, 250, 243, .92);
      color: var(--ink);
      font-style: normal;
      font-size: .6rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      opacity: 0;
      transform: translateY(-6px);
      transition: .35s
    }

    .gallery-tile:hover .gallery-tag {
      opacity: 1;
      transform: none
    }

    /* ---------- Lightbox ---------- */

    body.lightbox-open {
      overflow: hidden
    }

    /* The browser's own `[hidden] { display: none }` loses to any class rule
       that sets display, so `.lightbox { display: grid }` was overriding the
       hidden attribute and the overlay opened on every page load. */
    .lightbox[hidden] {
      display: none
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 10001;
      display: grid;
      place-items: center;
      padding: 5vh 6vw;
      background: rgba(8, 11, 13, .93);
      backdrop-filter: blur(6px);
      animation: lightboxIn .35s ease both
    }

    @keyframes lightboxIn {
      from {
        opacity: 0
      }

      to {
        opacity: 1
      }
    }

    .lightbox-figure {
      position: relative;
      margin: 0;
      max-width: 100%;
      max-height: 90vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 18px
    }

    .lightbox-figure img {
      display: block;
      max-width: 100%;
      max-height: 76vh;
      object-fit: contain;
      border-radius: 10px;
      box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
      transition: opacity .3s
    }

    .lightbox.is-loading .lightbox-figure img {
      opacity: .25
    }

    .lightbox figcaption {
      text-align: center;
      color: #f7f4ec
    }

    .lightbox figcaption strong {
      display: block;
      font-weight: normal;
      font-size: 1.28rem;
      letter-spacing: -.01em
    }

    .lightbox figcaption span {
      display: block;
      margin-top: 5px;
      font-size: .7rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      color: #9daba2
    }

    .lightbox figcaption em {
      display: block;
      margin-top: 12px;
      font-style: normal;
      font-size: .68rem;
      letter-spacing: .2em;
      color: var(--gold)
    }

    .lightbox-close,
    .lightbox-nav {
      position: absolute;
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .25);
      border-radius: 50%;
      background: rgba(255, 255, 255, .06);
      cursor: pointer;
      transition: .25s
    }

    .lightbox-close:hover,
    .lightbox-nav:hover {
      background: var(--gold);
      border-color: var(--gold)
    }

    .lightbox-close {
      top: 4vh;
      right: 4vw
    }

    .lightbox-close:before,
    .lightbox-close:after {
      content: "";
      position: absolute;
      width: 18px;
      height: 1.5px;
      background: #fff
    }

    .lightbox-close:before {
      transform: rotate(45deg)
    }

    .lightbox-close:after {
      transform: rotate(-45deg)
    }

    .lightbox-close:hover:before,
    .lightbox-close:hover:after,
    .lightbox-nav:hover:before {
      background: var(--ink)
    }

    .lightbox-nav {
      top: 50%;
      margin-top: -26px
    }

    .lightbox-nav:before {
      content: "";
      width: 12px;
      height: 12px;
      border-top: 1.5px solid #fff;
      border-right: 1.5px solid #fff;
      transition: border-color .25s
    }

    .lightbox-nav:hover:before {
      border-color: var(--ink);
      background: transparent
    }

    .lightbox-nav.is-prev {
      left: 3vw
    }

    .lightbox-nav.is-prev:before {
      transform: rotate(-135deg);
      margin-left: 4px
    }

    .lightbox-nav.is-next {
      right: 3vw
    }

    .lightbox-nav.is-next:before {
      transform: rotate(45deg);
      margin-right: 4px
    }

    .lightbox.is-single .lightbox-nav {
      display: none
    }

    @media (prefers-reduced-motion:reduce) {
      .lightbox {
        animation: none
      }
    }

    .gallery-note {
      margin: 30px 0 0;
      padding: 14px 18px;
      border-left: 2px solid var(--gold);
      background: rgba(255, 255, 255, .55);
      font-size: .86rem;
      color: var(--body)
    }

    /* ---------------------------------------------------------------
       Responsive
       --------------------------------------------------------------- */

    @media (max-width:1100px) {

      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel {
        grid-template-columns: 1fr;
        gap: 44px
      }

      .abrsm-facts {
        max-width: 480px
      }

      .ladder {
        grid-template-columns: repeat(2, 1fr)
      }

      .activity-grid,
      .recognition-grid,
      .testimonial-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .achievement-list {
        grid-template-columns: repeat(2, 1fr)
      }

      .summer-panel {
        padding: 44px 40px
      }

    }

    @media (max-width:850px) {

      .abrsm-hero,
      .activities-hero,
      .calendar-hero,
      .testimonials-hero,
      .gallery-hero {
        min-height: 500px
      }

      .abrsm-grid {
        grid-template-columns: 1fr
      }

      .resource-band {
        display: block;
        padding: 36px 32px
      }

      .resource-band .btn {
        margin-top: 26px;
        width: 100%
      }

      .featured-quote {
        padding: 74px 0
      }

      /* Month rows drop the right-hand time column and stack it under the
         name, so nothing is squeezed on a tablet. */
      .cal-event {
        grid-template-columns: 130px 1fr;
        gap: 6px 18px
      }

      .cal-time {
        grid-column: 2;
        text-align: left
      }

      .gallery-tile .gallery-tag,
      .gallery-tile figcaption {
        opacity: 1;
        transform: none
      }
    }

    @media (max-width:768px) {

      .ladder,
      .activity-grid,
      .recognition-grid,
      .testimonial-grid,
      .achievement-list {
        grid-template-columns: 1fr
      }

      .activity-card:hover,
      .testimonial-card:hover {
        transform: none;
        box-shadow: none
      }

      .summer-list {
        gap: 0
      }

      .summer-list li {
        padding: 20px 0
      }

      .filter-bar {
        gap: 8px;
        margin-bottom: 28px
      }

      .filter-bar .filter {
        padding: 9px 14px;
        font-size: .68rem
      }
    }

    @media (max-width:640px) {

      .abrsm-hero,
      .activities-hero,
      .calendar-hero,
      .testimonials-hero,
      .gallery-hero {
        min-height: 430px
      }

      .cal-month-head h3 {
        font-size: 1.42rem
      }

      .cal-event {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-left: 16px
      }

      .cal-date {
        font-size: .92rem
      }

      .cal-date small {
        display: inline;
        margin-left: 8px
      }

      .cal-name {
        font-size: 1.04rem
      }

      .cal-tag {
        margin: 6px 0 0;
        display: block;
        width: fit-content
      }

      .cal-time {
        grid-column: 1
      }

    }

    @media (max-width:480px) {

      .abrsm-facts,
      .activity-card,
      .recognition-card,
      .testimonial-card {
        padding: 26px 22px
      }

      .ladder li {
        padding: 22px 20px
      }

      .summer-panel {
        padding: 32px 22px
      }

      .resource-band {
        padding: 30px 22px
      }

      .achievement-list li {
        padding: 24px 20px
      }

      .featured-quote .quote-mark {
        font-size: 4.4rem
      }

      .gallery-tile figcaption {
        left: 16px;
        right: 16px;
        bottom: 16px
      }

      .gallery-tile figcaption strong {
        font-size: 1.06rem
      }
    }

    /* ---------------------------------------------------------------
       Spacing and grids for the five later pages

       These run tighter than the first four — their sections are lists
       and grids rather than long prose, so they do not need the same
       air between them.
       --------------------------------------------------------------- */

    .abrsm-page > section,
    .activities-page > section,
    .calendar-page > section,
    .testimonials-page > section,
    .gallery-page > section {
      padding: 48px 0
    }

    .abrsm-page .abrsm-hero,
    .activities-page .activities-hero,
    .calendar-page .calendar-hero,
    .testimonials-page .testimonials-hero,
    .gallery-page .gallery-hero {
      padding: 0
    }

    /* A section nested inside a section — the calendar's month blocks — is a
       grouping, not a band. Without this it falls through to the theme's
       global `section { padding: 110px 0 }`, which is why the page-level rules
       above are scoped with `>`. */
    .page-interior section section {
      padding: 0
    }

    .abrsm-page .page-index {
      padding: 34px 0
    }

    .abrsm-page .section-head,
    .activities-page .section-head,
    .calendar-page .section-head,
    .testimonials-page .section-head,
    .gallery-page .section-head {
      margin-bottom: 30px
    }

    /* The calendar was the worst of them: ten month blocks each carrying a
       section's worth of padding added up to a very long scroll. */

    .calendar-months {
      gap: 24px
    }

    .cal-month-head {
      padding-bottom: 9px
    }

    .cal-event {
      padding: 14px 0 14px 18px
    }

    .cal-event:before {
      top: 14px;
      bottom: 14px
    }

    .calendar-footnote {
      margin-top: 26px
    }

    .recognition-head,
    .achievements-head,
    .ladder-head {
      margin-bottom: 28px
    }

    .gallery-note {
      margin-top: 24px
    }

    @media (max-width:1100px) {
      .gallery-grid {
        grid-template-columns: repeat(2, 1fr)
      }
    }

    @media (max-width:850px) {

      .abrsm-page > section,
      .activities-page > section,
      .calendar-page > section,
      .testimonials-page > section,
      .gallery-page > section {
        padding: 42px 0
      }

      .testimonial-grid {
        grid-template-columns: 1fr
      }

      .calendar-months {
        gap: 20px
      }
    }

    @media (max-width:640px) {

      .abrsm-page > section,
      .activities-page > section,
      .calendar-page > section,
      .testimonials-page > section,
      .gallery-page > section {
        padding: 36px 0
      }

      .gallery-grid {
        grid-template-columns: 1fr;
        gap: 14px
      }

      .testimonial-card {
        padding: 30px 24px 26px
      }

      .testimonial-card blockquote {
        font-size: 1.06rem;
        margin: 16px 0 22px
      }

      .lightbox {
        padding: 3vh 4vw
      }

      .lightbox-close {
        top: 2vh;
        right: 3vw;
        width: 44px;
        height: 44px
      }

      /* Side arrows would sit on top of the photograph at this width, so they
         move to the bottom corners. */
      .lightbox-nav {
        top: auto;
        bottom: 2vh;
        margin-top: 0;
        width: 44px;
        height: 44px
      }

      .lightbox-nav.is-prev {
        left: 6vw
      }

      .lightbox-nav.is-next {
        right: 6vw
      }

      .lightbox-figure img {
        max-height: 62vh
      }
    }

    @media (max-width:390px) {

      .abrsm-page > section,
      .activities-page > section,
      .calendar-page > section,
      .testimonials-page > section,
      .gallery-page > section {
        padding: 32px 0
      }
    }

    /* The brand name inside the footer credit links home. It sits in a muted
       paragraph, so it takes the brighter footer link colour to read as a link
       without shouting. */

    .footer-inner .footer-brand {
      margin: 0
    }

    .footer-brand {
      color: #d5dfd8;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: color .25s, border-color .25s
    }

    .footer-brand:hover,
    .footer-brand:focus-visible {
      color: var(--gold);
      border-bottom-color: var(--gold)
    }

    /* Footer menu links mirror the header: the current page is gold, with the
       same hover lift, so both navs report the current page the same way. */

    .footer-inner .footer-nav a {
      color: #d5dfd8;
      transition: color .25s
    }

    .footer-inner .footer-nav a:hover,
    .footer-inner .footer-nav a:focus-visible {
      color: var(--gold)
    }

    .footer-inner .footer-nav a.current {
      color: var(--gold)
    }

    /* ---------- Mobile menu, open state ----------
       Three fixes to the panel the .menu button opens:
       1. The button keeps showing the burger while the panel is open, so there
          is no close affordance — the bars cross into an X instead.
       2. The header's sliding underline (.nav-links a:after, bottom:-8px) is
          absolutely positioned for a horizontal bar. Stacked, it floats over the
          row divider, so it is dropped and the colour carries the state.
       3. A long menu on a short viewport had no way to scroll. */

    /* The page is held still while the panel is open — see theme.js. The
       loader's own lock uses the same technique with body.locked. */

    /* html carries overflow-x: hidden, so it — not body — is the element the
       viewport scrolls. Locking body alone left the page free to scroll. */

    html.menu-open,
    body.menu-open {
      overflow: hidden
    }

    .menu:before,
    .menu:after {
      transition: transform .25s, box-shadow .25s
    }

    .menu[aria-expanded="true"]:before,
    .menu[aria-expanded="true"]:after {
      top: 50%;
      bottom: auto;
      margin-top: -1px;
      box-shadow: none
    }

    .menu[aria-expanded="true"]:before {
      transform: rotate(45deg)
    }

    .menu[aria-expanded="true"]:after {
      transform: rotate(-45deg)
    }

    @media (max-width:850px) {
      .nav-links {
        overflow-y: auto;
        overscroll-behavior: contain
      }

      .nav-links a:not(.button):after {
        display: none
      }

      .nav-links a {
        transition: color .25s
      }

      .nav-links a:hover,
      .nav-links a:focus-visible,
      .nav-links a.current {
        color: var(--gold)
      }

      /* The Contact pill is a bordered button in the bar; stacked, it reads as
         one more row, so it takes the same shape as its neighbours. */

      .nav-links .button {
        padding: 12px 0;
        border: 0;
        border-radius: 0
      }
    }

    /* ---------- Home banner, small screens ----------
       .hero-content carries padding: 190px 0 120px, sized to clear the 92px
       desktop bar. The bar is 76px under 850px, so that top padding left a
       growing band of dead space above the eyebrow — most visible at 320-480px,
       where the headline wraps and pushes the banner past the viewport. The
       clearance is scaled to the bar instead. */

    @media (max-width:850px) {
      .hero-content {
        padding-top: 140px
      }
    }

    @media (max-width:560px) {
      .hero {
        min-height: 560px
      }

      .hero-content {
        padding-top: 120px;
        padding-bottom: 70px
      }
    }

    @media (max-width:390px) {
      .hero-content {
        padding-top: 112px;
        padding-bottom: 60px
      }
    }

    /* ---------- "45+ years" badge on the About portrait ----------
       .portrait:before hangs 28px past the image (right: -28px), which reads
       well while the portrait is capped at 500px inside a wider column. Once
       the portrait fills the wrap — under ~560px, where the wrap is only
       20px from each edge — those 28px land outside the viewport and the
       badge is clipped, so it is tucked back against the image instead. */

    @media (max-width:560px) {
      .portrait:before {
        right: 0;
        bottom: 40px
      }
    }

    @media (max-width:390px) {
      .portrait:before {
        width: 112px;
        height: 112px;
        bottom: 32px;
        font-size: .76rem
      }
    }

    /* =========================================================
       Section rhythm
       ---------------------------------------------------------
       The vertical rhythm was set once for desktop and barely scaled down:
       `section` held 110px top and bottom from 561px upwards — so tablets got
       the full desktop gap — and dropped only to 80px below that. Interior
       pages ran their own 62/56/48 scale, and the coloured bands (quote,
       related, newsletter) a third one, so the gap between two sections varied
       by page. The scale below is one rhythm, applied everywhere, trimmed
       about a quarter at desktop and stepping down at each breakpoint.
       ========================================================= */

    section {
      padding: 84px 0
    }

    /* The banner sets its own height through min-height and .hero-content's
       padding; the inherited section padding stacked on top of that. Kept at
       desktop, where the proportions are the approved design, and dropped from
       850px down, where it was adding ~160px of dead height to a banner that
       is already taller than the viewport. */

    .hero {
      padding: 110px 0
    }

    .page-interior > section {
      padding: 52px 0
    }

    .quote {
      padding: 72px 0
    }

    .related {
      padding: 76px 0
    }

    .newsletter {
      padding: 80px 0
    }

    .featured-quote {
      padding: 74px 0
    }

    @media (max-width:1100px) {
      section {
        padding: 76px 0
      }
    }

    @media (max-width:850px) {
      section {
        padding: 64px 0
      }

      .hero {
        padding: 0
      }

      .page-interior > section {
        padding: 46px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 62px 0
      }
    }

    @media (max-width:640px) {
      section {
        padding: 56px 0
      }

      .page-interior > section {
        padding: 40px 0
      }
    }

    @media (max-width:560px) {
      section {
        padding: 50px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 50px 0
      }
    }

    @media (max-width:480px) {
      .page-interior > section {
        padding: 34px 0
      }
    }

    @media (max-width:390px) {
      section {
        padding: 42px 0
      }

      .page-interior > section {
        padding: 30px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 42px 0
      }
    }

    /* ---------- Stacked grids on small screens ----------
       These two-column grids collapse to one column between 850px and 1100px
       and keep the gap they were given there — 42-64px — all the way down to
       320px. Stacked, that gap is no longer the space between two columns but
       the space between a heading and its own paragraph, which is what reads
       as a hole on a phone. It steps down with the viewport instead. */

    @media (max-width:640px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 30px
      }
    }

    @media (max-width:480px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 24px
      }
    }

    @media (max-width:390px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 20px
      }
    }

    /* Once those grids stack, the seam between two cells carries the gap plus
       the trailing margin of the cell above (a .section-title's 25px) plus the
       leading margin of the cell below (the first paragraph's own). Three
       spacings for one seam. The gap alone sets it on small screens. */

    @media (max-width:640px) {
      .intro-grid > * > :first-child,
      .journey-grid > * > :first-child,
      .contact-grid > * > :first-child,
      .policy-grid > * > :first-child,
      .feature-grid > * > :first-child,
      .news-grid > * > :first-child,
      .article-grid > * > :first-child,
      .instructor-grid > * > :first-child,
      .tuition-grid > * > :first-child,
      .resource-grid > * > :first-child,
      .access-panel > * > :first-child,
      .abrsm-overview-grid > * > :first-child,
      .activities-intro-grid > * > :first-child,
      .summer-panel > * > :first-child {
        margin-top: 0
      }

      .intro-grid > * > :last-child,
      .journey-grid > * > :last-child,
      .contact-grid > * > :last-child,
      .policy-grid > * > :last-child,
      .feature-grid > * > :last-child,
      .news-grid > * > :last-child,
      .article-grid > * > :last-child,
      .instructor-grid > * > :last-child,
      .tuition-grid > * > :last-child,
      .resource-grid > * > :last-child,
      .access-panel > * > :last-child,
      .abrsm-overview-grid > * > :last-child,
      .activities-intro-grid > * > :last-child,
      .summer-panel > * > :last-child {
        margin-bottom: 0
      }
    }

    /* ---------- One body-copy colour ----------
       Body text was written six different ways depending on the component:
       #55635d (.lead), #5d6a63 (.section-head p), #626f68 (.activity-card p),
       #627069 (.card p), #6d7772 (.credentials) and #2c3a35 (.prose) — all on
       the same light grounds, all doing the same job, close enough to look like
       a mistake rather than a distinction when two of them sit side by side.
       They now resolve to one token. Light-on-dark colours are untouched.

       Plain paragraphs in the content grids inherited body's --ink (#12191d),
       which is why an unclassed <p> next to a .lead read as near-black. They
       join the same token; the .lead keeps its larger size as the distinction. */

    :root {
      --body: #5d6a63
    }

    .intro-grid > div > p,
    .journey-grid > div > p,
    .contact-grid > div > p,
    .policy-grid > div > p,
    .resource-grid > div > p,
    .instructor-grid > div > p,
    .activities-intro-grid > div > p {
      color: var(--body)
    }

    /* ---------- Journal banner on small screens ----------
       1. .piano-line is an inline-flex row, so the keyed words ("Notes" /
          "between") could never break onto separate lines — at 320px the second
          word simply ran off the right edge. Flex items wrap now.
       2. The h1's clamp floor is 3rem, which never yields below ~430px however
          narrow the screen gets, so the floor drops on small screens.
       3. .blog-hero and .article-hero are plain <section>s outside
          .page-interior, so they picked up the global section padding on top of
          their own content padding — the same stacking the front-page hero had.
          Their content padding already clears the bar. */

    .piano-line {
      flex-wrap: wrap
    }

    @media (max-width:850px) {
      .blog-hero,
      .article-hero {
        padding: 0
      }
    }

    @media (max-width:560px) {
      .blog-hero {
        min-height: 480px
      }

      .blog-hero h1 {
        font-size: clamp(2.2rem, 9.5vw, 3rem);
        margin: 18px 0 22px
      }

      .blog-hero-content,
      .article-hero-content {
        padding: 120px 0 70px
      }

      .blog-hero p {
        font-size: 1.02rem
      }
    }

    @media (max-width:390px) {
      .blog-hero h1 {
        font-size: clamp(1.9rem, 9.5vw, 2.5rem)
      }

      .blog-hero-content,
      .article-hero-content {
        padding: 112px 0 60px
      }
    }

    /* ---------- Journal category pills ----------
       .filter is `color: white` on a transparent ground, which suits a dark
       band — but .post-filters sits inside section.journal, whose background is
       the light #dbe0df→#bac7cd gradient, so the inactive pills were white text
       on near-white. They take the same treatment as the calendar's .filter-bar
       pills: readable ink on translucent white, inverting when active. */

    .post-filters .filter {
      background: rgba(255, 255, 255, .55);
      border-color: rgba(18, 25, 29, .18);
      color: var(--sage-deep)
    }

    .post-filters .filter:hover,
    .post-filters .filter:focus-visible,
    .post-filters .filter.active {
      background: var(--ink);
      border-color: var(--ink);
      color: var(--rose)
    }

    /* ---------- Newsletter field spacing ----------
       The gap between fields lived on the input (.news-form input's 18px
       bottom margin), but .ap-error renders after the input inside .ap-field —
       so an error message dropped into that gap and butted straight up against
       the next field's label. The spacing moves to the field wrapper, which
       holds whether or not an error is showing. */

    .news-form .ap-field {
      margin-bottom: 18px
    }

    .news-form input {
      margin-bottom: 0
    }

    .news-form .ap-error {
      margin-top: 8px
    }

    /* ---------- Price card footnote ----------
       Three spacings stacked between the feature list and the starred note:
       the list's 26px bottom margin, the paragraph's own default margin, and
       the 8px vertical padding #pricing adds to it — a ~50px hole under a
       bordered list item. One margin sets the gap now. */

    .price-card ul {
      margin: 24px 0 0
    }

    .price-card ul + p {
      margin: 16px 0 20px
    }

    #pricing .price-card p {
      margin: 16px 0 20px;
      padding: 0
    }

    /* ---------- Price card on narrow screens ----------
       The card keeps its 40px padding down to 320px, leaving ~200px of content
       width, while #pricing raises the label to 15px with .17em tracking — so
       "PK THROUGH GRADE 12" wrapped onto a second line. The padding and the
       label's tracking give the line room to sit on one row. */

    @media (max-width:480px) {
      .price-card {
        padding: 28px 22px
      }

      #pricing .price-card .label {
        font-size: 12px;
        letter-spacing: .1em
      }
    }

    /* The price sits 35px below the label (.price's own margin), while the
       first card overrides that to 6px — so the gap differs card to card, and
       on a phone, under a label that has wrapped to two lines, 35px reads as a
       hole. Both cards use the same tighter gap on small screens. */

    @media (max-width:480px) {
      .price-card .price,
      #pricing .price-card.one .price {
        margin: 14px 0 6px
      }
    }

    /* The last element in a section carried its own bottom margin on top of the
       section's padding — a paragraph's default margin under the pricing note,
       for instance — so the gap before the next band was always larger than the
       rhythm intends. The section padding owns that edge. */

    section > .wrap > :last-child,
    section > .wrap > :last-child > :last-child {
      margin-bottom: 0
    }

    /* ---------- Footer menu on small screens ----------
       The stacked footer lays the links out as inline text with 8px side
       margins, so a line break can fall inside a label — "ABRSM Program" and
       "Activities & Events" were each split across two rows, reading as five
       ragged lines rather than a menu. A wrapping flex row breaks between
       links only, and each label is kept whole. */

    @media (max-width:850px) {
      .footer-inner .footer-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 18px
      }

      .footer-inner .footer-nav a {
        margin: 0;
        white-space: nowrap
      }
    }

    /* ---------- Calendar rows on small screens ----------
       .schedule-item is a grid with align-items: center, which is right while
       every row is one line tall. Stacked to two columns on a phone, a name
       that wraps to three lines makes the row tall and the date floats to its
       vertical middle instead of sitting with the line it belongs to.

       Note baseline alignment is wrong here: a block container's alignment
       baseline is its LAST line box, so against a two-line name the date locked
       onto the second line. Aligning to the top of the row is what puts it with
       the first line; the date's line-height is matched to the name's so the
       two sit level rather than a couple of pixels apart. */

    @media (max-width:850px) {
      .schedule-item {
        align-items: start
      }

      .schedule-date,
      .schedule-name {
        line-height: 1.45
      }
    }

    /* ---------- Front-page contact fields on small screens ----------
       The inputs carry 13px of padding top and bottom on top of the inherited
       1.6 line-height — around 52px of box under each label, and with no
       placeholder in this form it is 52px of nothing. Tightened to roughly
       40px, which still clears a comfortable touch target. */

    @media (max-width:480px) {
      .contact-card input,
      .contact-card textarea {
        padding: 9px 2px;
        line-height: 1.4
      }

      .contact-card label {
        margin: 14px 0 4px
      }

      .contact-card .ap-error {
        margin-top: 4px
      }
    }

    /* .contact-card keeps 40px of padding at every width, so at 320px the card
       is 280px wide and its content column only 200px — narrower than the
       longest validation message. Trimming the padding gives the messages and
       the field labels a full line to sit on. */

    @media (max-width:480px) {
      .contact-card {
        padding: 26px 20px
      }
    }

    /* The date column is a fixed 100px from 850px down, but "Nov 23–27, 2026"
       needs about 110px at the inherited size, so the year dropped to a second
       line. The column is widened and the date set a little smaller — together
       that leaves roughly 13px of slack on the longest date in the calendar,
       and the row's side padding gives the width back to the event name. */

    @media (max-width:480px) {
      .schedule-item {
        grid-template-columns: 112px 1fr;
        padding: 18px 4px;
        gap: 4px 14px
      }

      .schedule-date {
        font-size: .9rem
      }
    }

    /* A line may break after an en dash, so "Student Piano Lessons (PK–12)"
       split as "(PK–" / "12)" — the parenthetical torn in half across two
       lines. The service headings put their accent word in the <em>, and on
       this page those are always short ("(PK–12)", "Lessons", "Instruction",
       "Preparation"), so keeping the em whole costs no width. The heading
       still wraps freely between its ordinary words. */

    .service-block .section-title em {
      white-space: nowrap
    }

    /* Fitting "Student Piano Lessons (PK–12)" on one line is purely a question
       of type size: 29 characters need roughly 14.5em, and a 320px screen
       offers 280px inside the wrap — so the heading has to come down to about
       19px. The service headings are sized to that, scaling back up with the
       viewport. No nowrap: if a longer heading is entered later it wraps
       cleanly (with its em intact) rather than overflowing the screen. */

    @media (max-width:480px) {
      .service-block .section-title {
        font-size: clamp(1.15rem, 5.9vw, 1.6rem)
      }
    }

    /* ---------- Tuition facts on small screens ----------
       Each fact is a flex row with the label pushed left and the value right.
       At 320px "Preschool through Grade 12" alone needs most of the row, so the
       two ends collide and the values sit ragged against the card edge. Below
       480px the pair stacks and both sides align on the same left edge. */

    @media (max-width:480px) {
      .tuition-card {
        padding: 28px 22px 26px
      }

      .tuition-facts > div {
        display: block;
        padding: 10px 0
      }

      .tuition-facts dd {
        margin-top: 3px;
        text-align: left
      }
    }

    /* ---------- Rate card spacing on small screens ----------
       The tier card's internal gaps are sized for the desktop card: 22px
       between the label and the price, and 28px plus 18px of border padding
       between the note and the "includes" list. Stacked full-width on a phone
       those read as holes rather than grouping. */

    @media (max-width:480px) {
      .tier-price {
        margin: 12px 0 6px
      }

      .tier-divider {
        margin: 16px 0 6px;
        padding-top: 12px
      }
    }

    /* ---------- About: button to signature ----------
       The button sits in a bare <p> (.lead_tutionBtn), so it carries a
       paragraph's default margins and, because .btn is inline-flex, a line box
       built on the inherited 1.6 line-height — phantom space above and below a
       45px button. The wrapper sets its own spacing, and the signature's 30px
       top margin comes down on small screens. */

    .lead_tutionBtn {
      margin: 18px 0 0;
      line-height: 1
    }

    @media (max-width:480px) {
      .signature {
        margin-top: 8px
      }

      .credentials {
        margin-top: 4px
      }
    }

    /* ---------- Policies accordion on small screens ----------
       Two spacings sit between the intro paragraph and the first row: the
       stacked grid's gap, then .policy-list details' own 20px top padding
       above the first summary — so the rule lands well clear of the text and
       the first title further still. Both come down together. */

    @media (max-width:640px) {
      .policy-grid {
        gap: 18px
      }

      .policy-list details {
        padding: 15px 0
      }
    }

    /* ---------- About intro marks on small screens ----------
       A wrapping flex row packs the pills by width, so four labels of four
       different lengths land 1 / 2 / 1 with ragged edges on every row. A
       two-column grid gives them a fixed matrix instead: equal widths, equal
       heights, and one aligned edge down each side. */

    @media (max-width:560px) {
      .about-intro-marks {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 22px
      }

      .about-intro-marks span {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 9px 10px;
        text-align: center
      }
    }

    /* ---------- CTA panel on interior pages ----------
       .cta-panel scales its padding down at 850px and again at 560px, but
       .page-interior .cta-panel sets 56px at 1200px — two classes beat one, so
       on every interior page those reductions never applied and the panel kept
       56px of top padding down to 390px, where the only .page-interior override
       lives. The interior scale is filled in to match. */

    @media (max-width:850px) {
      .page-interior .cta-panel {
        padding: 44px 30px 38px
      }
    }

    @media (max-width:560px) {
      .page-interior .cta-panel {
        padding: 34px 20px 30px
      }

      .cta-keys {
        height: 28px;
        margin-bottom: 18px
      }

      .cta-keys i {
        height: 28px
      }

      .cta-keys i.black {
        height: 17px
      }
    }

    /* ---------- CTA contact row: the doubled hairline ----------
       .cta-meta draws a border-top across the whole row, which is the divider
       under the buttons while the three items sit side by side. Stacked, each
       <li> also takes a border-top — so the container's line and the first
       item's line end up 8px apart and read as two rules. The container drops
       its own line once the items carry theirs. */

    @media (max-width:850px) {
      .cta-meta,
      .page-interior .cta-meta {
        border-top: 0;
        padding-top: 0
      }
    }

    /* The last contact item's 20px bottom padding sits on top of the panel's
       own bottom padding, so the panel's inner edge is twice as deep as its
       sides. The row ends where the last value ends. */

    @media (max-width:850px) {
      .cta-meta li:last-child,
      .page-interior .cta-meta li:last-child {
        padding-bottom: 0
      }
    }

    /* ---------- Interior hero: the space under the lead ----------
       .page-interior .article-hero-content keeps 60px of bottom padding down
       to 320px, and the lead paragraph adds its own trailing margin on top of
       it. Two classes, so the plain .article-hero-content reductions never
       reached these pages. Trimmed here, with the hero's last element ending
       the block on its own baseline. */

    @media (max-width:560px) {
      .page-interior .article-hero-content {
        padding: 112px 0 38px
      }

      .page-interior .article-hero-content > :last-child {
        margin-bottom: 0
      }
    }

    @media (max-width:390px) {
      .page-interior .article-hero-content {
        padding: 104px 0 32px
      }
    }

    /* ---------- Article hero height on small screens ----------
       The hero is bottom-aligned inside a min-height, so any height the content
       does not use shows as empty image above it. That min-height is 560px for
       a post (470px on interior pages) and stops scaling at 768px — on a 554px
       tall phone the banner is taller than the screen and the slack collects in
       one band under the header. Sized closer to the content instead. */

    @media (max-width:560px) {
      .article-hero {
        min-height: 460px
      }

      .page-interior .article-hero {
        min-height: 430px
      }
    }

    @media (max-width:390px) {
      .article-hero,
      .page-interior .article-hero {
        min-height: 410px
      }
    }

    /* ---------- Hero height and its bottom padding, together ----------
       Because the hero is bottom-aligned inside a min-height, trimming the
       content's bottom padding on its own does not close the gap — it just
       moves it above the text, since the hero is still taller than what it
       holds. The min-height has to come down with it. Sized so a typical
       headline fills the banner and neither edge is left with a band. */

    @media (max-width:560px) {
      .article-hero,
      .page-interior .article-hero {
        min-height: 380px
      }

      .blog-hero {
        min-height: 400px
      }

      .blog-hero-content,
      .article-hero-content {
        padding: 116px 0 40px
      }

      .page-interior .article-hero-content {
        padding: 112px 0 36px
      }
    }

    @media (max-width:390px) {
      .article-hero,
      .page-interior .article-hero,
      .blog-hero {
        min-height: 350px
      }

      .blog-hero-content,
      .article-hero-content {
        padding: 108px 0 34px
      }

      .page-interior .article-hero-content {
        padding: 104px 0 30px
      }
    }

    /* The gap between the amount and the period came from a literal space in
       the markup, which belongs to .price and is therefore sized at its 3.8rem
       font — about 15px wide, not the ~4px it looks like in the source. The
       space is gone from front-page.php and the gap is set here instead. */

    .price small {
      margin-left: 4px
    }

    /* ---------- ABRSM "at a glance" card ----------
       The overview grid stacks at 1100px but the card keeps max-width: 480px,
       so it sits hard against the left of a full-width row and the remainder
       reads as an empty panel beside it. It fills the column once stacked, and
       is centred in the range where the cap still makes sense. */

    @media (max-width:1100px) {
      .abrsm-facts {
        margin-left: auto;
        margin-right: auto
      }
    }

    @media (max-width:850px) {
      .abrsm-facts {
        max-width: none
      }
    }

    /* ---------- ABRSM ladder on tablets ----------
       The ladder drops to a single column at 768px, but each rung holds only a
       title and one short line — so a full-width rung leaves half its box
       empty. Two columns down to 520px use the width; the fifth rung spans the
       final row so the grid never ends on a blank tile. */

    @media (max-width:768px) {
      .ladder {
        grid-template-columns: repeat(2, 1fr)
      }

      .ladder li:last-child {
        grid-column: 1 / -1
      }
    }

    @media (max-width:520px) {
      .ladder {
        grid-template-columns: 1fr
      }

      .ladder li:last-child {
        grid-column: auto
      }
    }

    /* The resource band stacks at 850px and its button is set to width: 100%,
       which on a tablet stretches a two-word label into a 640px pill. It sizes
       to its text there, and only fills the width on a phone, where a
       full-width button is a sensible tap target. */

    @media (max-width:850px) {
      .resource-band .btn {
        width: auto
      }
    }

    @media (max-width:480px) {
      .resource-band .btn {
        width: 100%
      }
    }

    /* The stacked-grid trim started at 640px, but these grids collapse to one
       column between 850px and 1100px — so a tablet kept the 44-64px gap the
       two-column layout was given, plus the cells' own first and last margins.
       The same treatment starts where the stacking does. */

    @media (max-width:1100px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 36px
      }

      .intro-grid > * > :first-child,
      .journey-grid > * > :first-child,
      .contact-grid > * > :first-child,
      .policy-grid > * > :first-child,
      .feature-grid > * > :first-child,
      .news-grid > * > :first-child,
      .article-grid > * > :first-child,
      .instructor-grid > * > :first-child,
      .tuition-grid > * > :first-child,
      .resource-grid > * > :first-child,
      .resource-grid.reversed > * > :first-child,
      .access-panel > * > :first-child,
      .abrsm-overview-grid > * > :first-child,
      .activities-intro-grid > * > :first-child,
      .summer-panel > * > :first-child {
        margin-top: 0
      }

      .intro-grid > * > :last-child,
      .journey-grid > * > :last-child,
      .contact-grid > * > :last-child,
      .policy-grid > * > :last-child,
      .feature-grid > * > :last-child,
      .news-grid > * > :last-child,
      .article-grid > * > :last-child,
      .instructor-grid > * > :last-child,
      .tuition-grid > * > :last-child,
      .resource-grid > * > :last-child,
      .resource-grid.reversed > * > :last-child,
      .access-panel > * > :last-child,
      .abrsm-overview-grid > * > :last-child,
      .activities-intro-grid > * > :last-child,
      .summer-panel > * > :last-child {
        margin-bottom: 0
      }
    }

    /* The tablet range keeps most of the desktop rhythm: 76px of section
       padding at 1100px and 64px at 850px, with the coloured bands adding
       their own 62px on the other side of the boundary — so the join between
       two sections runs to ~130px on a 768px screen. Both sides step down. */

    @media (max-width:1100px) {
      section {
        padding: 60px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 58px 0
      }
    }

    @media (max-width:850px) {
      section {
        padding: 50px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 46px 0
      }
    }

    /* =========================================================
       Header: the mobile bar starts at 1100px, not 850px
       ---------------------------------------------------------
       The menu carries eight items with long labels — "ABRSM Program",
       "Activities & Events" — which come to roughly 815px of links at the bar's
       .83rem and 30px gaps. With the brand block that is about 1025px against a
       984px wrap at 1024px, so between 851px and 1100px the bar had more in it
       than it could hold. The labels are ACF-editable and can only get longer,
       so the panel takes over earlier rather than the type being squeezed to
       fit a particular set of words.
       ========================================================= */

    @media (max-width:1100px) {
      .nav-inner {
        position: relative;
        justify-content: flex-start;
        flex-wrap: nowrap
      }

      .brand {
        margin-right: auto
      }

      .menu {
        display: block
      }

      /* The bar is pinned while the panel is open, wherever the page was
         scrolled to, so the panel always starts under it and can run to the
         bottom of the screen. Before 120px of scroll the bar is transparent
         and absolute, so it takes the panel's colour here. */
      body.menu-open .nav {
        position: fixed;
        top: 0;
        background: #0d0b0a
      }

      /* Full screen: edge to edge, and from the bar to the bottom of the
         viewport. The 100% in the height is the bar's own height (.nav-inner
         is the containing block), so it holds at every bar height. */
      .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        right: auto;
        width: 100vw;
        margin-left: -50vw;
        height: calc(100vh - 100%);
        height: calc(100dvh - 100%);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 20px 24px;
        background: #0d0b0a;
        border-top: 1px solid rgba(255, 255, 255, .12);
        z-index: 60;
        overflow-y: auto;
        overscroll-behavior: contain
      }

      .nav-links.open {
        display: flex
      }

      .nav-links a {
        display: block;
        flex-shrink: 0;
        width: 100%;
        padding: 12px 0;
        font-size: .95rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        transition: color .25s
      }

      .nav-links a:last-child {
        border-bottom: 0
      }

      .nav-links a:not(.button):after {
        display: none
      }

      .nav-links a:hover,
      .nav-links a:focus-visible,
      .nav-links a.current {
        color: var(--gold)
      }

      .nav-links .button {
        padding: 12px 0;
        border: 0;
        border-radius: 0
      }

      /* The banner's own padding stacked on the section padding here too — the
         reset only started at 850px. */

      .hero {
        padding: 0;
        min-height: 660px
      }

      .hero-content {
        padding: 158px 0 84px
      }
    }

    /* ---------- About portrait when the intro grid stacks ----------
       .portrait is capped at 500px, which is right while it sits in its own
       column. Stacked at 850px the column is the full wrap, so the image stops
       short of the text it sits above and the gap on its right reads as a
       broken column. Widening it is not the answer: the frame is a 4/5 portrait
       with an arched top, and at a wider ratio object-fit crops the subject out
       and the arch flattens into a dome. Centring it in the column keeps the
       shape and makes the leftover space read as margin. */

    @media (min-width:541px) and (max-width:850px) {
      .portrait {
        max-width: 460px;
        margin-left: auto;
        margin-right: auto
      }
    }

    /* Georgia uses old-style (text) figures: digits are drawn at x-height, not
       cap height, so "12" sits visibly smaller than the capitals beside it in a
       text-transform: uppercase label. Requesting lining figures fixes it where
       the installed Georgia offers them. */

    .label,
    .eyebrow,
    .method-label,
    .tier .label,
    .price-card .label {
      font-variant-numeric: lining-nums;
      font-feature-settings: "lnum" 1
    }

    /* The Georgia that ships with Windows and iOS has no lining figures to
       switch on, so in a form field a typed phone number or an email with
       digits in it bobs above and below the line (3, 4, 5, 7 and 9 hang under
       it, 6 and 8 stand over it). This face covers the ten digits only and
       draws them from Times New Roman, whose figures all sit on the baseline
       at one height; every other character still comes from Georgia. Times is
       drawn smaller than Georgia, so the figures are scaled up to cap height. */

    @font-face {
      font-family: 'AP Lining Figures';
      src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times');
      unicode-range: U+30-39;
      size-adjust: 106%
    }

    input,
    textarea,
    select {
      font-family: 'AP Lining Figures', Georgia, 'Times New Roman', serif;
      font-variant-numeric: lining-nums
    }

    /* #pricing .star is nudged left by 11px, which was compensating for the
       oversized markup space that used to sit between the amount and the star.
       With that space gone the offset pulls the asterisk into the numeral, so
       it is replaced by a small explicit gap. */

    #pricing .star {
      left: 0;
      margin-left: 5px
    }

    /* Headings carry hard <br> breaks placed for the desktop column. Once the
       grids stack, the column is the full wrap and those breaks leave a heading
       filling half the width available — "Music is learned / one beautiful
       detail / at a time." over three short lines in a 728px column. The breaks
       are tagged in aberdeen_piano_kses_heading() and dropped here so the
       heading wraps to the width it actually has. */

    @media (max-width:1100px) {
      .section-title br.hb {
        display: none
      }
    }

    /* The marquee is a tilted band that already separates what follows it, so
       the next section's full top padding reads as an empty strip under it —
       most visible once the section rhythm is the only thing setting that gap. */

    @media (max-width:1100px) {
      .marquee + section {
        padding-top: 34px
      }
    }

    /* A coloured band's own padding meets the next section's on the same
       boundary — 58px against 60px at this width, so ~118px between a cite line
       and the heading below it. Both sides of that particular join come down;
       the rhythm between two plain sections is left alone. */

    @media (max-width:1100px) {
      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 44px 0
      }

      .quote + section,
      .related + section,
      .newsletter + section,
      .featured-quote + section {
        padding-top: 38px
      }
    }

    /* The section head adds its own margins to the section padding on both
       sides: .section-title's 18px top margin under the section's padding, and
       .program-head's 48px bottom margin plus the lead paragraph's own margin
       above the cards. The head's outer margins are dropped so each gap is set
       once. */

    @media (max-width:1100px) {
      .program-head,
      .calendar-head {
        margin-bottom: 26px
      }

      .program-head > div > :first-child,
      .calendar-head > div > :first-child,
      .section-head > div > :first-child {
        margin-top: 0
      }

      .program-head > div > :last-child,
      .program-head > p:last-child,
      .calendar-head > div > :last-child,
      .calendar-head > p:last-child {
        margin-bottom: 0
      }
    }

    /* .card h3 sits 55px below the number so the title clears the arched top of
       a full-width desktop card. At 1024 the cards are about a third that wide
       and the arch is a shallower dome, so the gap is larger than the shape
       needs — it steps down before the 28px the phone layout already uses. */

    @media (max-width:1100px) {
      .card h3 {
        margin-top: 34px
      }
    }

    /* =========================================================
       Desktop rhythm
       ---------------------------------------------------------
       The trims so far stopped at 1100px, so the full-width layout still ran
       84px of section padding meeting a band's 72-80px on the same boundary,
       with the section heads adding their own margins on top. The same three
       treatments are applied above 1100px: a tighter base rhythm, one setting
       per boundary where a coloured band or the marquee already separates two
       blocks, and section heads that do not add to the section padding.

       Scoped with min-width so it cannot override the narrower steps — a media
       query adds no specificity, so a plain rule later in the file would win at
       every width.
       ========================================================= */

    @media (min-width:1101px) {
      section {
        padding: 64px 0
      }

      .page-interior > section {
        padding: 44px 0
      }

      .quote,
      .related,
      .newsletter,
      .featured-quote {
        padding: 56px 0
      }

      .quote + section,
      .related + section,
      .newsletter + section,
      .featured-quote + section {
        padding-top: 46px
      }

      .marquee + section {
        padding-top: 40px
      }

      .program-head,
      .calendar-head {
        margin-bottom: 32px
      }

      .section-head {
        margin-bottom: 30px
      }

      .program-head > div > :first-child,
      .calendar-head > div > :first-child,
      .section-head > div > :first-child,
      .journal-head > div > :first-child {
        margin-top: 0
      }

      .program-head > div > :last-child,
      .program-head > p:last-child,
      .calendar-head > div > :last-child,
      .calendar-head > p:last-child,
      .section-head > div > :last-child,
      .section-head > p:last-child,
      .journal-head > div > :last-child,
      .journal-head > p:last-child {
        margin-bottom: 0
      }
    }

    /* The banner's padding reset stopped at 1100px, so at full width .hero was
       still adding the global section padding to .hero-content's own — 300px
       above the eyebrow and 230px below the buttons. The content padding sets
       the banner on its own, as it does at every narrower width. */

    @media (min-width:1101px) {
      .hero {
        padding: 0;
        min-height: 700px
      }

      .hero-content {
        padding: 186px 0 104px
      }
    }

    /* =========================================================
       Desktop pass 2 — heroes, gutters and the remaining bands
       ---------------------------------------------------------
       Three groups were still untouched above 1100px:

       1. .blog-hero and .article-hero are plain <section>s, so like the home
          banner they added the global section padding to their content's own
          190px — about 254px above a breadcrumb. Their padding: 0 reset only
          ran to 850px.
       2. The two-column grids carry 60-90px gutters. That is a column gap while
          they are side by side, but it is a lot of air between a heading and
          the text it introduces at any width.
       3. .article, .about-mission and .cta-panel kept their own large block
          padding, well above the 44-64px rhythm around them.
       ========================================================= */

    @media (min-width:1101px) {
      .blog-hero,
      .article-hero {
        padding: 0
      }

      .blog-hero-content,
      .article-hero-content,
      .page-interior .article-hero-content {
        padding: 170px 0 96px
      }

      .article {
        padding: 56px 0 48px
      }

      .about-page .about-mission {
        padding: 52px 0
      }

      .cta-panel {
        padding: 52px 56px 46px
      }

      .intro-grid {
        gap: 60px
      }

      .instructor-grid {
        gap: 58px
      }

      .journey-grid,
      .contact-grid {
        gap: 56px
      }

      .policy-grid {
        gap: 54px
      }

      .resource-grid,
      .resource-grid.reversed {
        gap: 52px
      }

      .feature-grid,
      .news-grid,
      .article-grid {
        gap: 50px
      }

      .access-panel,
      .tuition-grid,
      .abrsm-overview-grid {
        gap: 48px
      }
    }

    /* =========================================================
       Filling the gaps between the ranges already trimmed
       ---------------------------------------------------------
       An audit of the effective value at 375 / 768 / 1024 / 1440 turned up four
       selectors whose reductions covered only part of the scale:

       .blog-hero / .article-hero    padding: 0 ran to 850 and from 1101 — the
                                     851-1100 band still stacked section padding
                                     on the content's 190px.
       .article                      96px 0 70px from 561 to 1100.
       .about-mission                76px at 1024, 66px at 768, 56px at 375.
       .section-head                 40px bottom margin below 1100.
       .price-card                   40px of padding on a tablet.

       Every block below is bounded at both ends. A media query adds no
       specificity, so an unbounded rule this late in the file would override
       the narrower steps at every width.
       ========================================================= */

    @media (min-width:851px) and (max-width:1100px) {
      .blog-hero,
      .article-hero {
        padding: 0
      }

      .blog-hero-content,
      .article-hero-content,
      .page-interior .article-hero-content {
        padding: 150px 0 82px
      }
    }

    @media (min-width:561px) and (max-width:1100px) {
      .article {
        padding: 56px 0 48px
      }

      .about-page .about-mission {
        padding: 52px 0
      }
    }

    @media (max-width:560px) {
      .article {
        padding: 42px 0 34px
      }

      .about-page .about-mission {
        padding: 40px 0
      }
    }

    @media (max-width:1100px) {
      .section-head,
      .page-interior .section-head {
        margin-bottom: 28px
      }
    }

    @media (min-width:481px) and (max-width:1100px) {
      .price-card {
        padding: 30px 26px
      }
    }

    /* ---------- Hero content padding, stated once per range ----------
       The earlier steps set padding-top and padding-bottom separately, then a
       later block set the padding shorthand for the whole 0-1100 range — and a
       shorthand later in the file resets both longhands, so a 375px screen was
       taking the 158px meant for a tablet. Each range now carries the complete
       value, and every block is bounded at both ends. */

    @media (max-width:390px) {
      .hero-content {
        padding: 112px 0 58px
      }
    }

    @media (min-width:391px) and (max-width:560px) {
      .hero-content {
        padding: 120px 0 68px
      }
    }

    @media (min-width:561px) and (max-width:850px) {
      .hero-content {
        padding: 138px 0 74px
      }

      .blog-hero-content,
      .article-hero-content,
      .page-interior .article-hero-content {
        padding: 132px 0 62px
      }
    }

    @media (min-width:851px) and (max-width:1100px) {
      .cta-panel {
        padding: 52px 48px 44px
      }
    }

    /* .page-interior > section came out non-monotonic: 46px at 768, 52px at
       1024, then 44px at 1440 — a wider screen getting less air than a narrow
       one. Stated per range so it only ever grows with the viewport. */

    @media (min-width:561px) and (max-width:850px) {
      .page-interior > section {
        padding: 42px 0
      }
    }

    @media (min-width:851px) and (max-width:1100px) {
      .page-interior > section {
        padding: 44px 0
      }
    }

    @media (min-width:1101px) {
      .page-interior > section {
        padding: 48px 0
      }
    }

    /* The stacked-grid gaps had the same shorthand-ordering problem as the
       hero: the 1100px step was written after the 640/480/390 steps, so it won
       at every width below it too and a phone was using the tablet gap. Each
       range is bounded, so the value only grows with the viewport. */

    @media (max-width:390px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 20px
      }
    }

    @media (min-width:391px) and (max-width:480px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 24px
      }
    }

    @media (min-width:481px) and (max-width:640px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 30px
      }
    }

    @media (min-width:641px) and (max-width:1100px) {
      .intro-grid,
      .journey-grid,
      .contact-grid,
      .policy-grid,
      .feature-grid,
      .news-grid,
      .article-grid,
      .instructor-grid,
      .tuition-grid,
      .resource-grid,
      .resource-grid.reversed,
      .access-panel,
      .abrsm-overview-grid,
      .activities-intro-grid,
      .summer-panel,
      .page-interior .intro-grid,
      .page-interior .journey-grid,
      .page-interior .contact-grid,
      .page-interior .policy-grid,
      .page-interior .resource-grid,
      .page-interior .resource-grid.reversed,
      .page-interior .instructor-grid,
      .page-interior .tuition-grid,
      .page-interior .access-panel {
        gap: 36px
      }
    }

    /* The About figure's outline frame is drawn outside its box (inset -18px,
       -12px on a phone), so once the grid stacks the frame hangs down into the
       gap and the eyebrow below sits almost against it — 8px at 320px. The
       figure takes a bottom margin equal to the frame's overhang, so the gap
       is measured from the frame rather than from the photo. */

    @media (max-width:1024px) {
      .page-interior .about-figure {
        margin-bottom: 18px
      }
    }

    @media (max-width:560px) {
      .page-interior .about-figure {
        margin-bottom: 12px
      }
    }

    /* The Student Resource figures have the same frame (inset -16px, -10px on
       a phone) and stack above their text from 1100px down. In a reversed
       grid the figure is the last element in the markup though it is shown
       first, so it is named separately to outrank the rule that strips the
       bottom margin from the last thing in a section. */

    @media (max-width:1100px) {
      .page-interior .resource-figure,
      .page-interior .resource-grid.reversed > .resource-figure {
        margin-bottom: 16px
      }
    }

    @media (max-width:560px) {
      .page-interior .resource-figure,
      .page-interior .resource-grid.reversed > .resource-figure {
        margin-bottom: 10px
      }
    }

    /* The home page portrait has no frame, but stacked it is a tall, dark
       photo with the eyebrow only the bare grid gap beneath it (20px at
       320px), tighter than the framed figures above now sit. It takes the
       same extra space so the three pages match. */

    @media (max-width:850px) {
      .intro-grid > .portrait {
        margin-bottom: 16px
      }
    }

    @media (max-width:560px) {
      .intro-grid > .portrait {
        margin-bottom: 12px
      }
    }

    /* ---------- Horizontal overflow guard ----------
       .marquee is a full-width band carrying transform: rotate(-1deg)
       scale(1.02). A transform contributes to a page's scrollable width, so at
       768px that 2% scale pushes the band about 8px past each edge, and the
       tilt adds a little more — enough to make the whole document scroll
       sideways and show the body background beside every section.

       html already carries overflow-x: hidden, which the viewport is meant to
       pick up, but body does not — and anything that establishes its own
       scrolling context can defeat it. `clip` is used rather than `hidden`
       because it does not create a scroll container, so the sticky tuition card
       on the Services page keeps working. The `hidden` declarations already in
       the file stay as the fallback for browsers without `clip`. */

    html,
    body {
      overflow-x: clip
    }

    /* And clipped at the container that actually holds it, so the guard on the
       root is a safety net rather than the only thing containing the band. A
       max-width on .marquee itself would do nothing here — a transform does not
       change an element's layout width, only the area it paints and the page's
       scrollable overflow. */

    main {
      overflow-x: clip
    }

    /* ---------- Cards when they stack ----------
       The card is built for a narrow column: a 370px min-height, a 180px arched
       top and 36px of padding, with the title pushed 34px below the number so
       it clears the curve. Stacked full width at 768px the arch flattens into a
       shallow dome, so all of that becomes empty space — the number floats in a
       band of nothing and the title sits far below it. The internals are sized
       for the wide box, and min-height drops out so the card is only as tall as
       what it holds. */

    @media (min-width:481px) and (max-width:850px) {
      .card {
        min-height: 0;
        padding: 26px 30px 30px;
        border-radius: 120px 120px 12px 12px
      }

      .card h3 {
        margin: 14px 0 10px
      }

      .card p {
        margin: 10px 0
      }

      .card .num {
        display: block
      }
    }

    /* ---------- Tuition price cards, all screens ----------
       The card's internals were each generous on their own and compound:
       min-height 380px on top of a flex column whose link is pushed down with
       margin-top: auto, so any unused height collects as a band above the
       link; the price 35px below its label on every card but the first, which
       overrides it to 6px; 40px of card padding at desktop; and a feature list
       with 24px above it and 8px around every row.

       The price gap is stated once for all cards so they agree, and min-height
       goes — the cards sit in a grid, which already stretches them to a common
       height, so the floor only ever added slack when the content was short. */

    .price-card {
      min-height: 0
    }

    .price-card .price,
    #pricing .price-card.one .price {
      margin: 14px 0 6px
    }

    .price-card ul {
      margin: 18px 0 0
    }

    .price-card li {
      padding: 7px 0
    }

    .price-card ul + p,
    #pricing .price-card p {
      margin: 14px 0 16px
    }

    @media (min-width:1101px) {
      .price-card {
        padding: 32px 30px
      }
    }

    /* ---------- Policy accordion rows, all screens ----------
       Each row's 20px of vertical padding sits either side of its border, and
       the paragraphs inside an open row add their own margins on top — so the
       space under the last paragraph is that margin plus the row's padding
       plus the next row's padding, three spacings on one divider. The row
       padding comes down and the paragraphs stop adding to the row's edges. */

    .policy-list details {
      padding: 14px 0
    }

    .policy-list details > *:last-child {
      margin-bottom: 0
    }

    .policy-list summary + * {
      margin-top: 12px
    }

    .policy-list p {
      margin: 10px 0
    }

    .about-policies .about-policy-note {
      margin-top: 18px
    }

    /* ---------- Tuition card once the grid stacks ----------
       Same shape as the ABRSM facts card: .tuition-grid goes to one column at
       1100px but .tuition-card keeps max-width: 460px, so it sits hard left in
       a full-width row and the remainder reads as an empty second column. It
       is centred where the cap still makes sense and fills the column once the
       row is narrow enough for a full-width card to look right. */

    @media (min-width:851px) and (max-width:1100px) {
      .tuition-card {
        margin-left: auto;
        margin-right: auto
      }
    }

    @media (max-width:850px) {
      .tuition-card {
        max-width: none
      }
    }

    /* The tuition card's period sat on its own line as an uppercase label,
       while the home page's cards render theirs inline ("$80 / month"). It
       matches them now. There is no space between the amount and the <small>
       in the markup, so the gap is set here — a markup space would be sized at
       the price's 4rem and land at about 16px. */

    .tuition-price small {
      display: inline;
      margin-top: 0;
      margin-left: 5px;
      text-transform: none;
      letter-spacing: normal;
      font-size: .9rem
    }

    /* .tuition-card .btn is width: 100%, which suits the narrow sticky column
       it was designed for and a phone. Once the grid stacks the card is 460px
       or wider, and a two-word label stretched across it reads as a banner
       rather than a button. It sizes to its text between 481px and 1100px. */

    @media (min-width:481px) and (max-width:1100px) {
      .tuition-card .btn {
        width: auto;
        padding-left: 34px;
        padding-right: 34px
      }
    }

    /* The adult tiers use the same stacked uppercase period as the tuition card
       did ("HOUR" under the amount). Matched to the other price displays. */

    .tier-price small {
      display: inline;
      margin-top: 0;
      margin-left: 5px;
      text-transform: none;
      letter-spacing: normal;
      font-size: .9rem
    }

    /* The gap above the first step is the stacked grid's gap plus the step
       row's own 25px of padding above its content — about 60px between the
       paragraph and "01". The rows are tightened, which also closes the space
       between every step in the list. */

    .step {
      padding: 18px 0
    }

    /* Inside the card the title and paragraphs still sat on generous margins:
       13px under the title meeting the paragraph's own ~15px, and the same
       again between paragraphs and before the card's bottom padding. These are
       text spacings rather than arch clearance, so they come down at every
       width — only the title's top margin still varies by range, since that is
       what keeps it clear of the curve. */

    .card h3 {
      margin-bottom: 6px
    }

    .card p {
      margin: 6px 0
    }

    .card > *:last-child {
      margin-bottom: 0
    }

    @media (min-width:481px) and (max-width:850px) {
      .card {
        padding: 24px 30px 26px
      }
    }

    /* ---------- Accent notes, one treatment ----------
       The theme has six of these — a short aside marked with a coloured bar —
       and each was styled separately:

         .tuition-note        30px top, 22px 25px padding, 3px gold bar
         .info-note           18px top, 12px 16px padding, 2px ROSE bar, .88rem
         .calendar-footnote   34px top, 14px 18px padding, 2px gold, .88rem
         .gallery-note        30px top, 14px 18px padding, 2px gold, .86rem
         .contact-aside       26px top, 14px 18px padding, 2px gold, .9rem
         .about-policy-note   26px top, 4px 0 4px 16px, 2px gold, .88rem

       So the bar was two widths and two colours, the padding four values and
       the type three sizes, depending on which page you were on. They share one
       set now; each keeps its own background, which is what ties it to the
       panel it sits in. */

    .tuition-note,
    .info-note,
    .calendar-footnote,
    .gallery-note,
    .contact-aside,
    .about-policies .about-policy-note {
      margin-top: 22px;
      padding: 9px 16px;
      border-left: 3px solid var(--gold);
      font-size: .88rem;
      line-height: 1.5
    }

    @media (max-width:480px) {
      .tuition-note,
      .info-note,
      .calendar-footnote,
      .gallery-note,
      .contact-aside,
      .about-policies .about-policy-note {
        margin-top: 16px;
        padding: 8px 12px;
        border-left-width: 2px;
        font-size: .84rem
      }
    }

    /* Inside an .info-card the note is a <p>, and `.info-card p` (margin: 0,
       .92rem) outranks the shared rule above — so this one note lost its top
       margin and sat directly under the last tick item, at the list's type
       size rather than the notes'. The shared values are restated with enough
       weight to apply, and the left padding is set so the note's text starts
       on the same line as the tick list's text (26px in from the card edge)
       instead of 7px short of it. The list items already carry 9px beneath
       them, so the margin is the shared 22px less that. */

    .info-card .info-note {
      margin-top: 13px;
      font-size: .88rem
    }

    @media (max-width:480px) {
      .info-card .info-note {
        margin-top: 9px;
        font-size: .84rem
      }
    }

    /* The bar on this note was the box's own left border, so it ran the full
       height of the white panel (39px) beside one 16px line of text. It is
       drawn as a separate mark instead: 2px wide and inset 9px top and bottom,
       so it stands about as tall as the text. The padding takes up the width
       the border had, so the text does not move. */

    .info-card .info-note {
      position: relative;
      border-left: 0;
      padding-left: 26px
    }

    .info-card .info-note:before {
      content: "";
      position: absolute;
      left: 0;
      top: 9px;
      bottom: 9px;
      width: 2px;
      background: var(--gold)
    }

    /* The step's number column is a fixed 48px with a 20px gap — 68px before
       the title, sized for a full-width desktop row. On a narrow screen that is
       a wide empty channel down the list while the text beside it wraps. The
       column is sized to the number it holds. */

    @media (max-width:1100px) {
      .step,
      .page-interior .step {
        grid-template-columns: 34px 1fr;
        gap: 14px
      }
    }

    @media (max-width:560px) {
      .step,
      .page-interior .step {
        grid-template-columns: 28px 1fr;
        gap: 10px
      }
    }

    /* Three spacings sit between the price and the first inclusion: the price's
       6px bottom margin, the list's 18px top margin, and the first row's own
       7px of padding. The list's margin carries it. */

    .price-card ul {
      margin: 8px 0 0
    }

    /* Between the filter row and the list sit .schedule-list's 35px top margin
       and .schedule-item's own top padding under the border — and the filters
       wrap to two rows on a narrow screen, so the gap reads even wider there.
       The list's margin comes down, more so once the filters wrap. */

    .schedule-list {
      margin-top: 22px
    }

    @media (max-width:850px) {
      .schedule-tools {
        margin-top: 26px;
        gap: 8px
      }

      .schedule-list {
        margin-top: 16px
      }
    }

    /* Stacked, the time drops into the second row's first cell — the 100px date
       column — so a range like "8:30 AM–12 Noon" has to wrap inside 100px and
       breaks after the dash, orphaning the last word. It spans the full row
       instead, which is empty beside it anyway. */

    @media (max-width:850px) {
      .schedule-time {
        grid-column: 1 / -1
      }
    }

    /* With no buttons in the banner the paragraph is the last thing in it, so
       the content's bottom padding is the whole gap above the marquee. */

    @media (min-width:561px) and (max-width:850px) {
      .hero-content {
        padding-bottom: 56px
      }
    }

    /* =========================================================
       Home banner — one viewport, balanced top and bottom
       ---------------------------------------------------------
       The banner was a fixed min-height (700px at desktop, 660 below) with its
       content bottom-aligned, so any height the text did not use collected in
       one band under the header — and on a tall screen the banner still ran
       past the fold.

       It is now exactly one viewport tall: 100svh less the 34px topline, which
       is the only thing above it in the flow (the bar is absolute and sits over
       the banner). svh is the small viewport height, so a phone's collapsing
       URL bar cannot make it overflow; the vh line above is the fallback for
       browsers without it.

       align-items: center replaces end, so the leftover height is shared
       between the top and the bottom instead of all landing above the eyebrow.
       The content keeps enough top padding to clear the bar if the text ever
       grows tall enough to fill the banner.
       ========================================================= */

    .hero {
      align-items: center;
      min-height: calc(100vh - 34px);
      min-height: calc(100svh - 34px)
    }

    @media (min-width:1101px) {
      .hero-content {
        padding: 96px 0 40px
      }
    }

    @media (min-width:851px) and (max-width:1100px) {
      .hero-content {
        padding: 92px 0 36px
      }
    }

    @media (min-width:561px) and (max-width:850px) {
      .hero-content {
        padding: 84px 0 32px
      }
    }

    @media (min-width:391px) and (max-width:560px) {
      .hero-content {
        padding: 84px 0 28px
      }
    }

    @media (max-width:390px) {
      .hero-content {
        padding: 80px 0 24px
      }
    }

    /* The Journal hero's h1 was scaled down to fit the banner on a phone, but
       .section-title keeps its own 2.3rem floor — so "Stories, tips & studio
       life." rendered larger than the page's own h1 above it. The listing's
       section titles follow the hero's scale at the widths where the hero is
       reduced, so the two read at the same size. */

    @media (min-width:391px) and (max-width:560px) {
      .journal .section-title {
        font-size: clamp(2.2rem, 9.5vw, 3rem)
      }
    }

    @media (max-width:390px) {
      .journal .section-title {
        font-size: clamp(1.9rem, 9.5vw, 2.5rem)
      }
    }

    /* Both back to the theme's 2.3rem (36.8px) floor on phones, and identical
       to each other. The hero was only reduced because .piano-line could not
       wrap — that is fixed with flex-wrap, so the larger size fits again, and
       the banner is a full viewport tall now so it has the room. */

    @media (max-width:560px) {
      .blog-hero h1,
      .journal .section-title {
        font-size: 2.3rem
      }
    }

    /* .form_btn_logo is a flex row holding the submit button and the logo mark.
       The button is a flex item, so it shrinks to make room for the logo and
       "Send an inquiry" breaks across two lines. It keeps its natural width and
       the label stays on one line; the logo gives up the space instead. */

    .form_btn_logo .btn {
      flex: 0 0 auto;
      white-space: nowrap
    }

    .form_btn_logo .form_logo {
      flex: 0 1 auto;
      min-width: 0
    }

    /* The status message and the newsletter's "We respect your inbox" note are
       inside the same wrapper as the button, and that wrapper shares the row
       with the logo — so both were squeezed into the button's column and broke
       after two or three words. The wrapper is dissolved, which makes the
       button, the logo, the message and the note four items of one wrapping
       row: button and logo on the first line, the text on full-width lines
       beneath them. */

    .form_btn_logo {
      flex-wrap: wrap
    }

    .form_btn_logo > div:first-child {
      display: contents
    }

    .form_btn_logo > div:last-child {
      flex: 0 1 auto;
      min-width: 0
    }

    .form_btn_logo .form-message,
    .form_btn_logo .news-note {
      order: 1;
      flex: 0 0 100%
    }

    /* At .76rem the note is about 248px long, and below 360px the form is
       narrower than that (226px at 320px), so its last word dropped to a
       second line. It steps down just enough to fit. It is not forced onto
       one line: the wording is editable, and a longer note must still wrap. */

    @media (max-width:359px) {
      .news-note {
        font-size: .675rem
      }
    }

    /* In the home page card the button carries a 25px top margin but the logo
       beside it carried none, so the logo started on the last field's
       underline. It takes the same margin, which also lines its top edge up
       with the button's. */

    .contact-card .form_btn_logo .form_logo {
      margin-top: 25px
    }

    /* A tap leaves a touch screen in :hover until the next tap elsewhere, so
       pressing Send grew the button by its arrow (about 26px). On a narrow
       phone the button and logo then no longer fitted the card, the 1fr grid
       column stretched to hold them, and the paragraph above the form
       re-wrapped onto one line fewer — the whole page jumped. The columns may
       no longer be widened by their content, and where there is no real hover
       the button keeps its resting size. */

    .contact-grid > * {
      min-width: 0
    }

    @media (hover:none) {
      .btn:hover {
        transform: none
      }

      .btn:hover:after,
      .news-form .btn:hover:after {
        margin-left: 0;
        width: 0;
        opacity: 0
      }
    }

    /* The front-page fields carry 13px of padding top and bottom on top of the
       inherited 1.6 line-height — about 52px of box under each label, and this
       form has no placeholder text, so it reads as an empty band rather than a
       field. Tightened at every width, not just on a phone. */

    .contact-card input,
    .contact-card textarea {
      padding: 9px 2px;
      line-height: 1.4
    }

    .contact-card label {
      margin: 12px 0 4px
    }

    .contact-card .ap-error {
      margin-top: 4px
    }

    /* A field's error message was followed by the next label only 6px later
       (the label's own top margin), so "Please enter your name." read as if
       it were attached to "Email address". A shown error keeps 12px beneath
       it, on top of that margin. */

    .contact-card .ap-field.has-error .ap-error {
      margin-bottom: 12px
    }

    /* ---------- Contact details when the grid stacks ----------
       Each detail is a 130px label beside a 1fr value, which suits the narrow
       column the list sits in at desktop. Once .contact-grid stacks the list
       runs the full width, and the values — a name, a number, an address — use
       barely a third of it, leaving a wide empty channel down the right of
       every row. Two pairs per row use that width and halve the block's height.
       Below 560px there is no room for two, so the single column returns. */

    @media (min-width:561px) and (max-width:850px) {
      .contact-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 34px
      }

      .contact-details > div {
        grid-template-columns: 104px 1fr;
        gap: 14px;
        padding: 14px 0
      }
    }

    /* .contact-methods-grid keeps two columns down to 560px, but the interior
       copy of the rule drops it to one at 768 — two classes, so it wins — and a
       full-width card holds a label, a value and a note in its left third. Two
       columns are restored down to 560px, with the odd third card spanning the
       final row so the grid still closes. */

    @media (min-width:561px) and (max-width:768px) {
      .page-interior .contact-methods-grid {
        grid-template-columns: repeat(3, 1fr)
      }

      .page-interior .contact-method:last-child {
        grid-column: auto
      }

      /* Three columns give each card about 242px, so the card's 30px side
         padding and the 1.28rem value have to come in for the longest value —
         the e-mail address — to sit on one line. */

      .page-interior .contact-method {
        padding: 20px 16px;
        gap: 6px
      }

      .page-interior .contact-method strong {
        font-size: 1rem;
        overflow-wrap: anywhere
      }

      .page-interior .contact-method .method-label {
        font-size: .6rem;
        letter-spacing: .14em
      }

      /* The note is an <em>, not a span — and it carries margin-top: auto,
         which pins it to the bottom of the card so the notes line up across the
         row. With one card's note wrapping to two lines that leaves the others
         with a gap under their value, so here it simply follows the value. */

      .page-interior .contact-method em {
        margin-top: 0;
        font-size: .8rem
      }
    }

    /* ---------- Calendar rows once they stack ----------
       Two columns, with the time dropping to the second row under the name. The
       date cell holds two lines (the date and the weekday) while the name holds
       one, so the first grid row is as tall as the date — and the time, sitting
       in the row below, ends up well clear of the name it belongs to.

       Spanning the date across both rows lets the name and time sit directly
       above one another; the leftover height is beside the date, where it is
       simply the column's own space. align-items: start rather than baseline,
       since a block's alignment baseline is its last line. */

    @media (max-width:850px) {
      .cal-event {
        align-items: start;
        row-gap: 2px
      }

      .cal-date {
        grid-row: 1 / span 2
      }

      .cal-time {
        grid-column: 2;
        grid-row: 2
      }
    }

    /* The time only needs to drop under the name when the row is genuinely
       narrow. At 768 a row is ~728px and the three parts come to roughly 480px,
       so the third column is restored and the time sits right-aligned at the
       end of its own row, as it does at desktop. Below 640px it stacks again. */

    @media (min-width:641px) and (max-width:850px) {
      .cal-event {
        grid-template-columns: 120px 1fr auto;
        gap: 4px 16px;
        align-items: start
      }

      .cal-date {
        grid-row: auto
      }

      .cal-time {
        grid-column: 3;
        grid-row: 1;
        text-align: right
      }
    }

    /* ---------- Contact page, the stacked-but-wide range ----------
       .page-interior .contact-grid stacks at 1024, not 850 — so between 851 and
       1024 the details list and the methods run the full width while still
       using the layouts meant for a narrow column: the details one pair per
       row, and the methods two-up with the third card spanning and half empty.

       The details take the two-up treatment across the whole stacked range, and
       the methods use three columns wherever they fit, which is what the
       desktop layout does anyway. */

    @media (min-width:561px) and (max-width:1024px) {
      .contact-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 34px
      }

      .contact-details > div {
        grid-template-columns: 104px 1fr;
        gap: 14px;
        padding: 14px 0
      }
    }

    @media (min-width:769px) and (max-width:1100px) {
      .page-interior .contact-methods-grid {
        grid-template-columns: repeat(3, 1fr)
      }

      .page-interior .contact-method:last-child {
        grid-column: auto
      }

      .page-interior .contact-method {
        padding: 24px 22px;
        gap: 6px
      }

      .page-interior .contact-method strong {
        font-size: 1.12rem;
        overflow-wrap: anywhere
      }

      .page-interior .contact-method em {
        margin-top: 0
      }
    }

    /* Stacked into one column on a phone, the cards kept the 28px top and
       bottom padding sized for the three-across row — three tall bands for
       three short lines each. The side padding stays; the height comes in. */

    @media (max-width:560px) {
      .page-interior .contact-method {
        padding-top: 16px;
        padding-bottom: 16px;
        gap: 6px;
        align-items: center;
        text-align: center
      }
    }

    /* The tag sits inline after the event name, so it only drops to its own
       line when the two together outrun the name column. At 851-1100 that
       column is squeezed by a fixed 200px time column that never needs it —
       "Afternoon TBD" is the longest value on the page. Sizing the time column
       to its content hands roughly 100px back to the name, which is enough for
       the longest event name plus its tag. */

    @media (min-width:851px) and (max-width:1100px) {
      .cal-event {
        grid-template-columns: 130px 1fr auto;
        gap: 16px
      }

      .cal-time {
        text-align: right
      }
    }

    /* A little less bulk on the tag itself, so a borderline line still fits. */

    .cal-tag {
      margin-left: 8px;
      padding: 4px 9px
    }

    /* ---------- Price card link when the cards stack ----------
       The link is pushed to the bottom with margin-top: auto, which resolves to
       zero once the card is only as tall as its content — so it sits hard
       against the last inclusion's rule and against the card's own bottom edge.
       Stacked, there is no row of cards to align the links across, so it takes
       a real margin and the card a little more room beneath it. */

    @media (max-width:850px) {
      .price-card {
        padding-bottom: 26px
      }

      .price-card a {
        margin-top: 10px;
        padding-top: 2px;
        display: inline-block
      }

      .price-card ul + p {
        margin-bottom: 4px
      }

      #pricing .price-card p {
        margin-bottom: 4px
      }
    }

    @media (max-width:480px) {
      .price-card {
        padding-bottom: 24px
      }

      .price-card a {
        margin-top: 16px
      }
    }

    /* The contact row sits directly on the panel's bottom padding, so the panel
       reads deeper at the bottom than at the sides. The row itself sets the
       spacing above it, so the padding below only has to clear the text. */

    @media (min-width:851px) and (max-width:1100px) {
      .cta-panel,
      .page-interior .cta-panel {
        padding: 52px 48px 30px
      }
    }

    @media (min-width:1101px) {
      .cta-panel,
      .page-interior .cta-panel {
        padding: 52px 56px 32px
      }
    }

    /* ---------- Card arch clearance, checked per width ----------
       The gap under the number is not decoration: the card's top corners are
       rounded by 140-180px, so a title placed too high runs into the curve. How
       much clearance is needed depends on the radius and the card's width, so
       the margin is set per range rather than carried over from the desktop
       card. Below 480px the arch itself comes down, which is what lets the
       title move up.

       Available width at distance y below the top, for radius R:
           W - 2 * (R - sqrt(R² - (R - y)²))
       Each value below leaves the title clear of the curve at its own width. */

    @media (max-width:480px) {
      .card {
        padding: 22px 24px 24px;
        border-radius: 100px 100px 12px 12px
      }

      .card h3 {
        margin-top: 16px
      }
    }

    @media (min-width:851px) and (max-width:1100px) {
      .card h3 {
        margin-top: 30px
      }
    }

    @media (min-width:1101px) {
      .card h3 {
        margin-top: 42px
      }
    }

    /* Between the buttons and the first contact item sit .cta-meta's 38px top
       margin and the first row's own 20px of padding — around 58px. Both come
       down; the rows keep enough padding to separate them from their rules. */

    @media (max-width:850px) {
      .cta-meta,
      .page-interior .cta-meta {
        margin-top: 20px
      }

      .cta-meta li,
      .page-interior .cta-meta li {
        padding: 13px 0
      }
    }

    /* Stacked, each value (the phone number, the email) inherits the 1.6
       line-height, so its 17px text sits in a 27.6px line box with about 5px
       of slack above and below. Under the value that slack adds to the row's
       bottom padding, which is why the space between the email and the rule
       beneath it looked deeper than the space above the label. The value's
       line box is tightened and the bottom padding eased to match. */

    @media (max-width:850px) {
      .cta-meta a,
      .cta-meta strong {
        line-height: 1.3
      }

      .cta-meta li,
      .page-interior .cta-meta li {
        padding-bottom: 11px
      }
    }

    /* The filter pills wrap to three rows at 320px, and most of the space
       between those rows is the pill's own 9px/17px padding rather than the
       gap. Both come down so the block reads as one control, not three. */

    @media (max-width:560px) {
      .schedule-tools {
        gap: 6px;
        margin-top: 20px
      }

      .schedule-tools .filter {
        padding: 6px 12px;
        font-size: .66rem;
        letter-spacing: .08em
      }
    }

    /* The same at every width: the pills' padding is what sets the distance
       between wrapped rows, so it comes down alongside the gap rather than the
       gap alone — which barely moves the rows apart or together. */

    .schedule-tools {
      gap: 6px
    }

    .schedule-tools .filter {
      padding: 7px 13px;
      font-size: .68rem
    }

    /* Each side of a date range is kept whole — see aberdeen_piano_the_date().
       The only place a range may break is at its dash. */

    .date-part {
      white-space: nowrap
    }

    /* On a phone the filters wrap to two or three rows, and each row was 33px
       of button plus a 6px gap — 39px from one label to the next for 11px
       type, so the rows read as separate lines rather than one control. The
       gap between rows goes and the buttons lose a little height, bringing the
       rows to 29px apart; the gap between buttons along a row is kept. */

    @media (max-width:560px) {
      .schedule-tools {
        row-gap: 0
      }

      .schedule-tools .filter {
        padding-top: 5px;
        padding-bottom: 5px
      }
    }

    /* The button sizes to its label at every width now. "Visit abrsm.org" needs
       about 200px including padding, which fits inside the band even at 320px,
       so there is no width where stretching it full-width is the better fit. */

    .resource-band .btn {
      width: auto
    }

    /* The panel's buttons are forced full-width below 560px (and again at 480px
       for the interior pages). "Request an appointment" needs about 215px
       including padding, which fits inside the panel even at 320px, so they
       size to their labels and stay centred — the row simply wraps to two lines
       when both will not fit side by side. */

    @media (max-width:560px) {
      .cta-buttons .btn,
      .page-interior .cta-buttons .btn {
        flex: 0 1 auto;
        width: auto
      }
    }

    /* Sized to their own labels, the two buttons came out different widths —
       fine side by side, but on a phone they stack and the mismatch shows
       ("Contact us" 116px over "View tuition" 128px). On a phone they are a
       single centred column whose width is the longer label's, so both match
       without going back to full width. */

    @media (max-width:560px) {
      .cta-buttons {
        display: grid;
        grid-template-columns: minmax(0, max-content);
        justify-content: center
      }

      .cta-buttons .btn,
      .page-interior .cta-buttons .btn {
        justify-content: center;
        text-align: center
      }
    }

    /* ---------- Banner clearance under the bar ----------
       With the content centred in the banner, the top padding on .hero-content
       no longer buys clearance in the way it did when the content was bottom
       aligned: adding to it grows the content box, which eats the slack that
       centring was distributing, so the eyebrow only moves down by half of what
       is added. That is why it still sat close under the header.

       The bar's height belongs to the banner instead. box-sizing is border-box,
       so this padding comes out of the 100svh rather than adding to it — the
       banner stays one viewport and the content centres in the space that is
       actually visible below the bar. .hero-content then only needs enough
       padding to keep the text off those edges. */

    @media (max-width:850px) {
      .hero {
        padding-top: 64px
      }

      .hero-content {
        padding: 0 0 8px
      }
    }

    @media (max-width:390px) {
      .hero {
        padding-top: 60px
      }

      .hero-content {
        padding: 0 0 6px
      }
    }

    @media (min-width:851px) {
      .hero {
        padding-top: 92px
      }

      .hero-content {
        padding: 26px 0 26px
      }
    }

    /* ---------- Shorter bar on phones, more air under it ----------
       The header keeps a 76px bar down to 320px, which is a lot of a 520px
       screen for a logo and a menu button. It comes down, and the banner keeps
       its clearance sized to the new bar plus a little — so the space above the
       eyebrow grows while the header itself takes less of the viewport. */

    @media (max-width:560px) {
      .nav-inner {
        height: 64px
      }

      .nav.scrolled .nav-inner {
        height: 56px
      }

      .brand-logo {
        width: 42px;
        height: 42px
      }

      .hero {
        padding-top: 40px
      }
    }

    @media (max-width:390px) {
      .nav-inner {
        height: 60px
      }

      .nav.scrolled .nav-inner {
        height: 54px
      }

      .brand-logo {
        width: 38px;
        height: 38px
      }

      .hero {
        padding-top: 72px
      }
    }

    /* ---------- Equal space above and below the banner text ----------
       The banner centres its text in whatever is left after its own top
       padding, so the text is only centred in the visible area if that padding
       equals the bar it is clearing. It did not: 40px against a 65px bar at
       414px, 72px against 61px at 320px — so the space above the eyebrow and
       the space under the last line came out different (29px and 62px at
       414x520). The padding now matches the bar at each step (its height plus
       the 1px rule under it), and the text's own padding is the same top and
       bottom, so the two spaces are equal. */

    @media (max-width:850px) {
      .hero {
        padding-top: 73px
      }

      .hero-content {
        padding: 8px 0
      }
    }

    @media (max-width:560px) {
      .hero {
        padding-top: 65px
      }
    }

    @media (max-width:390px) {
      .hero {
        padding-top: 61px
      }

      .hero-content {
        padding: 6px 0
      }
    }

    /* ---------- Top line on tablets and phones ----------
       The studio name and town on the left of the top line was hidden outright
       at 850px and below, leaving only "Email Irene". It is shown again. The
       two together need about 440px, so above that they share the line as on
       desktop; below it they stack, centred, and the strip grows to two lines
       rather than either one being cut off. */

    @media (max-width:850px) {
      .topline .wrap span:first-child {
        display: inline
      }

      .topline .wrap {
        gap: 16px
      }
    }

    @media (max-width:480px) {
      .topline {
        font-size: .68rem;
        letter-spacing: .05em
      }

      .topline .wrap {
        height: auto;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding-top: 7px;
        padding-bottom: 7px;
        text-align: center
      }
    }

    /* Between the phone steps above and the desktop bar, a tablet still had the
       full 92px bar around a 50px logo — 21px of empty band above and below
       it. The bar comes down to 72px there, leaving 11px either side. */

    @media (min-width:561px) and (max-width:850px) {
      .nav-inner {
        height: 72px
      }

      .nav.scrolled .nav-inner {
        height: 64px
      }
    }

    /* .recognition-head caps the whole block at 720px, which is a sensible
       measure for the paragraph but forces the heading to wrap — "Work that is
       seen and recorded" needs about 900px at the section-title size on a wide
       screen. The cap moves to the paragraph, so the heading can use the width
       it has and the body copy keeps its line length. */

    .recognition-head {
      max-width: none
    }

    .recognition-head p {
      max-width: 720px
    }

    /* The band's label is a .method-label — the small label from the contact
       method cards — while every other section on the page introduces itself
       with .eyebrow: .72rem, bold, .2em tracking. That is why this one reads as
       smaller and fainter. Matched to the eyebrow scale. */

    .resource-band .method-label {
      font-size: .72rem;
      font-weight: bold;
      letter-spacing: .2em
    }

    /* The article's lead paragraph carries 36px below it, on top of the body
       paragraphs' own 26px rhythm — so the join between the lead and the piece
       is half again as open as the gaps between paragraphs that follow it. */

    .prose > .lead {
      margin-bottom: 10px
    }

    .prose p {
      margin-bottom: 20px
    }

    /* The article's lead paragraph is the one piece of body copy still on its
       own colour: .prose > .lead uses --sage-deep (#415662, a blue-grey), while
       every other paragraph resolves to --body (#5d6a63, green-grey) since the
       colours were unified. Its larger size is distinction enough. */

    .prose > .lead {
      color: var(--body)
    }

    /* Both gaps around the article footer are its own margins: 56px above the
       rule (on top of the last paragraph's 20px) and 30px below it, then the
       author card adds a further 50px. Trimmed so the tag row reads as the end
       of the article rather than a separate block. */

    .article-foot {
      margin-top: 28px;
      padding-top: 20px
    }

    .author {
      margin-top: 28px
    }

    /* ---------- Three more, all the same shape ----------
       1. The newsletter fields carry 14px of padding above the placeholder on
          top of the label's own 8px margin, so the label floats well clear of
          the field it names. Same treatment the contact fields already got.
       2. The article hero is bottom-aligned inside a 660px min-height at
          desktop with 170px/96px of content padding — the unused height shows
          as a band above the breadcrumb, and the padding as one below the meta.
          Both come down together, as they did for the home banner.
       3. The author card still sat 28px below the share row. */

    .news-form label {
      margin: 0 0 5px
    }

    .news-form input {
      padding: 9px 2px;
      line-height: 1.4
    }

    .news-form .ap-error {
      margin-top: 5px
    }

    @media (min-width:1101px) {
      .article-hero,
      .page-interior .article-hero {
        min-height: 480px
      }

      .blog-hero-content,
      .article-hero-content,
      .page-interior .article-hero-content {
        padding: 138px 0 56px
      }
    }

    .author {
      margin-top: 20px
    }

    /* The menu button is a 44px square with 22px bars, sized for the tap target
       rather than the mark. At 320px that reads as heavy beside the brand, so
       the button and its bars come down — 36px still clears a comfortable tap
       area. The bar positions are restated because they are absolute offsets
       inside the button, not proportions of it. */

    @media (max-width:560px) {
      .menu {
        width: 36px;
        height: 36px
      }

      .menu:before,
      .menu:after {
        left: 8px;
        right: 8px
      }

      .menu:before {
        top: 11px;
        box-shadow: 0 6px 0 #fff
      }

      .menu:after {
        bottom: 11px
      }
    }

    /* #pricing .star is sized for the asterisk beside the amount — 37px — but
       the same class marks the footnote it refers to, so that paragraph carried
       a 37px glyph and the tall line box that comes with it. That is most of
       the gap under the inclusions. The large treatment belongs to the price
       only; in the footnote the star sits at the text's own size. */

    #pricing .price-card p .star {
      font-size: .78rem;
      top: 0;
      left: 0;
      margin-left: 0;
      margin-right: 3px
    }

    .price-card ul + p,
    #pricing .price-card p {
      margin-top: 10px
    }

    /* ---------- Home schedule rows: date and time together ----------
       Stacked, the four cells fall as date | name / time | — so when the name
       wraps to two or three lines the first row is as tall as the name, and the
       time, sitting in the row below it, drifts well clear of the date it
       belongs with.

       Placing the name across both rows and sizing the second row to the
       remaining space puts the time directly under the date. The column is
       widened a little so a full time range still fits on one line there. */

    @media (max-width:850px) {
      .schedule-item {
        grid-template-columns: 120px 1fr;
        grid-template-rows: min-content 1fr
      }

      .schedule-date {
        grid-column: 1;
        grid-row: 1
      }

      .schedule-name {
        grid-column: 2;
        grid-row: 1 / span 2
      }

      .schedule-time {
        grid-column: 1;
        grid-row: 2;
        align-self: start
      }
    }

    /* Closing the last of the label-to-field gap: the label's bottom margin and
       the field's own top padding are all that sit between them. */

    .contact-card label {
      margin: 6px 0 2px;
      line-height: 1.3
    }

    .contact-card input,
    .contact-card textarea {
      padding: 6px 2px
    }

    /* .field-row's 15px (18px on the Contact page) is the gutter between two
       half-width fields sitting side by side. Once the row collapses to one
       column it becomes a row gap instead, stacked on the label's own margin —
       so a paired field sits further from the one above it than an unpaired
       field does. Only the column gap is wanted, so the row gap goes. */

    @media (max-width:850px) {
      .field-row {
        row-gap: 0
      }
    }

    /* The Contact page form is different: its labels carry only a bottom
       margin, so with no row gap a stacked pair ran together — Phone's input
       sat right on the Subject label, and Name's error message on the Email
       label. It keeps the same 18px that .contact-fields puts between every
       other field, wherever the row happens to stack. */

    .contact-form .field-row {
      row-gap: 18px
    }

    /* The address sits 12px under its "Studio address" label but had 30px
       under it before the rule that opens the facts list, so it read as
       belonging to the label and drifting away from the details it heads. The
       space beneath comes down to 20px, and 16px on a phone where the address
       itself is set smaller. */

    .map-facts {
      margin-top: 20px
    }

    @media (max-width:480px) {
      .map-facts {
        margin-top: 16px
      }
    }

    /* .map-aside is a flex column, so its children stretch to the full width by
       default — the button is not set to 100%, it simply has nowhere else to
       stop. Aligning it to the start lets it size to "Get directions". The
       phone rule that does set width: 100% carries three classes and still
       wins, so a narrow screen keeps the full-width tap target. */

    .map-aside .btn {
      align-self: flex-start;
      width: auto
    }

    /* ---------- Tuition grid keeps two columns on a small laptop ----------
       The grid stacks at 1100px, and the card is capped at 460px — so from 861
       to 1100 the card sits in a full-width row it cannot fill, and whatever is
       done with the leftover (left, or centred as it was) it still reads as
       empty panel beside the card.

       There is room for the original two columns here: at 991px the 1.2/.8
       split gives roughly 546px for the inclusions and 364px for the card, both
       comfortable. Nothing is left over, so there is no space to manage. Below
       861 it stacks and the card fills the width instead. */

    @media (min-width:861px) and (max-width:1100px) {
      .tuition-grid {
        grid-template-columns: 1.2fr .8fr;
        gap: 36px;
        align-items: start
      }

      .tuition-card {
        position: static;
        max-width: none;
        margin: 0;
        padding: 28px 24px 26px
      }
    }

    /* Stacked on a tablet the card filled the whole row — 728px wide at 768px
       for a price and three short facts, with each label and its value pushed
       to opposite edges. Between the phone layout and the two-column one it is
       capped at 520px and centred under the inclusions. */

    @media (min-width:561px) and (max-width:860px) {
      .tuition-card,
      .page-interior .tuition-card {
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto
      }
    }

    /* ---------- Calendar rows on phones ----------
       The 850px stacking rules further up span the date across two grid rows
       and put the time in column 2. Below 640px the grid is a single column, so
       those placements created an implicit second column: the name and time were
       squeezed against the date with no gap and the right edge was left ragged.
       On phones every part sits in one left-aligned column with even spacing —
       date and weekday on one line, then the name, its tag, and the time. */

    @media (max-width:640px) {
      .cal-event {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 6px;
        padding: 16px 12px 16px 18px
      }

      .cal-event:before {
        top: 16px;
        bottom: 16px
      }

      .cal-date,
      .cal-name,
      .cal-time {
        grid-column: 1;
        grid-row: auto;
        min-width: 0;
        text-align: left
      }

      .cal-date {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 2px 10px;
        line-height: 1.35
      }

      .cal-date small {
        display: inline;
        margin: 0
      }

      .cal-name {
        line-height: 1.35;
        overflow-wrap: anywhere
      }

      .cal-tag {
        display: block;
        width: fit-content;
        margin: 8px 0 2px
      }

      .cal-time {
        line-height: 1.4
      }

      .cal-month-head {
        gap: 10px;
        padding-bottom: 10px
      }

      .cal-month-head h3 span {
        margin-left: 4px
      }
    }

    /* ---------- Section headings that wrap ----------
       A heading that runs just past one line left a single word stranded on
       the second — "Music Lessons that build skill, confidence, and" / "joy" on
       the home page's Tuition heading at tablet widths. Balancing the lines
       evens them out, so the break falls at a natural point instead. Browsers
       without support simply keep the normal wrapping. */

    .section-title {
      text-wrap: balance
    }

    /* ---------- Topline email link ----------
       "Email Irene" gave no sign it was a link when hovered. It takes the gold
       the footer and menu links use, with an underline for keyboard focus too. */

    .topline a {
      transition: color .25s
    }

    .topline a:hover,
    .topline a:focus-visible {
      color: var(--gold);
      text-decoration: underline;
      text-underline-offset: 3px
    }

    /* ---------- Home contact email link ----------
       The address under "Contact or Schedule a Meet & Greet" gave no hover
       feedback. It sits on the light cream ground, where the topline's gold is
       too faint to read, so it takes the rust accent the headings use. */

    .contact-list a {
      width: fit-content;
      transition: color .25s
    }

    .contact-list a:hover,
    .contact-list a:focus-visible {
      color: var(--rose);
      text-decoration: underline;
      text-underline-offset: 3px
    }

    /* ---------- Hero fade kept below the text ----------
       .article-hero:after fades the banner into the cream page over 150px, but
       the content's bottom padding was later trimmed to 56-82px. The fade rose
       well past it and washed out the lead paragraph — white text on a pale
       ground. The fade now fits inside that padding at every width, so the
       image stays dark behind all of the text and only lightens beneath it. */

    .article-hero:after {
      height: 56px
    }

    @media (min-width:851px) and (max-width:1100px) {
      .article-hero:after {
        height: 80px
      }
    }

    @media (min-width:561px) and (max-width:850px) {
      .article-hero:after {
        height: 60px
      }
    }

    @media (max-width:560px) {
      .article-hero:after {
        height: 36px
      }
    }

    @media (max-width:390px) {
      .article-hero:after {
        height: 30px
      }
    }

    /* ---------- Article "On this page" links ----------
       The sidebar links jump to the article's h2 ids, but the header is fixed
       once the page scrolls, so the browser parked each heading underneath the
       72px bar — the section looked as if it had been skipped past. The offset
       leaves the heading in full view just below the bar, with a little air. */

    .prose [id] {
      scroll-margin-top: 104px
    }

    @media (max-width:850px) {
      .prose [id] {
        scroll-margin-top: 84px
      }
    }

    /* The "On this page" link for the section being read, set by theme.js when
       a link is clicked and as the reader scrolls. Same look as its hover. */

    .toc a.active {
      color: var(--rose);
      border-color: var(--gold);
      padding-left: 22px
    }

    /* ---------- Buttons that flickered at their edges ----------
       .btn and the article share icons rose 2-3px on hover with a transform.
       Hit-testing follows the transformed box, so with the pointer resting on
       the bottom edge the button lifted out from under it, lost :hover, dropped
       back under the pointer, regained :hover — and flickered continuously.
       The box now stays put; a soft shadow gives the same sense of lift without
       moving the area the pointer is over. */

    .btn:hover,
    .share a:hover {
      transform: none
    }

    .btn {
      transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s
    }

    .btn:hover {
      box-shadow: 0 8px 18px -8px rgba(12, 17, 20, .45)
    }

    .share a:hover {
      box-shadow: 0 6px 14px -6px rgba(12, 17, 20, .4)
    }

    /* ---------- Article sidebar CTA button once stacked ----------
       .widget-cta .btn is full width to fill the narrow desktop sidebar. Once
       the sidebar drops under the article it runs the width of the screen, and
       the button became a long bar far wider than "Begin lessons" needs. Below
       850px it sizes to its label and sits centred in the panel. */

    @media (max-width:850px) {
      .widget-cta {
        text-align: center
      }

      .widget-cta .btn {
        display: flex;
        width: fit-content;
        min-width: 200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 30px;
        padding-right: 30px
      }
    }

    /* ---------- Journal card footer ----------
       The "4 min read / Read" row has 16px between its rule and its text, but
       the card then left 30px under that text — nearly double, so the row
       looked as if it were floating above an empty band. The bottom padding
       comes in to 20px so the row sits evenly between its rule and the edge. */

    .post-body {
      padding-bottom: 20px
    }

    /* ---------- Article sidebar widgets on phones ----------
       Below 980px the widgets sit in a wrapping row, each with flex: 1 1 280px.
       Below 560px the sidebar turns into a column, and in a column that 280px
       basis became a minimum height — the "Ready to begin?" panel, which needs
       far less, was padded out with an empty band under its button. Stacked,
       each widget is only as tall as its content. */

    @media (max-width:560px) {
      .sidebar .widget {
        flex: 0 0 auto
      }
    }

    /* ---------- Author card name ----------
       The author card sits inside .prose, whose article-heading rule
       (.prose h4 { margin: 36px 0 12px }) comes later than .author h4 and
       overrode it — a 36px gap between "Your instructor" and the name. The card
       keeps its own tight spacing. */

    .prose .author h4 {
      margin: 0 0 8px
    }

    /* ---------- Contact page field labels ----------
       The labels were .66rem (about 10.5px) over 16px fields, so a label read
       as a footnote to the placeholder beneath it. The fields stay at 16px —
       smaller text makes iOS zoom the page on focus — and the labels come up
       to .8rem, with the tracking eased so the uppercase stays compact. */

    .contact-form label {
      font-size: .8rem;
      letter-spacing: .12em
    }

    .contact-form input,
    .contact-form textarea {
      font-size: 1rem
    }

    /* ---------- Menu button width ----------
       44px above 768px; 768px and below use the narrower 32px button. Placed
       last so it also wins over the 36px set at 560px. */

    @media (max-width:768px) {
      .menu {
        width: 32px
      }
    }
