/* חלמון - example site. Kit: kit.css (animation), a11y.css (widget). This file = the custom 30%. */
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 900; font-display: swap; src: url(fonts/FrankRuhlLibre-var-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Frank Ruhl Libre'; font-weight: 300 900; font-display: swap; src: url(fonts/FrankRuhlLibre-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Assistant'; font-weight: 200 800; font-display: swap; src: url(fonts/Assistant-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Assistant'; font-weight: 200 800; font-display: swap; src: url(fonts/Assistant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-display: 'Frank Ruhl Libre', 'Times New Roman', serif;
  --font-body: 'Assistant', Arial, sans-serif;
  --black: #000;
  --ink: #0e0d0b;
  --coal: #1b1915;
  --bone: #f3ede2;
  --paper: #faf6ee;
  --yolk: #f5b21a;
  --yolk-ink: #6f4d00;
  --mute: #a9a192;
  --line: rgb(14 13 11 / .16);
  --hd-h: 64px;
  --akx-loader-bg: #000;
  --a11y-accent: #f5b21a;
  --a11y-bg: #0e0d0b;
  --a11y-fg: #f3ede2;
  --a11y-btn-size: 50px;
  --a11y-inline-start: 14px;
  --a11y-block-end: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--ink); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul, dl, dd, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 3px solid var(--yolk); outline-offset: 3px; }
section[id] { scroll-margin-top: calc(var(--hd-h) + 30px); }

.skip { position: fixed; top: -80px; right: 12px; z-index: 100000; background: var(--yolk); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 44px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(64px, 10vw, 130px) 0; }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--ink { background: var(--ink); color: var(--bone); }
.sec--yolk { background: var(--yolk); color: var(--ink); }

.eyebrow { font-weight: 700; font-size: .95rem; color: var(--yolk-ink); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--yolk); flex: none; box-shadow: 0 0 0 4px rgb(245 178 26 / .22); }
.sec--ink .eyebrow, .hero .eyebrow, .courses .eyebrow { color: var(--yolk); }
.sec--yolk .eyebrow { color: var(--ink); }
.sec--yolk .eyebrow::before { background: var(--ink); box-shadow: 0 0 0 4px rgb(14 13 11 / .14); }
.h2 { font: 900 clamp(2.3rem, 7.4vw, 5rem)/1.02 var(--font-display); text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 60ch; margin-top: 22px; }
.sec--ink .lead { color: #d9d2c4; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--yolk); color: var(--ink); font: 800 1.05rem/1.2 var(--font-body); padding: 16px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: background .25s, transform .25s; }
.btn:hover { background: #ffc53a; }
.btn svg { width: 22px; height: 22px; flex: none; }

/* icon buttons */
.ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; text-decoration: none; flex: none; transition: transform .25s; }
.ic:hover { transform: translateY(-2px); }
.ic svg { width: 54%; height: 54%; }
.ic--lg { width: 58px; height: 58px; }
.ic--wa { background: #25d366; } .ic--ph { background: var(--yolk); color: var(--ink); } .ic--wz { background: #33ccff; color: #0b2530; }
.ic--ml { background: var(--bone); color: var(--ink); }

/* loader */
.ld { text-align: center; color: var(--bone); }
.ld img { width: 96px; margin-inline: auto; }
.ld p { font: 700 1.3rem var(--font-display); color: var(--yolk); margin-top: 6px; }

/* header */
.hd { position: sticky; top: 0; z-index: 90; height: var(--hd-h); background: var(--black); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: clamp(14px, 3vw, 36px); border-bottom: 1px solid rgb(255 255 255 / .1); }
.hd__logo, .ft__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); text-decoration: none; font: 900 1.9rem/1 var(--font-display); }
.hd__logo img { height: 38px; width: 38px; }
.hd__nav { display: none; gap: clamp(14px, 2vw, 30px); }
.hd__nav a { color: var(--bone); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .25s, color .25s; }
.hd__nav a:hover { color: var(--yolk); border-color: var(--yolk); }
.hd__cta { display: flex; align-items: center; gap: 10px; }
.hd__burger { width: 44px; height: 44px; background: none; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.hd__burger span { display: block; width: 18px; height: 2px; background: var(--bone); transition: transform .3s, opacity .3s; }
.hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu { position: fixed; inset-inline: 0; top: var(--menu-top, 94px); z-index: 89; background: var(--black); color: var(--bone); padding: 8px 22px 22px; border-radius: 0 0 22px 22px; box-shadow: 0 24px 50px rgb(0 0 0 / .5); }
.menu nav a { display: block; padding: 13px 2px; font: 700 1.5rem var(--font-display); text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / .1); }
.menu__cta { display: flex; gap: 14px; justify-content: center; padding-top: 18px; }
.menu__cta .ic { width: 52px; height: 52px; }
.menu-shade { position: fixed; inset: 0; z-index: 88; background: rgb(0 0 0 / .6); }
.menu[hidden], .menu-shade[hidden] { display: none; }

/* hero */
.hero { background: var(--ink); color: var(--bone); display: grid; }
.hero__txt { padding: clamp(34px, 7vw, 80px) 20px clamp(30px, 5vw, 60px); }
.hero__h { font: 900 clamp(3.7rem, 17.5vw, 6rem)/.92 var(--font-display); max-width: 8ch; }
.hero__h em { font-style: normal; color: var(--yolk); }
.hero__lead { margin-top: 24px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); max-width: 46ch; color: #ddd6c8; }
.hero__row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero__cue { color: var(--bone); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yolk); padding-bottom: 2px; }
.hero__cue span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* story */
.story__grid { display: grid; gap: 34px; }
.story__lead .h2 { margin-bottom: 26px; }
.story__lead p + p { margin-top: 16px; }
.big { font: 700 clamp(1.5rem, 3.2vw, 2.2rem)/1.25 var(--font-display); }
.story__id { font-weight: 700; color: var(--yolk-ink); }
.story__pic img { width: 100%; border-radius: 300px 300px 18px 18px; aspect-ratio: 4 / 5; object-fit: cover; }
.road { margin-top: clamp(48px, 7vw, 90px); display: grid; gap: 0; border-top: 2px solid var(--ink); }
.road li { display: grid; gap: 4px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.road__k { font: 900 clamp(1.6rem, 3.4vw, 2.5rem)/1.1 var(--font-display); }
.road p { max-width: 62ch; }
.road__now { background: var(--yolk); padding-inline: 18px !important; border-radius: 0 0 18px 18px; border-bottom: 0 !important; }

/* ---------- signature: six courses ---------- */
.courses { background: var(--ink); color: var(--bone); padding: clamp(64px, 10vw, 120px) 0; }
.courses__stage { width: min(1180px, 100% - 40px); margin-inline: auto; }
.courses__sub { margin-top: 16px; max-width: 54ch; color: #d9d2c4; }
.courses__ring, .courses__count { display: none; }
.courses__list { display: grid; gap: 36px 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 40px; }
.course img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.course__txt { text-align: center; margin-top: 14px; }
.course__n { font: 900 1.1rem var(--font-display); color: var(--yolk); }
.course h3 { font: 900 1.6rem/1.1 var(--font-display); }
.course p { color: #d9d2c4; }

.courses.is-pinned { padding: 0; height: 430vh; }
.is-pinned .courses__stage { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; padding: calc(var(--hd-h) + 44px) 20px 20px; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.is-pinned .courses__head { text-align: center; }
.is-pinned .courses__head .eyebrow { justify-content: center; margin-bottom: 8px; }
.is-pinned .courses__head .h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); }
.is-pinned .courses__sub { font-size: .95rem; line-height: 1.45; margin: 10px auto 0; }
.is-pinned .courses__plate { --s: min(72vw, 38svh); position: relative; width: var(--s); height: var(--s); margin-top: 26px; flex: none; }
.is-pinned .courses__ring { display: block; position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); overflow: visible; }
.courses__ring circle { fill: none; stroke: rgb(243 237 226 / .16); stroke-width: .3; }
.courses__ring .courses__ring-p { stroke: var(--yolk); stroke-width: .9; transition: stroke-dashoffset .25s linear; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.is-pinned .courses__list { display: block; margin: 0; }
.is-pinned .course img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.86) rotate(-14deg); transition: opacity .6s var(--akx-ease), transform .9s var(--akx-ease); box-shadow: 0 30px 70px rgb(0 0 0 / .55); }
.is-pinned .course.is-past img { transform: scale(1.1) rotate(14deg); }
.is-pinned .course.is-active img { opacity: 1; transform: none; }
.is-pinned .course__txt { position: absolute; top: calc(100% + 26px); left: 50%; width: min(88vw, 420px); margin: 0 0 0 calc(min(88vw, 420px) / -2); opacity: 0; transform: translateY(18px); transition: opacity .45s, transform .6s var(--akx-ease); pointer-events: none; }
.is-pinned .course.is-active .course__txt { opacity: 1; transform: none; transition-delay: .12s; }
.is-pinned .course__n { display: none; }
.is-pinned .course h3 { font-size: clamp(1.6rem, 6.4vw, 2.6rem); }
.is-pinned .courses__count { display: block; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font: 700 1rem var(--font-display); color: var(--mute); }
.is-pinned .courses__count b { color: var(--yolk); font-weight: 900; }

/* events */
.ev { display: grid; gap: 34px; margin-top: clamp(40px, 6vw, 70px); }
.ev__card figure { border-radius: 16px; }
.ev__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ev__size { display: inline-block; margin-top: 14px; background: var(--yolk); padding: 3px 14px; border-radius: 999px; font-weight: 800; }
.ev__card h3 { font: 900 clamp(1.9rem, 3.4vw, 2.5rem)/1.1 var(--font-display); margin: 10px 0 8px; }
.more { margin-top: clamp(48px, 7vw, 90px); padding-top: 30px; border-top: 2px solid var(--ink); }
.more__h { font: 900 clamp(1.6rem, 3vw, 2.2rem) var(--font-display); margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 18px; font-weight: 700; }

/* reviews */
.rev__hero { margin-top: clamp(34px, 5vw, 60px); }
.rev__hero blockquote { font: 900 clamp(1.8rem, 5.2vw, 3.8rem)/1.12 var(--font-display); text-wrap: balance; max-width: 22ch; }
.rev__hero figcaption, .rev__q figcaption { font-weight: 800; margin-top: 14px; }
.rev__hero figcaption::before, .rev__q figcaption::before { content: '— '; }
.rev__grid { display: grid; gap: 0 40px; margin-top: clamp(40px, 6vw, 70px); }
.rev__q { padding: 24px 0; border-top: 2px solid var(--ink); }
.rev__q blockquote { font-size: 1.12rem; line-height: 1.6; }

/* faq */
.faq__grid { display: grid; gap: 36px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 2px solid var(--ink); }
.faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 700 clamp(1.25rem, 2.2vw, 1.55rem)/1.25 var(--font-display); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yolk); display: grid; place-items: center; font: 700 1.3rem/1 var(--font-body); transition: transform .3s; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 0 22px; max-width: 58ch; }

/* contact */
.contact__grid { display: grid; gap: 44px; }
.contact__h { color: var(--yolk); }
.contact__ics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nap { margin-top: 34px; display: grid; gap: 10px; }
.nap div { display: flex; gap: 14px; align-items: baseline; }
.nap dt { color: var(--mute); min-width: 4.2em; }
.nap dd { font-weight: 700; font-size: 1.15rem; }
.nap a { text-decoration: none; border-bottom: 1px solid var(--yolk); }
.hours { margin-top: 28px; border-collapse: collapse; width: min(100%, 380px); }
.hours caption { text-align: start; color: var(--mute); padding-bottom: 6px; }
.hours th, .hours td { padding: 9px 0; border-top: 1px solid rgb(255 255 255 / .14); font-weight: 600; text-align: start; }
.hours td { text-align: end; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--yolk); font-weight: 800; }
.wform { background: var(--bone); color: var(--ink); border-radius: 22px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 8px; align-content: start; }
.wform h3 { font: 900 clamp(1.7rem, 3vw, 2.2rem)/1.1 var(--font-display); }
.wform__note { font-size: .95rem; color: #4d473c; margin-bottom: 8px; }
.wform label { font-weight: 700; margin-top: 8px; }
.wform input, .wform select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.wform .btn { margin-top: 18px; justify-content: center; }
.btn--wa { background: #1faa52; color: #fff; }
.btn--wa:hover { background: #17924a; }

/* footer + floats */
.ft { background: var(--black); color: var(--bone); padding: 44px 0 96px; text-align: center; }
.ft__in { display: grid; gap: 18px; justify-items: center; }
.ft img { width: 40px; height: 40px; }
.ft__by a { color: var(--yolk); }
.ft__nap a { text-decoration: none; }
.ft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.ft__nav a { text-underline-offset: 4px; }
.ft__by { color: var(--mute); font-size: .9rem; }
.fl { position: fixed; z-index: 80; inset-inline-end: 14px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .4); transition: transform .25s; }
.fl:hover { transform: scale(1.07); }
.fl svg { width: 56%; height: 56%; }
.fl--wa { bottom: 14px; background: #25d366; }
.fl--wz { bottom: 76px; background: #33ccff; color: #0b2530; }

/* ---------- desktop ---------- */
@media (min-width: 760px) {
  .ev { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .ev__card:nth-child(2) { margin-top: 56px; }
  .rev__grid { grid-template-columns: 1fr 1fr; }
  .road li { grid-template-columns: 240px 1fr; align-items: baseline; }
}
@media (min-width: 960px) {
  :root { --hd-h: 72px; }
  .hd__logo { font-size: 2.2rem; }
  .hd__logo img { height: 44px; width: 44px; }
  .hd__nav { display: flex; }
  .hd__burger { display: none; }
  .hero { grid-template-columns: 1.08fr .92fr; min-height: calc(100svh - var(--hd-h) - 30px); }
  .hero__txt { padding: clamp(40px, 6vh, 90px) clamp(28px, 5vw, 80px); align-self: center; }
  .hero__h { font-size: clamp(4.6rem, 9.2vw, 9.4rem); }
  .hero__img { position: relative; }
  .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .story__grid { grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
  .faq__grid { grid-template-columns: .9fr 1.1fr; gap: 70px; }
  .contact__grid { grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
  .rev__grid { grid-template-columns: repeat(3, 1fr); }

  .courses.is-pinned { height: 520vh; }
  .is-pinned .courses__plate { --s: min(40vw, 50svh); margin-top: 34px; }
  .is-pinned .course__txt { top: 50%; left: calc(100% + 5vw); width: 24vw; margin: 0; text-align: start; transform: translateY(calc(-50% + 18px)); }
  .is-pinned .course.is-active .course__txt { transform: translateY(-50%); }
  .is-pinned .course__n { display: block; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; }
  .is-pinned .courses__count { bottom: auto; top: 60%; left: 9vw; transform: none; font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cue span { animation: none; }
}
html.a11y-no-motion .hero__cue span { animation: none; }
