/* Layout: single-page personal site — sticky nav, split hero with LMS dashboard card, alternating light/tinted bands.
   Navy ink + signal orange (WitsClass orange), Sora display / Plus Jakarta Sans body / JetBrains Mono for data. */
:root { color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --ink: #0f1b2d;
  --ink-2: #44506a;
  --line: #e3e9f4;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --navy: #1e3a8a;
  --on-navy: #e9eef7;
  --card: #ffffff;
  --good: #1e9e6a;
  --f-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Consolas, "Liberation Mono", monospace;
  --r: 14px;
  --shadow: 0 20px 44px -24px rgba(30, 58, 138, .35);
  --edge: rgba(37, 99, 235, .28);
  --glass: rgba(255, 255, 255, .82);
  --grad: linear-gradient(135deg, #38bdf8 0%, #2563eb 55%, #4f46e5 100%);
  --glow: 0 14px 34px -12px rgba(37, 99, 235, .55);
}
 
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 96px; }
.band--soft { background: var(--bg-soft); }
.eyebrow { font: 600 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.sec-head { display: grid; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); }
.sec-head p { color: var(--ink-2); font-size: 17px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font: 600 15px/1 var(--f-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); position: relative; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.brand-mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.brand-mark::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border-radius: 50%; background: var(--good); background: var(--accent); border: 2px solid var(--bg); }
.brand-name { font: 700 17px/1.1 var(--f-display); }
.brand-name small { display: block; font: 500 11.5px/1.3 var(--f-body); color: var(--ink-2); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--bg-soft); }
.nav-cta { padding: 11px 18px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding-block: 64px 96px; position: relative; overflow: hidden; background: radial-gradient(700px 420px at 80% 30%, #eaf1ff, transparent 70%), radial-gradient(500px 300px at 0% 0%, #f0f9ff, transparent 70%), #fff; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero-copy { display: grid; gap: 20px; min-width: 0; }
.hello { font: 500 18px/1 var(--f-body); color: var(--ink-2); display: inline-flex; align-items: center; gap: 12px; }
.hello::before { content: ""; width: 36px; height: 2px; background: var(--accent); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; }
.hero h1 .hl { display: block; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.role { font: 600 clamp(17px, 2vw, 21px)/1.4 var(--f-display); color: var(--ink); }
.role-sep { color: var(--accent); margin-inline: 4px; }
.rotator { color: var(--accent); display: inline-block; min-width: 13ch; }
.rot-word { display: inline-block; animation: rotIn .5s ease both; }
@keyframes rotIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero-lead { font-size: 17.5px; color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 12px 0 0; }
.hero-stats .stat { padding-inline: 22px; border-left: 1px solid var(--line); }
.hero-stats .stat:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font-size: 13px; color: var(--ink-2); order: 2; }
.hero-stats dd { margin: 0 0 4px; font: 700 26px/1.1 var(--f-display); font-variant-numeric: tabular-nums; }
.hero-stats .stat:last-child dd { font-size: 17px; line-height: 1.6; }
.hero-stats .stat { display: flex; flex-direction: column-reverse; }

.hero-visual { position: relative; min-width: 0; display: grid; place-items: center; padding-block: 40px; }
.halo { position: absolute; width: 92%; max-width: 520px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.ring { position: relative; width: 78%; max-width: 420px; aspect-ratio: 1; border-radius: 50%; padding: 6px; isolation: isolate; animation: popIn .9s cubic-bezier(.2,.8,.2,1) .2s both; }
.ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: -1; background: conic-gradient(from 0deg, var(--accent), transparent 30%, transparent 55%, var(--accent) 75%, #93c5fd 90%, var(--accent)); animation: spin 6s linear infinite; }
.ring-photo { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 6px solid #fff; background: var(--bg-soft); }
.ring-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.15); transform-origin: 50% 25%; }
.orbit { position: absolute; width: 96%; max-width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--line); animation: spin 28s linear infinite; }
.sat { position: absolute; width: 46px; height: 46px; margin: -23px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow); animation: spin 28s linear infinite reverse; }
.sat svg { width: 22px; height: 22px; }
.s1 { top: 0; left: 50%; } .s2 { top: 50%; left: 100%; } .s3 { top: 100%; left: 50%; } .s4 { top: 50%; left: 0; }
.live-pill { position: absolute; z-index: 3; top: 4%; right: -2%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow); font: 600 13px/1 var(--f-body); animation: slideIn .7s ease .9s both; }
.live-pill i { width: 8px; height: 8px; border-radius: 50%; background: #e23d3d; animation: pulse 1.4s infinite; }
.badge { position: absolute; z-index: 2; left: 0; bottom: 12%; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); animation: slideIn .7s ease 1.1s both; }
.badge b { display: block; font: 600 14.5px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.badge small { color: var(--ink-2); font-size: 12.5px; }
.badge-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--good); color: #fff; display: grid; place-items: center; }
.badge-ic svg { width: 18px; height: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Hero load sequence */
.hero-copy > * { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .3s; }
.hero-copy > :nth-child(4) { animation-delay: .42s; }
.hero-copy > :nth-child(5) { animation-delay: .54s; }
.hero-copy > :nth-child(6) { animation-delay: .66s; }
.hero h1 .hl { background: linear-gradient(90deg, var(--accent), #93c5fd, var(--accent)) 0 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: color .4s; }
.hero h1:hover .hl { color: transparent; -webkit-text-stroke-color: transparent; animation: sheen 2s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }

/* Scroll reveal (only when JS is running) */
/* (removed: content stays visible on load) */
@keyframes pulse { 50% { opacity: .35; } }

/* Trust strip */
.trust { padding-block: 28px; border-block: 1px solid var(--line); overflow: hidden; }
.trust p { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); text-align: center; margin-bottom: 18px; }
.marquee { display: flex; gap: 14px; width: max-content; animation: scroll 40s linear infinite; }
.marquee span { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font: 600 14px/1 var(--f-display); white-space: nowrap; color: var(--ink-2); background: var(--card); }
@keyframes scroll { to { transform: translateX(calc(-50% - 9px)); } }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.about-card { background: var(--navy); color: var(--on-navy); border-radius: 22px; padding: 36px; display: grid; gap: 22px; }
.about-card h3 { font-size: 22px; color: #fff; }
.about-card p { color: color-mix(in srgb, var(--on-navy) 75%, transparent); }
.about-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.about-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.about-card li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy h2 { font-size: clamp(28px, 4vw, 40px); }
.about-copy p { color: var(--ink-2); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: grid; gap: 14px; align-content: start; transition: border-color .25s, transform .25s; }
.svc:hover { border-color: var(--accent); transform: translateY(-4px); }
.svc-icon { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.svc-icon svg { width: 24px; height: 24px; }
.svc h3 { font-size: 19px; }
.svc p { color: var(--ink-2); font-size: 15px; }
.svc .mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.svc .mini span { font: 500 11.5px/1 var(--f-mono); padding: 6px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--ink-2); }

/* Process */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); counter-increment: step; }
.step::before { content: "Step " counter(step, decimal-leading-zero); font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: 10px; }
.step h4 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: 600 14px/1 var(--f-body); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.pf:hover { border-color: var(--accent); }
.pf-cover { aspect-ratio: 3 / 2; position: relative; display: grid; place-items: center; background: #f3f5f8; overflow: hidden; }
.pf-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; background: #fff; }
.phone { width: 30%; aspect-ratio: 9 / 18; border-radius: 14px; background: #fff; border: 3px solid var(--c, #13233c); transform: translateY(16%); padding: 12px 8px 0; display: grid; gap: 6px; align-content: start; }
.phone b { font: 700 10px/1 var(--f-display); color: var(--c, #13233c); text-align: center; }
.phone i { display: block; height: 6px; border-radius: 3px; background: #e7eaf0; }
.phone i.hl { background: var(--c, #13233c); opacity: .85; height: 20px; }
.pf-body { padding: 16px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.pf-body h3 { font-size: 17px; }
.pf-body small { font-size: 13px; color: var(--ink-2); }
.pf[hidden] { display: none !important; }

/* Podcast */
.pod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.ep { border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.ep:hover { transform: translateY(-4px); border-color: var(--accent); }
.ep-embed { position: relative; background: #fff; aspect-ratio: 4 / 5.4; overflow: hidden; }
.ep-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-cover { position: absolute; inset: 34px 0 0; border-radius: 0 0 30px 30px; display: grid; place-items: center; background: linear-gradient(140deg, #2563eb, #4f46e5); color: #fff; text-decoration: none; }
.ep-cover .wave { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 4px; height: 40px; }
.ep-cover .wave span { flex: 1; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(37, 99, 235, .2); }
.play svg { width: 24px; height: 24px; margin-left: 4px; }
.ep-body { padding: 18px 22px 22px; display: grid; gap: 6px; border-top: 1px solid var(--line); }
.ep-body small { font: 600 11.5px/1 var(--f-mono); letter-spacing: .1em; color: var(--accent); }
.ep-body h3 { font-size: 17px; }
.ep-body a { font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; }
.pod-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; text-decoration: none; transition: border-color .25s; }
.post:hover { border-color: var(--accent); }
.post-meta { display: flex; gap: 10px; align-items: center; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.post-meta .cat { color: var(--accent); background: var(--accent-soft); padding: 6px 9px; border-radius: 6px; font-weight: 600; }
.post h3 { font-size: 19px; }
.post p { color: var(--ink-2); font-size: 15px; }
.post .more { font-weight: 600; font-size: 14.5px; color: var(--accent); margin-top: 4px; }

/* CTA */
.cta { background: var(--navy); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(37, 99, 235, .18); }
.cta h2 { font-size: clamp(26px, 3.6vw, 36px); color: #fff; }
.cta p { color: rgba(233, 238, 247, .75); margin-top: 10px; font-size: 17px; }
.cta .hero-actions { position: relative; z-index: 1; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; }
.contact-list { display: grid; gap: 14px; align-content: start; }
.ci { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; }
.ci-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ci-icon svg { width: 20px; height: 20px; }
.ci small { display: block; font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 5px; }
.ci b { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 15px/1.4 var(--f-body); padding: 13px 14px; border-radius: 11px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-status { font-size: 14px; color: var(--good); }

/* Footer */
.footer { background: var(--bg-soft); color: var(--ink); border-top: 1px solid var(--line); padding-block: 64px 28px; margin-top: 96px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand-mark::after { border-color: var(--bg-soft); }
.footer p, .footer li a { color: var(--ink-2); font-size: 14.5px; }
.footer h4 { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li a { text-decoration: none; }
.footer li a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--accent); }
.socials svg { width: 17px; height: 17px; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.foot-bottom a { color: var(--accent); text-decoration: none; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4); z-index: 40; }
.wa-float svg { width: 28px; height: 28px; }

/* ================= Premium layer ================= */
.btn--primary { background: var(--grad); box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(37, 99, 235, .7); }
.eyebrow { justify-self: start; width: fit-content; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--edge); background: var(--accent-soft); }
.eyebrow::before { width: 6px; height: 6px; border-radius: 50%; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.03em; }
.sec-head h2 em, .about-copy h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band--soft { position: relative; }
.band--soft::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at 85% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); }
.band--soft > .wrap { position: relative; }

/* gradient-edge cards */
.svc, .pf, .ep, .post, .ci, .form, .about-card {
  border: 1px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(150deg, var(--edge), var(--line) 38%, var(--line) 70%, var(--edge)) border-box;
}
.about-card { background: linear-gradient(145deg, #2563eb, #1e40af) padding-box, linear-gradient(150deg, rgba(37,99,235,.55), rgba(255,255,255,.08) 45%, rgba(37,99,235,.3)) border-box; }

/* Hero premium satellites */
.sat { width: 56px; height: 56px; margin: -28px; border-radius: 17px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; background: var(--sg); box-shadow: 0 14px 30px -10px var(--sc), inset 0 1px 0 rgba(255, 255, 255, .35); }
.sat svg { width: 26px; height: 26px; }
.g-violet { --sg: linear-gradient(140deg, #8b7bff, #5b3fd6); --sc: rgba(91, 63, 214, .6); }
.g-green { --sg: linear-gradient(140deg, #4fe0a5, #129a68); --sc: rgba(18, 154, 104, .6); }
.g-orange { --sg: linear-gradient(140deg, #67e8f9, #0891b2); --sc: rgba(8, 145, 178, .55); }
.g-blue { --sg: linear-gradient(140deg, #5cc8ff, #1f6fe0); --sc: rgba(31, 111, 224, .6); }
.orbit { border: 1px solid var(--line); }
.badge { background: var(--glass); border-color: var(--edge); }
.badge-ic { background: linear-gradient(140deg, #4fe0a5, #129a68); box-shadow: 0 8px 18px -8px rgba(18, 154, 104, .7); }

/* Services premium */
.svc { position: relative; padding: 32px 30px; gap: 16px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.svc::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(150deg, var(--accent), var(--line) 50%, var(--accent)) border-box; }
.svc:hover::after { opacity: 1; }
.svc-num { position: absolute; top: 26px; right: 28px; font: 600 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-2); opacity: .55; }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.svc-icon svg { width: 25px; height: 25px; }
.svc h3 { font-size: 20px; margin-top: 6px; }
.svc p { font-size: 15.5px; line-height: 1.7; }
.svc .mini { gap: 8px; margin-top: 6px; padding-top: 18px; border-top: 1px dashed var(--line); }
.svc .mini span { font: 600 12px/1 var(--f-body); padding: 7px 11px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink-2); }

/* Portfolio premium */
.filters { padding: 5px; gap: 4px; width: fit-content; max-width: 100%; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.filters button { border: 0; background: transparent; padding: 10px 18px; }
.filters button[aria-pressed="true"] { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.pf { border-radius: 22px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.pf:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pf-cover { aspect-ratio: 4 / 3; margin: 12px 12px 0; border-radius: 16px; background: linear-gradient(160deg, #f6f7fb, #e9edf4); }
.pf-cover > img { inset: 0; object-fit: cover; object-position: center; background: transparent; mix-blend-mode: multiply; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.pf:hover .pf-cover > img { transform: scale(1.06); }
.pf-view { position: absolute; z-index: 3; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; font: 600 11.5px/1 var(--f-body); color: #fff; background: rgba(15, 27, 45, .78); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.pf:hover .pf-view { opacity: 1; transform: none; }
.pf-body { border-top: 0; padding: 18px 20px 20px; align-items: center; flex-wrap: nowrap; }
.pf-body > div { display: grid; gap: 4px; min-width: 0; }
.pf-body h3 { font-size: 18px; }
.pf-go { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.pf-go svg { width: 18px; height: 18px; }
.pf:hover .pf-go { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(45deg); }

/* Process premium */
.step { border-top: 0; padding: 22px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.step::before { display: inline-block; padding: 6px 9px; border-radius: 8px; background: var(--accent-soft); }

/* Blog + podcast polish */
.post, .ep { border-radius: 22px; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.post:hover, .ep:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ep-embed { margin: 12px 12px 0; border-radius: 16px; }
.ep-body { border-top: 0; }
.cta { background: radial-gradient(500px 260px at 90% 10%, rgba(56, 189, 248, .45), transparent 70%), linear-gradient(135deg, #1d4ed8, #4338ca); box-shadow: 0 30px 60px -30px rgba(37, 99, 235, .6); }
.cta::after { border-color: rgba(255, 255, 255, .12); }
.cta .btn--primary { background: #fff; color: #1d4ed8; box-shadow: none; }
.marquee span { background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(150deg, var(--edge), var(--line)) border-box; border-color: transparent; }

/* Service icon colours */
.svc-icon.g-violet { background: linear-gradient(140deg, #8b7bff, #5b3fd6); box-shadow: 0 14px 28px -12px rgba(91, 63, 214, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon.g-sky { background: linear-gradient(140deg, #38bdf8, #2563eb); box-shadow: 0 14px 28px -12px rgba(37, 99, 235, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon.g-pink { background: linear-gradient(140deg, #e879f9, #c026d3); box-shadow: 0 14px 28px -12px rgba(192, 38, 211, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon.g-green { background: linear-gradient(140deg, #4fe0a5, #129a68); box-shadow: 0 14px 28px -12px rgba(18, 154, 104, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon.g-amber { background: linear-gradient(140deg, #fdba74, #f97316); box-shadow: 0 14px 28px -12px rgba(249, 115, 22, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon.g-indigo { background: linear-gradient(140deg, #a5b4fc, #4f46e5); box-shadow: 0 14px 28px -12px rgba(79, 70, 229, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.svc-icon svg { width: 26px; height: 26px; }

/* Portfolio: hide placeholder phone when the real image is there */
.pf-cover:has(> img) .phone { display: none; }
.pf-cover > img { mix-blend-mode: normal; object-fit: cover; }

/* Podcast: real reels in phone frames */
.pod-grid { gap: 28px; }
.ep { gap: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible; gap: 18px; }
.ep:hover { transform: none; }
.phone-frame { position: relative; margin-inline: auto; width: 100%; max-width: 290px; padding: 11px; border-radius: 40px; background: linear-gradient(160deg, #1f2937, #0b1220); box-shadow: 0 30px 60px -28px rgba(30, 58, 138, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .12); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.ep:hover .phone-frame { transform: translateY(-6px); }
.notch { position: absolute; z-index: 3; top: 20px; left: 50%; width: 84px; height: 20px; margin-left: -42px; border-radius: 999px; background: #0b1220; }
.screen { position: relative; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #0b1220; }
.reel-cover { position: absolute; inset: 0; width: 100%; border: 0; padding: 22px 20px; cursor: default; color: #fff; font: inherit; text-align: left; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(circle at 80% 15%, rgba(56, 189, 248, .55), transparent 45%), linear-gradient(160deg, #4f46e5, #2563eb 55%, #0b1220); }
.reel-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-cover img + .rc-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.6), transparent 40%, transparent 70%, rgba(0,0,0,.35)); }
.rc-top, .rc-play, .rc-title { position: relative; z-index: 1; }
.rc-top { display: flex; align-items: center; gap: 8px; padding-top: 18px; font: 600 12px/1 var(--f-body); opacity: .95; }
.rc-ep { padding: 6px 9px; border-radius: 8px; background: rgba(255,255,255,.2); font-family: var(--f-mono); }
.reel-cover::after { content: ""; }
.rc-play { align-self: center; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #2563eb; box-shadow: 0 0 0 12px rgba(255,255,255,.18), 0 20px 40px -10px rgba(0,0,0,.4); transition: transform .25s; }
.rc-play svg { width: 28px; height: 28px; margin-left: 3px; }
.reel-cover:hover .rc-play { transform: scale(1.08); }
.rc-title { font: 600 17px/1.3 var(--f-display); }
/* Instagram player: trim its header and the likes/comment bar */
.screen iframe { position: absolute; left: 0; width: 100%; top: -56px; height: calc(100% + 56px + 210px); border: 0; background: #fff; }
.screen iframe { opacity: 0; transition: opacity .4s; }
.screen iframe { z-index: 2; }
.screen.loaded iframe { opacity: 1; }
.screen.loaded .reel-cover { display: none; }
.rc-load { align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .9s linear infinite; }
.screen.loaded .rc-load { animation: none; }
.ep-body { padding: 0 6px !important; display: flex !important; gap: 14px; align-items: flex-start; max-width: 290px; margin-inline: auto; width: 100%; }
.ep-no { flex: none; padding: 8px 10px; border-radius: 10px; background: var(--grad); color: #fff; font: 700 12px/1 var(--f-mono); box-shadow: var(--glow); }
.ep-body h3 { font-size: 16.5px; margin-bottom: 6px; }
.ep-body a { font-weight: 600; font-size: 14px; color: var(--accent); text-decoration: none; }

/* Portfolio: auto-scrolling carousel */
#portfolio { overflow-x: clip; }
.pf-marquee { overflow: hidden; margin-inline: calc(50% - 50vw); padding-block: 14px 24px; position: relative; }
.pf-marquee::before, .pf-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 2; pointer-events: none; }
.pf-marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.pf-marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.pf-track { display: flex; gap: 24px; width: max-content; padding-inline: 20px; animation: pfScroll 55s linear infinite; backface-visibility: hidden; }
.pf-marquee:hover .pf-track { animation-play-state: paused; }
@keyframes pfScroll { to { transform: translateX(calc(-50% - 12px)); } }
.pf-track .pf { width: 320px; flex: none; border-radius: 22px; }
.pf-track .pf:hover { transform: none; box-shadow: none; border-color: var(--accent); }
.pf-track .pf { transition: border-color .2s; }
.pf-track .pf-cover { aspect-ratio: 16 / 10; margin: 0; border-radius: 0; background: #f4f6fb; }
.pf-track .pf-cover { background: #fff; border-bottom: 1px solid var(--line); }
.pf-track .pf-cover > img { object-fit: contain; padding: 8px; transition: transform .5s; }
.pf-track .pf:hover .pf-cover > img { transform: scale(1.05); }
.pf-track .pf-body { display: grid; gap: 8px; padding: 20px 22px 24px; align-items: start; }
.pf-track .pf-body small { font: 700 11.5px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.pf-track .pf-body h3 { font-size: 19px; }
.pf-track .pf-body p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; min-height: 4.8em; }
.pf-track .pf-body a { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 4px; font-weight: 600; font-size: 14.5px; color: var(--accent); text-decoration: none; }
.pf-track .pf-body a svg { width: 15px; height: 15px; transition: transform .25s; }
.pf-track .pf-body a:hover svg { transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .pf-marquee { overflow-x: auto; } }

/* Hero photo card + glass stats */
.hero-visual { padding-block: 36px; }
.photo-card { position: relative; width: 80%; max-width: 400px; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(30, 58, 138, .45); }
.photo-card::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .35), transparent); }
.photo-card img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.photo-card::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(15, 27, 45, .55), transparent); }
.photo-cap { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.photo-cap b { display: block; font: 600 15px/1.3 var(--f-display); color: var(--ink); }
.photo-cap span { font-size: 13px; color: var(--ink-2); }
.stat-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); box-shadow: 0 20px 40px -22px rgba(30, 58, 138, .45); }
.stat-card b { display: block; font: 700 20px/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-card small { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.st-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 10px 20px -10px rgba(37, 99, 235, .7), inset 0 1px 0 rgba(255,255,255,.35); }
.st-ic svg { width: 21px; height: 21px; }
.sc-1 { top: 8%; left: 0; }
.sc-2 { top: 46%; left: -4%; }
.sc-3 { top: 30%; right: -2%; }
.sc-4 { bottom: -3%; right: -4%; }
.photo-cap { bottom: 30px; right: 30px; left: 16px; }

/* Contact form polish */
.form { padding: 36px; gap: 18px 16px; box-shadow: 0 30px 60px -36px rgba(30, 58, 138, .35); }
.form-head { grid-column: 1 / -1; display: grid; gap: 4px; padding-bottom: 6px; }
.form-head h3 { font-size: 22px; }
.form-head p { color: var(--ink-2); font-size: 14.5px; }
.field input, .field select, .field textarea { height: 52px; padding: 0 16px; border-radius: 12px; background: var(--bg-soft); border-color: transparent; font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field label { font-size: 13.5px; color: var(--ink); }
.form-foot .btn { padding: 15px 26px; }

/* Hero name: solid dark, new font */
.hero h1 { font-family: "Outfit", "Segoe UI", system-ui, sans-serif; font-weight: 700; letter-spacing: -.025em; line-height: 1.04; }
.hero h1 .hl { color: var(--ink); -webkit-text-stroke: 0; background: none; -webkit-background-clip: border-box; background-clip: border-box; font-weight: 700; }
.hero h1:hover .hl { color: var(--ink); animation: none; }

/* Scroll performance */
.pf-marquee.is-off .pf-track, .trust.is-off .marquee { animation-play-state: paused; }
.pf-marquee { contain: paint; }
.pf-track .pf { box-shadow: none; }
.pf-track .pf-cover > img { transition: none; }
.pf-track .pf:hover .pf-cover > img { transform: none; }
#podcast, #blog, #contact, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.phone-frame { box-shadow: 0 24px 40px -28px rgba(30, 58, 138, .5); }

/* Logo strip */
.marquee { gap: 18px; align-items: center; }
.trust .marquee .logo-tile { flex: none; width: 176px; height: 82px; padding: 12px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.trust .marquee .logo-tile img { display: block; width: 136px; height: 54px; max-width: none; object-fit: contain; }

/* Portfolio: bigger images, no link */
.pf-track .pf { width: 380px; }
.pf-track .pf-cover { aspect-ratio: 4 / 3; }
.pf-track .pf-cover > img { padding: 0; object-fit: cover; }
.pf-track .pf-body p { min-height: 0; }

/* Portfolio: light step slider (replaces continuous strip) */
.pf-marquee { overflow-x: auto; overflow-y: hidden; contain: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-inline: max(20px, calc((100vw - 1160px) / 2 + 20px)); scroll-padding-inline: max(20px, calc((100vw - 1160px) / 2 + 20px)); }
.pf-marquee::-webkit-scrollbar { display: none; }
.pf-marquee::before, .pf-marquee::after { display: none; }
.pf-track { animation: none !important; padding-inline: 0; transform: none; }
.pf-track .pf { scroll-snap-align: start; }
.pf-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: -8px; }
.pf-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pf-nav button:hover { background: var(--grad); color: #fff; border-color: transparent; }
.pf-nav svg { width: 20px; height: 20px; }
@media (max-width: 640px) { .pf-track .pf { width: 82vw; } }

/* Section heading width + calmer service cards */
.sec-head { max-width: 820px; }
.sec-head h2 { text-wrap: balance; }
.svc::after { display: none; }
.svc:hover { transform: none; box-shadow: 0 24px 48px -30px rgba(30, 58, 138, .35); }
.svc-grid { align-items: stretch; }
.svc { grid-template-rows: auto auto 1fr auto; }

/* Hero: static, no animation */
.hero *, .hero *::before, .hero *::after { animation: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .svc-grid, .pf-grid, .pod-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-cta { display: none; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .hero .wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .portrait { margin-inline: auto; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .band { padding-block: 72px; }
}
@media (max-width: 640px) {
  .svc-grid, .pf-grid, .pod-grid, .blog-grid, .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1.3fr; }
  .hero-stats .stat { padding-inline: 12px; }
  .hero-stats dd { font-size: 20px; }
  .hero-stats .stat:last-child dd { font-size: 13.5px; }
  .hero-visual { grid-template-columns: 1fr 1fr; gap: 10px; padding-block: 8px 0; }
  .photo-card { grid-column: 1 / -1; width: 100%; max-width: none; aspect-ratio: 1 / 1; margin-bottom: 4px; }
  .photo-cap { right: 16px; padding: 12px 14px; }
  .photo-cap b { font-size: 14px; }
  .stat-card { position: static; padding: 10px 12px 10px 10px; gap: 10px; border-radius: 14px; box-shadow: none; }
  .stat-card b { font-size: 17px; }
  .stat-card small { font-size: 11.5px; }
  .st-ic { width: 36px; height: 36px; border-radius: 10px; }
  .st-ic svg { width: 18px; height: 18px; }
  .live-pill { right: -4px; top: 6%; font-size: 12px; }
  .sat { width: 38px; height: 38px; margin: -19px; border-radius: 11px; }
  .sat svg { width: 18px; height: 18px; }
  .role-sep { display: none; }
  .rotator { display: block; }
  .brand-name small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
