/* =========================================================
   Studio of Jaime R. Gould — Viola & Violin
   Stylesheet
   ========================================================= */

:root {
  /* Forest greens */
  --forest-950: #0f2018;
  --forest-900: #16281f;
  --forest-800: #1f3a2c;
  --forest-700: #2c4d3a;
  --forest-600: #3c5f48;
  --forest-500: #4f7159;

  /* Aged gold */
  --gold-700: #8f6a30;
  --gold-600: #a67c3d;
  --gold-500: #c19a4e;
  --gold-400: #d4b877;
  --gold-100: #f1e4c2;

  /* Parchment / cream */
  --cream-050: #fdfbf4;
  --cream-100: #faf6ea;
  --cream-200: #f4ecd8;
  --cream-300: #ece0c4;

  /* Ink */
  --ink-900: #241f18;
  --ink-700: #4a4335;
  --ink-500: #6f6650;
  --ink-300: #948a70;

  --shadow-soft: 0 10px 30px -12px rgba(15, 32, 24, 0.35);
  --shadow-card: 0 6px 18px -10px rgba(15, 32, 24, 0.28);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-label: "Cinzel", "Times New Roman", serif;
  --font-body: "EB Garamond", "Georgia", serif;

  --container: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream-100);
  background-image:
    radial-gradient(rgba(36, 31, 24, 0.035) 1px, transparent 1px);
  background-size: 3px 3px;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest-700);
  text-decoration-color: var(--gold-500);
  text-underline-offset: 3px;
}
a:hover { color: var(--gold-700); }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--forest-900);
  color: var(--cream-100);
  padding: 0.75em 1.25em;
  z-index: 1000;
  font-family: var(--font-label);
  letter-spacing: 0.08em;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold-700);
  display: inline-block;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.3rem;
  color: var(--ink-700);
  font-style: italic;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section {
  padding: 4.5rem 0;
}
.section--tight { padding: 3rem 0; }
.section--panel {
  background: var(--cream-200);
  border-top: 1px solid var(--cream-300);
  border-bottom: 1px solid var(--cream-300);
}
.section--dark {
  background: var(--forest-900);
  color: var(--cream-100);
}
.section--dark h2, .section--dark h3 { color: var(--cream-100); }

/* ---------- Flourish divider ---------- */
.flourish {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(340px, 70%);
  margin: 1.4rem auto 2rem;
  color: var(--gold-600);
}
.flourish::before,
.flourish::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, currentColor);
}
.flourish::after { background: linear-gradient(to left, transparent, currentColor); }
.flourish span {
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-1px);
}
.flourish--left { margin-left: 0; }
.flourish--dark { color: var(--gold-400); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 234, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--gold-500);
}

.site-header__bar {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  color: var(--forest-900);
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.wordmark__tagline {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-top: 0.3em;
}

.nav {
  display: flex;
  align-items: center;
}
.nav__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav__list a {
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-800);
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  border-color: var(--gold-500);
  color: var(--gold-700);
}

.nav__toggle { display: none; }
.nav__toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav__toggle-label span {
  width: 26px;
  height: 2px;
  background: var(--forest-900);
  display: block;
}

@media (max-width: 780px) {
  .nav__toggle-label { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-050);
    border-bottom: 1px solid var(--gold-500);
    box-shadow: var(--shadow-soft);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.75rem 1.25rem;
  }
  .nav__list a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cream-300);
  }
  .nav__toggle:checked ~ .nav { max-height: 400px; }
  .site-header__bar { position: relative; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream-100);
  display: flex;
  align-items: center;
  min-height: 62vh;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero--compact { min-height: 40vh; }
.hero--tall { min-height: 92vh; }

.hero--home {
  background-image: url('../assets/violin-fhole-wide.jpg');
}
.hero--home::before {
  background: linear-gradient(180deg, rgba(26,17,11,0.55) 0%, rgba(26,17,11,0.4) 45%, rgba(26,17,11,0.6) 100%);
}
@media (max-width: 720px) {
  .hero--home {
    background-image: url('../assets/violin-fhole-portrait.jpg');
    background-position: center;
  }
  .hero--home::before {
    background: linear-gradient(180deg, rgba(26,17,11,0.5) 0%, rgba(26,17,11,0.32) 40%, rgba(26,17,11,0.58) 100%);
  }
}
.hero__content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.75rem;
  width: 100%;
}
.hero .eyebrow { color: var(--gold-400); text-shadow: 0 0 2px rgba(0,0,0,0.95), 0 0 4px rgba(0,0,0,0.95), 0 0 9px rgba(0,0,0,0.85), 0 2px 10px rgba(0,0,0,0.6); }
.hero h1 { color: var(--cream-050); text-shadow: 0 2px 6px rgba(0,0,0,0.65), 0 4px 22px rgba(0,0,0,0.55); }
.hero .lede { color: var(--cream-200); max-width: 42em; text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 3px 14px rgba(0,0,0,0.6); }
.hero .couplet { text-shadow: 0 1px 4px rgba(0,0,0,0.8), 0 3px 14px rgba(0,0,0,0.6); }

.couplet {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-100);
  line-height: 1.5;
  margin: 1.2rem 0 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold-500);
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: var(--gold-500);
  color: var(--forest-950);
  border-color: var(--gold-500);
}
.btn--primary:hover { background: var(--gold-400); color: var(--forest-950); }
.btn--ghost {
  color: var(--cream-100);
  border-color: rgba(241, 228, 194, 0.6);
}
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn--outline {
  color: var(--forest-800);
  border-color: var(--forest-700);
}
.btn--outline:hover { background: var(--forest-800); color: var(--cream-100); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--cream-050);
  border: 1px solid var(--cream-300);
  border-top: 3px solid var(--gold-500);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--ink-700); flex-grow: 1; margin: 0 0 1.3rem; }
.card a.card__link {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest-700);
}
.card a.card__link:hover { color: var(--gold-700); }

/* Link / resource cards */
.resource {
  border: 1px solid var(--cream-300);
  border-left: 3px solid var(--gold-500);
  background: var(--cream-050);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.1rem;
}
.resource h3 { margin-bottom: 0.35em; font-size: 1.25rem; }
.resource h3 a { text-decoration: none; }
.resource p { margin: 0; color: var(--ink-700); }

/* ---------- Two-column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media img {
  width: 100%;
  border: 1px solid var(--cream-300);
  box-shadow: var(--shadow-card);
}
.split__media figcaption {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-500);
  margin-top: 0.7rem;
  text-align: center;
}

.prose p { margin: 0 0 1.3em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--cream-300);
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  color: var(--gold-700);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin-bottom: 0.6em;
}
.faq-item p { color: var(--ink-700); margin: 0; }

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0;
  font-size: 1.1rem;
}
.rate-table th, .rate-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--cream-300);
}
.rate-table th {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  border-bottom: 2px solid var(--gold-500);
}
.rate-table td:last-child, .rate-table th:last-child { text-align: right; }

/* ---------- Contact ---------- */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1rem;
}
.contact-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-line .label {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  min-width: 6.5em;
}
.contact-line a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-decoration: none;
  color: var(--forest-900);
  border-bottom: 1px solid var(--gold-500);
}
.contact-line a:hover { color: var(--gold-700); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-950);
  color: var(--cream-200);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212, 184, 119, 0.25);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-grid h4 {
  font-family: var(--font-label);
  color: var(--gold-400);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-grid p, .footer-grid a {
  color: var(--cream-200);
  font-size: 1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.6em; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--gold-400); }
.site-footer .wordmark__name { color: var(--cream-050); font-size: 1.4rem; }
.site-footer .wordmark__tagline { color: var(--gold-400); }

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-300);
}

/* ---------- Softened / aged photo frame ---------- */
.framed-photo {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.framed-photo img {
  display: block;
  width: 100%;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
.framed-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(193, 154, 78, 0.35);
  pointer-events: none;
  z-index: 1;
}
.framed-photo--small {
  width: min(280px, 60%);
  margin: 0 auto;
}

/* ---------- Quiet tribute photo ---------- */
.tribute-photo {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0.5rem;
}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero__content { padding: 3.5rem 1.5rem; }
}
