/* ============================================
   ATIF ADEM — PORTFOLIO
   Dark, one accent, motion-first.
   (dashboard.html keeps using custom.css)
   ============================================ */

:root {
  --bg: #0A0A0B;
  --bg-2: #0D0D0F;
  --surface: #111113;
  --surface-2: #17171A;
  --text: #F2F1EC;
  --text-2: #A9A9A4;
  --text-3: #8C8C87;
  --soft: #D9D8D3;
  --line: rgba(242,241,236,.08);
  --line-2: rgba(242,241,236,.14);
  --accent: #D4FF3A;
  --on-accent: #0A0A0B;
  --plate: #FFFFFF; /* matches the white backgrounds baked into the logo images */
  --f-disp: 'Space Grotesk', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body: 'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-io: cubic-bezier(.7,0,.2,1);
  --max: 1280px;
  --pad: 40px;
  --t0: 2.25s; /* hero waits for the intro curtain */
}
.no-intro { --t0: .05s; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.menu-open, body.case-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }
[hidden] { display: none !important; }
section[id], main { scroll-margin-top: 72px; }

.accent { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; }
.sec { padding: 160px var(--pad); }
.lbl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
a.lbl:hover { color: var(--accent); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 500; transform: translateY(-200%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; color: var(--on-accent); }

/* ---------- keyframes ---------- */
@property --pct { syntax: '<integer>'; inherits: false; initial-value: 100; }
@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }

@keyframes rise { from { transform: translateY(112%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes clipIn { from { clip-path: inset(100% 0 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes introOut { from { visibility: visible; transform: translateY(0); } to { visibility: hidden; transform: translateY(-100%); } }
@keyframes bar { from { transform: scaleX(0); } }
@keyframes pct { from { --pct: 0; } }
@keyframes countUp { from { --n: 0; } }
@keyframes tick { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-20%); } 50%, 68% { transform: translateY(-40%); } 75%, 93% { transform: translateY(-60%); } 100% { transform: translateY(-80%); } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes type { from { width: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: 50% 0; } 45% { transform: scaleY(1); transform-origin: 50% 0; } 55% { transform: scaleY(1); transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
@keyframes swapA { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
@keyframes swapB { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
@keyframes cardA { from { opacity: 0; transform: translateY(26px) scale(.96); filter: blur(6px); } }
@keyframes cardB { from { opacity: 0; transform: translateY(26px) scale(.96); filter: blur(6px); } }
@keyframes cardReveal { from { opacity: 0; transform: translateY(70px) scale(.94); } }
@keyframes panelIn { from { clip-path: inset(100% 0 0 0 round 32px); transform: translateY(48px); } to { clip-path: inset(0 0 0 0 round 32px); transform: translateY(0); } }
@keyframes panelOut { from { clip-path: inset(0 0 0 0 round 32px); transform: translateY(0); } to { clip-path: inset(0 0 100% 0 round 32px); transform: translateY(-32px); } }
@keyframes shine { from { transform: translateX(-130%); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fillText { from { background-position: 0 100%; } }
@keyframes lineGrow { from { transform: scaleX(0); } }

/* ---------- intro curtain ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 32px var(--pad); visibility: hidden; transform: translateY(-100%); animation: introOut .95s var(--ease-io) 1.75s both; pointer-events: none; }
.no-intro .intro { display: none; }
.intro-top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.intro-big { font-family: var(--f-disp); font-size: clamp(56px, 9vw, 132px); letter-spacing: -.05em; line-height: .9; }
.intro-rise { display: block; font-weight: 700; animation: rise .9s var(--ease) .15s both; }
.intro-count { font-weight: 500; color: var(--accent); font-variant-numeric: tabular-nums; counter-reset: pct var(--pct); animation: pct 1.55s cubic-bezier(.65,0,.25,1) .1s both; }
.intro-count::after { content: counter(pct); }
.intro-track { margin-top: 28px; height: 2px; background: rgba(242,241,236,.1); }
.intro-bar { height: 2px; background: var(--accent); transform-origin: 0 50%; animation: bar 1.55s cubic-bezier(.65,0,.25,1) .1s both; }

/* ---------- load-in motion ---------- */
.mask { display: block; overflow: hidden; padding-bottom: .04em; }
.rise { display: block; animation: rise 1.15s var(--ease) both; }
.fade-up { animation: fadeUp 1s var(--ease) both; }
.fade-down { animation: fadeDown .9s var(--ease) both; }
.clip-in { animation: clipIn 1.3s var(--ease-io) both; }
.d0 { animation-delay: var(--t0); }
.d1 { animation-delay: calc(var(--t0) + .08s); }
.d2 { animation-delay: calc(var(--t0) + .18s); }
.d3 { animation-delay: calc(var(--t0) + .3s); }
.d4 { animation-delay: calc(var(--t0) + .42s); }
.d5 { animation-delay: calc(var(--t0) + .54s); }
.d6 { animation-delay: calc(var(--t0) + .66s); }
.d7 { animation-delay: calc(var(--t0) + .9s); }
.pulse { animation: pulse 1.8s var(--ease) infinite; }

.progress { display: none; position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid rgba(242,241,236,.07); }
.nav-in { max-width: 1360px; margin: 0 auto; height: 72px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--f-disp); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.logo:hover { color: var(--text); }
.logo-mark { display: inline-block; width: 14px; height: 14px; border-radius: 3px; background: var(--accent); transition: transform .7s var(--ease-io); }
.logo:hover .logo-mark { transform: rotate(225deg) scale(.85); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nl { position: relative; padding: 12px 0; color: var(--text-2); font-size: 14px; font-weight: 500; }
.nl:hover, .nl.active { color: var(--text); }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-io); }
.nl:hover::after, .nl.active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-time { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); }
.clock { color: var(--text); font-variant-numeric: tabular-nums; }
.menu-btn { display: none; place-items: center; align-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-io); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mmenu { position: fixed; inset: 72px 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; padding: 32px 20px 40px; background: var(--bg); overflow-y: auto; animation: fadeIn .3s both; }
.mmenu-links { display: flex; flex-direction: column; }
.mmenu-links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-disp); font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1.1; animation: fadeUp .6s var(--ease) both; }
.mmenu-links a:nth-child(2) { animation-delay: .05s; }
.mmenu-links a:nth-child(3) { animation-delay: .1s; }
.mmenu-links a:nth-child(4) { animation-delay: .15s; }
.mmenu-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-family: var(--f-body); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--text); color: var(--on-accent); }
.btn-line { border-color: rgba(242,241,236,.22); background: transparent; color: var(--text); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-2); padding: 0 14px; }
.btn-ghost:hover { color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: progress; transform: none; }
.btn.is-sent { background: var(--text); color: var(--on-accent); }
.roll { display: inline-block; height: 1.25em; line-height: 1.25em; overflow: hidden; }
.roll > span { display: block; transition: transform .45s var(--ease-io); }
.btn:hover .roll > span { transform: translateY(-100%); }
.arr { display: inline-flex; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn:hover .arr-ne, a.crow:hover .arr-ne { transform: rotate(45deg); }
.btn:hover .arr-up { transform: translateY(-3px); }
.ibtn { width: 48px; height: 48px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s; }
.ibtn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px) rotate(-8deg); }
.socials { display: flex; gap: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: 880px; padding-top: 48px; padding-bottom: 40px; --mx: 74%; --my: 36%; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(242,241,236,.10) 1px, transparent 1.5px); background-size: 30px 30px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--accent) 1.3px, transparent 1.8px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, transparent 100%); mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000 0%, transparent 100%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; flex: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.pill-status { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(17,17,19,.7); font-size: 13px; color: var(--soft); }
.hero-kicker { margin: 28px 0 0; }
.hero-name { margin: 14px 0 0; font-family: var(--f-disp); font-size: clamp(76px, 11.5vw, 168px); font-weight: 700; line-height: .9; letter-spacing: -.055em; }
.outline-h { color: transparent; -webkit-text-stroke: 2px var(--text); transition: color .5s, -webkit-text-stroke-color .5s; }
.outline-h:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.hero-build { margin: 28px 0 0; font-family: var(--f-disp); font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; color: var(--text-2); }
.ticker { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; color: var(--accent); }
.ticker-in { display: flex; flex-direction: column; animation: tick 10s cubic-bezier(.75,0,.2,1) infinite; animation-delay: calc(var(--t0) + 1.4s); }
.ticker-in > span { display: block; height: 1.15em; line-height: 1.15em; white-space: nowrap; }
.hero-desc { margin: 24px 0 0; max-width: 560px; font-size: 17px; line-height: 1.65; color: var(--text-2); }
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero .socials { margin-top: 32px; }
.hero-visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.tilt { position: relative; transform: perspective(1100px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .5s var(--ease); }
.portrait { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; filter: grayscale(.2) contrast(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.tilt:hover .portrait img { transform: scale(1.04); filter: grayscale(0) contrast(1.06); }
.float-a { position: absolute; top: 18%; right: -28px; animation: float 6s ease-in-out infinite; }
.float-b { position: absolute; top: 50%; left: -44px; animation: float 7s ease-in-out -2.5s infinite; }
.chip-glass { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(17,17,19,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line-2); font-size: 13px; white-space: nowrap; }
.chip-sq { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.chip-ci { width: 8px; height: 8px; border-radius: 50%; background: var(--text); }
.term { position: absolute; bottom: -36px; left: -64px; width: 300px; padding: 14px 18px 18px; border-radius: 16px; background: rgba(13,13,15,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(242,241,236,.12); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.75; color: var(--soft); }
.term-dots { display: flex; gap: 6px; margin-bottom: 10px; }
.term-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(242,241,236,.18); }
.term-out { color: var(--text-3); }
.ty { display: block; overflow: hidden; white-space: nowrap; animation: type .8s steps(var(--c)) both; }
.to { display: block; animation: fadeIn .3s both; }
.t1 { animation-delay: calc(var(--t0) + .9s); }
.t2 { animation-delay: calc(var(--t0) + 1.75s); }
.t3 { animation-delay: calc(var(--t0) + 2s); }
.t4 { animation-delay: calc(var(--t0) + 2.85s); }
.t5 { animation-delay: calc(var(--t0) + 3.1s); }
.t6 { animation-delay: calc(var(--t0) + 3.95s); }
.caret { display: inline-block; width: 8px; height: 15px; margin-left: 4px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.badge { position: absolute; top: -44px; right: -44px; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); color: var(--text); transition: transform .5s var(--ease); }
.badge:hover { color: var(--text); transform: scale(1.06); }
.ring { position: absolute; inset: 6px; animation: spin 16s linear infinite; }
.ring-text { font-family: var(--f-mono); font-size: 9px; letter-spacing: .2em; fill: var(--text); }
.badge-core { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); transition: transform .5s var(--ease); }
.badge:hover .badge-core { transform: rotate(45deg); }
.hero-foot { position: relative; z-index: 1; width: 100%; margin-top: 72px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 44px; }
.scroll-line { display: block; position: relative; width: 1px; height: 56px; overflow: hidden; background: rgba(242,241,236,.15); }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollLine 2.2s var(--ease-io) infinite; }

/* ---------- stack bands ---------- */
.bands { padding: 96px 0; overflow: hidden; }
.band { overflow: hidden; white-space: nowrap; }
.marquee { display: flex; width: max-content; animation: marq 38s linear infinite; }
.marquee.rev { animation-direction: reverse; animation-duration: 46s; }
.band:hover .marquee { animation-play-state: paused; }
.mq { padding: 0 28px; font-family: var(--f-disp); font-size: clamp(28px, 3.6vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.mq-sep { display: block; flex: none; align-self: center; width: 14px; height: 14px; transform: rotate(45deg); }
.band-a { position: relative; z-index: 2; margin: 0 -40px; padding: 22px 0; background: var(--accent); color: var(--on-accent); transform: rotate(-2.5deg); }
.band-a .mq-sep { background: var(--on-accent); }
.band-b { position: relative; z-index: 1; margin: -96px -40px 0; padding: 22px 0; background: var(--surface); color: transparent; border-block: 1px solid var(--line); transform: rotate(2deg); }
.band-b .mq { -webkit-text-stroke: 1px rgba(242,241,236,.55); }
.band-b .mq-sep { border: 1px solid rgba(242,241,236,.55); }

/* ---------- section heads ---------- */
.sh { margin-bottom: 56px; }
.sh-row { display: flex; align-items: center; gap: 20px; }
.sh-row + * { margin-top: 40px; }
.line-grow { flex: 1; height: 1px; background: rgba(242,241,236,.12); }
.sh-split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.h2 { margin: 0; font-family: var(--f-disp); font-size: clamp(44px, 6vw, 88px); font-weight: 600; line-height: .98; letter-spacing: -.045em; }
.h2-xl { font-size: clamp(48px, 7vw, 112px); line-height: .92; letter-spacing: -.05em; }
.h2 sup { margin-left: 10px; font-family: var(--f-mono); font-size: .2em; font-weight: 500; letter-spacing: 0; color: var(--accent); }
.srm { display: block; overflow: hidden; padding-bottom: .08em; }
.srm > span { display: inline-block; }
.sh-note { margin: 0; max-width: 340px; font-size: 16px; color: var(--text-2); }
.sh-note-lg { margin-top: 24px; max-width: 440px; }

/* ---------- about ---------- */
.about { padding-top: 120px; }
.statement { margin: 0; max-width: 1180px; font-family: var(--f-disp); font-size: clamp(30px, 4vw, 58px); font-weight: 500; line-height: 1.12; letter-spacing: -.03em; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 96px; border-block: 1px solid rgba(242,241,236,.1); }
.metric { padding: 36px 28px 32px; border-right: 1px solid rgba(242,241,236,.1); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric-num { font-family: var(--f-disp); font-size: clamp(56px, 6vw, 96px); font-weight: 600; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.metric .lbl { margin-top: 16px; }
.count { counter-reset: n var(--n); --n: var(--to); animation: countUp 2s var(--ease) .4s both; }
.count::after { content: counter(n); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 80px; align-items: start; margin-top: 96px; }
.about-text p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--text-2); }
.about-text p + p { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.value { display: flex; flex-direction: column; gap: 14px; }
.value strong { font-size: 16px; font-weight: 600; }
.value span:last-child { font-size: 14px; line-height: 1.5; color: var(--text-3); }
.value-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--accent); }
.info { padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.info-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.avail { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.avail .dot { width: 7px; height: 7px; }
.info dl { margin: 0; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(242,241,236,.07); }
.info-row:last-child { border-bottom: 0; padding-bottom: 4px; }
.info dt { font-family: var(--f-mono); font-size: 13px; color: var(--text-3); }
.info dd { margin: 0; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.info-ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }

/* ---------- cards with cursor glow ---------- */
.glow { position: relative; isolation: isolate; --mx: 50%; --my: 50%; }
.glow::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(480px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%); opacity: 0; transition: opacity .45s; pointer-events: none; }
.glow::after { content: ""; position: absolute; inset: -1px; padding: 1px; border-radius: inherit; background: radial-gradient(360px circle at var(--mx) var(--my), var(--accent), transparent 45%); -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, linear-gradient(#000 0 0); mask-composite: exclude; opacity: 0; transition: opacity .45s; pointer-events: none; }
.glow:hover::before, .glow:hover::after { opacity: 1; }
.lift { transition: transform .5s var(--ease); }
.lift:hover { transform: translateY(-6px); }

/* ---------- work: bento grid ---------- */
.work { background: var(--bg-2); border-block: 1px solid rgba(242,241,236,.06); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 6px; border-radius: 999px; border: 1px solid rgba(242,241,236,.12); background: var(--surface); --seg-i: 0; }
.seg-ind { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: 999px; background: var(--accent); transform: translateX(calc(var(--seg-i) * 100%)); transition: transform .55s var(--ease-io); pointer-events: none; }
.seg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: color .35s; }
.seg-btn:hover { color: var(--text); }
.seg-btn.on, .seg-btn.on:hover { color: var(--on-accent); }
.seg-btn .n { font-family: var(--f-mono); font-size: 11px; opacity: .7; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 300px; grid-auto-flow: dense; gap: 16px; }
.s-xl { grid-column: span 2; grid-row: span 2; }
.s-wide { grid-column: span 2; }
.s-tall { grid-row: span 2; }
.bw { display: flex; min-width: 0; }
.ga .bw { animation: cardA .7s var(--ease) both; }
.gb .bw { animation: cardB .7s var(--ease) both; }
.bcard { position: relative; flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 12px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.s-wide .bcard { flex-direction: row; }
.bplate { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: var(--plate); transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .6s var(--ease); }
.s-wide .bplate { flex: 0 0 46%; }
.bplate img { width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease); }
.bcard:hover .bplate img { transform: scale(1.08); }
.bplate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.7) 48%, transparent 66%); transform: translateX(-130%); transition: transform 1.1s var(--ease); pointer-events: none; }
.bcard:hover .bplate::after { transform: translateX(130%); }
.bnum { position: absolute; top: 14px; left: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; color: var(--on-accent); }
.blive { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; background: var(--bg); color: var(--text); font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.blive .dot { width: 6px; height: 6px; }
.bcat { position: absolute; bottom: 12px; left: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #3A3A37; }
.bplate.dark, .ov-plate.dark { background: #000; }
.dark .bnum { color: var(--text); }
.dark .bcat { color: var(--text-2); }
.dark .blive { border: 1px solid rgba(242,241,236,.22); }
.bplate.dark::after, .ov-plate.dark::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 48%, transparent 66%); }
.bmeta { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 2px 6px 4px; }
.s-wide .bmeta { flex: 1; justify-content: space-between; padding: 10px 8px 6px 10px; }
.btop { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 0; }
.s-wide .btop { align-items: flex-start; }
.btxt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bname { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; font-family: var(--f-disp); font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; }
.s-xl .bname { font-size: 40px; line-height: 1.05; letter-spacing: -.035em; }
.s-wide .bname { font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.bar { display: none; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: .55em; font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.s-xl .bar, .s-wide .bar { display: inline; }
.bsub { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; color: var(--text-2); }
.s-xl .bsub, .s-wide .bsub { font-family: var(--f-mono); font-size: 13px; color: var(--accent); }
.bdesc { display: none; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.s-xl .bdesc, .s-wide .bdesc { display: -webkit-box; }
.btags { display: none; flex-wrap: wrap; gap: 6px; }
.s-tall .btags { display: flex; }
.btags .tag { min-height: 26px; padding: 0 10px; font-size: 11px; }
.bstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bstat { padding: 12px 14px; border-radius: 14px; background: rgba(242,241,236,.04); border: 1px solid rgba(242,241,236,.07); }
.bstat b { display: block; font-family: var(--f-disp); font-size: 24px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.bstat span { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--text-3); }
.barr { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
.bcard:hover .barr, .ov-next:hover .barr { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bclip { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: inherit; pointer-events: none; }
.bview { position: absolute; left: var(--mx, 50%); top: var(--my, 50%); width: 92px; height: 92px; margin: -46px 0 0 -46px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transform: scale(0); transition: transform .4s var(--ease); }
.bcard:hover .bview { transform: scale(1); }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(242,241,236,.06); font-family: var(--f-mono); font-size: 12px; color: var(--soft); }

/* ---------- work: case view ---------- */
.ov { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ov-back { position: absolute; inset: 0; background: rgba(6,6,7,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; animation: fadeIn .45s both; }
.ov-panel { position: relative; width: 100%; max-width: 1180px; max-height: 100%; overflow: auto; overscroll-behavior: contain; border-radius: 32px; background: #0F0F11; border: 1px solid rgba(242,241,236,.1); animation: panelIn .85s var(--ease-io) both; }
.ov.closing .ov-panel { animation: panelOut .45s var(--ease-io) both; }
.ov.closing .ov-back { animation: fadeOut .45s both; }
.ov-bar { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 28px; background: rgba(15,15,17,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(242,241,236,.07); }
.ov-actions { display: flex; gap: 8px; }
.ov-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease); }
.ov-btn:hover { background: var(--text); border-color: var(--text); color: var(--on-accent); }
.ov-close:hover { background: var(--accent); border-color: var(--accent); transform: rotate(90deg); }
.ov-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 32px 40px 40px 28px; }
.swap-a { animation: swapA .75s var(--ease) both; }
.swap-b { animation: swapB .75s var(--ease) both; }
.ov-plate { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; border-radius: 24px; background: var(--plate); }
.ov-plate img { width: 100%; height: 100%; object-fit: contain; }
.ov-plate .blive { top: 16px; right: 16px; }
.ov-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 66%); transform: translateX(130%); animation: shine 1.3s var(--ease) .55s both; pointer-events: none; }
.case-sub { margin: 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; color: var(--accent); }
.case-title { margin: 14px 0 0; font-family: var(--f-disp); font-size: clamp(40px, 5vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.case-ar { margin: 10px 0 0; text-align: left; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 24px; color: var(--text-3); }
.case-desc { margin: 22px 0 0; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.case-stat { padding: 18px; border-radius: 18px; background: rgba(242,241,236,.04); border: 1px solid var(--line); }
.case-stat b { display: block; font-family: var(--f-disp); font-size: 32px; font-weight: 600; line-height: 1.05; letter-spacing: -.035em; }
.case-stat span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--text-3); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.case-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ov-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 28px 40px 32px 28px; border: 0; border-top: 1px solid rgba(242,241,236,.07); background: transparent; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.ov-next .lbl { display: block; margin-bottom: 8px; }
.nx { display: block; font-family: var(--f-disp); font-size: clamp(28px, 4vw, 56px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; transition: color .3s, transform .5s var(--ease); }
.ov-next:hover .nx { color: var(--accent); transform: translateX(12px); }

/* ---------- stack & next ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.card h3 { margin: 0; font-family: var(--f-disp); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.card-note { margin: 6px 0 0; font-size: 15px; color: var(--text-3); }
.tier-top { display: flex; align-items: center; justify-content: space-between; }
.bars { display: inline-flex; gap: 4px; }
.bars > span { display: block; width: 18px; height: 4px; border-radius: 2px; background: rgba(242,241,236,.14); }
.bars > span.on { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(242,241,236,.12); background: rgba(242,241,236,.02); font-size: 14px; color: var(--soft); transition: transform .35s var(--ease), border-color .3s, color .3s; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(242,241,236,.3); transition: background-color .3s, transform .3s; }
.chip:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--text); }
.chip:hover::before { background: var(--accent); transform: scale(1.4); }
.next { padding-top: 0; }
.next-card { gap: 28px; }
.next-card h3 { font-size: 26px; }
.next-card p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-2); }
.orbit { position: relative; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; border: 1px dashed rgba(242,241,236,.24); }
.orbit::after { content: ""; position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform-origin: 4px 40px; animation: spin 7s linear infinite; }

/* ---------- contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid rgba(242,241,236,.06); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.big-head { margin: 0; font-family: var(--f-disp); font-size: clamp(54px, 7vw, 108px); font-weight: 600; line-height: .94; letter-spacing: -.05em; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--text); transition: color .5s, -webkit-text-stroke-color .5s; }
.big-head:hover .outline { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.contact-note { margin: 28px 0 0; font-size: 18px; color: var(--text-2); }
.biglink { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; margin-top: 44px; padding-bottom: 8px; overflow-wrap: anywhere; font-family: var(--f-disp); font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.02em; background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0% 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .6s var(--ease-io), color .3s; }
.biglink:hover { background-size: 100% 2px; }
.biglink .arr { transition: transform .45s var(--ease); }
.biglink:hover .arr { transform: rotate(45deg); }
.crows { margin-top: 40px; border-top: 1px solid var(--line); }
.crow { display: flex; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--text); transition: padding .35s var(--ease); }
a.crow:hover { padding-left: 14px; color: var(--text); }
a.crow:hover .arr { color: var(--accent); }
.crow-k { flex: none; width: 110px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.crow-v { flex: 1; min-width: 0; font-size: 17px; }
.crow-time { font-family: var(--f-mono); font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.form-card { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-title { font-family: var(--f-disp); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.flabel { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transition: color .3s; }
.fgroup:focus-within .flabel { color: var(--accent); }
.field { display: block; width: 100%; padding: 12px 0 14px; border: 0; border-bottom: 1px solid rgba(242,241,236,.18); border-radius: 0; background: transparent; color: var(--text); font-family: var(--f-body); font-size: 17px; outline: none; resize: vertical; transition: border-color .3s; }
.field::placeholder { color: #85857F; }
.field:focus { border-bottom-color: var(--accent); }
.field[aria-invalid="true"] { border-bottom-color: #FF8A7A; }
.form-status { min-height: 1.6em; margin: -12px 0 0; font-size: 14px; color: var(--text-2); }
.form-status.err { color: #FF8A7A; }

/* ---------- footer ---------- */
.footer { padding: 120px var(--pad) 40px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.wm { display: flex; align-items: center; justify-content: space-between; font-family: var(--f-disp); font-size: clamp(64px, 17vw, 290px); font-weight: 700; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(242,241,236,.3); user-select: none; }
.wm > span { display: inline-block; transition: transform .6s var(--ease), color .3s, -webkit-text-stroke-color .3s; }
.wm > span:hover { transform: translateY(-14%); color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.wm > span.wm-dot { width: .14em; height: .14em; border-radius: .02em; background: var(--accent); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; font-size: 14px; color: var(--text-3); }

/* ---------- scroll-driven reveals (Chrome, Edge, Safari 26+) ----------
   The resting state is the finished state, so anything that can't scroll shows complete. */
@supports (animation-timeline: view()) {
  .progress { display: block; animation: grow linear both; animation-timeline: scroll(root); }
  .sr { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  .sh { view-timeline-name: --sh; }
  .sh .line-grow { transform-origin: 0 50%; animation: lineGrow linear both; animation-timeline: --sh; animation-range: entry 0% entry 90%; }
  .sh .srm > span { animation: rise linear both; animation-timeline: --sh; animation-range: entry 0% entry 100%; }
  .about { view-timeline-name: --about; }
  .fill { background-image: linear-gradient(180deg, var(--text) 0%, var(--text) 45%, rgba(242,241,236,.2) 55%, rgba(242,241,236,.2) 100%); background-size: 100% 220%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; animation: fillText linear both; animation-timeline: --about; animation-range: entry 8% entry 60%; }
  .count { animation: countUp linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .tier { view-timeline-name: --tier; }
  .tier .chip { animation: fadeUp linear both; animation-timeline: --tier; animation-range: entry calc(12% + var(--i, 0) * 5%) entry calc(50% + var(--i, 0) * 5%); }
  .bcard { animation: cardReveal linear both; animation-timeline: view(); animation-range: entry calc(var(--c, 0) * 7%) entry calc(70% + var(--c, 0) * 7%); }
}

/* ---------- IntersectionObserver fallback (Firefox) ---------- */
.io .sr, .io .bcard { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.io .bcard { transition-delay: calc(var(--c, 0) * 70ms); }
.io .sr.in, .io .bcard.in { opacity: 1; transform: none; }
.io .sh .srm > span { transform: translateY(112%); transition: transform 1s var(--ease); }
.io .sh.in .srm > span { transform: none; }
.io .sh .line-grow { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--ease-io); }
.io .sh.in .line-grow { transform: none; }
.io .tier .chip { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s, color .3s; transition-delay: calc(var(--i, 0) * 50ms); }
.io .tier.in .chip { opacity: 1; transform: none; }
.io .tier.in .chip:hover { transform: translateY(-3px); transition-delay: 0s; }
.io .count { animation-play-state: paused; }
.io .in .count { animation-play-state: running; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  :root { --pad: 20px; }
  .sec { padding-top: 104px; padding-bottom: 104px; }
  .next { padding-top: 0; }
  .nav-links, .nav-time, .hide-m { display: none; }
  .menu-btn { display: grid; }
  .nav-right .btn-sm { display: none; }
  .hero { min-height: 0; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .tiers, .values { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { justify-self: center; max-width: 340px; margin: 48px auto 40px; }
  .term { left: -8px; bottom: -28px; width: 260px; }
  .badge { top: -30px; right: -6px; transform: scale(.78); }
  .badge:hover { transform: scale(.84); }
  .float-a { right: -8px; }
  .float-b { left: -8px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric, .metric:first-child { padding: 28px 16px 24px 0; }
  .metric:nth-child(odd) { border-right: 1px solid rgba(242,241,236,.1); }
  .metric:nth-child(even) { border-right: 0; padding-left: 16px; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(242,241,236,.1); }
  .form-card { padding: 24px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 280px; }
  .ov { padding: 0; }
  .ov-panel { height: 100%; border-radius: 0; }
  .ov-body { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 20px; }
  .ov-bar { padding: 10px 10px 10px 20px; }
  .ov-next { padding: 24px 20px; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .s-xl, .s-wide, .s-tall { grid-column: auto; grid-row: auto; }
  .bcard, .s-wide .bcard { flex-direction: column; }
  .bplate, .s-wide .bplate { flex: none; aspect-ratio: 4 / 3; }
  .seg { width: 100%; }
  .seg-btn { padding: 0 8px; }
  .ov-cat { display: none; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .crow-k { width: 88px; }
  .info-ctas { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none) {
  .bview { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro { display: none; }
}
