/* Murphy's Guitar Lab — shared site styles.
   Gold is for action. Teal (Pat's cap) and rust (Pat's vest) are small accents only. */
:root {
  --bg: #0E1014;
  --bg-2: #13161C;
  --surface: #1A1D24;
  --surface-2: #20242C;
  --border: #2C323C;
  --border-soft: #232831;
  --text: #F5F1E8;
  --muted: #B3AEA5;
  --faint: #8C877F;
  --accent: #C9A96E;
  --accent-hover: #D9BC85;
  --on-accent: #1A140C;
  --teal: #4FA7B5;
  --rust: #C2643A;
  --success: #5CCB91;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --font-display: Fraunces, Georgia, serif;
  --font-body: Outfit, system-ui, sans-serif;
  --shadow: 0 24px 60px rgb(0 0 0 / .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.center { text-align: center; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: .5rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 560; }
h1 em, h2 em { font-style: italic; font-weight: 560; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow::after { content: ""; width: 1.6rem; height: 1px; background: currentColor; opacity: .7; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 36rem; margin: 1.1rem 0 0; }
.section-head { max-width: 44rem; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: .9rem 0 0; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border-radius: 999px; font: 650 1rem var(--font-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn[aria-disabled="true"] { background: var(--surface-2); color: var(--muted); border-color: var(--border); cursor: default; transform: none; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: var(--text); text-decoration: none; letter-spacing: -.02em;
}
.logo span { color: var(--accent); }
.logo-mark { width: 1.9rem; height: 1.9rem; flex: none; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 520; font-size: .98rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .btn { padding: .6rem 1.1rem; font-size: .95rem; }
.nav-toggle {
  display: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 999px; padding: .5rem .95rem; font: 650 .9rem var(--font-body);
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border-soft); }

/* Six faint "strings" — the site's background motif */
.strings { position: relative; isolation: isolate; }
.strings::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 calc(16.66% - 1px), rgb(201 169 110 / .07) calc(16.66% - 1px) 16.66%);
  mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 25%, #000 75%, transparent);
}

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin: 2.6rem 0 0; padding: 0; list-style: none; }
.hero-proof li { display: grid; gap: .1rem; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--text); }
.hero-proof span { color: var(--faint); font-size: .9rem; }

.pat-stage { position: relative; justify-self: center; width: min(420px, 100%); }
.pat-stage::before {
  content: ""; position: absolute; inset: 8% -10% 0; z-index: 0;
  background: radial-gradient(closest-side, rgb(201 169 110 / .28), transparent 72%);
}
.pat-stage::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 7%; z-index: 0;
  background: radial-gradient(closest-side, rgb(0 0 0 / .65), transparent);
}
.pat-stage img {
  position: relative; z-index: 1; width: 100%; height: auto;
  mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 62% 60% at 50% 50%, #000 62%, transparent 100%);
}
.bubble {
  position: absolute; z-index: 2; top: 9%; left: -6%;
  background: var(--text); color: var(--on-accent);
  font-weight: 650; font-size: .95rem; line-height: 1.3;
  padding: .7rem 1rem; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow);
  max-width: 12rem; transform: rotate(-3deg);
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.1rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; position: relative;
}
.card p { color: var(--muted); margin: .6rem 0 0; }
.card strong { color: var(--text); }
.card .icon {
  width: 2.8rem; height: 2.8rem; border-radius: 12px; display: grid; place-items: center;
  background: rgb(201 169 110 / .12); color: var(--accent); margin-bottom: 1.1rem;
}
.card .icon svg { width: 1.45rem; height: 1.45rem; }

/* Path cards (three ways to learn) */
.way { display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.way:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); transform: translateY(-3px); }
.way .tag { position: absolute; top: 1.3rem; right: 1.3rem; font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.way .tag.free { color: var(--success); }
.way ul { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; color: var(--muted); font-size: .97rem; }
.way li { padding: .3rem 0 .3rem 1.5rem; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: .78rem; width: .55rem; height: .55rem; border-radius: 50%; border: 2px solid var(--accent); }
.way .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Level path ---------- */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; position: relative; counter-reset: lvl; }
.path::before {
  content: ""; position: absolute; left: 2rem; right: 2rem; top: 1.6rem; height: 2px;
  background: linear-gradient(to right, var(--accent), var(--teal) 60%, var(--rust));
  opacity: .55;
}
.path li { position: relative; }
.path a { display: block; text-decoration: none; height: 100%; }
.path .dot {
  width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  background: var(--bg-2); border: 2px solid var(--accent); color: var(--accent);
  position: relative; z-index: 1; margin-bottom: 1.1rem;
}
.path li:first-child .dot { background: var(--accent); color: var(--on-accent); }
.path h3 { font-size: 1.12rem; }
.path .when { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: .25rem 0 .5rem; }
.path p { color: var(--muted); font-size: .94rem; margin: 0; }
.path a:hover h3 { color: var(--accent); }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: 1.25rem; }
.feature-list li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; }
.feature-list .icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: rgb(79 167 181 / .14); color: var(--teal); }
.feature-list .icon svg { width: 1.3rem; height: 1.3rem; }
.feature-list strong { display: block; font-size: 1.05rem; }
.feature-list span { color: var(--muted); font-size: .97rem; }

.practice-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 1.8rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.practice-card .pat-peek {
  position: absolute; right: -2.2rem; bottom: -5.5rem; width: 12.5rem; opacity: .95;
  mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 50% 50%, #000 60%, transparent 100%);
}
.practice-card h3 { font-size: 2.2rem; margin: .2rem 0 1.2rem; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; max-width: 72%; }
.timeline li { display: grid; grid-template-columns: 4.2rem 1fr; gap: .8rem; align-items: center; }
.timeline .bar { height: .55rem; border-radius: 999px; background: var(--accent); }
.timeline .bar.t2 { background: var(--teal); }
.timeline .bar.t3 { background: var(--rust); }
.timeline .bar.t4 { background: var(--success); }
.timeline b { font-weight: 650; }
.timeline small { display: block; color: var(--muted); font-size: .9rem; grid-column: 2; margin-top: -.35rem; }
.practice-card .foot { color: var(--muted); font-size: .95rem; margin: 1.4rem 0 0; max-width: 70%; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.price { display: flex; flex-direction: column; }
.price.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgb(201 169 110 / .1), transparent 45%), var(--surface);
}
.price .badge {
  position: absolute; top: -.75rem; left: 1.5rem;
  background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px;
}
.price .amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; margin: 1rem 0 .2rem; }
.price .amount small { font-family: var(--font-body); font-size: 1rem; font-weight: 400; color: var(--muted); }
.price .per { color: var(--faint); font-size: .92rem; margin: 0; }
.price ul { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; color: var(--muted); font-size: .97rem; }
.price li { padding: .35rem 0 .35rem 1.6rem; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 650; }
.price .btn { margin-top: auto; }
.pricing-note { color: var(--faint); text-align: center; margin: 1.8rem auto 0; font-size: .95rem; max-width: 40rem; }

/* ---------- Tips ---------- */
.tip-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--accent); line-height: 1; opacity: .9; }
.tips .card h3 { margin-top: .9rem; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 650; font-size: 1.08rem;
  padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: -.3rem 0 1.3rem; max-width: 40rem; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem); text-align: center;
  background:
    radial-gradient(600px 240px at 50% 0%, rgb(201 169 110 / .22), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.cta-band p { color: var(--muted); font-size: 1.12rem; margin: 1rem auto 0; max-width: 34rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); padding: 3.5rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; font-weight: 650; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { margin: .8rem 0 0; max-width: 22rem; }
.footer-bottom { border-top: 1px solid var(--border-soft); margin-top: 2.5rem; padding-top: 1.5rem; color: var(--faint); font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .pat-stage { width: min(320px, 80%); order: -1; }
  .bubble { left: -2%; font-size: .85rem; }
  .cards.three, .pricing { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: 1fr; gap: 1.6rem; }
  .path::before { left: 1.55rem; right: auto; top: 1rem; bottom: 1rem; width: 2px; height: auto; background: linear-gradient(to bottom, var(--accent), var(--teal) 60%, var(--rust)); }
  .path a { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0 1.1rem; }
  .path .dot { margin: 0; grid-row: span 3; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .pricing .price.featured { order: -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + .5rem); left: 1rem; right: 1rem;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    flex-direction: column; align-items: stretch; gap: .2rem; padding: .8rem; box-shadow: var(--shadow);
  }
  .site-nav a:not(.btn) { padding: .6rem .7rem; border-radius: 10px; }
  .site-nav .btn { margin-top: .4rem; }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
}
@media (max-width: 560px) {
  .cards.four { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { gap: 1.2rem 1.8rem; }
  .timeline, .practice-card .foot { max-width: 100%; }
  .hero { padding-top: 1.5rem; }
  .pat-stage { width: 46%; justify-self: start; margin-bottom: -1rem; }
  .bubble { left: 86%; top: 22%; width: 9.5rem; transform: rotate(2deg); border-radius: 16px 16px 16px 4px; }
  .practice-card .pat-peek { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
