/* ───────── Tokens ───────── */
:root {
  --night: #1b1c19;      /* event-night charcoal */
  --night-2: #262723;    /* raised surface on night */
  --lime: #e3f27c;       /* acid lime accent */
  --lime-ink: #1b1c19;   /* text on lime */
  --wall: #ecece7;       /* white-cube gallery wall */
  --paper: #f7f7f3;      /* label / input surface on wall */
  --ink: #1b1c19;
  --stone: #63635c;      /* secondary text (4.5:1+ on wall) */
  --stone-dark: #a3a39b; /* secondary text on night */
  --error: #c2412d;

  --display: 'Karantina', 'Heebo', system-ui, sans-serif;
  --text: 'Heebo', system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--wall);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.on-wall :focus-visible { outline-color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Views ───────── */
.view { display: none; min-height: 100svh; }
.view.is-active { display: block; animation: viewIn .5s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.on-wall { background: var(--wall); color: var(--ink); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ───────── Top bar ───────── */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 20px;
}
.top__logo { width: 64px; height: auto; }
.top__meta { font-size: 14px; color: var(--stone-dark); }
.on-wall .top__meta { color: var(--stone); }
.back {
  background: none; border: 0; padding: 8px 0; font-size: 15px; font-weight: 400;
  display: inline-flex; align-items: center; gap: 8px;
}
.back svg { width: 18px; height: 18px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  border: 0; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink);
  font-weight: 500; font-size: 18px; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn--ink { background: var(--ink); color: var(--wall); }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link-btn {
  background: none; border: 0; padding: 10px 4px; font-size: 15px;
  color: var(--stone-dark); text-decoration: underline; text-underline-offset: 4px;
}
.on-wall .link-btn { color: var(--stone); }

/* ───────── Landing ───────── */
.hero {
  position: relative;
  min-height: calc(100svh - 104px);
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 18px;
  padding-bottom: 48px;
}
.rail {
  grid-row: 1 / span 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  font-size: 12px; color: var(--stone-dark); letter-spacing: .02em;
  padding-top: 8px;
}
.rail span { writing-mode: vertical-rl; white-space: nowrap; }
.rail i { flex: 1; width: 1px; background: rgba(236, 236, 231, .22); min-height: 60px; }

.hero__body { position: relative; z-index: 1; display: flex; flex-direction: column; }

.facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 6px 0 0; padding: 0; list-style: none; }
.facts li { display: flex; flex-direction: column; line-height: 1.2; }
.facts b { font-weight: 400; font-size: 22px; color: var(--wall); }
.facts b sup { font-size: 12px; color: var(--lime); margin-inline-start: 2px; vertical-align: top; }
.facts small { font-size: 12px; color: var(--stone-dark); margin-top: 4px; }

.headline {
  font-family: var(--display);
  font-weight: 700;
  color: var(--lime);
  font-size: clamp(120px, 40vw, 320px);
  line-height: .78;
  letter-spacing: -.01em;
  margin: clamp(28px, 7vh, 72px) 0 0;
}
.headline > span { display: block; }
.headline > span + span { margin-inline-start: .3em; }

.lede {
  max-width: 30ch;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.45;
  margin: 28px 0 32px;
  color: var(--wall);
}
.lede em { font-style: normal; color: var(--stone-dark); }

.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero__cta small { font-size: 14px; color: var(--stone-dark); }

/* the shooting star — the one moment of motion, sits beside the first headline line */
.headline { position: relative; }
.star {
  position: absolute; left: -.14em; top: -.1em;
  width: .9em; aspect-ratio: 1;
  background: var(--lime);
  -webkit-mask: url('assets/star.png') center / contain no-repeat;
          mask: url('assets/star.png') center / contain no-repeat;
  pointer-events: none;
  animation: shoot 1.3s var(--ease) .2s both;
}
@keyframes shoot {
  from { transform: translate(55vw, -45vh) rotate(-20deg) scale(.5); opacity: 0; }
  60%  { opacity: 1; }
  to   { transform: none; opacity: 1; }
}

/* details strip */
.details {
  border-top: 1px solid rgba(236, 236, 231, .14);
  display: grid; grid-template-columns: 1fr; gap: 0;
}
.details > div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(236, 236, 231, .14);
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
}
.details dt { font-size: 14px; color: var(--stone-dark); }
.details dd { margin: 0; font-size: 18px; font-weight: 400; }

.how { padding-block: 72px 96px; }
.how h2 {
  font-family: var(--display); font-weight: 700; color: var(--wall);
  font-size: clamp(56px, 10vw, 104px); line-height: .9; margin: 0 0 36px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 6px 14px; }
.steps li::before {
  content: counter(s);
  font-family: var(--display); font-weight: 700; font-size: 44px; line-height: .9; color: var(--lime);
  grid-row: span 2;
}
.steps h3 { margin: 0; font-size: 20px; font-weight: 500; }
.steps p { margin: 0; color: var(--stone-dark); max-width: 42ch; }
.how__cta { margin-top: 44px; }

.foot { padding-block: 28px 40px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--stone-dark); }
.foot img { width: 26px; }

/* ───────── Submit (the wall) ───────── */
.submit-head { padding-block: 8px 28px; }
.submit-head h1 { font-weight: 300; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; margin: 0 0 10px; letter-spacing: -.02em; }
.submit-head p { margin: 0; color: var(--stone); max-width: 44ch; }

.submit-grid { display: grid; gap: 40px; padding-bottom: 72px; }

/* frame = upload */
.frame {
  position: relative; display: block;
  background: var(--paper);
  padding: clamp(18px, 5vw, 34px);
  box-shadow: 0 1px 0 rgba(27, 28, 25, .06), 0 24px 40px -28px rgba(27, 28, 25, .45);
  cursor: pointer;
}
.frame__inner {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px dashed #85857e;
  display: grid; place-items: center; text-align: center;
  overflow: hidden;
  transition: border-color .2s, background-color .2s;
}
.frame:hover .frame__inner, .frame.is-drag .frame__inner { border-color: var(--ink); background: #f0f0ea; }
.frame input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.frame:focus-within { outline: 2px solid var(--ink); outline-offset: 3px; }
.frame__empty { padding: 20px; display: grid; justify-items: center; gap: 10px; }
.frame__empty svg { width: 34px; height: 34px; }
.frame__empty strong { font-weight: 500; font-size: 18px; }
.frame__empty span { font-size: 14px; color: var(--stone); }
.frame__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper); }
.frame__file { padding: 20px; display: grid; gap: 6px; justify-items: center; }
.frame__file strong { font-weight: 500; word-break: break-all; }
.frame.has-file .frame__inner { border-style: solid; border-color: transparent; }
.frame__change {
  position: absolute; bottom: 10px; inset-inline-end: 10px;
  background: var(--ink); color: var(--wall); font-size: 13px; padding: 6px 12px; border-radius: 999px;
}
.frame.is-error .frame__inner { border-color: var(--error); }

/* museum wall label, updates as you type */
.label-card {
  margin-top: 22px; margin-inline-start: auto;
  width: min(260px, 80%);
  background: var(--paper);
  padding: 14px 16px;
  font-size: 13px; line-height: 1.45;
  box-shadow: 0 1px 0 rgba(27, 28, 25, .06);
}
.label-card b { display: block; font-weight: 500; font-size: 15px; }
.label-card span { display: block; color: var(--stone); }
.label-card .is-empty { color: #c3c3bc; }

/* fields */
.fields { display: grid; gap: 26px; align-content: start; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; color: var(--stone); font-weight: 400; padding: 0; }
.field input[type=text], .field input[type=tel] {
  width: 100%;
  border: 0; border-bottom: 1.5px solid #85857e;
  background: transparent;
  padding: 8px 0 10px;
  font-size: 22px; font-weight: 400;
  border-radius: 0;
  transition: border-color .2s;
}
.field input::placeholder { color: #7a7a73; font-weight: 300; }
.field input:focus { outline: none; border-bottom-color: var(--ink); }
.field input[dir=ltr] { text-align: right; }
.field .opt { color: var(--stone); }
.field.is-error input { border-bottom-color: var(--error); }
.field__err { font-size: 13px; color: var(--error); min-height: 0; }
.field:not(.is-error) .field__err { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.segmented { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span {
  display: grid; place-items: center; min-height: 52px;
  border: 1.5px solid #85857e; border-radius: 999px;
  font-size: 20px; font-weight: 400; color: var(--ink);
  transition: background-color .15s, border-color .15s, color .15s;
}
.segmented input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--wall); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.fieldset-error .segmented span { border-color: var(--error); }

.form-error { color: var(--error); font-size: 15px; margin: 0; }
.form-error:empty { display: none; }

/* ───────── Thanks + research ───────── */
.thanks { padding-bottom: 80px; }
.thanks__head { padding-block: 8px 34px; position: relative; }
.thanks__head h1 {
  font-family: var(--display); font-weight: 700; color: var(--lime);
  font-size: clamp(76px, 20vw, 200px); line-height: .82; margin: 0 0 18px;
}
.thanks__head p { margin: 0; max-width: 36ch; font-size: 19px; }
.thanks__head p + p { color: var(--stone-dark); font-size: 16px; margin-top: 8px; }

.q { border: 0; margin: 0; padding: 26px 0; border-top: 1px solid rgba(236, 236, 231, .14); min-width: 0; }
.q legend { padding: 0; font-size: 20px; font-weight: 400; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.q legend small { font-size: 13px; color: var(--stone-dark); font-weight: 300; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border: 1.5px solid rgba(236, 236, 231, .45); border-radius: 999px;
  font-size: 16px; font-weight: 400;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chips input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 26px; border-top: 1px solid rgba(236, 236, 231, .14); }

/* parent step (on night, after research) */
.parent-step { padding-bottom: 80px; }
.parent-step h2 {
  font-family: var(--display); font-weight: 700; color: var(--lime);
  font-size: clamp(64px, 16vw, 150px); line-height: .85; margin: 8px 0 16px;
}
.parent-step .intro { max-width: 40ch; margin: 0 0 34px; font-size: 18px; }
.parent-step .fields { max-width: 520px; }
.on-night .field label { color: var(--stone-dark); }
.on-night .field input[type=text], .on-night .field input[type=tel] { border-bottom-color: rgba(236, 236, 231, .5); color: var(--wall); }
.on-night .field input::placeholder { color: #8a8a83; }
.on-night .field input:focus { border-bottom-color: var(--lime); }
.on-night .field.is-error input { border-bottom-color: #ff8a73; }
.on-night .field__err, .on-night .form-error { color: #ff8a73; }
.wa-preview {
  margin: 4px 0 6px; padding: 16px 18px;
  background: var(--night-2); border-radius: 18px 18px 18px 4px;
  font-size: 15px; line-height: 1.55; color: #d5d5cf; max-width: 520px;
  white-space: pre-line;
}
.wa-preview b { color: var(--wall); font-weight: 400; }
.wa-note { font-size: 13px; color: var(--stone-dark); margin: 0; }

.done { text-align: start; padding-block: 12vh 80px; }
.done .big-star { width: 120px; aspect-ratio: 1; background: var(--lime);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat;
  margin-bottom: 26px; }
.done h2 { font-family: var(--display); font-weight: 700; color: var(--lime); font-size: clamp(70px, 18vw, 170px); line-height: .85; margin: 0 0 18px; }
.done p { max-width: 38ch; font-size: 18px; margin: 0 0 12px; }
.done p.muted { color: var(--stone-dark); font-size: 15px; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.copy-row .btn { min-height: 48px; font-size: 16px; padding: 0 22px; }
.btn--ghost { background: transparent; color: var(--wall); border: 1.5px solid rgba(236, 236, 231, .3); }

/* ───────── Parent page ───────── */
.parent-page { background: var(--wall); color: var(--ink); min-height: 100svh; }
.parent-page .top__logo { width: 72px; }
.pp { padding-block: 10px 72px; max-width: 640px; }
.pp h1 { font-weight: 300; font-size: clamp(38px, 8vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; }
.pp .intro { font-size: 18px; margin: 0 0 28px; max-width: 40ch; }
.pp dl { margin: 0 0 34px; border-top: 1px solid #d6d6ce; }
.pp dl > div { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid #d6d6ce; }
.pp dt { color: var(--stone); font-size: 14px; }
.pp dd { margin: 0; font-weight: 400; }

.consent { display: grid; gap: 12px; margin: 30px 0; }
.check {
  position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start;
  padding: 18px; background: var(--paper); cursor: pointer;
  border: 1.5px solid transparent; transition: border-color .15s;
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
  width: 34px; height: 34px; border: 1.5px solid #85857e; border-radius: 8px;
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.check__box svg { width: 20px; height: 20px; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.check input:checked ~ .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked ~ .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible ~ .check__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.check__text { font-size: 16px; line-height: 1.5; }
.check__text small { display: block; color: var(--stone); font-size: 13px; margin-top: 4px; }
.check.is-error { border-color: var(--error); }

.pp-done { padding-block: 8vh 40px; }
.pp-done .big-star { width: 110px; aspect-ratio: 1; background: var(--ink);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat; margin-bottom: 24px; }
.pp-done h1 { margin-bottom: 12px; }
.pp-done p { color: var(--stone); max-width: 40ch; }

/* ───────── Wider screens ───────── */
@media (min-width: 760px) {
  .top { padding-block: 28px; }
  .top__logo { width: 76px; }
  .hero { grid-template-columns: 40px minmax(0, 1fr); gap: 0 32px; }
  .details { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(236, 236, 231, .14); }
  .details > div { grid-template-columns: 1fr; gap: 6px; border-bottom: 0; padding: 26px 0; }
  .details > div + div { border-inline-start: 1px solid rgba(236, 236, 231, .14); padding-inline-start: 26px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .submit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
  .submit-grid .art { position: sticky; top: 24px; }
  .frame__inner { aspect-ratio: 4 / 5; }
  .headline > span + span { margin-inline-start: .45em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ───────── Research: stacked answers + workshop cards ───────── */
.chips--stack { flex-direction: column; align-items: stretch; }
.chips--stack span { width: 100%; padding: 12px 20px; min-height: 54px; border-radius: 28px; line-height: 1.4; }
.chips .hrs { direction: ltr; unicode-bidi: isolate; margin-right: 8px; opacity: .65; font-weight: 300; }
.chips input:checked + span .hrs { opacity: .8; }

.workshops { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; }
.ws { position: relative; display: grid; gap: 0; cursor: pointer; border-radius: 10px; overflow: hidden;
  background: var(--night-2); outline: 2px solid transparent; outline-offset: 0; transition: outline-color .15s; }
.ws input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; }
.ws__frame { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #2d2e29; }
.ws__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(236,236,231,.05) 14px 15px); color: var(--stone-dark); }
.ws__ph small { font-size: 11px; }
.ws__star { width: 34px; aspect-ratio: 1; background: rgba(227, 242, 124, .55);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat; }
.ws__title { display: block; padding: 10px 12px 12px; font-size: 14px; font-weight: 400; line-height: 1.35; transition: background-color .15s, color .15s; }
.ws:has(input:checked) { outline-color: var(--lime); }
.ws:has(input:checked) .ws__title { background: var(--lime); color: var(--lime-ink); }
.ws:has(input:focus-visible) { outline-color: var(--lime); outline-offset: 3px; }
.ws::after { content: ''; position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(236,236,231,.5); background: rgba(27,28,25,.5) center / 14px no-repeat; z-index: 1; transition: background-color .15s, border-color .15s; }
.ws:has(input:checked)::after { background-color: var(--lime); border-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1c19' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

@media (min-width: 640px) {
  .workshops { gap: 14px; }
  .ws__title { font-size: 15px; }
  .chips--stack { max-width: 640px; }
}

/* keep the divider above each question instead of through its title */
.q legend { float: right; width: 100%; }
.q legend + * { clear: both; }

/* ───────── Headline: "for teens" line ───────── */
.headline .headline__sub {
  font-size: .36em; line-height: 1; color: var(--wall); font-weight: 400;
  margin: .35em 0 0; letter-spacing: .01em;
}

/* ───────── About Animo: header link + teaser ───────── */
.top__about {
  background: none; border: 1.5px solid rgba(236, 236, 231, .45); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 400; color: var(--wall);
  transition: border-color .15s, color .15s;
}
.top__about:hover { border-color: var(--lime); color: var(--lime); }

.about-teaser {
  display: grid; grid-template-columns: 30px 1fr; gap: 4px 14px; align-items: start;
  margin-top: 40px; padding: 18px 0 0; max-width: 460px;
  background: none; border: 0; border-top: 1px solid rgba(236, 236, 231, .14);
  text-align: right; font-size: 15px; line-height: 1.55; color: var(--stone-dark);
}
.about-teaser b { color: var(--wall); font-weight: 500; }
.about-teaser u { grid-column: 2; color: var(--lime); text-underline-offset: 4px; font-size: 15px; font-weight: 400; }
.about-teaser:hover u { text-decoration-thickness: 2px; }
.about-teaser__star { grid-row: span 2; width: 30px; aspect-ratio: 1; margin-top: 2px; background: var(--lime);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat; }

/* ───────── About Animo: popup ───────── */
.about {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 92svh;
  background: var(--lime); color: var(--lime-ink);
  border-radius: 24px 24px 0 0; overflow: auto; overscroll-behavior: contain;
}
.about::backdrop { background: rgba(14, 15, 13, .72); backdrop-filter: blur(3px); }
.about[open] { animation: sheetUp .45s var(--ease); }
.about[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.about__inner { position: relative; padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom)); max-width: 620px; margin-inline: auto; }
.about__close {
  position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(27, 28, 25, .25); background: transparent; display: grid; place-items: center;
}
.about__close svg { width: 20px; height: 20px; }
.about__star { width: 84px; aspect-ratio: 1; background: var(--ink); margin: 0 0 4px;
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat; }
.about h2 { font-family: var(--display); font-weight: 700; font-size: clamp(64px, 17vw, 110px); line-height: .85; margin: 0 0 16px; }
.about__lede { font-size: 18px; line-height: 1.55; margin: 0 0 24px; max-width: 44ch; }
.about__list { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1.5px solid var(--ink); }
.about__list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(27, 28, 25, .2); }
.about__list b { font-weight: 500; font-size: 18px; }
.about__list span { font-size: 15px; line-height: 1.5; opacity: .8; }
.about__note { font-size: 16px; margin: 0 0 20px; }
.about .btn { background: var(--ink); color: var(--lime); }
.about :focus-visible { outline-color: var(--ink); }

@media (min-width: 760px) {
  .about { margin: auto; max-width: 600px; border-radius: 24px; }
  .about[open] { animation: popIn .35s var(--ease); }
  .about__inner { padding: 40px 44px 44px; }
}
@keyframes popIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ───────── Accessibility helpers ───────── */
.skip {
  position: absolute; top: -100px; right: 16px; z-index: 100;
  background: var(--lime); color: var(--lime-ink); padding: 10px 18px; border-radius: 999px; font-weight: 500;
}
.skip:focus { top: 12px; }
[tabindex="-1"]:focus { outline: none; }

/* ───────── Privacy note + footer links ───────── */
.privacy-note { margin: 2px 0 0; font-size: 13px; line-height: 1.6; color: var(--stone); }
.privacy-note a { color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }
.foot { flex-wrap: wrap; }
.foot__links { display: flex; gap: 18px; margin-inline-start: auto; }
.foot__links a { color: var(--stone-dark); text-underline-offset: 3px; }
.foot__links a:hover { color: var(--wall); }

/* ───────── Legal pages ───────── */
.legal { padding-block: 10px 80px; max-width: 680px; }
.legal h1 { font-weight: 300; font-size: clamp(36px, 7vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 10px; }
.legal .updated { color: var(--stone); font-size: 14px; margin: 0 0 30px; }
.legal h2 { font-size: 20px; font-weight: 500; margin: 34px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal ul { padding-inline-start: 20px; margin: 8px 0; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal .todo { background: #fff3a8; padding: 0 4px; }
.legal-back { font-size: 15px; color: var(--ink); }

/* ───────── Animo home (centered) ───────── */
.home .wrap { min-height: 100svh; display: flex; flex-direction: column; }
.home__main {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-block: 48px 40px; outline: none;
}
.home__brand { margin: 0; line-height: 0; }
.home__brand img { width: min(72vw, 420px); height: auto; animation: brandIn 1.1s var(--ease) both; }
@keyframes brandIn { from { opacity: 0; transform: translateY(18px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.home__tag {
  font-family: var(--display); font-weight: 700; color: var(--lime);
  font-size: clamp(52px, 14vw, 112px); line-height: .9; margin: 0 0 24px;
}
.home__about { max-width: 32ch; margin: 0 auto 44px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.65; color: #d9d9d3; }

/* open-call card: a gallery invitation */
.invite {
  position: relative; display: block; width: min(100%, 400px);
  padding: 30px 26px 26px; border-radius: 22px;
  background: var(--lime); color: var(--lime-ink); text-decoration: none;
  transition: transform .25s var(--ease);
}
.invite:hover { transform: translateY(-4px) rotate(-.6deg); }
.invite__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: var(--lime-ink); color: var(--lime);
}
.invite__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.invite__title { display: block; font-family: var(--display); font-weight: 700; font-size: 72px; line-height: .82; margin: 18px 0 4px; }
.invite__sub { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.invite__rule { display: block; height: 0; border-top: 1.5px dashed rgba(27, 28, 25, .35); margin: 20px -26px 18px; }
.invite__meta { display: flex; justify-content: center; gap: 22px; font-size: 14px; }
.invite__meta b { display: block; font-size: 16px; font-weight: 500; }
.invite__go {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 20px; min-height: 52px; border-radius: 999px;
  background: var(--lime-ink); color: var(--wall); font-weight: 500; font-size: 17px;
}
.invite__go svg { width: 20px; height: 20px; }
.invite__star {
  position: absolute; top: -28px; left: -10px; width: 80px; aspect-ratio: 1; background: var(--wall);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat;
  transform: rotate(-12deg);
}
.home .foot { justify-content: center; }
.home .foot__links { margin-inline-start: 0; }

/* ───────── Parent landing ───────── */
.pp-hero { padding-block: 8px 34px; }
.pp-hero__star { width: 76px; aspect-ratio: 1; background: var(--ink); margin-bottom: 10px;
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat; }
.pp-hero .btn { margin-top: 4px; }
.pp-section { padding: 26px 0; border-top: 1px solid #d6d6ce; }
.pp-section h2, .pp-form-title { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: .95; margin: 0 0 12px; }
.pp-section p { margin: 0; font-size: 17px; max-width: 46ch; }
.pp-section dl { margin: 0; border-top: 0; }
.pp-section dl > div:last-child { border-bottom: 0; }
.pp-know { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pp-know li { position: relative; padding-inline-start: 26px; font-size: 16px; line-height: 1.55; }
.pp-know li::before { content: ''; position: absolute; right: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); }
.pp-know b { font-weight: 500; }
.pp-know a { color: var(--ink); text-underline-offset: 3px; }
.pp-form-title { padding-top: 30px; border-top: 1.5px solid var(--ink); margin-bottom: 18px; scroll-margin-top: 16px; }

/* parent page: WhatsApp updates group */
.wa-group {
  margin-top: 34px; padding: 24px 22px; border-radius: 20px;
  background: var(--lime); color: var(--lime-ink);
}
.wa-group h2 { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .95; margin: 0 0 10px; }
.wa-group p { color: var(--lime-ink); opacity: .85; margin: 0 0 18px; font-size: 16px; }
.wa-group__btn { background: var(--lime-ink); color: var(--lime); width: 100%; }
.wa-group small { display: block; margin-top: 10px; font-size: 13px; opacity: .75; text-align: center; }

/* ───────── Star icon: cropped image (600×349), never clipped ───────── */
.star, .big-star, .ws__star, .about-teaser__star, .about__star, .invite__star, .pp-hero__star { aspect-ratio: 600 / 349; }
.star { width: .95em; top: .05em; left: -.1em; }
.done .big-star { width: 140px; }
.pp-done .big-star { width: 120px; }
.ws__star { width: 44px; }
.about-teaser__star { width: 36px; margin-top: 4px; }
.about-teaser { grid-template-columns: 36px 1fr; }
.about__star { width: 104px; margin-bottom: 10px; }
.invite__star { width: 96px; top: -24px; left: -8px; }
.pp-hero__star { width: 92px; margin-bottom: 14px; }
.foot img { width: 30px; height: auto; }

/* ───────── Home: workshops carousel ───────── */
.carousel { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)) 56px; text-align: right; }
.carousel__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); margin-bottom: 16px; }
.carousel__head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 11vw, 48px); white-space: nowrap; line-height: .9; margin: 0; color: var(--wall); }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: transparent; color: var(--wall); border: 1.5px solid rgba(236, 236, 231, .45);
  transition: background-color .15s, color .15s, border-color .15s, opacity .15s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.carousel__track {
  list-style: none; margin: 0; padding: 4px var(--gutter) 8px;
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.slide { flex: 0 0 min(64vw, 250px); scroll-snap-align: start; border-radius: 14px; overflow: hidden; background: var(--night-2); }
.slide__frame { position: relative; display: block; aspect-ratio: 4 / 5; background: #2d2e29; }
.slide__title { display: block; padding: 12px 14px 14px; font-size: 16px; font-weight: 400; line-height: 1.35; min-height: 3.9em; }
.slide--ph .slide__title { color: var(--stone-dark); }

/* letters that grow near the mouse (magnify.js) */
.mag { display: inline-block; transform-origin: 50% 80%; will-change: transform; }

/* ═════════ 2026-12 fixes ═════════ */

/* grade chips: ז׳–י״ב (6 options) */
.segmented { grid-template-columns: repeat(6, 1fr); gap: 6px; }

/* open-call headline: "אירוע השקה ופתיחת / תערוכה / לנוער יוצר" */
.headline--event { font-size: clamp(96px, 27vw, 260px); }
.headline.headline--event > span + span { margin-inline-start: 0; }
.headline .headline__pre {
  font-size: .3em; line-height: 1; color: var(--wall); font-weight: 400;
  margin: 0 0 .18em; letter-spacing: .01em;
}

/* home: open call and workshops both visible on first screen */
.home__main { justify-content: flex-start; padding-block: 28px 32px; }
.home__brand img { width: min(34vw, 160px); }
.home__about { margin: 16px auto 22px; font-size: clamp(16px, 2vw, 19px); line-height: 1.55; max-width: 36ch; }
.invite { padding: 22px 22px 20px; }
.invite__pre { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin-top: 14px; }
.invite__title { font-size: 66px; margin: 2px 0 2px; }
.invite__sub { font-size: 28px; }
.invite__rule { margin: 14px -22px 12px; }
.invite__go { margin-top: 14px; min-height: 48px; }

.carousel { margin: 30px calc(-1 * var(--gutter)) 40px; }
.slide { flex: 0 0 min(46vw, 230px); }
.slide__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: right; cursor: pointer;
}
.slide__btn:focus-visible { outline: 2px solid var(--lime); outline-offset: -2px; }
.slide__frame { aspect-ratio: 1; }
.slide__title { font-size: 15px; min-height: 0; }
.slide__more { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--lime); }
.slide__btn:hover .slide__more { text-decoration: underline; text-underline-offset: 3px; }

/* the "more workshops coming" card */
.slide--soon { display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); padding: 18px; }
.slide__soon { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 11vw, 54px); line-height: .9; text-align: center; }

/* workshop popup */
.ws-dialog h2 { font-size: clamp(40px, 10vw, 64px); line-height: .95; padding-inline-end: 0; padding-inline-start: 0; margin-left: 56px; }
.ws-dialog__desc { font-size: 18px; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
.ws-dialog__dates {
  margin: 0; padding: 14px 18px; border-radius: 14px;
  background: var(--ink); color: var(--lime); font-size: 17px; font-weight: 500; text-align: center;
}

/* keep each fact on one line on narrow screens */
.invite__meta { gap: 16px; }
.invite__meta b { white-space: nowrap; }

/* the exhibition theme word in the open-call text */
.lede b { font-weight: 500; color: var(--lime); }

/* submission: Google Drive link instead of a file upload */
.frame.frame--drive { cursor: default; }
.frame.frame--drive .frame__inner { aspect-ratio: auto; place-items: stretch; text-align: right; }
.frame--drive:hover .frame__inner { background: transparent; }
.frame--drive.is-error .frame__inner { border-color: var(--error); }
.drive { display: grid; gap: 14px; padding: clamp(18px, 4vw, 28px); }
.drive__icon { width: 36px; height: 36px; }
.drive label strong { font-weight: 500; font-size: 20px; }
.drive__steps { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--stone); }
.drive__steps b { color: var(--ink); font-weight: 500; }
.frame--drive input { position: static; inset: auto; opacity: 1; cursor: text; }

/* research questions are required */
.q__err { display: none; margin: 0 0 12px; font-size: 14px; color: #ff9a85; }
.q.is-error .q__err { display: block; }
.q.is-error legend { color: #ff9a85; }
#research-error { color: #ff9a85; }

/* every block after the floated legend starts on its own line (incl. the error line) */
.q > :not(legend) { clear: both; }

/* ───────── submission progress: 1 · 2 · 3 ───────── */
.stepper {
  list-style: none; margin: 2px 0 26px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
  --step-on: var(--lime); --step-off: rgba(236, 236, 231, .18); --step-ink: var(--lime-ink);
}
.on-wall .stepper { --step-on: var(--ink); --step-off: rgba(27, 28, 25, .14); --step-ink: var(--wall); }
.stepper li { display: grid; gap: 10px; min-width: 0; }
.stepper__bar { height: 5px; border-radius: 5px; background: var(--step-off); }
.stepper .is-done .stepper__bar, .stepper .is-current .stepper__bar { background: var(--step-on); }
.stepper__t { display: flex; align-items: center; gap: 7px; font-size: 13px; line-height: 1.25; opacity: .5; }
.stepper .is-current .stepper__t { opacity: 1; font-weight: 500; }
.stepper .is-done .stepper__t { opacity: .8; }
.stepper__n {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 500; border: 1.5px solid currentColor;
}
.stepper .is-current .stepper__n, .stepper .is-done .stepper__n { background: var(--step-on); border-color: var(--step-on); color: var(--step-ink); }
.stepper__n svg { width: 13px; height: 13px; }
@media (min-width: 640px) { .stepper__t { font-size: 14px; } }

/* progress v2: proportional bars (1 long · 2 short · 3 shortest) + one label line */
.stepper { grid-template-columns: 3fr 1.4fr 1fr; gap: 6px; margin: 2px 0 10px; }
.stepper li { display: block; height: 6px; border-radius: 6px; background: var(--step-off); }
.stepper li.is-done, .stepper li.is-current { background: var(--step-on); }
.stepper-label { margin: 0 0 26px; font-size: 14px; opacity: .75; }
.stepper-label b { font-weight: 500; }

/* ───────── logo = link home (every screen) ───────── */
.top__home { display: inline-flex; line-height: 0; border-radius: 6px; }
.top__home:hover { opacity: .8; }
.top--center { justify-content: center; }
.done .top { width: 100%; margin-bottom: 8px; }

/* ───────── home: navigation bar ───────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter);
  background: rgba(27, 28, 25, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(236, 236, 231, .1);
}
.nav__logo { display: inline-flex; line-height: 0; }
.nav__logo img { width: 46px; height: auto; }
.nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 4vw, 28px); }
.nav__links a { color: var(--wall); text-decoration: none; font-size: 15px; font-weight: 400; padding: 6px 0; }
.nav__links a:hover { color: var(--lime); }
.nav__links .nav__cta {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--lime); color: var(--lime-ink); font-weight: 500;
}
.nav__links .nav__cta:hover { color: var(--lime-ink); opacity: .9; }
#about, #workshops { scroll-margin-top: 84px; }
/* the nav already carries the logo, so the hero logo can be smaller */
.home__main { padding-top: 22px; }
.home__brand img { width: min(30vw, 130px); }

/* link fields look like the other fields */
.field input[type=url] {
  width: 100%; border: 0; border-bottom: 1.5px solid #85857e; background: transparent;
  padding: 8px 0 10px; font-size: 18px; font-weight: 400; border-radius: 0; transition: border-color .2s;
}
.field input[type=url]:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-error input[type=url] { border-bottom-color: var(--error); }

/* "a few words about the work" (up to 100 words) */
.field textarea {
  width: 100%; min-height: 140px; resize: vertical;
  border: 1.5px solid #85857e; border-radius: 12px; background: var(--paper);
  padding: 12px 14px; font: inherit; font-size: 17px; line-height: 1.55; color: var(--ink);
  transition: border-color .2s;
}
.field textarea::placeholder { color: #7a7a73; font-weight: 300; }
.field textarea:focus { outline: none; border-color: var(--ink); }
.field.is-error textarea { border-color: var(--error); }
.word-count { font-size: 13px; color: var(--stone); text-align: left; }
.word-count.is-over { color: var(--error); font-weight: 500; }

/* ───────── Bubble background (bubbles.js) ───────── */
.bubbles {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  filter: blur(60px); opacity: .8; transition: opacity .6s ease;
}
.bubble { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 55vmax; height: 55vmax; top: -18vmax; right: -14vmax;
  background: radial-gradient(circle, rgba(227, 242, 124, .32) 0%, rgba(227, 242, 124, 0) 68%);
  animation: drift1 34s ease-in-out infinite alternate; }
.b2 { width: 45vmax; height: 45vmax; bottom: -16vmax; left: -12vmax;
  background: radial-gradient(circle, rgba(184, 201, 90, .30) 0%, rgba(184, 201, 90, 0) 68%);
  animation: drift2 42s ease-in-out infinite alternate; }
.b3 { width: 32vmax; height: 32vmax; top: 38%; left: 30%;
  background: radial-gradient(circle, rgba(236, 236, 231, .12) 0%, rgba(236, 236, 231, 0) 68%);
  animation: drift3 50s ease-in-out infinite alternate; }
.b4 { width: 26vmax; height: 26vmax; top: 12%; left: 8%;
  background: radial-gradient(circle, rgba(227, 242, 124, .22) 0%, rgba(227, 242, 124, 0) 68%);
  animation: drift2 38s ease-in-out infinite alternate-reverse; }
.b-mouse { width: 30vmax; height: 30vmax; top: 0; left: 0; opacity: 0; transition: opacity .8s ease;
  transform: translate(50vw, 50vh) translate(-50%, -50%);
  background: radial-gradient(circle, rgba(227, 242, 124, .26) 0%, rgba(227, 242, 124, 0) 66%); }
.bubbles.has-mouse .b-mouse { opacity: 1; }
@keyframes drift1 { to { transform: translate(-14vw, 18vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(16vw, -14vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-18vw, -10vh) scale(1.2); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }

/* content sits above the bubbles */
.view, .home .wrap { position: relative; z-index: 1; }
/* not on the light form screen */
body[data-view="submit"] .bubbles { opacity: 0; }

/* bubbles v2: no lime — lighter tones of the warm grey-brown background, very soft */
.bubbles { opacity: 1; filter: blur(70px); }
.bubble { mix-blend-mode: normal; }
.b1 { background: radial-gradient(circle, rgba(74, 72, 62, .55) 0%, rgba(74, 72, 62, 0) 68%); }
.b2 { background: radial-gradient(circle, rgba(64, 62, 54, .5) 0%, rgba(64, 62, 54, 0) 68%); }
.b3 { background: radial-gradient(circle, rgba(92, 90, 80, .28) 0%, rgba(92, 90, 80, 0) 68%); }
.b4 { background: radial-gradient(circle, rgba(70, 68, 58, .45) 0%, rgba(70, 68, 58, 0) 68%); }
.b-mouse { background: radial-gradient(circle, rgba(84, 82, 72, .42) 0%, rgba(84, 82, 72, 0) 66%); }

/* exhibition theme ("בית") shown before clicking into the open call */
.invite__theme { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; }
.invite__theme-tag { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1.5px solid rgba(27, 28, 25, .5); }
.invite__theme b { font-family: var(--display); font-weight: 700; font-size: 44px; line-height: .9; }
.invite__theme-text { display: block; margin: 8px auto 0; max-width: 30ch; font-size: 14px; line-height: 1.5; opacity: .8; }
.facts__theme { color: var(--lime) !important; }

/* ───────── open-call card v2: exhibition poster (right-aligned, one clear order) ───────── */
.invite--poster { display: grid; gap: 0; text-align: right; padding: 22px 22px 22px; width: min(100%, 420px); }
.ip__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ip__grades { font-size: 13px; font-weight: 500; opacity: .7; }
.ip__event { display: block; margin-top: 18px; font-size: 15px; font-weight: 500; line-height: 1.35; }
.ip__theme { position: relative; display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.ip__theme-label { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; opacity: .7; }
.ip__theme-word { font-family: var(--display); font-weight: 700; font-size: 124px; line-height: .78; letter-spacing: -.01em; }
.ip__star {
  position: absolute; left: 0; top: 8px; width: 74px; aspect-ratio: 600 / 349; background: var(--lime-ink);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat;
  transform: rotate(-12deg);
}
.ip__text { display: block; margin-top: 14px; font-size: 14px; line-height: 1.5; opacity: .78; max-width: 34ch; }
.ip__facts {
  display: flex; gap: 28px; margin-top: 18px; padding-top: 14px;
  border-top: 1.5px solid rgba(27, 28, 25, .85);
}
.ip__facts span { display: grid; gap: 2px; }
.ip__facts small { font-size: 12px; opacity: .65; }
.ip__facts b { font-size: 16px; font-weight: 500; white-space: nowrap; }
.invite--poster .invite__go { margin-top: 18px; }

/* open-call card: wide, two columns on larger screens */
@media (min-width: 760px) {
  .invite--poster {
    width: min(100%, 980px); padding: 30px 34px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px;
    grid-template-areas:
      "top   top"
      "event text"
      "theme facts"
      "theme go";
    align-items: end;
  }
  .ip__top { grid-area: top; margin-bottom: 8px; }
  .ip__event { grid-area: event; font-size: 17px; margin-top: 14px; }
  .ip__theme { grid-area: theme; margin-top: 0; }
  .ip__theme-word { font-size: 170px; }
  .ip__theme-label { font-size: 38px; }
  .ip__star { width: 96px; top: 14px; }
  .ip__text { grid-area: text; margin-top: 14px; font-size: 15px; max-width: none; }
  .ip__facts { grid-area: facts; }
  .invite--poster .invite__go { grid-area: go; }
  .invite--poster:hover { transform: translateY(-4px); }
}

/* star sits right next to the theme word */
.ip__star { position: static; flex: none; align-self: flex-start; margin-top: 6px; }

/* event line: "השקה" and "תערוכה" stand out */
.ip__event { font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; margin-top: 16px; }
.ip__event b { font-weight: 700; font-size: 1.25em; }
@media (min-width: 760px) { .ip__event { font-size: 42px; } }

/* event title: exactly two lines — "אירוע השקה" / "פתיחת תערוכה" */
.ip__event { font-weight: 700; font-size: 46px; line-height: .9; }
.ip__event > span { display: block; white-space: nowrap; }
@media (min-width: 760px) { .ip__event { font-size: 56px; } }

.ip__for { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; margin-top: 4px; }
@media (min-width: 760px) {
  .ip__for { grid-area: for; font-size: 34px; }
  .invite--poster { grid-template-areas: "top top" "event text" "for text" "theme facts" "theme go"; }
}

/* desktop: title on the right; theme ("בנושא בית") on the left, above the description */
.ip__head { display: block; }
@media (min-width: 760px) {
  .invite--poster {
    grid-template-areas:
      "top  top"
      "head theme"
      "head text"
      "head facts"
      "head go";
    align-items: start;
  }
  .ip__head { grid-area: head; align-self: center; }
  .ip__for { grid-area: auto; }
  .ip__theme { margin-top: 6px; }
  .ip__theme-word { font-size: 120px; }
  .ip__star { width: 80px; }
}

/* ───────── open call: one "how to submit" box with a single button ───────── */
.submit-box {
  margin-top: 30px; padding: 22px 20px 20px; border-radius: 20px;
  background: rgba(38, 39, 35, .85); border: 1px solid rgba(236, 236, 231, .12);
  max-width: 640px;
}
.submit-box__title { margin: 0 0 16px; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: .9; color: var(--wall); }
.mini-steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.mini-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.mini-steps__n {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--lime-ink); font-size: 14px; font-weight: 500;
}
.mini-steps strong { display: block; font-size: 16px; font-weight: 500; color: var(--wall); margin-bottom: 2px; }
.mini-steps li > span:last-child { font-size: 14px; line-height: 1.5; color: var(--stone-dark); }
.mini-steps li b { color: var(--wall); font-weight: 500; }
.submit-box__btn { width: 100%; justify-content: center; }
.submit-box__note { display: block; margin-top: 10px; font-size: 13px; color: var(--stone-dark); text-align: center; }
@media (min-width: 760px) {
  .submit-box { padding: 28px; }
  .mini-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .mini-steps li { grid-template-columns: 1fr; gap: 10px; }
}

/* open-call headline v3: smaller, two equal lines so both "השקה" and "תערוכה" read clearly */
.headline.headline--two { font-size: clamp(56px, 15vw, 132px); line-height: .88; }
.headline.headline--two > span { white-space: nowrap; }
.headline.headline--two .headline__sub { font-size: .42em; margin-top: .3em; }
.headline.headline--two .star { width: .8em; top: -.55em; left: 0; }

.headline.headline--two { width: fit-content; max-width: 100%; }
.headline.headline--two .star { left: -.35em; top: -.5em; }

/* parent page: "מה זה אנימו?" button (opens a popup) */
.pp-about-btn {
  background: none; border: 1.5px solid rgba(27, 28, 25, .45); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 400; color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.pp-about-btn:hover { border-color: var(--ink); background: rgba(27, 28, 25, .05); }
.pp-about-dialog .about__lede { margin-bottom: 4px; }

/* parent page: floating "מה זה אנימו?" button (stays on screen while scrolling) */
.pp-about-fab {
  position: fixed; z-index: 30; bottom: calc(18px + env(safe-area-inset-bottom)); inset-inline-end: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px 11px 16px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--lime); font-size: 15px; font-weight: 500;
  box-shadow: 0 10px 28px -8px rgba(27, 28, 25, .55);
  transition: transform .2s var(--ease);
}
.pp-about-fab:hover { transform: translateY(-2px); }
.pp-about-fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pp-about-fab__star {
  width: 22px; aspect-ratio: 600 / 349; background: var(--lime);
  -webkit-mask: url('assets/star.png') center / contain no-repeat; mask: url('assets/star.png') center / contain no-repeat;
}
/* keep the end of the page clear of the floating button */
.parent-page .foot { padding-bottom: 72px; }

/* three facts (exhibition, deadline, cost) fit on one line on phones */
.ip__facts { gap: 18px; justify-content: space-between; }
.ip__facts small { white-space: nowrap; }
@media (min-width: 760px) { .ip__facts { gap: 28px; justify-content: flex-start; } }

/* facts separated by thin vertical dividers ( | ) */
.ip__facts { justify-content: flex-start; gap: 0; }
.ip__facts > span { padding-inline: 14px; }
.ip__facts > span:first-child { padding-inline-start: 0; }
.ip__facts > span + span { border-inline-start: 1.5px solid rgba(27, 28, 25, .3); }
@media (max-width: 400px) { .ip__facts > span { padding-inline: 10px; } .ip__facts b { font-size: 15px; } }
@media (min-width: 760px) { .ip__facts { gap: 0; } .ip__facts > span { padding-inline: 22px; } }

/* "חינם": a little bolder, with a gentle breathing pulse */
.ip__facts b.ip__free {
  display: inline-block; font-weight: 700; font-size: 17px; transform-origin: 50% 60%;
  animation: breathe 2.8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: .82; }
}
@media (prefers-reduced-motion: reduce) { .ip__facts b.ip__free { animation: none; } }

/* softer breathing for "חינם" */
.ip__facts b.ip__free { animation: breatheSoft 3.6s ease-in-out infinite; }
@keyframes breatheSoft { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.03); opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .ip__facts b.ip__free { animation: none; } }

/* event title: "אירוע השקה" as an inverted highlight, "ופתיחת תערוכה" as the main line */
.ip__event > span:first-child {
  display: inline-block; width: fit-content;
  font-size: .72em; line-height: 1; padding: .12em .32em .16em;
  background: var(--lime-ink); color: var(--lime); border-radius: 8px;
  transform: rotate(-1.5deg); margin-bottom: .14em;
}
.ip__event > span:last-child { font-size: 1.08em; }

.ip__event > span:first-child { transform: none; }

.ip__event > span:first-child { font-size: .9em; }

/* "open in map" link next to the event place */
.map-link {
  display: inline-flex; align-items: center; gap: 5px; margin-inline-start: 8px;
  font-size: 14px; font-weight: 500; color: var(--lime); text-underline-offset: 3px; white-space: nowrap;
}
.map-link svg { width: 15px; height: 15px; }
.on-wall .map-link, .parent-page .map-link { color: var(--ink); }

/* event hours stay "10:00–14:00" in RTL text, on one line */
.ltr-time { unicode-bidi: isolate; white-space: nowrap; }

/* small print under the event time */
.fine-print { display: block; margin-top: 4px; font-size: 12px; line-height: 1.4; font-weight: 300; color: var(--stone-dark); }
.parent-page .fine-print { color: var(--stone); }

/* open-call text in three short paragraphs */
.lede.lede--multi { max-width: 36ch; }
.lede--multi p { margin: 0 0 .75em; }
.lede--multi p:last-child { margin-bottom: 0; }
.lede--multi p:nth-child(2) { color: var(--stone-dark); }

/* "בחינם" on the parent page: bold, with the same soft breathing as the home card */
.free-mark { display: inline-block; font-weight: 700; transform-origin: 50% 60%; animation: breatheSoft 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .free-mark { animation: none; } }

/* about text: wider lines (was ~36 characters) */
.home__about { max-width: min(100%, 62ch); }
.about__lede { max-width: none; }

/* city dropdown (same underline look as the other fields) */
.field select {
  width: 100%; border: 0; border-bottom: 1.5px solid #85857e; border-radius: 0;
  background: transparent; padding: 8px 0 10px 28px; font: inherit; font-size: 22px; font-weight: 400; color: var(--ink);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1c19' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 2px center; background-size: 20px;
  transition: border-color .2s;
}
.field select:invalid { color: #7a7a73; font-weight: 300; }
.field select:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-error select { border-bottom-color: var(--error); }
.field select option { color: var(--ink); font-weight: 400; }
#f-city-other { margin-top: 10px; }

/* legal links under every screen of the open call, and on the legal pages */
.site-foot { position: relative; z-index: 1; padding: 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-block: 24px 40px; }
body[data-view="submit"] .site-foot { color: var(--stone); }
body[data-view="submit"] .site-foot a { color: var(--stone); }
.legal-foot { margin-top: 40px; border-top: 1px solid #d6d6ce; color: var(--stone); }
.legal-foot a { color: var(--stone); }

body[data-view="submit"] .site-foot img { filter: brightness(0); opacity: .45; }
