/* חיבורים בתעסוקה · דפוס. An old Hebrew print gone slightly wrong: cream paper,
   purple ink, hard offsets instead of soft shadows, halftone dots instead of
   gradients, tilted sticker cards. Display type Karantina, text Heebo. */
@font-face { font-family: "Karantina"; src: url("../fonts/Karantina-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("../fonts/Heebo-VariableFont_wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --purple: #7209b7;
  --purple-deep: #3a0ca3;
  --purple-night: #1d0a57;
  --lilac: #cdb7f6;
  --lilac-mist: #ece4fb;
  --pink: #f72585;
  --paper: #faf7f2;
  --sand: #f0e7da;
  --black: #0a0a0a;
  --dark: #141414;
  --white: #ffffff;
  /* names shared with the accessibility menu and the cookie notice */
  --blue: var(--purple); --indigo: var(--purple-deep); --ink: var(--black); --line: #cfc6b8; --cream-2: var(--sand);

  --font-display: "Karantina", "Heebo", sans-serif;
  --font: "Heebo", "Segoe UI", Arial, sans-serif;
  --ink-x: -6px; --ink-y: 7px;
  --press-ink: var(--ink-x) var(--ink-y) 0 0 var(--black);
  --press-purple: var(--ink-x) var(--ink-y) 0 0 var(--purple);
  --press-lilac: var(--ink-x) var(--ink-y) 0 0 var(--lilac);
  --halftone: radial-gradient(circle at 1px 1px, rgba(205, 183, 246, 0.18) 1px, transparent 1.7px);
  --gut: clamp(1rem, 4.4vw, 4.5rem);
  --sec: clamp(3.5rem, 2rem + 6vw, 8rem);
  --nav-h: 68px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--black); font-family: var(--font); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.2rem); line-height: 1.7; direction: rtl; text-align: start; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--purple); color: var(--paper); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: 1500px; margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(900px + 2 * var(--gut)); }
.skip-link { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--black); color: #fff; padding: 10px 16px; z-index: 300; }
.skip-link:focus { top: 8px; }
.dots { background-image: var(--halftone); background-size: 7px 7px; }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; color: var(--purple); }

/* Display type: condensed, with the ink shadow slightly off register */
.display { font-family: var(--font-display); font-weight: 700; line-height: 0.92; letter-spacing: 0.01em; font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); }
.display span, .display em { display: block; font-style: normal; }
.display em { color: var(--purple); }
.display--hero { font-size: clamp(3rem, 1.2rem + 7.4vw, 8.5rem); color: #fff; text-shadow: -4px 5px 0 var(--purple); }
.display--page { font-size: clamp(3rem, 1.4rem + 6vw, 7rem); color: #fff; text-shadow: -4px 5px 0 var(--purple); }
.display--post { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); }
.display--ink { color: var(--black); text-shadow: -3px 4px 0 var(--lilac); }
.circled { position: relative; font-style: normal; display: inline-block; padding-inline: 0.12em; }
.circled svg { position: absolute; inset: -12% -8% -18%; width: 116%; height: 130%; color: var(--lilac); overflow: visible; }
.circled svg path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.1s 0.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Buttons: a block of ink with a hard offset that presses in */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.7em; min-height: 52px; padding: 0 1.7em; background: var(--purple); color: #fff; font-weight: 800; font-size: 1rem; border: 2px solid var(--black); box-shadow: var(--press-ink); transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease), background-color 0.2s; }
.btn:hover { transform: translate(-3px, 3px); box-shadow: -3px 4px 0 0 var(--black); }
.btn:active { transform: translate(-6px, 7px); box-shadow: 0 0 0 0 var(--black); }
.btn--dark { background: var(--black); box-shadow: var(--press-purple); border-color: var(--black); }
.btn--dark:hover { box-shadow: -3px 4px 0 0 var(--purple); }
.btn--light { background: var(--paper); color: var(--black); box-shadow: var(--press-lilac); }
.btn--small { min-height: 44px; padding: 0 1.2em; font-size: 0.92rem; }
.sec--dark .btn, .phead .btn, .talk .btn, .hero .btn, .nav--over:not(.is-solid) .btn { border-color: var(--lilac); box-shadow: var(--press-lilac); }
.link { font-weight: 700; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 2px; }
.pill { display: inline-block; align-self: flex-start; padding: 0.3em 0.9em; border: 2px solid var(--black); border-radius: 999px; background: var(--paper); color: var(--black); font-size: 0.82rem; font-weight: 700; box-shadow: -3px 4px 0 0 var(--black); }
.pill--light { background: transparent; color: var(--lilac); border-color: var(--lilac); box-shadow: none; }
.tag { display: inline-block; padding: 0.25em 0.7em; border: 1.5px solid currentColor; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; }
.sticker { width: clamp(64px, 7vw, 110px); height: auto; filter: drop-shadow(-4px 5px 0 var(--black)); }
.burst span { direction: ltr; unicode-bidi: isolate; }
.burst { --s: clamp(64px, 7vw, 104px); display: grid; place-items: center; width: var(--s); height: var(--s); background: var(--purple); color: #fff; font-family: var(--font-display); font-size: calc(var(--s) * 0.5); line-height: 1; clip-path: polygon(50% 0, 61% 14%, 79% 7%, 80% 26%, 98% 30%, 88% 46%, 100% 61%, 82% 67%, 82% 86%, 64% 82%, 53% 100%, 41% 84%, 22% 90%, 22% 70%, 3% 65%, 13% 49%, 0 34%, 19% 28%, 20% 9%, 38% 15%); filter: drop-shadow(-4px 5px 0 var(--black)); }

/* Navbar */
.nav { position: fixed; inset-inline: 0; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--nav-h); padding-inline: var(--gut); background: var(--paper); border-bottom: 2px solid var(--black); transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.admin-bar .nav { top: 32px; }
.nav--over:not(.is-solid):not(.open) { background: transparent; border-bottom-color: transparent; color: #fff; }
.nav.is-solid.nav--over { background: var(--black); color: #fff; border-bottom-color: var(--black); }
.nav__logo img { height: 40px; width: auto; }
.nav__logo .lw { display: none; }
.nav--over:not(.open) .nav__logo .lw { display: block; }
.nav--over:not(.open) .nav__logo .ld { display: none; }
.nav__list { display: flex; gap: clamp(0.8rem, 1.7vw, 2rem); font-weight: 600; font-size: 0.95rem; }
.nav__list a { position: relative; padding-block: 0.4rem; }
.nav__list a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--purple); transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease); }
.nav--over .nav__list a::after { background: var(--lilac); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 0.9rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 9px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; background: currentColor; transition: transform 0.25s, opacity 0.2s; }
.nav.open .burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--paper); color: var(--black); border-bottom: 2px solid var(--black); max-height: calc(100svh - var(--nav-h)); overflow-y: auto; }
  .nav.open { background: var(--paper); color: var(--black); border-bottom-color: var(--black); }
  .nav.open nav { display: block; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 1rem var(--gut); border-top: 2px solid var(--black); font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
  .nav__list a::after { display: none; }
}
@media (max-width: 520px) { .nav .btn--small { display: none; } }
.site-main--plain { padding-top: var(--nav-h); }

/* Hero: framed film with a halftone screen over it */
.hero { padding: 8px; background: var(--paper); }
.hero__frame { position: relative; min-height: calc(100svh - 16px); overflow: hidden; background: var(--purple-night); border: 2px solid var(--black); display: flex; align-items: flex-end; }
.hero__poster, .hero__video, .hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__screen { position: absolute; inset: 0; background: var(--halftone), linear-gradient(to top, rgba(29, 10, 87, 0.9) 0%, rgba(29, 10, 87, 0.45) 45%, rgba(29, 10, 87, 0.5) 100%); background-size: 6px 6px, auto; }
.hero__txt { position: relative; z-index: 1; width: 100%; padding: calc(var(--nav-h) + 2rem) var(--gut) clamp(2rem, 6vh, 4.5rem); display: grid; gap: 1.2rem; justify-items: start; }
.hero__lead { max-width: 46ch; color: #ece4fb; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.4rem); line-height: 1.5; }
.hero__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; color: #fff; }
.hero__smile { position: absolute; z-index: 2; inset-inline-end: clamp(1rem, 7vw, 8rem); bottom: clamp(7rem, 26vh, 15rem); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-8deg); } }
.hero .display--hero span { animation: rise 0.9s var(--ease) both; }
.hero .display--hero span:nth-child(2) { animation-delay: 0.12s; }
.hero__lead, .hero__btns { animation: rise 0.9s 0.25s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.a11y-still .hero__video { display: none; }
@media (max-width: 700px) { .hero__smile { bottom: auto; top: calc(var(--nav-h) + 1.5rem); } }

/* Running slogan band */
.band { overflow: hidden; background: var(--purple); color: #fff; border-block: 2px solid var(--black); }
.band__run { display: flex; align-items: center; gap: 1.6rem; width: max-content; padding-block: 0.5rem; font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 4rem); line-height: 1; white-space: nowrap; animation: run 40s linear infinite; }
.band__run i { width: 0.34em; height: 0.34em; border-radius: 50%; background: var(--lilac); flex: none; }
@keyframes run { to { transform: translateX(50%); } }

/* Sections */
.sec { padding-block: var(--sec); }
.sec--sand { background: var(--sand); }
.sec--lilac { background: var(--lilac-mist); }
.sec--dark { background-color: var(--dark); color: #fff; }
.sec--dark .display em { color: var(--lilac); }
.sec__title { margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec__title--center { text-align: center; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.sec__head .sec__title { margin-bottom: 0; }
.sec__after { max-width: 60ch; margin: clamp(2.5rem, 6vw, 5rem) auto 0; padding-top: 2rem; border-top: 1px dashed rgba(205, 183, 246, 0.5); display: grid; gap: 1.4rem; justify-items: center; text-align: center; font-size: 1.15rem; }

/* Sticker cards */
.stickers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 1.6vw, 1.6rem); align-items: start; }
.stickers--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stk { position: relative; display: flex; flex-direction: column; gap: 0.8rem; min-height: clamp(260px, 24vw, 380px); padding: clamp(1.2rem, 2vw, 2rem); border: 2px solid var(--black); border-radius: 14px; box-shadow: var(--press-ink); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.stk--1 { background: var(--purple); color: #fff; transform: rotate(2.2deg); }
.stk--2 { background: var(--black); color: #fff; transform: rotate(-1.8deg) translateY(18px); box-shadow: var(--press-purple); }
.stk--3 { background: var(--lilac); color: var(--black); transform: rotate(1.6deg); }
.stk--4 { background: var(--purple-deep); color: #fff; transform: rotate(-2.4deg) translateY(22px); }
a.stk:hover { transform: rotate(0) translate(-3px, -6px); box-shadow: -10px 12px 0 0 var(--black); z-index: 2; }
a.stk--2:hover { box-shadow: -10px 12px 0 0 var(--purple); }
.stk__n { font-family: var(--font-display); font-size: clamp(2.4rem, 3.4vw, 3.6rem); line-height: 0.9; opacity: 0.55; }
.stk h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); font-weight: 800; line-height: 1.2; }
.stk p { font-size: 0.98rem; line-height: 1.55; opacity: 0.92; }
.stk .pill { margin-top: auto; }
@media (max-width: 1000px) { .stickers, .stickers--3 { grid-template-columns: 1fr 1fr; } .stk { min-height: 0; } }
@media (max-width: 560px) { .stickers, .stickers--3 { grid-template-columns: 1fr; } .stk--2, .stk--4 { transform: rotate(-1.2deg); } }

/* Steps on a line */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; inset-inline: 0; top: 26px; height: 2px; background: var(--purple); }
.steps li { position: relative; display: grid; gap: 0.6rem; align-content: start; }
.steps__n { display: grid; place-items: center; width: 54px; height: 54px; background: var(--dark); border: 2px solid var(--lilac); box-shadow: -4px 5px 0 0 var(--purple); font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--lilac); }
.steps h3 { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 0.95; margin-top: 0.8rem; }
.steps p { color: #cfc9da; max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps::before { inset-inline: auto; inset-inline-start: 26px; top: 0; bottom: 0; width: 2px; height: auto; } .steps li { padding-inline-start: 0; } }

/* Introduction: framed photograph with stickers */
.meet { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.meet__photo { position: relative; border: 2px solid var(--black); box-shadow: -10px 12px 0 0 var(--purple); transform: rotate(-1.4deg); }
.meet__photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.meet__burst { position: absolute; top: -28px; inset-inline-start: -22px; transform: rotate(12deg); }
.meet__badge { position: absolute; bottom: -26px; inset-inline-end: -18px; width: clamp(96px, 11vw, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--black); box-shadow: -5px 6px 0 0 var(--black); transform: rotate(4deg); background: var(--lilac); }
.meet__badge img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.meet__txt { display: grid; gap: 1.2rem; justify-items: start; }
.meet__prose p { margin-bottom: 1em; }
.meet__prose p:first-child { font-size: 1.2rem; font-weight: 600; line-height: 1.5; padding-top: 1rem; border-top: 3px solid var(--black); }
@media (max-width: 860px) { .meet { grid-template-columns: 1fr; } .meet__photo { margin-inline: 12px 22px; } }

/* Boxed accordion */
.faq { display: grid; gap: 1rem; }
.faq__item { background: var(--paper); border: 2px solid var(--black); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.faq__item.is-open { box-shadow: var(--press-purple); transform: translate(3px, -3px); }
.faq__item h3 { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem); }
.faq__item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: none; border: 0; text-align: start; font-weight: 800; }
.faq__item i { position: relative; flex: none; width: 32px; height: 32px; border: 2px solid var(--purple); background: var(--lilac-mist); transition: transform 0.3s var(--ease), background-color 0.3s; }
.faq__item i::before, .faq__item i::after { content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 2px; margin-top: -1px; background: var(--purple); }
.faq__item i::after { transform: rotate(90deg); }
.faq__item.is-open i { transform: rotate(45deg); background: var(--purple); }
.faq__item.is-open i::before, .faq__item.is-open i::after { background: #fff; }
.faq__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq__item.is-open .faq__body { grid-template-rows: 1fr; }
.faq__body p { overflow: hidden; padding-inline: 1.3rem; color: #3b3640; }
.faq__item.is-open .faq__body p { padding-bottom: 1.3rem; }

/* Post cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.card { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 0 1.4rem; background: var(--paper); border: 2px solid var(--black); box-shadow: var(--press-ink); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.card:hover { transform: translate(3px, -4px); box-shadow: -10px 12px 0 0 var(--purple); }
.card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 2px solid var(--black); background: var(--lilac); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card time, .card h3, .card p { padding-inline: 1.2rem; }
.card time { margin-top: 0.8rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--purple); }
.card h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); font-weight: 800; line-height: 1.25; }
.card p { font-size: 0.96rem; line-height: 1.55; color: #3b3640; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Contact block */
.talk { background-color: var(--dark); color: #fff; padding-block: var(--sec); }
.talk--page { padding-top: calc(var(--nav-h) + var(--sec) * 0.7); min-height: 80svh; }
.talk__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.talk__txt { display: grid; gap: 1.2rem; justify-items: start; }
.talk .display { color: #fff; }
.talk .display em { color: var(--lilac); }
.talk__txt > p, .talk__lead { color: #cfc9da; max-width: 44ch; font-size: 1.1rem; }
.talk__list { display: grid; gap: 1.1rem; margin-top: 0.6rem; }
.talk__list a { display: block; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 800; line-height: 1.2; }
.talk__list a:hover { color: var(--lilac); }
.talk__list small { color: #9f97ad; font-size: 0.85rem; }
.talk__form { background: var(--black); border: 2px solid #3a3440; padding: clamp(1.2rem, 2.6vw, 2.4rem); box-shadow: -10px 12px 0 0 var(--purple); }
@media (max-width: 900px) { .talk__grid { grid-template-columns: 1fr; } }

/* Form */
.form { display: grid; gap: 1rem; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: #fff; background: var(--dark); border: 2px solid #4a4452; border-radius: 0; padding: 0.85rem 1rem; appearance: none; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lilac); box-shadow: -4px 5px 0 0 var(--purple); }
.field label { position: absolute; top: 0.9rem; inset-inline-start: 1rem; pointer-events: none; color: #b9b1c6; transition: opacity 0.2s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { opacity: 0; }
.field select option { color: var(--black); }
.field--select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23cdb7f6' stroke-width='2'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 20px; background-position: left 0.8rem center; }
.field--area textarea { min-height: 7rem; resize: vertical; }
.field textarea::placeholder { color: #b9b1c6; opacity: 1; }
.form__consent { font-size: 0.8rem; color: #9f97ad; }
.form__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form .pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.7em; border-radius: 0; border: 2px solid var(--lilac); font-weight: 800; font-size: 1rem; box-shadow: var(--press-lilac); transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease); }
.form .pill--white { background: var(--purple); color: #fff; }
.form .pill--outline { background: transparent; color: var(--lilac); box-shadow: none; }
.form .pill:hover { transform: translate(-3px, 3px); box-shadow: -3px 4px 0 0 var(--lilac); }
.form .pill--outline:hover { transform: none; box-shadow: none; background: var(--lilac); color: var(--black); }
.form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form__notice { padding: 0.8em 1em; border: 2px solid var(--lilac); }
.form__notice--error { border-color: var(--pink); color: #ffd0e3; }

/* Footer */
.foot { position: relative; margin: 8px; background-color: var(--purple-deep); background-image: var(--halftone); background-size: 7px 7px; color: #fff; border: 2px solid var(--black); overflow: hidden; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem) 2rem; }
.foot__col { display: grid; gap: 0.9rem; align-content: start; justify-items: start; }
.foot__big { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 0.95; }
.foot__list { display: grid; gap: 0.45rem; font-size: 0.98rem; }
.foot__list a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.foot__list--big { font-weight: 800; font-size: 1.15rem; }
.foot__word { position: relative; padding: 0 var(--gut); font-family: var(--font-display); font-size: clamp(4rem, 15.5vw, 17rem); line-height: 0.86; text-align: center; white-space: nowrap; color: #fff; text-shadow: -6px 7px 0 var(--purple-night); }
.foot__smile { position: absolute; top: -6%; inset-inline-end: 16%; transform: rotate(10deg); }
.foot__burst { position: absolute; bottom: 6%; inset-inline-start: 5%; transform: rotate(-12deg); background: var(--pink); text-shadow: none; }
.foot__copy { padding: 1.2rem var(--gut) 5.5rem; font-size: 0.85rem; color: #d8cdf6; text-align: center; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__col--wide { grid-column: 1 / -1; } .foot__word { white-space: normal; } }

/* Inner pages */
.phead { background-color: var(--dark); color: #fff; padding-block: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)) clamp(3rem, 7vw, 6rem); }
.site-main--plain .phead { padding-top: clamp(2.5rem, 6vw, 5rem); }
.phead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.phead__txt { display: grid; gap: 1.3rem; justify-items: start; }
.phead__txt p { color: #d8d2e4; font-size: 1.15rem; max-width: 46ch; }
.phead__photo { position: relative; border: 2px solid var(--lilac); box-shadow: -10px 12px 0 0 var(--purple); transform: rotate(1.6deg); }
.phead__photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.phead__photo--portrait { max-width: 360px; justify-self: center; }
.phead__photo--portrait > img { aspect-ratio: 4 / 5; }
.phead__smile { position: absolute; bottom: -30px; inset-inline-start: -26px; transform: rotate(-10deg); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: var(--sec); }
.split__side { position: sticky; top: calc(var(--nav-h) + 24px); }
.note { background: var(--lilac); border: 2px solid var(--black); border-radius: 14px; box-shadow: var(--press-ink); padding: clamp(1.3rem, 2.4vw, 2.2rem); display: grid; gap: 1rem; justify-items: start; transform: rotate(-1.2deg); }
.note .display { font-size: clamp(2.4rem, 3.6vw, 3.6rem); }
@media (max-width: 900px) { .phead__grid, .split { grid-template-columns: 1fr; } .split__side { position: static; } .phead__photo { margin-inline: 12px 22px; } }
.page-body { padding-block: var(--sec); }
.page-body--top { padding-top: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 1.6rem; }
.page-body--center { text-align: center; justify-items: center; }
.page-lead { font-size: 1.2rem; max-width: 60ch; color: #3b3640; }
.framed { border: 2px solid var(--black); box-shadow: -10px 12px 0 0 var(--purple); margin-block: 0.6rem 1.4rem; }
.framed img { width: 100%; }
.post-nav { display: flex; justify-content: space-between; gap: 2rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 3px solid var(--black); }
.post-nav a { font-weight: 800; font-size: 1.15rem; max-width: 46%; line-height: 1.3; }
.post-nav small { display: block; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--purple); }
.post-nav a:last-child { text-align: end; margin-inline-start: auto; }
.navigation .nav-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.5rem; }
.nav-links .page-numbers { min-width: 46px; height: 46px; padding: 0 0.9rem; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--black); font-weight: 800; background: var(--paper); }
.nav-links .page-numbers.current { background: var(--purple); color: #fff; box-shadow: -3px 4px 0 0 var(--black); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Editor content */
.prose { font-size: 1.12rem; line-height: 1.8; }
.prose > * { max-width: 66ch; }
.prose > .alignwide, .prose > .alignfull, .prose > .wp-block-image, .prose > .wp-block-gallery, .prose > .wp-block-columns { max-width: none; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3.4rem); line-height: 0.95; margin: 1.5em 0 0.5em; padding-top: 0.5em; border-top: 3px solid var(--black); }
.prose h3 { font-size: 1.25rem; font-weight: 800; margin: 1.5em 0 0.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-inline-start: 1.4em; }
.prose ul { list-style: square; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--purple); font-weight: 800; }
.prose strong { font-weight: 800; }
.prose a { color: var(--purple); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.2em; background: var(--lilac-mist); border: 2px solid var(--black); box-shadow: -5px 6px 0 0 var(--purple); font-weight: 600; }
.prose blockquote p { margin: 0; }
.prose .wp-block-button__link { display: inline-flex; background: var(--purple); color: #fff; padding: 0.9em 1.7em; border: 2px solid var(--black); box-shadow: var(--press-ink); text-decoration: none; font-weight: 800; border-radius: 0; }

/* Scroll reveal */
.js [data-rise] { opacity: 0; translate: 0 30px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-rise].in { opacity: 1; translate: 0 0; }

/* Accessibility menu and cookie notice */
.a11y { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 120; }
.a11y__toggle { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--black); background: var(--purple); color: #fff; display: grid; place-items: center; box-shadow: -4px 5px 0 0 var(--black); }
.a11y__toggle:hover, .a11y__toggle[aria-expanded="true"] { background: var(--purple-deep); }
.a11y__panel { position: absolute; bottom: 70px; inset-inline-end: 0; width: min(320px, calc(100vw - 40px)); background: var(--paper); color: var(--black); border: 2px solid var(--black); box-shadow: var(--press-purple); padding: 1rem; font-size: 1rem; line-height: 1.3; }
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 1.2rem; }
.a11y__head button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.a11y__grid button, .a11y__reset { min-height: 48px; padding: 0.5rem; border: 2px solid var(--black); background: #fff; font-weight: 600; }
.a11y__grid button:hover, .a11y__reset:hover { background: var(--lilac-mist); }
.a11y__grid button[aria-pressed="true"] { background: var(--purple); color: #fff; }
.a11y__reset { width: 100%; margin-top: 0.5rem; font-weight: 800; }
.a11y__link { display: block; margin-top: 0.75rem; text-align: center; text-decoration: underline; text-underline-offset: 0.2em; color: var(--purple); font-weight: 700; }
.a11y-links a { text-decoration: underline !important; text-underline-offset: 0.2em; }
.a11y-font body, .a11y-font body * { font-family: Arial, "Arial Hebrew", sans-serif !important; letter-spacing: 0 !important; }
.a11y-still *, .a11y-still *::before, .a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.a11y-still .circled svg path { stroke-dashoffset: 0; }
.cookie { position: fixed; z-index: 110; bottom: 16px; inset-inline-start: 16px; max-width: min(540px, calc(100vw - 110px)); background: var(--black); color: #fff; border: 2px solid var(--lilac); padding: 0.9rem 1.1rem; display: flex; align-items: center; gap: 1.2rem; box-shadow: var(--press-purple); font-size: 0.92rem; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.cookie .btn { flex: none; }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; text-align: center; } }
