/* =========================================================================
   Forte Piano Academy
   Font: system UI stack everywhere (no web fonts, no "designer" typeface).
   Hero: two clean panes — text LEFT, piano RIGHT.
   Palette: muted coral #E8836F, piano-brown accents, warm paper / near-black.
   ========================================================================= */

:root {
  --coral:      #E8836F;
  --coral-dark: #d0684f;
  --ink:        #1a120c;   /* warm near-black */
  --ink-2:      #2a1d14;
  --brown:      #4A2C1A;
  --text:       #201812;
  --muted:      #6c625b;
  --paper:      #f7f2ee;   /* warm off-white */
  --line:       #e4dad2;

  /* body: neutral system sans.
     headings: Instrument Serif (option 06) everywhere EXCEPT the three spots
     that keep Italiana (option 04): the Piano/Piano/Voice rows, the
     "Book your first lesson." heading, and the contact email. */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --italiana: "Italiana", Georgia, "Times New Roman", serif;
  --cormorant: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --shell: 1200px;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Both faces ship a single weight (400) — never ask for bold, it synthesises badly. */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

.display { font-family: var(--serif); font-weight: 400; line-height: 1.0; letter-spacing: -.02em; font-size: clamp(34px, 5.4vw, 62px); margin: 0; }

/* option 20 Tenor Sans — the About and Lessons headings only */
.display--03 { font-family: "Tenor Sans", sans-serif; font-weight: 400; font-size: clamp(24px, 2.7vw, 42px); line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; }
.display--03 .l1 { display: block; }
.display--03 .l2 { display: block; font-style: normal; color: var(--coral); }

/* the one heading that keeps Italiana */
.contact__intro .display { font-family: var(--italiana); line-height: 1.42; letter-spacing: .16em; text-transform: uppercase; font-size: clamp(21px, 3.1vw, 38px); }
.display--light { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 600; color: var(--coral); margin: 0 0 16px; }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: var(--font); font-weight: 600; font-size: 15px;
  text-decoration: none; padding: 15px 30px; border-radius: 3px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

/* =========================================================================
   HEADER — transparent over light hero
   ========================================================================= */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--coral); font-size: 22px; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -.01em; }
.brand__sub { font-family: var(--font); font-weight: 600; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .55; margin-left: 4px; }

.nav__menu { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav__menu a { text-decoration: none; color: rgba(32,24,18,.78); font-size: 15px; font-weight: 500; }
.nav__menu a:hover { color: var(--ink); }
.nav__cta { border: 1.5px solid rgba(32,24,18,.25); padding: 9px 20px; border-radius: 3px; }
.nav__cta:hover { border-color: var(--coral); color: var(--coral) !important; }
.nav__toggle { display: none; }

/* =========================================================================
   HERO — two panes: text left, piano right
   ========================================================================= */
.hero {
  position: relative; overflow: hidden;
  background: var(--paper);
  padding-top: 84px;
}
.hero__inner {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; min-height: calc(min(92vh, 820px) - 84px);
  padding-block: clamp(28px, 5vw, 56px);
}
/* LEFT pane — the motto block */
.hero__text { max-width: 560px; }
.hero__kicker { text-transform: uppercase; letter-spacing: .24em; font-size: 12px; font-weight: 600; color: var(--coral); margin: 0 0 22px; }
/* Option 06 — Instrument Serif, minimal, one colour */
.hero__title { font-family: var(--serif); color: var(--ink); font-weight: 400; font-size: clamp(52px, 8.6vw, 108px); line-height: .92; letter-spacing: -.02em; margin: 0; }
.hero__title-accent { display: block; color: var(--ink); opacity: .42; font-style: italic; }
.hero__lede { color: var(--muted); font-size: clamp(16px, 2vw, 20px); max-width: 460px; margin: 26px 0 34px; }

/* RIGHT pane — the painting, shown whole (pane aspect matches the file: 1600x1280) */
.hero__art {
  position: relative;
  aspect-ratio: 1600 / 1280;
  width: 100%;
  background-image: url("../assets/hero.webp");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(45, 24, 16, .55), 0 2px 0 rgba(255,255,255,.6) inset;
}

/* =========================================================================
   ABOUT — asymmetric two-column, ONE font throughout
   ========================================================================= */
.about { padding: clamp(72px, 11vw, 140px) 0; background: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 7vw, 88px); align-items: start; }
.about__lead .display { color: var(--text); }
.about__lead { position: sticky; top: 96px; }
.about__body p { color: var(--text); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6; margin: 0 0 20px; }
.about__body p:last-child { margin-bottom: 0; color: var(--muted); }

/* =========================================================================
   LESSONS — dark band, leader-dotted price list (not cards)
   ========================================================================= */
.lessons { padding: clamp(72px, 11vw, 130px) 0; background: var(--ink); color: #fff; }
.lessons__head { margin-bottom: 48px; }
.rate-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.rate { display: flex; align-items: baseline; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.rate__what { font-family: var(--italiana); font-size: clamp(20px, 2.7vw, 32px); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.rate__len { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); margin-left: 12px; }
.rate__dots { flex: 1; border-bottom: 2px dotted rgba(255,255,255,.22); transform: translateY(-6px); }
.rate__price { font-family: var(--serif); font-size: clamp(26px, 3.3vw, 42px); font-weight: 400; letter-spacing: -.01em; color: var(--coral); white-space: nowrap; }
.lessons__foot { margin: 38px 0 0; color: rgba(255,255,255,.72); font-size: 17px; max-width: 640px; }
.lessons__foot a { color: var(--coral); text-decoration: none; font-weight: 600; white-space: nowrap; }
.lessons__foot a:hover { color: #fff; }

/* =========================================================================
   CONTACT — email only
   ========================================================================= */
.contact { padding: clamp(72px, 11vw, 130px) 0; background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 88px); align-items: start; }
.contact__note { color: var(--muted); font-size: 17px; margin: 22px 0 26px; max-width: 42ch; }
.contact__email { font-family: var(--italiana); font-size: clamp(19px, 2.2vw, 25px); font-weight: 400; letter-spacing: .06em; color: var(--brown); text-decoration: none; }
.contact__email:hover { color: var(--coral); }

.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 8px; }
.form__row label { font-size: 14px; font-weight: 600; color: var(--text); }
.form input, .form textarea {
  font-family: var(--font); font-size: 16px; color: var(--text);
  background: transparent; border: none; border-bottom: 1.5px solid var(--line);
  padding: 10px 2px; transition: border-color .18s ease;
}
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--coral); }
.form textarea { resize: vertical; }
.form__submit { justify-self: start; margin-top: 4px; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: var(--brown); font-weight: 600; }
.form__status.is-err { color: var(--coral-dark); font-weight: 600; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px 40px; }
.footer__inner .footer__email { grid-column: 2; justify-self: center; }
.footer__inner .footer__legal { grid-column: 3; justify-self: end; }
.footer__brand { font-size: 18px; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.footer__brand .brand__mark { color: var(--coral); }
.footer__email { color: rgba(255,255,255,.8); text-decoration: none; }
.footer__email:hover { color: #fff; }
.footer__legal { font-size: 13px; opacity: .6; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__lead { position: static; }
  /* hero stacks: text on top, painting below */
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; min-height: auto; gap: 28px; padding-top: 40px; }
  .hero__art { order: 2; }
}

@media (max-width: 680px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 9px;
  }
  .nav__toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 0; display: none; box-shadow: 0 12px 30px -16px rgba(0,0,0,.4);
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu li { padding: 0 var(--pad); }
  .nav__menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__menu li:last-child a { border-bottom: none; }
  .nav__cta { border: none; text-align: left; }
  .rate { flex-wrap: wrap; gap: 6px 14px; }
  .rate__dots { display: none; }
  .rate__price { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
