/* Hallmark · theme: custom · idea: "two rooms: the warm daylight of the lesson at home and the dark of the stage" · vibe: "warm, personal, friendly, a real teacher" · genre: editorial · job: book
 * hero: full-bleed stage photograph, Jonathan on the left, the head on the blue smoke at the right, the photo above the text on a phone · nav: edge-aligned, name, three links, one outlined pill · footer: one dark line continuing the closing band · imagery: photographs, the user's own 5 and one 9s rehearsal clip, untreated · signature: Jonathan under blue stage light filling the first screen
 * paper: warm white, pale steel tint from the guitar's body · accent: wood from the guitar's back · faces: Rubik throughout, after the client's Hila Haimovich and Ezra sites · axes: light/rounded-sans/warm · posture: restrained on the day sections, committed night on the stage sections, the reason being that his photographs are dark · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V5 · weakest: E, the hero photograph crops differently by width, so it was checked at three desktop sizes and on a phone */
/* Hallmark · waive 83 · the stage section holds the user's own photographs of himself playing · the pictures are the proof that the teacher performs, so they stay large */
/* Hallmark · waive 77 · one band of one line and one action, once a page · the closing WhatsApp band ends the page simply after the questions */
@import url("./tokens.css");
@import url("./base.css");

html { scroll-behavior: smooth; }
body { color: var(--color-ink); font-size: 1.125rem; line-height: 1.65; font-synthesis: none; }
h1, h2, h3 { color: inherit; font-weight: var(--display-weight); }
h1 { max-width: 14ch; line-height: 1.1; }
h2 { max-width: 22ch; }
h3 { font-size: var(--text-title); line-height: 1.25; }
.lead { color: var(--color-ink-2); font-size: var(--text-lead); line-height: 1.55; max-width: 44ch; }
.small { font-size: var(--text-sm); color: var(--color-muted); }
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.22em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-wood-deep); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--whatsapp { min-height: 52px; padding-inline: var(--space-xl); border-color: var(--color-whatsapp); background: var(--color-whatsapp); color: var(--color-whatsapp-ink); }
.btn--whatsapp:hover { border-color: var(--color-whatsapp-deep); background: var(--color-whatsapp-deep); }
.btn svg { flex-shrink: 0; }
.night .btn:focus-visible, .night a:focus-visible, .hero .btn:focus-visible { outline-color: var(--color-focus-dark); }
@media (prefers-reduced-motion: reduce) { .btn { transition: background-color var(--dur-short) linear; } }

.skip { position: absolute; inset-inline-start: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

/* nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 72px; }
.wordmark { font-size: var(--text-xl); font-weight: 500; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav-links a:not(.btn) { color: var(--color-ink-2); font-size: var(--text-md); text-decoration: none; white-space: nowrap; }
.nav-links a:not(.btn):hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-wood-deep); }
.nav .btn { min-height: 44px; padding-inline: var(--space-md); }
.nav-lang a { font-weight: 500; }

/* hero */
.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: calc(100dvh - 72px); max-height: 860px; background: var(--color-night); color: var(--color-cream); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: 1; margin: 0; background: var(--color-night); color: var(--color-cream); }
.hero__photo > img { object-position: 30% 28%; }
.hero__photo > img.is-wide { inset: 0 auto 0 0; width: 82%; }
.hero__photo > img.is-tall { display: none; }
.hero__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to left, var(--color-night) 0%, var(--color-night) 18%, var(--color-scrim) 30%, var(--color-scrim-0) 56%); pointer-events: none; }
.hero__content { position: relative; z-index: 3; width: 100%; padding-block: var(--space-2xl); }
.hero__text { max-width: 34rem; }
.hero .lead { margin-top: var(--space-lg); color: var(--color-cream); }
.hero .btn { margin-top: var(--space-xl); }
.hero .small { margin-top: var(--space-md); color: var(--color-cream-2); }

/* sections */
.section { padding-block: var(--section-gap-s); }
.band { background: var(--color-paper-2); }
.night { background: var(--color-night); color: var(--color-cream); }
.night .lead { color: var(--color-cream-2); }
.head { margin-bottom: var(--space-2xl); }
.head .lead { margin-top: var(--space-md); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-card); }

/* about */
.about__text h2 { margin-bottom: var(--space-lg); }
.about__text p + p { margin-top: var(--space-md); }
.about__text p { color: var(--color-ink-2); max-width: 54ch; }
.about__text .about__big { margin-bottom: var(--space-lg); color: var(--color-ink); font-size: var(--text-2xl); line-height: 1.35; max-width: 30ch; }
.about__text .about__cred { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); color: var(--color-muted); }
.about .frame { aspect-ratio: 4 / 5; min-height: 460px; }
.about .frame > img { object-position: 50% 30%; }

/* who it is for */
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.who li { display: flex; flex-direction: column; gap: var(--space-sm); min-height: 300px; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); }
.who h3 { font-size: var(--text-section); line-height: 1.1; }
.who p { flex: 1; color: var(--color-ink-2); }
.who a { color: var(--color-ink); font-weight: 500; }

/* how it starts */
.how__steps { counter-reset: step; display: grid; gap: var(--space-xl); margin: 0; padding: 0; list-style: none; }
.how__steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--space-lg); }
.how__steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-xl); font-weight: 500; }
.how__steps p { color: var(--color-ink-2); }
.how .btn { margin-top: var(--space-2xl); }
.clip { position: relative; margin: 0; aspect-ratio: 4 / 5; min-height: 460px; overflow: hidden; border-radius: var(--radius-card); background: var(--color-night); }
.clip > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.clip__toggle { position: absolute; inset-inline-start: var(--space-md); bottom: var(--space-md); z-index: 2; border-color: var(--color-paper); background: var(--color-paper); min-height: 44px; padding-inline: var(--space-md); font-size: var(--text-sm); }
.clip__toggle:hover { background: var(--color-paper-2); }
html:not(.js) .clip__toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .clip__toggle { display: none; } }

/* the stage */
.stage__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: end; margin-bottom: var(--space-2xl); }
.bands__label { margin-bottom: var(--space-md); font-size: var(--text-md); font-weight: 500; color: var(--color-cream-2); }
.bands { margin: 0; padding: 0; list-style: none; }
.bands li { display: grid; grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto; gap: var(--space-md); align-items: baseline; padding-block: var(--space-md); border-top: 1px solid var(--color-night-rule); }
.bands li:last-child { border-bottom: 1px solid var(--color-night-rule); }
.bands b { font-weight: 500; font-size: var(--text-lg); }
.bands span { color: var(--color-cream-2); }
.bands a { color: var(--color-wood); font-size: var(--text-md); text-decoration-color: currentColor; }
.stage__photos { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); }
.stage__photos .frame { height: clamp(420px, 44vw, 640px); box-shadow: none; }
.stage__photos .a > img { object-position: 50% 45%; }
.stage__photos .b > img { object-position: 45% 28%; }

/* questions */
.faq { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: start; }
.faq h2 { margin-bottom: var(--space-xl); }
.faq details { border-top: 1px solid var(--color-rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; font-size: var(--text-lg); font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; color: var(--color-wood-deep); font-size: var(--text-xl); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--color-ink-2); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 6px; }
.faq details p { padding-bottom: var(--space-md); color: var(--color-ink-2); max-width: 52ch; }
.faq__photo { margin: 0; }
.faq__photo .frame { aspect-ratio: 3 / 4; }
.faq__photo .frame > img { object-position: 50% 50%; }
.faq__photo figcaption { margin-top: var(--space-sm); color: var(--color-ink); font-size: var(--text-lg); }

/* the close */
.close__head { text-align: center; }
.close__head h2 { margin-inline: auto; }
.close__head .lead { margin: var(--space-md) auto var(--space-xl); }

/* footer */
.footer { background: var(--color-night); color: var(--color-cream-2); padding-block: var(--space-xl); }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm) var(--space-xl); font-size: var(--text-md); }
.footer ul { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.footer a { color: var(--color-cream); text-decoration-color: var(--color-cream-2); }
.footer a:focus-visible { outline-color: var(--color-focus-dark); }
.footer .credit { flex-basis: 100%; color: var(--color-cream); font-size: var(--text-sm); text-decoration: none; text-shadow: 0 0 6px oklch(82% 0.1 75 / 0.55), 0 0 14px oklch(74% 0.09 68 / 0.35); animation: credit-glow 4s ease-in-out infinite; }
.footer .credit:hover { text-decoration: underline; text-shadow: 0 0 8px oklch(82% 0.1 75 / 0.8), 0 0 18px oklch(74% 0.09 68 / 0.55); animation: none; }
@keyframes credit-glow { 50% { text-shadow: 0 0 9px oklch(82% 0.1 75 / 0.75), 0 0 20px oklch(74% 0.09 68 / 0.5); } }
@media (prefers-reduced-motion: reduce) { .footer .credit { animation: none; } }

/* the sticky WhatsApp bar: phones */
.bar { display: none; }

@media (max-width: 60rem) {
  .nav-links { gap: var(--space-md); }
  .nav-links li:not(:last-child):not(.nav-lang) { display: none; }
  .hero { display: block; min-height: 0; max-height: none; }
  .hero__photo { position: relative; inset: auto; aspect-ratio: 4 / 4.4; }
  .hero__photo > img.is-wide { display: none; }
  .hero__photo > img.is-tall { display: block; object-position: 65% 30%; }
  .hero__scrim { background: linear-gradient(to top, var(--color-night) 0%, var(--color-scrim-0) 26%); bottom: auto; height: calc(100vw * 1.1); }
  .hero__content { padding-block: var(--space-lg) var(--space-xl); }
  .hero .btn { display: none; }
  .section { padding-block: var(--section-gap-s); }
  .split, .faq, .stage__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .who { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .who li { min-height: 0; padding: var(--space-lg); }
  .about .frame, .clip { min-height: 0; }
  .about .frame { order: -1; }
  .about__text .about__big { font-size: var(--text-xl); }
  .stage__photos { grid-template-columns: minmax(0, 1fr); }
  .stage__photos .frame { height: auto; aspect-ratio: 4 / 5; }
  .bands li { grid-template-columns: minmax(0, 1fr) auto; }
  .bands span { grid-column: 1 / -1; grid-row: 2; }
  .head { margin-bottom: var(--space-xl); }
  .footer { padding-bottom: calc(var(--space-xl) + 76px); }
  .bar { display: block; position: fixed; inset: auto 0 0 0; z-index: var(--z-sticky); padding: var(--space-sm) var(--gutter); background: var(--color-night); }
  .bar .btn { width: 100%; }
}

/* English page: the same layout mirrored, photo on the right and text on the left */
[dir="ltr"] .hero__photo > img.is-wide { inset: 0 0 0 auto; }
[dir="ltr"] .hero__scrim { background: linear-gradient(to right, var(--color-night) 0%, var(--color-night) 18%, var(--color-scrim) 30%, var(--color-scrim-0) 56%); }
@media (max-width: 60rem) {
  [dir="ltr"] .hero__scrim { background: linear-gradient(to top, var(--color-night) 0%, var(--color-scrim-0) 26%); }
}
/* narrow phones: name, language link and WhatsApp button share one line */
@media (max-width: 30rem) {
  .wordmark { font-size: var(--text-lg); }
  .nav .container { gap: var(--space-sm); }
  .nav-links { gap: var(--space-sm); }
  .nav .btn { padding-inline: var(--space-sm); font-size: var(--text-sm); }
}
