/* ==========================================================================
   Soul · Newsletter September 2026
   Type: Polin 300 / 400 / 500 / 600 / 700
   ========================================================================== */

@font-face { font-family: 'Polin'; src: url('fonts/Polin-Light.woff2') format('woff2');    font-weight: 300; font-display: swap; }
@font-face { font-family: 'Polin'; src: url('fonts/Polin-Regular.woff2') format('woff2');  font-weight: 400; font-display: swap; }
@font-face { font-family: 'Polin'; src: url('fonts/Polin-Medium.woff2') format('woff2');   font-weight: 500; font-display: swap; }
@font-face { font-family: 'Polin'; src: url('fonts/Polin-Semibold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Polin'; src: url('fonts/Polin-Bold.woff2') format('woff2');     font-weight: 700; font-display: swap; }

/* ── tokens ──────────────────────────────────────────────────────────────── */
:root {
  --pink: #FF7995;
  --pink-2: #FF849E;
  --pink-soft: #FFB9C6;
  --pink-tint: #FFF3F6;
  --pink-line: #FFE3E9;

  --ink: #384349;
  --ink-2: #405059;
  --ink-70: #5A666D;
  --ink-50: #7C878D;
  --ink-35: #A7B0B5;
  --ink-15: #DCE1E3;

  --cream: #FFFCF9;
  --cream-2: #FBF5F0;
  --hairline: #EFE6DF;

  --grad-pink: linear-gradient(135deg, var(--pink) 0%, var(--pink-2) 100%);
  --grad-ink: linear-gradient(158deg, var(--ink) 0%, var(--ink-2) 100%);

  --page: 640px;
  --pad: 30px;
  --bar: 58px;

  --gap-section: 96px;
  --gap-figure: 34px;

  --r-2xl: 30px;
  --r-xl: 22px;
  --r-lg: 16px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-soft: 0 20px 44px -30px rgba(56, 67, 73, .55);
  --shadow-card: 0 30px 60px -34px rgba(56, 67, 73, .55);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 22px);
}

body {
  font-family: 'Polin', Arial, sans-serif;
  font-weight: 400;
  direction: rtl;
  background: #EDE7E2;
  background-image: radial-gradient(120% 60% at 50% 0%, #F4EFEA 0%, transparent 62%);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: fixed;
  inset-block-start: -70px;
  inset-inline-start: 14px;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: inset-block-start .2s var(--ease);
}
.skip:focus { inset-block-start: 14px; }

/* Icon svgs collapse to 300x150 as flex items, so heights are always explicit */
.ico { display: block; height: auto; flex: none; }

/* ══════════════════════════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 60;
  height: var(--bar);
  display: flex;
  justify-content: center;
  background: rgba(255, 252, 249, .84);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.topbar__inner {
  width: 100%;
  max-width: var(--page);
  padding-inline: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.brand b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.brand span { font-size: 13.5px; font-weight: 400; color: var(--ink-35); white-space: nowrap; }
.brand span::before { content: '·'; margin-inline-end: 8px; }

.menu-btn {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 99px;
  border: 1px solid var(--hairline);
  background: #fff;
  white-space: nowrap;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.menu-btn:hover { border-color: var(--pink); color: var(--pink); }
.menu-btn .ico { width: 15px; height: 15px; }

.progress { position: absolute; inset-block-end: -1px; inset-inline: 0; height: 2px; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad-pink); }

/* ── slide-down index ────────────────────────────────────────────────────── */
.sheet {
  position: fixed;
  inset-block-start: var(--bar);
  inset-inline: 0;
  z-index: 55;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.sheet__panel {
  width: 100%;
  max-width: var(--page);
  background: var(--cream);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 26px 44px -30px rgba(56, 67, 73, .5);
  padding: 12px 20px 20px;
  transform: translateY(-102%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.sheet[data-open='true'] { pointer-events: auto; }
.sheet[data-open='true'] .sheet__panel { transform: none; opacity: 1; }

.sheet__list { list-style: none; }
.sheet__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 4px;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  font-size: 16.5px;
  font-weight: 500;
  transition: color .18s var(--ease);
}
.sheet__list li:last-child a { border-bottom: 0; }
.sheet__list a:hover { color: var(--pink); }
.sheet__list em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--pink); min-width: 20px; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(56, 67, 73, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.scrim[data-open='true'] { opacity: 1; pointer-events: auto; }

/* ══════════════════════════════════════════════════════════════════════════
   DESKTOP RAIL
   ══════════════════════════════════════════════════════════════════════════ */
.rail {
  position: fixed;
  inset-block-start: 50%;
  inset-inline-end: 40px;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
}
.rail ol { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.rail a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 5px 8px;
  border-radius: 99px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-35);
  transition: color .2s var(--ease);
}
.rail a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-15);
  flex: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.rail a:hover { color: var(--ink-70); }
.rail a[aria-current='true'] { color: var(--ink); font-weight: 600; }
.rail a[aria-current='true']::before { background: var(--pink); transform: scale(1.5); }

/* ══════════════════════════════════════════════════════════════════════════
   PAPER
   ══════════════════════════════════════════════════════════════════════════ */
.paper {
  max-width: var(--page);
  margin-inline: auto;
  margin-block-start: var(--bar);
  background: var(--cream);
  position: relative;
  overflow: clip;
  box-shadow: 0 0 90px rgba(56, 67, 73, .13);
}

/* ══════════════════════════════════════════════════════════════════════════
   EDITORIAL TYPE SYSTEM
   ══════════════════════════════════════════════════════════════════════════ */
.head { text-align: start; }

.head__rule {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.head__num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: .02em;
}
.head__label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .17em;
  color: var(--ink-35);
  white-space: nowrap;
}
.head__rule i { flex: 1; height: 1px; background: var(--hairline); }
.head__meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-35);
  white-space: nowrap;
}

.title {
  font-size: clamp(27px, 6.6vw, 38px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.028em;
  color: var(--pink);
  text-wrap: balance;
}
/* Latin display name: LTR glyph order, but flush with the RTL column */
.title--en {
  direction: ltr;
  text-align: right;
  letter-spacing: .005em;
  font-size: clamp(29px, 7.2vw, 41px);
}
.subtitle {
  font-size: clamp(20px, 4.8vw, 26px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.015em;
  margin-top: 9px;
  text-wrap: balance;
}

.lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.62;
  margin-top: 22px;
  max-width: 40ch;
  text-wrap: pretty;
}
.body {
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.76;
  color: var(--ink-70);
  margin-top: 14px;
  max-width: 44ch;
  text-wrap: pretty;
}
.body strong, .lead strong { font-weight: 600; }

/* Soul's ink is never flat black — every dark run of type is filled with the
   same two-stop slate gradient so the page reads warmer under close look. */
.subtitle,
.lead,
.standfirst p,
.cover__kicker,
.issue b,
.place__name,
.roster b,
.classes b,
.note strong,
.body strong {
  background: linear-gradient(115deg, #384349 0%, #405059 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* …except where the same elements sit on a dark ground and run light */
.panel .subtitle,
.panel .lead,
.panel .body strong,
.feature .subtitle,
.feature .lead {
  background: none;
  -webkit-text-fill-color: currentColor;
}

/* multi-word terms that must never split across lines */
.keep { white-space: nowrap; }

.caption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-35);
}
.caption::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}
.caption i { flex: 1; height: 1px; background: var(--hairline); }
.caption em { font-style: normal; letter-spacing: .12em; font-size: 11px; }

/* ══════════════════════════════════════════════════════════════════════════
   COVER
   ══════════════════════════════════════════════════════════════════════════ */
.cover { position: relative; padding: 20px 16px 0; }

.cover__card {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: 60px 30px 74px;
  text-align: center;
  isolation: isolate;
  box-shadow:
    inset 0 0 0 1px rgba(255, 121, 149, .13),
    0 26px 54px -36px rgba(255, 121, 149, .7);
}
.cover__photo { position: absolute; inset: 0; z-index: -2; }
.cover__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: brightness(1.12) saturate(.92);
}
/* bright in the middle so the type stays legible, thinner at the edges
   so the photo still reads as a photo */
.cover__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(78% 58% at 50% 50%,
      rgba(255, 251, 250, .93) 0%,
      rgba(255, 245, 248, .82) 52%,
      rgba(255, 238, 243, .5) 100%),
    linear-gradient(168deg, rgba(255, 252, 249, .5) 0%, rgba(255, 226, 234, .58) 100%);
}

.cover__logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 3;
  box-shadow: 0 12px 26px -12px rgba(255, 121, 149, .85);
}

.cover__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-50);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  padding: 7px 17px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--pink-line);
  border-radius: 99px;
  margin-bottom: 24px;
}
.cover__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 121, 149, .22);
}

.cover__kicker {
  display: block;
  font-size: clamp(18px, 4.4vw, 23px);
  font-weight: 500;
  letter-spacing: -.01em;
}
.cover__title {
  display: block;
  font-size: clamp(32px, 8.6vw, 50px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.032em;
  margin-top: 4px;
  background: linear-gradient(115deg, #FF849E 0%, #FF5C82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cover__text {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-70);
  max-width: 27ch;
  margin-inline: auto;
}

.spark { position: absolute; color: var(--pink); z-index: 3; }
.spark--a { inset-block-start: 42px; inset-inline-end: 40px; width: 27px; }
.spark--b { inset-block-start: 74px; inset-inline-end: 80px; width: 12px; }
.spark--c { inset-block-start: 48px; inset-inline-start: 42px; width: 21px; }
.spark--d { inset-block-start: 78px; inset-inline-start: 78px; width: 11px; }

.curl { position: absolute; color: var(--pink); z-index: 3; }
.curl--a { inset-block-end: 46px; inset-inline-end: 6px; width: 84px; }
.curl--b { inset-block-end: 128px; inset-inline-start: 4px; width: 62px; }

/* facts bar straddling the bottom edge of the cover */
.facts {
  position: relative;
  z-index: 5;
  margin: -36px 34px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--r-xl);
  padding: 19px 6px;
  box-shadow: var(--shadow-card);
}
.facts div { text-align: center; padding-inline: 8px; }
.facts div + div { border-inline-start: 1px solid var(--hairline); }
.facts b {
  display: block;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--pink);
}
.facts span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  color: var(--ink-35);
}

.standfirst {
  padding: 46px var(--pad) 0;
  text-align: center;
}
.standfirst p {
  font-size: 18.5px;
  font-weight: 300;
  line-height: 1.62;
  max-width: 38ch;
  margin-inline: auto;
  text-wrap: pretty;
}

/* ══════════════════════════════════════════════════════════════════════════
   INDEX
   ══════════════════════════════════════════════════════════════════════════ */
.issue {
  margin: 56px 16px 0;
  background: var(--cream-2);
  border-radius: var(--r-2xl);
  padding: 28px 26px 22px;
}
.issue__head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 6px;
}
.issue__head b { font-size: 11.5px; font-weight: 600; letter-spacing: .17em; color: var(--pink); }
.issue__head i { flex: 1; height: 1px; background: var(--pink-line); }
.issue > p { font-size: 15.5px; font-weight: 300; color: var(--ink-50); margin-bottom: 14px; }

.issue ol { list-style: none; }
.issue li + li { border-top: 1px solid var(--hairline); }
.issue a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 2px;
  text-decoration: none;
  transition: color .18s var(--ease);
}
.issue a:hover { color: var(--pink); }
.issue em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--pink); min-width: 18px; }
.issue b { font-size: 16.5px; font-weight: 500; letter-spacing: -.012em; }
.issue a > span {
  margin-inline-start: auto;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-35);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════════════
   CHAPTERS
   ══════════════════════════════════════════════════════════════════════════ */
.chapter { margin-top: var(--gap-section); padding-inline: var(--pad); }

.figure { margin-top: var(--gap-figure); }
.figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-soft);
}
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--tall img { aspect-ratio: 4 / 3; }

/* edge-to-edge image, the editorial counterpoint to the rounded cards */
.bleed {
  margin-top: var(--gap-figure);
  margin-inline: calc(var(--pad) * -1);
}
.bleed img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; }
.bleed .caption { padding-inline: var(--pad); }

/* image + card that lifts over it */
.overlap { margin-inline: calc(var(--pad) * -1); }
.overlap img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 3 / 2; }
.overlap__card {
  position: relative;
  margin: -54px var(--pad) 0;
  background: var(--cream);
  border-radius: var(--r-2xl);
  padding: 30px 28px 30px;
  box-shadow: var(--shadow-card);
}
.overlap__card .head__rule { margin-bottom: 16px; }

/* text over a full-bleed photo */
.feature {
  margin-inline: calc(var(--pad) * -1);
  position: relative;
  isolation: isolate;
}
.feature img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; }
.feature__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(38, 46, 51, .96) 4%,
    rgba(38, 46, 51, .84) 30%,
    rgba(38, 46, 51, .48) 56%,
    rgba(38, 46, 51, .06) 88%);
}
.feature__body {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 34px var(--pad) 34px;
}
.feature .head__label { color: rgba(255, 255, 255, .62); }
.feature .head__meta { color: rgba(255, 255, 255, .56); }
.feature .head__rule i { background: rgba(255, 255, 255, .22); }
.feature .title { color: #fff; }
.feature .subtitle { color: var(--pink-soft); }
.feature .lead { color: rgba(255, 255, 255, .82); }

/* side by side */
.split { display: grid; gap: 26px; }
.split img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 5; border-radius: var(--r-xl); box-shadow: var(--shadow-soft); }

/* 07: a pink block the dancers stand on, flush with the paper edges */
.chapter--stage { padding-inline: 0; }
.stage {
  background: linear-gradient(172deg, #FFF2F5 0%, #FFE4EB 100%);
  padding-top: 46px;
}
.stage .head { padding-inline: var(--pad); }
.stage .head__rule i { background: rgba(255, 121, 149, .26); }
.stage .head__label { color: #C58F9C; }
.stage .head__meta { color: #C58F9C; }
.stage .body { color: var(--ink-70); }
.stage img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 32px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center bottom;
}

/* ── dark panel ──────────────────────────────────────────────────────────── */
.panel {
  margin: var(--gap-section) 16px 0;
  border-radius: var(--r-2xl);
  background: var(--grad-ink);
  color: #fff;
  padding: 46px 30px 48px;
  position: relative;
  overflow: hidden;
}
.panel .head__label { color: rgba(255, 255, 255, .55); }
.panel .head__meta { color: rgba(255, 255, 255, .42); }
.panel .head__rule i { background: rgba(255, 255, 255, .16); }
.panel .title { color: var(--pink-soft); }
.panel .subtitle { color: #fff; }
.panel .lead { color: rgba(255, 255, 255, .84); }
.panel .body { color: rgba(255, 255, 255, .66); }
.panel .body strong, .panel .lead strong { color: #fff; }
.panel .figure img { box-shadow: none; }

/* photo flush with the panel edges, rounded only where the panel is */
.panel__bleed {
  margin: 36px -30px -48px;
  border-end-start-radius: var(--r-2xl);
  border-end-end-radius: var(--r-2xl);
  overflow: hidden;
}
.panel__bleed img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* greeting panel: structural rule on top, everything under it centred */
/* pink for the brand, honey-gold for the chag — the two together are what makes
   the panel read as celebration rather than just a dark block */
.panel--greeting {
  text-align: center;
  padding-bottom: 8px;
  background:
    radial-gradient(34% 24% at 50% 21%, rgba(255, 150, 175, .34) 0%, transparent 72%),
    radial-gradient(34% 26% at 100% 0%, rgba(255, 121, 149, .52) 0%, transparent 72%),
    radial-gradient(28% 22% at 0% 6%, rgba(255, 197, 130, .32) 0%, transparent 74%),
    radial-gradient(34% 26% at -2% 78%, rgba(255, 169, 183, .34) 0%, transparent 74%),
    radial-gradient(32% 26% at 102% 99%, rgba(255, 190, 138, .36) 0%, transparent 74%),
    var(--grad-ink);
}
.panel--greeting > *:not(.confetti) { position: relative; z-index: 1; }
.panel--greeting .lead {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: 17px;
  color: rgba(255, 255, 255, .86);
}
.panel--greeting .body {
  margin: 10px auto 0;
  max-width: 32ch;
  font-size: 16px;
  color: rgba(255, 255, 255, .6);
}

/* flower sitting inside a lit medallion */
.medallion {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 30px auto 0;
  display: grid;
  place-items: center;
}
.medallion::before,
.medallion::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.medallion::before {
  inset: 0;
  background: radial-gradient(circle, rgba(255, 121, 149, .38) 0%, rgba(255, 190, 138, .12) 52%, transparent 70%);
}
.medallion::after {
  inset: 17px;
  border: 1px solid rgba(255, 185, 198, .34);
}
.panel__emblem {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 0 14px rgba(255, 121, 149, .9));
}

/* confetti: 6 sparkles, then 7 dots, then 4 rings, hugging the outer margins */
.confetti { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.confetti > * { position: absolute; opacity: var(--o); }
.confetti .ico {
  color: var(--pink);
  animation: twinkle var(--d) ease-in-out var(--delay) infinite;
}
.confetti i { border-radius: 50%; background: currentColor; }
.confetti i.ring { background: none; border: 1.5px solid currentColor; }

@keyframes twinkle {
  0%, 100% { opacity: var(--o); transform: scale(1); }
  50%      { opacity: calc(var(--o) * .45); transform: scale(.86); }
}

.confetti > :nth-child(1) { --o: .95; --d: 4.2s; --delay: 0s;   width: 24px; height: 24px; inset-block-start: 22px;  inset-inline-end: 24px; }
.confetti > :nth-child(2) { --o: .6;  --d: 5.1s; --delay: .8s;  width: 13px; height: 13px; inset-block-start: 66px;  inset-inline-end: 72px; }
.confetti > :nth-child(3) { --o: .85; --d: 4.6s; --delay: 1.6s; width: 18px; height: 18px; inset-block-start: 112px; inset-inline-start: 22px; }
.confetti > :nth-child(4) { --o: .5;  --d: 5.6s; --delay: .4s;  width: 11px; height: 11px; inset-block-start: 168px; inset-inline-start: 62px; }
.confetti > :nth-child(5) { --o: .6;  --d: 4.9s; --delay: 2.1s; width: 15px; height: 15px; inset-block-start: 244px; inset-inline-end: 26px; }
.confetti > :nth-child(6) { --o: .55; --d: 5.3s; --delay: 1.1s; width: 20px; height: 20px; inset-block-start: 322px; inset-inline-start: 28px; }

.confetti > :nth-child(7)  { --o: .5;  width: 6px; height: 6px; inset-block-start: 196px; inset-inline-start: 34px; color: var(--pink); }
.confetti > :nth-child(8)  { --o: .75; width: 5px; height: 5px; inset-block-start: 138px; inset-inline-end: 40px;   color: #FFC98A; }
.confetti > :nth-child(9)  { --o: .45; width: 7px; height: 7px; inset-block-start: 196px; inset-inline-end: 70px;   color: var(--pink-soft); }
.confetti > :nth-child(10) { --o: .6;  width: 4px; height: 4px; inset-block-start: 260px; inset-inline-start: 70px; color: #FFC98A; }
.confetti > :nth-child(11) { --o: .5;  width: 6px; height: 6px; inset-block-start: 300px; inset-inline-end: 50px;   color: var(--pink); }
.confetti > :nth-child(12) { --o: .32; width: 5px; height: 5px; inset-block-start: 88px;  inset-inline-start: 88px; color: var(--pink-soft); }
.confetti > :nth-child(13) { --o: .42; width: 7px; height: 7px; inset-block-start: 356px; inset-inline-end: 80px;   color: #FFC98A; }

.confetti > :nth-child(14) { --o: .32; width: 14px; height: 14px; inset-block-start: 92px;  inset-inline-end: 88px;   color: var(--pink); }
.confetti > :nth-child(15) { --o: .42; width: 10px; height: 10px; inset-block-start: 212px; inset-inline-start: 44px; color: #FFC98A; }
.confetti > :nth-child(16) { --o: .3;  width: 16px; height: 16px; inset-block-start: 286px; inset-inline-end: 18px;   color: var(--pink-soft); }
.confetti > :nth-child(17) { --o: .34; width: 9px;  height: 9px;  inset-block-start: 372px; inset-inline-start: 66px; color: var(--pink); }

.greeting {
  font-size: clamp(33px, 8.2vw, 45px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.034em;
  margin-top: 22px;
  background: linear-gradient(118deg, #FFB9C6 0%, #FF849E 55%, #FFC9D3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.greeting__sub {
  margin-top: 11px;
  font-size: clamp(17px, 4.2vw, 19px);
  font-weight: 500;
  letter-spacing: -.005em;
  color: #fff;
}

/* three-up almanac of the tishrei holidays */
.almanac {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 38px -30px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.almanac div { padding: 26px 6px 30px; }
.almanac div + div { border-inline-start: 1px solid rgba(255, 255, 255, .15); }
.almanac .ico {
  width: 26px;
  height: 26px;
  margin: 0 auto 14px;
  color: var(--pink-soft);
  filter: drop-shadow(0 0 9px rgba(255, 121, 149, .55));
}
/* the candle gets the flame's own colour */
.almanac div:nth-child(2) .ico {
  color: #FFD3A1;
  filter: drop-shadow(0 0 10px rgba(255, 190, 138, .7));
}
.almanac b { display: block; font-size: 15px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.almanac span { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 300; color: rgba(255, 255, 255, .58); }

.glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 121, 149, .26) 0%, transparent 70%);
  pointer-events: none;
}
.glow--a { inset-block-start: -130px; inset-inline-end: -100px; }
.glow--b { inset-block-end: -140px; inset-inline-start: -110px; }

.panel .spark--p1 { inset-block-start: 30px; inset-inline-end: 30px; width: 22px; }
.panel .spark--p2 { inset-block-start: 62px; inset-inline-end: 62px; width: 12px; }
.panel .spark--p3 { inset-block-end: 34px; inset-inline-start: 28px; width: 18px; }

.emblem { width: 64px; margin: 0 auto 18px; color: var(--pink); }

/* ── branch cards ────────────────────────────────────────────────────────── */
.places { display: grid; gap: 16px; margin-top: var(--gap-figure); }
.place {
  display: grid;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
/* the photo is absolutely placed so its intrinsic height never drives the card —
   portrait and landscape sources both fill whatever the copy column asks for */
.place__ph { position: relative; display: block; aspect-ratio: 16 / 10; }
.place__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__body { padding: 20px 22px 22px; }
.place__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.place__tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--pink);
  background: var(--pink-tint);
  padding: 6px 13px;
  border-radius: 99px;
}
.place__chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--ink-35);
  margin-bottom: 8px;
}
.place__chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink);
  flex: none;
}
.place__name { font-size: 23px; font-weight: 700; line-height: 1.06; letter-spacing: -.025em; }
.place__note { font-size: 14.5px; font-weight: 400; color: var(--ink-50); margin-top: 5px; }

/* ── address line ────────────────────────────────────────────────────────── */
.where {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
}
.where .ico { width: 16px; height: 16px; flex: none; color: var(--pink); }
.where i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .45; margin-inline: 9px; }

/* ── partner booking apps ────────────────────────────────────────────────── */
.apps { margin-top: 30px; }
.apps__label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 13px;
}
.apps__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .14);
}
/* one chip per app, equal widths, each mark optically sized to its own weight */
.apps__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.apps__chip {
  display: grid;
  place-items: center;
  height: 54px;
  padding-inline: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .8);
}
.apps__chip img { max-width: 100%; width: auto; }
.apps__chip:nth-child(1) img { height: 17px; }
.apps__chip:nth-child(2) img { height: 19px; }
.apps__chip:nth-child(3) img { height: 15px; }

/* ── class tiles ─────────────────────────────────────────────────────────── */
.classes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: var(--gap-figure);
}
.classes div {
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 19px 17px 19px;
}
.classes .ico { display: block; width: 26px; height: 26px; color: var(--pink); margin-bottom: 14px; }
.classes b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.012em;
}
.classes__more {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-35);
}

/* ── branch roster ───────────────────────────────────────────────────────── */
.roster { list-style: none; margin-top: 26px; }
.roster li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 2px;
  border-top: 1px solid var(--hairline);
}
.roster li:last-child { border-bottom: 1px solid var(--hairline); }
.roster b { font-size: 16px; font-weight: 600; letter-spacing: -.012em; white-space: nowrap; }
.roster span {
  margin-inline-start: auto;
  text-align: end;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-50);
}
.roster__soon {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--pink);
  background: var(--pink-tint);
  padding: 5px 12px;
  border-radius: 99px;
}

/* ── note card ───────────────────────────────────────────────────────────── */
.note {
  margin-top: 22px;
  background: var(--pink-tint);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink-70);
  text-wrap: pretty;
}
.note strong { font-weight: 600; color: var(--ink); }

/* ── pills ───────────────────────────────────────────────────────────────── */
.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.pills span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--ink-70);
  background: var(--pink-tint);
  padding: 8px 14px;
  border-radius: 99px;
}
.panel .pills span { background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .86); }
.stage .pills span { background: rgba(255, 255, 255, .8); }
.pills em {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--pink);
  padding: 3px 7px;
  border-radius: 99px;
  margin-inline-start: 6px;
  vertical-align: 1px;
}

/* ── divider ─────────────────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: var(--gap-section);
  padding-inline: var(--pad);
}
.divider i { flex: 1; height: 1px; background: var(--hairline); }
.divider .ico { width: 28px; height: 28px; }

/* ══════════════════════════════════════════════════════════════════════════
   SITE WINDOW
   ══════════════════════════════════════════════════════════════════════════ */
.window {
  margin-top: var(--gap-figure);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--hairline);
  direction: ltr;
}
.window__dots { display: flex; gap: 5px; flex: none; }
.window__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-line); }
.window__url {
  flex: 1;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-35);
  padding: 5px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  direction: ltr;
}
.window__url .ico { width: 10px; height: 10px; color: var(--ink-35); }
.window img { width: 100%; height: auto; display: block; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: var(--grad-pink);
  color: #fff;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 99px;
  box-shadow: 0 14px 28px -14px rgba(255, 121, 149, .95);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(255, 121, 149, 1); }
.cta .ico { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════════════════════════
   OUTRO + FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
.outro { text-align: center; padding-block: 54px 56px; }
.outro__logo { width: 52px; margin: 0 auto 20px; border-radius: 50%; }
.outro__title {
  font-size: clamp(28px, 7.2vw, 40px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
}
.outro__title em {
  font-style: normal;
  background: linear-gradient(120deg, #FF849E, #FFA6B7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.outro .body { margin-inline: auto; text-align: center; }
.outro__rule { width: 44px; height: 2px; border-radius: 2px; background: var(--grad-pink); margin: 26px auto 0; }
.outro__wish {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.44;
  color: #fff;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.outro__sign { margin-top: 16px; font-size: 13px; font-weight: 400; letter-spacing: .14em; color: rgba(255, 255, 255, .48); }

.footer { padding: 40px var(--pad) 48px; text-align: center; }
.footer__rule { height: 1px; background: var(--hairline); margin-bottom: 30px; }
.footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 15px;
  font-weight: 500;
}
.footer__links a { text-decoration: none; transition: color .18s var(--ease); }
.footer__links a:hover { color: var(--pink); }
.footer__links i { width: 4px; height: 4px; border-radius: 50%; background: var(--pink-line); }
.footer__fine { margin-top: 13px; font-size: 12.5px; font-weight: 400; color: var(--ink-35); }

.totop {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-start: 22px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -14px rgba(56, 67, 73, .6);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), color .2s var(--ease);
}
.totop[data-show='true'] { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { color: var(--pink); }
.totop .ico { width: 15px; height: 15px; }

/* direct line to customer service — parked opposite the back-to-top button */
.wa {
  position: fixed;
  inset-block-end: 22px;
  inset-inline-end: 22px;
  z-index: 45;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-pink);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .38),
    0 14px 30px -12px rgba(255, 121, 149, .95);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .5),
    0 20px 38px -12px rgba(255, 121, 149, 1);
}
.wa .ico { width: 27px; height: 27px; }

/* ══════════════════════════════════════════════════════════════════════════
   MOTION
   ══════════════════════════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay='1'] { transition-delay: .08s; }
[data-reveal][data-delay='2'] { transition-delay: .16s; }

/* ══════════════════════════════════════════════════════════════════════════
   BREAKPOINTS
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 560px) {
  .split { grid-template-columns: 1fr 232px; align-items: center; }
  .classes { grid-template-columns: repeat(3, 1fr); }
  .place { grid-template-columns: 224px 1fr; }
  .place__ph { aspect-ratio: auto; }
  .feature img { aspect-ratio: 4 / 3; }
}

@media (min-width: 1040px) {
  .rail { display: block; }
}

@media (min-width: 1400px) {
  .rail { inset-inline-end: 72px; }
}

@media (max-width: 460px) {
  :root { --pad: 22px; --r-2xl: 26px; --r-xl: 18px; --gap-section: 68px; --gap-figure: 26px; }

  .brand span, .menu-btn span { display: none; }
  .menu-btn { padding: 9px 12px; }

  .cover { padding: 16px 12px 0; }
  .cover__card { padding: 56px 20px 78px; }
  .cover__logo { width: 56px; height: 56px; margin-bottom: 18px; }

  .spark--a { inset-block-start: 24px; inset-inline-end: 14px; width: 21px; }
  .spark--b { inset-block-start: 50px; inset-inline-end: 44px; width: 10px; }
  .spark--c { inset-block-start: 28px; inset-inline-start: 16px; width: 17px; }
  .spark--d { inset-block-start: 54px; inset-inline-start: 48px; width: 9px; }
  .curl--a { inset-block-end: 32px; inset-inline-end: 0; width: 64px; }
  .curl--b { inset-block-end: 110px; inset-inline-start: 0; width: 50px; }

  .issue { margin-inline: 12px; padding: 24px 20px 18px; }
  .panel { margin-inline: 12px; padding: 38px 22px 40px; }
  .panel--greeting { padding-bottom: 4px; }
  /* the narrow panel leaves no clear margin at these heights — drop the inner pieces */
  .confetti > :nth-child(9),
  .confetti > :nth-child(10),
  .confetti > :nth-child(11),
  .confetti > :nth-child(15),
  .confetti > :nth-child(16) { display: none; }
  /* remaining pieces move into the bands above the greeting and below the body */
  .confetti > :nth-child(4)  { inset-block-start: 140px; inset-inline-start: 62px; }
  .confetti > :nth-child(5)  { inset-block-start: 152px; inset-inline-end: 22px; }
  /* the gap above the almanac is too shallow at 390px, so the two lower pieces
     hug the gutters beside the closing paragraph instead */
  .confetti > :nth-child(6)  { inset-block-start: 326px; inset-inline-start: 14px; width: 15px; height: 15px; }
  .confetti > :nth-child(7)  { inset-block-start: 66px;  inset-inline-start: 50px; }
  .confetti > :nth-child(13) { inset-block-start: 344px; inset-inline-end: 28px; }
  .medallion { width: 84px; height: 84px; margin-top: 26px; }
  .medallion::after { inset: 14px; }
  .panel__emblem { width: 42px; height: 42px; }
  .almanac { margin-inline: -22px; }
  .panel__bleed { margin: 28px -22px -40px; }
  .overlap__card { padding: 26px 22px; margin-top: -46px; }
  .feature__body { padding-block: 28px; }
  .lead { font-size: 18px; }

  .facts { margin-inline: 20px; padding: 16px 2px; }
  .facts b { font-size: 22px; }
  .facts span { font-size: 10px; letter-spacing: .04em; }

  .almanac div { padding: 22px 2px 24px; }
  .almanac b { font-size: 13.5px; }
  .almanac span { font-size: 11.5px; }
  .almanac .ico { width: 19px; height: 23px; margin-bottom: 10px; }

  .issue a > span { font-size: 9.5px; letter-spacing: .08em; }
  .issue b { font-size: 15.5px; }
  .issue a { gap: 10px; }
  .divider { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .sheet__panel { transition: none; }
  .confetti .ico { animation: none; }
}

@media print {
  body { background: #fff; }
  .topbar, .sheet, .scrim, .rail, .totop, .wa, .skip { display: none !important; }
  .paper { box-shadow: none; max-width: none; margin-block-start: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .chapter, .panel, .issue { break-inside: avoid; }
}
