@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/jost-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("/assets/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #020303;
  --surface: #161717;
  --accent: #f59f00;
  --accent-2: #fab005;
  --text: #f1f3f5;
  --muted: #b8bcc2;
  --radius: 20px;
}

* { box-sizing: border-box; }

a { color: var(--accent); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4;
}

.page { position: relative; max-width: 1160px; margin: 0 auto; padding: 24px 16px 56px; }

/* Language switch */
.lang { position: absolute; top: 20px; right: 16px; display: flex; gap: 2px; padding: 3px; border-radius: 16px; background: var(--surface); font-size: 13px; font-weight: 400; line-height: 1; }
.lang a, .lang span { padding: 6px 10px; border-radius: 13px; color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang [aria-current] { background: #2b2e32; color: var(--text); }

/* Heading */
.hero { margin-bottom: 44px; text-align: center; }

.name { margin: 0 0 8px; font-size: 50px; font-weight: 300; line-height: 1.1; }

.intro { margin: 0 0 24px; color: var(--muted); font-size: 19px; }

.lead { margin: 0 0 28px; font-size: 29px; font-weight: 300; line-height: 1.25; }

.pick {
  display: inline-block;
  width: 29px;
  height: 29px;
  margin-right: 4px;
  vertical-align: -4px;
  background: var(--accent);
  mask: url("https://cdn.jsdelivr.net/npm/@tabler/icons@3.50.0/icons/outline/guitar-pick.svg") center / contain no-repeat;
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 180px;
  height: 52px;
  border-radius: 26px;
  background: #2b2e32;
  color: var(--text);
  font-size: 18px;
  text-decoration: none;
  transition: background-color .15s;
}

.button:hover { background: #3a3e43; }

.button img { filter: invert(1); }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }

.photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Skill cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }

.card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.card-notes::after,
.card-fretboard::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  aspect-ratio: 5 / 3;
  background: url("/assets/card-notes.svg") center / contain no-repeat;
  opacity: .1;
  pointer-events: none;
}

.card-fretboard::after { background-image: url("/assets/card-fretboard.svg"); }

h2 { margin: 0 0 12px; font-size: 20px; font-weight: 400; line-height: 1.3; }

.card p { margin: 0; color: var(--muted); }

.card ul { margin: 0; padding-left: 20px; color: var(--muted); }

.card .tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }

.tags li { padding: 5px 14px; border-radius: 16px; background: #2b2e32; font-size: 17px; }

/* Video */
.video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius);
  background: #000;
}

a.video { position: relative; overflow: hidden; color: #fff; font-family: Roboto, Arial, sans-serif; }
a.video img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* YouTube-style player chrome over the cover */
.yt { position: absolute; inset: 0; }
.yt-top, .yt-bottom { position: absolute; left: 0; right: 0; display: flex; padding: 0 20px; }
.yt-top { top: 0; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 40px; background: linear-gradient(rgba(0, 0, 0, .45), transparent); }
.yt-bottom { bottom: 0; flex-direction: column; gap: 10px; padding-top: 50px; padding-bottom: 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
a.video .yt-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.yt-title { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; text-shadow: 0 0 2px rgba(0, 0, 0, .5); }
.yt-title b { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-title small { font-size: 12px; }
.yt-icons { display: flex; gap: 22px; margin-left: auto; }
.yt-ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.yt-row { display: flex; align-items: center; justify-content: space-between; }
.yt-time { font-size: 13px; font-weight: 700; }
.yt-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.yt-btn .yt-ic { width: 20px; height: 20px; }
.yt-pill { width: 52px; border-radius: 18px; }
.yt-progress { position: relative; height: 3px; background: rgba(255, 255, 255, .35); }
.yt-progress::before { content: ""; position: absolute; inset: 0 78% 0 0; background: rgba(255, 255, 255, .5); }
.yt-progress i { position: absolute; top: -4px; left: -2px; width: 11px; height: 11px; border-radius: 50%; background: #f00; }
.yt-logo { display: flex; padding: 9px 16px; border-radius: 20px; background: rgba(0, 0, 0, .35); }
.yt-logo svg { width: 88px; height: 20px; }

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  transition: background .2s;
}
.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
a.video:hover .video-play, a.video:focus-visible .video-play { background: #f00; }

@media (max-width: 560px) {
  .yt-top { padding: 10px 12px 30px; gap: 8px; }
  .yt-bottom { padding: 30px 12px 8px; gap: 6px; }
  a.video .yt-avatar { width: 30px; height: 30px; }
  .yt-title b { font-size: 14px; }
  .yt-title small { font-size: 11px; }
  .yt-icons, .yt-row:first-child { display: none; }
  .yt-btn { width: 30px; height: 30px; }
  .yt-pill { width: 42px; }
  .yt-logo { padding: 7px 12px; }
  .yt-logo svg { width: 66px; height: 15px; }
  .video-play { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
}

.video-caption { margin: 12px 0 40px; color: var(--muted); font-size: 15px; text-align: center; }

/* Reviews */
.reviews { margin-bottom: 40px; }
.reviews h2 { text-align: center; }
.reviews-note { margin: -16px 0 20px; color: var(--muted); font-size: 15px; text-align: center; }

.review-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.review-col { display: flex; flex-direction: column; gap: 20px; }

.review {
  margin: 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.review blockquote { margin: 0 0 12px; color: var(--muted); }
.review figcaption { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.review figcaption img { filter: invert(1); opacity: .6; }

/* How lessons work */
.lessons {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
}

.lessons > div { align-self: start; }
.lessons h2 { margin-bottom: 18px; font-size: 24px; }

.lessons-list { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); }
.lessons-list > li { display: flex; align-items: flex-start; gap: 12px; }
.lessons-list b { display: block; font-weight: inherit; }
.lessons-list ul { margin: 2px 0 0; padding-left: 20px; list-style: disc; }

.ico {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background: var(--accent);
  mask: var(--icon) center / contain no-repeat;
}

.ico-user { --icon: url("https://cdn.jsdelivr.net/npm/@tabler/icons@3.50.0/icons/outline/user.svg"); }
.ico-pin { --icon: url("https://cdn.jsdelivr.net/npm/@tabler/icons@3.50.0/icons/outline/map-pin.svg"); }
.ico-coin { --icon: url("https://cdn.jsdelivr.net/npm/@tabler/icons@3.50.0/icons/outline/coin-euro.svg"); }

.lessons a { text-decoration: none; }
.lessons a:hover { color: var(--accent-2); }

.lessons-map { display: block; }
.lessons-map img { display: block; width: 100%; height: auto; border-radius: 12px; transition: opacity .15s; }
.lessons-map:hover img { opacity: .85; }

/* Footer */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px 28px;
  color: var(--muted);
  font-size: 14px;
}

.footer p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { display: block; }
.footer-links img { display: block; filter: invert(1); opacity: .6; transition: opacity .15s; }
.footer-links a:hover img { opacity: 1; }

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 220px; }
  .review-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .page { padding: 16px 16px 32px; }
  .lang { top: 10px; right: 6px; flex-direction: column; padding: 2px; font-size: 11px; text-align: center; }
  .lang a, .lang span { padding: 5px 7px; }
  .hero { margin-bottom: 24px; }
  .name { margin-bottom: 6px; font-size: 30px; }
  .intro { margin-bottom: 16px; font-size: 16px; text-wrap: balance; }
  .lead { margin-bottom: 20px; font-size: 21px; text-wrap: balance; }
  .lead br { display: none; }
  .pick { width: 22px; height: 22px; margin-right: 2px; vertical-align: -3px; }
  .button { flex: 1; width: auto; max-width: 180px; height: 48px; font-size: 17px; }
  .photos { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 12px; }
  .photos img { aspect-ratio: 3 / 4; object-position: top; }
  .photos img:last-child { object-position: bottom; }
  .photos img:nth-child(2), .photos img:nth-child(3) { display: none; }
  .cards { gap: 12px; margin-bottom: 12px; }
  .lessons { grid-template-columns: 1fr; gap: 20px; }
  .photos img, .card, .video, .lessons { border-radius: 16px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .review-list { grid-template-columns: 1fr; gap: 12px; }
  .review-col { gap: 12px; }
  .review { border-radius: 16px; }
  .card-notes, .card-fretboard { padding-bottom: 56px; }
  .card-notes::after, .card-fretboard::after { width: 45%; }
  .footer p span { display: block; }
  .footer .footer-sep { display: none; }
}
