/* Safeersha A. portfolio. Budget Solutions design system, black + campaign yellow. */
:root {
  --bg: #f5f3ee;
  --card: #ffffff;
  --ink: #111111;
  --body: #2b2a27;
  --muted: #5d5a53;
  --soft: #ece7da;
  --deep: #0d0d0d;
  --deep-2: #1a1a1a;
  --lime: #d6f46a;
  --accent: #ffc928;
  --line: #e4dfd3;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --pad: clamp(16px, 3vw, 32px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(17, 17, 17, .06), 0 2px 6px rgba(17, 17, 17, .05);
  --shadow-md: 0 1px 2px rgba(17, 17, 17, .05), 0 6px 14px rgba(17, 17, 17, .06), 0 18px 40px rgba(17, 17, 17, .07);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .12), 0 12px 28px rgba(0, 0, 0, .22), 0 32px 64px rgba(0, 0, 0, .28);
  font-family: var(--font, "Outfit"), system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
svg { flex: none; }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease);
}
.pill svg { width: 20px; height: 20px; }
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(0) scale(0.98); }
.pill-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.pill-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.pill-ghost:hover { background: rgba(255, 255, 255, .16); }
.pill-lime { background: var(--lime); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; margin: 12px; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 78% 45%, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 60%),
    radial-gradient(40% 50% at 8% 100%, rgba(255, 255, 255, .06) 0%, transparent 70%),
    var(--deep);
  color: #fff;
  min-height: min(900px, calc(100svh - 24px));
  display: grid; grid-template-rows: auto 1fr auto;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 80% at 70% 40%, #000 0%, transparent 75%);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 20px 0 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-size: 15px; letter-spacing: 0; }
.nav-links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; color: rgba(255, 255, 255, .86); transition: background-color 200ms var(--ease); }
.nav-links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 24px clamp(24px, 4vw, 64px) 40px; max-width: var(--max); width: 100%; margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .92); }
.eyebrow { padding: 4px 16px 4px 4px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }
.eyebrow-sub { color: rgba(255, 255, 255, .72); font-weight: 500; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(214, 244, 106, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(214, 244, 106, .55); } 70% { box-shadow: 0 0 0 10px rgba(214, 244, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 244, 106, 0); } }
.hero h1 { font-size: clamp(2.7rem, 1.2rem + 4.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 22px 0 22px; max-width: 12ch; }
.lede { font-size: clamp(17px, 1rem + .3vw, 20px); color: rgba(255, 255, 255, .84); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); }
.hero-meta strong { color: #fff; font-variant-numeric: tabular-nums; }
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .4); }

.hero-stage { position: relative; height: clamp(460px, 44vw, 620px); }
.fan { position: absolute; inset: 0; display: grid; place-items: center; }
.fan .phone { position: absolute; width: clamp(170px, 15.5vw, 230px); }
.fan .phone figcaption { display: none; }
.fan-1 { transform: translateX(-62%) rotate(-9deg) translateY(18px); animation: float-a 7s ease-in-out infinite; }
.fan-2 { z-index: 2; transform: translateY(-14px); animation: float-b 8s ease-in-out infinite; }
.fan-3 { transform: translateX(62%) rotate(9deg) translateY(18px); animation: float-c 7.5s ease-in-out infinite; }
@keyframes float-a { 50% { transform: translateX(-62%) rotate(-8deg) translateY(6px); } }
@keyframes float-b { 50% { transform: translateY(-28px); } }
@keyframes float-c { 50% { transform: translateX(62%) rotate(8deg) translateY(6px); } }

.float-card { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-md); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); min-width: 150px; }
.float-card strong { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.float-card > span { font-size: 13px; font-weight: 500; color: var(--muted); line-height: 1.3; max-width: 16ch; }
.fc-1 { left: 0; top: 14%; }
.fc-2 { right: 0; top: 4%; background: var(--accent); }
.fc-2 span { color: #3b3216; }
.fc-3 { right: 4%; bottom: 8%; }
.spin { position: absolute; z-index: 3; left: 8%; bottom: 4%; width: 120px; height: 120px; }
.spin text { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; fill: #fff; }
.spin circle { fill: var(--lime); }
.spin text { transform-origin: 60px 60px; animation: spin 16s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.totals-mobile { display: none; }

/* Phone frame (used in hero, cases) */
.phone { position: relative; }
.phone img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 22px; border: 5px solid #161616; background: #222; box-shadow: var(--shadow-lg); }
.phone figcaption { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }

/* Load-in */
.js .load { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease) var(--d, 0ms) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Moving strip ---------- */
.strip {
  display: flex; overflow: hidden; margin: 0 12px; padding: 20px 0; border-radius: 24px;
  background: var(--accent); color: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strip-track { display: flex; flex: none; gap: 36px; padding-right: 36px; animation: marquee 60s linear infinite; }
.strip:hover .strip-track, .strip.paused .strip-track { animation-play-state: paused; }
.strip li { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.strip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Sections ---------- */
main { display: block; }
.block { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 9vw, 128px) var(--pad) 0; }
.block-head { max-width: 760px; margin-bottom: 44px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--accent); }
.block-head h2, .cta h2 { font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; }
.block-lede { margin-top: 16px; color: var(--body); max-width: 56ch; font-size: 18px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--accent); aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.name-tag { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-md); background: rgba(13, 13, 13, .78); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.name-tag strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.name-tag span { font-size: 14px; color: var(--accent); font-weight: 600; }
.about .block-head { margin-bottom: 24px; }
.about-lede { font-size: clamp(17px, 1rem + .25vw, 19px); color: var(--body); max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.facts li { padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-md); display: grid; gap: 2px; }
.facts li:first-child { background: var(--deep); color: #fff; box-shadow: none; }
.facts li:first-child strong { color: var(--accent); }
.facts strong { font-size: clamp(26px, 1.2rem + 1vw, 36px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.facts span { font-size: 15px; color: var(--muted); font-weight: 500; }
.facts li:first-child span { color: rgba(255, 255, 255, .72); }

/* Campaign cases */
.cases { display: grid; gap: 16px; }
.case { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 48px); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-md); }
.case:first-child { background: var(--deep); color: #fff; box-shadow: none; }
.case:first-child .case-note, .case:first-child .case-format { color: rgba(255, 255, 255, .8); }
.case:first-child .phone figcaption, .case:first-child dt { color: rgba(255, 255, 255, .66); }
.case:first-child .case-stats > div { background: var(--deep-2); }
.case:first-child dd { color: var(--accent); }
.case-num { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case:first-child .case-num { color: var(--accent); }
.case h3 { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 8px; }
.case-format { font-weight: 600; color: var(--muted); font-size: 15px; }
.case-note { margin-top: 16px; color: var(--body); max-width: 46ch; }
.case-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 28px 0 0; }
.case-stats > div { padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); }
.case-stats dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.case-stats dd { margin: 2px 0 0; font-size: clamp(24px, 1.2rem + .9vw, 34px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.case-reels { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-reels.reels-2 { grid-template-columns: repeat(2, minmax(0, 200px)); justify-content: center; gap: 24px; }
.case-reels .reel-item:nth-child(even) { transform: translateY(28px); }
.case-reels { padding-bottom: 28px; }
.case-reels .phone img { border-radius: 18px; border-width: 4px; box-shadow: var(--shadow-md); }

/* Featured clients */
.clients { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.client { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--deep); aspect-ratio: 3 / 4.6; }
.client img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.client:hover img { transform: scale(1.04); }
.client::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 40%); }
.client figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-weight: 700; font-size: 15px; text-align: center; }
.brands-line { margin-top: 28px; color: var(--body); max-width: 68ch; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.service { padding: 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-md); transition: transform 250ms var(--ease); }
.service:hover { transform: translateY(-4px); }
.service-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.service-ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 20px; font-weight: 700; margin: 22px 0 8px; letter-spacing: -0.02em; }
.service p { color: var(--body); font-size: 16px; }

/* Approach band */
.approach-band { max-width: none; padding-left: 12px; padding-right: 12px; }
.approach { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); background: var(--deep); color: #fff; }
.approach-head { margin: 0; align-self: start; position: sticky; top: 32px; }
.approach .kicker { color: rgba(255, 255, 255, .7); }
.approach .block-lede { color: rgba(255, 255, 255, .8); margin-bottom: 28px; }
.steps { position: relative; padding-left: 0; }
.steps-line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: rgba(255, 255, 255, .14); }
.steps-fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.steps ol { display: grid; gap: 40px; }
.steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; }
.step-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 17px; background: var(--deep-2); color: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); transition: background-color 400ms var(--ease), color 400ms var(--ease), box-shadow 400ms var(--ease); }
.steps li.is-active .step-dot { background: var(--accent); color: var(--ink); box-shadow: none; }
.steps h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 12px 0 6px; }
.steps p { color: rgba(255, 255, 255, .8); max-width: 46ch; }

/* Experience */
.xp { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.roles { display: grid; gap: 12px; }
.role { position: relative; padding: 26px 28px 26px 32px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-md); overflow: hidden; }
.role::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.role h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.role-org { font-weight: 600; color: var(--muted); font-size: 15px; margin: 4px 0 10px; }
.role p:last-child { color: var(--body); font-size: 16px; }
.edu { position: sticky; top: 24px; padding: 32px; border-radius: var(--r-lg); background: var(--accent); color: var(--ink); }
.edu .kicker { color: #3b3216; margin-top: 22px; }
.edu .kicker::before { background: var(--ink); }
.edu-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.edu-ico svg { width: 28px; height: 28px; }
.edu h3 { font-size: 56px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.edu > p { margin-top: 10px; font-weight: 500; }
.awards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.awards li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.awards svg { width: 16px; height: 16px; color: var(--accent); }
.edu .edu-note { margin-top: 20px; font-size: 15px; color: #2f2812; }
.projects-head { margin-top: 56px; }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.project { padding: 28px; border-radius: var(--r-lg); background: var(--deep); color: #fff; }
.project-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.project h3 { font-size: 21px; font-weight: 700; margin: 18px 0 8px; letter-spacing: -0.02em; }
.project p:last-child { color: rgba(255, 255, 255, .8); font-size: 16px; }

/* Contact */
.cta { max-width: calc(var(--max) + 24px); margin: clamp(80px, 9vw, 128px) auto 0; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-xl); background: var(--deep); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 1305px) { .cta { margin-left: auto; margin-right: auto; } }
.cta::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); }
.cta .kicker { color: rgba(255, 255, 255, .7); }
.cta-text > p { margin-top: 18px; color: rgba(255, 255, 255, .84); font-size: 18px; max-width: 44ch; }
.cta-links { display: grid; gap: 10px; margin-top: 32px; }
.cta-links a, .cta-loc { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
.cta-links a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.cta-links svg { width: 22px; height: 22px; color: var(--accent); }
.ask { display: grid; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.ask h3 { font-size: 24px; font-weight: 800; }
.ask label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ask .opt { font-weight: 500; color: var(--muted); }
.ask input, .ask select, .ask textarea { font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #faf9f6; resize: vertical; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.ask .pill { width: 100%; margin-top: 4px; }
.ask-note { font-size: 13px; color: var(--muted); }

/* Footer + floating WhatsApp */
.foot { max-width: var(--max); margin: 0 auto; padding: 40px var(--pad) 48px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.foot strong { color: var(--ink); }
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.float-wa svg { width: 30px; height: 30px; }
.float-wa.show { opacity: 1; transform: none; pointer-events: auto; }

/* Reveal + word reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease) var(--d, 0ms), transform 800ms var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.wr-word { display: inline-block; opacity: 0; transform: translateY(0.5em); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--wi) * 70ms); }
.is-visible .wr-word { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; }
  .hero h1 { max-width: 14ch; }
  .hero-stage { height: 520px; max-width: 640px; width: 100%; margin: 0 auto; }
  .case { grid-template-columns: 1fr; }
  .about { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .clients { gap: 8px; }
  .client figcaption { left: 8px; right: 8px; bottom: 8px; font-size: 13px; padding: 6px 8px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: 1fr; }
  .approach-head { position: static; }
  .xp { grid-template-columns: 1fr; }
  .edu { position: static; }
  .projects { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; margin-left: 12px; margin-right: 12px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { margin: 8px; border-radius: 24px; min-height: 0; }
  .nav { padding: 14px 14px 0 18px; }
  .logo span:last-child { display: none; }
  .hero-grid { padding: 24px 20px 8px; gap: 8px; }
  .hero h1 { margin: 18px 0 16px; }
  .hero-actions .pill { flex: 1 1 100%; }
  .hero-stage { height: 360px; }
  .fan .phone { width: 150px; }
  .float-card, .spin { display: none; }
  .totals-mobile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 12px 12px; }
  .totals-mobile li { padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); display: grid; gap: 2px; }
  .totals-mobile li:nth-child(2) { background: var(--accent); color: var(--ink); }
  .totals-mobile strong { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
  .totals-mobile li > span { font-size: 13px; line-height: 1.3; opacity: .85; }
  .strip { margin: 8px 8px 0; padding: 14px 0; border-radius: 18px; }
  .strip li { font-size: 18px; }
  .block-head { margin-bottom: 32px; }
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .eyebrow-sub, .eyebrow .live-dot { display: none; }
  .case { padding: 22px; border-radius: 24px; }
  .case-stats { gap: 6px; }
  .case-stats > div { padding: 12px; }
  .case-reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -22px; padding: 0 22px 8px; scrollbar-width: none; }
  .case-reels::-webkit-scrollbar { display: none; }
  .case-reels .reel-item { flex: 0 0 44%; scroll-snap-align: start; }
  .case-reels .reel-item:nth-child(even) { transform: none; }
  .case-reels.reels-2 .reel-item { flex-basis: calc(50% - 6px); }
  .clients { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; grid-template-columns: repeat(5, 58%); gap: 10px; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad) 8px; scroll-padding: 0 var(--pad); }
  .clients::-webkit-scrollbar { display: none; }
  .client { scroll-snap-align: start; }
  .client figcaption { font-size: 15px; }
  .services { grid-template-columns: 1fr; gap: 10px; }
  .service { padding: 24px; }
  .approach-band { padding-left: 8px; padding-right: 8px; }
  .approach { padding: 28px 22px; border-radius: 24px; }
  .steps ol { gap: 28px; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .step-dot { width: 48px; height: 48px; font-size: 15px; }
  .steps-line { left: 23px; }
  .steps h3 { margin-top: 8px; font-size: 20px; }
  .role { padding: 22px 22px 22px 26px; }
  .edu { padding: 26px; }
  .project { padding: 24px; }
  .cta { margin: 80px 8px 0; padding: 28px 20px 20px; border-radius: 24px; }
  .ask { padding: 22px; }
  .foot { flex-direction: column; }
  .float-wa { right: 14px; bottom: 14px; width: 56px; height: 56px; }
}

/* ---------- Reduced motion: everything at rest ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .load, .js .reveal { opacity: 1; transform: none; }
  .wr-word { opacity: 1; transform: none; }
  .fan-1 { transform: translateX(-62%) rotate(-9deg) translateY(18px); }
  .fan-3 { transform: translateX(62%) rotate(9deg) translateY(18px); }
  .strip { overflow-x: auto; scroll-snap-type: x proximity; -webkit-mask-image: none; mask-image: none; padding: 16px 24px; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip-track[aria-hidden] { display: none; }
  .steps-fill { transform: scaleY(1); }
}
