/* Shahar Moyal: her film, her sign's ink, her red. Five pages, phone first, RTL, logical properties. */
:root {
  color-scheme: light;
  --bone: #f6f2ec;           /* page ground, the studio's warm white */
  --stone: #ece6dd;          /* the wall behind the arch */
  --paper: #fbf9f5;
  --ink: #16181d;            /* the sign's letters */
  --ink-2: #4f5156;          /* body text, 7.4:1 on bone */
  --ink-3: #5e5f63;          /* labels, 5.7:1 on bone, 5.1:1 on stone */
  --line: rgba(22, 24, 29, .13);
  --red: #a3141d;            /* her red, used sparingly */
  --night: #111316;          /* the academy, a second room */
  --night-2: #1a1d22;
  --on-night: #efe9df;
  --on-night-2: #b6b1a8;     /* 8.4:1 on night */
  --red-night: #f05a62;      /* 5.3:1 on night */
  --line-night: rgba(239, 233, 223, .14);
  --f-display: "Assistant", "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --f-text: "Assistant", "Heebo", "Arial Hebrew", system-ui, sans-serif;
  --f-latin: "Cormorant Garamond", "Cormorant", Georgia, serif;   /* Latin names, prices, years */
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --gutter: clamp(20px, 4.6vw, 56px);
  --max: 1320px;
  --sec: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(.2, .7, 0, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --bar: 60px;
}
@media (min-width: 900px) { :root { --bar: 78px; } }

/* base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
@media (max-width: 899px) { html { scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } @view-transition { navigation: auto; } }
body { margin: 0; background: var(--bone); color: var(--ink-2); font: 400 1.125rem/1.7 var(--f-text); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, ul, ol, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
bdi { unicode-bidi: isolate; }
em { font-style: normal; }
p, blockquote, figcaption, .svc__d { text-wrap: pretty; }
h1, h2, h3, .h1, .h2, .h3, .creed__q, .hero__line, .sl__h, .sl__q { text-wrap: balance; }
::selection { background: var(--ink); color: var(--bone); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--bone); padding: 12px 18px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
:is(.academy, .close, .foot, .sv, .lb, .sheet) :focus-visible { outline-color: var(--red-night); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.wide { display: none; }
@media (min-width: 900px) { .wide { display: inline; } }

/* type */
.idx { display: flex; align-items: baseline; gap: 14px; font: 500 .9375rem/1.3 var(--f-text); color: var(--ink-3); margin-block-end: 26px; }
.idx > span { font: 500 1rem/1 var(--f-text); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--ink); display: inline-flex; align-items: center; gap: 14px; }
.idx > span::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .5; }
.idx--light { color: var(--on-night-2); }
.idx--light > span { color: var(--on-night); }
.idx--red { color: var(--red); }
.h2 { font: 300 clamp(2.5rem, 1.45rem + 4vw, 5.4rem)/1.06 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.h1 { font: 300 clamp(2.8rem, 1.5rem + 5.4vw, 6.8rem)/1.02 var(--f-display); color: var(--ink); letter-spacing: -.015em; }
.h2--xl { font-size: clamp(2.9rem, 1.5rem + 5.6vw, 7.4rem); line-height: 1; }
.h2--red { color: var(--red); }
.h3 { font: 300 clamp(1.9rem, 1.35rem + 2vw, 3.1rem)/1.1 var(--f-display); color: var(--on-night); }
.sec { padding-block: var(--sec); }
/* the head of an inner page */
.sec--page { padding-block-start: clamp(36px, 5vw, 80px); }
.sec--page:has(+ .jump) { padding-block-end: clamp(26px, 4vw, 48px); }
.sec--page:has(+ .jump) .sec__head { margin-block-end: 0; }
.phead { display: grid; gap: 18px; }
.phead__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-block-start: 6px; }
.is-night { background: var(--night); }
.sec__head { display: grid; gap: 20px; margin-block-end: clamp(40px, 6vw, 84px); }
.sec__head .idx { margin: 0; }
.sec__p { max-width: 44ch; }
@media (min-width: 900px) {
  .sec__head { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); grid-template-rows: auto auto; column-gap: clamp(40px, 6vw, 100px); align-items: end; }
  .sec__head .idx { grid-column: 1 / -1; }
  .sec__p { padding-block-end: .6em; }
}
/* lines that rise into place */
[data-lines] > span, .ln { display: block; overflow: hidden; padding-block-end: .06em; }
.js [data-lines] > span > *, .js .ln > span { display: inline-block; }
.js [data-lines]:not(.is-in) > span { opacity: 0; transform: translateY(.5em); }
.js [data-lines] > span { transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft); }
.js [data-lines] > span:nth-child(2) { transition-delay: .1s; }
.js [data-lines] > span:nth-child(3) { transition-delay: .2s; }

/* links and buttons: square, quiet */
.arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: 500 .975rem/1.3 var(--f-text); text-decoration: none; }
.arrow::after { content: ""; width: 22px; height: 7px; background: linear-gradient(currentColor, currentColor) right center / 100% 1px no-repeat; transition: width .45s var(--ease); clip-path: polygon(0 50%, 5px 0, 5px calc(50% - .5px), 100% calc(50% - .5px), 100% calc(50% + .5px), 5px calc(50% + .5px), 5px 100%); }
@media (hover: hover) { .arrow:hover::after { width: 34px; } }
.arrow--light { color: var(--on-night); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 .975rem/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
@media (hover: hover) { .btn:hover { background: var(--ink); color: var(--bone); } }
.btn--ink { background: var(--ink); color: var(--bone); }
@media (hover: hover) { .btn--ink:hover { background: var(--red); border-color: var(--red); } }
.btn--bone { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
@media (hover: hover) { .btn--bone:hover { background: var(--red-night); border-color: var(--red-night); color: var(--night); } }
.btn--lg { min-height: 60px; padding-inline: 36px; font-size: 1.0625rem; }
.door { display: grid; align-content: center; gap: 5px; min-height: 66px; padding: 12px 22px; border: 1px solid var(--ink); text-decoration: none; color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.door b { font: 500 1.0625rem/1.2 var(--f-text); }
.door small { font: 400 .9rem/1.35 var(--f-text); opacity: .8; }
@media (hover: hover) { .door:hover { background: var(--ink); color: var(--bone); } }
.door--ink { background: var(--ink); color: var(--bone); }
@media (hover: hover) { .door--ink:hover { background: var(--red); border-color: var(--red); } }
.door--bone { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
@media (hover: hover) { .door--bone:hover { background: var(--red-night); border-color: var(--red-night); } }
.door--night { color: var(--on-night); border-color: rgba(239, 233, 223, .5); }
@media (hover: hover) { .door--night:hover { background: var(--on-night); color: var(--night); } }

/* header: the monogram in the middle, like her sign */
.bar { position: sticky; top: 0; z-index: 70; height: var(--bar); background: var(--stone); transition: background-color .4s, box-shadow .4s; }
.bar.is-down { background: var(--bone); box-shadow: 0 1px 0 var(--line); }
.bar__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter); }
.bar__side { display: flex; align-items: center; gap: 28px; }
.bar__side--end { justify-content: flex-end; }
.brand img { height: 38px; width: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; height: 44px; min-width: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-btn__l, .menu-btn__l::before { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .45s var(--ease); }
.menu-btn__l { position: relative; transform: translateY(-3.5px); }
.menu-btn__l::before { content: ""; position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-btn__l { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__l::before { transform: translateY(-7px) rotate(-90deg); }
.menu-btn__t { display: none; font: 500 .875rem/1 var(--f-text); }
.nav { display: none; }
.bar__book { display: inline-flex; align-items: center; min-height: 44px; font: 500 .9rem/1 var(--f-text); color: var(--ink); text-decoration: none; border-block-end: 1px solid var(--ink); }
@media (hover: hover) { .bar__book:hover { color: var(--red); border-color: var(--red); } }
@media (min-width: 900px) { .brand img { height: 46px; } .menu-btn__t { display: inline; } }
@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .nav { display: flex; gap: 30px; }
  .nav a { font: 500 .9rem/1 var(--f-text); color: var(--ink-2); text-decoration: none; padding-block: 12px; background: linear-gradient(var(--ink), var(--ink)) right bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
  .nav a:hover, .nav a[aria-current] { color: var(--ink); background-size: 100% 1px; }
}

/* menu sheet */
.sheet { position: fixed; inset: var(--bar) 0 0; z-index: 65; background: var(--stone); padding: 26px var(--gutter) calc(30px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow: auto; }
.sheet__nav { display: grid; }
.sheet__nav a { display: flex; align-items: baseline; gap: 16px; font: 300 clamp(1.9rem, 7vw, 2.6rem)/1.15 var(--f-display); color: var(--ink); text-decoration: none; padding-block: 10px; border-block-end: 1px solid var(--line); }
.sheet__nav span { font: 500 .9375rem/1 var(--f-text); letter-spacing: .04em; color: var(--ink-3); width: 26px; }
.sheet__nav a[aria-current] span { color: var(--red); }
.sheet__end { display: grid; gap: 10px; }
.sheet__meta { font-size: .9rem; margin-block-start: 8px; }
.js .sheet:not([hidden]) .sheet__nav a { animation: rise .7s var(--ease-soft) both; }
.js .sheet:not([hidden]) .sheet__nav a:nth-child(2) { animation-delay: .04s; } .js .sheet:not([hidden]) .sheet__nav a:nth-child(3) { animation-delay: .08s; }
.js .sheet:not([hidden]) .sheet__nav a:nth-child(4) { animation-delay: .12s; } .js .sheet:not([hidden]) .sheet__nav a:nth-child(5) { animation-delay: .16s; }
.js .sheet:not([hidden]) .sheet__nav a:nth-child(6) { animation-delay: .2s; } .js .sheet:not([hidden]) .sheet__nav a:nth-child(7) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* 1. hero: her film fills the first screen; her name, her line and two doors sit on it */
.hero { position: relative; display: grid; align-items: end; min-height: 100svh; margin-block-start: calc(-1 * var(--bar)); padding: calc(var(--bar) + 24px) var(--gutter) 14px; background: var(--night); color: var(--on-night); overflow: clip; }
.hero :focus-visible, .bar--film:not(.is-down) :focus-visible { outline-color: var(--red-night); }
.hero__film { position: absolute; inset: 0; background: #0c0e11 url("assets/video/hands-poster.webp") center 30% / cover; }
/* scrims, not decoration: the bar's text at the top, her line and the doors at the bottom */
.hero__film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12, 14, 17, .6), transparent 24%), linear-gradient(to top, rgba(12, 14, 17, .94) 10%, rgba(12, 14, 17, .62) 38%, transparent 64%); }
.arch__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.js .arch__film { opacity: 0; transition: opacity 1.4s ease .2s; }
.js .arch__film.is-on { opacity: 1; }
.hero__copy { position: relative; display: grid; gap: 14px; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-block-end: 1px solid rgba(239, 233, 223, .34); }
.hero__top { font: 400 .9375rem/1.45 var(--f-text); padding-block-end: 11px; }
.hero__top i { font-style: normal; margin-inline: .35em; }
.arch__toggle { flex: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.arch__toggle::before { content: ""; width: 9px; height: 11px; border-inline: 2px solid var(--on-night); box-sizing: border-box; }
.arch__toggle[aria-pressed="true"]::before { width: 0; height: 0; border: 0; border-block: 6px solid transparent; border-inline-end: 10px solid var(--on-night); }
.hero__line { font: 300 clamp(2.1rem, 10.6vw, 3.6rem)/1.08 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.js .hero .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero.is-in .ln > span { transform: none; }
.js .hero.is-in .ln:nth-child(3) > span { transition-delay: .12s; }
.hero__doors { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(max-content, 1fr); gap: 10px; margin-block-start: 6px; }
.hero .door { padding-inline: 16px; }
.hero .door small { font-size: .875rem; opacity: .8; white-space: nowrap; }
.door bdi { font: 500 1.14em/1 var(--f-latin); }
@media (max-width: 1179px) { .hero .door small .wide { display: none; } }   /* the course names need the room */
/* over the film the bar is clear and light, and turns solid once the page moves or the menu opens; in the academy it is the night room's bar */
.bar--film:not(.is-down):not(:has([aria-expanded="true"])) { background: none; }
.bar--night, .bar--night.is-down { background: var(--night); box-shadow: none; }
.bar--night.is-down { box-shadow: 0 1px 0 var(--line-night); }
:is(.bar--night, .bar--film:not(.is-down):not(:has([aria-expanded="true"]))) :is(.bar__book, .nav a, .nav a:hover, .menu-btn) { color: var(--on-night); border-color: var(--on-night); }
:is(.bar--night, .bar--film:not(.is-down):not(:has([aria-expanded="true"]))) .menu-btn__l, :is(.bar--night, .bar--film:not(.is-down):not(:has([aria-expanded="true"]))) .menu-btn__l::before { background: var(--on-night); }
:is(.bar--night, .bar--film:not(.is-down):not(:has([aria-expanded="true"]))) .nav a { background-image: linear-gradient(var(--on-night), var(--on-night)); }
:is(.bar--night, .bar--film:not(.is-down):not(:has([aria-expanded="true"]))) .brand img { filter: invert(1); }
.bar--night :focus-visible { outline-color: var(--red-night); }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 88px); min-height: max(100svh, 600px); padding-block-end: 56px; padding-inline-end: 0; }
  /* the film is shot upright, so on wide screens it keeps its shape and runs edge to edge down one side */
  .hero__film { position: relative; inset: auto; grid-area: 1 / 2; align-self: stretch; margin-block: calc(-1 * (var(--bar) + 24px)) -56px; }
  .hero__film::after { background: linear-gradient(to bottom, rgba(12, 14, 17, .55), transparent 22%); }
  .hero__copy { grid-area: 1 / 1; gap: 26px; }
  .hero__top { font-size: 1rem; }
  .hero__line { font-size: clamp(3.2rem, 6vw, 6rem); line-height: 1.04; }
  .hero__doors { grid-template-columns: minmax(230px, 1fr) minmax(0, 1.618fr); gap: 12px; max-width: 46rem; margin-block-start: 10px; }
  .hero .door { padding-inline: 22px; }
}

/* 2. stories */
.stories { background: var(--stone); padding-block: 8px clamp(40px, 6vw, 72px); }
.rings { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 6px var(--gutter) 8px; scrollbar-width: none; }
.rings::-webkit-scrollbar { display: none; }
.rings li { flex: none; scroll-snap-align: start; }
.ring { display: grid; justify-items: center; gap: 10px; width: 76px; padding: 0; border: 0; background: none; cursor: pointer; }
.ring__img { position: relative; width: 72px; height: 72px; border-radius: 50%; padding: 4px; }
.ring__img::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--red); transition: transform .6s var(--ease), border-color .4s; }
.ring.is-seen .ring__img::before { border-color: rgba(22, 24, 29, .28); border-width: 1px; }
.ring__img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .ring:hover .ring__img img { transform: scale(1.06); } }
@media (hover: hover) { .ring:hover .ring__img::before { transform: scale(1.04); } }
.ring__t { font: 500 .9rem/1.2 var(--f-text); color: var(--ink); }
@media (min-width: 900px) { .rings { justify-content: safe center; gap: 30px; } .ring { width: 92px; } .ring__img { width: 88px; height: 88px; } }

/* 3. creed */
.creed { padding: var(--sec) var(--gutter); text-align: center; display: grid; justify-items: center; gap: 30px; }
/* three set lines: never re-wrapped by the browser (Safari did, mid-scroll, and the page jumped); sized to fit 320px */
.creed__q { font: 300 min(clamp(1.85rem, 1.05rem + 3.4vw, 4.4rem), 7.6vw)/1.28 var(--f-display); color: var(--ink); }
.creed__q > span { white-space: nowrap; }
.js .creed__q > span > em { display: inline; }
.creed__q em { color: var(--red); }
.creed__by { display: inline-flex; align-items: center; gap: 14px; font: 500 .9375rem/1 var(--f-text); color: var(--ink-3); }
.creed__by::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

/* 4. work */
.work { background: var(--paper); }
.shapes { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-block-end: 1px solid var(--line); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.shapes::-webkit-scrollbar { display: none; }
.shape { flex: none; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 16px; border: 0; background: none; cursor: pointer; color: var(--ink-3); position: relative; transition: color .3s; }
.shape:first-child { padding-inline-start: 0; }
.shape::after { content: ""; position: absolute; inset-inline: 16px; bottom: 0; height: 1.5px;   /* inside the row: the row scrolls, so it clips anything below it */ background: var(--red); transform: scaleX(0); transition: transform .5s var(--ease); }
.shape:first-child::after { inset-inline-start: 0; }
.shape svg { width: 12px; height: 19px; }
.shape path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.shape__t { font: 500 .9rem/1 var(--f-text); white-space: nowrap; }
@media (hover: hover) { .shape:hover { color: var(--ink); } }
.shape.is-on { color: var(--ink); }
.shape.is-on::after { transform: scaleX(1); }
.shape-note { min-height: 1.6em; margin-block: 22px 30px; font: 300 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.5 var(--f-display); color: var(--ink); max-width: 56ch; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; align-items: start; }
.tile.is-feature { grid-column: 1 / -1; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } .tile.is-feature { grid-column: span 2; grid-row: span 2; } }
@media (min-width: 1140px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; } }
.tile__b { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 5; }
.tile__b img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .tile__b:hover img { transform: scale(1.045); } }
.tile__cap { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin-block-start: 14px; }
.tile__no { grid-row: span 2; font: 500 .9rem/1.65 var(--f-text); letter-spacing: .04em; color: var(--ink-3); }
.tile__t { font: 400 1.125rem/1.4 var(--f-display); color: var(--ink); }
.tile__cap small { font: 400 .9rem/1.4 var(--f-text); color: var(--ink-3); margin-block-start: 2px; }
.tile.is-feature .tile__t { font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); }
.js .tile.is-new { animation: fade-up .9s var(--ease-soft) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
.work__more { display: flex; align-items: center; justify-content: center; gap: 30px; flex-wrap: wrap; margin-block-start: 56px; }
.more { min-height: 52px; padding: 0 30px; border: 1px solid var(--ink); background: none; cursor: pointer; font: 500 .975rem/1 var(--f-text); transition: background-color .35s, color .35s; }
@media (hover: hover) { .more:hover { background: var(--ink); color: var(--bone); } }

/* the price page: a jump row, then a chapter per kind of treatment; each treatment is an entry, not a table row */
.jump { position: sticky; top: var(--bar); z-index: 50; background: var(--bone); }
.jump .shape { text-decoration: none; }
.shape__n { font: 500 .9rem/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--red); }
.shape__n:empty { display: none; }
/* a returning client: what she chose last time, one tap away */
.again { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 20px; padding-block: 14px; border-block: 1px solid var(--line); color: var(--ink); }
.again span { grid-column: 1 / -1; font: 500 .9375rem/1.4 var(--f-text); color: var(--ink-3); }
.again b { grid-column: 1 / -1; font: 400 1.125rem/1.45 var(--f-display); text-wrap: balance; }
.again em { font: 500 1.6rem/1 var(--f-latin); font-variant-numeric: lining-nums tabular-nums; }
.again em small { margin-inline-start: 4px; font: 400 .9rem/1 var(--f-text); color: var(--ink-3); }
.chapter { padding-block: clamp(52px, 7vw, 110px); border-block-end: 1px solid var(--line); scroll-margin-top: calc(var(--bar) + 50px); }
.chapter:nth-of-type(even) { background: var(--paper); }
.chapter__in { display: grid; gap: 30px; }
.chapter__head { display: grid; gap: 16px; align-content: start; }
.chapter__no { font: 500 1rem/1 var(--f-text); letter-spacing: .08em; color: var(--red); direction: rtl; }
.chapter__t { font: 300 clamp(2.3rem, 1.6rem + 2.8vw, 4.2rem)/1.05 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.chapter__p { max-width: 34ch; }
.chapter__q { font: 300 clamp(1.25rem, 1.05rem + .8vw, 1.6rem)/1.5 var(--f-display); color: var(--ink); max-width: 30ch; }
.chapter__fig { width: 61.8%; margin-block-start: 8px; }
.chapter__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.chapter__fig figcaption { margin-block-start: 10px; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.svcs { border-block-start: 1px solid var(--ink); align-self: start; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 20px; padding-block: 24px; border-block-end: 1px solid var(--line); }
.svc__n { font: 400 clamp(1.3rem, 1.15rem + .5vw, 1.55rem)/1.3 var(--f-display); color: var(--ink); }
.svc__p { font: 500 clamp(2rem, 1.7rem + .8vw, 2.6rem)/1 var(--f-latin); color: var(--ink); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.svc__p small, .peek small { margin-inline-start: 4px; font: 400 .9rem/1 var(--f-text); color: var(--ink-3); }
.svc__d { grid-column: 1 / span 2; max-width: 46ch; margin-block-start: 8px; font-size: 1.0625rem; line-height: 1.6; }
/* a list that can be ticked: the whole entry is the tap target, the square at its end shows the state */
.js [data-pick] .svc { position: relative; grid-template-columns: minmax(0, 1fr) auto 30px; column-gap: 16px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.svc__pick { grid-column: 3; grid-row: 1; align-self: center; display: block; cursor: pointer; }
.svc__pick::after { content: ""; position: absolute; inset: 0; }
.svc__pick input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.svc__tick { width: 30px; height: 30px; border: 1px solid var(--ink-3); color: var(--ink); fill: none; stroke: currentColor; stroke-width: 1.3; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .15s; }
.svc__plus { transition: opacity .2s; }
.svc__ok { stroke-dasharray: 18; stroke-dashoffset: 18; transition: stroke-dashoffset .4s var(--ease) .05s; }
.svc__pick input:checked ~ .svc__tick { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.svc__pick input:checked ~ .svc__tick .svc__plus { opacity: 0; }
.svc__pick input:checked ~ .svc__tick .svc__ok { stroke-dashoffset: 0; }
.svc__pick input:focus-visible ~ .svc__tick { outline: 2px solid var(--red); outline-offset: 4px; }
@media (hover: hover) { .js [data-pick] .svc:hover .svc__tick { border-color: var(--ink); } }
.svc:active .svc__tick { transform: scale(.92); }
.svc--lead { padding-block: 30px 32px; }
.svc--lead .svc__n { font: 300 clamp(1.9rem, 1.4rem + 1.8vw, 3rem)/1.12 var(--f-display); letter-spacing: -.01em; }
.svc--lead .svc__p { font-size: clamp(2.7rem, 2.1rem + 1.8vw, 3.9rem); }
.svcs--sm .svc { padding-block: 18px; }
.svcs--sm .svc__n { font-size: 1.15rem; }
.svcs--sm .svc__p { font-size: 1.65rem; }
.chapter__qa .qa__i:first-child { border-block-start: 1px solid var(--ink); }
@media (min-width: 700px) {
  .svc { grid-template-columns: minmax(0, 1fr) minmax(6.5rem, auto); column-gap: 30px; }
  .js [data-pick] .svc { grid-template-columns: minmax(0, 1fr) minmax(6.5rem, auto) 30px; column-gap: 30px; }
  .svc__p { text-align: end; }
  .svc__d { grid-column: 1; grid-row: 2; }
  .svcs--sm { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(36px, 5vw, 72px); }
}
@media (max-width: 899px) {
  .chapter__in { gap: 0; }
  .chapter__head { display: contents; }
  .chapter__t, .chapter__p, .chapter__q { margin-block-start: 16px; }
  .svcs, .chapter__qa { order: 1; margin-block-start: 30px; }
  .chapter__fig { order: 2; margin-block-start: 36px; justify-self: center; }   /* centred on phones, its caption with it */
  .chapter__fig figcaption { text-align: center; }
}
@media (min-width: 900px) {
  .chapter__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); column-gap: clamp(48px, 7vw, 130px); align-items: start; }
  .chapter__head { position: sticky; top: calc(var(--bar) + 76px); }
  .chapter__fig { width: 100%; max-width: 420px; }
  .chapter__fig--sm { max-width: 250px; }
}

/* the home's two rooms: the studio in daylight, the academy at night; each leads to its own page */
.world { display: grid; background: var(--bone); }
.world--night { background: var(--night); color: var(--on-night-2); }
.world__fig { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); }
.world__fig img { width: 100%; height: 100%; object-fit: cover; }
.world__copy { padding: clamp(52px, 8vw, 120px) var(--gutter); display: grid; align-content: center; gap: 22px; }
.world__copy .idx { margin: 0; }
.world--night .h2 { color: var(--on-night); }
.world__p { max-width: 40ch; }
.peek { border-block-start: 1px solid var(--ink); max-width: 520px; }
.peek li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 15px; border-block-end: 1px solid var(--line); color: var(--ink); }
.peek bdi { flex: none; font: 500 1.6rem/1 var(--f-latin); font-variant-numeric: lining-nums; }
/* names of courses: the label above, the names under it on one line, so both rows match and no name is split */
.peek--names li { display: grid; gap: 6px; }
.peek--names span { font-size: .95rem; color: var(--on-night-2); }
.peek--names bdi { justify-self: start; }
bdi { white-space: nowrap; }
.peek bdi.peek__names { flex: 0 1 auto; font: 500 1.3rem/1.25 var(--f-latin); text-align: end; }
.world--night .peek { border-block-start-color: var(--on-night); }
.world--night .peek li { border-block-end-color: var(--line-night); color: var(--on-night); }
.world__go, .about__go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-block-start: 10px; }
@media (min-width: 900px) {
  .world { grid-template-columns: 1fr 1fr; }
  .world__fig { aspect-ratio: auto; min-height: min(100svh, 860px); }
  .world--night .world__fig { order: 2; }
  .world__copy { padding-inline: clamp(48px, 7vw, 120px); }
}
/* the home shows a few pieces: one large, four beside it */
@media (min-width: 760px) and (max-width: 1139px) { .grid--teaser .tile:nth-child(n + 4) { display: none; } }
.about__go { margin-block-start: 26px; }
/* the academy's ladder, "where are you today?": four equal level buttons (made by app.js); the chosen level shows its
   courses as cards that lead to the entry. Without the script every level is listed under its own heading. */
.ladder { margin-block-start: clamp(64px, 8vw, 110px); text-align: center; }
.ladder__head { display: grid; justify-items: center; gap: 12px; }
.ladder__lead { font-size: 1.0625rem; line-height: 1.5; color: var(--on-night-2); max-width: 34ch; text-wrap: balance; }
.ladder__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block-start: 28px; }
.ladder__tabs button { display: grid; align-content: center; min-height: 58px; padding: 10px 12px; border: 1px solid rgba(239, 233, 223, .3); background: transparent; color: var(--on-night); font: 500 1rem/1.25 var(--f-text); cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .15s; -webkit-tap-highlight-color: transparent; }
.ladder__tabs [aria-selected="true"] { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
@media (hover: hover) { .ladder__tabs [aria-selected="false"]:hover { border-color: var(--on-night); } }
.ladder__tabs button:active { transform: scale(.975); transition-duration: .08s; }
.ladder__steps { display: grid; gap: 44px; margin-block-start: 34px; }
.is-tabs .ladder__steps { margin-block-start: 24px; }
.stn__t { display: grid; justify-items: center; gap: 4px; margin-block-end: 16px; font: 300 clamp(1.4rem, 1.2rem + .7vw, 1.75rem)/1.2 var(--f-display); color: var(--on-night); }
.stn__t small { font: 400 .9375rem/1.4 var(--f-text); color: var(--on-night-2); }
.stn__picks { display: grid; gap: 10px; }
@media (prefers-reduced-motion: no-preference) { .is-tabs .stn:not([hidden]) { animation: lv-in .5s var(--ease-soft); } }
@keyframes lv-in { from { opacity: 0; transform: translateY(8px); } }
/* a course card: her photo, the name, what it is, length and price, and an arrow that says it opens */
.pick { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px; padding-inline-end: 16px; background: var(--night-2); border: 1px solid transparent; text-align: start; text-decoration: none; color: var(--on-night); transition: border-color .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.pick__img { width: 84px; height: 105px; object-fit: cover; }
#lv-gel .pick[href="#set-up"] .pick__img { object-position: 50% 78%; }
.pick__txt { display: grid; gap: 5px; justify-items: center; text-align: center; }   /* centred, Latin name included (his ask); the arrow sits under it */
.pick__n { font: 500 1.8rem/1 var(--f-latin); transition: color .3s var(--ease); }
.pick__sub { font-size: .975rem; line-height: 1.35; color: var(--on-night-2); }
.pick__meta { font-size: .95rem; line-height: 1.3; color: var(--on-night); }
.pick__meta bdi { font: 500 1.15rem/1 var(--f-latin); font-variant-numeric: lining-nums; }
.pick__go { margin-block-start: 6px; width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-left: 1.5px solid currentColor; transform: rotate(-135deg);   /* points down: a tap takes her down to the course */ opacity: .7; transition: transform .35s var(--ease), opacity .35s; }
.pick:active { opacity: .75; }
@media (hover: hover) { .pick:hover { border-color: rgba(239, 233, 223, .35); } .pick:hover .pick__n { color: var(--red-night); } .pick:hover .pick__go { opacity: 1; transform: translateY(3px) rotate(-135deg); } }
.ladder__more { margin-block-start: 26px; }
@media (min-width: 760px) {
  .ladder__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
  .stn__picks { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .pick { flex: 0 1 440px; }
}
.list__k[id] { scroll-margin-top: calc(var(--bar) + 76px); }
/* the course rail: the prices page's jump row in night colours, with the Latin names */
.jump--night { background: var(--night); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); margin-block-end: 30px; }
.jump--night .shapes { border-color: var(--line-night); }
.jump--night .shape { color: var(--on-night-2); }
.jump--night .shape.is-on { color: var(--on-night); }
@media (hover: hover) { .jump--night .shape:hover { color: var(--on-night); } }
.jump--night .shape::after { background: var(--red-night); }
.jump--night .shape__t { font: 500 1.2rem/1 var(--f-latin); }
.jump__sep { flex: none; align-self: center; width: 1px; height: 18px; background: rgba(239, 233, 223, .3); }
/* wide screens: the names sit centred (phones keep a row that scrolls from the start) */
@media (min-width: 900px) {
  .jump--night .shapes { justify-content: center; }
  .jump--night .shape:first-child { padding-inline-start: 16px; }
  .jump--night .shape:first-child::after { inset-inline-start: 16px; }
}

/* 6. red */
.red { display: grid; background: var(--bone); }
.red__fig { aspect-ratio: 4 / 5; overflow: hidden; }
.red__fig img { width: 100%; height: 100%; object-fit: cover; }
.red__copy { padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; align-content: center; }
.red__copy .idx { margin-block-end: 22px; }
.red__q { margin-block: 26px 14px; font: 300 clamp(1.45rem, 1.15rem + 1.2vw, 2.15rem)/1.4 var(--f-display); color: var(--ink); max-width: 24ch; }
.red__p { max-width: 44ch; }
.reds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-block-start: 40px; }
.reds .tile__b { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .red { grid-template-columns: 1fr 1fr; } .red__fig { aspect-ratio: auto; min-height: 100svh; max-height: 1100px; } .red__copy { padding-inline: clamp(48px, 7vw, 120px); } .reds { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: 640px; } }

/* 7. academy */
.academy { background: var(--night); color: var(--on-night-2); padding-block: var(--sec); }
.academy .h2 { color: var(--on-night); }
.academy__head { display: grid; gap: 30px; margin-block-end: clamp(56px, 7vw, 110px); }
.academy__head .idx { margin: 0; }
.academy__lead { font: 300 clamp(1.25rem, 1.05rem + .9vw, 1.8rem)/1.55 var(--f-display); color: var(--on-night); max-width: 34ch; }
/* her portrait beside the line she teaches by, signed: the courses are her, one to one */
.academy__fig { aspect-ratio: 1; overflow: hidden; background: var(--night-2); }
.academy__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.academy__say { display: grid; gap: 24px; }
.academy__by { display: grid; gap: 4px; padding-block-start: 18px; border-block-start: 1px solid var(--line-night); }
.academy__by b { font: 500 1.0625rem/1.3 var(--f-text); color: var(--on-night); }
/* her signature in the certificate's script; shown only once that font is in, never in a stand-in cursive */
/* Italianno: a script whose letters stay readable; it sits at the left, where a signature ends a Hebrew letter (his asks, 17 Nov) */
.academy__by .academy__sig { margin-block-end: 6px; padding-inline: .1em .2em; font: 400 clamp(3.4rem, 2.8rem + 2vw, 4.4rem)/1 "Italianno", "Snell Roundhand", cursive; color: var(--on-night); text-align: left; }
.js .academy__sig { opacity: 0; transition: opacity 1s var(--ease-soft); }
.js.sig-ok .academy__sig { opacity: 1; }
.academy__by span { font-size: .95rem; line-height: 1.45; }
@media (min-width: 900px) {
  .academy__head { grid-template-columns: minmax(0, 1fr) clamp(280px, 27vw, 400px); grid-template-rows: auto auto 1fr; column-gap: clamp(48px, 7vw, 120px); row-gap: 36px; }
  .academy__head > :not(.academy__fig) { grid-column: 1; }
  .academy__fig { grid-column: 2; grid-row: 1 / -1; aspect-ratio: auto; min-height: 440px; }   /* as tall as the words beside it */
  .academy__say { align-self: end; }
}
/* the four promises in one framed panel, split by a fine cross with a small red diamond where the lines meet; every
   part is the same: the promise on one line, one line under it (his asks: "more premium", "more symmetrical") */
.facts { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid rgba(239, 233, 223, .22); }
.facts li { position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 34px 12px 32px; text-align: center; container-type: inline-size; }
.facts li:nth-child(odd)::after { content: ""; position: absolute; inset-inline-end: 0; inset-block: 24px; width: 1px; background: rgba(239, 233, 223, .22); }
.facts li:nth-child(-n+2)::before { content: ""; position: absolute; bottom: 0; inset-inline: 24px; height: 1px; background: rgba(239, 233, 223, .22); }
.facts::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--red-night); transform: translate(-50%, -50%) rotate(45deg); }
/* one line each, sized to the part, so the four always match */
.facts b { font: 300 clamp(1.45rem, 1.2rem + .9vw, 1.95rem)/1.2 var(--f-display); color: var(--on-night); white-space: nowrap; font-size: min(clamp(1.45rem, 1.2rem + .9vw, 1.95rem), 13.5cqi); }
.facts span { font-size: min(.95rem, 10.5cqi); line-height: 1.4; color: var(--on-night-2); white-space: nowrap; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts li { padding: 50px 20px 46px; }
  .facts li::before, .facts::after { display: none; }
  .facts li:nth-child(odd)::after { display: none; }
  .facts li:not(:last-child)::after { content: ""; position: absolute; inset-inline-end: 0; inset-block: 30px; width: 1px; background: rgba(239, 233, 223, .22); display: block; }
}
.list { margin-block-start: clamp(64px, 8vw, 120px); }
.list__k { display: flex; align-items: center; gap: 14px; font: 500 .9375rem/1.3 var(--f-text); color: var(--on-night-2); margin-block: 0 4px; }
.list__k::after { content: ""; flex: 1; height: 1px; background: var(--line-night); }
/* a track: number and kind, the name, a picture, who it is for, what is learned as a short list, one action */
.courses { display: grid; gap: 12px; margin-block-start: 22px; }
/* each course opens like a poster: her photo of the work, full width and uncovered, then the name large beneath it */
.course { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 22px; padding: 0 20px 22px; background: var(--night-2); }
.course__fig { order: -1; display: grid; margin-inline: -20px; overflow: hidden; }
.course__fig > picture { display: grid; }
#set-up .course__fig img { object-position: 50% 78%; }   /* her almond nail sits low in the frame */
@media (prefers-reduced-motion: no-preference) {
  .js .course.rv .course__fig img { transform: scale(1.07); transition: transform 1.8s var(--ease-soft); }
  .js .course.rv.is-in .course__fig img { transform: none; }
}
.course__top { display: grid; gap: 14px; align-content: start; justify-items: center; text-align: center; }   /* the text side of a course is centred (his ask, 17 Nov), Latin names included */
.course__no { display: flex; align-items: baseline; justify-content: center; gap: 12px; font: 500 .95rem/1 var(--f-text); color: var(--on-night-2); }
.course__no bdi { font: 500 1.5rem/1 var(--f-latin); font-variant-numeric: lining-nums; color: var(--red-night); }
.course__n { font: 400 clamp(2.5rem, 1.6rem + 4.2vw, 4.6rem)/.95 var(--f-latin); color: var(--on-night); text-align: start; }
.course__n[dir="ltr"] { text-align: center; }
.course__n--he { font: 300 clamp(2rem, 1.5rem + 2.6vw, 3.6rem)/1.05 var(--f-display); letter-spacing: -.01em; }
.course__fig img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.course__who { grid-column: 1 / -1; font: 300 clamp(1.2rem, 1.05rem + .6vw, 1.5rem)/1.45 var(--f-display); color: var(--on-night); text-align: center; text-wrap: balance; }
.course__learn { grid-column: 1 / -1; }
.course__k { text-align: center; font: 500 .9375rem/1.3 var(--f-text); color: var(--on-night-2); padding-block-end: 10px; border-block-end: 1px solid var(--on-night-2); }
.course__learn li { text-align: center; text-wrap: balance; padding-block: 12px; border-block-end: 1px solid var(--line-night); color: var(--on-night); font-size: 1.0625rem; line-height: 1.45; }
.course[id] { scroll-margin-top: calc(var(--bar) + 66px); }   /* clear of the course rail */
.course__sub { font: 400 1.0625rem/1.4 var(--f-text); color: var(--on-night-2); }
/* who it is for, from her "before you sign up" lines */
.course__lvl { justify-self: center; display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; border: 1px solid rgba(239, 233, 223, .3); font: 500 .9rem/1.25 var(--f-text); color: var(--on-night); }
.course__lvl::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red-night); }
/* a name is never split: it shrinks to its column instead (Pure Pedicure is 5.4em wide, the others about 4em) */
.course__top { container-type: inline-size; }
.course__n { white-space: nowrap; font-size: min(clamp(3.2rem, 2rem + 4.6vw, 6rem), 21cqi); }
.course__n--long { font-size: min(clamp(3.2rem, 2rem + 4.6vw, 6rem), 17cqi); }
/* the course at a glance: sessions, hours, price. Values in the Latin face like every price on the site */
.course__spec { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.25fr); border-block: 1px solid var(--line-night); }
.course__spec > div { display: flex; flex-direction: column-reverse; justify-content: start; align-items: center; text-align: center; gap: 8px; padding: 16px 8px 15px; border-inline-start: 1px solid var(--line-night); }
.course__spec > div:first-child { border-inline-start: 0; }
.course__spec dt { font: 400 .9375rem/1.25 var(--f-text); color: var(--on-night-2); }
.course__spec dd { font: 500 1.75rem/1 var(--f-latin); font-variant-numeric: lining-nums; color: var(--on-night); white-space: nowrap; }
.course__spec dd.is-txt { font: 400 1.5rem/1.17 var(--f-text); }
/* the full syllabus: closed, one square bar at the end of the entry; open, it unfolds in place.
   Inside: her promise, the topics as one numbered path (theory runs on into practice), what is included,
   her certificate as the end of the path, and the price, with the work kit as a choice where she offers one. */
.syl { grid-column: 1 / -1; }
.syl__bar { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto 58px; align-items: center; column-gap: 16px; min-height: 60px; padding-inline: 20px 0; border: 1px solid rgba(239, 233, 223, .5); color: var(--on-night); -webkit-tap-highlight-color: transparent; transition: background-color .35s var(--ease), color .35s var(--ease), transform .2s var(--ease); }
.syl__bar::-webkit-details-marker { display: none; }
.syl__bar b { font: 500 1.0625rem/1.2 var(--f-text); }
.syl__bar small { font: 400 .9375rem/1 var(--f-text); color: var(--on-night-2); transition: color .35s var(--ease); }
.syl__bar::after { content: ""; align-self: stretch; border-inline-start: 1px solid rgba(239, 233, 223, .5); background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat; transition: background-size .45s var(--ease); }
.syl[open] .syl__bar::after { background-size: 14px 1px, 1px 0; }
@media (hover: hover) { .syl__bar:hover { background: var(--on-night); color: var(--night); } .syl__bar:hover small { color: var(--night); } }
.syl__bar:active { transform: scale(.985); transition-duration: .08s; }
.syl[open] .syl__in { animation: syl-in .7s var(--ease-soft); }
@keyframes syl-in { from { opacity: 0; transform: translateY(14px); } }
.syl__in { display: grid; gap: 44px; padding-block: 36px 4px; }
/* her opening lines: the first one large, the rest as plain paragraphs, then what is needed before signing up */
.syl__head { display: grid; gap: 14px; max-width: 60ch; }
.syl__lead { font: 300 clamp(1.3rem, 1.1rem + .8vw, 1.75rem)/1.45 var(--f-display); color: var(--on-night); max-width: 30ch; text-wrap: pretty; }
.syl__p { font-size: 1.125rem; line-height: 1.6; color: var(--on-night); text-wrap: pretty; }
.syl__req { display: grid; gap: 6px; margin-block-start: 12px; padding-block: 16px; border-block: 1px solid var(--line-night); }
.syl__req b { font: 500 .9375rem/1.3 var(--f-text); color: var(--red-night); }
.syl__req span { font-size: 1.0625rem; line-height: 1.5; color: var(--on-night); }
.syl__parts { display: grid; gap: 44px; counter-reset: t; }
.syl__h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-block-end: 12px; border-block-end: 1px solid var(--on-night-2); font: 500 .9375rem/1.3 var(--f-text); color: var(--on-night-2); }
.syl__h bdi { font: 500 1.125rem/1 var(--f-latin); font-variant-numeric: lining-nums; color: var(--on-night-2); }
.syl__part li, .syl__side li { padding-block: 13px; border-block-end: 1px solid var(--line-night); color: var(--on-night); font-size: 1.0625rem; line-height: 1.45; }
.syl__part li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline; }
.syl__part li::before { counter-increment: t; content: counter(t, decimal-leading-zero); font: 500 1.125rem/1 var(--f-latin); font-variant-numeric: lining-nums; color: var(--red-night); }
.syl__inc li { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); align-items: baseline; }
.syl__inc li::before { content: ""; width: 14px; height: 1px; background: var(--red-night); transform: translateY(-.3em); }
.syl__end, .syl__side { display: grid; gap: 44px; align-items: start; }
.syl__fin { display: grid; }
/* her whole certificate, never cropped (his ask). Its printed course line reads "gel manicure course", so only First Step
   shows it; the other five show certificate-course.svg, the same sheet without that line. */
.syl__fin img { width: 100%; height: auto; margin-block: 22px 8px; box-shadow: 0 0 0 1px rgba(239, 233, 223, .12); }
.syl__pay { display: grid; gap: 16px; padding: 24px 20px 20px; background: var(--night); }
.syl__opts { border: 0; padding: 0; margin: 0; min-width: 0; }
/* a choice: the dot, the name and its price on one line, the kit note under them at full width */
.opt.syl__o { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: baseline; column-gap: 14px; row-gap: 6px; padding-block: 16px; }
.syl__o::before { align-self: center; }
.syl__o small { grid-column: 2 / -1; }
.syl__opts .syl__o:first-of-type { border-block-start: 0; }
.syl__pay .syl__h { margin-block-end: -16px; }
.syl__o b { font: 500 1.0625rem/1.3 var(--f-text); }
.syl__o small { font: 400 .9375rem/1.4 var(--f-text); color: var(--on-night-2); }
.syl__o em, .syl__one em { flex: none; font: 500 1.75rem/1 var(--f-latin); font-style: normal; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; color: var(--on-night); }
.syl__o em small, .syl__one em small, .course__spec small { margin-inline-start: 4px; font: 400 .9375rem/1 var(--f-text); color: var(--on-night-2); }
.syl__o:has(input:checked) b { color: var(--on-night); }
.syl__o:not(:has(input:checked)) em { color: var(--on-night-2); }
.syl__one { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-block: 14px 16px; border-block-end: 1px solid var(--line-night); font: 500 1.0625rem/1.3 var(--f-text); color: var(--on-night); }
.syl__one em { font-size: 2.4rem; }
.syl__note { font-size: .95rem; line-height: 1.55; color: var(--on-night-2); }
.syl__deal { display: block; margin-block-end: 2px; font-weight: 500; color: var(--red-night); }
.syl__gift { display: flex; align-items: baseline; gap: 12px; margin-block-start: -4px; padding-block: 0 14px; border-block-end: 1px solid var(--line-night); font: 500 1.0625rem/1.4 var(--f-text); color: var(--on-night); }
.syl__gift::before { content: "+"; font: 500 1.25rem/1 var(--f-latin); color: var(--red-night); }
.syl__go { margin-block-start: 4px; }
.syl__x { justify-self: center; }
@media (min-width: 900px) {
  .syl__in { padding-block-start: 52px; gap: 60px; }
  .syl__parts { grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 4vw, 64px); }
  .syl__part--wide { grid-column: 1 / -1; }
  .syl__part--wide ol { columns: 2; column-gap: clamp(32px, 4vw, 64px); }
  .syl__part--wide li { break-inside: avoid; }
  .syl__end { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px); }
  .syl__side { gap: 52px; }
  .syl__fin img { width: min(100%, 460px); }
  .syl__pay { padding: 30px 32px 26px; position: sticky; top: calc(var(--bar) + 76px); }   /* below the course rail */
}
.btn--line { color: var(--on-night); border-color: rgba(239, 233, 223, .5); }
@media (hover: hover) { .btn--line:hover { background: var(--on-night); color: var(--night); border-color: var(--on-night); } }
.list .courses + .list__k { margin-block-start: 64px; }
@media (min-width: 900px) {
  .courses { gap: 16px; }
  /* the poster stands at full height on one side, the course on the other; the sides take turns down the list */
  .course { --in: clamp(36px, 4.4vw, 72px); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: repeat(4, auto) 1fr; column-gap: var(--in); row-gap: 0; padding: 0; align-items: start; }
  .course__fig { grid-column: 1; grid-row: 1 / 6; margin: 0; align-self: stretch; }
  .course > :not(.course__fig, .syl) { grid-column: 2; margin-inline-end: var(--in); }
  .course__top { grid-row: 1; padding-block-start: var(--in); }
  .course__who { grid-row: 2; margin-block-start: 30px; }
  .course__spec { grid-row: 3; margin-block-start: 36px; }
  .course__learn { grid-row: 4; margin-block: 36px var(--in); }
  .course:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .course:nth-child(even) .course__fig { grid-column: 2; }
  .course:nth-child(even) > :not(.course__fig, .syl) { grid-column: 1; margin-inline: var(--in) 0; }
  .course .syl { grid-column: 1 / -1; grid-row: 6; padding: 28px var(--in) 32px; }
  .course__spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* equal cells, so the centred numbers sit symmetrically */
}
/* finder */
.finder { display: grid; gap: 30px; margin-block-start: clamp(80px, 10vw, 150px); }
.finder__intro { display: grid; gap: 16px; align-content: start; }
.finder__intro .list__k::after { display: none; }
.finder__intro p:last-child { max-width: 40ch; }
.finder__card { background: var(--night-2); padding: 26px 20px 28px; min-height: 390px; }
.finder__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 26px; min-height: 30px; }
.finder__dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.finder__dots li { width: 26px; height: 1.5px; background: var(--line-night); transition: background-color .4s; }
.finder__dots li.is-on { background: var(--red-night); }
.finder__back { background: none; border: 0; color: var(--on-night-2); cursor: pointer; padding: 8px 0; font-size: .875rem; }
@media (hover: hover) { .finder__back:hover { color: var(--on-night); } }
.finder fieldset { border: 0; margin: 0; padding: 0; display: grid; }
.finder fieldset:focus, .finder__result:focus { outline: none; }
.finder legend { font: 300 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.25 var(--f-display); color: var(--on-night); margin-block-end: 18px; padding: 0; }
.opt { position: relative; display: flex; align-items: center; gap: 16px; min-height: 60px; padding-block: 14px; border-block-start: 1px solid var(--line-night); cursor: pointer; color: var(--on-night); transition: color .25s, padding .45s var(--ease); }
.opt:last-of-type { border-block-end: 1px solid var(--line-night); }
.opt::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--on-night-2); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
@media (hover: hover) { .opt:hover { padding-inline-start: 6px; } }
.opt:has(input:checked)::before { background: var(--red-night); border-color: var(--red-night); box-shadow: inset 0 0 0 3px var(--night-2); }
.opt:has(input:focus-visible) { outline: 1.5px solid var(--red-night); outline-offset: 2px; }
.finder__result { display: grid; gap: 14px; justify-items: start; }
.finder__k { font-size: .95rem; color: var(--on-night-2); }
.finder__name { font: 400 clamp(3.2rem, 2.3rem + 3.4vw, 5rem)/1 var(--f-latin); color: var(--on-night); }
.finder__why { color: var(--on-night); max-width: 42ch; margin-block-end: 10px; line-height: 1.65; }
.js .finder fieldset:not([hidden]), .js .finder__result:not([hidden]) { animation: step-in .6s var(--ease-soft); }
@keyframes step-in { from { opacity: 0; transform: translateX(-12px); } }
@media (min-width: 900px) { .finder { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); } .finder__card { padding: 40px 44px 40px; } }
/* look from the side */
.side { display: grid; gap: 30px; margin-block-start: clamp(80px, 10vw, 150px); }
.side__copy { display: grid; gap: 16px; align-content: start; }
.side__copy .list__k::after { display: none; }
.side__q { font: 300 clamp(1.1rem, 1rem + .5vw, 1.35rem)/1.6 var(--f-display); color: var(--on-night); max-width: 44ch; }
.side__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.side__pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.side__pair figcaption { margin-block-start: 12px; font-size: .95rem; line-height: 1.55; }
.side__pair figcaption b { display: block; font: 400 1.05rem/1.3 var(--f-display); color: var(--on-night); margin-block-end: 3px; }
.side__close { font: 300 clamp(1.4rem, 1.1rem + 1.3vw, 2.2rem)/1.4 var(--f-display); color: var(--on-night); text-align: center; max-width: 30ch; margin-inline: auto; }
@media (min-width: 900px) { .side { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); align-items: center; } .side__close { grid-column: 1 / -1; margin-block-start: 50px; } }
/* certificate */
.cert { display: grid; gap: 34px; margin-block-start: clamp(80px, 10vw, 150px); }
.cert__copy { display: grid; gap: 16px; align-content: center; }
.cert__copy .list__k::after { display: none; }
.cert__field { display: grid; gap: 8px; margin-block-start: 8px; font-size: .95rem; }
.cert__field input { width: min(100%, 380px); padding: 10px 2px 12px; background: transparent; border: 0; border-block-end: 1px solid var(--on-night-2); color: var(--on-night); font: 400 1.6rem/1.2 var(--f-script); }
.cert__field input::placeholder { color: rgba(239, 233, 223, .4); }
.cert__field input:focus { outline: none; border-block-end-color: var(--red-night); }
.cert__q { margin-block-start: 8px; font: 300 1.15rem/1.55 var(--f-display); color: var(--on-night); max-width: 40ch; }
.cert__paper { position: relative; container-type: inline-size; box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .35); }
.cert__paper img { width: 100%; }
.cert__name { position: absolute; inset-inline: 0; top: 41.5%; text-align: center; font: 400 6.6cqi/1 var(--f-script); color: var(--ink); white-space: nowrap; overflow: hidden; pointer-events: none; }
.cert__name.is-he { font: 400 5cqi/1 var(--f-display); top: 42.5%; }
@media (min-width: 900px) { .cert { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 110px); align-items: center; } .cert__paper { transform: rotate(-1.6deg); transition: transform 1.2s var(--ease); } .cert:hover .cert__paper { transform: rotate(-.6deg) translateY(-4px); } }
/* students */
.students { display: grid; gap: 40px; margin-block-start: clamp(80px, 10vw, 150px); }
.students__work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.students__work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.students__work figcaption { margin-block-start: 10px; font-size: .9rem; line-height: 1.4; }
.words { display: grid; gap: 18px; align-content: center; }
.words .list__k::after { display: none; }
.words__list { display: grid; }
/* one goes out, then the next comes in: the two are never read on top of each other */
.words__list li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.words__list li.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease-soft) .4s, transform .8s var(--ease-soft) .4s, visibility 0s .4s; }
.words blockquote { font: 300 clamp(1.55rem, 1.15rem + 1.8vw, 2.7rem)/1.35 var(--f-display); color: var(--on-night); }
.words__nav { display: flex; align-items: center; gap: 18px; font: 500 1rem/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--on-night-2); }
.words__nav button { width: 44px; height: 44px; border: 1px solid var(--line-night); background: none; cursor: pointer; display: grid; place-items: center; transition: border-color .3s; }
@media (hover: hover) { .words__nav button:hover { border-color: var(--on-night); } }
.words__nav button::before { content: ""; width: 8px; height: 8px; border: 0 solid var(--on-night); transform: rotate(45deg); }
/* physical on purpose: in RTL "previous" points right and "next" points left */
.words__nav [data-words-prev]::before { border-top-width: 1px; border-right-width: 1px; margin-right: 4px; }
.words__nav [data-words-next]::before { border-bottom-width: 1px; border-left-width: 1px; margin-left: 4px; }
@media (min-width: 900px) { .students { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; } }
/* q&a lists (both bands) */
.qa { margin-block-start: clamp(80px, 10vw, 150px); max-width: 900px; }
.qa__i { border-block-end: 1px solid var(--line); }
.qa .list__k + .qa__i { border-block-start: 1px solid var(--line); }
.qa__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 70px; padding-block: 18px; font: 400 clamp(1.12rem, 1.02rem + .4vw, 1.35rem)/1.4 var(--f-display); color: var(--ink); }
.qa__i summary::-webkit-details-marker { display: none; }
.qa__i summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .5s var(--ease); }
.qa__i[open] summary::after { transform: rotate(45deg); }
.qa__i p { padding-block-end: 24px; max-width: 62ch; }
.academy .qa__i { border-color: var(--line-night); }
.academy .qa__i summary { color: var(--on-night); }
.academy__cta { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; margin-block-start: clamp(64px, 8vw, 110px); }

/* 8. story */
.story__in { display: grid; gap: 40px; }
.story__portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone); margin-inline: calc(-1 * var(--gutter)); }
.story__portrait img { width: 100%; height: 100%; object-fit: cover; }
.story__portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(10, 11, 13, .42)); pointer-events: none; }
.story__portrait figcaption { z-index: 1; position: absolute; inset-block-end: 18px; inset-inline-start: 20px; font: 500 1rem/1 var(--f-text); letter-spacing: .04em; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.story__copy { display: grid; gap: 24px; align-content: start; }
.story__copy .idx { margin: 0; }
.story__q { font: 300 clamp(1.35rem, 1.1rem + 1vw, 1.95rem)/1.5 var(--f-display); color: var(--ink); }
@media (min-width: 900px) {
  .story__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 130px); align-items: start; }
  .story__portrait { position: sticky; top: calc(var(--bar) + 28px); margin: 0; height: calc(100svh - var(--bar) - 56px); aspect-ratio: auto; max-height: 960px; }
}
/* her road: three stations on one line, whole photos, the year in her red */
ol.road { position: relative; display: grid; gap: 48px; margin-block-start: 34px; padding-inline-start: 28px; }
.road::before { content: ""; position: absolute; inset-block: 12px 40px; inset-inline-start: 4px; width: 1px; background: linear-gradient(var(--red) 0 40px, var(--line) 40px); }
.road__i { position: relative; display: grid; gap: 14px; align-content: start; }
.road__i::before { content: ""; position: absolute; top: 8px; inset-inline-start: -28px; width: 9px; height: 9px; border-radius: 50%; background: var(--bone); border: 1px solid var(--red); }
.road__i:last-child::before { background: var(--red); }
.road__k { font: 500 2.3rem/1 var(--f-latin); font-variant-numeric: lining-nums; color: var(--red); }
.road__k.is-he { font: 400 1.4rem/1.1 var(--f-display); }
.road__f img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--stone); }
.road__f figcaption { margin-block-start: 10px; font: 400 .9rem/1.4 var(--f-text); color: var(--ink-3); }
.road__t { font: 300 clamp(1.25rem, 1.1rem + .5vw, 1.5rem)/1.45 var(--f-display); color: var(--ink); }
@media (min-width: 900px) {
  ol.road { gap: 56px; margin-block-start: 44px; }
  .road__i { grid-template-columns: minmax(0, 1fr) clamp(180px, 17vw, 250px); grid-template-areas: "k f" "t f" "x f"; grid-template-rows: auto auto 1fr; column-gap: clamp(24px, 3vw, 44px); row-gap: 16px; }
  .road__k { grid-area: k; } .road__t { grid-area: t; } .road__f { grid-area: f; }
}
.vows { display: grid; margin-block-start: 26px; }
.vows li { display: grid; gap: 6px; padding-block: 20px; border-block-end: 1px solid var(--line); }
.vows li:first-child { border-block-start: 1px solid var(--ink); }
.vows b { font: 400 1.2rem/1.3 var(--f-display); color: var(--ink); }

/* 9. notes */
.notes { background: var(--paper); }
.essays { display: grid; border-block-start: 1px solid var(--ink); }
.essay { display: grid; gap: 12px; align-content: start; padding-block: 32px; border-block-end: 1px solid var(--line); }
.essay__no { font: 500 1rem/1 var(--f-text); letter-spacing: .08em; color: var(--red); }
.essay__t { font: 300 clamp(1.5rem, 1.2rem + 1.1vw, 2.15rem)/1.25 var(--f-display); color: var(--ink); }
.essay details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 500 .95rem/1 var(--f-text); color: var(--ink); }
.essay details summary::after { content: ""; width: 9px; height: 9px; border-block-end: 1px solid currentColor; border-inline-end: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.essay details summary::-webkit-details-marker { display: none; }
.essay details[open] summary { display: none; }
.essay details p + p { margin-block-start: 14px; }
.essay details[open] { animation: fade-up .6s var(--ease-soft); }
@media (min-width: 900px) { .essays { grid-template-columns: 1fr 1fr; column-gap: clamp(48px, 6vw, 110px); } .essay { padding-block: 44px; } }

/* 11. visit */
.visit { display: grid; background: var(--stone); }
.visit__fig { aspect-ratio: 4 / 5; overflow: hidden; }
.visit__fig img { width: 100%; height: 100%; object-fit: cover; }
.visit__copy { padding: clamp(56px, 8vw, 120px) var(--gutter); display: grid; align-content: center; gap: 22px; }
.visit__copy .idx { margin: 0; }
.open { display: flex; align-items: center; gap: 10px; font: 500 .95rem/1.4 var(--f-text); color: var(--ink); }
.open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.open[data-state="open"]::before { background: #2e7a4d; }
.hours { width: 100%; max-width: 440px; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; border-block-end: 1px solid var(--line); text-align: start; font-weight: 400; }
.hours th { color: var(--ink); }
.hours td { text-align: end; font: 400 1.0625rem/1 var(--f-text); font-variant-numeric: tabular-nums; color: var(--ink); }
.hours td:not(:has(bdi)) { font: 400 .95rem/1 var(--f-text); color: var(--ink-3); }
.hours tr[aria-current="date"] th { font-weight: 500; }
.hours tr[aria-current="date"] th::after { content: " · היום"; color: var(--red); font-weight: 400; font-size: .85em; }
/* the hours, the two map buttons and the five icons are one column: same width, same two edges */
.visit__go { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 440px; }
.visit__go .btn { padding-inline: 12px; }
/* contact: five icons drawn for this site, thin strokes in square tiles like its buttons */
.contact { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 440px; }
.contact a { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--ink); color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease); }
.contact svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .contact a:hover { background: var(--ink); color: var(--bone); } }
.contact a:active { transform: scale(.96); }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; } .visit__fig { aspect-ratio: auto; min-height: 100svh; max-height: 1100px; } .visit__copy { padding-inline: clamp(48px, 7vw, 120px); } }

/* 12. close + footer */
.close { background: var(--night); text-align: center; padding: clamp(96px, 12vw, 190px) var(--gutter); display: grid; justify-items: center; gap: 34px; }
.close .h2 { color: var(--on-night); }
.close__doors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 600px); }
.foot { background: #0c0d10; color: var(--on-night-2); padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 14px; text-align: center; font-size: .875rem; }
.foot img { width: 96px; opacity: .9; margin-block-end: 8px; }
.foot a { color: var(--on-night); text-underline-offset: 4px; display: inline-block; padding-block: 6px; }
.foot__small { font-size: .875rem; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin-block-end: 8px; font-size: 1rem; }
.foot__nav a { text-decoration: none; }

/* phone dock */
.dock { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.3fr 1fr 1fr; background: var(--bone); border-block-start: 1px solid var(--line); padding-block-end: env(safe-area-inset-bottom); transition: transform .6s var(--ease); }
.js .dock[data-away] { transform: translateY(105%); }
.dock__a { display: flex; align-items: center; justify-content: center; min-height: 58px; text-decoration: none; font: 500 .95rem/1 var(--f-text); color: var(--ink); }
.dock__a + .dock__a { border-inline-start: 1px solid var(--line); }
.dock__a--ink { background: var(--ink); color: var(--bone); flex-direction: column; }
.dock__a--ink small { margin-block-start: 5px; font: 500 1.05rem/1 var(--f-latin); opacity: .8; }   /* academy: the course being read */
@media (max-width: 899px) { body { padding-block-end: calc(58px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .dock { display: none; } }

/* reveals */
/* opacity and transform only: both run off the main thread, so scrolling never waits for them */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease-soft); }
.js [data-reveal].is-in { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* the story viewer: designed slides */
.sv { position: fixed; inset: 0; z-index: 150; background: #08090b; display: grid; place-items: center; touch-action: none; }
.sv__stage { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--night); }
.sv__stage:focus { outline: none; }
@media (min-width: 700px) { .sv__stage { width: min(calc((100svh - 56px) * 9 / 16), 470px); height: min(100svh - 56px, 836px); border-radius: 14px; } }
.sv__slide { position: absolute; inset: 0; }
.sv__chrome { position: absolute; inset-inline: 0; top: 0; z-index: 4; padding: calc(10px + env(safe-area-inset-top)) 12px 60px; background: linear-gradient(rgba(0, 0, 0, .58), rgba(0, 0, 0, .22) 60%, transparent); color: #fff; pointer-events: none; transition: color .4s; }
.sv[data-tone="dark"] .sv__chrome { background: none; color: var(--ink); }
.sv__bars { display: flex; gap: 4px; direction: rtl; }
.sv__bar { flex: 1; height: 2px; background: currentColor; opacity: .3; border-radius: 2px; overflow: hidden; position: relative; }
.sv__bar.is-done, .sv__bar.is-now { opacity: 1; background: none; }
.sv__bar.is-done::before, .sv__bar.is-now::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .3; }
.sv__bar i { position: absolute; inset: 0; background: currentColor; transform-origin: right; transform: scaleX(0); }
.sv__bar.is-done i { transform: none; }
.sv__head { display: flex; align-items: center; gap: 10px; margin-block-start: 12px; pointer-events: auto; }
.sv__av { width: 30px; height: 30px; border-radius: 50%; }
.sv__who { flex: 1; display: flex; align-items: baseline; gap: 10px; font: 500 .9rem/1.2 var(--f-text); }
.sv__count { font: 500 .9rem/1 var(--f-text); opacity: .7; }
.sv__btn { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: inherit; }
.sv__x::before, .sv__x::after { content: ""; grid-area: 1 / 1; width: 19px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.sv__x::after { transform: rotate(-45deg); }
.sv__pause::before { content: ""; width: 10px; height: 12px; border-inline: 2px solid currentColor; box-sizing: border-box; }
.sv.is-paused .sv__pause::before { width: 0; height: 0; border: 0; border-block: 7px solid transparent; border-inline-end: 11px solid currentColor; }
.sv__zone { position: absolute; z-index: 2; top: 0; bottom: 0; border: 0; background: none; cursor: pointer; padding: 0; }
.sv__zone--prev { inset-inline-start: 0; width: 34%; }
.sv__zone--next { inset-inline-end: 0; width: 66%; }
.sv__zone:focus-visible { outline: 1.5px solid #fff; outline-offset: -8px; }
/* a small arrow at each edge shows where to tap (physical on purpose: in RTL "back" is on the right, "on" on the left) */
.sv__zone { color: #fff; }
.sv[data-tone="dark"] .sv__zone { color: var(--ink); }
.sv__zone::after { content: ""; position: absolute; top: 50%; width: 11px; height: 11px; margin-block-start: -6px; border: 0 solid currentColor; opacity: .5; transform: rotate(45deg); }
.sv__zone--prev::after { right: 14px; border-top-width: 1.5px; border-right-width: 1.5px; }
.sv__zone--next::after { left: 14px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.sv__side { display: none; }
@media (min-width: 700px) {
  .sv__side { display: grid; place-items: center; position: absolute; top: 50%; width: 52px; height: 52px; margin-block-start: -26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; cursor: pointer; }
  .sv__side::before { content: ""; width: 10px; height: 10px; border: 0 solid #fff; transform: rotate(45deg); }
  .sv__side--prev { inset-inline-start: calc(50% - min(calc((100svh - 56px) * 9 / 32), 235px) - 84px); }
  .sv__side--prev::before { border-top-width: 1.5px; border-right-width: 1.5px; margin-right: 5px; }
  .sv__side--next { inset-inline-end: calc(50% - min(calc((100svh - 56px) * 9 / 32), 235px) - 84px); }
  .sv__side--next::before { border-bottom-width: 1.5px; border-left-width: 1.5px; margin-left: 5px; }
  .sv__side:hover { border-color: #fff; }
}
/* slide types */
.sl { position: absolute; inset: 0; display: grid; overflow: hidden; }
.js .sl { animation: sl-in .18s linear both; }
@keyframes sl-in { from { opacity: 0; } }
.sl__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl__scrim { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(8, 9, 11, .78)); }
.sl__text { position: relative; z-index: 1; align-self: end; display: grid; gap: 10px; padding: 0 26px calc(40px + env(safe-area-inset-bottom)); color: #fff; }
.sl__k { font: 500 .9rem/1.3 var(--f-text); }
.sl__k.is-latin { font: 500 1.45rem/1 var(--f-latin); opacity: 1; }
.sl__h { font: 300 clamp(1.7rem, 6.8vw, 2.25rem)/1.22 var(--f-display); }
.sl__p { font-size: .95rem; line-height: 1.6; opacity: .86; max-width: 36ch; }
.sl--bone, .sl--frame, .sl--list, .sl--cert { background: var(--bone); color: var(--ink); }
.sl--night { background: var(--night); color: var(--on-night); }
.sl--red { background: var(--red); color: #fff5f2; }
.sl__mark { position: absolute; top: calc(92px + env(safe-area-inset-top)); inset-inline: 0; margin-inline: auto; width: 46px; opacity: .9; }
.sl__mid { align-self: center; display: grid; gap: 22px; padding: 70px 30px 40px; text-align: center; justify-items: center; }
.sl__q { font: 300 clamp(1.75rem, 7.2vw, 2.4rem)/1.35 var(--f-display); }
.sl__by { display: inline-flex; align-items: center; gap: 12px; font: 500 .9rem/1 var(--f-text); opacity: .75; }
.sl__by::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.sl__qq { font: 400 1.05rem/1.4 var(--f-text); opacity: .75; }
.sl__qq::before { content: "ש."; display: block; font: 300 2.4rem/1 var(--f-display); margin-block-end: 14px; opacity: .9; }
.sl--type .sl__h, .sl--cta .sl__h { font-size: clamp(2.3rem, 9.6vw, 3.1rem); line-height: 1.1; }
.sl__frame { align-self: center; justify-self: center; display: grid; gap: 22px; justify-items: center; padding: 100px 26px 40px; width: 100%; }
.sl__frame img { max-height: 58svh; width: auto; max-width: 86%; object-fit: contain; box-shadow: 0 30px 50px -24px rgba(22, 24, 29, .55), 0 0 0 8px #fff; }
@media (min-width: 700px) { .sl__frame img { max-height: 470px; } }
.sl__frame figcaption { display: grid; gap: 6px; text-align: center; }
.sl__frame .sl__k { opacity: .7; }
.sl__frame .sl__h { font-size: 1.5rem; }
.sl__cert { width: 92%; transform: rotate(-2.5deg); box-shadow: 0 30px 50px -24px rgba(22, 24, 29, .55); }
.sl__rows { width: 100%; max-width: 340px; display: grid; text-align: start; }
.sl__rows li { display: grid; gap: 4px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.sl__rows b { font: 400 1.08rem/1.35 var(--f-display); }
.sl__rows span { font-size: .85rem; color: var(--ink-2); }
.sv__act { position: absolute; inset-inline: 0; bottom: calc(34px + env(safe-area-inset-bottom)); z-index: 5; display: grid; gap: 10px; padding-inline: 26px; }
.sv__act .btn { width: 100%; }
.sv__act .btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); }
@media (hover: hover) { .sv__act .btn--ghost-light:hover { background: #fff; color: var(--night); } }

/* photo viewer */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100dvh; color: var(--on-night); }
.lb::backdrop { background: rgba(8, 9, 11, .985); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); gap: 18px; }
.lb__fig { display: grid; gap: 16px; justify-items: center; max-height: 100%; touch-action: pan-y; user-select: none; }
.lb__fig img { max-height: calc(100dvh - 230px); width: auto; max-width: min(100%, 760px); object-fit: contain; animation: lb-in .5s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } }
.lb__fig figcaption { display: grid; gap: 8px; justify-items: center; max-width: 34ch; font: 300 1.2rem/1.4 var(--f-display); text-align: center; }
.lb__no { font: 500 .95rem/1 var(--f-text); color: rgba(239, 233, 223, .62); }
.lb__no:empty { display: none; }
.lb__end { display: flex; gap: 10px; align-items: center; }
.lb__x, .lb__nav { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(239, 233, 223, .4); background: none; color: var(--on-night); cursor: pointer; display: grid; place-items: center; transition: background-color .3s var(--ease); }
@media (hover: hover) { .lb__x:hover, .lb__nav:hover { background: rgba(239, 233, 223, .12); } }
.lb__x::before, .lb__x::after { content: ""; grid-area: 1 / 1; width: 18px; height: 1.5px; background: var(--on-night); transform: rotate(45deg); }
.lb__x::after { transform: rotate(-45deg); }
/* RTL: "previous" points right, "next" points left */
.lb__nav::before { content: ""; width: 10px; height: 10px; border-block-start: 1.5px solid currentColor; }
.lb__nav--prev::before { border-inline-start: 1.5px solid currentColor; transform: translateX(-2px) rotate(45deg); }
.lb__nav--next::before { border-inline-end: 1.5px solid currentColor; transform: translateX(2px) rotate(-45deg); }
.lb.is-single .lb__nav { display: none; }

/* the visit: what was ticked on the price page, added up. A bar (in the dock's place on phones), then a sheet.
   The bar is a <button class="visit">; its rules say so, because the home page has a section.visit (address and hours). */
button.visit { position: fixed; inset-inline: 0; bottom: 0; z-index: 61; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 18px; width: 100%; min-height: 66px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); border: 0; background: var(--ink); color: var(--bone); text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .6s var(--ease), background-color .35s var(--ease), visibility 0s; }
button.visit[data-away] { transform: translateY(105%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
.visit__t { display: grid; gap: 4px; font: 500 1.0625rem/1.2 var(--f-text); }
.visit__t small { font: 400 .9rem/1.2 var(--f-text); color: var(--on-night-2); }
.visit__sum, .vs__total b { font: 500 2rem/1 var(--f-latin); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.visit__sum small, .vs b small { margin-inline-start: 4px; font: 400 .9rem/1 var(--f-text); }
button.visit .visit__go { display: inline-flex; align-items: center; gap: 10px; padding-inline-start: 18px; border-inline-start: 1px solid rgba(239, 233, 223, .3); min-height: 30px; font: 500 .975rem/1 var(--f-text); }
button.visit .visit__go::after { content: ""; width: 20px; height: 7px; background: currentColor; clip-path: polygon(0 50%, 5px 0, 5px calc(50% - .5px), 100% calc(50% - .5px), 100% calc(50% + .5px), 5px calc(50% + .5px), 5px 100%); }
@media (min-width: 900px) { button.visit { bottom: 24px; margin-inline: auto; width: min(620px, 100% - 2 * var(--gutter)); padding: 12px 28px; } button.visit[data-away] { transform: translateY(calc(100% + 30px)); } }
@media (hover: hover) { button.visit:hover { background: var(--red); } }
.vs { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88dvh; overflow: hidden; background: var(--bone); color: var(--ink-2); }
.vs::backdrop { background: rgba(8, 9, 11, .6); }
.vs[open] { animation: vs-up .55s var(--ease-soft); }
@keyframes vs-up { from { transform: translateY(100%); } }
.vs__in { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 4px; max-height: 88dvh; padding: 14px var(--gutter) calc(26px + env(safe-area-inset-bottom)); }
.vs__body { overflow-y: auto; overscroll-behavior: contain; }
.vs__more summary { min-height: 58px; padding-block: 10px; padding-inline-end: 4px; font: 400 1.0625rem/1.4 var(--f-text); color: var(--ink-2); }
.vs__list.vs__list--add { border-block-start: 0; }
.vs__list--add li { min-height: 50px; padding-block: 4px; font-size: 1.0625rem; color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vs__list--add li:last-child { border-block-end: 0; }
.vs__list--add b { font-size: 1.3rem; }
.vs__list.vs__list--add button::before { transform: none; }
.vs__list.vs__list--add button::after { transform: rotate(90deg); }
.vs__head { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.vs__t { font: 300 1.9rem/1.1 var(--f-display); color: var(--ink); }
.vs__x, .vs__list button { flex: none; width: 44px; height: 44px; margin-inline-end: -12px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.vs__x::before, .vs__x::after, .vs__list button::before, .vs__list button::after { content: ""; grid-area: 1 / 1; width: 18px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.vs__x::after, .vs__list button::after { transform: rotate(-45deg); }
.vs__list button::before, .vs__list button::after { width: 13px; background: var(--ink-3); }
.vs__list { border-block-start: 1px solid var(--ink); }
.vs__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; column-gap: 14px; min-height: 60px; padding-block: 8px; border-block-end: 1px solid var(--line); font: 400 1.125rem/1.35 var(--f-display); color: var(--ink); }
.vs__list span { text-wrap: balance; }
.vs__list b { font: 500 1.5rem/1 var(--f-latin); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.vs__total { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-block: 20px 6px; font: 500 1.0625rem/1.3 var(--f-text); color: var(--ink); }
.vs__total b { font-size: 2.6rem; }
.vs__note { font-size: .95rem; line-height: 1.5; color: var(--ink-3); }
.vs__go { display: grid; gap: 10px; margin-block-start: 18px; }
.vs__go .vs__note { text-align: center; }
@media (min-width: 700px) { .vs { margin: auto; width: 480px; } .vs__in { padding: 22px 34px 34px; } .vs[open] { animation-name: vs-in; } }
@keyframes vs-in { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .rv, .js [data-lines]:not(.is-in) > span, .js .hero .ln > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js .arch__film { opacity: 1; }
}

/* touch: buttons answer the finger (hover never fires on phones) */
.btn, .door, .dock__a, .more, .shape, .lb__nav, .lb__x, .vs__x, .vs__list button, .arch__toggle { -webkit-tap-highlight-color: transparent; }
.btn, .door, .more { transition-property: background-color, color, border-color, transform; }
.btn:active, .door:active, .dock__a:active, .more:active, .lb__nav:active, .lb__x:active { transform: scale(.975); transition-duration: .08s; }
.ring:active .ring__img { transform: scale(.95); transition: transform .08s; }
@media (prefers-reduced-motion: reduce) { .btn:active, .door:active, .dock__a:active, .more:active, .lb__nav:active, .lb__x:active, .ring:active .ring__img { transform: none; } }
