/* Gaurav Bansal · 3D zero-gravity portfolio. Black space, white foreground. */
:root {
  --bg: #000; --ink: #fff; --ink2: rgba(255, 255, 255, .78); --mut: rgba(255, 255, 255, .55); --faint: rgba(255, 255, 255, .32);
  --line: rgba(255, 255, 255, .1); --line2: rgba(255, 255, 255, .22);
  --glass: rgba(255, 255, 255, .035); --glass2: rgba(255, 255, 255, .07);
  --r: 20px; --ease: cubic-bezier(.16, 1, .3, 1); --pad: clamp(16px, 4.5vw, 64px);
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #000; }
body { margin: 0; background: transparent; color: var(--ink); font: 16px/1.6 'Inter Tight', system-ui, -apple-system, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.mono { font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; font-weight: 500; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.center { text-align: center; margin-top: 32px; }
.muted { color: var(--mut); }
.small { font-size: .7rem; color: var(--mut); margin-top: 12px; }

/* 3D space layer */
.space { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; background: radial-gradient(ellipse at 50% 30%, #0b0b0d 0%, #000 70%); }
.space-fade { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 120% 80% at 50% 50%, transparent 40%, rgba(0, 0, 0, .55) 100%), rgba(0, 0, 0, var(--fade, 0)); }
.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-radius: var(--r); }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 500; background: #000; display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-name { font-size: clamp(28px, 5vw, 56px); font-weight: 800; letter-spacing: -.04em; overflow: hidden; }
.loader-name span { display: inline-block; animation: rise 1s var(--ease) both; }
.loader-bar { width: min(280px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 0; background: #fff; transition: width .2s; }
.loader-count { color: var(--mut); }
.no-loader .loader { display: none; }
@keyframes rise { from { transform: translateY(110%); } }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 300; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }

/* Header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 200; padding: 14px var(--pad) 0; transition: transform .5s var(--ease); }
.hdr.hide { transform: translateY(-120%); }
.hdr-in { max-width: 1240px; margin: 0 auto; height: 62px; padding: 0 10px 0 22px; display: flex; align-items: center; gap: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 10, 12, .5); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; }
.brand i { font-style: normal; color: var(--faint); }
.hdr-nav { display: flex; gap: 2px; margin: 0 auto; }
.hdr-nav a { padding: 8px 13px; border-radius: 10px; font-size: .92rem; color: var(--mut); transition: color .25s, background .25s; }
.hdr-nav a:hover, .hdr-nav a.on { color: #fff; background: var(--glass2); }
.hdr-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: #fff; transition: transform .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, .86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 110px var(--pad) 36px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(30px, 8vw, 54px); font-weight: 750; letter-spacing: -.04em; line-height: 1.15; opacity: 0; transform: translateY(24px) rotateX(-30deg); transition: opacity .5s, transform .7s var(--ease); transition-delay: calc(var(--d) * 40ms); }
.menu-links small { color: var(--faint); }
.menu-open .menu-links a { opacity: 1; transform: none; }
.menu-foot { display: grid; gap: 8px; color: var(--mut); text-transform: none; }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; font-weight: 600; font-size: .95rem; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s; will-change: transform; }
.pill:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.pill-w { background: #fff; color: #000; border-color: #fff; }
.pill-w:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 20px 50px -10px rgba(255, 255, 255, .35); }
.hdr .pill { height: 42px; font-size: .88rem; padding: 0 16px; }
.pill-block { width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px 0 70px; perspective: 1400px; }
.hero-in { width: 100%; transform-style: preserve-3d; will-change: transform, opacity; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; color: var(--mut); margin-bottom: 18px; }
.hero-top span { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px #fff; animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-name { font-size: clamp(64px, 15.5vw, 236px); font-weight: 900; letter-spacing: -.065em; line-height: .8; perspective: 900px; }
.hn { display: flex; overflow: hidden; padding: .02em 0 .06em; }
.hn-2 { justify-content: flex-end; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.ch { display: inline-block; transform: translateY(110%) rotateX(-80deg); transform-origin: 50% 100%; opacity: 0; transition: transform 1.3s var(--ease), opacity 1s; transition-delay: calc(.15s + var(--i) * 60ms); }
.ready .ch { transform: none; opacity: 1; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-top: 34px; }
.hero-role { font-size: clamp(18px, 2vw, 24px); font-weight: 650; height: 1.4em; overflow: hidden; }
.rot { display: grid; }
.rot > span { grid-area: 1 / 1; transform: translateY(110%); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.rot > span.on { transform: none; opacity: 1; }
.rot > span.out { transform: translateY(-110%); opacity: 0; }
.hero-lede { color: var(--ink2); font-size: clamp(16px, 1.4vw, 19px); max-width: 42ch; margin-top: 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); overflow: hidden; }
.hero-stats div { padding: 18px 22px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.hero-stats div:nth-child(odd) { border-left: 0; } .hero-stats div:nth-child(-n+2) { border-top: 0; }
.hero-stats dd { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.hero-stats dt { color: var(--mut); font-size: .64rem; margin-top: 4px; }
.hero-row > *, .hero-top { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) .9s, transform 1.2s var(--ease) .9s; }
.ready .hero-row > *, .ready .hero-top { opacity: 1; transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; color: var(--mut); font-size: .62rem; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(#fff, transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Marquee */
.brands { border-block: 1px solid var(--line); padding: 20px 0; display: flex; align-items: center; gap: 28px; background: rgba(0, 0, 0, .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.brands-lbl { flex: none; padding-left: var(--pad); color: var(--mut); }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 30px; width: max-content; animation: marq 46s linear infinite; }
.marquee-track span { font-size: 19px; font-weight: 650; white-space: nowrap; color: var(--ink2); }
.marquee-track i { font-style: normal; color: var(--faint); font-size: 12px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Sections */
.sec { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.lbl { color: var(--mut); display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.lbl::before { content: ""; width: 18px; height: 1px; background: #fff; }
.h2 { font-size: clamp(36px, 6vw, 84px); line-height: .98; letter-spacing: -.05em; font-weight: 800; max-width: 15ch; }
.dim { color: var(--faint); }
.h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; margin-bottom: 14px; }
.sub { color: var(--mut); font-size: 17px; max-width: 54ch; margin-top: 18px; }
.prose p { color: var(--ink2); font-size: 17px; margin-bottom: 1em; }
.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { padding: 26px; position: relative; overflow: hidden; transition: border-color .4s, background .4s, transform .6s var(--ease); }
.card:hover { border-color: var(--line2); background: var(--glass2); }
.card h3 { font-size: 19px; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.card p { color: var(--mut); font-size: 15px; }
.card-n { display: block; color: var(--faint); margin-bottom: 22px; }
.link { display: inline-flex; margin-top: 16px; color: #fff; border-bottom: 1px solid var(--line2); padding-bottom: 3px; transition: border-color .3s; }
.link:hover { border-color: #fff; }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink2); font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags i, .tags li { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink2); }
.tags-lg li { font-size: 14px; padding: 8px 14px; border-radius: 10px; transition: background .3s, color .3s, border-color .3s; }
.tags-lg li:hover { background: #fff; color: #000; border-color: #fff; }

/* About */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); margin-top: 48px; align-items: start; }
.photos { position: relative; height: clamp(420px, 44vw, 600px); perspective: 1200px; }
.photo { position: absolute; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.ph1 { left: 0; top: 0; width: 52%; height: 78%; z-index: 2; }
.ph2 { right: 0; bottom: 0; width: 66%; height: 58%; }
.photo-tag { position: absolute; left: 6%; bottom: 6%; z-index: 3; padding: 12px 16px; font-size: .64rem; color: #fff; }
.quotes { position: relative; margin-top: clamp(60px, 8vw, 110px); padding: clamp(28px, 5vw, 56px); min-height: 250px; }
.q { position: absolute; inset: clamp(28px, 5vw, 56px); opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .9s var(--ease); pointer-events: none; }
.q.active { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; }
.q blockquote { font-size: clamp(20px, 2.6vw, 32px); line-height: 1.3; letter-spacing: -.02em; font-weight: 550; margin-bottom: 18px; }
.q figcaption { color: var(--mut); }
.q-dots { display: flex; gap: 8px; margin-top: 24px; }
.q-dots button { width: 26px; height: 3px; border-radius: 2px; background: var(--line2); transition: background .3s, width .4s var(--ease); }
.q-dots button.active { background: #fff; width: 46px; }

/* Expertise */
.xpert { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(26px, 4vw, 52px); margin: 48px 0 16px; }
.flow { display: grid; gap: 10px; position: relative; }
.flow::before { content: ""; position: absolute; left: 20px; top: 24px; bottom: 24px; width: 1px; background: linear-gradient(#fff, transparent); opacity: .4; }
.flow-node { margin-left: 44px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .35); display: grid; gap: 2px; position: relative; transition: border-color .4s, background .4s, box-shadow .4s; }
.flow-node::before { content: ""; position: absolute; left: -29px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-radius: 50%; border: 1px solid #fff; background: #000; transition: background .3s, box-shadow .3s; }
.flow-node.lit { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); box-shadow: 0 0 40px -10px rgba(255, 255, 255, .25); }
.flow-node.lit::before { background: #fff; box-shadow: 0 0 14px #fff; }
.flow-node em { font-style: normal; color: var(--faint); font-size: .62rem; }
.flow-node b { font-size: 15px; } .flow-node span { color: var(--mut); font-size: 13px; }
.split { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }

/* Services */
.svcs { margin-top: 48px; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 60px 1.1fr 1.6fr 48px; gap: 24px; align-items: center; padding: 30px 6px; border-bottom: 1px solid var(--line); position: relative; transition: padding .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.svc:hover { padding-left: 22px; } .svc:hover::before { opacity: 1; }
.svc > span { color: var(--faint); }
.svc b { font-size: clamp(22px, 2.8vw, 34px); letter-spacing: -.035em; font-weight: 750; }
.svc p { color: var(--mut); font-size: 15px; }
.svc-go { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); display: grid; place-items: center; transition: background .3s, color .3s, transform .5s var(--ease); }
.svc:hover .svc-go { background: #fff; color: #000; transform: rotate(45deg); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.process li { padding: 26px; min-height: 220px; display: flex; flex-direction: column; }
.process span { color: var(--faint); }
.process h3 { margin-top: auto; font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.process p { color: var(--mut); font-size: 15px; }

/* Certificates */
.cfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 26px; }
.cfilter button { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line2); color: var(--ink2); font-size: .68rem; transition: background .3s, color .3s, border-color .3s; }
.cfilter button sup { opacity: .55; }
.cfilter button:hover { border-color: #fff; color: #fff; }
.cfilter button.on { background: #fff; color: #000; border-color: #fff; }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1600px; }
.cert { display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, background .4s, transform .6s var(--ease), opacity .8s; }
.cert:hover { border-color: var(--line2); background: var(--glass2); }
.cert.hide, .cert.cmore { display: none; }
.certs.all .cert.cmore:not(.hide) { display: flex; }
.cert-img { display: block; margin: 10px 10px 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #fff; position: relative; }
.cert-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(.35); transition: transform 1s var(--ease), filter .6s; }
.cert:hover .cert-img img { transform: scale(1.05); filter: none; }
.cert-img::after { content: "Open ↗"; position: absolute; right: 10px; bottom: 10px; font: 500 .62rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 8px; background: rgba(0, 0, 0, .8); color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.cert:hover .cert-img::after { opacity: 1; transform: none; }
.cert-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cert-meta { display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--mut); font-size: .62rem; margin-bottom: 10px; }
.cert-meta span:first-child { color: #fff; }
.cert-meta span + span::before { content: "/"; margin: 0 8px; opacity: .4; }
.cert h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 8px; }
.cert-explain { color: var(--mut); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cert:hover .cert-explain { -webkit-line-clamp: unset; }
.cert .link { margin-top: auto; padding-top: 14px; align-self: flex-start; border: 0; font-size: .64rem; }
.creds { margin-top: 56px; }
.toolkit { margin-top: 56px; }

/* Experience */
.xp { margin-top: 44px; border-top: 1px solid var(--line); }
.xp-row { border-bottom: 1px solid var(--line); }
.xp-row.more { display: none; }
.xp.all .xp-row.more { display: block; }
.xp-head { width: 100%; display: grid; grid-template-columns: 230px 1fr 36px; gap: 20px; align-items: center; text-align: left; padding: 24px 4px; transition: padding .5s var(--ease); }
.xp-head:hover { padding-left: 16px; }
.xp-date { color: var(--mut); display: grid; gap: 4px; font-size: .66rem; }
.xp-date small { color: var(--faint); font-size: inherit; }
.xp-role b { display: block; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.02em; }
.xp-role span { color: var(--mut); font-size: 14px; }
.plus { position: relative; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); flex: none; transition: transform .5s var(--ease), background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .plus { transform: rotate(45deg); background: #fff; color: #000; }
.xp-body, .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.xp-body > div, .faq-a > div { overflow: hidden; }
.open > .xp-body, .open > .faq-a { grid-template-rows: 1fr; }
.xp-body .ticks { margin: 0 0 26px 250px; max-width: 720px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 110px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 22px 0; font-size: 17px; font-weight: 600; }
.faq-a p { color: var(--mut); padding-bottom: 22px; max-width: 62ch; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(26px, 5vw, 60px); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.tile { padding: 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 4px; min-width: 0; transition: border-color .3s, background .3s, transform .5s var(--ease); }
.tile:hover { border-color: #fff; background: rgba(255, 255, 255, .05); transform: translateY(-3px); }
.tile span { color: var(--mut); font-size: .6rem; }
.tile b { font-size: 15px; overflow-wrap: anywhere; }
.cform { display: grid; gap: 14px; align-content: start; }
.cform h3 { font-size: 22px; letter-spacing: -.02em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cform label { display: grid; gap: 6px; font-size: 13px; color: var(--ink2); }
.cform input, .cform select, .cform textarea { width: 100%; font: inherit; font-size: 15px; color: #fff; background: rgba(0, 0, 0, .5); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; transition: border-color .25s, box-shadow .25s; }
.cform select option { background: #111; }
.cform textarea { resize: vertical; min-height: 110px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 0; border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); }
.cform .invalid { border-color: #ff6b6b; }
.cform .hp { position: absolute; left: -9999px; }
.cform-note { font-size: 14px; color: var(--ink2); min-height: 1.4em; }

/* Footer */
.ftr { padding: 80px 0 28px; overflow: hidden; }
.ftr-mark { font-size: clamp(44px, 12.5vw, 190px); font-weight: 900; letter-spacing: -.065em; line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); white-space: nowrap; text-align: center; }
.ftr-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; color: var(--mut); font-size: .62rem; }
.ftr-bar nav { display: flex; gap: 18px; }
.ftr-bar a:hover { color: #fff; }

/* Motion */
.js .rv { opacity: 0; transform: perspective(1200px) translate3d(0, 60px, -120px) rotateX(16deg); transform-origin: 50% 100%; filter: blur(8px); transition: opacity 1.1s var(--ease), transform 1.4s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; filter: none; }
@keyframes levitate { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.float { animation: levitate 7s ease-in-out infinite; }
.float:nth-child(2n) { animation-delay: -2.4s; animation-duration: 8s; }
.float:nth-child(3n) { animation-delay: -4.1s; animation-duration: 9s; }
.tilt { transform-style: preserve-3d; }

/* Responsive */
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .burger { display: block; }
  .g3, .certs { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 44px 1fr 44px; }
  .svc p { grid-column: 2 / 3; grid-row: 2; }
  .svc-go { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 820px) {
  .about, .xpert, .contact, .faq-grid, .split, .hero-row { grid-template-columns: 1fr; }
  .faq-grid > div:first-child { position: static; }
  .photos { height: 440px; }
  .hero-stats { width: 100%; }
  .xp-head { grid-template-columns: 1fr 36px; gap: 6px 16px; }
  .xp-date { grid-row: 2; grid-column: 1; display: flex; gap: 10px; }
  .plus { grid-row: 1 / 3; grid-column: 2; }
  .xp-body .ticks { margin-left: 0; }
  .split { gap: 10px; }
}
@media (max-width: 560px) {
  .hdr { padding: 10px 12px 0; }
  .hdr-in { padding: 0 8px 0 16px; height: 58px; }
  .hide-s { display: none; }
  .brands-lbl { display: none; }
  .g3, .certs, .process, .tiles, .row2 { grid-template-columns: 1fr; }
  .sec { padding: 72px 0; }
  .hero { padding-bottom: 80px; }
  .hero-name { font-size: 18.5vw; }
  .hero-top span:last-child { display: none; }
  .photos { height: 380px; }
  .svc { grid-template-columns: 1fr 44px; gap: 8px 14px; padding: 24px 2px; }
  .svc > span { display: none; }
  .svc b { grid-column: 1; } .svc p { grid-column: 1; grid-row: 2; } .svc-go { grid-column: 2; grid-row: 1 / 3; }
  .process li { min-height: 0; } .process h3 { margin-top: 26px; }
  .cert-explain { -webkit-line-clamp: unset; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .ch, .hero-row > *, .hero-top { opacity: 1 !important; transform: none !important; filter: none !important; }
}
