/* Bromley Guitar Tuition — shared stylesheet
   Built from the site's design system: Warm Minimal palette,
   Fraunces (display) + Work Sans (body). */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@500&family=Work+Sans:wght@400;600&display=swap');

:root {
  /* Color */
  --surface: #FAF7F2;
  --surface-raised: #FFFFFF;
  --ink: #2A2622;
  --ink-muted: #6B645C;
  --border: #E9E3DA;
  --accent: #C97C5D;
  --accent-dark: #A85F42;
  --accent-tint: #F1DFD3;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Work Sans', system-ui, sans-serif;

  /* Spacing */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}

h1 { font-size: 56px; line-height: 1.12; }
h2 { font-size: 36px; line-height: 1.2; }
h3 { font-size: 24px; line-height: 1.3; }

a { color: inherit; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 700px) {
  .wrap { padding: 0 var(--space-3); }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav .brand img {
  height: 40px;
  width: auto;
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
}

.site-nav a { text-decoration: none; font-size: 15px; }
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #FAF7F2;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: var(--accent-dark); }

/* Cards */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.muted { color: var(--ink-muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0;
  margin-top: var(--space-7);
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-muted);
}

@media (max-width: 700px) {
  .site-footer .wrap { flex-direction: column; gap: var(--space-2); text-align: center; }
}


/* keep side padding on sections whose inline padding sets left/right to 0 */
main section.wrap {
  padding-left: var(--space-6) !important;
  padding-right: var(--space-6) !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 17px; }

  .site-nav { padding: var(--space-3) var(--space-3); }
  .site-nav .brand { font-size: 17px; }
  .site-nav .brand img { height: 34px; }
  .site-nav ul { gap: var(--space-2); flex-wrap: wrap; }

  /* collapse every multi-column layout to a single column */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: var(--space-4) !important;
  }

  /* tighter vertical rhythm */
  main section.wrap {
    padding: var(--space-5) var(--space-3) !important;
  }

  h1 { font-size: 34px !important; }
  h2 { font-size: 26px !important; }

  /* hero photo: keep it a sensible size */
  main div[style*="aspect-ratio: 4/5"] { max-width: 420px; }

  .card { padding: var(--space-3); }
  .site-footer .wrap { padding: 0 var(--space-3); }
}
