/* ===== Yoni Barak — v3 · palette E "Futuristic" =====
   base #07080F · text #EEF1FF · muted #A3ABC8 · accent lime #C8FF33
   aurora: violet #7C5CFF · teal #18E0C8 (low alpha, backgrounds only) · holo edge conic */
:root {
  --bg: #07080F; --bg-2: #0B0D18; --text: #EEF1FF; --muted: #A3ABC8; --line: rgba(255,255,255,.10);
  --lime: #C8FF33; --on-lime: #07080F; --lime-halo: rgba(200,255,51,.28);
  --violet: #7C5CFF; --teal: #18E0C8;
  --dot: radial-gradient(circle at 35% 30%, #E6FF8F 0, #C8FF33 45%, #A6E01A 100%);
  --dot-glow: 0 0 40px rgba(200,255,51,.5), 0 0 140px rgba(200,255,51,.22);
  --holo: conic-gradient(from 140deg, #7C5CFF, #18E0C8, #C8FF33, #FF8AD8, #7C5CFF);
  --glass: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  --r: 28px; --wrap: 1320px; --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16,1,.3,1);
}
/* Heebo variable (self-hosted, OFL) — hebrew + latin subsets */
@font-face{font-family:'Heebo';font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/heebo-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:'Heebo';font-style:normal;font-weight:300 900;font-display:swap;src:url(fonts/heebo-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;}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--on-lime); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.nw { white-space: nowrap; }
.line { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: fixed; top: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-weight: 700; text-decoration: none; transform: translateY(-150%); }
.skip:focus { transform: none; }

/* ===== aurora (transform-only animation) ===== */
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora::before { content: ""; position: absolute; inset: -30%; will-change: transform;
  background:
    radial-gradient(35% 30% at 25% 35%, rgba(124,92,255,.38), transparent 70%),
    radial-gradient(30% 28% at 72% 22%, rgba(24,224,200,.20), transparent 70%),
    radial-gradient(28% 25% at 55% 78%, rgba(200,255,51,.08), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate; }
.aurora::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 85%); }
.aurora--b::before { animation-duration: 32s; animation-direction: alternate-reverse; }
.aurora--c::before { background:
    radial-gradient(40% 40% at 50% 60%, rgba(124,92,255,.32), transparent 70%),
    radial-gradient(30% 30% at 30% 30%, rgba(24,224,200,.16), transparent 70%); }
@keyframes aurora { 50% { transform: translate3d(6%, -4%, 0) rotate(8deg) scale(1.08); } 100% { transform: translate3d(-5%, 5%, 0) rotate(-6deg); } }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 "Heebo", system-ui, sans-serif; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .25s; }
.btn:active { transform: scale(.97); }
.btn--wa { background: var(--lime); color: var(--on-lime); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px var(--lime-halo), 0 12px 40px -8px rgba(200,255,51,.45); }
.btn--ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* ===== top bar ===== */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad);
  transition: background-color .4s, padding .4s, box-shadow .4s; }
.bar.is-scrolled { background: rgba(7,8,15,.62); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  padding-block: 10px; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.bar__mark { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.bar__mark i, .footer__mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 14px rgba(200,255,51,.6); display: block; flex: none; }
.bar__nav { display: flex; gap: 26px; margin-inline-start: auto; font-weight: 500; font-size: 15px; }
.bar__nav a { color: var(--muted); text-decoration: none; transition: color .2s; }
.bar__nav a:hover { color: var(--text); }
@media (max-width: 900px) { .bar__nav, .bar__wa { display: none; } }

/* ===== hero (type-led) ===== */
.hero { position: relative; min-height: 100svh; padding: clamp(96px, 12vh, 140px) 0 clamp(56px, 8vh, 96px); display: flex; flex-direction: column; justify-content: center; isolation: isolate; overflow: clip; }
.hero__wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: center; }
@media (min-width: 1000px) { .hero__wrap { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); } }
.hero__eyebrow { direction: ltr; text-align: right; font-weight: 500; font-size: clamp(12px, 1.15vw, 16px); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(10px, 1.4vw, 18px); white-space: nowrap; }
.hero__name { font-weight: 900; font-size: clamp(76px, 21vw, 200px); line-height: .86; letter-spacing: -.035em; white-space: nowrap; }
@media (min-width: 1000px) { .hero__name { font-size: clamp(120px, 12.6vw, 200px); } }
.hero__sub { margin-top: clamp(24px, 3vw, 40px); font-size: clamp(21px, 1.85vw, 28px); font-weight: 700; line-height: 1.3; }
.hero__bg { margin-top: 14px; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); max-width: 44ch; padding-inline-start: 14px; border-inline-start: 2px solid var(--lime); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 2.8vw, 36px); }
@media (max-width: 599px) {
  .hero { padding-top: 76px; }
  .hero__ctas { flex-wrap: nowrap; }
  .hero__ctas .btn--wa { flex: 1 1 auto; padding: 0 16px; }
  .hero__ctas .btn--ghost { padding: 0 16px; }
}
@media (max-width: 400px) { .hero__eyebrow { letter-spacing: .16em; font-size: 11px; } }
@media (max-width: 359px) { .hero__ctas { flex-wrap: wrap; } .hero__ctas .btn { flex: 1 1 100%; } }

/* the visual: glowing lime dot + orbit rings (the reel's dot / ring-pulse motif). Own grid cell → never touches text */
.hero__visual { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
@media (max-width: 999px) { .hero__visual { order: -1; width: min(44vw, 230px); justify-self: end; margin-inline-end: -2vw; } }
.orbit { position: absolute; border-radius: 50%; }
.orbit--outer { inset: 0; border: 1px dashed rgba(200,255,51,.28); animation: spin 70s linear infinite; }
.orbit--outer i { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #EEF1FF; box-shadow: 0 0 12px rgba(238,241,255,.8); }
.orbit--inner { inset: 11%; border: 1px solid rgba(255,255,255,.12); }
.hero__dot { position: absolute; inset: 22%; border-radius: 50%; background: var(--dot); box-shadow: var(--dot-glow);
  transform: scale(.2); animation: dotIn 1.4s var(--ease) .3s forwards, breathe 7s ease-in-out 1.8s infinite alternate; }
.pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(200,255,51,.7); animation: pulse 4.2s var(--ease) 2s infinite; opacity: 0; }
@keyframes dotIn { to { transform: scale(1); } }
@keyframes breathe { from { transform: scale(1) translateY(0); } to { transform: scale(1.04) translateY(-2%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.42); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero intro (on load): tracked name like the reel chapter cards */
.hero__name { animation: nameIn 1.6s var(--ease) both; }
@keyframes nameIn { from { letter-spacing: .3em; opacity: .35; } to { letter-spacing: -.035em; opacity: 1; } }
.hero__eyebrow { animation: eyebrowIn 1.6s var(--ease) .15s both; }
@keyframes eyebrowIn { from { letter-spacing: .7em; opacity: 0; } to { letter-spacing: .3em; opacity: 1; } }
.hero__sub, .hero__bg, .hero__ctas { animation: rise .9s var(--ease) both; }
.hero__sub { animation-delay: .6s; } .hero__bg { animation-delay: .72s; } .hero__ctas { animation-delay: .84s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ===== marquee ===== */
.marquee { position: relative; z-index: 2; background: var(--lime); color: var(--on-lime); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); margin-block: -8px; }
.marquee__track { display: flex; width: max-content; animation: mq 40s linear infinite; }
.marquee__half { display: flex; }
.marquee span { display: flex; align-items: center; font-weight: 900; font-size: clamp(22px, 2.6vw, 36px); padding: 12px 0; white-space: nowrap; }
.marquee span::after { content: ""; width: .38em; height: .38em; border-radius: 50%; background: var(--on-lime); margin-inline: .9em; }
@keyframes mq { to { transform: translateX(50%); } }

/* ===== sections ===== */
.section { position: relative; padding-block: clamp(84px, 11vw, 150px); isolation: isolate; overflow: clip; }
.works, .services, .lecturer, .closing { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--lime); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(200,255,51,.6); }
.h2 { font-size: clamp(36px, 6vw, 88px); font-weight: 900; line-height: .98; letter-spacing: -.03em; margin-bottom: clamp(36px, 5vw, 64px); }

/* heading reveal: letter-tracking (+ subtle blur on desktop only) */
.track { letter-spacing: .22em; transition: letter-spacing 1.5s var(--ease), filter 1.1s var(--ease); }
.track.in { letter-spacing: -.03em; }
@media (min-width: 900px) and (hover: hover) { .track:not(.in) { filter: blur(5px); } }
@media (max-width: 599px) { .track:not(.in) { letter-spacing: .03em; } }

/* ===== reel ===== */
.reel { padding-top: clamp(96px, 10vw, 140px); padding-bottom: clamp(32px, 4vw, 56px); }
.works { padding-top: clamp(56px, 7vw, 100px); }
.reel__frame { position: relative; border-radius: var(--r); aspect-ratio: 16 / 9; overflow: hidden; background: #000; isolation: isolate;
  box-shadow: 0 50px 120px -40px rgba(124,92,255,.45), 0 0 0 1px rgba(255,255,255,.1); }
.reel__frame iframe, .reel__facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel__facade { padding: 0; margin: 0; background: #000; cursor: pointer; display: grid; place-items: center; }
.reel__facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: .9; }
.reel__facade:hover img { transform: scale(1.03); opacity: 1; }
.reel__play { position: relative; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--dot); color: var(--on-lime);
  box-shadow: var(--dot-glow); transition: transform .5s var(--ease); }
.reel__play .ico { width: 38%; height: 38%; margin-left: 6%; }
.reel__facade:hover .reel__play { transform: scale(1.08); }

/* ===== about (text-led) ===== */
.about { position: relative; }
.about__grid { display: grid; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.about__head { position: relative; }
@media (min-width: 1000px) { .about__head { position: sticky; top: 110px; } }
.about__title { white-space: nowrap; font-size: clamp(56px, 7.4vw, 116px); font-weight: 900; line-height: .9; letter-spacing: -.035em; }
.about__title::after { content: ""; display: inline-block; width: .16em; height: .16em; margin-inline-start: .08em; border-radius: 50%; background: var(--dot); box-shadow: 0 0 24px rgba(200,255,51,.55); vertical-align: baseline; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 2.6vw, 36px); }
.tools li { font-size: 14px; font-weight: 600; letter-spacing: .02em; padding: 7px 14px; border-radius: 999px; color: var(--text);
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.tools li:last-child { border-color: rgba(200,255,51,.55); color: var(--lime); }
.about__body { display: grid; gap: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line); padding-top: clamp(22px, 2.6vw, 34px); }
@media (min-width: 1000px) { .about__body { margin-top: clamp(14px, 1.6vw, 26px); } }
.about__lead { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; max-width: 30ch; }
.about__p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; color: var(--muted); max-width: 46ch; }

/* ===== works ===== */
/* A. carousel */
.works__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.works__top .h2 { margin-bottom: 0; }
.car__ctrl { display: flex; align-items: center; gap: 10px; flex: none; padding-bottom: 6px; }
.car__count { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--muted); margin-inline-end: 12px; direction: ltr; white-space: nowrap; }
.car__count b { font-size: 28px; font-weight: 900; color: var(--text); margin-inline-end: 6px; letter-spacing: -.02em; }
.car__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18); transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--ease); }
.car__btn .ico { width: 22px; height: 22px; }
.car__btn:hover:not(:disabled) { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.car__btn:active:not(:disabled) { transform: scale(.94); }
.car__btn:disabled { opacity: .35; cursor: default; }
.car { margin-top: clamp(26px, 3vw, 44px); }
.car__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); scroll-padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  padding-block: 6px 4px; }
.car__track::-webkit-scrollbar { display: none; }
.car__track:focus-visible { outline-offset: -3px; border-radius: 0; }
.car__track .card { scroll-snap-align: start; min-width: 0; }
.car__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.car__track.is-drag .card__btn { pointer-events: none; }
@media (min-width: 700px) { .car__track { grid-auto-columns: calc((min(100vw, var(--wrap)) - 2 * var(--pad) - clamp(14px, 1.6vw, 24px)) / 2); } }
@media (min-width: 1080px) { .car__track { grid-auto-columns: calc((min(100vw, var(--wrap)) - 2 * var(--pad) - 2 * clamp(14px, 1.6vw, 24px)) / 3); } }
@media (hover: hover) { .car__track { cursor: grab; } }
/* soft fade where the next card peeks out (RTL: the far end is on the left) */
@media (min-width: 700px) { .car__track { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)))); mask-image: linear-gradient(to right, transparent 0, #000 max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)))); } }
.car__bar { height: 3px; margin-top: clamp(22px, 2.4vw, 34px); background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.car__bar i { display: block; height: 100%; background: var(--lime); transform-origin: right; transform: scaleX(.2); transition: transform .35s var(--ease); }
@media (max-width: 699px) {
  .car__btn { width: 46px; height: 46px; }
  .car__count { display: none; }
}

.card__btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; text-align: start; border-radius: var(--r); }
.card__btn:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #11131f; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 70px -40px rgba(0,0,0,.9); }
.card__media img, .card__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__preview { opacity: 0; transition: opacity .4s; }
.is-previewing .card__preview { opacity: 1; }
.card__btn:hover .card__media img, .card__btn:focus-visible .card__media img { transform: scale(1.03); }
.card__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--dot); color: var(--on-lime);
  box-shadow: 0 0 30px rgba(200,255,51,.45); opacity: 0; transform: scale(.85); transition: opacity .4s, transform .5s var(--ease); }
/* text in the middle of the thumbnail: play button sits low instead */
.card__media--low .card__play { inset: auto 0 11% 0; margin: 0 auto; }
.card__play .ico { width: 40%; height: 40%; margin-left: 6%; }
.card__btn:hover .card__play, .card__btn:focus-visible .card__play { opacity: 1; transform: scale(1); }
@media (hover: none) { .card__play { opacity: .95; transform: scale(.9); } }
.card__meta { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; padding: 16px 4px 0; }
.card__client { font-size: clamp(20px, 1.8vw, 26px); font-weight: 900; line-height: 1.2; }
.card__line { font-size: 15px; color: var(--muted); }

/* ===== services: three equal glass tiles ===== */
.services { background: var(--bg-2); }
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tile { position: relative; border-radius: var(--r); padding: clamp(26px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  min-height: clamp(220px, 26vw, 360px); isolation: isolate; color: var(--text);
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  transition: color .3s ease; }
.tile h3 { font-size: clamp(40px, 4.6vw, 72px); font-weight: 900; line-height: .95; letter-spacing: -.03em; }
.tile p { font-size: 16.5px; line-height: 1.55; font-weight: 500; max-width: 36ch; }
/* 1px iridescent edge — masked pseudo so the glass stays see-through */
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--holo); opacity: .7; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* lime fill layer: fades + settles in on hover / focus-within / .is-active (touch, centre of screen) */
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--lime); box-shadow: 0 0 70px -12px rgba(200,255,51,.5);
  opacity: 0; transform: scale(.965); transition: opacity .32s ease, transform .45s var(--ease); }
.tile:hover, .tile:focus-within, .tile.is-active { color: var(--on-lime); }
.tile:hover::after, .tile:focus-within::after, .tile.is-active::after { opacity: 1; transform: none; }
.tile:hover::before, .tile:focus-within::before, .tile.is-active::before { opacity: 0; }
@media (max-width: 820px), (hover: none) {
  .tile { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04)); }
}

/* ===== lecturer ===== */
.lecturer__body { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .lecturer__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lecturer__photo { order: 2; } }
.lecturer__photo { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 90px -40px rgba(124,92,255,.5); }
.lecturer__photo img { width: 100%; height: auto; aspect-ratio: 1800 / 1013; object-fit: cover; }
.lead { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; font-weight: 500; max-width: 40ch; }
.inst__intro { margin-top: 28px; font-weight: 700; color: var(--lime); }
.inst { margin: 12px 0 32px; display: grid; gap: 8px; }
.inst li { display: flex; align-items: center; gap: 12px; font-size: clamp(16px, 1.5vw, 18px); color: var(--text); }
.inst li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px rgba(200,255,51,.6); flex: none; }

/* ===== closing ===== */
.closing { text-align: center; padding-block: clamp(110px, 14vw, 200px); }
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing .kicker { justify-content: center; }
.closing__title { font-size: clamp(28px, 8vw, 112px); font-weight: 900; line-height: 1; letter-spacing: -.035em; margin-bottom: clamp(32px, 4vw, 52px); }
.closing__title .nw:last-child { color: var(--lime); }
.closing__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-bottom: clamp(30px, 4vw, 44px); }
.biglink { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; text-decoration: none; padding-bottom: 6px;
  background: linear-gradient(var(--lime), var(--lime)) 0 100% / 100% 2px no-repeat; transition: background-size .5s var(--ease), color .2s; }
.biglink .ico { color: var(--lime); }
.biglink:hover { color: var(--lime); }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--line); padding-block: 26px; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__mark { display: inline-flex; align-items: center; gap: 10px; }
.footer__meta { display: inline-flex; align-items: center; gap: 20px; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); }
.footer__top:hover { color: var(--text); }

/* ===== mobile dock ===== */
.dock { position: fixed; z-index: 60; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(12,14,26,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1);
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; }
.dock.is-on { transform: none; visibility: visible; transition: transform .5s var(--ease), visibility 0s; }
.dock .btn { min-height: 48px; }
.dock .btn--wa { flex: 1; }
.dock .btn--call { flex: 0 0 48px; padding: 0; background: rgba(255,255,255,.1); color: #fff; }
@media (min-width: 901px) { .dock { display: none; } }
@media (min-width: 600px) { .dock { max-width: 520px; margin-inline: auto; } }
@media (max-width: 900px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* ===== player dialog ===== */
.player { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 20px; background: #000; overflow: visible; }
.player::backdrop { background: rgba(4,5,10,.85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player .ratio { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player__close { position: absolute; top: -54px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lime); color: var(--on-lime); display: grid; place-items: center; cursor: pointer; }

/* ===== pause control for looping animations (WCAG 2.2.2) ===== */
.motion-btn { position: absolute; z-index: 3; bottom: 14px; inset-inline-end: var(--pad); display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 0; background: rgba(7,8,15,.55); color: var(--muted); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
  font: 600 13px/1 "Heebo", system-ui, sans-serif; cursor: pointer; transition: color .2s, box-shadow .2s; }
.motion-btn:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.motion-btn .ico { width: 14px; height: 14px; }
.motion-btn .ico:not(.ico--pause), .motion-btn[aria-pressed="true"] .ico--pause { display: none; }
.motion-btn[aria-pressed="true"] .ico:not(.ico--pause) { display: block; }
.motion-btn[aria-pressed="true"] { color: var(--on-lime); background: var(--lime); box-shadow: none; }
.motion-paused .marquee__track, .motion-paused .aurora::before, .motion-paused .orbit--outer, .motion-paused .pulse { animation-play-state: paused; }
.motion-paused .hero__dot { animation-play-state: running, paused; }
.footer__a11y { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer__a11y:hover { color: var(--lime); }

/* ===== accessibility statement page ===== */
.doc { padding-block: clamp(110px, 12vw, 160px) clamp(70px, 9vw, 120px); }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -.03em; margin-bottom: clamp(26px, 3vw, 40px); }
.doc h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.25; margin: clamp(34px, 4vw, 48px) 0 12px; }
.doc p, .doc li { color: var(--muted); font-size: 17px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc .doc__lead { color: var(--text); font-size: clamp(19px, 1.9vw, 23px); font-weight: 500; line-height: 1.55; }
.doc p + ul, .doc ul + p { margin-top: 14px; }
.doc ul { display: grid; gap: 8px; }
.doc li { display: flex; gap: 12px; align-items: baseline; }
.doc li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); flex: none; transform: translateY(-2px); }
.doc a:not(.btn) { color: var(--text); text-underline-offset: 3px; }
.doc a:not(.btn):hover { color: var(--lime); }
.doc .meta { margin-top: clamp(34px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.doc .btn { margin-top: clamp(30px, 4vw, 44px); }
.doc-page .bar { position: absolute; }
@media (max-width: 900px) { .doc-page .footer { padding-bottom: 26px; } }

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .track { opacity: 1; letter-spacing: -.03em; filter: none; }
    .hero__dot { transform: none; }
  .pulse { display: none; }
}
