:root {
  --ink: #0c1324;
  --ink-soft: #1a2238;
  --blue: #2546d8;
  --blue-bright: #4f6ef2;
  --paper: #f4f1e9;
  --paper-dim: #ebe7db;
  --white: #ffffff;
  --accent: #d98a3d;      /* warm clay — used sparingly */
  --text: #16203a;
  --text-muted: #5a647c;
  --text-faint: #8a93a8;
  --line: #d9d4c7;
  --line-light: #e6e2d6;
  --radius: 6px;
  --max-width: 1160px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Shared type elements ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-num {
  font-variant-numeric: tabular-nums;
  color: var(--blue);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.eyebrow-light { color: rgba(255,255,255,0.72); }

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.link-underline {
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero .link-underline { color: rgba(255,255,255,0.9); }
.link-underline:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  letter-spacing: 0.01em;
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue); }

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217,138,61,0.32); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,241,233,0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217,138,61,0.18);
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo-thin { font-weight: 400; color: var(--text-muted); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.quick-contact {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  text-align: right;
  line-height: 1.3;
}
.quick-contact-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.quick-contact-number { font-weight: 600; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(79,110,242,0.35) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(37,70,216,0.28) 0%, transparent 60%);
  pointer-events: none;
}
/* guitar-string hairlines */
.hero-strings {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--max-width));
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0, transparent calc(16.666% - 1px),
    rgba(255,255,255,0.055) calc(16.666% - 1px), rgba(255,255,255,0.055) 16.666%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  padding-bottom: clamp(44px, 6vw, 72px);
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin: 0 0 36px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-art {
  margin: 0;
  position: relative;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: center;
}
.hero-art svg,
.hero-art img {
  width: auto;
  height: clamp(280px, 42vh, 440px);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.35));
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes float {
  0%   { transform: translateY(0) rotate(0deg); }
  50%  { transform: translateY(-18px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* scrolling keyword ticker */
.hero-ticker {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
}
.ticker-track i { color: var(--accent); font-style: normal; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-alt { background: var(--paper-dim); }
.section-head { max-width: 760px; margin: 0 0 54px; }

/* Courses */
.course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.course {
  padding: 44px 40px 48px;
  border-bottom: 1px solid var(--line);
}
.course:first-child { border-right: 1px solid var(--line); }
.course-icon {
  width: 52px; height: 52px;
  color: var(--blue);
  margin-bottom: 28px;
}
.course-icon svg { width: 100%; height: 100%; }
.course h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.course p { margin: 0; color: var(--text-muted); max-width: 42ch; font-size: 1.02rem; }

/* Formats */
.format-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.format {
  background: var(--paper);
  padding: 36px;
  display: flex;
  gap: 20px;
}
.section-alt .format { background: var(--paper-dim); }
.format-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  color: var(--blue);
}
.format-icon svg { width: 100%; height: 100%; }
.format-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.28rem;
  margin: 2px 0 8px;
  color: var(--ink);
}
.format-body p { margin: 0; color: var(--text-muted); }

.who {
  margin-top: 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.who-copy {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.who-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.who-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
}
.who-text strong { color: var(--white); font-weight: 500; }
/* Carousel */
.carousel {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #000;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.carousel-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  min-height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}
.carousel-slide figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.4;
  background: rgba(12, 19, 36, 0.6);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 5px;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.07); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  position: absolute;
  bottom: 56px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: stretch;
}
.contact-details dl { margin: 0 0 32px; }
.contact-details dt {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 22px;
}
.contact-details dt:first-child { margin-top: 0; }
.contact-details dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.55;
}
.phone-link {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.phone-link:hover { color: var(--accent); }
.availability { color: var(--accent); font-weight: 500; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 380px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 380px; display: block; filter: grayscale(0.18); }

/* ---------- Legal page ---------- */
.legal { max-width: 720px; }
.legal p { color: var(--text-muted); font-size: 1.05rem; margin: 0 0 18px; }
.legal h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin: 38px 0 10px;
}
.legal .phone-link { font-size: 1.05rem; }
.legal-back { margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.3rem; }
.footer-brand .logo-thin { color: rgba(255,255,255,0.55); }
.footer-brand p { margin: 10px 0 0; font-size: 0.92rem; }
.footer-meta { text-align: right; }
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  margin-bottom: 14px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }
.copyright { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; }
  .hero-art svg, .hero-art img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-top: 8px; }
  .who { grid-template-columns: 1fr; }
  .who-photo img { min-height: 220px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .container { padding: 0 22px; }
  .course-grid { grid-template-columns: 1fr; }
  .course:first-child { border-right: none; }
  .course { padding: 36px 26px; }
  .format-list { grid-template-columns: 1fr; }
  .who { flex-direction: column; gap: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
  .footer-links { justify-content: flex-start; }

  .nav-toggle { display: flex; order: -1; margin-left: auto; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .header-actions {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .header-actions.open { max-height: 320px; padding: 14px 22px 22px; }
  .header-actions .quick-contact {
    text-align: left;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .header-actions .quick-contact-number { color: #fff; }
  .header-actions .btn-primary { margin-top: 16px; background: var(--accent); color: var(--ink); }
}
