/* ============================================================
   TIDELINE MUSIC - site stylesheet
   Dark, moody rock aesthetic. Teal accents, white body text.
   ============================================================ */

:root {
  --bg: #0b0d0f;
  --bg-2: #111418;
  --bg-3: #171b20;
  --teal: #4fd1c5;
  --teal-dim: #2f8f87;
  --white: #ffffff;
  --muted: #a7b0b8;
  --border: #23282e;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1080px, 92%); margin: 0 auto; }

/* ---------------- Header / Nav ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 15, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.logo svg { display: block; height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a { color: var(--white); }
.nav-links a:hover { color: var(--teal); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--teal);
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 96px 0 84px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79, 209, 197, 0.10), transparent),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero .tagline {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--teal);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #06201d;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: #6fe0d5; text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: rgba(79, 209, 197, 0.08); }

/* ---------------- Sections ---------------- */
section { padding: 72px 0; }
.section-head {
  text-align: center;
  margin-bottom: 44px;
}
.section-head .kicker {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
}
.section-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 14px auto 0;
}

/* ---------------- Cards / grids ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 26px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--teal);
}
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------------- Feature / list rows ---------------- */
.features { margin: 40px 0 0; }
.features .feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.features .feat:last-child { border-bottom: none; }
.features .num {
  flex: 0 0 34px;
  height: 34px;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.features .feat h4 { font-size: 17px; margin-bottom: 4px; }
.features .feat p { color: var(--muted); font-size: 15.5px; }

/* ---------------- Tutors ---------------- */
.tutor-card { text-align: left; position: relative; }
.tutor-card .initials {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  color: var(--teal);
  background: var(--bg-3);
  margin-bottom: 14px;
}
.tutor-card h3 { margin-bottom: 4px; }
.tutor-card .role { color: var(--teal); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.tutor-card .badges { margin-top: 14px; }
.tutor-card .badge {
  display: inline-block;
  background: rgba(79, 209, 197, 0.12);
  color: var(--teal);
  border: 1px solid rgba(79, 209, 197, 0.35);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  margin: 3px 4px 0 0;
}

/* ---------------- Forms ---------------- */
.form-wrap { max-width: 640px; margin: 0 auto; }
form label { display: block; margin: 18px 0 6px; font-weight: 700; font-size: 15px; }
form input, form select, form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
form textarea { min-height: 150px; resize: vertical; }
form .btn { margin-top: 22px; width: 100%; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------------- Callout band ---------------- */
.band {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}
.band h2 { font-family: var(--serif); font-size: clamp(24px, 4vw, 34px); margin-bottom: 12px; }
.band p { color: var(--muted); max-width: 600px; margin: 0 auto 20px; }

/* ---------------- Contact info ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-block h3 { font-family: var(--serif); font-size: 22px; color: var(--teal); margin-bottom: 12px; }
.contact-block p { color: var(--muted); margin-bottom: 10px; }
.contact-block a { color: var(--teal); }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 50px;
  background: var(--bg-2);
}
footer .footer-grid { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer .logo svg { height: 38px; }
footer p { color: var(--muted); font-size: 13.5px; margin-top: 10px; }
footer .foot-links a { color: var(--muted); font-size: 14px; margin-left: 18px; }
footer .foot-links a:hover { color: var(--teal); }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero { padding: 64px 0 52px; text-align: center; border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79, 209, 197, 0.08), transparent), var(--bg); }
.page-hero h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); font-weight: 800; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 14px auto 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 20px;
    gap: 6px;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  section { padding: 56px 0; }
  footer .footer-grid { flex-direction: column; text-align: center; }
  footer .foot-links a { margin: 0 8px; }
}
