/* =========================================================
   S. Hamid Reza M.K. - portfolio prototype v0.2
   Blue hour in the mountains: a navy night sky that brightens toward a dawn horizon.
   Content floats on liquid-glass panels; one luminous blue-to-violet accent carries every call to action.
   Mobile-first: base styles are for phones, wider screens add room.
   ========================================================= */

:root {
  --sky-0: #030916;
  --sky-1: #061333;      /* page */
  --sky-2: #0A1C47;      /* raised section */
  --sky-3: #12306E;      /* horizon haze */
  --ink: #EEF3FF;
  --ink-2: #C3CEEA;
  --muted: #8C9AC2;
  --line: rgba(180, 205, 255, .12);
  --line-2: rgba(180, 205, 255, .22);
  --glass: rgba(255, 255, 255, .06);
  --glass-2: rgba(255, 255, 255, .11);

  --accent: #4D8DFF;     /* electric blue */
  --accent-2: #7FD0FF;   /* ice */
  --violet: #9B7BFF;
  --dawn: #FFB46B;       /* first light */
  --grad: linear-gradient(100deg, #7FD0FF 0%, #4D8DFF 30%, #9B7BFF 60%, #FF8FB1 85%, #FFB46B 100%);
  --btn: linear-gradient(120deg, #3D7BFF 0%, #6C63FF 55%, #9B7BFF 100%);

  --c1: #38BDF8; /* discover   */
  --c2: #FF7A59; /* create     */
  --c3: #A78BFA; /* innovate   */
  --c4: #34D399; /* accelerate */
  --c5: #FBBF24; /* profit     */

  --font-display: "Sora", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  --gutter: 16px;
  --header-h: 64px;
  color-scheme: dark;
}
html[lang="fa"], html[lang="ar"] {
  --font-display: "Vazirmatn", Tahoma, sans-serif;
  --font-sans: "Vazirmatn", Tahoma, sans-serif;
}
@media (min-width: 640px) { :root { --gutter: 24px; --header-h: 72px; --r-card: 26px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sky-1); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 17px; } }
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] * { letter-spacing: 0 !important; }   /* tracking breaks Persian/Arabic joining */

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -100px; inset-inline-start: 16px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left center; transition: transform .8s var(--ease) .1s; }
[dir="rtl"] .kicker::before { transform-origin: right center; }
html.js .kicker[data-reveal]:not(.is-in)::before { transform: scaleX(0); }
[dir="rtl"] .kicker { font-size: 13.5px; }

.h1, .h2, .h3, .hero-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; text-wrap: balance; color: var(--ink); }
.h1 { font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 1.04; }
.h2 { font-size: clamp(1.75rem, 5vw, 3.1rem); line-height: 1.1; margin-bottom: 16px; }
.h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.3; }
[dir="rtl"] :is(.h1, .h2, .h3, .hero-title) { font-weight: 800; line-height: 1.35; }
.lead { font-size: clamp(1.03rem, 1.5vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
[dir="rtl"] .lead { line-height: 1.95; }
p + p { margin-top: 12px; }
.grad { background: var(--grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

/* text that lights up word by word (resting state stays readable) */
[data-split] .w, [data-words] .w { display: inline-block; vertical-align: top; }
[data-split] .w > span { display: inline-block; transition: color .9s var(--ease), transform 1s var(--ease), opacity .9s; transition-delay: calc(var(--i) * 55ms); }
[data-words] .w > span { display: inline; transition: color .7s var(--ease), opacity .7s; transition-delay: calc(var(--i) * 16ms); }
html.js [data-split]:not(.is-in) .w > span { color: var(--muted); transform: translateY(.18em); opacity: .7; }
html.js [data-words]:not(.is-in) .w > span { color: var(--muted); opacity: .75; }
.grad[data-split] .w > span { background: var(--grad); background-size: 170% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite alternate; }
.grad[data-split] .w:nth-child(2) > span { animation-delay: -3s; }
/* the hero rises in on load */
.hero [data-split] .w { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
html.js .hero [data-split]:not(.is-in) .w > span { transform: translateY(108%); opacity: 1; color: inherit; }

[data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease); }
html.js [data-reveal]:not(.is-in) { transform: translateY(18px); }
html.js .hero [data-reveal]:not(.is-in) { opacity: 0; }

/* ---------- Icons ---------- */
i[data-icon] { display: inline-flex; width: 1.2em; height: 1.2em; flex: none; }
i[data-icon] svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] i[data-icon="arrow"] svg, [dir="rtl"] i[data-icon="send"] svg { transform: scaleX(-1); }

/* Apple-style glass icon tile: tinted glass, gloss, white glyph */
.gi {
  --tone: var(--accent);
  position: relative; display: grid; place-items: center; flex: none; overflow: hidden; color: #fff;
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--tone) 60%, #fff) 0%, var(--tone) 50%, color-mix(in srgb, var(--tone) 70%, #000) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 -3px 8px rgba(0,0,0,.18), 0 8px 22px -8px color-mix(in srgb, var(--tone) 85%, transparent);
  animation: bob 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -0.8s);
}
.gi::after { content: ""; position: absolute; inset: 0 0 50% 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); }
.gi i[data-icon] { width: 22px; height: 22px; position: relative; z-index: 1; }
.gi i[data-icon] svg { stroke-width: 2; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }
.gi.sm { width: 34px; height: 34px; border-radius: 10px; }
.gi.sm i[data-icon] { width: 18px; height: 18px; }
.gi.lg { width: 54px; height: 54px; border-radius: 16px; }
.gi.lg i[data-icon] { width: 26px; height: 26px; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
/* glyphs draw themselves in when their block arrives */
.is-in .gi svg > *, .gi.pop svg > * { stroke-dasharray: 1; animation: draw 1.1s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * 90ms); }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Glass ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 24px 50px -30px rgba(0,0,0,.7);
}

/* Cards: arrive with a lift, carry a faint light that orbits their edge, tilt toward the pointer */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card {
  position: relative; isolation: isolate; border-radius: var(--r-card);
  background:
    linear-gradient(115deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%) no-repeat,
    linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  background-size: 260% 100%, 100% 100%;
  background-position: 130% 0, 0 0;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 22px 44px -28px rgba(0,0,0,.75);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform .9s var(--ease), border-color .3s, box-shadow .4s, opacity .3s;
  transition-delay: var(--d, 0ms);
}
.card::after {                                    /* orbiting light on the border */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--a), transparent 0deg 290deg, rgba(127,208,255,.0) 300deg, rgba(150,210,255,.85) 332deg, #fff 342deg, transparent 356deg);
  -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);
  animation: orbit 7s linear infinite; animation-delay: calc(var(--i, 0) * -1.4s); opacity: .7;
}
@keyframes orbit { to { --a: 360deg; } }
.card::before {                                   /* pointer glare */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; z-index: 0; transition: opacity .35s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--tone, var(--accent)) 26%, transparent), transparent 60%);
}
.card > * { position: relative; z-index: 1; }
html.js .card:not(.is-in) { transform: perspective(900px) translateY(34px) scale(.96) rotateX(9deg); }
.card.is-in { animation: sweep 1.6s var(--ease) both; animation-delay: calc(var(--d, 0ms) + 250ms); }
@keyframes sweep { from { background-position: 130% 0, 0 0; } to { background-position: -30% 0, 0 0; } }
@media (hover: hover) {
  .card:hover { --lift: -4px; border-color: color-mix(in srgb, var(--tone, var(--accent)) 45%, transparent); transition: transform .15s linear, border-color .3s, box-shadow .4s; transition-delay: 0ms;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 26px 50px -24px color-mix(in srgb, var(--tone, var(--accent)) 55%, transparent); }
  .card:hover::before { opacity: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding-inline: 22px; border-radius: 999px; border: 0;
  font-family: var(--font-sans); font-weight: 700; font-size: 15.5px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
}
.btn:active { transform: scale(.97); }
.btn i[data-icon] { transition: transform .35s var(--ease); }
.btn:hover i[data-icon] { transform: translateX(3px); }
[dir="rtl"] .btn:hover i[data-icon] { transform: translateX(-3px); }
/* the one primary style: luminous, so it is the most distinct thing in any view */
.btn-glow { color: #fff; background: var(--btn); box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 12px 34px -10px rgba(77,141,255,.85), 0 0 40px -10px rgba(155,123,255,.7); }
.btn-glow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); animation: btn-shine 4.5s var(--ease) infinite 1.5s; }
@keyframes btn-shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 18px 40px -10px rgba(77,141,255,.95), 0 0 60px -8px rgba(155,123,255,.8); }
.btn-glass { color: var(--ink); background: rgba(255,255,255,.07); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding-inline: 16px; font-size: 14px; }
.btn-block { width: 100%; }
@media (min-width: 640px) { .btn { min-height: 54px; padding-inline: 26px; font-size: 16px; } .btn-sm { min-height: 42px; font-size: 14.5px; } }

/* ---------- 3D stage (blue-hour sky behind the canvas) ---------- */
.stage {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 45% at 72% 100%, rgba(255,150,90,.28), transparent 65%),
    radial-gradient(70% 40% at 15% 0%, rgba(77,141,255,.22), transparent 70%),
    linear-gradient(180deg, var(--sky-0) 0%, #071535 40%, #0F2A62 72%, #1B3D82 100%);
}
.stage canvas { width: 100%; height: 100%; display: block; }

/* ---------- Effects ---------- */
/* shooting stars across the night sky */
.meteor { position: absolute; top: 0; left: 0; width: 160px; height: 1.5px; border-radius: 2px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(190,225,255,.9) 85%, #fff); filter: drop-shadow(0 0 6px rgba(150,200,255,.9));
  transform-origin: right center; animation: meteor 13s linear infinite; }
.m-1 { --x: 78vw; --y: 9vh; animation-delay: 2.5s; }
.m-2 { --x: 52vw; --y: 4vh; animation-duration: 19s; animation-delay: 9s; width: 120px; }
.m-3 { --x: 92vw; --y: 22vh; animation-duration: 23s; animation-delay: 15s; }
@keyframes meteor {
  0%, 90% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(-28deg) scaleX(.2); }
  91% { opacity: 1; }
  97% { opacity: .9; transform: translate(calc(var(--x) - 34vw), calc(var(--y) + 18vh)) rotate(-28deg) scaleX(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) - 40vw), calc(var(--y) + 21vh)) rotate(-28deg) scaleX(.6); }
}
/* a soft light that follows the cursor */
.cursor-glow { position: fixed; z-index: 2; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(110,160,255,.16), rgba(155,123,255,.07) 40%, transparent 65%); mix-blend-mode: screen; transition: opacity .6s; will-change: transform; }
.cursor-glow.on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }
/* button ripple */
.ripple { position: absolute; z-index: 0; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: rgba(255,255,255,.45); pointer-events: none; animation: ripple .7s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(18); opacity: 0; } }
/* sparks from the send button */
.spark { position: fixed; z-index: 80; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: var(--c, #fff); box-shadow: 0 0 10px var(--c, #fff); animation: spark .9s var(--ease) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
/* fine film grain over the page (desktop) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .055;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    animation: grain .9s steps(4) infinite; }
}
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(5, 14, 38, .55); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(5, 14, 38, .72); }
.scroll-progress { position: absolute; inset-inline-start: 0; bottom: -1px; height: 2px; width: calc(var(--sp, 0) * 100%); background: var(--grad); box-shadow: 0 0 12px rgba(127,208,255,.7); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-mark rect { fill: #102B66; }
.brand-mark path { fill: var(--accent-2); }
.brand-name { font-family: "Sora", sans-serif; font-size: 15px; white-space: nowrap; letter-spacing: -.01em; }
.nav { display: none; gap: 26px; margin-inline-start: auto; font-size: 15px; color: var(--ink-2); }
.nav a { position: relative; padding-block: 6px; transition: color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.lang { display: none; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.lang button { border: 0; background: transparent; height: 32px; min-width: 38px; padding-inline: 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); font-family: "Manrope", sans-serif; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: #fff; color: #0A1C47; }
/* WordPress: each language is a link to its own URL */
.lang a { display: inline-grid; place-items: center; height: 32px; min-width: 38px; padding-inline: 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); font-family: "Manrope", sans-serif; transition: background .2s, color .2s; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { background: #fff; color: #0A1C47; }
.lang-mobile a { min-width: 56px; height: 40px; font-size: 14px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .6; cursor: progress; }
.header-cta { display: none; }
.menu-toggle { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.06); position: relative; }
.menu-toggle span:not(.sr-only) { position: absolute; inset-inline-start: 11px; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), top .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: rgba(5, 14, 38, .96); }
.mobile-menu nav { display: grid; padding: 8px var(--gutter) 18px; }
.mobile-menu a { padding-block: 13px; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); }
.lang-mobile { display: flex; width: max-content; margin: 16px var(--gutter) 4px; }
.lang-mobile button { min-width: 56px; height: 40px; font-size: 14px; }
@media (min-width: 560px) { .lang:not(.lang-mobile) { display: flex; } .lang-mobile { display: none; } }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }
@media (min-width: 1080px) { .nav { display: flex; } .header-tools { margin-inline-start: 0; } .menu-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; align-items: flex-start; padding-top: calc(var(--header-h) + 34svh); padding-bottom: 90px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0, transparent 33%, rgba(6,19,51,.78) 46%, var(--sky-1) 70%); }
.hero-inner { position: relative; }
.hero-copy { max-width: 720px; }
.hello { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hello-photo { width: 60px; height: 60px; flex: none; border-radius: 50%; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 58%, transparent 100%); }
.hello-text { display: grid; gap: 1px; min-width: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.hello-text b { color: #fff; font-weight: 700; font-size: 15px; }
.hero-title { font-size: clamp(2.5rem, 10.5vw, 6.6rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 18px; }
.hero-title .line { display: block; white-space: nowrap; }
[dir="rtl"] .hero-title { font-size: clamp(2.2rem, 9vw, 5.4rem); line-height: 1.3; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 580px; margin-bottom: 18px; }
.outcomes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.outcomes li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(255,255,255,.06); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
[dir="rtl"] .outcomes li { padding: 6px 8px 6px 12px; }
.outcomes li i[data-icon] { width: 16px; height: 16px; color: var(--tone); filter: drop-shadow(0 0 6px var(--tone)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.scroll-cue { display: none; }
@media (min-width: 761px) {
  .hero { align-items: center; padding-top: var(--header-h); padding-bottom: 110px; }
  .hero::before { background: linear-gradient(90deg, rgba(6,19,51,.55), transparent 55%); }
  [dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(6,19,51,.55), transparent 55%); }
  .hello-photo { width: 76px; height: 76px; }
  .hello-text { font-size: 14px; }
  .hello-text b { font-size: 16px; }
  .outcomes li { font-size: 14px; padding: 7px 14px 7px 10px; }
  .scroll-cue { position: absolute; bottom: 78px; inset-inline-start: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  [dir="rtl"] .scroll-cue { translate: 50% 0; }
}
/* "Tap the mind": phones only, small and faint, sits just under the brain; fades away after the first touch */
.mind-hint { display: none; }
@media (max-width: 760px) and (pointer: coarse) {
  .mind-hint {
    position: absolute; z-index: 2; left: 50%; top: calc(var(--header-h) + 27svh); translate: -50% 0;
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(180,205,255,.18);
    background: rgba(6,19,51,.35); color: var(--ink-2); font: 700 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: .8; animation: hint-glow 2.8s ease-in-out infinite;
    transition: opacity .6s, transform .6s;
  }
  [dir="rtl"] .mind-hint { letter-spacing: 0; font-size: 11.5px; }
  .mind-hint i[data-icon] { width: 13px; height: 13px; color: var(--accent-2); }
  .mind-hint.used { opacity: 0; transform: translateY(-6px); pointer-events: none; }
}
@keyframes hint-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(127,208,255,0); } 50% { box-shadow: 0 0 16px 2px rgba(127,208,255,.25); } }
.mouse { width: 22px; height: 34px; border: 1.6px solid var(--muted); border-radius: 12px; position: relative; }
.mouse span { position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

.proof-strip { position: absolute; inset-inline: 0; bottom: 0; height: 54px; display: flex; align-items: center; border-top: 1px solid var(--line); background: rgba(5,14,38,.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.marquee { overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee-track > span { display: inline-flex; align-items: center; gap: 9px; padding-inline-end: 34px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.marquee-track > span i[data-icon] { color: var(--accent-2); width: 17px; height: 17px; }

/* ---------- Sections ---------- */
.section { position: relative; z-index: 1; background: var(--sky-1); padding-block: clamp(72px, 11vw, 140px); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }

/* soft photos: every photo melts into the night at its edges */
img.soft {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
img.soft-round { border-radius: 50%; object-fit: cover; -webkit-mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%); mask-image: radial-gradient(circle closest-side, #000 60%, transparent 100%); }

/* ---------- About ---------- */
.about { background: radial-gradient(60% 50% at 20% 30%, rgba(77,141,255,.16), transparent 70%), var(--sky-1); }
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.photo-glow { position: absolute; inset: 10% 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(77,141,255,.55), rgba(155,123,255,.25) 45%, transparent 70%); filter: blur(30px); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.about-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 18%; }
.photo-chips { position: absolute; inset-inline: 6%; bottom: 4%; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(10, 28, 71, .55); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.8);
  animation: bob 6s ease-in-out infinite; }
.chip:nth-child(2) { animation-delay: -2s; }
.chip:nth-child(3) { animation-delay: -4s; }
.chip i[data-icon] { color: var(--accent-2); width: 16px; height: 16px; }
.chip.clock b { font-variant-numeric: tabular-nums; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.about-copy p:not(.kicker):not(.lead) { color: var(--ink-2); }
.traits { display: grid; gap: 10px; margin-top: 26px; }
.traits li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.traits b { display: block; font-size: 1rem; color: #fff; }
.traits span span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(48px, 7vw, 90px); border-radius: var(--r-card); overflow: hidden; }
.stats li { padding: 20px 16px; display: grid; gap: 6px; align-content: start; border-inline-start: 1px solid var(--line); border-top: 1px solid var(--line); }
.stats li:nth-child(odd) { border-inline-start: 0; }
.stats li:nth-child(-n+2) { border-top: 0; }
.stats li:last-child { grid-column: span 2; }
.stat-n { display: block; font-family: var(--font-display); font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-n sup { font-size: .5em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: top; position: relative; top: .2em; margin-inline-start: 2px; }
.stat-l { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.photo-chips { bottom: 0; gap: 6px; }
@media (min-width: 640px) { .chip { padding: 8px 13px; font-size: 13px; gap: 7px; } .photo-chips { bottom: 4%; gap: 8px; } }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); }
  .traits { grid-template-columns: repeat(3, 1fr); }
  .traits li { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .stats li, .stats li:nth-child(odd) { border-inline-start: 1px solid var(--line); border-top: 0; padding: 26px 22px; }
  .stats li:first-child { border-inline-start: 0; }
  .stats li:last-child { grid-column: auto; }
}

/* ---------- Value engine (glass over a drifting aurora) ---------- */
.value { background: var(--sky-2); overflow: hidden; isolation: isolate; }
.value::before, .value::after { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.value::before { top: 0; inset-inline-start: -20%; background: radial-gradient(circle, var(--accent), transparent 62%), radial-gradient(circle at 75% 70%, var(--violet), transparent 55%); animation: aurora 18s ease-in-out infinite alternate; }
.value::after { bottom: -10%; inset-inline-end: -25%; background: radial-gradient(circle, #1FB6FF, transparent 60%), radial-gradient(circle at 25% 30%, #FF7AB8, transparent 55%); animation: aurora 22s ease-in-out infinite alternate-reverse; }
@keyframes aurora { 0% { translate: 0 0; scale: 1; } 50% { translate: 10% 8%; scale: 1.12; } 100% { translate: -6% 4%; scale: .95; } }
.engine { position: relative; display: grid; gap: 22px; }
.engine-lines { display: none; }
.engine-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 12px; }
.engine-col ul { display: grid; gap: 10px; }
.eng-item {
  position: relative; z-index: 1; width: 100%; display: flex; align-items: center; gap: 14px; text-align: start; padding: 14px 16px; color: var(--ink); font: inherit;
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
.engine.has-focus .eng-item:not(.on) { opacity: .45; }
.eng-item.on { border-color: color-mix(in srgb, var(--tone) 60%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tone) 40%, transparent), 0 20px 44px -20px color-mix(in srgb, var(--tone) 70%, transparent); }
.eng-item b { display: block; font-size: 1.02rem; font-weight: 800; color: #fff; line-height: 1.3; }
.eng-item span span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.engine-core { display: grid; place-items: center; }
.core-orb {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; padding: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; color: #fff; position: relative; isolation: isolate;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.22), rgba(255,255,255,.06) 60%, rgba(255,255,255,.03));
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.25); box-shadow: inset 0 2px 1px rgba(255,255,255,.3), 0 30px 60px -24px rgba(0,0,0,.6);
}
.core-orb::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; z-index: -1; filter: blur(18px); opacity: .8;
  background: conic-gradient(from 0deg, var(--c1), var(--accent), var(--violet), #FF8FB1, var(--dawn), var(--c1)); animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hint { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink-2); }
@media (min-width: 900px) {
  .engine { grid-template-columns: 1fr 240px 1fr; gap: 40px; align-items: center; }
  .engine-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
  .engine-lines path { fill: none; stroke: rgba(170,200,255,.22); stroke-width: 1.5; transition: stroke .3s, opacity .3s; }
  .engine-lines path.on { stroke: var(--accent-2); stroke-width: 2.2; stroke-dasharray: 6 8; animation: flow 1.2s linear infinite; filter: drop-shadow(0 0 6px var(--accent)); }
  .engine.has-focus .engine-lines path:not(.on) { opacity: .2; }
  .core-orb { width: 210px; height: 210px; font-size: 1.2rem; }
}
@keyframes flow { to { stroke-dashoffset: -28; } }

/* ---------- Ascent (3D) ---------- */
.ascent { position: relative; z-index: 1; height: 560vh; --camp-color: var(--c1); }
.ascent-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.ascent-ui { position: relative; height: 100%; }
.ascent-intro { position: absolute; inset-inline: var(--gutter); top: 15vh; max-width: 720px; margin-inline: auto; text-align: center; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ascent-intro .kicker { justify-content: center; }
.ascent-intro .h2, .ascent-intro .lead { text-shadow: 0 2px 24px rgba(3,9,22,.85); }
.ascent:not(.at-intro) .ascent-intro { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.camp-card {
  position: absolute; inset-inline: var(--gutter); bottom: 10px; padding: 11px 12px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(10,28,71,.72), rgba(6,19,51,.6)); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.85), 0 0 0 1px color-mix(in srgb, var(--camp-color) 18%, transparent);
  display: grid; grid-template-columns: 62px 1fr; column-gap: 12px; align-items: start;
  transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .6s;
}
.ascent.at-intro .camp-card, .ascent.at-summit .camp-card { opacity: 0; transform: translateY(24px); pointer-events: none; }
.camp-photo { grid-row: span 3; position: relative; aspect-ratio: 1; border-radius: 16px; }
.camp-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.camp-ph { position: absolute; inset: 0; border-radius: 16px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--camp-color) 70%, transparent), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.camp-photo img:not([hidden]) + .camp-ph { display: none; }
.camp-icon { position: absolute; inset-inline-end: -8px; bottom: -8px; --tone: var(--camp-color); }
.camp-ph ~ .camp-icon { }
.camp-top { display: flex; justify-content: space-between; gap: 10px; font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.camp-alt > span { display: none; }
@media (min-width: 761px) { .camp-alt > span { display: inline; } }
.camp-no b { color: var(--camp-color); font-variant-numeric: tabular-nums; }
.camp-no .of { opacity: .6; }
.camp-alt { display: inline-flex; align-items: center; gap: 5px; }
.camp-alt i[data-icon] { width: 14px; height: 14px; color: var(--camp-color); }
.camp-alt b { color: #fff; font-variant-numeric: tabular-nums; }
.camp-name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-weight: 600; letter-spacing: -.035em; margin-top: 2px; }
[dir="rtl"] .camp-name { font-weight: 800; line-height: 1.4; }
.camp-q { font-size: .95rem; font-weight: 700; line-height: 1.4; color: var(--camp-color); }
.camp-body { grid-column: 1 / -1; color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.camp-proof { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.proof-label { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.proof-label i[data-icon] { width: 13px; height: 13px; color: var(--camp-color); }
.camp-proof p { font-size: 13.5px; font-weight: 600; line-height: 1.45; color: #fff; }
/* camp number + altitude: large, soft readout at the top of the screen */
.ascent-hud {
  position: absolute; left: 50%; top: calc(var(--header-h) + 40px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  background: radial-gradient(120% 140% at 50% 50%, rgba(6,19,51,.6), rgba(6,19,51,.25) 70%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.ascent.at-intro .ascent-hud { opacity: 0; transform: translate(-50%, -12px); }
.hud-camp, .hud-alt { display: grid; justify-items: center; line-height: 1.1; }
.hud-label { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); opacity: .85; }
.hud-label i[data-icon] { width: 13px; height: 13px; color: var(--camp-color); }
.ascent-hud b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; text-shadow: 0 2px 18px rgba(3,9,22,.9); }
.hud-camp b { color: var(--camp-color); transition: color .5s; }
.hud-camp { grid-template-columns: auto auto; column-gap: 2px; align-items: baseline; }
.hud-camp .hud-label { grid-column: 1 / -1; }
.hud-camp .of { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink-2); opacity: .7; }
.hud-sep { width: 1px; height: 30px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.35), transparent); }
@media (min-width: 761px) { .ascent-hud { top: calc(var(--header-h) + 24px); gap: 22px; padding: 12px 34px; } .ascent-hud b { font-size: 2rem; } .hud-label { font-size: 11.5px; } }

/* phones: a compact card, so the flag and trail above it stay in view */
@media (max-width: 760px) {
  .camp-photo { border-radius: 12px; }
  .camp-ph { border-radius: 12px; }
  .camp-icon.gi { width: 28px; height: 28px; border-radius: 8px; inset-inline-end: -6px; bottom: -6px; }
  .camp-icon.gi i[data-icon] { width: 15px; height: 15px; }
  .camp-top { font-size: 10px; }
  .camp-name { font-size: 1.15rem; }
  .camp-q { font-size: .82rem; line-height: 1.35; }
  .camp-body { font-size: 12.5px; line-height: 1.45; margin-top: 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .camp-proof { margin-top: 7px; padding-top: 7px; }
  .proof-label { font-size: 9.5px; margin-bottom: 1px; }
  .camp-proof p { font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  [dir="rtl"] .camp-name { line-height: 1.3; }
  [dir="rtl"] .camp-q, [dir="rtl"] .camp-body { line-height: 1.6; }
}
/* fields arrive one after another when the camp changes */
.camp-card [data-camp], .camp-card .camp-photo { transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s var(--ease); }
.camp-card [data-camp="q"] { transition-delay: 60ms; }
.camp-card [data-camp="body"] { transition-delay: 120ms; }
.camp-card [data-camp="proof"] { transition-delay: 180ms; }
.camp-card .swap-out { opacity: 0; transform: translateY(10px); filter: blur(4px); }
.camp-rail { position: absolute; top: calc(var(--header-h) + 14px); inset-inline-start: var(--gutter); display: flex; gap: 10px; }
.camp-rail li { position: relative; font-size: 0; display: flex; }
.camp-rail li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.35); transition: all .35s var(--ease); }
.camp-rail li.passed::after { background: var(--tone); border-color: var(--tone); }
.camp-rail li.active::after { background: var(--tone); border-color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 30%, transparent), 0 0 16px var(--tone); transform: scale(1.2); }
.summit-cta { position: absolute; inset-inline: var(--gutter); bottom: 10vh; display: grid; justify-items: center; gap: 14px; text-align: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.ascent.at-summit .summit-cta { opacity: 1; transform: none; pointer-events: auto; }
.summit-title { font-family: var(--font-display); font-size: clamp(1.9rem, 6vw, 3.4rem); font-weight: 600; letter-spacing: -.035em; filter: drop-shadow(0 4px 24px rgba(3,9,22,.9)); }
[dir="rtl"] .summit-title { font-weight: 800; }
@media (min-width: 761px) {
  .ascent { height: 620vh; }
  .camp-card { inset-inline: var(--gutter) auto; top: 50%; bottom: auto; transform: translateY(-50%); width: min(470px, 46%); padding: 20px; grid-template-columns: 1fr; }
  .ascent.at-intro .camp-card, .ascent.at-summit .camp-card { transform: translateY(-44%); }
  .camp-photo { grid-row: auto; aspect-ratio: 16 / 8; margin-bottom: 14px; }
  .camp-icon { inset-inline-end: 12px; bottom: -14px; }
  .camp-top { font-size: 12px; margin-bottom: 4px; }
  .camp-name { font-size: clamp(2.1rem, 3.6vw, 3rem); margin-bottom: 6px; }
  .camp-q { font-size: 1.12rem; }
  .camp-body { font-size: 15.5px; }
  .camp-proof p { font-size: 14.5px; }
  .camp-rail { top: 50%; inset-inline-start: auto; inset-inline-end: var(--gutter); transform: translateY(-50%); flex-direction: column-reverse; gap: 22px; }
  .camp-rail::before { content: ""; position: absolute; inset-inline-end: 6px; top: 8px; bottom: 8px; width: 2px; background: rgba(255,255,255,.14); border-radius: 2px; }
  .camp-rail::after { content: ""; position: absolute; inset-inline-end: 6px; bottom: 8px; width: 2px; height: calc((100% - 16px) * var(--p, 0)); background: linear-gradient(0deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5)); border-radius: 2px; box-shadow: 0 0 10px rgba(127,208,255,.6); }
  .camp-rail li { font-size: 13px; font-weight: 700; color: var(--ink-2); gap: 12px; align-items: center; justify-content: flex-end; text-shadow: 0 2px 12px rgba(3,9,22,.9); z-index: 1; }
  .camp-rail li.active { color: #fff; }
  .camp-rail li::after { width: 14px; height: 14px; }
}

/* ---------- Services ---------- */
.services { background: radial-gradient(50% 40% at 85% 10%, rgba(155,123,255,.14), transparent 70%), var(--sky-1); }
/* portrait beside "Where I can help" */
.services-intro { display: grid; gap: 8px; align-items: center; margin-bottom: clamp(24px, 4vw, 48px); }
.services-intro .section-head { margin-bottom: 0; }
.services-photo { position: relative; width: min(300px, 78%); margin: 0 auto; }
.services-photo img { position: relative; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.services-photo .photo-glow { inset: 14% 4% 8%; background: radial-gradient(circle, rgba(155,123,255,.5), rgba(77,141,255,.25) 45%, transparent 70%); }
@media (min-width: 900px) {
  .services-intro { grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 72px); }
  .services-photo { width: 100%; margin: 0; }
}
.bento { display: grid; gap: 12px; }
.svc { padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.svc-no { font-size: 12.5px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc h3 { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: #fff; }
[dir="rtl"] .svc h3 { font-weight: 800; line-height: 1.5; }
.svc p { color: var(--ink-2); font-size: 14.5px; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); gap: 14px; } .svc:last-child { grid-column: span 2; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .svc { grid-column: span 2; padding: 28px; min-height: 250px; }
  .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 3; }
  .svc:last-child { grid-column: span 2; }
  .svc-top { margin-bottom: auto; }
  .svc h3 { font-size: 1.35rem; margin-top: 36px; }
}

/* toolbox: app icons with a short note each */
.toolbox { margin-top: clamp(48px, 7vw, 80px); }
.toolbox-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 16px; }
.toolbox-head p { color: var(--ink-2); font-size: 14.5px; }
/* phones: two per row, icon above the text */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tool { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; --tone: var(--fg); }
.tool b { display: block; font-size: .92rem; color: #fff; }
.tool span span { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.4; }
@media (min-width: 700px) {
  .tools { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
  .tool { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; }
  .tool b { font-size: .98rem; }
  .tool span span { font-size: 13px; }
}
.app-icon {
  position: relative; overflow: hidden; flex: none; width: 52px; height: 52px; border-radius: 26%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--fg) 35%, var(--bg)), var(--bg) 70%);
  color: var(--fg); font: 800 1.05rem/1 "Sora", sans-serif; letter-spacing: -.03em;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 60%, transparent), inset 0 1px 1px rgba(255,255,255,.35), 0 10px 24px -10px color-mix(in srgb, var(--fg) 80%, transparent);
  transition: transform .5s var(--spring);
}
.app-icon::after { content: ""; position: absolute; inset: 0 0 55% 0; background: linear-gradient(180deg, rgba(255,255,255,.28), transparent); }
.app-icon::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.55) 50%, transparent 58%); transform: translateX(-70%); transition: transform .9s var(--ease); }
.app-icon .mark { position: relative; z-index: 1; text-shadow: 0 0 14px color-mix(in srgb, var(--fg) 70%, transparent); }
@media (hover: hover) { .tool:hover .app-icon { transform: rotate(-8deg) scale(1.08); } .tool:hover .app-icon::before { transform: translateX(70%); } }

/* mid-page call to action */
.cta-band { margin-top: clamp(48px, 7vw, 80px); border-radius: var(--r-card); padding: 20px; display: grid; gap: 14px; justify-items: start; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 200%; background: radial-gradient(circle, rgba(77,141,255,.35), transparent 60%); filter: blur(30px); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
@media (min-width: 760px) { .cta-band { grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 26px 30px; } }

/* ---------- Samin story ---------- */
.story { background: radial-gradient(55% 45% at 80% 50%, rgba(56,189,248,.14), transparent 70%), var(--sky-2); }
.story .kicker { color: #7FE0FF; }
.story-grid { display: grid; gap: 36px; align-items: center; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #B7F5DA; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3); margin-bottom: 16px; }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 15px; }
.lesson { margin-top: 24px; padding: 16px 18px; border-radius: 18px; font-size: 1.02rem; line-height: 1.55; color: #fff; background: linear-gradient(120deg, rgba(77,141,255,.16), rgba(155,123,255,.1)); border: 1px solid var(--line-2); }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(48px, 13vw, 104px); gap: 0; }
.m { overflow: visible; }
.m img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s ease-in-out infinite alternate; }
.m:nth-child(2n) img { animation-delay: -6s; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
.m1 { grid-column: 1 / 5; grid-row: 1 / 4; }
.m2 { grid-column: 4 / 7; grid-row: 1 / 5; z-index: 1; }
.m2 img { object-position: 50% 15%; }
.m3 { grid-column: 1 / 4; grid-row: 3 / 6; }
.m4 { grid-column: 4 / 7; grid-row: 4 / 6; }
.m5 { grid-column: 2 / 5; grid-row: 5 / 7; z-index: 1; }
.m5 img { object-position: 50% 35%; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); } }

/* ---------- Ventures: compact cards with a small animated illustration ---------- */
.ventures { background: radial-gradient(50% 40% at 15% 20%, rgba(251,191,36,.08), transparent 70%), var(--sky-1); }
.venture-row { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 14px; margin-inline: calc(-1 * var(--gutter)); scrollbar-width: none; }
.venture-row::-webkit-scrollbar { display: none; }
.venture { scroll-snap-align: start; padding: 10px 10px 14px; display: grid; gap: 4px; align-content: start; }
.v-art { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; margin-bottom: 8px;
  background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--tone) 45%, transparent), transparent 65%), linear-gradient(160deg, #0E2457, #081739); }
.v-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.v-art .ln { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.v-art .tone { fill: var(--tone); }
.v-art .tone-ln { fill: none; stroke: var(--tone); stroke-width: 2.2; stroke-linecap: round; }
.v-art .glow { filter: drop-shadow(0 0 6px var(--tone)); }
.v-no { position: absolute; top: 8px; inset-inline-start: 10px; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.venture b { font-size: .98rem; color: #fff; padding-inline: 4px; }
.venture > span { color: var(--ink-2); font-size: 13px; line-height: 1.4; padding-inline: 4px; }
@media (min-width: 700px) { .venture-row { grid-auto-columns: 34%; } }
@media (min-width: 1024px) { .venture-row { grid-auto-flow: row; grid-template-columns: repeat(6, 1fr); overflow: visible; padding: 0; margin: 0; } }
/* illustration motion */
.a-squeegee { animation: squeegee 3.2s ease-in-out infinite; }
.a-ink { transform-box: fill-box; transform-origin: left center; animation: ink 3.2s ease-in-out infinite; }
@keyframes squeegee { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(36px); } }
@keyframes ink { 0%, 100% { transform: scaleX(.05); } 50% { transform: scaleX(1); } }
.a-drop { animation: drop 2.8s var(--spring) infinite; }
.a-drop.d2 { animation-delay: .5s; }
@keyframes drop { 0% { transform: translateY(-34px); opacity: 0; } 25% { opacity: 1; } 45%, 85% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
.a-slides { animation: slides 7.5s var(--ease) infinite; }
@keyframes slides { 0%, 28% { transform: translateX(0); } 33%, 61% { transform: translateX(-84px); } 66%, 95% { transform: translateX(-168px); } 100% { transform: translateX(0); } }
.a-fan { transform-box: view-box; transform-origin: 80px 50px; animation: spin .45s linear infinite; }
.a-cube { animation: holo 2.4s ease-in-out infinite; }
@keyframes holo { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.a-sun { animation: sunrise 5s ease-in-out infinite alternate; }
@keyframes sunrise { from { transform: translateY(16px); } to { transform: translateY(-8px); } }
.a-shine { animation: goldshine 3s ease-in-out infinite; }
@keyframes goldshine { 0% { transform: translateX(-90px) skewX(-20deg); } 60%, 100% { transform: translateX(110px) skewX(-20deg); } }
.brands { margin-top: clamp(40px, 6vw, 64px); }
.brand-track > span { font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 2rem); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(200,220,255,.55); gap: 30px; padding-inline-end: 30px; letter-spacing: -.02em; }
.brand-track > span::after { content: "\2726"; -webkit-text-stroke: 0; color: var(--accent-2); font-size: 12px; }
.marquee-slow .marquee-track { animation-duration: 34s; }
/* second strip: smaller, moving the other way */
.brands-sub { margin-top: 18px; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.brand-track-sm > span { font-size: clamp(.95rem, 1.8vw, 1.25rem); gap: 22px; padding-inline-end: 22px; -webkit-text-stroke: 0; color: rgba(200,220,255,.6); }
.brand-track-sm > span::after { font-size: 9px; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
[dir="rtl"] .marquee-reverse .marquee-track { animation-direction: reverse; }

/* ---------- Learning ---------- */
.learning { background: radial-gradient(50% 40% at 85% 60%, rgba(77,141,255,.14), transparent 70%), var(--sky-2); }
.learning-grid { display: grid; gap: 36px; align-items: center; }
/* certificates: one per row */
.gear { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
.gear li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; font-weight: 600; font-size: 14.5px; line-height: 1.35; }
[dir="rtl"] .gear li { padding: 10px 10px 10px 14px; }
.gear li > span:not(.gi):not(.g-check) { flex: 1; min-width: 0; }
.g-check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #34D399; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); }
.g-check i[data-icon] { width: 13px; height: 13px; }
.g-check i[data-icon] svg { stroke-width: 2.6; }
.learning-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.lp { position: relative; margin: 0; }
.lp img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lp2 { margin-top: 18%; }
.lp figcaption { position: absolute; inset-inline: 10%; bottom: 8%; padding: 6px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-align: center; color: #fff; background: rgba(10,28,71,.6); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (min-width: 900px) { .learning-grid { grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); } .gear li { font-size: 15px; } }

/* ---------- Contact: the summit at dawn ---------- */
.contact { position: relative; z-index: 1; overflow: hidden; padding-top: clamp(80px, 11vw, 140px); background: linear-gradient(180deg, var(--sky-1) 0%, #0B2155 55%, #1E3F86 82%, #3A4F8E 100%); }
.contact-sky { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(70% 40% at 50% 100%, rgba(255,170,100,.45), transparent 70%),
  radial-gradient(40% 25% at 50% 100%, rgba(255,210,150,.4), transparent 70%); }
.contact-sky::before { content: ""; position: absolute; inset: 0 0 45% 0; opacity: .7;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 42%, #fff, transparent), radial-gradient(1.5px 1.5px at 44% 12%, #fff, transparent), radial-gradient(1px 1px at 58% 30%, #fff, transparent), radial-gradient(1px 1px at 71% 16%, #fff, transparent), radial-gradient(1.5px 1.5px at 86% 36%, #fff, transparent), radial-gradient(1px 1px at 93% 10%, #fff, transparent), radial-gradient(1px 1px at 6% 40%, #fff, transparent);
  background-size: 560px 380px; animation: twinkle 5s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .35; } }
.ridges { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: clamp(160px, 30%, 320px); pointer-events: none; }
.contact-grid { position: relative; display: grid; gap: 32px; padding-bottom: clamp(170px, 26vw, 330px); }
.contact .h1 { margin-bottom: 14px; }
.contact .lead { color: var(--ink-2); }
.contact-me { display: flex; align-items: center; gap: 14px; margin-block: 24px; }
.contact-me img { width: 80px; height: 80px; }
.contact-me b { display: block; font-size: 1.02rem; }
.contact-me span { font-size: 13.5px; color: var(--ink-2); }
.channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.channels a { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.channels a:hover { background: rgba(255,255,255,.1); border-color: var(--line-2); transform: translateY(-2px); }
.channels small { margin-inline-start: auto; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.contact-form { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-card); }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: #fff; padding: 13px 15px; border-radius: 14px;
  background: rgba(3,9,22,.35); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(77,141,255,.25); }
.form-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: var(--ink-2); }
.form-note i[data-icon] { color: #34D399; width: 16px; height: 16px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.trust li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); }
.trust li i[data-icon] { width: 14px; height: 14px; color: var(--dawn); }
.site-footer { position: relative; border-top: 1px solid rgba(255,255,255,.1); background: rgba(3,9,22,.55); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: var(--ink-2); }
.footer-inner a:hover { color: #fff; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: start; } .contact-form { padding: 28px; } }
@media (max-width: 420px) { .channels { grid-template-columns: 1fr; } }

/* ---------- Sticky call to action (phones) ---------- */
.sticky-cta { position: fixed; z-index: 45; inset-inline: var(--gutter); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateY(140%); transition: transform .5s var(--spring); }
.sticky-cta.show { transform: none; }
@media (min-width: 761px) { .sticky-cta { display: none; } }

/* ---------- Toast & badge ---------- */
.toast { position: fixed; bottom: 90px; left: 50%; transform: translate(-50%, 30px); z-index: 60; padding: 12px 20px; border-radius: 999px; background: #fff; color: #0A1C47; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s var(--ease); box-shadow: 0 20px 40px -16px rgba(0,0,0,.8); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.proto-badge { display: none; }
@media (min-width: 761px) { .proto-badge { display: block; } }
.proto-badge { position: fixed; top: calc(var(--header-h) + 10px + env(safe-area-inset-top, 0px)); inset-inline-end: 10px; z-index: 40; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); background: rgba(5,14,38,.6); border: 1px dashed var(--line-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
}
