/* RazVentura Social: shared styles (home page, legal pages, questionnaire, small pages) */

/* fonts: self-hosted Google Fonts (OFL), Hebrew + Latin subsets */
/* metric-matched fallbacks, so the swap to the web fonts does not move the layout */
@font-face { font-family: 'Secular One Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Noto Sans Hebrew Bold'), local('NotoSansHebrew-Bold'), local('Roboto Bold'); size-adjust: 99.7%; ascent-override: 102.5%; descent-override: 43.4%; line-gap-override: 0%; }
@font-face { font-family: 'Assistant Fallback'; src: local('Arial'), local('ArialMT'), local('Noto Sans Hebrew'), local('NotoSansHebrew-Regular'), local('Roboto'); size-adjust: 91.4%; ascent-override: 111.7%; descent-override: 31.4%; line-gap-override: 0%; }
@font-face { font-family: 'Assistant'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/assistant-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Assistant'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/assistant-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bellefair'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/bellefair-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Bellefair'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/bellefair-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Secular One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/secular-one-hebrew.woff2) format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Secular One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/secular-one-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* brand (BRIEF.md) */
  --choc: #4A2E23;
  --beige: #EADBC8;
  --blue: #A5BDCC;
  --rose: #C9A5A2;
  /* tints and shades of the brand colors */
  --choc-deep: #3A231A;
  --choc-ink: #2A1A14;
  --choc-2: #6B5147;
  --beige-soft: #F4ECE1;
  --beige-deep: #DCC9B1;
  --blue-soft: #CFDDE6;
  --rose-soft: #E4CFCB;
  --rose-deep: #B48C88;

  --bg: var(--beige);
  --surface: var(--beige-soft);
  --text: var(--choc);
  --text-2: var(--choc-2);
  --line: color-mix(in srgb, var(--choc) 18%, transparent);

  /* type */
  --f-head: "Secular One", "Secular One Fallback", system-ui, sans-serif;
  --f-display: "Bellefair", "Frank Ruhl Libre", serif;
  --f-body: "Assistant", "Assistant Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-h1: clamp(2.05rem, 0.95rem + 4.7vw, 5.1rem);
  --fs-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  --fs-lead: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  /* space */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --sec-y: clamp(72px, 9vw, 140px);
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 68px;

  /* motion tokens (motion.md) */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --dur-press: 120ms;
  --dur-hover: 220ms;
  --dur-ui: 360ms;
  --dur-reveal: 700ms;
  --dur-hero: 800ms;
  --stagger: 70ms;

  color-scheme: light;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ltr { direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

::selection { background: var(--blue); color: var(--choc-ink); }

:focus-visible { outline: 3px solid var(--choc); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--rose); }

.skip-link {
  position: fixed; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1000;
  background: var(--choc); color: var(--beige); padding: 10px 16px; border-radius: 999px;
  transform: translateY(-160%); transition: transform var(--dur-ui) var(--ease-out); text-decoration: none;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- small brand pieces ---------- */

.kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-small); color: var(--text-2); }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--choc); --btn-fg: var(--beige-soft); --btn-fill: var(--choc-deep); --btn-fill-fg: var(--beige-soft);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-body); font-weight: 700; font-size: 1.06rem; line-height: 1; text-decoration: none; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out);
}
/* rising fill (React Bits HoldButton technique, as the hover state) */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-fill);
  border-radius: inherit; transform: translateY(101%); transition: transform var(--dur-ui) var(--ease-out);
}
/* rolling label (React Bits PillNav technique) */
.btn .roll { display: inline-grid; overflow: hidden; height: 1.25em; line-height: 1.25; }
.btn .roll > span { grid-area: 1 / 1; transition: transform var(--dur-ui) var(--ease-out); }
.btn .roll > span + span { transform: translateY(110%); }
.btn .icon { transition: transform var(--dur-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .roll > span:first-child { transform: translateY(-110%); }
  .btn:hover .roll > span + span { transform: translateY(0); }
  .btn:hover .icon-go { transform: translateX(-4px); }
  .btn:hover { box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--choc) 70%, transparent); }
}
.btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(0.97); transition-duration: var(--dur-press); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn--rose { --btn-bg: var(--rose); --btn-fg: var(--choc-ink); --btn-fill: var(--choc); --btn-fill-fg: var(--beige-soft); }
.btn--rose:hover { color: var(--beige-soft); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--choc); --btn-fill: var(--choc); box-shadow: inset 0 0 0 2px var(--choc); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { color: var(--beige-soft); } }
.btn--light { --btn-bg: var(--beige); --btn-fg: var(--choc-ink); --btn-fill: var(--rose); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
.btn--icon { min-height: 44px; width: 44px; padding: 0; }
.btn.is-loading .roll { opacity: 0; }
.btn .dots { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 5px; }
.btn.is-loading .dots { display: flex; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dot 1s var(--ease-in-out) infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 100% 100% / 0 1.5px; transition: background-size var(--dur-ui) var(--ease-out); padding-block-end: 2px; }
.link:hover, .link:focus-visible { background-size: 100% 1.5px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 50;
  transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.site-header.is-scrolled { background: color-mix(in srgb, var(--beige) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; color: var(--choc); text-decoration: none; flex: none; }
.brand svg { height: 34px; width: auto; }
.brand .mono { display: none; height: 34px; }
.brand .wm--light { display: none; }
.nav { margin-inline-start: auto; display: none; position: relative; }
.nav ul { display: flex; gap: 4px; }
.nav a { position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--text); transition: color var(--dur-hover) var(--ease-out); }
.nav a:hover { color: var(--choc-ink); }
.nav-ind { position: absolute; inset-block-end: 2px; height: 6px; width: 6px; border-radius: 50%; background: var(--rose-deep); opacity: 0; transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-hover) var(--ease-out); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 18px; }
.header-actions .btn--sm { display: none; }
.wa-btn { --btn-bg: transparent; --btn-fg: var(--choc); --btn-fill: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--choc); color: var(--beige); position: relative; z-index: 70; transition: transform var(--dur-press) var(--ease-out); }
.menu-toggle:active { transform: scale(0.94); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle line { stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-actions .btn--sm { display: inline-flex; }
  .brand svg { height: 38px; }
}

/* ---------- mobile menu (GSAP enter/exit menu demo, adapted) ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
html.no-scroll .site-header { z-index: 65; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
html.no-scroll .site-header .brand, html.no-scroll .site-header .wa-btn { visibility: hidden; }
html.no-scroll .menu-toggle { background: var(--beige); color: var(--choc); }
.menu.is-open { pointer-events: auto; }
.menu-bg { position: absolute; inset: 0; background: rgba(42, 26, 20, 0.35); opacity: 0; }
.menu-panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(100%, 460px); }
.menu-panel--rose { background: var(--rose); }
.menu-panel--blue { background: var(--blue); width: min(100% - 10px, 450px); }
.menu-panel--main { background: var(--choc); color: var(--beige); width: min(100% - 20px, 440px); display: flex; flex-direction: column; padding: calc(var(--header-h) + 28px) 28px 28px; overflow-y: auto; }
.menu-links { display: grid; gap: 4px; }
.menu-links a { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; font-family: var(--f-head); font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.15; text-decoration: none; color: var(--beige-soft); border-block-end: 1px solid rgba(234, 219, 200, 0.14); }
.menu-links a span { font-family: var(--f-display); font-size: 1rem; color: var(--rose); min-width: 2ch; }
.menu-foot { margin-block-start: auto; padding-block-start: 28px; display: grid; gap: 10px; }
.menu-foot .btn { width: 100%; }
.menu-foot .note { font-size: var(--fs-small); color: var(--rose-soft); }
html.no-scroll, html.no-scroll body { overflow: hidden; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec-y); position: relative; }
.sec-head { max-width: 760px; margin-block-end: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { margin-block-start: 14px; font-size: var(--fs-lead); color: var(--text-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-block-end: 14px; font-family: var(--f-display); font-size: 1.15rem; color: var(--choc-2); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--rose-deep); border-radius: 2px; }
.on-dark { background: var(--choc); color: var(--beige); }
.on-dark .sec-head p, .on-dark .eyebrow { color: var(--rose-soft); }
.on-dark .eyebrow::before { background: var(--rose); }

/* ---------- WhatsApp bubble (used by /wa/; the home testimonials are .rv-* in u.css) ---------- */
.wa-bubble { position: relative; background: #fff8ef; border-radius: 16px 4px 16px 16px; padding: 12px 14px 22px; font-size: 1.02rem; line-height: 1.6; }
.wa-bubble time { position: absolute; inset-block-end: 4px; inset-inline-end: 12px; font-size: 0.72rem; color: var(--choc-2); }

/* ---------- contact / form ---------- */
.contact-grid { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-copy h2 { font-size: var(--fs-h2); }
.contact-copy p { margin-block-start: 14px; font-size: var(--fs-lead); max-width: 44ch; }

.form-card { background: var(--beige-soft); color: var(--choc); border-radius: var(--radius); padding: clamp(20px, 3.5vw, 36px); position: relative; overflow: hidden; box-shadow: inset 0 -6px 0 var(--blue); }

.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.98rem; }
.field label .opt { font-weight: 600; color: var(--text-2); font-size: 0.88rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--beige-deep); background: #fffaf3;
  font-size: 1.05rem; line-height: 1.4; transition: border-color var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--rose-deep); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--choc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 60%, transparent); }
.field input[type="tel"], .field input[type="email"], .field input[type="url"], .field input.ltr-in { direction: ltr; text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--choc-2) 75%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: var(--rose-deep); box-shadow: 0 0 0 3px var(--rose-soft); }
.field .err { color: var(--choc-deep); font-size: 0.92rem; font-weight: 800; display: none; }
.field .err::before { content: "! "; color: var(--rose-deep); }
.field.has-error .err { display: block; animation: errIn var(--dur-ui) var(--ease-out); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-block-start: 20px; display: grid; gap: 14px; }
.form-foot .btn { width: 100%; }
.privacy-note { font-size: 0.92rem; line-height: 1.6; color: var(--text-2); max-width: 62ch; }
.privacy-note a { color: var(--choc); font-weight: 700; }
.form-status { font-weight: 700; font-size: 0.98rem; padding: 12px 14px; border-radius: 12px; background: var(--rose-soft); color: var(--choc-ink); display: none; }
.form-status.is-shown { display: block; animation: errIn var(--dur-ui) var(--ease-out); }
.form-success { display: none; text-align: start; padding-block: 12px; }
.form-success.is-shown { display: block; animation: errIn var(--dur-reveal) var(--ease-out); }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin-block-end: 16px; }
.form-success .check svg { width: 30px; height: 30px; }
.form-success .check path { stroke: var(--choc); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 600ms var(--ease-out) 200ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: var(--fs-h3); }
.form-success p { margin-block-start: 10px; color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--choc-ink); color: var(--beige); padding-block: 56px 110px; }

.foot-legal { margin-block-start: 36px; padding-block-start: 20px; border-block-start: 1px solid rgba(234,219,200,.14); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: var(--fs-small); color: var(--rose-soft); }
.foot-legal a { color: var(--beige-soft); display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 760px) {  .site-footer { padding-block-end: 56px; } }

/* ---------- mobile action bar ---------- */
.action-bar { position: fixed; z-index: 40; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: color-mix(in srgb, var(--choc-ink) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 40px -16px rgba(42,26,20,.7); transform: translateY(140%); transition: transform var(--dur-ui) var(--ease-out); }
.action-bar.is-shown { transform: none; }
.action-bar .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: 1rem; }
.action-bar .btn--wa { flex: 0 0 auto; --btn-bg: var(--blue); --btn-fg: var(--choc-ink); --btn-fill: var(--rose); }
.action-bar .spacer { flex: 0 0 52px; }
@media (min-width: 1024px) { .action-bar { display: none; } }

/* ---------- chat ---------- */
.chat-fab {
  position: fixed; z-index: 45; inset-inline-end: 16px; inset-block-end: calc(16px + env(safe-area-inset-bottom));
  width: 64px; height: 64px; border-radius: 50%; background: var(--choc); color: var(--beige);
  display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(42,26,20,.7), 0 0 0 3px var(--beige);
  transition: transform var(--dur-hover) var(--ease-out), inset-block-end var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out);
}
.chat-fab svg.mono { width: 34px; height: auto; }
.cf2-peek { display: none; } /* only the home page shows the character peeking over the chat button (u.css) */
.chat-fab::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--rose); opacity: 0; }

.chat-fab:hover { transform: scale(1.05); }
.chat-fab:active { transform: scale(.95); }

.has-bar .chat-fab { inset-block-end: calc(14px + env(safe-area-inset-bottom)); inset-inline-end: 14px; width: 56px; height: 56px; box-shadow: 0 0 0 3px var(--choc-ink); }
.has-bar .chat-fab svg.mono { width: 30px; }

.chat-fab.is-away { opacity: 0; pointer-events: none; transform: scale(.8); }
@media (min-width: 1024px) { .has-bar .chat-fab { inset-block-end: 24px; } .chat-fab { inset-inline-end: 24px; inset-block-end: 24px; } }

@keyframes caret { 50% { opacity: 0; } }

/* ---------- brand intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--beige); display: grid; place-items: center; pointer-events: none; }
.intro svg { width: 112px; height: auto; color: var(--choc); }

/* ---------- reveal states (JS adds .js; hero text never hidden) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.js .split-h:not(.is-split) { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; }
  .js [data-reveal] { transform: none; }

}

/* ---------- legal / simple pages ---------- */
.page-simple { padding-block: calc(var(--header-h) + 48px) 80px; }
.page-simple .prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); margin-block-end: 18px; }
.prose h2 { font-size: 1.5rem; margin-block: 32px 10px; }
.prose p, .prose li { color: var(--choc); }
.prose ul { list-style: disc; padding-inline-start: 1.3em; display: grid; gap: 6px; }
.prose a { color: var(--choc); font-weight: 700; }
.prose .muted { color: var(--text-2); }

/* ---------- headline-sized text outside the heading levels (/sheelon/) ---------- */
.h3like { font-family: var(--f-head); line-height: 1.15; font-size: clamp(1.9rem, 7.5vw, 2.5rem); }

/* ---------- short landscape phones ---------- */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --header-h: 58px; }
  .action-bar { display: none; }

  .menu-links a { padding: 4px 0; font-size: 1.5rem; }
  .menu-panel--main { padding-block-start: calc(var(--header-h) + 8px); }
}
