/* =====================================================================
   Find Guitar Trainings — main stylesheet
   ===================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2-variations"),
       url("../assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0d0d0c;
  --bg-2: #141413;
  --surface: #1a1a18;
  --surface-2: #232320;
  --line: rgba(243, 241, 236, 0.12);
  --line-strong: rgba(243, 241, 236, 0.28);
  --text: #f3f1ec;
  --muted: #a19e96;
  --accent: #ff6a2b;
  --accent-ink: #0d0d0c;
  --overlay: rgba(13, 13, 12, 0.55);

  --font: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f2ee;
  --bg-2: #ebe8e2;
  --surface: #ffffff;
  --surface-2: #f0ede7;
  --line: rgba(17, 17, 16, 0.12);
  --line-strong: rgba(17, 17, 16, 0.3);
  --text: #111110;
  --muted: #5f5c56;
  --accent: #e5520f;
  --accent-ink: #ffffff;
  --overlay: rgba(17, 17, 16, 0.35);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 160px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-2); }
[hidden] { display: none !important; }
.filters, .pkg-group, section[id] { scroll-margin-top: 110px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.display {
  font-size: clamp(3.1rem, 10.5vw, 10rem);
  letter-spacing: -0.055em;
  line-height: 0.92;
}
.h2 { font-size: clamp(2.3rem, 6vw, 5.4rem); letter-spacing: -0.045em; line-height: 0.98; }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px; min-height: 58px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  transition: transform .5s var(--ease);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn__icon svg { width: 18px; height: 18px; }
.btn--solid { --btn-bg: var(--text); --btn-fg: var(--bg); --btn-bd: var(--text); }
.btn--solid::before { background: var(--accent); }
.btn--solid:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn--solid:hover .btn__icon { background: var(--accent-ink); color: var(--accent); }
.btn--sm { min-height: 46px; padding: 5px 5px 5px 20px; font-size: 15px; gap: 10px; }
.btn--sm .btn__icon { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; white-space: nowrap; }
.logo__mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
}
.logo__mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--muted); transition: color .3s, background-color .3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.icon-btn:hover { background: var(--surface); border-color: var(--text); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span + span { margin-top: 5px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.mobile-menu a.mm-link { display: block; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.15; padding: 4px 0; }
.mobile-menu a.mm-link:hover { color: var(--accent); }
.mobile-menu .mm-foot { margin-top: 40px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(140px, 18vw, 210px); padding-bottom: clamp(40px, 6vw, 80px); position: relative; }
.hero__top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: translateY(0); } }
.hero__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.hero__media {
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--surface);
}
.hero__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--overlay)); pointer-events: none; }
.hero__chip {
  position: absolute; left: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }

/* Rotating badge */
.badge-rotate { position: relative; width: 150px; height: 150px; flex: none; display: grid; place-items: center; }
.badge-rotate svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-rotate text { font-size: 10.6px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; fill: var(--text); }
.badge-rotate .core { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform .5s var(--ease); }
.badge-rotate:hover .core { transform: scale(1.1) rotate(-45deg); }
.badge-rotate .core svg { width: 24px; height: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(150px, 18vw, 220px); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(3rem, 9vw, 8.5rem); }
.page-hero__row { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-top: 32px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(18px, 3vw, 30px) 0; user-select: none; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font-size: clamp(2rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.marquee__item .star { color: var(--accent); font-size: .55em; }
.marquee--sm .marquee__item { font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: -0.02em; font-weight: 500; }
.marquee--sm .marquee__track { animation-duration: 30s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head--stack { grid-template-columns: 1fr; }

/* ---------- Numbered service rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1fr) 60px;
  gap: 24px; align-items: center; padding: clamp(26px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.row__num { font-size: 15px; color: var(--muted); font-weight: 500; }
.row__title { font-size: clamp(1.8rem, 4.4vw, 3.8rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; transition: transform .5s var(--ease), color .3s; }
.row__text { color: var(--muted); margin: 0; }
.row__arrow { justify-self: end; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, color .4s, transform .5s var(--ease), border-color .4s; }
.row__arrow svg { width: 20px; height: 20px; }
.row:hover .row__title { transform: translateX(14px); color: var(--accent); }
.row:hover .row__arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }
.row__img {
  position: absolute; right: 18%; top: 50%; width: 240px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden;
  pointer-events: none; opacity: 0; transform: translateY(-50%) scale(.85) rotate(-6deg); z-index: 3;
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row:hover .row__img { opacity: 1; transform: translateY(-50%) scale(1) rotate(-3deg); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(0px, 2vw, 28px) 0 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.stat__num sup { font-size: .4em; color: var(--accent); vertical-align: top; margin-left: 4px; }
.stat__label { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 22ch; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.04); }
.checklist { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Image grid / gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.g-a { grid-column: span 7; aspect-ratio: 16 / 10; }
.g-b { grid-column: span 5; aspect-ratio: 4 / 5; grid-row: span 2; aspect-ratio: auto; }
.g-c { grid-column: span 4; aspect-ratio: 1; }
.g-d { grid-column: span 3; aspect-ratio: 3 / 4; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); counter-reset: step; }
.step { position: relative; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step::before { counter-increment: step; content: "/0" counter(step); font-size: 14px; color: var(--muted); font-weight: 500; }
.step h3 { margin-top: auto; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.03em; }
.step p { margin: 12px 0 0; color: var(--muted); font-size: 15.5px; }
.step__icon { margin: 26px 0 40px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--accent); }
.step__icon svg { width: 24px; height: 24px; }

/* ---------- Pricing ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.filter {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filter .count { opacity: .55; margin-left: 6px; font-size: 13px; }

.pkg-group + .pkg-group { margin-top: clamp(56px, 7vw, 96px); }
.pkg-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; margin-bottom: clamp(20px, 2.6vw, 32px); border-bottom: 1px solid var(--line); }
.pkg-group__head h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -0.045em; }
.pkg-group__head p { margin: 0; color: var(--muted); font-size: 15px; text-align: right; max-width: 40ch; }

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.pkg {
  position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .5); }
.pkg--featured { border-color: var(--accent); }
.pkg__badge { position: absolute; top: 20px; right: 20px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.pkg__tag { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; padding-right: 110px; min-height: 20px; }
.pkg__name { font-size: 1.45rem; letter-spacing: -0.03em; line-height: 1.15; margin-top: 18px; }
.pkg__price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 6px; }
.pkg__price strong { font-size: clamp(3rem, 4.4vw, 3.8rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.pkg__price strong span { font-size: .5em; vertical-align: top; margin-right: 2px; font-weight: 500; }
.pkg__save { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.pkg__features { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 10px; font-size: 15.5px; color: var(--muted); }
.pkg__features li { display: flex; gap: 10px; }
.pkg__features li::before { content: "→"; color: var(--accent); flex: none; }
.pkg .btn { margin-top: auto; }
.pkg__note { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }

.secure { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(40px, 5vw, 64px); padding: 22px 28px; border-radius: var(--radius); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 15px; }
.secure strong { color: var(--text); font-weight: 600; }
.secure svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; color: var(--accent); }

/* ---------- Levels (lessons page) ---------- */
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.level { padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.level__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.level__grade { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .06em; text-transform: uppercase; }
.level__time { font-size: 13px; color: var(--muted); border: 1px solid var(--line-strong); padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.level h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.045em; }
.level p { margin: 0; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0 0; }
.pills li { padding: 6px 14px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }

/* ---------- Chord explorer ---------- */
.chords { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.chord-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.chord-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.chord-card svg { width: 100%; max-width: 260px; height: auto; justify-self: center; }
.chord-card h3 { font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.06em; }
.chord-card .tip { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; }
.chord-svg .fret-line, .chord-svg .string-line { stroke: var(--line-strong); }
.chord-svg .nut { fill: var(--text); }
.chord-svg .dot { fill: var(--accent); }
.chord-svg .dot-label { fill: var(--accent-ink); font-size: 11px; font-weight: 700; text-anchor: middle; dominant-baseline: central; font-family: var(--font); }
.chord-svg .marker { fill: none; stroke: var(--text); stroke-width: 1.6; }
.chord-svg .mute { stroke: var(--muted); stroke-width: 1.6; }
.chord-svg .str-name { fill: var(--muted); font-size: 11px; text-anchor: middle; font-family: var(--font); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: clamp(20px, 2.6vw, 30px) 0; cursor: pointer; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: 22px; font-weight: 400; transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq details p { margin: 0 0 26px; max-width: 70ch; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; text-align: center; padding: clamp(90px, 13vw, 190px) 0; overflow: hidden; border-top: 1px solid var(--line); }
.cta .display { font-size: clamp(3rem, 11vw, 11rem); }
.cta p { margin: 28px auto 40px; max-width: 48ch; }
.cta .btn-row { justify-content: center; }
.cta__mail { display: inline-block; margin-top: 36px; font-size: clamp(1.1rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -0.03em; border-bottom: 1px solid var(--line-strong); word-break: break-all; transition: color .3s, border-color .3s; }
.cta__mail:hover { color: var(--accent); border-color: var(--accent); }
.cta__float { position: absolute; width: clamp(110px, 14vw, 210px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; opacity: .9; z-index: -1; }
.cta__float img { width: 100%; height: 100%; object-fit: cover; }
.cta__float--l { left: 4%; top: 14%; transform: rotate(-8deg); }
.cta__float--r { right: 4%; bottom: 12%; transform: rotate(7deg); }
.cta { isolation: isolate; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.contact-card { padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: border-color .3s, transform .5s var(--ease); }
.contact-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.contact-card h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin-top: auto; }
.contact-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.contact-card .step__icon { margin: 0; }
.form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.form-note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.prose a:hover { color: var(--accent); }
.prose strong { color: var(--text); }
.callout { padding: 18px 22px; border-radius: var(--radius-sm); border: 1px dashed var(--accent); color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 100px) 0 28px; background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); }
.footer-top h4 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top ul a { transition: color .3s; }
.footer-top ul a:hover { color: var(--accent); }
.footer-brand p { color: var(--muted); max-width: 36ch; margin: 18px 0 24px; }
.footer-mail { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line-strong); word-break: break-all; }
.footer-mail:hover { color: var(--accent); border-color: var(--accent); }
.footer-word { font-size: clamp(3rem, 13.5vw, 14rem); font-weight: 700; letter-spacing: -0.07em; line-height: .8; margin: clamp(48px, 7vw, 100px) 0 clamp(20px, 3vw, 36px); color: transparent; -webkit-text-stroke: 1px var(--line-strong); white-space: nowrap; text-align: center; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-bottom a:hover { color: var(--text); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 30; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .35s, transform .35s var(--ease), visibility .35s; background: var(--bg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: 60px minmax(0, 1fr) 54px; }
  .row__text { grid-column: 2 / 3; }
  .row__arrow { grid-row: 1; grid-column: 3; }
  .row__img { display: none; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__top, .hero__meta, .page-hero__row, .section-head, .split, .chords, .chord-card { grid-template-columns: 1fr; }
  .hero__top .badge-rotate { display: none; }
  .hero__media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { margin-top: 28px; border-top: 1px solid var(--line); }
  .levels, .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-a { grid-column: 1 / -1; }
  .g-b { grid-column: span 1; grid-row: auto; aspect-ratio: 3 / 4; }
  .g-c, .g-d { grid-column: span 1; aspect-ratio: 3 / 4; }
  .pkg-group__head { flex-direction: column; }
  .pkg-group__head p { text-align: left; }
  .split__media { aspect-ratio: 4 / 3.4; }
  .cta__float { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { height: 72px; }
  .logo__text { font-size: 16px; }
  .logo small { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .row { grid-template-columns: 1fr 54px; gap: 12px 16px; }
  .row__num { grid-column: 1 / -1; }
  .row__title { grid-column: 1; }
  .row__arrow { grid-row: 2; grid-column: 2; width: 46px; height: 46px; }
  .row__text { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; padding-left: 0 !important; margin-top: 0 !important; border-top: 0 !important; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
  .gallery figcaption { left: 10px; bottom: 10px; font-size: 12.5px; padding: 6px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__title .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
