@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/CormorantSC-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #191714;
  --paper: #f5f0e7;
  --cream: #fffaf1;
  --warm: #e8ddcb;
  --red: #c84029;
  --red-bright: #e33b22;
  --gold: #d3aa57;
  --muted: #756e64;
  --line: rgba(25, 23, 20, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --smallcaps: "Cormorant SC", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem clamp(1rem, 4vw, 4.5rem);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: min-height 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled,
.site-header-solid {
  min-height: 70px;
  color: var(--ink);
  background: rgba(245, 240, 231, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(25, 23, 20, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-family: var(--smallcaps);
  font-size: 1.22rem;
  letter-spacing: 0.035em;
}

.brand small {
  margin-top: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.site-nav a,
.nav-contact {
  position: relative;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.68rem 1rem;
  border: 1px solid currentColor;
  transition: color 180ms ease, background 180ms ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.site-header:not(.is-scrolled):not(.site-header-solid) .nav-contact:hover,
.site-header:not(.is-scrolled):not(.site-header-solid) .nav-contact:focus-visible {
  color: var(--ink);
  background: #fff;
}

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

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media {
  background: url("../images/piano-recital.webp") center 40% / cover no-repeat;
  transform: scale(1.035);
  animation: hero-settle 1.8s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.68) 43%, rgba(12, 11, 10, 0.12) 76%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.78) 0%, transparent 45%);
}

.hero-content {
  width: min(810px, 88vw);
  margin: 0 0 clamp(5.5rem, 12vh, 9rem) clamp(1.3rem, 8vw, 8rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c06b;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
}

h1 {
  max-width: 780px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.25rem, 7vw, 7.2rem);
  letter-spacing: -0.045em;
}

h1 em {
  color: #f0cf8b;
  font-weight: 400;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #a92f1d;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--ink);
  background: #fff;
}

.button-light {
  color: var(--ink);
  background: var(--cream);
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
}

.scroll-cue {
  position: absolute;
  right: clamp(1.3rem, 4vw, 4rem);
  bottom: 2rem;
  display: grid;
  width: 42px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
}

.scroll-cue span {
  width: 3px;
  height: 10px;
  background: #fff;
  border-radius: 99px;
  animation: scroll-cue 1.7s ease infinite;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.3rem, 8vw, 8rem);
}

.introduction,
.about {
  display: grid;
  grid-template-columns: 70px minmax(260px, 0.9fr) minmax(300px, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: start;
}

.section-number {
  color: var(--red);
  font-family: var(--smallcaps);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.section-heading h2,
.recital-copy h2,
.development-intro h2,
.contact-copy h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  letter-spacing: -0.04em;
}

.intro-copy,
.about-content {
  max-width: 700px;
  padding-top: 2.4rem;
  color: #4e4942;
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
}

.intro-copy p:first-child {
  color: var(--ink);
  font-size: 1.22em;
}

.section-dark {
  color: #fff;
  background: var(--ink);
}

.programs .section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(300px, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.programs .section-heading h2 {
  max-width: 900px;
}

.program-grid {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(3, 1fr);
}

.program-card {
  min-height: 310px;
  padding: 2rem clamp(1.2rem, 2.5vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 240ms ease, transform 240ms ease;
}

.program-card:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.program-card:hover {
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-6px);
}

.card-index {
  display: block;
  margin-bottom: 5rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

.program-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.program-card p {
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.94rem;
}

.recitals {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.recital-image {
  position: relative;
}

.recital-image::before {
  position: absolute;
  z-index: -1;
  top: -1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  left: -1.2rem;
  content: "";
  border: 1px solid var(--red);
}

.recital-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.recital-copy p {
  color: #5d574f;
}

.text-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, -3px);
}

.development {
  color: #fff;
  background: #70291f;
}

.development .eyebrow {
  color: #f4c57a;
}

.development-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 7rem);
}

.development-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.development-intro h2 {
  max-width: 650px;
}

.development-intro > p:last-child {
  max-width: 640px;
  padding-top: 1rem;
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
}

.application-grid {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1.2fr 0.8fr;
}

.application-card {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 3.2rem);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.application-card:hover {
  z-index: 1;
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(29, 11, 8, 0.2);
}

.application-card-featured {
  color: #fff;
  background: var(--ink);
}

.app-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-status,
.app-kicker,
.app-note {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-status {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
}

.app-arrow {
  font-size: 1.8rem;
}

.app-kicker {
  margin-bottom: 1rem;
  color: var(--red);
}

.application-card-featured .app-kicker {
  color: var(--gold);
}

.application-card h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(3rem, 6vw, 6.4rem);
  letter-spacing: -0.05em;
}

.application-card:not(.application-card-featured) h3 {
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}

.application-card p {
  max-width: 690px;
  color: #5c564e;
}

.application-card-featured p {
  color: rgba(255, 255, 255, 0.69);
}

.feature-list {
  display: grid;
  padding: 1.4rem 0;
  margin: 1rem 0 2rem;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  gap: 0.8rem 1.5rem;
  grid-template-columns: 1fr 1fr;
}

.feature-list li {
  font-size: 0.8rem;
  font-weight: 700;
}

.feature-list li::before {
  margin-right: 0.55rem;
  color: var(--gold);
  content: "•";
}

.app-note {
  color: var(--red);
}

.section-warm {
  background: var(--warm);
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 700px;
  color: #5d574f;
  font-size: 1.05rem;
}

.contact-details {
  padding: 2rem 0 0 2rem;
  font-style: normal;
  border-left: 1px solid var(--line);
}

.contact-details p {
  color: #5d574f;
}

.contact-details strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
}

.site-footer {
  display: grid;
  padding: 3rem clamp(1.3rem, 8vw, 8rem) 2rem;
  color: #fff;
  background: var(--ink);
  gap: 2.5rem;
  grid-template-columns: 1fr auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 52px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  font-family: var(--smallcaps);
  font-size: 1.25rem;
}

.footer-brand span,
.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal:nth-child(2) {
  transition-delay: 80ms;
}

.hero .reveal:nth-child(3) {
  transition-delay: 160ms;
}

.hero .reveal:nth-child(4) {
  transition-delay: 240ms;
}

.legal-page {
  background: var(--cream);
}

.legal-content {
  width: min(760px, calc(100% - 2.6rem));
  min-height: calc(100vh - 160px);
  padding: 10rem 0 6rem;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  font-size: 1.65rem;
}

.legal-content p {
  color: #4f4942;
}

.legal-date {
  margin-bottom: 3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-page > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-form {
  position: relative;
  display: grid;
  margin-top: 2.5rem;
  gap: 0.65rem;
}

.contact-form label {
  margin-top: 0.8rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 64, 41, 0.13);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  margin-top: 1.2rem;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding: 1rem 1.2rem;
  margin: 2rem 0;
  border-left: 4px solid;
}

.form-notice p,
.form-notice ul {
  margin-bottom: 0;
}

.form-success {
  color: #174f38;
  background: #e5f4ed;
  border-color: #2d7858;
}

.form-error {
  color: #76291f;
  background: #faeae7;
  border-color: var(--red);
}

.site-footer-compact {
  display: block;
  text-align: center;
}

.site-footer-compact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.1); }
  to { opacity: 1; transform: scale(1.035); }
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.35; transform: translateY(-7px); }
  50% { opacity: 1; transform: translateY(7px); }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: grid;
    padding: 1.5rem;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(25, 23, 20, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .introduction,
  .about {
    grid-template-columns: 42px 1fr;
  }

  .intro-copy,
  .about-content {
    grid-column: 2;
    padding-top: 0;
  }

  .programs .section-heading,
  .development-intro {
    grid-template-columns: 1fr;
  }

  .development-intro .eyebrow {
    grid-column: auto;
  }

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

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

  .application-card {
    min-height: 520px;
  }
}

@media (max-width: 650px) {
  .brand small {
    display: none;
  }

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

  .hero-content {
    width: calc(100% - 2.6rem);
    margin-right: 1.3rem;
    margin-left: 1.3rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 11, 10, 0.86), rgba(12, 11, 10, 0.35)),
      linear-gradient(0deg, rgba(12, 11, 10, 0.86) 0%, rgba(12, 11, 10, 0.25) 70%);
  }

  .scroll-cue {
    display: none;
  }

  .introduction,
  .about {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .about-content {
    grid-column: auto;
  }

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

  .program-card,
  .program-card:first-child {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .card-index {
    margin-bottom: 2.5rem;
  }

  .application-card {
    min-height: 560px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

  .contact-details {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
