/* Guitar Mastery Method - homepage demo. Same brand as the old site (dark header, blue buttons,
   Saira Semi Condensed headings), without the page builder.
   Heading font is self-hosted (no Google Fonts link); body text uses the device's own font.
   Mobile-first; wider-screen rules at the bottom. */

@font-face {
  font-family: "Saira Semi Condensed";
  src: url("/assets/fonts/saira-semi-condensed-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Semi Condensed";
  src: url("/assets/fonts/saira-semi-condensed-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Semi Condensed";
  src: url("/assets/fonts/saira-semi-condensed-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #141414;
  --ink: #1d1f22;
  --muted: #4f5560;
  --blue: #0a64bc;
  --blue-dark: #084a8c;
  --red: #c8102e;
  --grey: #f2f3f5;
  --line: #dfe2e6;
  --white: #fff;
  --radius: 14px;
  --head: "Saira Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --section: clamp(48px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
h3 { font-size: clamp(20px, 2vw, 24px); margin-bottom: .4em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
blockquote, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.wrap--video { max-width: 860px; }
.narrow { max-width: 820px; margin-inline: auto; }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px; border-radius: 10px;
  background: var(--blue); color: var(--white); text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.2;
  letter-spacing: .02em; text-transform: uppercase; text-align: center;
  border: 2px solid var(--blue); transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--big { min-height: 56px; padding: 14px 30px; font-size: clamp(18px, 2vw, 22px); box-shadow: 0 6px 18px rgba(10,100,188,.28); }
.cta-row { margin: 32px 0 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--black); color: var(--white); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { margin-right: auto; flex: none; }
.brand img { width: clamp(170px, 18vw, 230px); height: auto; }
.site-nav, .site-header__actions { display: none; }
.site-nav ul { display: flex; gap: clamp(14px, 2vw, 28px); }
.site-nav a {
  color: #e8e8e8; text-decoration: none; font-family: var(--head); font-weight: 600;
  font-size: 17px; text-transform: uppercase; letter-spacing: .03em; padding: 6px 0;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #5aa9f5; }
.site-header__actions { gap: 10px; }

.menu { position: relative; }
.menu__button {
  list-style: none; cursor: pointer; width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 8px;
}
.menu__button::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after {
  display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; position: relative;
}
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -7px; }
.menu__bars::after { top: 7px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu__bars::after { top: 0; transform: rotate(-45deg); }
.menu__panel {
  position: absolute; right: -16px; top: calc(100% + 12px); width: min(320px, 100vw);
  background: var(--black); border-top: 1px solid #2c2c2c; padding: 8px 20px 20px;
  box-shadow: 0 16px 30px rgba(0,0,0,.35);
}
.menu__panel a:not(.btn) {
  display: block; padding: 12px 0; color: var(--white); text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 19px; text-transform: uppercase;
  border-bottom: 1px solid #2c2c2c;
}
.menu__panel .btn { width: 100%; margin-top: 16px; }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--black); text-align: center; overflow: hidden; }
.hero__media, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media picture { display: contents; }
.hero__poster, .hero__video { object-fit: cover; }
.hero__video { opacity: 0; transition: opacity .8s; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.62)); }
.hero__content {
  position: relative; z-index: 1;
  min-height: clamp(460px, 78vh, 720px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding-block: 56px;
}
.hero__eyebrow {
  font-family: var(--head); font-weight: 600; font-size: clamp(20px, 3vw, 36px);
  line-height: 1.15; margin: 0 0 .3em; text-wrap: balance;
}
.hero__title {
  font-size: clamp(42px, 8vw, 96px); text-transform: uppercase; letter-spacing: .01em;
  margin-bottom: 28px; text-shadow: 0 3px 18px rgba(0,0,0,.5);
}
.hero__sub {
  margin: 24px 0 0; font-family: var(--head); font-weight: 600;
  font-size: clamp(18px, 2vw, 22px); max-width: 52ch; text-wrap: balance;
}
.hero .btn--big { box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* Rotating quote strip */
.quotes { background: var(--black); color: #e9e9e9; padding: 22px 0; text-align: center; }
.quotes__item { min-height: 3.6em; transition: opacity .4s; display: flex; flex-direction: column; justify-content: center; }
.quotes__item.is-fading { opacity: 0; }
.quotes blockquote p { margin: 0; font-style: italic; font-size: clamp(16px, 1.6vw, 18px); max-width: 70ch; margin-inline: auto; text-wrap: balance; }
.quotes figcaption::before { content: "- "; }
.quotes figcaption { font-style: italic; color: #b9b9b9; }

/* Sections */
.section { padding-block: var(--section); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--black); color: #e9e9e9; }
.section--dark .title { color: var(--white); }
.title { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.title--left { text-align: left; }
.subtitle { font-family: var(--head); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin: 0 0 6px; }
.pick { display: inline-block; color: var(--blue); font-size: 22px; margin: 6px 0 36px; }
.lead { font-size: clamp(18px, 1.8vw, 20px); }
.prose { max-width: 60ch; }
.prose h3 { margin-top: 1em; }
.prose h3:first-child { margin-top: 0; }
.rounded { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); width: 100%; }

.split { display: grid; gap: 32px; align-items: center; margin-bottom: 40px; }
.split--top { align-items: start; }
.split .rounded { max-width: 560px; justify-self: center; }

.grid { display: grid; gap: 28px; }
.video-card figcaption { margin-top: 12px; font-family: var(--head); font-weight: 600; font-size: 19px; }

/* Click-to-play video */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #000; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.video.is-voomly { aspect-ratio: auto; overflow: visible; background: none; box-shadow: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__start { position: absolute; inset: 0; display: block; color: var(--white); }
.video__start picture, .video__poster { width: 100%; height: 100%; }
.video__poster { object-fit: cover; transition: transform .4s, opacity .2s; }
.video__start:hover .video__poster { transform: scale(1.02); opacity: .9; }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(64px, 9vw, 86px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue);
  box-shadow: 0 6px 22px rgba(0,0,0,.45); font-size: clamp(30px, 4vw, 40px);
  transition: background-color .15s, transform .15s;
}
.video__play .icon { margin-left: 4px; }
.video__start:hover .video__play { background: var(--red); transform: scale(1.06); }
.video__length {
  position: absolute; right: 12px; bottom: 12px; padding: 2px 8px; border-radius: 6px;
  background: rgba(0,0,0,.7); font-size: 14px; font-variant-numeric: tabular-nums;
}

/* Team banner */
.banner { background: var(--black); }
.banner__img { width: 100%; max-height: 640px; object-fit: cover; }

/* Instructors */
.instructors { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 28px; }
.instructor { text-align: center; flex: 1 1 200px; max-width: 320px; }
.instructor__photo { width: 160px; height: 160px; margin: 0 auto 16px; }
.instructor h3 { margin-bottom: 10px; }
.instructor p { color: var(--muted); font-size: 16px; text-align: left; }

/* Badges */
.badge { width: 160px; margin-top: 12px; }
.badge--small { width: 110px; margin: 0; flex: none; }
.guarantee__badge { width: min(300px, 60vw); justify-self: center; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; margin-top: 16px; }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stats__icon { font-size: 30px; color: var(--blue); }
.stats strong { font-family: var(--head); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 15px; }

/* Tick lists */
.ticks li { display: flex; gap: 10px; margin-bottom: 10px; }
.ticks .icon { color: var(--blue); font-size: 22px; margin-top: 2px; }

/* Accordions (plain <details>, no JavaScript) */
.accordion { display: grid; gap: 10px; margin: 24px 0 40px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.accordion summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px; position: relative;
  font-family: var(--head); font-weight: 600; font-size: 19px; line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(45deg);
  transition: transform .2s;
}
.accordion details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.accordion details p { padding: 0 18px 4px; color: var(--muted); }
.accordion--dark details { background: #1f1f1f; border-color: #333; }
.accordion--dark summary { color: var(--white); }
.accordion--dark summary::after { border-color: #5aa9f5; }
.accordion--dark details p { color: #cfcfcf; }

/* Video stories */
.stories { display: grid; gap: 40px 28px; }
.story { text-align: center; }
.stars { display: flex; justify-content: center; gap: 2px; color: #f5b400; font-size: 20px; margin: 16px 0 6px; }
.story blockquote p { font-style: italic; font-size: 17px; text-wrap: balance; }
.story figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; line-height: 1.3; }
.story figcaption strong { display: block; font-family: var(--head); font-size: 18px; }
.story figcaption span { color: var(--muted); font-size: 15px; }
.story__avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue); }

/* Join */
.join { display: flex; gap: 20px; align-items: center; margin-top: 24px; }
.join .lead { margin-bottom: 14px; }

/* Not-ready page */
.not-ready { min-height: 60vh; display: flex; align-items: center; }

/* Footer */
.site-footer { background: var(--black); color: #bdbdbd; padding: 36px 0 28px; text-align: center; font-size: 15px; }
.social { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; }
.social a { color: var(--white); font-size: 28px; display: grid; place-items: center; width: 44px; height: 44px; }
.social a:hover { color: #5aa9f5; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; margin-bottom: 16px; }
.footer-links a { color: #e6e6e6; text-decoration: none; display: inline-block; padding: 8px 0; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin: 0; color: #9a9a9a; font-size: 14px; }

/* Wider screens */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
  .stories { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .site-nav, .site-header__actions { display: flex; }
  .menu { display: none; }
  .site-header__inner { min-height: 84px; }
}
@media (max-width: 420px) {
  .join { flex-direction: column; align-items: flex-start; }
}
