/* =========================================================
   Yousaf Sardar Saif — page sections & graphics
   ========================================================= */

/* Platform brand badges (shared) */
.pi { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-size: 17px; flex-shrink: 0; }
.pi--fb { background: linear-gradient(140deg, #3b8cff, #1659d6); }
.pi--yt { background: linear-gradient(140deg, #ff4b4b, #d10f0f); }
.pi--ig { background: radial-gradient(circle at 30% 110%, #ffd56a 0%, #E8B48C 22%, #D27A4D 50%, #a83cf0 78%, #6b5cff 100%); }
.pi--tt { background: #111; box-shadow: inset 2px 0 0 #25f4ee, inset -2px 0 0 #fe2c55; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse-ring 1.8s ease-out infinite; }

/* Entrance animation */
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 140px 0 100px; overflow: hidden; isolation: isolate; }
.hero__blobs { position: absolute; inset: 0; z-index: -1; opacity: .8; pointer-events: none; }
.hero__blobs span { position: absolute; border-radius: 50%; animation: blob 18s ease-in-out infinite; }
.hero__blobs span:nth-child(1) { width: 42vw; height: 42vw; right: -8vw; top: -10vw; background: radial-gradient(circle, rgba(var(--accent-rgb),  .45), transparent 65%); }
.hero__blobs span:nth-child(2) { width: 36vw; height: 36vw; right: 20vw; bottom: -18vw; background: radial-gradient(circle, rgba(var(--cool-rgb),  .4), transparent 65%); animation-delay: -6s; }
.hero__blobs span:nth-child(3) { width: 26vw; height: 26vw; left: -8vw; top: 10vw; background: radial-gradient(circle, rgba(var(--accent2-rgb),  .25), transparent 65%); animation-delay: -12s; }

.hero__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(62, 229, 155, .08); border: 1px solid rgba(62, 229, 155, .25); color: var(--fg);
}
.hero__title { font-size: clamp(48px, 7vw, 100px); margin: 0 0 22px; letter-spacing: -.045em; line-height: .98; }
.hero__role { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; margin: 0 0 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; min-height: 1.5em; }
.hero__role-static { color: var(--fg-muted); font-weight: 500; }
.typer { background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.typer__caret { width: 3px; height: 1.1em; margin-left: -6px; background: var(--accent); border-radius: 2px; animation: blink 1s steps(1) infinite; }
.hero__sub { max-width: 560px; font-size: clamp(16px, 1.3vw, 18px); color: var(--fg-muted); margin: 0 0 34px; }
.hero__sub strong { color: var(--fg); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.hero__proof { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); max-width: 520px; }
.hero__proof p { margin: 0; font-size: 14px; color: var(--fg-muted); line-height: 1.45; }
.hero__proof strong { color: var(--fg); }
.platform-stack { display: flex; }
.platform-stack .pi { width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -12px; font-size: 15px; }
.platform-stack .pi:first-child { margin-left: 0; }

/* ---------- Hero stage graphic ---------- */
.stage { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; }
.stage__ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(var(--tint), .14); }
.stage__ring--outer { inset: 4%; animation: spin 44s linear infinite; }
.stage__ring--inner { inset: 19%; border-style: solid; border-color: rgba(var(--tint), .07); animation: spin 30s linear infinite reverse; }
.orb { position: absolute; inset: 0; transform: rotate(var(--a)); pointer-events: none; }
.orb__in { position: absolute; top: 0; left: 50%; }
.stage__ring--outer .orb__in { width: 56px; height: 56px; border-radius: 18px; font-size: 22px; box-shadow: 0 14px 30px -10px var(--shadow); animation: counter-cw 44s linear infinite; }
.stage__ring--inner .orb__in { animation: counter-ccw 30s linear infinite; }
.orb__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--accent); background: var(--card-solid); border: 1px solid var(--border-strong); }

.avatar { position: absolute; inset: 29%; border-radius: 50%; box-shadow: 0 0 60px 6px rgba(var(--accent-rgb),  .4); }
.avatar__ring { position: absolute; inset: -7px; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent-2), var(--accent), var(--accent-3), var(--cool), var(--cool-2), var(--accent-2)); animation: spin 8s linear infinite; }
.avatar__inner { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; border: 5px solid var(--bg); display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #2A3536, #0E1213 70%); }
:root[data-theme="light"] .avatar__inner { background: radial-gradient(circle at 30% 25%, #ffffff, #F1E4D8 70%); }
.avatar__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.avatar__mono { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 7vw, 84px); letter-spacing: -.05em; background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hearts { position: absolute; inset: 0; pointer-events: none; }
.hearts .ic { position: absolute; bottom: 40%; left: var(--x); color: var(--accent); font-size: var(--s); opacity: 0; animation: heart-up var(--t) ease-out forwards; }

.fcard { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; font-size: 13px; line-height: 1.3;
  background: var(--surface); box-shadow: 0 24px 50px -20px var(--shadow); animation: float-y 6s ease-in-out infinite; }
.fcard span { color: var(--fg-muted); display: block; }
.fcard strong { display: block; color: var(--fg); }
.fcard--accounts { top: 6%; left: -6%; }
.fcard--accounts strong.display { font-size: 26px; line-height: 1; }
.fcard__icon { width: 40px; height: 40px; border-radius: 12px; display: grid !important; place-items: center; background: var(--gradient); color: #fff !important; font-size: 16px; }
.fcard--growth { bottom: 8%; right: -4%; flex-direction: column; align-items: stretch; width: 180px; animation-delay: -2s; }
.fcard__row { display: flex; justify-content: space-between; align-items: center; width: 100%; color: var(--fg-muted); }
.fcard__row .ic { color: var(--green); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: var(--gradient); background-size: 100% 300%; background-position: 0 100%; transform-origin: bottom; animation: bar-grow 1.2s var(--ease) both; }
.bars i:nth-child(2) { animation-delay: .1s } .bars i:nth-child(3) { animation-delay: .2s } .bars i:nth-child(4) { animation-delay: .3s } .bars i:nth-child(5) { animation-delay: .4s } .bars i:nth-child(6) { animation-delay: .5s } .bars i:nth-child(7) { animation-delay: .6s }
.fcard--notif { top: 20%; right: -8%; animation-delay: -4s; }
.fcard__check { width: 32px; height: 32px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(62, 229, 155, .15); color: var(--green) !important; }
.fcard--years { bottom: 16%; left: -4%; gap: 10px; animation-delay: -3s; }
.fcard--years strong { font-size: 34px; line-height: 1; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--fg); animation: scroll-dot 1.8s ease-in-out infinite; }

/* =========================================================
   STRIP
   ========================================================= */
.strip { padding: 26px 0; border-block: 1px solid var(--border); background: rgba(var(--tint), .015); }
.strip-item { flex-shrink: 0; display: inline-flex; align-items: center; gap: 14px; padding: 0 clamp(22px, 3vw, 40px); font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); color: var(--fg-muted); white-space: nowrap; transition: color .3s; }
.strip-item:hover { color: var(--fg); }
.strip-item .pi { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
.strip-item__star { color: var(--accent); font-size: 14px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text p { color: var(--fg-muted); font-size: 17px; margin: 0 0 18px; }
.about__text strong { color: var(--fg); font-weight: 600; }
.about__text .h2 { font-size: clamp(36px, 4.6vw, 62px); margin-bottom: 28px; }
.about__lead { font-size: clamp(18px, 1.6vw, 21px) !important; color: var(--fg) !important; line-height: 1.55; }
.about__lead strong { background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.about__roles { display: grid; gap: 10px; margin-top: 28px; }
.about__roles li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.about__roles .ic { color: var(--accent); }

/* Phone mockups */
.phones { --tint: 255, 255, 255; --fg: #F3EEE8; --fg-muted: #A8A39C; --fg-dim: #8C877F; --border: rgba(255,255,255,.09); --surface: rgba(26, 35, 36,  .88); position: relative; height: 580px; max-width: 480px; width: 100%; justify-self: center; }
.phone { position: absolute; width: 250px; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #0E1213; border: 8px solid #1F2627; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(var(--tint), .08); overflow: hidden; }
.phone--front { right: 6%; top: 20px; z-index: 2; transform: rotate(4deg); animation: float-y 7s ease-in-out infinite; }
.phone--back { left: 2%; top: 70px; transform: rotate(-9deg); opacity: .65; }
.phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 12px; background: #000; z-index: 3; }
.phone__screen { position: absolute; inset: 0; padding: 40px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.post__head { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.25; }
.post__head div { flex: 1; }
.post__head strong { display: block; }
.post__head span { color: var(--fg-dim); font-size: 10px; }
.post__head > .ic { color: var(--fg-dim); }
.post__avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--gradient); box-shadow: 0 0 0 2px #0E1213, 0 0 0 4px var(--accent); }
.post__media { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2A1A12, #0E1213); }
.post__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.post__badge { position: absolute; z-index: 1; top: 10px; left: 10px; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.post__badge .ic { color: var(--accent-2); }
.post__actions { display: flex; gap: 14px; font-size: 17px; color: var(--fg); }
.post__actions .ic:last-child { margin-left: auto; }
.post__actions .is-liked { color: var(--accent); animation: like-pop 2.4s ease-in-out infinite; }
.post__caption, .vid__meta { display: grid; gap: 7px; }
.sk { display: block; height: 7px; border-radius: 4px; background: rgba(var(--tint), .12); }
.sk--title { width: 60%; height: 9px; background: rgba(var(--tint), .25); }
.sk--short { width: 45%; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; background: linear-gradient(135deg, #ff4b4b, #4F7774); display: grid; place-items: center; }
.vid--sm { background: linear-gradient(135deg, #8DB3AE, #4F7774); }
.vid__play { width: 40px; height: 28px; border-radius: 8px; background: rgba(0,0,0,.55); display: grid; place-items: center; font-size: 12px; }
.bubble { position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #fff; box-shadow: 0 16px 34px -12px var(--shadow); animation: float-y 5s ease-in-out infinite; }
.bubble--1 { background: linear-gradient(140deg, #E09A6E, #D27A4D); top: 60px; right: -2%; }
.bubble--2 { background: linear-gradient(140deg, #3b8cff, #1659d6); top: 46%; left: -4%; animation-delay: -1.5s; width: 46px; height: 46px; font-size: 17px; }
.bubble--3 { background: linear-gradient(140deg, #F0C4A0, #E8B48C); bottom: 30px; right: 10%; animation-delay: -3s; }
.toast { position: absolute; z-index: 4; left: 0; bottom: 70px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--surface); font-size: 13px; line-height: 1.3; animation: float-y 6s ease-in-out infinite; animation-delay: -2s; }
.toast strong { display: block; }
.toast span { color: var(--fg-muted); }
.toast__icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient); color: #fff !important; }

/* =========================================================
   EXPERIENCE BENTO
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { padding: 26px; display: flex; flex-direction: column; transition: border-color .4s, transform .4s var(--ease); }
.tile:hover { border-color: rgba(var(--accent-rgb),  .35); }
.tile--years, .tile--accounts, .tile--platforms, .tile--industry { grid-column: span 2; }
.tile--chart { grid-column: span 4; }
.tile--spec { grid-column: span 6; }
.tile__top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tile__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient-soft); border: 1px solid var(--border); color: var(--accent); font-size: 16px; }
.tile__kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); }
.tile__live { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); }
.tile__num { font-size: clamp(64px, 7vw, 96px); line-height: .9; background-image: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile__label { margin: 8px 0 22px; color: var(--fg-muted); }
.tile__title { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin: 0 0 10px; max-width: 520px; }

.years-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.years-bars i { flex: 1; border-radius: 6px; background: var(--gradient); background-size: 700% 100%; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.years-bars i:nth-child(1) { height: 22%; background-position: 0 0; } .years-bars i:nth-child(2) { height: 32%; background-position: 16% 0; }
.years-bars i:nth-child(3) { height: 44%; background-position: 33% 0; } .years-bars i:nth-child(4) { height: 55%; background-position: 50% 0; }
.years-bars i:nth-child(5) { height: 68%; background-position: 66% 0; } .years-bars i:nth-child(6) { height: 82%; background-position: 83% 0; }
.years-bars i:nth-child(7) { height: 100%; background-position: 100% 0; }
.is-in .years-bars i { transform: scaleY(1); }
.years-bars i:nth-child(n) { transition-delay: calc(var(--i, 0) * 90ms); }

.dots { margin-top: auto; display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: rgba(var(--tint), .08); transition: background .3s, box-shadow .3s; }
.dots i.on { background: var(--accent); box-shadow: 0 0 8px rgba(var(--accent-rgb),  .7); }
.dots i.on:nth-child(3n) { background: var(--accent-3); }
.dots i.on:nth-child(5n) { background: var(--accent-2); }
.dots i.on:nth-child(7n) { background: var(--cool); }

.platform-grid { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.platform-grid .pi { width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; font-size: 22px; transition: transform .4s var(--ease); }
.platform-grid .pi:hover { transform: translateY(-4px) rotate(-6deg); }

.chart { width: 100%; height: 200px; margin-top: auto; overflow: visible; }
.chart__grid line { stroke: rgba(var(--tint), .07); stroke-dasharray: 4 6; }
.chart__line { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.2s var(--ease); }
.chart__line--2 { stroke-dasharray: 6 8; stroke-dashoffset: 0; opacity: 0; transition: opacity 1.2s .8s; }
.chart__area { opacity: 0; transition: opacity 1.4s .6s; }
.chart__dot { opacity: 0; transition: opacity .4s 2s; }
.is-in .chart__line { stroke-dashoffset: 0; }
.is-in .chart__line--2, .is-in .chart__area, .is-in .chart__dot { opacity: 1; }
.chart__legend { display: flex; gap: 18px; font-size: 13px; color: var(--fg-muted); margin-top: 12px; }
.chart__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; }

.industry-list { display: grid; gap: 4px; margin-top: auto; }
.industry-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 500; transition: background .3s; }
.industry-list li:hover { background: rgba(var(--tint), .05); }
.industry-list .ic { width: 20px; text-align: center; color: var(--accent); }

.chips--lg span { font-size: 14px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 10px; }
.chips--lg .ic { color: var(--accent); font-size: 13px; }

/* =========================================================
   EXPERTISE
   ========================================================= */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service { padding: 30px; transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.service:hover { border-color: rgba(var(--accent-rgb),  .4); transform: translateY(-6px); box-shadow: var(--glow); }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.service__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--gradient); box-shadow: 0 14px 30px -12px var(--accent); transition: transform .5s var(--ease); }
.service:hover .service__icon { transform: rotate(-8deg) scale(1.06); }
.service__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(var(--tint), .18); }
.service__num::before { content: attr(data-n); }
.service__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.service p { color: var(--fg-muted); margin: 0; }

/* =========================================================
   PROCESS
   ========================================================= */
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), var(--cool), transparent); opacity: .5; }
.step { text-align: center; position: relative; }
.step__icon { position: relative; width: 74px; height: 74px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--card-solid); border: 1px solid var(--border-strong); color: var(--fg); transition: background .4s, transform .4s var(--ease); }
.step__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed rgba(var(--accent-rgb),  .4); animation: spin 14s linear infinite; }
.step:hover .step__icon { background: var(--gradient); transform: translateY(-4px); }
.step__num { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.step h3 { font-family: var(--font-display); font-size: 26px; margin: 8px 0 8px; letter-spacing: -.02em; }
.step p { color: var(--fg-muted); margin: 0 auto; max-width: 240px; font-size: 15px; }

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.quote-card { position: relative; padding: clamp(36px, 6vw, 80px); border-radius: 36px; overflow: hidden; isolation: isolate;
  background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--gradient) border-box; border: 1px solid transparent; }
.quote-card::before { content: ""; position: absolute; z-index: -1; width: 500px; height: 500px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb),  .25), transparent 65%); }
.quote-card__mark { position: absolute; right: clamp(24px, 5vw, 60px); top: clamp(20px, 4vw, 40px); font-size: clamp(60px, 9vw, 130px); line-height: 1; color: rgba(var(--tint), .05); }
.quote { margin: 0 0 40px; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.8vw, 52px); line-height: 1.15; letter-spacing: -.03em; max-width: 1000px; }
.pillars { display: flex; flex-wrap: wrap; gap: 12px; }
.pillar { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; background: rgba(var(--tint), .04); border: 1px solid var(--border); font-weight: 600; }
.pillar span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); font-size: 14px; }

/* =========================================================
   COVER LETTER TEASER
   ========================================================= */
.teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 64px); overflow: hidden; }
.teaser::before { content: ""; position: absolute; z-index: -1; width: 460px; height: 460px; left: -160px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--cool-rgb),  .3), transparent 65%); }
.teaser__title { font-size: clamp(40px, 5vw, 72px); margin: 0 0 18px; }
.teaser__copy > p { color: var(--fg-muted); font-size: 18px; max-width: 460px; margin: 0 0 30px; }
.paper-stack { position: relative; justify-self: center; width: min(270px, 100%); aspect-ratio: 1 / 1.3; }
.paper { position: absolute; inset: 0; padding: 30px 24px; border-radius: 18px; background: #FBF8F4; transform: rotate(4deg); box-shadow: 0 40px 70px -30px rgba(var(--accent-rgb),  .6); display: flex; flex-direction: column; gap: 10px; animation: float-y 8s ease-in-out infinite; }
.paper--back { background: linear-gradient(160deg, #4F7774, #D27A4D); transform: rotate(-6deg) translate(-14px, 8px); opacity: .6; animation: none; }
.paper__head { padding-bottom: 14px; margin-bottom: 6px; border-bottom: 2px solid #D27A4D; display: grid; gap: 6px; }
.paper__name { width: 65%; height: 16px; border-radius: 4px; background: var(--gradient); }
.paper__role { width: 40%; height: 6px; border-radius: 3px; background: #CFC7BD; }
.ln { height: 7px; border-radius: 4px; background: #E3DCD3; }
.ln--s { width: 60%; } .ln--m { width: 80%; }
.paper__sig { width: 60%; margin-top: auto; }
.paper__stamp { position: absolute; z-index: 2; right: -18px; bottom: 28px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--gradient); box-shadow: 0 14px 30px -10px var(--accent); animation: float-y 5s ease-in-out infinite; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__card { position: relative; text-align: center; padding: clamp(50px, 8vw, 110px) clamp(24px, 5vw, 60px); border-radius: 40px; overflow: hidden; isolation: isolate; border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 120%, rgba(var(--accent-rgb),  .35), transparent 60%), var(--bg-2); }
.contact__card .eyebrow { justify-content: center; }
.contact__blobs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.contact__blobs span { position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; animation: blob 16s ease-in-out infinite; }
.contact__blobs span:first-child { left: -10%; top: -30%; background: radial-gradient(circle, rgba(var(--accent2-rgb),  .3), transparent 65%); }
.contact__blobs span:last-child { right: -10%; bottom: -30%; background: radial-gradient(circle, rgba(var(--cool-rgb),  .4), transparent 65%); animation-delay: -8s; }
.contact__title { font-size: clamp(42px, 7.5vw, 112px); margin: 0; letter-spacing: -.045em; }
.contact .section-sub { margin: 22px auto 40px; }
.contact__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes counter-cw { from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); } to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) - 360deg)); } }
@keyframes counter-ccw { from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a))); } to { transform: translate(-50%, -50%) rotate(calc(-1 * var(--a) + 360deg)); } }
@keyframes heart-up { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-180px) translateX(var(--dx)) scale(1.1); } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes like-pop { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .stage { max-width: 460px; margin-top: 30px; }
  .about__grid { grid-template-columns: 1fr; }
  .phones { order: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--years, .tile--accounts, .tile--platforms, .tile--industry { grid-column: span 1; }
  .tile--chart, .tile--spec { grid-column: span 2; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
  .teaser { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stage { width: 86%; }
  .stage__ring--outer .orb__in { width: 44px; height: 44px; font-size: 17px; border-radius: 14px; }
  .orb__dot { width: 28px; height: 28px; font-size: 11px; }
  .fcard { padding: 9px 12px; font-size: 11px; gap: 8px; border-radius: 14px; }
  .fcard--accounts { left: -10%; top: 2%; }
  .fcard--accounts strong.display { font-size: 20px; }
  .fcard__icon { width: 30px; height: 30px; font-size: 13px; border-radius: 9px; }
  .fcard--notif { right: -12%; top: 24%; }
  .fcard__check { width: 26px; height: 26px; }
  .fcard--growth { width: 130px; right: -10%; bottom: 2%; }
  .bars { height: 36px; gap: 4px; }
  .fcard--years { left: -10%; bottom: 14%; }
  .fcard--years strong { font-size: 24px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .phones { height: 500px; }
  .phone { width: 210px; }
  .phone--back { left: 0; }
  .phone--front { right: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile--years, .tile--accounts, .tile--platforms, .tile--industry, .tile--chart, .tile--spec { grid-column: span 1; }
  .tile__live { display: none; }
  .services, .steps { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
}

/* =========================================================
   CONTACT — channels + form
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 24px; margin-top: 48px; text-align: left; align-items: start; }
.contact__channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: rgba(var(--tint), .04); border: 1px solid var(--border); transition: border-color .3s, transform .3s var(--ease), background .3s; overflow-wrap: anywhere; font-weight: 600; }
.channel:hover { border-color: rgba(var(--accent-rgb),  .45); transform: translateX(4px); background: rgba(var(--accent-rgb),  .06); }
.channel small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 2px; }
.channel__icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--gradient-btn); box-shadow: 0 12px 24px -12px var(--accent); }
.channel__row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.channel__note { display: inline-flex; align-items: center; gap: 10px; margin-left: 6px; font-size: 13px; color: var(--fg-muted); }

.cform { padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; background: var(--surface); }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; color: var(--fg); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--fg);
  padding: 13px 16px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: rgba(var(--tint), .04); transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #141413; background: #fff; }
.field ::placeholder { color: var(--fg-dim); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),  .15); background: rgba(var(--tint), .06); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #ef4444; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__submit { justify-self: start; }
.cform__submit:disabled { opacity: .7; cursor: progress; transform: none; }
.cform__status { margin: 0; font-size: 14px; font-weight: 500; min-height: 1.4em; }
.cform__status.is-ok { color: var(--green); }
.cform__status.is-error { color: #f87171; }
:root[data-theme="light"] .cform__status.is-error { color: #c81e1e; }

@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } .cform__submit { justify-self: stretch; } }

/* Icons on gradient backgrounds are always white (matters in light mode) */
.social:hover, .footer__grid a.social:hover, .step:hover .step__icon, .pillar span { color: #fff; }
.field__opt { font-weight: 400; color: var(--fg-muted); }

/* =========================================================
   CASE STUDY CARDS (home) + shared screenshot frame
   ========================================================= */
.cs-frame { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #0E1213; border: 1px solid var(--border-strong); box-shadow: 0 40px 80px -40px var(--shadow); }
.cs-frame__bar { display: flex; gap: 6px; padding: 10px 14px; background: #1A2324; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.cs-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.cs-frame__bar i:first-child { background: #D27A4D; }
.cs-frame img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }

.hcases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hcase { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; border: 1px solid var(--border); background: var(--bg-2); transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.hcase:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-6px); box-shadow: var(--glow); }
.hcase .cs-frame { margin: 16px 16px 0; aspect-ratio: 16 / 9.4; }
.hcase .cs-frame img { height: 100%; object-fit: cover; object-position: top left; }
.hcase:hover .cs-frame img { transform: scale(1.04); }
.hcase__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; flex: 1; }
.hcase__tag { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hcase__client { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hcase__summary { color: var(--fg-muted); font-size: 16px; }
.hcase__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 6px; padding: 16px 0; border-block: 1px solid var(--border); }
.hcase__stats span { font-size: 12.5px; color: var(--fg-muted); line-height: 1.35; }
.hcase__stats strong { display: block; font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -.03em; color: var(--fg); }
.hcase__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); }
.hcase__cta .ic { transition: transform .35s var(--ease); }
.hcase:hover .hcase__cta .ic { transform: translateX(4px); }
@media (max-width: 1100px) { .hcases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .hcases { grid-template-columns: 1fr; } }
