/* =========================================================
   Studio Vivaldi — site styles
   Static brochure site. Colors/fonts tuned to the reference
   screenshots. Photos are recreated with CSS + inline SVG.
   ========================================================= */

:root {
  --orange:        #e07b28;
  --orange-dark:   #c8641a;
  --footer-orange: #e8791e;
  --peach-light:   #f2d9c4;   /* 30-min card  */
  --peach-mid:     #eec3a0;   /* 45-min card  */
  --card-orange:   #e07b28;   /* 60-min card  */
  --card-text-dark: #4a2f18;  /* legible text on the light peach cards */
  --text-orange:   #cf6a1f;   /* home body copy */
  --ink:           #3a3a3a;
  --muted:         #6b6b6b;
  --white:         #ffffff;

  --font-script:  'Yellowtail', cursive;
  --font-geo:     'Josefin Sans', 'Century Gothic', sans-serif;
  --font-serif:   'Lora', 'PT Serif', Georgia, serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

/* =========================================================
   HEADER — staff band with overlaid logo + word collage
   ========================================================= */
.site-header { background: var(--white); }

.staff {
  position: relative;
  height: 140px;
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: hidden;
}

/* five evenly-spaced orange lines */
.staff-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 0 8px;
}
.staff-lines span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--orange);
}

/* faint ring emblem behind the logo — masked to the City of Bend vector's
   own shape, so it always renders in the site's orange at low opacity
   regardless of the source file's colors. Swap assets/bend-logo.svg for
   the official vector when available; no CSS changes needed. */
.emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  background-color: var(--orange);
  opacity: .22;
  -webkit-mask-image: url('../assets/bend-logo.svg');
          mask-image: url('../assets/bend-logo.svg');
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

/* logo sits centered horizontally, its bottom edge on the bottom staff line */
.logo-link {
  position: absolute;
  left: 50%;
  bottom: 41px;
  transform: translateX(-50%);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logo {
  position: relative;
  font-family: var(--font-script);
  color: var(--orange);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  text-shadow: 1px 2px 0 rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

/* word collage, scattered to the left of the logo */
.collage {
  position: absolute;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 90px;
  z-index: 2;
  font-weight: 700;
}
.collage span {
  position: absolute;
  background: var(--white);
  padding: 0 4px;
  line-height: 1.1;
}
.c-private   { left: 0;    top: 10px; font-family: var(--font-serif); color: #7a5cff; font-size: 1.05rem; }
.c-violin    { left: 62px; top: 0;    font-family: var(--font-serif); color: var(--orange); font-size: 1.5rem; }
.c-lessons   { left: 58px; top: 32px; font-family: var(--font-serif); color: var(--orange); font-size: 1.1rem; }
.c-inbend    { left: 150px; top: 8px; font-family: var(--font-geo); color: #2f6f6f; font-size: 1.1rem; }
.c-oregon    { left: 150px; top: 40px; font-family: var(--font-geo); color: #6b8e23; background: #f3e27a; font-size: .8rem; letter-spacing: 1px; }

/* =========================================================
   NAV BAR
   ========================================================= */
.site-nav {
  border-top: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.site-nav ul {
  display: flex;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.site-nav li { flex: 1 1 0; }
.site-nav li + li { border-left: 1px solid #e7e7e7; }
.site-nav a {
  display: block;
  text-align: center;
  padding: 18px 8px;
  font-family: var(--font-geo);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .95rem;
  color: var(--orange);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.site-nav a:hover { background: rgba(224, 123, 40, 0.12); }
.site-nav a.active {
  background: var(--orange);
  color: var(--white);
}

/* =========================================================
   PAGE SHELL
   ========================================================= */
main { min-height: 50vh; }
.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.page h2.page-title {
  font-family: var(--font-geo);
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 2rem;
  margin: 0 0 24px;
}

/* =========================================================
   HOME — hero
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 40px;
  align-items: start;
}
.hero-copy p {
  color: var(--text-orange);
  font-size: 1.15rem;
  margin: 0 0 14px;
}
.hero-banner {
  background: var(--orange);
  color: var(--white);
  display: inline-block;
  padding: 16px 26px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 700;
}
.hero-quote {
  margin-top: 26px;
  color: var(--text-orange);
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-style: italic;
  border-top: 2px solid var(--text-orange);
  padding-top: 14px;
}
.hero-quote .attr {
  display: block;
  text-align: right;
  font-size: 1rem;
  margin-top: 6px;
}

/* Inquiry bar — three dark CTA panels */
.cta-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: var(--maxw);
  margin: 30px auto 60px;
  padding: 0 24px;
}
.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-geo);
  font-size: 1.15rem;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.72), rgba(20, 12, 8, 0.86)),
    linear-gradient(120deg, #5a3418, #2a1a10);
  border-radius: 2px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   LESSONS & PRICING
   ========================================================= */
.lessons-main {
  position: relative;
  background: var(--white);
}
.pricing {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}
.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 42px 26px 48px;
  color: var(--white);
  min-height: 620px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}
.price-card.p30 { background: var(--peach-light); color: var(--card-text-dark); }
.price-card.p45 { background: var(--peach-mid); color: var(--card-text-dark); }
.price-card.p60 { background: var(--orange-dark); text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.price-card .mins {
  font-family: var(--font-geo);
  font-weight: 500;
  font-size: 2.6rem;
  letter-spacing: 1px;
  margin: 0 0 18px;
}
.price-card .kind {
  font-family: var(--font-geo);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0 0 20px;
}
.price-card .amount {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 700;
  margin: 0 0 30px;
}
.price-card .rec {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 auto;
  max-width: 15ch;
}
/* =========================================================
   POLICIES / ABOUT — readable article
   ========================================================= */
.article { max-width: 900px; }
.article h3 {
  font-family: var(--font-geo);
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 40px 0 6px;
  border-bottom: 2px solid var(--peach-mid);
  padding-bottom: 6px;
}
.article h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 26px 0 6px;
}
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin: 0 0 8px; }
.article .signoff {
  margin-top: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* Policies — sticky left TOC + orange-hued section boxes */
.policies-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
.policies-toc {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.policies-toc a {
  padding: 10px 14px;
  border-left: 3px solid transparent;
  font-family: var(--font-geo);
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.3;
  color: var(--orange-dark);
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.policies-toc a:hover {
  background: rgba(224, 123, 40, .1);
  border-left-color: var(--orange);
}
.policy-box {
  background: rgba(224, 123, 40, .07);
  border: 1px solid rgba(224, 123, 40, .35);
  padding: 28px 32px;
  margin-bottom: 32px;
  scroll-margin-top: 24px;
}
.policy-box:last-child { margin-bottom: 0; }
.policy-box > h3:first-child { margin-top: 0; }

@media (max-width: 820px) {
  .policies-layout { grid-template-columns: 1fr; }
  .policies-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* =========================================================
   INQUIRIES — form
   ========================================================= */
.inquiry-wrap { max-width: 620px; }
.inquiry-intro { color: var(--muted); margin-bottom: 26px; }
.inquiry-form label {
  display: block;
  font-family: var(--font-geo);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .85rem;
  color: var(--orange);
  margin: 18px 0 6px;
}
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224, 123, 40, 0.15);
}
.inquiry-form textarea { min-height: 140px; resize: vertical; }
.inquiry-submit {
  margin-top: 24px;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 34px;
  font-family: var(--font-geo);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
}
.inquiry-submit:hover { background: var(--orange-dark); }
.form-note {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--footer-orange);
  color: var(--white);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 26px 24px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
}
.footer-email {
  font-family: var(--font-geo);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  text-decoration: none;
}
.footer-email:hover { text-decoration: underline; }
.footer-icons { display: flex; gap: 16px; }
.round-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}
.round-icon:hover { transform: translateY(-2px); }
.round-icon svg { width: 22px; height: 22px; }
.ic-note svg { fill: #8b5cf6; }
.ic-phone svg { fill: #3ec28f; }
.ic-mail svg { fill: var(--orange); }
.ic-map svg { fill: #e0607e; }

.footer-hours {
  font-family: var(--font-geo);
  min-width: 220px;
}
.footer-hours strong { letter-spacing: 1px; }
.footer-hours p { margin: 4px 0 0; }
.footer-copy {
  text-align: center;
  padding: 10px 24px 18px;
  font-size: .85rem;
  background: var(--footer-orange);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 820px) {
  .collage { display: none; }
  .hero { grid-template-columns: 1fr; }
  .cta-bar { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .site-nav ul { flex-wrap: wrap; }
  .site-nav li { flex: 1 1 40%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-hours { text-align: center; }
}

@media (max-width: 520px) {
  .site-nav a { font-size: .78rem; padding: 14px 4px; letter-spacing: .5px; }
  .staff { height: 110px; }
  .logo-link { bottom: 26px; }
}
