/* Audiophil Classic: bounded refinement, appended after classic.css.
   Preserve Open Sans, the existing artwork, section sequence and client copy.
   Root editor must remove the advanced-course links and the .talk .face markup.
   No content, dates, destinations or publishing settings are changed here. */

body.classic {
  --focus-ring: #f6eddf;
  --purple-wash: rgba(131, 79, 166, .34);
}

/* Keep the long client-authored opening comfortably readable. */
.classic .spark-copy { gap: 1.25rem; }
.classic .spark-copy .label { margin-bottom: 0; }
.classic .quote {
  max-width: 25ch;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.32;
  text-wrap: pretty;
}
.classic .quote b { margin-top: .55em; line-height: 1.22; }
.classic .spark-copy .lede { max-width: 47ch; line-height: 1.85; }
.classic .shot img { object-position: center 32%; }

/* Natural-color portraits. Only a deliberate pointer hover adds purple. */
.classic .row-photo > div {
  mix-blend-mode: normal;
  filter: none;
  transform: none;
  transition: transform .4s cubic-bezier(.2, .7, .3, 1);
}
.classic .row-photo::after {
  background: var(--purple-wash);
  mix-blend-mode: color;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.classic .row:hover .row-photo > div { transform: none; }
.classic .row-bio { line-height: 1.8; }
.classic .row-alias { font-weight: 700; }
.classic .row-more {
  min-height: 40px;
  align-items: center;
  margin-top: .45rem;
  letter-spacing: 0;
}
@media (hover: hover) and (pointer: fine) {
  .classic .row-photo:hover::after { opacity: 1; }
  .classic .row-photo:hover > div { transform: scale(1.025); }
}

/* Align the old template's remaining warm accents with the chosen palette. */
.classic .arc-grid::before {
  background: linear-gradient(to left, var(--ember), rgba(206, 175, 217, .25));
}
.classic .arc-grid > div:last-child::before {
  box-shadow: 0 0 0 5px rgba(206, 175, 217, .22);
}
.classic .ticket-stub {
  background: linear-gradient(180deg, rgba(114, 79, 148, .065), rgba(114, 79, 148, .025));
}
.classic .ticket h2 { line-height: 1.16; }
.classic .ticket .fine strong {
  display: block;
  padding-top: .8rem;
  border-top: 1px solid var(--paper-hair);
  color: var(--paper-ink);
  font-size: .98rem;
  line-height: 1.75;
  font-weight: 800;
}

/* Quiet, consistently sized controls; no new decorative components. */
.classic .btn { min-height: 48px; line-height: 1.5; text-align: center; }
.classic .btn.compact { min-height: 44px; }
.classic a:focus-visible,
.classic summary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 5px;
}
.classic .ticket a:focus-visible { outline-color: var(--paper-ink); }
.classic .nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
.classic .faq-details summary { min-height: 72px; line-height: 1.65; }
.classic .faq-details summary span { flex: 0 0 1.4rem; text-align: center; }
.classic .answer { max-width: 56ch; line-height: 1.85; }

/* Omer requested his contact button directly beside the title, without a photo. */
.classic .talk {
  grid-template-columns: minmax(0, max-content) auto;
  justify-content: start;
  column-gap: 1.5rem;
  row-gap: 1rem;
}
.classic .talk .btn { grid-column: auto; width: fit-content; }

@media (min-width: 1001px) {
  .classic .row { grid-template-columns: 260px minmax(0, .55fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .classic .quote { max-width: none; font-size: clamp(1.5rem, 6.25vw, 1.95rem); }
  .classic .spark-copy .lede { font-size: 1rem; }
  .classic .hero-actions { gap: .75rem; }
  .classic .hero-actions .btn { width: 100%; }
  .classic .row-name { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .classic .row-bio { font-size: .95rem; }
  .classic .arc-grid::before {
    background: linear-gradient(to bottom, var(--ember), rgba(206, 175, 217, .25));
  }
  .classic .ticket-main,
  .classic .ticket-stub { padding: 1.5rem; }
  .classic .faq-details summary { min-height: 68px; padding-block: 1rem; }
  .classic .talk { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .classic .talk .btn { grid-column: auto; }
  .classic .foot { align-items: flex-start; gap: 1.1rem; }
  .classic .foot nav { gap: .6rem 1.2rem; }
  .classic .foot a { display: inline-flex; align-items: center; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .classic .row-photo > div,
  .classic .row-photo::after { transition: none; }
  .classic .row-photo:hover > div,
  .classic .btn:hover { transform: none; }
}

/* Client-supplied opening context and required equipment. */
.classic .quote-context{display:block;font-size:clamp(1rem,1.6vw,1.2rem);font-weight:400;line-height:1.8;margin-block:1.3rem .9rem;color:var(--cream-dim)}
.classic .equipment-note{font-size:1rem;line-height:1.8;margin-block:1.5rem 0;padding-block-start:1.3rem;border-block-start:1px solid var(--paper-hair);color:var(--paper-ink)}
.classic .equipment-note strong{font-weight:800}
/* Audiophil Classic / Omer feedback 18:14-18:17, 2026-10-06.
   Append after refinement.css. Requires the bounded hero markup described in
   hero-refinement-review.json. The supplied artwork is never cropped or tinted. */

.classic .hero.hero--art {
  display: block;
  min-height: 0;
  padding-block: calc(88px + env(safe-area-inset-top, 0px)) clamp(2.5rem, 5vw, 4.5rem);
  background: var(--ink);
}
.classic .hero--art .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.55fr);
  grid-template-areas: "copy art";
  align-items: center;
  gap: clamp(1.6rem, 3vw, 2.75rem);
}
.classic .hero--art .hero-art {
  grid-area: art;
  min-width: 0;
  margin: 0;
}
.classic .hero--art .hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  filter: none;
  mix-blend-mode: normal;
}
.classic .hero--art .flyer {
  grid-area: copy;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: 1rem;
  min-width: 0;
  border: 0;
  padding: 0;
  background: none;
}
.classic .hero--art .flyer::before,
.classic .hero--art .flyer::after { content: none; }
.classic .hero--art .flyer > * { grid-column: auto; grid-row: auto; min-width: 0; }
.classic .hero--art .flyer-top { gap: .35rem .8rem; font-size: .75rem; letter-spacing: 0; }
.classic .hero--art h1 { gap: .2em; text-shadow: none; }
.classic .hero--art h1 .brand { font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.classic .hero--art h1 .event { font-size: clamp(3rem, 5.1vw, 4.6rem); line-height: 1.08; }
.classic .hero--art .bill-line { font-size: .875rem; gap: .35rem .55rem; padding-block: .75rem; letter-spacing: 0; }
.classic .hero--art .bill-line b { white-space: nowrap; }
.classic .hero--art .lede { max-width: none; font-size: 1rem; line-height: 1.85; }
.classic .hero--art .hero-actions { align-items: stretch; gap: .7rem; }
.classic .hero--art .hero-actions .btn { width: 100%; padding-inline: 1rem; font-size: .94rem; }

/* Precise new opening hierarchy: the premise is subordinate and purple. */
.classic .quote .quote-premise {
  display: block;
  margin-top: .65rem;
  color: var(--ember);
  font-size: clamp(1.08rem, 1.65vw, 1.25rem);
  line-height: 1.6;
  font-weight: 700;
}
.classic .quote .quote-context { margin-block: .85rem .75rem; }
.classic .spark-copy .copy-line { display: block; }

@media (max-width: 980px) {
  .classic .hero--art .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "art" "copy";
    gap: 1.7rem;
  }
  .classic .hero--art .flyer { max-width: 600px; width: 100%; margin-inline: auto; }
  .classic .hero--art h1 .event { font-size: clamp(3rem, 8vw, 4.6rem); }
}
@media (max-width: 760px) {
  .classic .hero.hero--art { padding-block: calc(68px + env(safe-area-inset-top, 0px)) 2.6rem; }
  .classic .hero--art .hero-layout { padding-inline: 0; gap: 1.45rem; }
  .classic .hero--art .hero-art { width: 100%; }
  .classic .hero--art .flyer { padding-inline: 20px; gap: .9rem; }
  .classic .hero--art .flyer-top { font-size: .74rem; }
  .classic .hero--art h1 .brand { font-size: 1.15rem; }
  .classic .hero--art h1 .event { font-size: clamp(2.8rem, 12.2vw, 3.4rem); }
  .classic .hero--art .bill-line { font-size: .825rem; gap: .3rem .5rem; }
  .classic .hero--art .hero-actions .btn { font-size: .92rem; min-height: 48px; }
  .classic .quote .quote-premise { font-size: 1.125rem; }
}

/* Scope: remove invisible keyboard stops without changing visual layout. */
html.js:not(.past-cta) .classic .topbar .right,
html.js:not(.past-cta) .classic .buybar {
  visibility: hidden;
}
html.js.past-cta .classic .topbar .right,
html.js.past-cta .classic .buybar {
  visibility: visible;
}
@media (min-width: 1181px) {
  .classic .nav-check { display: none; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .classic .row-photo { grid-row: 1 / span 2; }
}
/* Keep the intentionally bleeding lesson photo inside its section. */
.classic #about { overflow-x: clip; }
@media (max-width: 760px) {
  .classic .bill .row { scroll-margin: 88px 20px 96px; }
}

/* Omer 18:41: restore the original Classic image-background composition.
   The original JPEG stays unchanged. Desktop reserves its lettered upper area;
   narrow layouts crop into the illustration so enlarged lettering cannot
   collide with the live, accessible course heading. */
.classic .hero.hero--background {
  min-height: 880px;
  padding-top: clamp(360px, 26vw, 420px);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--ink);
}
.classic .hero--background .hero-bg {
  inset: 64px 0 0;
  background-image: url('assets/elephant-course.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: var(--ink);
  filter: none;
}
.classic .hero--background .hero-veil {
  background: linear-gradient(to bottom, rgba(27,18,36,0) 0%, rgba(27,18,36,.06) 30%, rgba(27,18,36,.4) 48%, rgba(27,18,36,.93) 100%);
}
.classic .hero--background .flyer {
  background: linear-gradient(to left, rgba(27,18,36,.74), rgba(27,18,36,.48) 52%, rgba(27,18,36,.08));
  border-color: rgba(246,237,223,.3);
}
.classic .hero--background h1 .brand { font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
.classic .hero--background h1 .event { font-size: clamp(3.4rem, 6.3vw, 5.5rem); }
.classic .hero--background .hero-actions { gap: .7rem; }
.classic .hero--background .hero-actions .btn { font-size: .94rem; }
@media (max-width: 980px) {
  .classic .hero.hero--background {
    min-height: 850px;
    padding-top: 220px;
    padding-bottom: 2rem;
  }
  .classic .hero--background .hero-bg {
    background-size: auto 148%;
    background-position: 54% bottom;
  }
  .classic .hero--background .hero-veil {
    background: linear-gradient(to bottom, var(--ink) 0%, rgba(27,18,36,.82) 10%, rgba(27,18,36,.12) 23%, rgba(27,18,36,.55) 45%, rgba(27,18,36,.96) 100%);
  }
  .classic .hero--background .flyer {
    background: linear-gradient(to bottom, rgba(27,18,36,.25), rgba(27,18,36,.72));
  }
  .classic .hero--background h1 .event { font-size: clamp(3.1rem, 8.8vw, 5rem); }
}
@media (max-width: 760px) {
  .classic .hero.hero--background { min-height: 820px; padding-top: 215px; }
  .classic .hero--background .flyer { padding: 1.1rem; gap: .9rem; }
  .classic .hero--background .flyer-top { font-size: .72rem; }
  .classic .hero--background h1 .brand { font-size: 1.2rem; }
  .classic .hero--background h1 .event { font-size: clamp(2.8rem, 13vw, 3.5rem); }
  .classic .hero--background .bill-line { font-size: .82rem; gap: .3rem .5rem; }
  .classic .hero--background .lede { font-size: 1rem; line-height: 1.85; }
  .classic .hero--background .hero-actions .btn { font-size: .89rem; padding-inline: .65rem; }
}

/* Omer feedback, October 7: portrait overlay and geresh refinement. */
/* The bundled Open Sans has no U+05F3. Use the existing Assistant font for
   that one character only, preserving semantic geresh and normal RTL order. */
@font-face {
  font-family: "Audiophil Hebrew Marks";
  src: url("fonts/Assistant-var.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+05F3;
}
:root {
  --sans: "Audiophil Hebrew Marks", "Open Sans", "Segoe UI", sans-serif;
  --poster: var(--sans);
}

.classic .hero-mobile-art { display: none; }
.classic .hero-copy { display: contents; }

@media (max-width: 760px) {
  .classic .hero.hero--background {
    display: grid;
    grid-template-areas: "portrait" "actions";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    min-height: 0;
    padding: calc(64px + env(safe-area-inset-top, 0px)) 0 1.5rem;
    gap: 0;
    container-type: inline-size;
    background: var(--ink);
  }
  .classic .hero--background .hero-bg,
  .classic .hero--background .hero-veil { display: none; }

  .classic .hero--background > .hero-mobile-art {
    display: block;
    grid-area: portrait;
    align-self: start;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 853 / 1280;
    object-fit: contain;
    filter: none;
    mix-blend-mode: normal;
  }
  .classic .hero--background > .wrap,
  .classic .hero--background .flyer { display: contents; }
  .classic .hero--background .flyer::before,
  .classic .hero--background .flyer::after { content: none; }

  .classic .hero--background .hero-copy {
    display: grid;
    grid-area: portrait;
    align-self: end;
    z-index: 1;
    gap: 6px;
    min-width: 0;
    margin-inline: clamp(12px, 4cqw, 24px);
    margin-bottom: clamp(12px, 4cqw, 24px);
    padding: 10px 12px;
    border: 1px solid rgba(246, 237, 223, .4);
    background: rgba(27, 18, 36, .8);
    text-align: center;
  }
  /* Dates and course identity are already printed prominently in the poster. */
  .classic .hero--background .hero-copy .flyer-top { display: none; }
  .classic .hero--background .hero-copy h1 {
    margin: 0;
    gap: 2px;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: none;
  }
  .classic .hero--background .hero-copy h1 .brand {
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .classic .hero--background .hero-copy h1 .event {
    font-size: clamp(2.25rem, 11cqw, 2.75rem);
    line-height: 1;
    letter-spacing: -.02em;
  }
  .classic .hero--background .hero-copy .bill-line {
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    font-size: .9375rem;
    line-height: 1.35;
    letter-spacing: 0;
  }
  .classic .hero--background .hero-copy .lede {
    max-width: none;
    padding: 0;
    margin: 0;
    color: var(--cream);
    font-size: .9375rem;
    line-height: 1.4;
  }
  .classic .hero--background .hero-actions {
    grid-area: actions;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 32px);
    max-width: 560px;
    margin: 16px auto 0;
    gap: 8px;
    min-width: 0;
  }
  .classic .hero--background .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: .65rem .85rem;
    font-size: .9375rem;
    line-height: 1.4;
    white-space: normal;
  }
}

/* With the image closer removed, the contact block is the final main content.
   Keep a deliberate but compact transition into the existing legal footer. */
.classic #questions { padding-bottom: clamp(2.2rem, 5vw, 3.5rem); }
