/* COLOURS AND FONTS */
:root {
  --paper: #f8f5ef;
  --soft: #efeae2;
  --ink: #292522;
  --muted: #625a53;
  --wine: #702c3b;
  --line: #d9d0c5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

/* BASIC PAGE SETTINGS */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.75 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 5px; }
.dark-section :focus-visible, .contact-section :focus-visible { outline-color: var(--paper); }
img { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
p { margin: 0 0 1.25rem; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1.5rem;
}

h1 { font-size: clamp(3.5rem, 6.6vw, 6rem); letter-spacing: -.045em; line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; letter-spacing: -.02em; }
em { font-weight: 400; }
section[id] { scroll-margin-top: 2rem; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 88px; }
.eyebrow { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.7rem; }
.soft-section { background: var(--soft); }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 12px 20px; background: var(--paper); }
.skip-link:focus { top: 12px; }

/* HEADER AND NAVIGATION */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; flex-direction: column; text-align: center; text-decoration: none; flex-shrink: 0; }
.brand > span { font: 2.35rem/1.1 var(--serif); letter-spacing: -.025em; }
.brand small { font-size: .68rem; letter-spacing: .25em; margin-top: .45rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
nav a { font-size: .9rem; text-decoration: none; padding-block: .6rem; }
nav a:hover { color: var(--wine); }
.nav-enquire { border-bottom: 1px solid var(--wine); }

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 50px;
  padding: .8rem 1.3rem;
  background: var(--wine);
  color: white;
  text-decoration: none;
  font-size: .92rem;
  border: 1px solid var(--wine);
}

.button:hover { background: #54202c; }
.text-link { display: inline-block; padding-block: .6rem; color: var(--wine); }
.text-link span { margin-left: .8rem; }

/* WELCOME SECTION */
.hero { display: grid; grid-template-columns: .95fr 1.15fr; gap: 4rem; align-items: center; padding-block: 76px 82px; }
.intro { max-width: 390px; color: var(--muted); margin-block: 1.8rem 2rem; }
.hero-picture { padding: 18px 0 0 18px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }

/* STUDIO PHOTOGRAPHS */
.photo-frame { position: relative; overflow: hidden; background: var(--soft); aspect-ratio: 775 / 582; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* Conceals screenshot borders around the two supplied photos.
   Remove screenshot-crop from the HTML if using ordinary photos later. */
.screenshot-crop img {
  position: absolute;
  left: 0;
  top: -81.96%;
  width: 100%;
  max-width: none;
  height: auto;
}

figcaption { margin-top: 1rem; font-size: .8rem; color: var(--muted); }
.hero-picture figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.hero-picture figcaption > span { font-family: var(--serif); font-style: italic; }

/* QUALIFICATIONS */
.credentials { border-block: 1px solid var(--line); }
.credentials-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; padding-block: 22px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }

/* ABOUT JENNIFER */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 6rem; }
.portrait { position: relative; background: var(--soft); aspect-ratio: 4 / 5; }

.portrait-placeholder {
  position: absolute;
  inset: 16px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.monogram { font: italic 7rem/1.2 var(--serif); color: var(--wine); margin-bottom: 1.5rem; letter-spacing: -.09em; padding-right: .1em; }
.portrait-placeholder > span:not(.monogram) { font: 1.5rem/1.3 var(--serif); }
.portrait-placeholder small { font-size: .78rem; color: var(--muted); margin-top: 1rem; }
.portrait > img { width: 100%; height: 100%; object-fit: cover; }

/* LESSONS */
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 5rem; margin-bottom: 2rem; }
.section-heading > p { color: var(--muted); max-width: 450px; }
.lesson-grid { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); margin-bottom: 2rem; }
.lesson { padding: 2.5rem 3rem 1.5rem 0; }
.lesson + .lesson { padding-left: 3rem; border-left: 1px solid var(--line); }
.duration { font: 4rem/1 var(--serif); color: var(--wine); margin-bottom: 1.5rem; }
.duration span { font: .85rem/1.5 var(--sans); color: var(--muted); }
.lesson p { max-width: 410px; }
.repertoire { font: italic 1.4rem/1.6 var(--serif); }
.repertoire span { padding-inline: .7rem; color: var(--muted); }

/* EXAMINATIONS */
.exam-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: start; }

/* TEACHING APPROACH */
.dark-section { background: var(--ink); color: var(--paper); }
.dark-section .eyebrow { color: #d2c5b7; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.principles article { border-top: 1px solid #72655c; padding-top: 1.5rem; }
.principle-number { display: block; color: #d2c5b7; font: italic 1.35rem/1.3 var(--serif); margin-bottom: 1.5rem; }
.principles h3 { font-size: 1.45rem; }
.principles p { color: #e0d8cf; }

/* INSIDE THE STUDIO */
.studio-grid { display: grid; grid-template-columns: .85fr 1.2fr; gap: 5rem; align-items: center; }
.location { color: var(--wine); border-top: 1px solid var(--line); padding-top: 1rem; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem; }
.testimonial { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.testimonial blockquote { font: 1.45rem/1.55 var(--serif); }
.testimonial figcaption { font-size: .9rem; }

/* FREQUENTLY ASKED QUESTIONS */
.faq-grid { display: grid; grid-template-columns: .85fr 1.2fr; gap: 5rem; border-top: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }

summary {
  cursor: pointer;
  padding: 1.15rem 1.75rem 1.15rem 0;
  font-weight: 500;
  list-style: none;
  position: relative;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font-size: 1.4rem; color: var(--wine); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-right: 1.5rem; }

/* CONTACT */
.contact-section { background: var(--wine); color: var(--paper); }
.contact-section .eyebrow, .contact-note { color: #ebd9dc; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.phone-number { display: inline-block; font: clamp(1.8rem, 3.2vw, 2.7rem)/1.4 var(--serif); text-decoration: none; margin-bottom: 1.5rem; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; }
.button-light { background: var(--paper); color: var(--wine); border-color: var(--paper); }
.button-light:hover { background: #e8ded2; }
.button-outline { background: transparent; border-color: #cfaeb5; }
.contact-note { font-size: .85rem; margin-bottom: 0; }

/* FOOTER */
.footer-inner { padding-block: 35px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-inner p, .footer-inner > a:last-child { font-size: .8rem; color: var(--muted); margin: 0; }
.footer-inner .brand > span { font-size: 1.8rem; }

/* TABLETS */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding-block: 22px; gap: 1rem; }
  nav { justify-content: center; gap: .4rem 1.2rem; }
  .hero { gap: 2rem; }

  .about-grid,
  .section-heading,
  .exam-grid,
  .studio-grid,
  .faq-grid,
  .contact-grid {
    gap: 2.5rem;
  }

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

/* PHONES */
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 60px; }

  .hero,
  .about-grid,
  .section-heading,
  .exam-grid,
  .studio-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding-block: 46px 50px; gap: 3rem; }
  h1 { font-size: clamp(3.2rem, 12vw, 4.7rem); }
  .hero-picture { padding: 10px 0 0 10px; }
  .intro { max-width: 100%; }
  .credentials-inner { flex-direction: column; gap: .5rem; }
  .portrait { width: min(100%, 380px); margin-inline: auto; }
  .lesson-grid { grid-template-columns: 1fr; }
  .lesson, .lesson + .lesson { padding: 2rem 0 1rem; border-left: 0; }
  .lesson + .lesson { border-top: 1px solid var(--line); }
  .principles { gap: 1.5rem; }
  .repertoire { font-size: 1.2rem; }
  .repertoire span { padding-inline: .3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .principles { grid-template-columns: 1fr; }
  nav { gap: .3rem 1rem; }
}

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