/* =========================================================
   Umar Kalim · Fin Fix Pro — Design System
   Shared by every page. Change tokens here to restyle the site.
   ========================================================= */

/* ---------- Color themes ----------
   The Admin Panel sets <html data-palette="..."> to switch themes site-wide.
   --a1 = primary accent, --a2 = secondary accent (as "r,g,b" so they work inside rgba()). */
:root {
  --bg: #0E1014; --bg-rgb: 14,16,20; --bg2-rgb: 20,23,29;
  --bg-2: #14171D; --surface: #1A1E26; --surface-2: #212632;
  --panel-1: #1A1E26; --panel-2: #13161C;
  --a1: 255,122,26; --a1d: 255,94,58; --a2: 47,140,255; --a2s: 108,180,255;
  --orange: #FF7A1A; --orange-deep: #FF5E3A; --orange-soft: #FF9F57;
  --blue: #2F8CFF; --blue-soft: #6CB4FF; --orb3: #8A4BFF;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F2F4F8; --text-dim: #A7AEBC; --text-mute: #6E7686;
  --grad: linear-gradient(120deg, var(--orange) 0%, var(--orange-deep) 35%, var(--blue) 100%);
  --grad-soft: linear-gradient(120deg, rgba(var(--a1),.18), rgba(var(--a2),.18));

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 20px; --radius-sm: 12px;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --container: 1200px;
  color-scheme: dark;
}
/* Midnight Blue */
:root[data-palette="midnight-blue"] {
  --bg: #070B16; --bg-rgb: 7,11,22; --bg2-rgb: 12,18,34; --bg-2: #0C1222; --surface: #111A2E; --surface-2: #17223A;
  --panel-1: #111A2E; --panel-2: #0B1222;
  --a1: 59,130,246; --a1d: 37,99,235; --a2: 34,211,238; --a2s: 103,232,249;
  --orange: #3B82F6; --orange-deep: #2563EB; --orange-soft: #8AB6FF; --blue: #22D3EE; --blue-soft: #67E8F9; --orb3: #6366F1;
  --text-dim: #A3B0C8; --text-mute: #64738F;
}
/* Slate Purple */
:root[data-palette="slate-purple"] {
  --bg: #0F0E17; --bg-rgb: 15,14,23; --bg2-rgb: 22,20,34; --bg-2: #161422; --surface: #1D1A2B; --surface-2: #252136;
  --panel-1: #1D1A2B; --panel-2: #151320;
  --a1: 168,85,247; --a1d: 139,59,235; --a2: 236,72,153; --a2s: 244,114,182;
  --orange: #A855F7; --orange-deep: #8B3BEB; --orange-soft: #C99BFF; --blue: #EC4899; --blue-soft: #F472B6; --orb3: #6366F1;
  --text-dim: #ADA8BF; --text-mute: #716C86;
}
/* Emerald Dark */
:root[data-palette="emerald-dark"] {
  --bg: #06110E; --bg-rgb: 6,17,14; --bg2-rgb: 10,26,21; --bg-2: #0A1A15; --surface: #10241D; --surface-2: #163026;
  --panel-1: #10241D; --panel-2: #0B1914;
  --a1: 16,185,129; --a1d: 5,150,105; --a2: 234,179,8; --a2s: 250,204,21;
  --orange: #10B981; --orange-deep: #059669; --orange-soft: #5EE0B5; --blue: #EAB308; --blue-soft: #FACC15; --orb3: #0EA5E9;
  --text-dim: #A3BBB2; --text-mute: #648077;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
::selection { background: var(--orange); color: #111; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Ambient background (soft drifting glows, no lines) ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(var(--a2),.08), transparent 60%),
    var(--bg);
}
.ambient .orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55; will-change: transform, opacity;
}
.orb.o1 { width: 520px; height: 520px; background: var(--orange); top: -120px; left: -140px; opacity: .28; animation: drift1 26s ease-in-out infinite, pulse 9s ease-in-out infinite; }
.orb.o2 { width: 620px; height: 620px; background: var(--blue); top: 30%; right: -220px; opacity: .25; animation: drift2 32s ease-in-out infinite, pulse 11s ease-in-out infinite 2s; }
.orb.o3 { width: 420px; height: 420px; background: var(--orb3); bottom: -140px; left: 20%; opacity: .16; animation: drift3 38s ease-in-out infinite, pulse 13s ease-in-out infinite 4s; }
.orb.o4 { width: 300px; height: 300px; background: var(--orange-soft); top: 55%; left: -100px; opacity: .14; animation: drift2 30s ease-in-out infinite reverse; }

@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(120px, 90px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-140px, 60px) scale(.92); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(90px, -110px) scale(1.15); } }
@keyframes pulse { 0%,100% { filter: blur(90px) brightness(1); } 50% { filter: blur(110px) brightness(1.25); } }

#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* film grain for a cinematic finish (static) */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  padding: 22px 0; border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(var(--bg-rgb),.72); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line); padding: 14px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: var(--bg); font-weight: 800; font-size: .95rem;
  box-shadow: 0 8px 24px -8px rgba(var(--a1),.6);
}
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--text-dim);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px var(--line); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.04); color: var(--text); cursor: pointer; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 28px;
  display: inline-flex; align-items: center; gap: 10px; padding: var(--pad); border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 0; cursor: pointer; position: relative; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--orange-deep)); color: #fff;
  box-shadow: 0 14px 36px -12px rgba(var(--a1),.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -14px rgba(var(--a1),.85), 0 0 0 6px rgba(var(--a1),.12); }
.btn-ghost {
  background: rgba(255,255,255,.04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(var(--a2),.6), 0 14px 36px -14px rgba(var(--a2),.6); }
.btn-sm { --pad: 10px 20px; font-size: .88rem; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; text-wrap: balance; }
.section-sub { margin-top: 16px; color: var(--text-dim); font-size: 1.08rem; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: center; }

.portrait-wrap { position: relative; justify-self: center; width: min(440px, 100%); }
.portrait-glow {
  position: absolute; inset: -40px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(var(--a1),.55), transparent 55%),
              radial-gradient(circle at 75% 75%, rgba(var(--a2),.55), transparent 55%);
  filter: blur(60px); animation: glowBreath 7s ease-in-out infinite;
}
@keyframes glowBreath { 0%,100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.portrait-frame {
  position: relative; border-radius: 32px; padding: 2px;
  background: linear-gradient(150deg, rgba(var(--a1),.9), rgba(255,255,255,.08) 40%, rgba(var(--a2),.9));
  box-shadow: 0 0 60px -10px rgba(var(--a1),.35), 0 0 80px -10px rgba(var(--a2),.35), var(--shadow-lg);
}
.portrait {
  border-radius: 30px; overflow: hidden; aspect-ratio: 4/5; background: var(--surface);
  clip-path: inset(100% 0 0 0 round 30px);
  animation: wipeUp 1.6s var(--ease) .35s forwards;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: settle 2.2s var(--ease) .35s forwards; }
@keyframes wipeUp { to { clip-path: inset(0 0 0 0 round 30px); } }
@keyframes settle { to { transform: scale(1); } }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(var(--bg2-rgb),.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
  opacity: 0; animation: badgeIn 1s var(--ease) forwards, bob 6s ease-in-out infinite;
}
.float-badge .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-badge .ic svg { width: 20px; height: 20px; }
.float-badge strong { display: block; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.float-badge span { font-size: .76rem; color: var(--text-dim); }
.badge-a { left: -48px; bottom: 70px; animation-delay: 1.5s, 2.5s; }
.badge-a .ic { background: rgba(var(--a1),.16); color: var(--orange); }
.badge-b { right: -36px; top: 48px; animation-delay: 1.8s, 3s; }
.badge-b .ic { background: rgba(var(--a2),.16); color: var(--blue-soft); }
@keyframes badgeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero-copy > * { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .5s; }
.hero-copy > *:nth-child(2) { animation-delay: .65s; }
.hero-copy > *:nth-child(3) { animation-delay: .8s; }
.hero-copy > *:nth-child(4) { animation-delay: .95s; }
.hero-copy > *:nth-child(5) { animation-delay: 1.1s; }
.hero-copy > *:nth-child(6) { animation-delay: 1.25s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); font-size: .84rem; font-weight: 600; color: var(--text-dim);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3BD67F; box-shadow: 0 0 0 0 rgba(59,214,127,.6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(59,214,127,.55); } 100% { box-shadow: 0 0 0 12px rgba(59,214,127,0); } }

.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 800; margin-top: 26px; letter-spacing: -0.035em; line-height: 1; }
.hero-role { margin-top: 22px; font-size: 1.06rem; color: var(--text-dim); font-weight: 500; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-role .chip { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--text); }
.hero-role .chip.o { border-color: rgba(var(--a1),.4); color: var(--orange-soft); }
.hero-role .chip.b { border-color: rgba(var(--a2),.4); color: var(--blue-soft); }
.hero-tagline { margin-top: 30px; font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 500; color: var(--text); max-width: 560px; line-height: 1.35; }
.hero-tagline em { font-style: normal; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { margin-top: 44px; display: flex; align-items: center; gap: 18px; color: var(--text-dim); font-size: .9rem; }
.stars { display: flex; gap: 3px; color: #FFB547; }
.stars svg { width: 18px; height: 18px; }
.hero-proof b { color: var(--text); font-family: var(--font-display); }
.hero-proof .sep { width: 1px; height: 28px; background: var(--line-strong); }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); opacity: 0; animation: rise 1s var(--ease) 2s forwards; }
.scroll-cue .mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--line-strong); position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange); animation: wheel 2.4s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- STATS ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.stat { padding: 46px 32px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; display: flex; align-items: baseline; }
.stat .num .suffix { font-size: .55em; margin-left: 4px; }
.stat:nth-child(odd) .num .suffix { color: var(--orange); }
.stat:nth-child(even) .num .suffix { color: var(--blue-soft); }
.stat .label { margin-top: 12px; color: var(--text-dim); font-weight: 600; font-size: .95rem; }
.stat .bar { margin-top: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.stat .bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--grad); transition: width 2.2s var(--ease); }
.stats-band.in .stat .bar i { width: var(--w); }
.stat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 120px at 50% 0%, rgba(var(--a1),.08), transparent 70%); opacity: 0; transition: opacity .5s; }
.stat:hover::before { opacity: 1; }

/* ---------- SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.service::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -120px; top: -120px;
  background: radial-gradient(circle, var(--glow, rgba(var(--a1),.35)), transparent 70%); filter: blur(30px);
  opacity: 0; transition: opacity .6s;
}
.service:nth-child(even) { --glow: rgba(var(--a2),.4); }
.service:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.service:hover::after { opacity: 1; }
.service .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: rgba(var(--a1),.12); color: var(--orange); border: 1px solid rgba(var(--a1),.25);
}
.service:nth-child(even) .icon { background: rgba(var(--a2),.12); color: var(--blue-soft); border-color: rgba(var(--a2),.3); }
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.22rem; font-weight: 700; }
.service p { margin-top: 10px; color: var(--text-dim); font-size: .97rem; }
.service .num-tag { position: absolute; top: 30px; right: 30px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--text-mute); }
.center-cta { margin-top: 48px; display: flex; justify-content: center; }

/* ---------- WORK GALLERY ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); display: block;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
}
.work-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter 1s; filter: saturate(.9); }
.work-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(var(--bg-rgb),.85)); }
.work-card .meta { padding: 22px 24px 24px; }
.work-card .tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-soft); }
.work-card:nth-child(even) .tag { color: var(--blue-soft); }
.work-card h3 { margin-top: 8px; font-size: 1.12rem; font-weight: 600; }
.work-card .result { margin-top: 8px; font-size: .9rem; color: var(--text-dim); }
.work-card .open {
  position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--bg-rgb),.6); backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  opacity: 0; transform: scale(.7); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.work-card .open svg { width: 18px; height: 18px; }
.work-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(var(--a1),.25), 0 30px 70px -40px rgba(var(--a1),.5); }
.work-card:nth-child(even):hover { box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(var(--a2),.3), 0 30px 70px -40px rgba(var(--a2),.6); }
.work-card:hover .thumb img { transform: scale(1.09); filter: saturate(1.1); }
.work-card:hover .open { opacity: 1; transform: none; }

/* ---------- TESTIMONIALS ---------- */
.testi { position: relative; }
.testi-viewport { overflow: hidden; border-radius: var(--radius); }
.testi-track { display: flex; transition: transform .9s var(--ease); }
.testi-card {
  flex: 0 0 100%; padding: 56px 64px; border-radius: var(--radius); position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  border: 1px solid var(--line);
}
.testi-card .quote-mark { position: absolute; top: 30px; right: 48px; font-family: var(--font-display); font-size: 9rem; line-height: 1; opacity: .12; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.testi-card blockquote { margin: 22px 0 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.5; max-width: 880px; }
.testi-person { margin-top: 36px; display: flex; align-items: center; gap: 16px; }
.testi-person .avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; background: var(--grad); color: var(--bg); }
.testi-person strong { display: block; font-family: var(--font-display); }
.testi-person span { font-size: .88rem; color: var(--text-dim); }
.testi-controls { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; }
.dots { display: flex; gap: 10px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.18); transition: width .5s var(--ease), background .5s; }
.dots button.active { width: 34px; background: var(--grad); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.arrow:hover { background: rgba(var(--a1),.12); border-color: rgba(var(--a1),.5); transform: translateY(-2px); }
.arrow svg { width: 20px; height: 20px; }

/* ---------- BRANDS MARQUEE ---------- */
.brands { padding: 70px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.012); }
.brands-label { text-align: center; color: var(--text-mute); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; margin-bottom: 36px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.brand-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: var(--text-mute); white-space: nowrap; transition: color .4s; }
.brand-logo svg { width: 30px; height: 30px; }
.brand-logo:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 90px 60px; text-align: center;
  background: linear-gradient(160deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line-strong);
}
.cta-box .blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.cta-box .blob.a { width: 420px; height: 420px; background: rgba(var(--a1),.4); left: -120px; bottom: -200px; animation: drift1 20s ease-in-out infinite; }
.cta-box .blob.b { width: 420px; height: 420px; background: rgba(var(--a2),.4); right: -120px; top: -200px; animation: drift2 24s ease-in-out infinite; }
.cta-box > *:not(.blob) { position: relative; }
.cta-box h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; max-width: 820px; margin: 0 auto; }
.cta-box p { margin: 22px auto 0; max-width: 560px; color: var(--text-dim); font-size: 1.1rem; }
.cta-box .hero-actions { justify-content: center; }

/* ---------- FOOTER ---------- */
.site-footer { padding: 90px 0 36px; border-top: 1px solid var(--line); margin-top: 40px; background: rgba(0,0,0,.2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-about p { margin-top: 20px; color: var(--text-dim); font-size: .95rem; max-width: 340px; }
.footer-col h4 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 20px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: .95rem; transition: color .3s; }
.footer-col a:hover { color: var(--orange-soft); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--text-dim);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  transition: color .3s, background .3s, transform .4s var(--ease), border-color .3s;
}
.socials a svg { width: 19px; height: 19px; }
.socials a:hover { color: #fff; background: rgba(var(--a1),.15); border-color: rgba(var(--a1),.5); transform: translateY(-4px); }
.footer-bottom { margin-top: 70px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--text-mute); font-size: .86rem; }

/* ---------- Placeholder pages (until built) ---------- */
.page-hero { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; }
.page-hero p { margin: 22px auto 0; max-width: 540px; color: var(--text-dim); font-size: 1.1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .portrait-wrap { order: -1; width: min(380px, 80%); }
  .hero-copy { text-align: center; }
  .hero-role, .hero-actions, .hero-proof { justify-content: center; }
  .hero-tagline { margin-inline: auto; }
  .services-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(var(--bg-rgb),.96); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-links a { font-size: 1.6rem; font-family: var(--font-display); padding: 12px 28px; }
  body.nav-open .nav-links { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .menu-toggle { display: grid; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .stat { padding: 32px 22px; }
  .testi-card { padding: 40px 28px; }
  .testi-card .quote-mark { right: 20px; font-size: 6rem; }
  .cta-box { padding: 64px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .badge-a { left: -12px; bottom: 40px; }
  .badge-b { right: -12px; top: 24px; }
  .hero-proof { flex-wrap: wrap; gap: 10px 14px; }
  .hero-proof .sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* =========================================================
   PORTFOLIO PAGE
   ========================================================= */
.sub-hero { padding: 180px 0 60px; text-align: center; }
.sub-hero .hero-copy { max-width: 820px; margin-inline: auto; }
.sub-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.sub-hero .lead { margin: 24px auto 0; max-width: 620px; color: var(--text-dim); font-size: 1.12rem; }
.hero-mini-stats { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.mini-stat { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: .9rem; color: var(--text-dim); }
.mini-stat b { color: var(--text); font-family: var(--font-display); margin-right: 4px; }

/* Filter tabs with a soft gliding highlight */
.filter-bar { display: flex; justify-content: center; margin-bottom: 56px; }
.filters {
  position: relative; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.035); border: 1px solid var(--line); backdrop-filter: blur(12px);
}
.filter-glider {
  position: absolute; top: 0; left: 0; height: 0; width: 0; border-radius: 999px; z-index: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(var(--a1),.95), rgba(var(--a1d),.95));
  box-shadow: 0 10px 30px -8px rgba(var(--a1),.7), 0 0 40px -6px rgba(var(--a1),.45);
  transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease), background .6s;
}
.filters[data-active="monthly"] .filter-glider { background: linear-gradient(120deg, rgba(var(--a2),.95), rgba(var(--a2s),.9)); box-shadow: 0 10px 30px -8px rgba(var(--a2),.7), 0 0 40px -6px rgba(var(--a2),.5); }
.filter-btn {
  position: relative; z-index: 1; border: 0; background: transparent; color: var(--text-dim); cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 10px; transition: color .4s;
}
.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: #fff; }
.filter-btn .count { font-size: .74rem; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.08); transition: background .4s; }
.filter-btn.active .count { background: rgba(0,0,0,.2); }
.filter-btn:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }

/* Project grid */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-item { will-change: transform; }
.p-item.is-leaving { transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s; opacity: 0 !important; transform: scale(.92) !important; filter: blur(6px); }
.p-item.is-entering { opacity: 0; transform: scale(.94) translateY(20px); filter: blur(6px); }
.p-item.is-entering.go { transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s; opacity: 1; transform: none; filter: none; }

.project-card {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; cursor: pointer; padding: 0; color: inherit; font: inherit;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s, opacity 1s var(--ease);
}
.project-card.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .6s var(--ease), border-color .6s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; }
.project-card .thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(var(--bg-rgb),.8)); }
.project-card .zoom {
  position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(var(--bg-rgb),.55); backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.project-card .zoom svg { width: 22px; height: 22px; }
.project-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.cat-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.cat-cleanup { color: var(--orange-soft); }
.cat-rescue { color: var(--orange-soft); }
.cat-monthly { color: var(--blue-soft); }
.project-card h3 { font-size: 1.14rem; font-weight: 600; }
.project-card p { color: var(--text-dim); font-size: .93rem; }
.project-card .platform { margin-top: auto; padding-top: 10px; font-size: .8rem; color: var(--text-mute); font-weight: 600; }
.project-card:hover, .project-card:focus-visible { transform: translateY(-10px); border-color: rgba(var(--a1),.35); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 30px 70px -40px rgba(var(--a1),.6); outline: none; }
.p-item[data-cat="monthly"] .project-card:hover, .p-item[data-cat="monthly"] .project-card:focus-visible { border-color: rgba(var(--a2),.4); box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 30px 70px -40px rgba(var(--a2),.7); }
.project-card:hover .thumb img { transform: scale(1.08); }
.project-card:hover .zoom, .project-card:focus-visible .zoom { opacity: 1; transform: none; }
.project-card.reveal.in:hover { transform: translateY(-10px); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px;
  visibility: hidden; opacity: 0; transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { visibility: visible; opacity: 1; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(8,9,12,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.lb-panel {
  position: relative; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px;
  background: linear-gradient(160deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line-strong);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9), 0 0 80px -30px rgba(var(--a1),.35), 0 0 80px -30px rgba(var(--a2),.35);
  transform: translateY(30px) scale(.96); transition: transform .6s var(--ease);
}
.lightbox.open .lb-panel { transform: none; }
.lb-media { background: var(--panel-2); min-height: 100%; display: flex; align-items: center; }
.lb-media img { width: 100%; height: auto; object-fit: contain; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.lb-media img.swap { opacity: 0; transform: scale(1.03); }
.lb-info { padding: 46px 40px 36px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.lb-info h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; }
.lb-info .desc { color: var(--text-dim); font-size: 1rem; }
.lb-meta { margin-top: 6px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lb-meta div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.lb-meta dt { color: var(--text-mute); font-weight: 600; }
.lb-meta dd { margin: 0; text-align: right; font-weight: 600; }
.lb-nav { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lb-count { font-size: .85rem; color: var(--text-mute); font-variant-numeric: tabular-nums; }
.lb-close {
  position: absolute; top: 16px; right: 16px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--text); background: rgba(var(--bg-rgb),.6); backdrop-filter: blur(10px); border: 1px solid var(--line-strong);
  transition: background .3s, transform .4s var(--ease);
}
.lb-close:hover { background: rgba(var(--a1),.2); transform: rotate(90deg); }
.lb-close svg { width: 20px; height: 20px; }
body.lb-open { overflow: hidden; }

@media (max-width: 1080px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .lb-panel { grid-template-columns: 1fr; }
  .lb-media { min-height: 0; }
  .lb-info { padding: 28px 24px 24px; }
}
@media (max-width: 640px) {
  .sub-hero { padding: 140px 0 40px; }
  .project-grid { grid-template-columns: 1fr; }
  .filters { border-radius: 22px; }
  .filter-btn { padding: 10px 14px; font-size: .84rem; }
  .lightbox { padding: 12px; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
/* Story: sticky profile + narrative chapters */
.story-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 80px; align-items: start; }
.profile-card { position: sticky; top: 110px; }
.profile-card .portrait-wrap { width: 100%; }
.profile-card .portrait { aspect-ratio: 1 / 1.1; }
.profile-id { margin-top: 30px; }
.profile-id h3 { font-size: 1.6rem; font-weight: 700; }
.profile-id p { margin-top: 4px; color: var(--text-dim); font-size: .95rem; }
.cred-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cred-list li {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: .92rem; font-weight: 600;
}
.cred-list .ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(var(--a1),.14); color: var(--orange); }
.cred-list li:nth-child(even) .ic { background: rgba(var(--a2),.14); color: var(--blue-soft); }
.cred-list .ic svg { width: 16px; height: 16px; }

.chapters { display: grid; gap: 64px; }
.chapter { max-width: 640px; }
.chapter .ch-label { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--text-mute); letter-spacing: .06em; margin-bottom: 16px; }
.chapter .ch-label b { color: var(--orange-soft); font-weight: 700; }
.chapter .ch-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.chapter h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; text-wrap: balance; }
.chapter p { margin-top: 18px; color: var(--text-dim); font-size: 1.06rem; }
.chapter p strong { color: var(--text); font-weight: 600; }

.pull-quote {
  margin: 30px 0 0; padding: 30px 32px; border-radius: var(--radius); position: relative;
  background: linear-gradient(160deg, rgba(var(--a1),.08), rgba(var(--a2),.06)); border: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; font-weight: 500;
}

/* Reconciliation card: statement vs books = $0.00 */
.recon-card {
  margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--panel-2); box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums;
}
.recon-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--text-mute); font-weight: 600; letter-spacing: .04em; }
.recon-head .ok { display: inline-flex; align-items: center; gap: 8px; color: #3BD67F; }
.recon-head .ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3BD67F; box-shadow: 0 0 12px #3BD67F; }
.recon-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.recon-row span:first-child { color: var(--text-dim); }
.recon-row span:last-child { font-family: var(--font-display); font-weight: 600; }
.recon-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 22px; background: linear-gradient(90deg, rgba(59,214,127,.08), transparent); }
.recon-total span:first-child { font-weight: 700; }
.recon-total b { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #3BD67F; text-shadow: 0 0 30px rgba(59,214,127,.4); }

/* Timeline: static soft spine, glowing nodes light up on reveal */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; display: grid; gap: 36px; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; margin-left: -1px; border-radius: 2px;
  background: linear-gradient(180deg, rgba(var(--a1),.0), rgba(var(--a1),.45) 12%, rgba(var(--a2),.45) 88%, rgba(var(--a2),0));
  filter: blur(.4px);
}
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.tl-item .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 2; text-align: left; }
.tl-node {
  position: absolute; left: 50%; top: 30px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-strong); transition: border-color .8s var(--ease), box-shadow .8s var(--ease), background .8s;
  transition-delay: .3s;
}
.tl-node::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--orange); transform: scale(0); transition: transform .8s var(--ease) .4s; }
.tl-item.in .tl-node { border-color: var(--orange); box-shadow: 0 0 0 8px rgba(var(--a1),.12), 0 0 30px rgba(var(--a1),.6); }
.tl-item.in .tl-node::after { transform: scale(1); }
.tl-item:nth-child(even).in .tl-node { border-color: var(--blue); box-shadow: 0 0 0 8px rgba(var(--a2),.12), 0 0 30px rgba(var(--a2),.6); }
.tl-item:nth-child(even) .tl-node::after { background: var(--blue); }
.tl-item.current .tl-node { animation: nodePulse 3.2s ease-in-out infinite 1.4s; }
@keyframes nodePulse { 0%,100% { box-shadow: 0 0 0 8px rgba(var(--a1),.12), 0 0 30px rgba(var(--a1),.6); } 50% { box-shadow: 0 0 0 14px rgba(var(--a1),.06), 0 0 50px rgba(var(--a1),.8); } }
.tl-card {
  padding: 28px 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.tl-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.tl-when { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-soft); }
.tl-item:nth-child(even) .tl-when { color: var(--blue-soft); }
.tl-card h3 { margin-top: 10px; font-size: 1.3rem; font-weight: 700; }
.tl-card p { margin-top: 10px; color: var(--text-dim); font-size: .97rem; }
.tl-item.reveal { transform: translateY(40px) scale(.98); }
.tl-item.reveal.in { transform: none; }

/* Skills */
.skills-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.meters { display: grid; gap: 30px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.meter-top h3 { font-size: 1.08rem; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.meter-top h3 .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--a1),.12); color: var(--orange); border: 1px solid rgba(var(--a1),.25); }
.meter:nth-child(even) .meter-top h3 .ic { background: rgba(var(--a2),.12); color: var(--blue-soft); border-color: rgba(var(--a2),.3); }
.meter-top h3 .ic svg { width: 17px; height: 17px; }
.meter-top .pct { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.meter-top .pct small { font-size: .7em; color: var(--text-mute); margin-left: 1px; }
.meter-track { height: 10px; border-radius: 10px; background: rgba(255,255,255,.06); box-shadow: inset 0 1px 2px rgba(0,0,0,.4); overflow: visible; }
.meter-fill {
  position: relative; height: 100%; width: 0; border-radius: 10px; background: var(--grad);
  transition: width 2.2s var(--ease); transition-delay: var(--d, 0s);
  box-shadow: 0 0 18px -2px rgba(var(--a1),.45);
}
.meter-fill::after { content: ""; position: absolute; right: -4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(var(--a2),.25), 0 0 18px rgba(var(--a2s),.9); opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--d, 0s) + 1.4s); }
.meters.in .meter-fill { width: var(--w); }
.meters.in .meter-fill::after { opacity: 1; }
.meter p { margin-top: 10px; font-size: .88rem; color: var(--text-mute); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 1080px) {
  .story-grid, .skills-grid { grid-template-columns: 1fr; gap: 56px; }
  .profile-card { position: static; max-width: 460px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .timeline::before { left: 10px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .tl-item .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; text-align: left; }
  .tl-node { left: 10px; }
  .values-grid { grid-template-columns: 1fr; }
  .chapters { gap: 48px; }
}
.profile-card .portrait, .profile-card .portrait img { animation: none; }
.profile-card.in .portrait { animation: wipeUp 1.6s var(--ease) .2s forwards; }
.profile-card.in .portrait img { animation: settle 2.2s var(--ease) .2s forwards; }
@media (prefers-reduced-motion: reduce) { .profile-card .portrait { clip-path: none; } .profile-card .portrait img { transform: none; } }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  --acc: var(--a1);
  position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 1px solid var(--line); scroll-margin-top: 120px;
  transition: opacity 1s var(--ease), transform .6s var(--ease), border-color .6s, box-shadow .6s var(--ease);
}
.svc-card.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .6s, box-shadow .6s var(--ease); transition-delay: var(--d,0s), var(--d,0s), 0s, 0s; }
.svc-card:nth-child(even) { --acc: var(--a2); }
.svc-card::before {
  content: ""; position: absolute; width: 340px; height: 340px; right: -170px; top: -170px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--acc), .32), transparent 70%); filter: blur(30px); opacity: .35; transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); border-color: rgba(var(--acc), .45); box-shadow: 0 40px 80px -34px rgba(0,0,0,.85), 0 30px 70px -40px rgba(var(--acc), .7); }
.svc-card.reveal.in:hover { transform: translateY(-10px); }
.svc-card:hover::before { opacity: 1; transform: scale(1.15); }
.svc-card > * { position: relative; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.svc-icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center;
  background: rgba(var(--acc), .12); color: rgb(var(--acc)); border: 1px solid rgba(var(--acc), .3);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc-card:nth-child(even) .svc-icon { color: var(--blue-soft); }
.svc-card:hover .svc-icon { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 12px 30px -10px rgba(var(--acc), .8); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-badge { padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(var(--acc), .14); color: rgb(var(--acc)); border: 1px solid rgba(var(--acc), .35); white-space: nowrap; }
.svc-card:nth-child(even) .svc-badge { color: var(--blue-soft); }
.svc-card h3 { font-size: 1.45rem; font-weight: 700; }
.svc-card .svc-desc { margin-top: 12px; color: var(--text-dim); font-size: .98rem; }
.svc-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 10px; font-size: .92rem; color: var(--text); }
.svc-list li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #3BD67F; }
.svc-price { margin-top: auto; padding-top: 28px; }
.svc-price-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.svc-price small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.svc-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.svc-price .amount span { font-size: .42em; font-weight: 600; color: var(--text-dim); letter-spacing: 0; margin-left: 2px; }
.svc-price .amount.text { font-size: 1.5rem; }
.svc-go {
  width: 50px; height: 50px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong);
  transition: background .4s, border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.svc-go svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.svc-card:hover .svc-go { background: rgba(var(--acc), .9); border-color: transparent; box-shadow: 0 12px 30px -10px rgba(var(--acc), .9); }
.svc-card:hover .svc-go svg { transform: translateX(3px); }

/* "And much more" card */
.svc-card.custom { background: linear-gradient(160deg, rgba(var(--a1),.09), rgba(var(--a2),.09)); border: 1px dashed rgba(255,255,255,.2); }
.svc-card.custom .svc-icon { background: var(--grad); color: var(--bg); border: 0; }

.pricing-note { margin-top: 36px; text-align: center; color: var(--text-mute); font-size: .92rem; }
.pricing-note b { color: var(--text-dim); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .5s;
  transition-delay: var(--d,0s), var(--d,0s), 0s;
}
.step:hover { border-color: var(--line-strong); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)); box-shadow: 0 0 0 6px rgba(var(--a1),.1), 0 10px 26px -8px rgba(var(--a1),.7);
}
.step:nth-child(even) .step-num { background: linear-gradient(135deg, var(--blue), var(--blue-soft)); box-shadow: 0 0 0 6px rgba(var(--a2),.1), 0 10px 26px -8px rgba(var(--a2),.7); }
.step h3 { font-size: 1.12rem; font-weight: 700; }
.step p { margin-top: 8px; color: var(--text-dim); font-size: .93rem; }

@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .svc-grid, .steps { grid-template-columns: 1fr; } .svc-card { padding: 30px 24px 26px; } }
a.service { display: block; color: inherit; }

/* =========================================================
   AWARDS PAGE
   ========================================================= */
.award-list { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; }
.award {
  --acc: var(--a1);
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  padding: 40px 48px; border-radius: 28px;
  background: linear-gradient(120deg, rgba(var(--acc), .07), rgba(255,255,255,.015) 45%), rgba(255,255,255,.02);
  border: 1px solid var(--line);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease), border-color .6s, box-shadow .6s var(--ease);
}
.award:nth-child(even) { --acc: var(--a2); }
.award.reveal { filter: blur(8px); }
.award.reveal.from-left { transform: translateX(-60px); }
.award.reveal.from-right { transform: translateX(60px); }
.award.reveal.in { transform: none; filter: none; }
.award.reveal.in:hover, .award:hover { transform: translateY(-6px); border-color: rgba(var(--acc), .4); box-shadow: 0 40px 80px -34px rgba(0,0,0,.85), 0 30px 70px -44px rgba(var(--acc), .7); }
.award::before {
  content: ""; position: absolute; left: -120px; top: 50%; width: 360px; height: 360px; margin-top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--acc), .28), transparent 70%); filter: blur(40px); pointer-events: none;
  opacity: .6; transition: opacity .8s;
}
.award:hover::before { opacity: 1; }
.award > * { position: relative; }

.award-emblem {
  width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; color: rgb(var(--acc));
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.12), rgba(var(--acc), .12) 55%, rgba(var(--bg-rgb),.6));
  border: 1px solid rgba(var(--acc), .45);
  box-shadow: inset 0 0 30px rgba(var(--acc), .25), 0 0 50px -10px rgba(var(--acc), .6);
  transform: scale(.6) rotate(-20deg); opacity: 0;
  transition: transform 1.2s var(--ease) .35s, opacity 1s var(--ease) .35s;
}
.award:nth-child(even) .award-emblem { color: var(--blue-soft); }
.award.in .award-emblem { transform: none; opacity: 1; }
.award-emblem svg { width: 62px; height: 62px; filter: drop-shadow(0 0 10px rgba(var(--acc), .7)); }
.award-emblem .ring { position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(var(--acc), .35); }
.award.in .award-emblem { animation: emblemGlow 5s ease-in-out infinite 1.6s; }
@keyframes emblemGlow { 0%,100% { box-shadow: inset 0 0 30px rgba(var(--acc), .25), 0 0 50px -10px rgba(var(--acc), .6); } 50% { box-shadow: inset 0 0 40px rgba(var(--acc), .35), 0 0 80px -6px rgba(var(--acc), .8); } }

.award-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.award-year {
  padding: 6px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em;
  background: rgba(var(--acc), .14); color: rgb(var(--acc)); border: 1px solid rgba(var(--acc), .4); font-variant-numeric: tabular-nums;
}
.award:nth-child(even) .award-year { color: var(--blue-soft); }
.award-year.missing { background: transparent; border-style: dashed; color: var(--text-mute) !important; font-weight: 600; letter-spacing: .02em; }
.award-issuer { font-size: .92rem; color: var(--text-mute); }
.award-issuer b { color: var(--text-dim); font-weight: 600; }
.award h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; text-wrap: balance; }
.award p { margin-top: 10px; color: var(--text-dim); font-size: 1.02rem; max-width: 620px; }
.award-index {
  position: absolute; right: 36px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 800;
  font-size: 7rem; line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none;
}

@media (max-width: 760px) {
  .award { grid-template-columns: 1fr; gap: 26px; padding: 32px 26px; text-align: left; }
  .award-emblem { width: 100px; height: 100px; }
  .award-emblem svg { width: 48px; height: 48px; }
  .award-index { top: 30px; right: 22px; transform: none; font-size: 4.5rem; }
  .award.reveal.from-left, .award.reveal.from-right { transform: translateY(40px); }
}
@media (max-width: 1180px) and (min-width: 861px) {
  .nav-links a { padding: 9px 11px; }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.info-card {
  --acc: var(--a1);
  position: relative; overflow: hidden; display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid var(--line);
  transition: opacity 1s var(--ease), transform 1s var(--ease), border-color .5s, box-shadow .5s var(--ease);
  transition-delay: var(--d,0s), var(--d,0s), 0s, 0s;
}
.info-card:nth-child(even) { --acc: var(--a2); }
.info-card:hover { border-color: rgba(var(--acc), .4); box-shadow: 0 30px 60px -34px rgba(var(--acc), .6); }
.info-card .ic { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(var(--acc), .12); color: rgb(var(--acc)); border: 1px solid rgba(var(--acc), .3); }
.info-card:nth-child(even) .ic { color: var(--blue-soft); }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card .label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.info-card .value { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; word-break: break-word; }
.info-card .value a:hover { color: var(--orange-soft); }
.info-card .hint { margin-top: 4px; font-size: .9rem; color: var(--text-dim); }
.info-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 600 .84rem var(--font-body); color: var(--text); background: rgba(255,255,255,.05); border: 1px solid var(--line-strong);
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.chip-btn svg { width: 15px; height: 15px; }
.chip-btn:hover { background: rgba(var(--acc), .15); border-color: rgba(var(--acc), .5); transform: translateY(-2px); }
.chip-btn:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 2px; }
.social-row { display: flex; gap: 12px; margin-top: 14px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; font-weight: 600; font-size: .92rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); color: var(--text);
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn.ig:hover { background: rgba(var(--a1),.14); border-color: rgba(var(--a1),.55); box-shadow: 0 14px 30px -14px rgba(var(--a1),.8); transform: translateY(-3px); }
.social-btn.yt:hover { background: rgba(var(--a2),.14); border-color: rgba(var(--a2),.55); box-shadow: 0 14px 30px -14px rgba(var(--a2),.8); transform: translateY(-3px); }

/* Form card */
.form-card {
  position: relative; overflow: hidden; padding: 44px 44px 40px; border-radius: 28px;
  background: linear-gradient(165deg, var(--panel-1), var(--panel-2)); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.form-card .blob { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .5; }
.form-card .blob.a { width: 320px; height: 320px; background: rgba(var(--a1),.35); right: -140px; top: -160px; animation: drift2 22s ease-in-out infinite; }
.form-card .blob.b { width: 300px; height: 300px; background: rgba(var(--a2),.3); left: -160px; bottom: -180px; animation: drift1 26s ease-in-out infinite; }
.form-card > *:not(.blob) { position: relative; }
.form-invite { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.35; text-wrap: balance; }
.form-sub { margin-top: 10px; color: var(--text-dim); font-size: .98rem; }
.contact-form { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--text-dim); letter-spacing: .02em; transition: color .4s; }
.field label .req { color: var(--orange); margin-left: 2px; }
.control { position: relative; border-radius: 14px; }
.control::before {
  content: ""; position: absolute; inset: -1px; border-radius: 15px; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, var(--orange), var(--orange-deep) 40%, var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .45s var(--ease);
}
.control::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; pointer-events: none; z-index: -1;
  box-shadow: 0 0 0 4px rgba(var(--a1),.10), 0 10px 40px -10px rgba(var(--a1),.45), 0 10px 50px -16px rgba(var(--a2),.45);
  opacity: 0; transition: opacity .45s var(--ease);
}
.control .fi { position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; color: var(--text-mute); pointer-events: none; transition: color .4s, transform .4s var(--ease); }
.control input, .control select, .control textarea {
  width: 100%; display: block; padding: 15px 16px 15px 46px; border-radius: 14px;
  font: 500 1rem var(--font-body); color: var(--text); background: rgba(255,255,255,.035); border: 1px solid var(--line-strong);
  outline: none; transition: background .4s var(--ease), border-color .4s; appearance: none; -webkit-appearance: none;
}
.control textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.control input::placeholder, .control textarea::placeholder { color: var(--text-mute); }
.control select { cursor: pointer; padding-right: 44px; }
.control select:invalid { color: var(--text-mute); }
.control select option { background: var(--panel-1); color: var(--text); }
.control .caret { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--text-mute); pointer-events: none; transition: transform .4s var(--ease), color .4s; }
.field:focus-within label { color: var(--text); }
.control:focus-within::before, .control:focus-within::after { opacity: 1; }
.control:focus-within input, .control:focus-within select, .control:focus-within textarea { background: rgba(255,255,255,.06); border-color: transparent; }
.control:focus-within .fi { color: var(--orange); transform: scale(1.1); }
.control:focus-within .caret { color: var(--orange); transform: rotate(180deg); }
.control input:hover, .control select:hover, .control textarea:hover { background: rgba(255,255,255,.05); }
.field .err { font-size: .82rem; color: #FF7B7B; min-height: 0; display: none; }
.field.invalid .err { display: block; }
.field.invalid .control input, .field.invalid .control select, .field.invalid .control textarea { border-color: rgba(255,107,107,.7); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-foot .note { font-size: .86rem; color: var(--text-mute); }
.btn-submit { --pad: 17px 34px; font-size: 1rem; }
.btn-submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-submit.loading .spin { display: block; }
.btn-submit.loading .arrow-ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none; text-align: center; padding: 40px 10px 20px;
}
.form-card.sent .contact-form, .form-card.sent .form-invite, .form-card.sent .form-sub { display: none; }
.form-card.sent .form-success { display: block; animation: rise .8s var(--ease) both; }
.form-success .tick { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(59,214,127,.12); border: 1px solid rgba(59,214,127,.45); color: #3BD67F; box-shadow: 0 0 60px -10px rgba(59,214,127,.6); }
.form-success .tick svg { width: 38px; height: 38px; }
.form-success h3 { font-size: 1.8rem; font-weight: 700; }
.form-success p { margin: 12px auto 0; max-width: 440px; color: var(--text-dim); }
.form-success .btn { margin-top: 26px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: rgba(var(--bg2-rgb),.92); border: 1px solid var(--line-strong); backdrop-filter: blur(10px);
  font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-lg); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form-card { padding: 32px 22px 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .social-row { flex-wrap: wrap; }
}
.field { align-content: start; }
.control:focus-within input, .control:focus-within select, .control:focus-within textarea {
  box-shadow: 0 0 0 4px rgba(var(--a1),.10), 0 12px 40px -12px rgba(var(--a1),.5), 0 12px 50px -18px rgba(var(--a2),.5);
  transition: background .4s var(--ease), border-color .4s, box-shadow .45s var(--ease);
}

/* ---------- Content loading (site.js) ---------- */
html.ffp-loading main, html.ffp-loading .site-footer { opacity: 0; }
html.ffp-loading * { animation-play-state: paused !important; }
main, .site-footer { transition: opacity .5s var(--ease); }
[hidden] { display: none !important; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
