/* Drury Lane Music — static rebuild of the Wix site.
   Colors and fonts were sampled from the live site. */
:root {
  --navy: #193669;
  --navy-dark: #12284f;
  --gold: #c9a84c;
  --gold-light: #e2c873;
  --ink: #242323;
  --muted: #5d5d5d;
  --paper: #ffffff;
  --mist: #f7f7f7;
  --line: #d9dde6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.1; margin: 0 0 .4em; color: var(--navy); }
h1 { font-size: clamp(48px, 8vw, 98px); }
h2 { font-size: clamp(38px, 5.5vw, 70px); }
h3 { font-size: 28px; font-weight: 400; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 247, .97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 58px; height: 58px; }
.brand span { font-family: var(--serif); font-size: 24px; color: var(--navy); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; font-family: var(--sans); font-size: 14px; }
.nav a { color: #404040; text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.nav .has-sub { position: relative; }
.nav .has-sub > button {
  font: inherit; color: #404040; background: none; border: 0; padding: 6px 0; cursor: pointer;
}
.nav .has-sub > button::after { content: " ▾"; font-size: 11px; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 190px;
  background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; list-style: none; margin: 0;
}
.nav .sub a { display: block; padding: 8px 16px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { display: block; }
.header-extras { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 14px; }
.header-extras .phone { color: #000; text-decoration: none; white-space: nowrap; }
.social { display: flex; gap: 10px; }
.social a { display: inline-flex; color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 14px; letter-spacing: .02em;
  background: var(--navy); color: #fff; text-decoration: none; border: 1px solid var(--navy);
  padding: 11px 26px; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-dark); }
.btn-outline { background: #fff; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Home ---------- */
.hero {
  min-height: min(calc(100svh - var(--header-h)), 720px);
  display: grid; place-items: center; text-align: center; color: #fff;
  background: #0d1b36 url("../images/hero-marble.jpg") center / cover no-repeat;
  padding: 80px 16px;
}
.hero h1 { color: #fff; font-size: clamp(54px, 9vw, 102px); margin-bottom: .3em; }
.hero p { font-style: italic; font-size: clamp(26px, 3.5vw, 45px); margin: 0; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.band { background: var(--navy); color: #fff; padding: 36px 0; text-align: center; }
.band h2 { color: #fff; margin: 0; font-size: clamp(42px, 6vw, 88px); }

.specialties { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; text-align: center; }
.specialty img { width: 212px; height: 212px; object-fit: cover; border-radius: 50%; margin: 0 auto 24px; }
.specialty h3 { font-size: 40px; font-weight: 300; line-height: 1.15; min-height: 2.3em; margin-bottom: 24px; }

.testimonials { position: relative; max-width: 900px; margin: 0 auto; text-align: center; padding: 0 56px; }
.testimonials .quote-mark { font-size: 72px; line-height: 1; color: var(--navy); height: 48px; }
.testimonial { display: none; }
.testimonial.active { display: block; }
.testimonial blockquote { margin: 0; font-size: 25px; line-height: 1.5; }
.testimonial blockquote p:last-child { margin-bottom: 0; }
.testimonial cite { display: block; margin-top: 24px; font-style: normal; font-size: 20px; color: var(--navy); }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0;
  font-size: 40px; color: var(--navy); cursor: pointer; padding: 8px; line-height: 1;
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--navy); background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--navy); }

.meet { display: grid; grid-template-columns: 1fr 1fr; gap: 0; height: clamp(560px, 62vw, 800px); }
.meet .panel { background: var(--navy); color: #fff; padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.meet .panel h2 { color: #fff; font-size: clamp(48px, 6vw, 88px); }
.meet .panel .sub { font-size: 28px; font-style: italic; margin-bottom: 1.2em; }
.meet .panel p { font-size: 21px; }
.meet .photo { position: relative; overflow: hidden; }
.meet .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }

.full-bleed img { width: 100%; height: 533px; object-fit: cover; }

.portal { text-align: center; }
.portal h2 { font-size: clamp(38px, 5vw, 64px); }
.portal .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.contact-grid > img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.contact-grid h2 { font-size: clamp(48px, 6vw, 88px); }
.mms-form { min-height: 320px; }
.mms-form iframe { width: 100%; border: 0; }

/* ---------- Instagram + footer ---------- */
.insta-band {
  background: linear-gradient(100deg, #b8902f 0%, var(--gold) 35%, var(--gold-light) 60%, var(--gold) 100%);
  padding: 22px 0; text-align: center;
}
.insta-band a { font-family: var(--serif); font-weight: 600; letter-spacing: .25em; font-size: 17px; color: var(--navy); text-decoration: none; text-transform: uppercase; }
.insta-band a:hover { text-decoration: underline; }
.site-footer { background: var(--navy); color: #fff; font-family: var(--sans); font-size: 14px; text-align: center; padding: 28px 16px; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

/* ---------- Lesson pages ---------- */
.lesson-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lesson-intro img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; }
.lesson-intro .kicker, .first-lesson .kicker { font-size: 28px; font-style: italic; color: var(--navy); margin-bottom: 1em; }
.first-lesson { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.first-lesson img { width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; }
.first-lesson h2 { font-size: clamp(44px, 5vw, 67px); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .land { grid-column: span 3; aspect-ratio: 3 / 2; }
.gallery .port { grid-column: span 2; aspect-ratio: 2 / 3; }
.cta { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: center; background: var(--mist); padding: 48px; }
.cta h2 { font-size: clamp(30px, 3.4vw, 38px); }
.cta .sub { font-size: 30px; font-style: italic; color: var(--navy); margin-top: 1.2em; }
.cta img { width: 330px; height: 411px; object-fit: cover; }

/* ---------- Pricing ---------- */
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 820px; margin: 40px auto; text-align: center; }
.price-cols h3 { font-family: var(--sans); letter-spacing: .15em; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.price-cols p { margin: .3em 0; font-size: 20px; }
.calendar-embed { width: 100%; height: 760px; border: 0; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
.service { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.service img { width: 100%; aspect-ratio: 310 / 282; object-fit: cover; }
.service div { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service h3 { font-size: 26px; margin-bottom: .3em; }
.service p { font-family: var(--sans); font-size: 15px; color: var(--muted); flex: 1; }
.service .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 28px; }
.faq-item { display: grid; grid-template-columns: 1fr 1fr; height: 340px; }
.faq-item:nth-child(even) .faq-text { order: 2; }
.faq-text { background: var(--navy); color: #fff; padding: 36px 48px; display: flex; flex-direction: column; justify-content: center; }
.faq-text h2 { color: #fff; font-size: clamp(32px, 3.5vw, 44px); }
.faq-text a { color: var(--gold-light); }
.faq-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact page ---------- */
.contact-cards { background: var(--navy); color: #fff; padding: 56px 0; }
.contact-cards .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.contact-cards h2 { color: #fff; font-size: 24px; font-weight: 400; margin-bottom: .3em; }
.contact-cards p, .contact-cards a { font-family: var(--sans); font-size: 15px; color: #fff; margin: 0; }
.contact-cards svg { width: 26px; height: 26px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; margin-bottom: 8px; }
.contact-cards .social svg { fill: #fff; stroke: none; width: 22px; height: 22px; }
.contact-cards .social { justify-content: center; }
.map iframe { width: 100%; height: 457px; border: 0; display: block; }
.split-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.promo { background: var(--mist); padding: 48px; text-align: center; }
.promo h2 { font-size: clamp(30px, 3.5vw, 56px); }

/* ---------- Grace's Picks ---------- */
.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 48px; text-align: center; }
.pick img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin: 0 auto 18px; }
.pick h3 { margin-bottom: .2em; }
.pick p { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* ---------- Blog ---------- */
.posts { display: grid; gap: 32px; max-width: 900px; margin: 40px auto 0; }
.post-card { display: grid; grid-template-columns: 300px 1fr; border: 1px solid var(--line); background: #fff; }
.post-card img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.post-card .body { padding: 28px 32px; }
.post-card .meta, .post .meta { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.post-card h2 { font-size: 34px; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card.no-image { grid-template-columns: 1fr; }
.post { max-width: 760px; margin: 0 auto; }
.post img { margin: 24px 0; }

/* ---------- Student login ---------- */
.portal-page { text-align: center; }
.portal-page iframe { width: 100%; max-width: 380px; height: 560px; border: 0; margin: 24px auto 0; display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-title { text-align: center; padding: 72px 0 24px; }
.page-title h1 { font-size: clamp(44px, 6vw, 74px); }
.page-title p { font-style: italic; font-size: 24px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .header-extras .phone { display: none; }
  .specialties { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  body { font-size: 19px; }
  .brand img { width: 48px; height: 48px; }
  .menu-toggle { display: block; order: 3; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .nav.open { display: flex; }
  .nav a, .nav .has-sub > button { padding: 12px 0; border-bottom: 1px solid #eee; display: block; width: 100%; text-align: left; }
  .nav .sub { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; }
  .nav .has-sub > button::after { content: ""; }
  .header-extras .social { display: none; }
  .header-extras .btn { padding: 9px 14px; font-size: 13px; }
  .section { padding: 56px 0; }
  .meet { height: auto; }
  .meet .photo { aspect-ratio: 4 / 5; max-height: 560px; }
  .faq-item { height: auto; }
  .meet, .lesson-intro, .first-lesson, .contact-grid, .faq-item, .split-promo, .cta { grid-template-columns: 1fr; }
  .meet .panel { padding: 56px 24px; }
  .faq-item:nth-child(even) .faq-text { order: 0; }
  .faq-item img { aspect-ratio: 3 / 2; height: auto; }
  .contact-grid > img { max-height: 360px; }
  .cta { padding: 32px 24px; text-align: center; }
  .cta img { margin: 0 auto; width: 100%; max-width: 330px; height: auto; aspect-ratio: 330 / 411; }
  .full-bleed img { height: 300px; }
  .contact-cards .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .picks { grid-template-columns: repeat(2, 1fr); }
  .post-card { grid-template-columns: 1fr; }
  .post-card img { max-height: 260px; }
  .price-cols { grid-template-columns: 1fr; gap: 24px; }
  .calendar-embed { height: 600px; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .specialties, .services, .picks, .contact-cards .wrap { grid-template-columns: 1fr; }
  .testimonials { padding: 0 36px; }
  .testimonial blockquote { font-size: 21px; }
  .slider-btn { font-size: 32px; }
  .gallery { gap: 8px; }
  .gallery .land { grid-column: span 6; }
  .faq-text, .promo { padding: 32px 24px; }
}
