/* ==========================================================================
   Synoia — design tokens & base
   Palette: gray / white / black / purple (brand-confirmed hex values).
   Layout is logical-property-first so one stylesheet serves both the
   English (ltr) and Hebrew (rtl) trees — see the html[dir='rtl'] block at
   the bottom for the handful of things logical properties can't fix.
   ========================================================================== */

:root {
  /* brand */
  --purple: #854bb3;
  --purple-deep: #643886;
  --purple-lit: #aa81ca;
  --purple-wash: #f5f1f9;
  --gray: #95979a;
  --gray-dark: #4c4d50;
  --gray-mid: #d8d9db;
  --gray-pale: #f3f3f4;
  --black: #0b0b0c;
  --white: #ffffff;

  /* roles */
  --bg: var(--white);
  --bg-alt: var(--gray-pale);
  --fg: var(--black);
  --fg-mid: var(--gray-dark);
  --fg-dim: var(--gray);
  --accent: var(--purple);
  --accent-lit: var(--purple-lit);
  --line: var(--gray-mid);

  /* type */
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans-he: 'Rubik', 'Montserrat', system-ui, 'Segoe UI', sans-serif;
  --font: var(--sans);
  --weight-heading: 900;   /* Montserrat Black / Rubik ExtraBold */
  --weight-body: 300;      /* Montserrat Light / Rubik Light */

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 68ch;
  --radius: 2px;
  --sh-1: 0 1px 2px rgba(11,11,12,.06);
  --sh-2: 0 8px 24px rgba(11,11,12,.08);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

html[lang='he'] { --font: var(--sans-he); --weight-heading: 800; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: var(--weight-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: var(--weight-heading);
  line-height: 1.02;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
/* Big, tight editorial display scale for h1/h2 — the tighter tracking at
   large sizes is what reads as "premium/current" rather than dated; h3/h4
   stay closer to body scale since they carry UI/section labels, not hero
   statements. */
h1 { font-size: clamp(2.8rem, 7.5vw, 6.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
.eyebrow {
  display: inline-block;
  font-weight: var(--weight-heading);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-block-end: .9em;
}

.container { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec-alt { background: var(--bg-alt); }
.sec-wash { background: var(--purple-wash); }
.sec-dark { background: var(--black); color: var(--white); }
.sec-dark .eyebrow { color: var(--gray); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.7em;
  font-weight: var(--weight-heading); font-size: .95rem; letter-spacing: .02em;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background .2s var(--ease), color .2s var(--ease), transform .25s var(--ease-bounce), box-shadow .25s var(--ease);
}
.btn-solid { background: var(--accent); color: var(--white); }
.btn-solid:hover { background: var(--purple-deep); transform: translateY(-2px) scale(1.03); box-shadow: var(--sh-2); }
.btn:active { transform: scale(.96); }
.btn-line { background: transparent; color: var(--accent); }
.btn-line:hover { background: var(--accent); color: var(--white); transform: translateY(-2px) scale(1.03); }
.sec-dark .btn-line { border-color: var(--white); color: var(--white); }
.sec-dark .btn-line:hover { background: var(--white); color: var(--black); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 40;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1.5rem; }
.brand img { block-size: 34px; inline-size: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a { font-size: .92rem; font-weight: var(--weight-heading); padding-block: .3em; position: relative; }
.nav a:hover, .nav a[aria-current] { color: var(--accent); }
.nav-toggle { display: none; }

/* language switcher — one disclosure button (globe + current code), opens
   a small menu with both languages as real links. Closed by default. */
.langswitch { position: relative; }
.langswitch-toggle {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px;
  background: none; font-family: var(--font); font-weight: var(--weight-heading); font-size: .8rem;
  color: var(--fg-mid); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.langswitch-toggle:hover, .langswitch-toggle[aria-expanded='true'] { border-color: var(--accent); color: var(--accent); }
.langswitch-toggle svg { inline-size: 16px; block-size: 16px; }
.langswitch-menu {
  position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0;
  list-style: none; margin: 0; padding: .4rem; min-inline-size: 140px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-2);
  z-index: 50;
}
.langswitch-menu li + li { margin-block-start: .2rem; }
.langswitch-menu a { display: block; padding: .55em .7em; border-radius: calc(var(--radius) + 2px); font-size: .88rem; color: var(--fg-mid); }
.langswitch-menu a:hover { background: var(--bg-alt); color: var(--fg); }
.langswitch-menu a[aria-current='true'] { color: var(--accent); font-weight: var(--weight-heading); }

@media (max-width: 860px) {
  .nav { position: fixed; inset: 0; inset-block-start: 64px; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease); }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; background: none; border: 0; padding: .4rem; }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; display: block; inline-size: 24px; block-size: 2px; background: var(--fg); margin-block: 5px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: clip; background: var(--black); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .55; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,12,.35), rgba(11,11,12,.75)); }
.hero-inner { position: relative; padding-block: clamp(5rem, 14vw, 9rem); max-width: 46rem; }
.hero-inner p { color: rgba(255,255,255,.82); font-size: 1.1rem; }

/* cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.card-quiet { border: 0; padding: 0; }

/* team */
.team-card { text-align: center; }
.team-avatar {
  inline-size: 104px; block-size: 104px; border-radius: 50%; margin-inline: auto; margin-block-end: 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-wash); color: var(--accent); font-weight: 900; font-size: 1.4rem;
  overflow: hidden;
}
.team-avatar img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.team-role { color: var(--accent); font-weight: var(--weight-heading); font-size: .85rem; margin-block-end: .5em; }
.team-blurb { color: var(--fg-dim); font-size: .88rem; font-style: italic; }

/* events */
.event-card { border-inline-start: 3px solid var(--accent); padding-inline-start: 1.25rem; }
.event-date { color: var(--accent); font-weight: var(--weight-heading); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.event-loc { color: var(--fg-dim); font-size: .85rem; }
.event-past { border-inline-start-color: var(--gray-mid); opacity: .85; }

/* ingredients: icon cards, each an interactive accordion */
/* align-items: start matters here: grid rows default to stretch, so opening
   one card (growing its height) was stretching every OTHER card in that
   same row to match, and a closed <details> stretched taller than its own
   content just shows as blank space below its summary. Reads exactly like
   "clicking one ingredient opens all the ones next to it, empty." */
.ingredient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 900px) { .ingredient-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ingredient-grid { grid-template-columns: 1fr; } }
.ingredient-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.ingredient-card:hover { border-color: var(--accent); box-shadow: var(--sh-1); }
.ingredient-card summary {
  display: flex; align-items: center; gap: .75rem;
  cursor: pointer; list-style: none;
}
.ingredient-card summary::-webkit-details-marker { display: none; }
.ingredient-card summary h4 { margin: 0; font-size: .95rem; }
.ingredient-icon-wrap {
  flex-shrink: 0; inline-size: 38px; block-size: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple-wash); color: var(--accent);
  transition: transform .3s var(--ease);
}
.ingredient-card[open] .ingredient-icon-wrap { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: var(--white); }
.ingredient-icon { inline-size: 18px; block-size: 18px; }
.ingredient-card summary::after {
  content: '+'; margin-inline-start: auto; font-size: 1.3rem; font-weight: var(--weight-heading); color: var(--accent);
  flex-shrink: 0; transition: transform .25s var(--ease);
}
.ingredient-card[open] summary::after { transform: rotate(45deg); }
.ingredient-card p { margin-block-start: .75rem; margin-block-end: 0; color: var(--fg-mid); font-size: .9rem; }
.ingredient-card[open] summary h4 { color: var(--accent); }

/* how-to-use: connected numbered timeline */
.step-timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-block-start: 1rem; }
@media (max-width: 700px) { .step-timeline { grid-template-columns: 1fr; } }
.step-timeline::before {
  content: ''; position: absolute; inset-inline: 10%; inset-block-start: 22px; block-size: 2px;
  background: var(--line); z-index: 0;
}
@media (max-width: 700px) { .step-timeline::before { display: none; } }
.step { position: relative; z-index: 1; text-align: center; }
.step-circle {
  inline-size: 44px; block-size: 44px; border-radius: 50%; margin-inline: auto; margin-block-end: .75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white); font-weight: var(--weight-heading); font-size: 1.1rem;
  box-shadow: 0 0 0 6px var(--bg-alt), var(--sh-1);
}

/* card hover: lift + pointer-tilt (transform/hover rules defined together in the
   tech-visual-system block below, so JS-driven tilt and CSS hover don't fight) */
.card, .team-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.team-card:hover .team-avatar { transform: scale(1.05); }
.team-avatar { transition: transform .25s var(--ease); }

/* events: tabs */
.event-tabs { display: inline-flex; gap: .5rem; margin-block-end: 2rem; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.event-tab { padding: .55em 1.3em; border-radius: 999px; font-weight: var(--weight-heading); font-size: .88rem; background: none; border: 0; cursor: pointer; color: var(--fg-mid); font-family: var(--font); }
.event-tab[aria-selected="true"] { background: var(--accent); color: var(--white); }
.event-panel { display: none; }
.event-panel.active { display: block; }

/* MIT pulse animation */
.mit-pulse { position: relative; inline-size: 220px; block-size: 220px; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.mit-pulse-core { inline-size: 56px; block-size: 56px; border-radius: 50%; background: var(--accent); position: relative; z-index: 2; box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 60%, transparent); }
.mit-pulse-ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: mit-ping 2.4s var(--ease) infinite; opacity: 0;
}
.mit-pulse-ring:nth-child(2) { animation-delay: .8s; }
.mit-pulse-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes mit-ping {
  0% { transform: scale(.25); opacity: .9; }
  100% { transform: scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mit-pulse-ring { animation: none; opacity: .3; }
  [data-reveal] { transition: none; opacity: 1; transform: none; }
}

/* footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); padding-block: 3.5rem 2rem; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-block-end: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-block-end: 1em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; font-size: .92rem; }
.footer-bottom { border-block-start: 1px solid rgba(255,255,255,.15); padding-block-start: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-logo img { block-size: 28px; inline-size: auto; margin-block-end: 1rem; }

/* contact form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4em; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: var(--weight-heading); color: var(--fg-mid); }
.field input, .field textarea, .field select {
  font-family: var(--font); font-size: 1rem; padding: .8em .9em;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--fg);
}
.field textarea { resize: vertical; min-block-size: 7em; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
#form-status { margin-block-start: 1rem; font-size: .9rem; font-weight: var(--weight-heading); }
#form-status.ok { color: #1a7a4c; }
#form-status.err { color: #b3261e; }

/* reveal-on-scroll (staggered within a grid: nth-child delay). A slight
   scale + overshoot easing on the way in reads as a "pop", not a fade. */
[data-reveal] { opacity: 0; transform: translateY(20px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease-bounce); }
[data-reveal].in { opacity: 1; transform: none; }
.grid[class*="grid-"] > [data-reveal]:nth-child(1) { transition-delay: 0s; }
.grid[class*="grid-"] > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.grid[class*="grid-"] > [data-reveal]:nth-child(3) { transition-delay: .16s; }
.grid[class*="grid-"] > [data-reveal]:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   Tech visual system: dot-grid texture + drifting glow orbs on dark
   sections, animated nav underline, pointer-tilt cards, scroll-progress
   bar, animated stat counters, and the before/after comparison slider.
   ========================================================================== */

/* scroll progress */
.scroll-progress { position: fixed; inset-block-start: 0; inset-inline: 0; block-size: 3px; z-index: 100; background: transparent; }
.scroll-progress-bar { block-size: 100%; inline-size: 0%; background: linear-gradient(90deg, var(--accent), var(--purple-lit)); }

/* dark-section ambient texture: dot grid + two slow drifting glow orbs */
.sec-dark { position: relative; overflow: clip; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.09) 1px, transparent 0); background-size: 26px 26px; }
.sec-dark::before, .sec-dark::after { content: ''; position: absolute; z-index: 0; pointer-events: none; inline-size: 55%; block-size: 140%; inset-block-start: -20%; border-radius: 50%; filter: blur(70px); opacity: .35; }
.sec-dark::before { inset-inline-start: -12%; background: var(--accent); animation: orb-drift-a 16s ease-in-out infinite alternate; }
.sec-dark::after { inset-inline-end: -12%; background: var(--purple-lit); animation: orb-drift-b 20s ease-in-out infinite alternate; }
.sec-dark > .container { position: relative; z-index: 1; }
@keyframes orb-drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(6%, 8%) scale(1.15); } }
@keyframes orb-drift-b { from { transform: translate(0,0) scale(1.1); } to { transform: translate(-8%, -6%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .sec-dark::before, .sec-dark::after { animation: none; } }

/* nav: sliding underline */
.nav a { position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline-start: 0; inset-block-end: -3px; block-size: 2px; inline-size: 0; background: var(--accent); transition: inline-size .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { inline-size: 100%; }

/* pointer-tilt cards (JS sets --tilt-x/--tilt-y in site.js; CSS provides the fallback lift) */
.card { transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--tilt-lift, 0px)); }
.card:hover { --tilt-lift: -4px; box-shadow: var(--sh-2); }

/* stat band */
.stat-band { text-align: center; }
.stat-num { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: var(--weight-heading); color: var(--white); line-height: 1; }
.stat-num::after { content: attr(data-suffix); }
.stat-label { color: rgba(255,255,255,.65); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-block-start: .6em; }

/* before/after comparison slider */
.ba-slider {
  /* inline-size:100% (not the default `auto`) matters here: this is a grid
     item, and `margin-inline: auto` (for centering under max-inline-size)
     disables the grid's normal stretch-to-fill sizing, falling back to
     shrink-to-fit. The only in-flow content is the ::before ratio box below,
     which has no min-content width of its own, so shrink-to-fit resolves to
     0 and the whole slider collapses. An explicit 100% sidesteps that. */
  position: relative; inline-size: 100%; max-inline-size: 420px; margin-inline: auto; border-radius: var(--radius);
  overflow: hidden; cursor: ew-resize; touch-action: none; box-shadow: var(--sh-2);
}
/* Intrinsic-ratio padding box (900x1100 source) instead of `aspect-ratio` alone:
   some rendering paths don't give aspect-ratio a resolved height on a grid item
   with no other height source, which silently collapses the slider to 0px. The
   padding-top technique has no such dependency. */
.ba-slider::before { content: ''; display: block; padding-block-start: 122.22%; }
.ba-slider img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba-handle { position: absolute; inset-block: 0; inset-inline-start: var(--pos, 50%); inline-size: 3px; background: var(--white); transform: translateX(-50%); pointer-events: none; }
html[dir='rtl'] .ba-handle { transform: translateX(50%); }
.ba-handle::after { content: '⇔'; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%,-50%); inline-size: 42px; block-size: 42px; border-radius: 50%; background: var(--white); color: var(--accent); font-weight: var(--weight-heading); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-2); }
.ba-tag { position: absolute; inset-block-start: .75rem; padding: .3em .8em; font-size: .72rem; font-weight: var(--weight-heading); letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; background: rgba(11,11,12,.65); color: var(--white); z-index: 2; }
.ba-tag-before { inset-inline-start: .75rem; }
.ba-tag-after { inset-inline-end: .75rem; }

/* floating hover-in-place (device/product photography): a slow, small
   vertical drift so key images never sit dead-still on the page. */
.float { animation: float-y 5s ease-in-out infinite; }
.float-slow { animation: float-y 7s ease-in-out infinite; animation-delay: -2s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float, .float-slow { animation: none; } }

/* logo: small wiggle on hover */
.brand img { transition: transform .35s var(--ease-bounce); }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }

/* scrolling marquee ticker */
.marquee { overflow: hidden; background: var(--black); padding-block: .9rem; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; animation: marquee-scroll 26s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; gap: .6em;
  color: rgba(255,255,255,.85); font-weight: var(--weight-heading); font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
}
.marquee span::after { content: '✦'; color: var(--accent); margin-inline-start: 3rem; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir='rtl'] .marquee-track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ==========================================================================
   Scroll-tied feature reveal: an editorial (no box/border) alternative to
   .card for a short list of feature statements, used on WISHpro/WISHtoGo.
   Numbered large index, text genuinely tied to scroll position (not just
   triggered once) in engines that support CSS scroll-driven animations
   (animation-timeline: view — Chromium 115+); [data-reveal]'s existing
   IntersectionObserver fade-in is the fallback everywhere else, so nothing
   is ever stuck invisible.
   ========================================================================== */
.feature-scroll { display: flex; gap: 1.5rem; align-items: flex-start; padding-block: 2rem; border-block-end: 1px solid var(--line); }
.feature-scroll:last-child { border-block-end: 0; }
.feature-scroll-index { flex-shrink: 0; font-size: 2.4rem; font-weight: var(--weight-heading); color: var(--accent); opacity: .35; line-height: 1; }
.sec-dark .feature-scroll { border-block-end-color: rgba(255,255,255,.15); }
@supports (animation-timeline: view()) {
  .feature-scroll {
    animation: feature-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
  @keyframes feature-in { from { opacity: .25; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  @media (prefers-reduced-motion: reduce) { .feature-scroll { animation: none; } }
}

/* White-backdrop product photography (the WISHpro/WISHtoGo demo GIFs) reads
   as a cutout when it sits directly on a tinted section (sec-alt/sec-wash) —
   mounting it on its own white card with a shadow makes the white
   intentional instead of an accidental seam. */
.media-card { display: inline-block; background: var(--white); border-radius: var(--radius); box-shadow: var(--sh-2); padding: clamp(1rem, 3vw, 2rem); }
.media-card img { border-radius: var(--radius); }

/* True cutouts (background actually removed to alpha, not just a photo
   mounted on a card) — a soft drop-shadow keeps them from looking like
   they're pasted flat with no depth. */
.cutout-shadow { filter: drop-shadow(0 10px 20px rgba(11,11,12,.16)); }
.sec-dark .cutout-shadow { filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }

/* ==========================================================================
   RTL overrides — only what logical properties can't handle automatically
   ========================================================================== */
html[dir='rtl'] .nav-toggle span,
html[dir='rtl'] .hero-media::after { /* gradient direction is already dir-agnostic (vertical) */ }
html[dir='rtl'] .btn svg,
html[dir='rtl'] .event-card svg { transform: scaleX(-1); }
