/* Ehab Talks — site styles. Dark navy, blue gradient accent, Space Grotesk + Inter (IBM Plex Sans Arabic for /ar). */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-500.woff2") format("woff2"); font-weight: 500 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/ibm-plex-sans-arabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --bg: #070A13; --bg-2: #0A0E19; --card: #0C111D; --card-2: #111829;
  --line: rgba(255,255,255,.06); --line-2: rgba(255,255,255,.1);
  --text: #F5F5F5; --soft: #C3C9D6; --muted: #8B93A7;
  --blue: #4A7FE8; --blue-2: #3B5BDB; --sky: #5B9FD8;
  --grad: linear-gradient(135deg, #3B5BDB, #4A7FE8 55%, #5B9FD8);
  --display: "Space Grotesk", "Plex Arabic", system-ui, sans-serif;
  --body: "Inter", "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px; --gut: clamp(20px, 4vw, 40px);
  --r: 14px; --ease: cubic-bezier(.2,.7,.2,1);
  --hdr: 84px;
}
[dir="rtl"] { --display: "Plex Arabic", "Space Grotesk", system-ui, sans-serif; --body: "Plex Arabic", "Inter", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(74,127,232,.4); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.i { width: 18px; height: 18px; flex: none; }
[dir="rtl"] .i--flip { transform: scaleX(-1); }
bdi { unicode-bidi: isolate; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent; font: 500 15.5px/1 var(--body); white-space: nowrap; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s; }
.btn .i { width: 16px; height: 16px; }
.btn--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -12px rgba(74,127,232,.7); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(74,127,232,.9); }
.btn--dark { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--text); }
.btn--dark:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.btn--full { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: var(--text); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.2); padding-bottom: 6px; transition: gap .3s var(--ease), border-color .3s; }
.link:hover { gap: 16px; border-color: var(--blue); }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.hdr.is-solid { background: rgba(7,10,19,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.hdr__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 14px; font-size: 14.5px; color: var(--soft); transition: color .25s; }
.nav > a:hover, .nav > a.is-on { color: var(--text); }
.nav > a.is-on::after { content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 1.5px; border-radius: 2px; background: var(--grad); }
.nav__socials { display: none; }
.hdr__end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.02); }
.lang a { min-width: 44px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; text-align: center; color: var(--muted); line-height: 1.2; transition: color .2s, background .2s; }
.lang a[lang="ar"] { font-family: "Plex Arabic", sans-serif; font-size: 13px; }
.lang a:hover { color: var(--text); }
.lang a.is-on { background: rgba(255,255,255,.1); color: var(--text); }
.hdr__menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.hdr__menu span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.hdr__menu span:first-child { top: 17px; } .hdr__menu span:last-child { top: 25px; }
.menu-open .hdr__menu span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .hdr__menu span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: calc(100svh - 0px); display: grid; place-items: center; text-align: center; padding: calc(var(--hdr) + 40px) 0 110px; overflow: hidden; isolation: isolate; }
.hero__dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__glow, .phero__glow, .band__glow { position: absolute; z-index: -2; pointer-events: none; }
.hero__glow { inset: -10% -10% auto; height: 120%; background: radial-gradient(48% 46% at 50% 44%, rgba(59,91,219,.22), rgba(59,91,219,.06) 45%, transparent 70%); }
.hero__in { max-width: 920px; }
.hero__kicker { font: 500 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
[dir="rtl"] .hero__kicker { letter-spacing: 0; font-size: 15px; }
.hero__title { margin: 26px 0 30px; font: 700 clamp(52px, 9vw, 104px)/.98 var(--display); letter-spacing: -.035em; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.72)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
[dir="rtl"] .hero__title { letter-spacing: 0; line-height: 1.2; }
.hero__lines { display: grid; gap: 14px; max-width: 640px; margin-inline: auto; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.hero__lines p:first-child { color: var(--soft); }
.hero__last { color: var(--text) !important; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 46px; }
.hero__down { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); border: 1px solid var(--line-2); animation: bob 2.6s ease-in-out infinite; }
.hero__down:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------------------------------------------------------------- page header */
.phero { position: relative; padding: calc(var(--hdr) + clamp(70px, 10vw, 120px)) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.phero__glow { inset: -40% -20% auto; height: 150%; background: radial-gradient(40% 40% at 50% 30%, rgba(59,91,219,.18), transparent 70%); }
.phero__title { font: 700 clamp(42px, 6.4vw, 80px)/1.02 var(--display); letter-spacing: -.03em; max-width: 14ch; margin-top: 22px; }
[dir="rtl"] .phero__title { letter-spacing: 0; line-height: 1.25; max-width: 18ch; }
.phero__lead { margin-top: 24px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); color: var(--soft); }

/* ---------------------------------------------------------------- sections */
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec--tight { padding-top: clamp(20px, 3vw, 40px); }
.sec--line { border-top: 1px solid var(--line); }
.sec__head { margin-bottom: clamp(36px, 5vw, 56px); }
.sec__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.kicker { display: inline-flex; align-items: center; gap: 14px; font: 500 12.5px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker span { width: 28px; height: 1.5px; border-radius: 2px; background: var(--grad); }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.sec__title { margin-top: 18px; font: 700 clamp(32px, 4.4vw, 54px)/1.06 var(--display); letter-spacing: -.025em; }
[dir="rtl"] .sec__title { letter-spacing: 0; line-height: 1.3; }
.prose { margin-top: 24px; color: var(--soft); font-size: 17px; display: grid; gap: 16px; max-width: 60ch; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); border-bottom: 1px solid var(--blue); }

/* ---------------------------------------------------------------- video cards */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.vcard { min-width: 0; }
.vcard.is-out { display: none; }
.vcard__link { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease); }
.vcard__link:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(74,127,232,.08); }
.vcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--card-2); }
.vcard__media img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.vcard__link:hover .vcard__media img { transform: scale(1.05); }
.vcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,10,19,0) 45%, rgba(7,10,19,.55)); }
.vcard__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard--tiktok .vcard__ph { background: radial-gradient(70% 90% at 20% 0%, rgba(37,244,238,.14), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(254,44,85,.12), transparent 60%), var(--card-2); }
.vcard--instagram .vcard__ph { background: radial-gradient(80% 90% at 0% 0%, rgba(214,41,118,.2), transparent 60%), radial-gradient(70% 90% at 100% 100%, rgba(254,218,117,.1), transparent 60%), var(--card-2); }
.vcard--youtube .vcard__ph { background: radial-gradient(80% 90% at 0% 0%, rgba(255,0,0,.14), transparent 60%), var(--card-2); }
.vcard--facebook .vcard__ph { background: radial-gradient(80% 90% at 0% 0%, rgba(24,119,242,.18), transparent 60%), var(--card-2); }
.vcard__ph-i { width: 38px; height: 38px; color: rgba(255,255,255,.14); }
.vcard__badge { position: absolute; top: 14px; inset-inline-start: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(7,10,19,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.08); }
.vcard__badge .i { width: 16px; height: 16px; }
.vcard--youtube .vcard__badge { color: #FF3B3B; } .vcard--tiktok .vcard__badge { color: #fff; } .vcard--instagram .vcard__badge { color: #F2557F; } .vcard--facebook .vcard__badge { color: #4D8EF7; }
.vcard__play { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); color: #fff; transition: transform .45s var(--ease), background .35s; }
.vcard__play .i { width: 22px; height: 22px; margin-inline-start: 3px; }
[dir="rtl"] .vcard__play .i { margin-inline-start: 0; margin-inline-end: 3px; }
.vcard__link:hover .vcard__play { transform: scale(1.1); background: var(--blue); border-color: transparent; }
.vcard__views { position: absolute; bottom: 14px; inset-inline-end: 14px; padding: 6px 11px; border-radius: 8px; background: rgba(7,10,19,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: 500 12.5px/1 var(--body); color: var(--text); }
.vcard__body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.vcard__title { font: 600 18px/1.35 var(--display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
[dir="rtl"] .vcard__title { letter-spacing: 0; line-height: 1.6; }
.vcard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .3s, gap .3s var(--ease); }
.vcard__cta .i { width: 15px; height: 15px; }
.vcard__link:hover .vcard__cta { color: var(--text); gap: 12px; }
.vcard--lg .vcard__title { font-size: 20px; }

/* ---------------------------------------------------------------- split (photo + text) */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.split__img { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.split__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,10,19,.5)), linear-gradient(135deg, rgba(59,91,219,.1), transparent 50%); pointer-events: none; }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1) contrast(1.05); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.split__img:hover img { filter: grayscale(.2) contrast(1.03); transform: scale(1.02); }
.split__img--tall { aspect-ratio: 3 / 4; }
.split__ph { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(74,127,232,.2), transparent 70%); }
.split--story { align-items: start; }
.split--story .split__img { position: sticky; top: calc(var(--hdr) + 24px); }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 20px 0 0; border-inline-end: 1px solid var(--line); }
[dir="rtl"] .stats > div { padding: 26px 0 0 20px; }
.stats > div + div { padding-inline-start: 24px; }
.stats > div:last-child { border-inline-end: 0; }
.stats dt { font: 700 clamp(30px, 3.4vw, 42px)/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.02em; }
.stats dd { margin-top: 10px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .stats dd { letter-spacing: 0; font-size: 14px; }

/* topics */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.topic { position: relative; padding: 34px 30px 36px; border-radius: var(--r); background: linear-gradient(180deg, var(--card), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; transition: border-color .35s, transform .45s var(--ease); }
.topic::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,127,232,.6), transparent); opacity: 0; transition: opacity .4s; }
.topic:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.1); }
.topic:hover::before { opacity: 1; }
.topic__n { font: 500 13px/1 var(--display); color: var(--blue); letter-spacing: .1em; }
.topic h3 { margin-top: 40px; font: 700 26px/1.2 var(--display); letter-spacing: -.02em; }
[dir="rtl"] .topic h3 { letter-spacing: 0; }
.topic p { margin-top: 12px; color: var(--muted); }

/* journey */
.journey { display: grid; border-top: 1px solid var(--line); }
.journey li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.journey__year { font: 600 15px/1.6 var(--display); color: var(--blue); }
.journey h3 { font: 600 22px/1.3 var(--display); letter-spacing: -.01em; }
.journey p { margin-top: 8px; color: var(--muted); max-width: 60ch; }

/* ---------------------------------------------------------------- closing band */
.band { position: relative; padding: clamp(90px, 12vw, 150px) 0; border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; text-align: center; }
.band__glow { inset: auto -20% -60%; height: 140%; background: radial-gradient(45% 45% at 50% 60%, rgba(59,91,219,.2), transparent 70%); }
.band__title { font: 700 clamp(36px, 5.6vw, 68px)/1.04 var(--display); letter-spacing: -.03em; }
[dir="rtl"] .band__title { letter-spacing: 0; line-height: 1.3; }
.band__text { margin: 20px auto 0; max-width: 520px; color: var(--soft); font-size: 17px; }
.band__cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 28px; }

/* socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--soft); transition: color .25s, border-color .25s, background .25s, transform .3s var(--ease); }
.socials a:hover { color: #fff; border-color: transparent; background: var(--blue-2); transform: translateY(-2px); }
.socials .i { width: 17px; height: 17px; }
.socials--lg a { width: 50px; height: 50px; }

/* ---------------------------------------------------------------- videos page */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--soft); font-size: 14.5px; cursor: pointer; transition: all .25s; }
.filters button .i { width: 15px; height: 15px; }
.filters button small { font-size: 11.5px; color: var(--muted); min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.06); }
.filters button:hover { color: var(--text); border-color: rgba(255,255,255,.2); }
.filters button.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.filters button.is-on small { background: rgba(7,10,19,.1); color: var(--bg); }
.follow { margin-top: 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; color: var(--muted); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.form { padding: clamp(26px, 4vw, 44px); border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.form__fields { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: grid; gap: 9px; }
.fld > span { font-size: 13.5px; color: var(--soft); }
.fld input, .fld select, .fld textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; font-size: 15.5px; color: var(--text); transition: border-color .2s, box-shadow .2s; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B93A7' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; padding-inline-end: 44px; }
[dir="rtl"] .fld select { background-position: left 14px center; }
.fld select:invalid { color: var(--muted); }
.fld textarea { resize: vertical; min-height: 150px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,127,232,.15); }
.fld input[dir="ltr"] { text-align: start; }
[dir="rtl"] .fld input[dir="ltr"] { text-align: right; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { color: #FF9C9C; font-size: 14px; }
.form__ok { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 50px 10px; font-size: 18px; }
.form__ok .i { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: var(--grad); color: #fff; }
.form__ok[hidden], .form__fields[hidden] { display: none; }
.contact__side h2 { font: 700 28px/1.2 var(--display); letter-spacing: -.02em; }
.ticks { display: grid; gap: 16px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; color: var(--soft); }
.ticks .i { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.contact__follow { margin: 44px 0 16px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .contact__follow { letter-spacing: 0; font-size: 14px; }

/* ---------------------------------------------------------------- footer */
.ftr { border-top: 1px solid var(--line); padding: 64px 0 34px; background: var(--bg-2); }
.ftr__top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.ftr__logo img { height: 46px; width: auto; }
.ftr__tag { color: var(--muted); font-size: 15px; }
.ftr__bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 13.5px; color: var(--muted); }
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.ftr__bot nav a:hover { color: var(--text); }

/* ---------------------------------------------------------------- 404 */
.nf { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; isolation: isolate; padding: var(--hdr) 0 60px; }
.nf__in { display: grid; justify-items: center; }
.nf .phero__title { max-width: none; }
.nf .phero__lead { margin-inline: auto; }

/* ---------------------------------------------------------------- video player */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb__back { position: absolute; inset: 0; background: rgba(3,5,10,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade .3s ease; }
.lb__box { position: relative; width: min(1100px, 100%); animation: rise .45s var(--ease); }
.lb__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 120px -30px rgba(0,0,0,.9); }
.lb.is-vertical .lb__box { width: min(400px, 100%, calc((100svh - 140px) * 9 / 16)); }
.lb.is-vertical .lb__frame { aspect-ratio: 9 / 16; }
.lb.is-instagram .lb__frame { aspect-ratio: 9 / 15.5; background: #fff; }
.lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.lb__bar a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); }
.lb__bar a:hover { color: var(--text); }
.lb__bar .i { width: 15px; height: 15px; }
.lb__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; }
.lb__close:hover { background: rgba(255,255,255,.16); }
body.lb-open { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------------------------------------------------------------- scroll reveal (only when JS runs) */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .hero__down { animation: none; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .vgrid, .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vgrid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .vgrid--3 > :last-child:nth-child(odd) .vcard__media { aspect-ratio: 21 / 9; }
  .split, .contact { grid-template-columns: 1fr; }
  .split__img { max-width: 520px; }
  .split--story .split__img { position: relative; top: 0; }
  .ftr__top { grid-template-columns: 1fr; justify-items: start; gap: 20px; }
}
@media (max-width: 820px) {
  :root { --hdr: 72px; }
  .hdr__logo img { height: 36px; }
  .hdr__menu { display: block; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: var(--hdr) var(--gut) 40px; background: rgba(7,10,19,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .hdr { background: transparent; border-color: transparent; backdrop-filter: none; }
  .nav > a { font: 700 40px/1.2 var(--display); color: var(--text); padding: 6px 0; letter-spacing: -.02em; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
  [dir="rtl"] .nav > a { letter-spacing: 0; }
  .menu-open .nav > a { transform: none; opacity: 1; }
  .menu-open .nav > a:nth-child(2) { transition-delay: .05s; } .menu-open .nav > a:nth-child(3) { transition-delay: .1s; } .menu-open .nav > a:nth-child(4) { transition-delay: .15s; }
  .nav > a.is-on { color: var(--blue); }
  .nav > a.is-on::after { display: none; }
  .nav__socials { display: flex; gap: 10px; margin-top: 30px; }
  .nav__socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--soft); }
  .nav__socials .i { width: 18px; height: 18px; }
  .hdr__end { margin-inline-start: auto; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .vgrid, .topics { grid-template-columns: 1fr; gap: 18px; }
  .vgrid--3 > :last-child:nth-child(odd) .vcard__media { aspect-ratio: 16 / 10; }
  .hero { padding-bottom: 96px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: 1fr; }
  .stats > div { padding-inline-end: 10px; }
  .stats > div + div { padding-inline-start: 14px; }
  .journey li { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .ftr__bot { flex-direction: column; align-items: flex-start; }
}
