:root {
  --bg: #FAF7F2;
  --ink: #151413;
  --muted: #5B5650;
  --accent: #E0704A;
  --line: #E7DFD3;
  --display: "Inter Tight", system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.8, .5, 1);
  --dir: 1;
  --pad: clamp(16px, 5vw, 80px);
  color-scheme: light;
}
html[lang="he"] { --display: Rubik, system-ui, sans-serif; --body: Rubik, system-ui, sans-serif; --dir: -1; }
.lang-pending body { opacity: 0; }

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
bdi, [lang="en"] { unicode-bidi: isolate; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 20; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Springy, deliberately exaggerated feedback on hover, focus and tap */
.spring { transition: transform .6s var(--spring); }
@media (hover: hover) { .spring:hover { transform: scale(1.07); } }
.spring:focus-visible { transform: scale(1.07); }
.spring:active { transform: scale(.94); transition-duration: .12s; }

.lang-toggle {
  position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); right: 16px; z-index: 10;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font: 700 .95rem var(--display); cursor: pointer; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .25s;
}
@media (prefers-reduced-motion: reduce) { .lang-toggle { transition: opacity .2s; } }
.lang-toggle .when-en { font-family: Rubik, system-ui, sans-serif; display: inline-flex; align-items: center; gap: 8px; }
.lang-toggle .when-he { font-family: "Inter Tight", system-ui, sans-serif; }
.flag { width: 22px; height: 16px; border: 1px solid #d5d5d5; border-radius: 2px; }
html[lang="he"] .when-en, html:not([lang="he"]) .when-he { display: none !important; }

/* Type: one scale, smaller than before */
.mega { font: 800 clamp(2.1rem, 7vw, 6rem)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.big { font: 780 clamp(1.8rem, 5.6vw, 4.6rem)/1.04 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.sub { font: 500 clamp(1rem, 2vw, 1.35rem)/1.35 var(--body); color: var(--muted); }
.section-title { font: 800 clamp(1.9rem, 5.6vw, 4.4rem)/1 var(--display); letter-spacing: -.035em; padding-inline: var(--pad); margin-bottom: clamp(16px, 3vw, 36px); }
html[lang="he"] :is(.mega, .big, .section-title, .skill, .three li, .project-name) { letter-spacing: -.01em; }
.scrub-word { display: inline-block; white-space: pre; }

/* Beats */
.beat { min-height: 78svh; display: grid; place-content: center; padding: var(--pad); position: relative; }
.beat-hello { min-height: 100svh; }
.beat-hello .mega { max-width: 15ch; }
.scroll-hint { position: absolute; bottom: 32px; left: 16px; font: 600 .9rem var(--body); color: var(--muted); }
.arrow-down { display: inline-block; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
.beat-intro { min-height: 55svh; }
@media (max-width: 700px) {
  .beat-intro { min-height: 34svh; align-content: end; padding-bottom: 0; }
  .beat-ai { min-height: 62svh !important; align-content: start; padding-top: 2vh; }
}
.beat-ai { text-align: center; justify-items: center; gap: 10px; overflow: hidden; min-height: 66svh; align-content: start; padding-top: 4vh; }
.beat-intro { align-content: end; padding-bottom: 0; }
.ai-wrap { position: relative; display: grid; place-items: center; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; rotate: 2deg; } }
.ai-word {
  font: 800 clamp(11rem, 54vw, 38rem)/.82 "Inter Tight", system-ui, sans-serif; letter-spacing: -.06em; position: relative; z-index: 1;
  background: linear-gradient(120deg, #E0704A 10%, #C77D9E 50%, #4A63C9 90%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.drone { position: absolute; left: 0; top: 0; width: clamp(44px, 9vw, 84px); height: auto; fill: var(--ink); pointer-events: none; }
.quad { width: clamp(48px, 10vw, 90px); color: var(--ink); }

/* Conveyor of project cards */
.conveyor-section { padding-block: 8vh 2vh; }
.conveyor { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; padding-block: 28px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.track { display: flex; width: max-content; will-change: transform; }
.track img { -webkit-user-drag: none; }
.conveyor::-webkit-scrollbar { display: none; }
/* Pause = spotlight: everything dims except the card under the pointer */
.card { transition: opacity .35s, filter .35s, transform .6s var(--spring); }
@media (hover: hover) { .conveyor:hover .card:not(:hover) { opacity: .28; filter: grayscale(1); } }
.card {
  position: relative; display: flex; flex-direction: column; width: clamp(220px, 62vw, 290px); margin-inline-end: 18px;
  border-radius: 20px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none;
  border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #F1EDE6; border-bottom: 2px solid var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .8s var(--spring); }
@media (hover: hover) { .card:hover .card-img img { transform: scale(1.12); } }
.card-ph { display: grid; place-items: center; height: 100%; padding: 12px; text-align: center; color: #33405F; font: 700 .72rem ui-monospace, Menlo, monospace; background: repeating-linear-gradient(45deg, #fff 0 10px, #EEF0F8 10px 20px); }
.card-img-type { display: grid; place-items: center; color: var(--ink); }
.card-img-type svg { width: 55%; }
.card-body { display: grid; gap: 4px; padding: 16px 18px 20px; }
.card-name { font: 800 1.6rem/1 var(--display); letter-spacing: -.03em; }
.card-line { font: 500 .92rem/1.35 var(--body); color: var(--muted); }
.stamp {
  position: absolute; top: 14px; inset-inline-end: 12px; rotate: -12deg; z-index: 2;
  padding: 1px 10px; border: 3px solid #C8242F; border-radius: 8px; background: #fff; color: #C8242F;
  font: 900 1.35rem/1.1 var(--display); letter-spacing: .06em; box-shadow: 0 8px 18px -10px rgba(0,0,0,.5);
}
.stamp-big { font-size: clamp(1.8rem, 5vw, 3rem); border-width: 5px; top: -16px; inset-inline-end: -12px; }
.belt-hint { text-align: center; font: 600 .85rem var(--body); color: var(--muted); }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

/* Projects: compact, media first */
.project { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(36px, 7vh, 80px) var(--pad); overflow-x: clip; }
.project > * { min-width: 0; }
@media (min-width: 900px) {
  .project { grid-template-columns: 1.1fr 1fr; max-width: 1240px; margin-inline: auto; }
  .project:nth-of-type(odd) .project-media { order: 2; }
}
.project-media { transform-style: preserve-3d; }
.frame { position: relative; padding: clamp(10px, 2vw, 20px); border-radius: 26px; background: color-mix(in srgb, var(--c) 24%, #F3EEE6); rotate: -1.5deg; }
.project:nth-of-type(odd) .frame { rotate: 1.5deg; }
.ph {
  display: grid; place-content: center; gap: 6px; aspect-ratio: 4 / 3; padding: 20px; border-radius: 16px;
  background: repeating-linear-gradient(45deg, #fff 0 14px, #F4EFE7 14px 28px); border: 2px dashed #9A9188; color: #4A453F;
  text-align: center; font: 700 .9rem/1.4 ui-monospace, Menlo, monospace;
}
.ph small { font-weight: 500; font-size: .78rem; }
.frame video { display: block; aspect-ratio: 9 / 16; max-height: 70svh; max-width: 100%; margin-inline: auto; border-radius: 16px; background: #111; }
.slides { display: grid; border-radius: 16px; overflow: hidden; background: #fff; }
.slides img { grid-area: 1 / 1; width: 100%; height: auto; display: block; opacity: 0; transition: opacity .8s ease; }
.slides img.on { opacity: 1; }
.slides-tall { max-width: min(100%, 420px); margin-inline: auto; }
html[lang="he"] .when-en-img, html:not([lang="he"]) .when-he-img { display: none; }
.approve { position: absolute; bottom: -10px; inset-inline-start: 14px; padding: 3px 8px; border-radius: 6px; background: #FFE58A; font: 700 .7rem ui-monospace, Menlo, monospace; }
.num { font: 700 .9rem var(--body); color: var(--muted); }
.project-name { font: 800 clamp(2.3rem, 7vw, 4.8rem)/.95 "Inter Tight", system-ui, sans-serif; letter-spacing: -.04em; margin: 4px 0 12px; }
.project-line { font: 500 clamp(1.05rem, 1.8vw, 1.25rem)/1.42 var(--body); max-width: 32ch; }
.acq { display: inline-block; margin-top: 16px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .85rem/1.2 var(--body); }
.ph-cta { display: inline-block; margin-top: 18px; padding: 12px 16px; border: 2px dashed #9A9188; border-radius: 14px; font: 700 .85rem ui-monospace, Menlo, monospace; color: #4A453F; }

.cta {
  position: relative; display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff;
  font: 750 1.08rem var(--display); text-decoration: none; box-shadow: 4px 4px 0 var(--c);
}
.cta-small { min-height: 46px; font-size: .95rem; margin: 0; padding: 0 18px; box-shadow: 3px 3px 0 var(--accent); }
.arrow { display: inline-block; transform: scaleX(var(--dir)); }
.sticker {
  position: absolute; top: -18px; inset-inline-end: -22px; padding: 4px 10px; border-radius: 999px;
  background: #B84A26; color: #fff; font: 800 .75rem var(--body); text-transform: uppercase; letter-spacing: .04em;
  rotate: 12deg; animation: wiggle 2.4s ease-in-out infinite;
}
html[lang="he"] .sticker { text-transform: none; font-size: .85rem; rotate: -12deg; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0) scale(1); } 80% { transform: rotate(-10deg) scale(1.12); } 90% { transform: rotate(8deg) scale(1.12); } }

.also { padding: 0 var(--pad) 6vh; }
.also-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; max-width: 1240px; margin: auto; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 20px; background: #fff; color: var(--muted); }
.also-row strong { color: var(--ink); font: 800 1.3rem var(--display); }
.also-label { font-weight: 700; color: var(--ink); }

/* Story beats */
.story { overflow: hidden; gap: 22px; }
.story-1 .big { max-width: 16ch; }
.flyby-2 { width: clamp(36px, 7vw, 64px); opacity: .7; }
.giant { font: 900 clamp(2.6rem, 11.5vw, 10rem)/.9 var(--display); letter-spacing: -.045em; text-transform: uppercase; max-width: 11ch; color: var(--ink); }
html[lang="he"] .giant { letter-spacing: -.01em; text-transform: none; max-width: 12ch; }
.story-0 { min-height: 60svh; text-align: center; justify-items: center; }
.story-1 { gap: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; max-width: 720px; }
.facts li { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .9rem var(--body); }
.story-2 { min-height: auto; padding-block: 8vh; }
.story-lead { max-width: 30ch; }
.three { display: grid; gap: .28em; }
.three li { font: 900 clamp(1.9rem, 7.2vw, 5.6rem)/1 var(--display); letter-spacing: -.04em; display: flex; align-items: center; gap: .25em; }
/* a staircase: each line steps in and an arrow points down to the next */
.three li:nth-child(2) { margin-inline-start: 1.2em; }
.three li:nth-child(3) { margin-inline-start: 2.4em; }
.three li:nth-child(4) { margin-inline-start: 3.6em; }
.three li + li::before { content: "↳"; font-weight: 700; color: var(--ink); transform: scaleX(var(--dir)); display: inline-block; }
@media (max-width: 600px) { .three li:nth-child(2) { margin-inline-start: .6em; } .three li:nth-child(3) { margin-inline-start: 1.2em; } .three li:nth-child(4) { margin-inline-start: 1.8em; } }
.three li span { display: inline-block; padding: .06em .22em .1em; border: 3px solid var(--ink); border-radius: .16em; color: #fff; box-shadow: .08em .08em 0 var(--ink); }
.three li:nth-child(1) span { background: #4A63C9; rotate: -2deg; }
.three li:nth-child(2) span { background: #B5698C; rotate: 1.5deg; }
.three li:nth-child(3) span { background: #C9562F; rotate: -1deg; }
.three li:nth-child(4) span { background: #3E8F6E; rotate: 1deg; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 3vw, 32px); max-width: 860px; padding-block: 16px; }
.polaroid { background: #fff; padding: 8px 8px 28px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.5); rotate: -4deg; }
.polaroid:nth-child(2) { rotate: 3deg; translate: 0 14px; }
.polaroid:nth-child(3) { rotate: -2deg; }
.polaroid { position: relative; margin: 0; }
.polaroid img { display: block; width: 100%; height: auto; border-radius: 3px; } /* full photos, never cropped */
.polaroid .ph { aspect-ratio: 1; padding: 6px; font-size: clamp(.55rem, 1.4vw, .8rem); border-radius: 4px; }

.today-beat { padding: 8vh var(--pad); text-align: center; display: grid; justify-items: center; gap: 8px; }
.today-label { font: 800 .9rem var(--body); text-transform: uppercase; letter-spacing: .14em; color: #C9562F; }
.today-where { font: 700 clamp(1.1rem, 2.6vw, 1.7rem) var(--display); padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); }

/* Skills + tools */
.skills { padding: 8vh 0; overflow: hidden; }
.note { padding-inline: var(--pad); margin-top: 20px; font: 500 1rem var(--body); color: var(--muted); }
mark { background: #FFE58A; color: var(--ink); padding: 2px 6px; border-radius: 6px; font: 700 .85em ui-monospace, Menlo, monospace; }
.tools { margin-top: 7vh; }
.tools-title { padding-inline: var(--pad); font: 700 .9rem var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
html[lang="he"] .tools-title { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.tools-belt { direction: ltr; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tools-track { display: flex; width: max-content; }
.tools-track li { margin-inline-end: 12px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); font: 600 1rem var(--body); white-space: nowrap; }

/* Contact bouquet */
.contact { padding: 8vh var(--pad) 6vh; text-align: center; overflow-x: clip; }
.contact .sub { margin-top: 8px; }
.plain { margin-top: 22px; }
.plain h3 { font: 600 .95rem var(--body); color: var(--muted); margin-bottom: 6px; }
.plain li { padding: 4px 0; }
.plain a { display: inline-block; padding: 8px 4px; font-weight: 600; }
.footer { padding: 24px var(--pad) calc(24px + env(safe-area-inset-bottom)); text-align: center; color: var(--muted); font-size: .85rem; border-top: 2px solid var(--line); }

/* Reduced motion: everything static, every action still obvious */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .spring:hover, .spring:focus-visible, .spring:active, .petal:hover, .petal:focus-visible, .card:hover .card-img img { transform: none; }
  .cta:hover, .card:hover { outline: 3px solid var(--accent); outline-offset: 4px; }
  .petal .label { scale: 1; }
  .swap-b { display: none; }
  .swap .swap-a { opacity: 1; }
  .tools-belt { overflow-x: auto; mask-image: none; }
  .tools-track [aria-hidden="true"] { display: none; }
  .drone { display: none; }
}
main > section { overflow-x: clip; }

/* "sh*t" gets a red strike-through on the first scroll, then becomes "stuff" (English only) */
.swap { display: inline-grid; }
.swap > span { grid-area: 1 / 1; transition: opacity .9s ease; position: relative; }
.swap-a { opacity: 0; }
.swap-b::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .1em; background: #D7192A; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .85s ease-in-out; }
.swap.strike .swap-b::after { transform: scaleX(1); }
.swap.done .swap-b { opacity: 0; }
.swap.done .swap-a { opacity: 1; }

/* Loitering munitions line under the giant headline */
.giant-and { display: block; font-size: .46em; margin-top: .3em; letter-spacing: -.01em; color: var(--accent); }

/* Explosions (UAV beat) */
.fx-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.story > :not(.drone) { position: relative; z-index: 1; }

/* Gever: a chat button that shows up while Gever is on screen */
.chat-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; margin-inline-start: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 700 .95rem var(--display); text-decoration: none; }
.chat-pill svg { width: 18px; height: 18px; color: #1FAF57; }

/* Contact: one flower, each petal a channel */
.bloom { width: min(92%, 380px); margin: 14px auto 0; }
.petals { position: relative; aspect-ratio: 1; --open: 1; }
.petal {
  position: absolute; left: 36.5%; bottom: 50%; width: 27%; height: 46%;
  transform-origin: 50% 100%; rotate: calc(var(--a) * var(--open)); scale: calc(.35 + .65 * var(--open));
  border-radius: 50% 50% 50% 50% / 72% 72% 28% 28%;
  /* real-petal shading: deep at the base, light at the tip, a soft vein down the middle */
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.35) 50%, transparent 53%),
    radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--petal) 70%, #7a1f3a) 0%, var(--petal) 45%, color-mix(in srgb, var(--petal) 55%, #fff) 100%);
  border: 1px solid rgba(90, 20, 40, .12); box-shadow: 0 10px 18px -10px rgba(80, 20, 40, .45);
  color: #5c1428; text-decoration: none; transition: transform .45s var(--spring);
}
.petal-in { position: absolute; left: 50%; top: 26%; translate: -50% 0; rotate: calc(var(--a) * var(--open) * -1); display: grid; justify-items: center; gap: 4px; }
.petal svg { width: clamp(26px, 8vw, 34px); height: auto; }
.petal .glyph { font: 900 clamp(1.5rem, 7vw, 2rem)/1 Arial, sans-serif; }
.petal .label { padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; font: 750 .8rem var(--display); scale: 0; transition: scale .45s var(--spring); }
.petal:hover, .petal:focus-visible { transform: scale(1.1); z-index: 2; }
.petal:hover .label, .petal:focus-visible .label, .petal:active .label { scale: 1; }
.petal:active { transform: scale(1.04); }
.petal-ph { opacity: .8; }
.bloom-core { position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle, #6b3a10 0 1.5px, transparent 2.5px) 0 0 / 22% 22%, radial-gradient(circle at 40% 35%, #FFE08A, #F2B134 60%, #C9821A);
  box-shadow: 0 0 0 4px rgba(242,177,52,.35), 0 6px 14px -6px rgba(0,0,0,.4); }
.bloom-stem { display: block; width: 40%; margin: -22% auto 0; position: relative; z-index: -1; }
@media (hover: none) { .petal .label { scale: .9; } }


/* The face: Alon next to his name */
.beat-intro { grid-template-columns: auto; justify-items: start; gap: 18px; }
.intro-photo { margin: 0; width: clamp(110px, 26vw, 220px); rotate: -5deg; background: #fff; padding: 7px 7px 22px; box-shadow: 0 18px 34px -18px rgba(0,0,0,.55); }
.intro-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
@media (min-width: 900px) { .beat-intro { grid-template-columns: auto 1fr; align-items: end; gap: 40px; } .intro-photo { rotate: -6deg; } }

/* Back to the top: a drone grabs the page and hauls it up */
.to-top { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font: 750 1.05rem var(--display); cursor: pointer; box-shadow: 4px 4px 0 var(--ink); }
.to-top-quad { width: 26px; height: 26px; fill: var(--ink); color: var(--ink); }
.lift-drone { position: fixed; z-index: 60; width: 64px; height: 64px; fill: var(--ink); color: var(--ink); pointer-events: none; }

/* Project logos next to the name */
.project-name { display: flex; align-items: center; gap: .3em; }
.p-logo { width: .9em; height: .9em; object-fit: contain; border-radius: .2em; flex: none; }
/* SOLD sits on the side of the frame, not on top of the screenshot */
/* Section heads that carry a colon get an underline */
#skills-h { display: inline-block; padding-bottom: .1em; border-bottom: .09em solid var(--ink); margin-inline: var(--pad); padding-inline: 0; }
.note-projects { max-width: 1240px; margin: 14px auto 0; padding-inline: 0; }
.today-photo { margin: 0 0 10px; width: clamp(110px, 24vw, 180px); rotate: 4deg; background: #fff; padding: 7px 7px 22px; box-shadow: 0 18px 34px -18px rgba(0,0,0,.55); }
.today-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.also-thumb { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 12px; border: 2px solid var(--ink); flex: none; }
.card-img .when-en-img, .card-img .when-he-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.three li span { white-space: nowrap; }
html[lang="he"] .three li { font-size: clamp(1.45rem, 6.2vw, 4.6rem); }
.spill { position: fixed; width: 18px; height: 18px; object-fit: contain; z-index: 40; pointer-events: none; border-radius: 6px; }
@media (hover: hover) { .conveyor .card:hover { box-shadow: 5px 5px 0 var(--ink), 0 0 0 4px #fff, 0 0 34px 10px color-mix(in srgb, var(--accent) 55%, transparent); z-index: 2; } }
@media (hover: hover) { .conveyor:hover .card:not(:hover) { opacity: .18; filter: grayscale(1) blur(1px); } }
.conveyor { position: relative; z-index: 1; }
/* SOLD: a red rubber stamp, slapped on at an angle */
.stamp { background: transparent; color: #C8242F; border: 4px double #C8242F; border-radius: 10px; rotate: -16deg; box-shadow: none;
  padding: 2px 12px; letter-spacing: .12em; mix-blend-mode: multiply; opacity: .92;
  -webkit-mask: radial-gradient(circle at 30% 40%, #000 60%, rgba(0,0,0,.75) 61%) , linear-gradient(#000, #000);
  text-shadow: 0 0 1px #C8242F; }
.card .stamp { background: rgba(255,255,255,.85); }
.stamp-big { top: 18px; inset-inline-end: -18px; font-size: clamp(2rem, 6vw, 3.4rem); border-width: 7px; rotate: -18deg; background: rgba(255,255,255,.6); }
.photos { align-items: start; }
.project-name { white-space: nowrap; font-size: clamp(2.1rem, 9vw, 4.8rem); }
/* Chat with Gever: on a mouse it trails the cursor while Gever is on screen */
.chat-pill.chasing { position: fixed; left: 0; top: 0; margin: 0; z-index: 30; box-shadow: 3px 3px 0 var(--ink); }
/* Back to the top: a bouncing button in the corner once you're deep in the page */
.to-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; animation: hop 2.2s ease-in-out infinite; }
.to-top[hidden] { display: none; }
@keyframes hop { 0%, 60%, 100% { translate: 0 0; } 70% { translate: 0 -14px; } 80% { translate: 0 0; } 88% { translate: 0 -6px; } }
.belt-paused { position: absolute; top: 6px; left: 50%; translate: -50% 0; z-index: 3; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .75rem var(--body); letter-spacing: .04em; opacity: 0; transition: opacity .2s; pointer-events: none; }
.conveyor.held .belt-paused { opacity: 1; }
/* the opening "Scroll" hint: centered and a bit bigger, clear of the language button */
.scroll-hint { left: 50%; translate: -50% 0; bottom: 92px; font-size: 1.05rem; }
.uav-tag { font-size: .32em; font-weight: 700; letter-spacing: 0; vertical-align: middle; color: var(--muted); }
.photos { max-width: 1240px; width: 100%; justify-self: stretch; }
/* the PRD-to-production line, between the big projects and the small ones */
.prd-stat { max-width: 1240px; margin: 2vh auto 4vh; padding: 0 var(--pad); text-align: center; font: 800 clamp(1.3rem, 3.4vw, 2.4rem)/1.15 var(--display); letter-spacing: -.02em; }
.prd-stat span { background: linear-gradient(transparent 62%, #FFE08A 62%); padding: 0 .15em; }
/* the last step of the staircase sparkles */
.three .sparkle span { position: relative; }
.three .sparkle span::after { content: "✦ ✧ ✦"; position: absolute; inset-inline-end: -.2em; top: -.55em; font-size: .38em; color: #F2B134; letter-spacing: .2em; animation: twinkle 1.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.8) rotate(12deg); } }
.stamp-big { rotate: none; top: 26px; inset-inline-end: -30px; } /* GSAP sets the 45° turn */
/* Tools belt: every tool with its logo, moving as one endless strip */
.tools-track { will-change: transform; }
.tools-track li { display: inline-flex; align-items: center; gap: 8px; }
.tools-track img { width: 20px; height: 20px; opacity: .8; }
.tools-track .mono { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--ink); color: #fff; font: 800 .7rem var(--body); }
.three .sparkle span { white-space: normal; }
/* In numbers */
.t-aside { font-size: .45em; font-weight: 700; opacity: .85; }
.p-logo-sm { width: 28px; height: 28px; border-radius: 7px; }
/* round 12 */
.beat-intro { min-height: 0; padding-top: 40px; } /* keeps the tilted photo below the first frame */
.also { display: grid; gap: 16px; }
.also-row > span[data-i18n^="p"] { flex: 1 1 260px; }
.also-row .cta { white-space: nowrap; flex: none; }
.also-row { width: 100%; }
.skill-list { padding-inline: var(--pad); }
.skill { font: 800 clamp(1.7rem, 5.4vw, 4.4rem)/1.06 var(--display); letter-spacing: -.035em; padding-block: .14em; border-bottom: 2px solid var(--line); }
.skill:nth-child(even) { text-align: end; }
/* round 13 */
html[dir="rtl"] .lang-toggle { right: auto; left: 16px; }
html[dir="rtl"] .card-body { direction: rtl; text-align: right; }
.spill { opacity: 1; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)) saturate(1.4); width: 22px; height: 22px; }
.stamp-big { font-size: clamp(1.5rem, 4.2vw, 2.5rem); border-width: 5px; }
.stack { font: 700 .9rem var(--body); color: var(--muted); letter-spacing: .02em; }
.giant-and { font-size: .6em; }
.uav-tag { font-size: .3em; }
.t-aside { transition: text-shadow .9s, color .9s; border-radius: .3em; }
.t-aside.glow { color: #C9562F; opacity: 1; text-shadow: 0 0 10px rgba(242,177,52,.9), 0 0 26px rgba(242,177,52,.6); }
.tools-track li.key { font-size: 1.25rem; padding: 13px 24px; color: var(--ink); border-color: var(--ink); }
.tools-track li.key img { width: 28px; height: 28px; opacity: 1; }
.t-aside { white-space: nowrap; }
html[dir="rtl"] .stack { text-align: right; }
/* no motion (or no JS): SOLD still sits at 45° in the corner */
html:not(.js-motion) .stamp-big { rotate: 45deg; }
html[dir="rtl"]:not(.js-motion) .stamp-big { rotate: -45deg; }
/* mobile pass */
@media (max-width: 600px) {
  .three li { font-size: clamp(1.45rem, 7.4vw, 2.2rem); }
  .three li span { white-space: normal; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos .polaroid:last-child { grid-column: 1 / -1; justify-self: center; width: 62%; }
  .story-0 { min-height: 36svh; }
  .story-1, .story-2 { min-height: auto; padding-block: 7vh; }
  .stamp-big { inset-inline-end: -14px; top: 14px; }
}
.uav-tag { font-size: max(.3em, .72rem); }
.mstats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mstats li { display: grid; gap: 2px; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; min-width: 0; }
.mstats b { font: 900 1.25rem/1 var(--display); letter-spacing: -.02em; }
.mstats span { font: 600 .78rem/1.2 var(--body); color: var(--muted); }
html[dir="rtl"] .mstats b { text-align: right; }
.skill { font-size: clamp(1.5rem, 4.4vw, 3.5rem); }
/* mobile: swiping the belt doesn't freeze it, so no "paused" tag */
@media (hover: none) { .belt-paused { display: none; } }
.vwrap { position: relative; width: fit-content; max-width: 100%; margin-inline: auto; }
/* top-right, pointing at the video's own speaker button */
.sound-hint { position: absolute; top: 10px; right: 52px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font: 700 .8rem var(--body); cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.sound-hint[hidden] { display: none; }
.sound-hint .blink { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
