/* Self-hosted variable fonts (OFL) — replaces the Google Fonts CDN for Core Web
   Vitals + privacy + parity with how we self-host for clients. Latin subset,
   weight-axis variable (one file covers every weight used). ../fonts/ resolves
   to /fonts/ from this /css/ file. Full axis ranges cover all used weights
   (Sora up to 800, Manrope up to 700, JetBrains Mono 500/600). */
@font-face{font-family:'Sora';src:url(../fonts/sora-latin-wght-normal.woff2) format('woff2');font-weight:100 800;font-style:normal;font-display:swap}
@font-face{font-family:'Manrope';src:url(../fonts/manrope-latin-wght-normal.woff2) format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2');font-weight:100 800;font-style:normal;font-display:swap}

/* =============================================================
   2k Web Developments — shared stylesheet
   -------------------------------------------------------------
   Two pages share this file. They were authored as two different
   design systems (index = light theme, about = dark theme) with
   conflicting rules for several shared selectors (body, .wrap,
   .eyebrow, .brand img, .nav, .btn*, .cta*, and :root tokens
   --grad / --surf-d2). To keep each page's rendering byte-for-byte
   identical to its original inline <style>, every page-specific
   rule is scoped under a body class:
       index.html  -> <body class="home">
       about.html  -> <body class="about">
   Truly identical rules (*, a) stay global.
   ============================================================= */

/* ---------- shared resets (identical in both originals) ---------- */
*{margin:0;padding:0;box-sizing:border-box}
a{color:inherit;text-decoration:none}

/* root-level behaviours, scoped so each page keeps its original behaviour */
html:has(body.home){scroll-behavior:smooth}
html:has(body.about){background:#120A1F}

/* =============================================================
   HOME  (index.html)  — light theme
   ============================================================= */
body.home{
  --void:#120A1F; --void-2:#0B0613; --surf-d:#1B1130; --surf-d2:#241738;
  --purple:#A435EF; --violet:#7B2CBF; --violet-deep:#4C1D95; --cyan:#22D3EE;
  --mist:#FAF8FE; --mist-2:#F2ECFA; --white:#fff;
  --ink:#1A1228; --ink-soft:#5C5470; --ink-faint:#8B83A0;
  --off:#ECE6F7; --off-soft:#A99FC4;
  --bd-l:rgba(26,18,40,.10); --bd-d:rgba(164,53,239,.20);
  --r:14px; --r-lg:20px; --max:1180px;
  --grad:linear-gradient(135deg,#7B2CBF 0%,#A435EF 100%);
  font-family:'Manrope',-apple-system,sans-serif;background:var(--mist);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden
}
body.home h1,body.home h2,body.home h3,body.home h4{font-family:'Sora',sans-serif;line-height:1.12;letter-spacing:-.02em;font-weight:700}
body.home .wrap{max-width:var(--max);margin:0 auto;padding:0 28px}
body.home .eyebrow{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--purple)}
body.home .btn{display:inline-flex;align-items:center;gap:9px;font-family:'Sora',sans-serif;font-weight:600;font-size:15px;padding:14px 26px;border-radius:999px;border:0;cursor:pointer;transition:.25s;white-space:nowrap}
body.home .btn svg{width:17px;height:17px;transition:transform .25s}
body.home .btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 22px rgba(164,53,239,.32)}
body.home .btn-primary:hover{box-shadow:0 10px 34px rgba(164,53,239,.5);transform:translateY(-2px)}
body.home .btn-primary:hover svg{transform:translateX(4px)}
body.home .btn-ghost{background:transparent;border:1.5px solid rgba(164,53,239,.4);color:var(--purple)}
body.home .btn-ghost:hover{background:rgba(164,53,239,.1);border-color:var(--purple)}
body.home .btn-ghost-l{background:#fff;border:1.5px solid var(--bd-l);color:var(--ink)}
body.home .btn-ghost-l:hover{border-color:var(--violet);color:var(--violet);transform:translateY(-2px)}

/* HEADER */
body.home header{position:fixed;top:0;left:0;right:0;z-index:50;transition:.3s;padding:18px 0}
body.home header.scrolled{background:rgba(12,7,20,.82);backdrop-filter:blur(14px);border-bottom:1px solid rgba(164,53,239,.14);padding:11px 0}
body.home .nav{display:flex;align-items:center;justify-content:space-between}
body.home .brand{display:flex;align-items:center;gap:11px}
body.home img{max-width:100%}
body.home .brand img{height:38px;width:auto;filter:drop-shadow(0 0 10px rgba(164,53,239,.45))}
body.home .brand-txt{font-family:'Sora',sans-serif;font-weight:700;font-size:17px;color:#fff;letter-spacing:-.01em}
body.home .brand-txt span{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.home .nav-links{display:flex;align-items:center;gap:34px}
body.home .nav-links a{color:var(--off-soft);font-size:15px;font-weight:500;transition:.2s;position:relative}
body.home .nav-links a:hover{color:#fff}
body.home .nav-links a::after{content:'';position:absolute;left:0;bottom:-5px;width:0;height:2px;background:var(--grad);transition:.25s}
body.home .nav-links a:hover::after{width:100%}
body.home .nav-cta{display:flex;align-items:center;gap:18px}
body.home .burger{display:none;background:none;border:0;cursor:pointer;color:#fff;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:48px;height:48px;padding:0}
body.home .burger span{width:24px;height:2px;background:#fff;border-radius:2px;transition:.3s}

/* Labs nav dropdown — shared by body.home + body.about (brand-styled dark panel,
   neon-purple accents via the site palette). Desktop: hover/focus/click reveal.
   Mobile handled in the burger media query below. Adding a lab page later = one
   more <a> in .navdrop-panel. */
.navdrop{position:relative;display:inline-flex;align-items:center;gap:5px}
.navdrop-label{font-family:inherit;font-size:15px;font-weight:500;color:inherit;cursor:pointer}
.navdrop-toggle{font-family:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:4px;margin:-2px -2px -2px -4px;display:inline-flex;align-items:center;justify-content:center;line-height:0;transition:.2s}
.navdrop-toggle::after{content:"\25BE";font-size:10px;opacity:.65;transition:transform .2s}
.navdrop:hover .navdrop-toggle::after,.navdrop.open .navdrop-toggle::after{transform:rotate(180deg)}
.navdrop-panel{position:absolute;top:calc(100% + 14px);left:0;min-width:184px;display:flex;flex-direction:column;gap:2px;padding:8px;background:rgba(12,7,20,.97);backdrop-filter:blur(14px);border:1px solid rgba(164,53,239,.22);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.45);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .2s,transform .2s,visibility .2s;z-index:60}
.navdrop:hover .navdrop-panel,.navdrop:focus-within .navdrop-panel,.navdrop.open .navdrop-panel{opacity:1;visibility:visible;transform:translateY(0)}
.navdrop-panel a{padding:9px 12px;border-radius:8px;font-size:14.5px;font-weight:500;white-space:nowrap;transition:.18s}
.navdrop-panel a::after{display:none!important}
.navdrop-panel a:hover{background:rgba(164,53,239,.15);color:#fff}
body.home .navdrop-label,body.home .navdrop-toggle{color:var(--off-soft)}
body.home .navdrop-label:hover,body.home .navdrop:hover .navdrop-toggle,body.home .navdrop.open .navdrop-toggle{color:#fff}
body.home .navdrop-panel a{color:var(--off-soft)}
body.about .navdrop-label,body.about .navdrop-toggle{color:var(--off-2)}
body.about .navdrop-label:hover,body.about .navdrop:hover .navdrop-toggle,body.about .navdrop.open .navdrop-toggle{color:var(--mist)}
body.about .navdrop-panel a{color:var(--off-2)}

/* HERO */
body.home .hero{position:relative;background:var(--void);padding:170px 0 110px;overflow:hidden}
body.home .hero::before{content:'';position:absolute;inset:0;background:
  radial-gradient(900px 600px at 78% 12%,rgba(124,44,191,.55),transparent 60%),
  radial-gradient(700px 500px at 12% 95%,rgba(34,211,238,.12),transparent 55%);pointer-events:none}
body.home .hero::after{content:'';position:absolute;inset:0;opacity:.4;pointer-events:none;
  background-image:radial-gradient(rgba(164,53,239,.10) 1px,transparent 1px);background-size:34px 34px;
  -webkit-mask-image:radial-gradient(circle at 60% 30%,#000,transparent 75%);mask-image:radial-gradient(circle at 60% 30%,#000,transparent 75%)}
body.home .streak{position:absolute;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(164,53,239,.9),transparent);filter:blur(.5px);pointer-events:none}
body.home .streak.s1{width:60%;top:64%;right:-5%;transform:rotate(-9deg);opacity:.7}
body.home .streak.s2{width:46%;top:74%;right:-2%;transform:rotate(-7deg);background:linear-gradient(90deg,transparent,rgba(216,125,255,.85),transparent);opacity:.55}
body.home .hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
body.home .hero-copy{max-width:580px}
body.home .hero .eyebrow{display:inline-block;margin-bottom:22px;opacity:0;animation:up .7s .05s forwards}
/* LCP element: never start hidden. opacity pinned at 1 (visible frame 1); the
   entrance is TRANSFORM-only (translateY) so it neither delays LCP nor shifts layout. */
body.home .hero h1{font-size:clamp(40px,5.4vw,66px);color:#fff;margin-bottom:22px;animation:rise .7s .15s both}
body.home .hero h1 em{font-style:normal;background:linear-gradient(120deg,#C77DFF,#A435EF 60%,#7B2CBF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.home .hero p.sub{font-size:19px;color:var(--off-soft);margin-bottom:36px;max-width:520px;opacity:0;animation:up .7s .25s forwards}
body.home .hero-actions{display:flex;gap:14px;flex-wrap:wrap;opacity:0;animation:up .7s .35s forwards}
body.home .hero-tag{margin-top:30px;font-size:14px;color:var(--off-soft);display:flex;align-items:center;gap:9px;opacity:0;animation:up .7s .45s forwards}
body.home .hero-tag b{color:var(--off);font-weight:600}
/* Quiet secondary hero line tying into The Nerdy Friend (warm amber, understated,
   arrow nudges on hover). Inherits the hero's left/center alignment per breakpoint. */
body.home .hero-nerdy{display:inline-flex;align-items:center;gap:7px;margin-top:18px;font-family:'Manrope',sans-serif;font-size:14.5px;font-weight:600;color:#FF9D5C;transition:color .2s;opacity:0;animation:up .7s .5s forwards}
body.home .hero-nerdy:hover{color:#FFB463}
body.home .hero-nerdy svg{width:15px;height:15px;transition:transform .2s}
body.home .hero-nerdy:hover svg{transform:translateX(4px)}
/* LCP image (index desktop): visible from frame 1 — no opacity fade. The gentle
   float below is transform-only, so it adds motion without delaying the paint. */
body.home .hero-visual{position:relative;display:flex;justify-content:center;align-items:center}
body.home .hero-visual .glow{position:absolute;width:78%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(164,53,239,.55),transparent 65%);filter:blur(38px)}
body.home .hero-visual img{position:relative;width:84%;max-width:440px;filter:drop-shadow(0 22px 60px rgba(124,44,191,.55));animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@keyframes up{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:translateY(0)}}
@keyframes fade{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
/* Transform-only entrance for the LCP heading — no opacity change (LCP-safe). */
@keyframes rise{from{transform:translateY(26px)}to{transform:none}}

/* TRUST */
body.home .trust{background:var(--mist);border-bottom:1px solid var(--bd-l);padding:30px 0}
body.home .trust-in{display:flex;align-items:center;justify-content:center;gap:40px;flex-wrap:wrap}
body.home .trust-label{font-family:'JetBrains Mono',monospace;font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-faint)}
body.home .trust-names{display:flex;gap:38px;flex-wrap:wrap;align-items:center}
body.home .trust-names span{font-family:'Sora',sans-serif;font-weight:600;font-size:17px;color:var(--ink);opacity:.78}

/* SECTION SHELL */
body.home section.block{padding:96px 0}
body.home .sec-head{max-width:680px;margin-bottom:54px}
body.home .sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
body.home .sec-head .eyebrow{display:block;margin-bottom:16px}
body.home .sec-head h2{font-size:clamp(30px,3.6vw,44px);color:var(--ink);margin-bottom:16px}
body.home .sec-head p{font-size:18px;color:var(--ink-soft)}

/* SERVICES */
body.home .services{background:var(--mist)}
body.home .cards{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
body.home .card{background:#fff;border:1px solid var(--bd-l);border-radius:var(--r-lg);padding:30px 26px;transition:.3s}
body.home .card:hover{transform:translateY(-6px);border-color:rgba(164,53,239,.45);box-shadow:0 18px 44px rgba(76,29,149,.12)}
body.home .chip{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,rgba(164,53,239,.14),rgba(34,211,238,.12));display:flex;align-items:center;justify-content:center;margin-bottom:20px}
body.home .chip svg{width:25px;height:25px;stroke:var(--violet);stroke-width:1.8;fill:none}
body.home .card h3{font-size:20px;margin-bottom:10px;color:var(--ink);font-weight:600}
body.home .card p{font-size:15px;color:var(--ink-soft)}

/* WORK */
body.home .work{background:var(--mist-2)}
body.home .work-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
body.home .proj{background:#fff;border:1px solid var(--bd-l);border-radius:var(--r-lg);overflow:hidden;transition:.3s;display:flex;flex-direction:column}
body.home .proj:hover{transform:translateY(-6px);box-shadow:0 22px 50px rgba(76,29,149,.15)}
body.home .browser{background:var(--void);padding:13px 16px;display:flex;align-items:center;gap:8px}
body.home .dot{width:10px;height:10px;border-radius:50%}
body.home .url{margin-left:12px;flex:1;background:rgba(255,255,255,.08);border-radius:7px;padding:6px 13px;font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--off-soft)}
body.home .shot{aspect-ratio:16/10;background:#0E0819;overflow:hidden;display:block}
body.home .shot img{width:100%;height:100%;object-fit:contain;display:block}
body.home .shot .ph{height:11px;border-radius:6px;background:rgba(236,230,247,.16)}
body.home .shot .ph.t{width:38%;height:15px;background:linear-gradient(90deg,#C77DFF,#7B2CBF)}
body.home .shot .ph.w1{width:78%}body.home .shot .ph.w2{width:64%}
body.home .shot .ph.btn2{width:120px;height:30px;border-radius:8px;background:var(--grad);margin-top:6px}
body.home .proj-body{padding:24px 26px 28px}
body.home .tags{display:flex;gap:8px;margin-bottom:13px}
body.home .tag{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--violet);background:rgba(164,53,239,.1);padding:4px 11px;border-radius:999px}
body.home .proj-body h3{font-size:21px;margin-bottom:8px;font-weight:600}
body.home .proj-body p{font-size:15px;color:var(--ink-soft);margin-bottom:16px}
body.home .proj-link{font-family:'Sora',sans-serif;font-weight:600;font-size:14px;color:var(--violet);display:inline-flex;align-items:center;gap:7px}
body.home .proj-link svg{width:15px;height:15px;transition:transform .2s}
body.home .proj:hover .proj-link svg{transform:translate(3px,-3px)}

/* PROCESS */
body.home .process{background:var(--mist)}
body.home .steps{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;position:relative}
body.home .step{position:relative;flex:0 1 200px}
body.home .step .num{font-family:'Sora',sans-serif;font-weight:700;font-size:15px;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;background:var(--grad);margin-bottom:18px;box-shadow:0 6px 18px rgba(164,53,239,.3)}
body.home .step h3{font-size:19px;margin-bottom:8px;font-weight:600}
body.home .step p{font-size:14.5px;color:var(--ink-soft)}

/* WHY (dark accent band) */
body.home .why{background:var(--void);position:relative;overflow:hidden}
body.home .why::before{content:'';position:absolute;inset:0;background:radial-gradient(700px 400px at 85% 50%,rgba(124,44,191,.4),transparent 60%);pointer-events:none}
body.home .why .wrap{position:relative;z-index:2}
body.home .why .sec-head h2{color:#fff}body.home .why .sec-head p{color:var(--off-soft)}
body.home .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
body.home .why-card{background:rgba(255,255,255,.04);border:1px solid rgba(164,53,239,.2);border-radius:var(--r-lg);padding:28px 26px;transition:.3s}
body.home .why-card:hover{background:rgba(164,53,239,.09);border-color:rgba(164,53,239,.5)}
body.home .why-card .ic{width:46px;height:46px;border-radius:12px;background:rgba(164,53,239,.16);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
body.home .why-card .ic svg{width:23px;height:23px;stroke:var(--purple);stroke-width:1.8;fill:none}
body.home .why-card h3{font-size:19px;color:#fff;margin-bottom:9px;font-weight:600}
body.home .why-card p{font-size:15px;color:var(--off-soft)}

/* TESTIMONIALS */
body.home .quotes{background:var(--mist-2)}
body.home .q-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
body.home .quote{background:#fff;border:1px solid var(--bd-l);border-radius:var(--r-lg);padding:34px 32px;position:relative}
body.home .quote .mark{font-family:'Sora',sans-serif;font-size:56px;line-height:.5;color:rgba(164,53,239,.28);margin-bottom:10px}
body.home .quote p{font-size:18px;color:var(--ink);line-height:1.55;margin-bottom:22px;font-weight:500}
body.home .quote .who{display:flex;align-items:center;gap:13px}
body.home .quote .av{width:44px;height:44px;border-radius:50%;background:var(--grad);display:flex;align-items:center;justify-content:center;color:#fff;font-family:'Sora',sans-serif;font-weight:600;font-size:15px}
body.home .quote .who b{display:block;font-size:15px;color:var(--ink);font-weight:600}
body.home .quote .who span{font-size:13px;color:var(--ink-faint)}
body.home .ph-note{display:inline-block;font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.05em;color:#9a6b00;background:#fff4d6;border:1px dashed #e0b94d;padding:3px 9px;border-radius:6px;margin-bottom:14px}

/* CTA */
body.home .cta{background:var(--void);position:relative;overflow:hidden;text-align:center;padding:104px 0}
body.home .cta::before{content:'';position:absolute;inset:0;background:radial-gradient(800px 500px at 50% 0%,rgba(124,44,191,.5),transparent 62%);pointer-events:none}
body.home .cta .wrap{position:relative;z-index:2}
body.home .cta h2{font-size:clamp(32px,4.4vw,52px);color:#fff;margin-bottom:18px;max-width:760px;margin-left:auto;margin-right:auto}
body.home .cta h2 em{font-style:normal;background:linear-gradient(120deg,#C77DFF,#A435EF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
body.home .cta p{font-size:19px;color:var(--off-soft);margin-bottom:38px;max-width:540px;margin-left:auto;margin-right:auto}
body.home .cta-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* FOOTER */
body.home footer{background:var(--void-2);color:var(--off-soft);padding:64px 0 30px;border-top:1px solid rgba(164,53,239,.14)}
body.home .foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.4fr;gap:40px;margin-bottom:46px}
body.home .foot-brand img{height:42px;width:auto;display:block;margin-bottom:16px;filter:drop-shadow(0 0 10px rgba(164,53,239,.4))}
body.home .foot-brand p{font-size:14.5px;max-width:280px}
body.home .foot-col h4{font-family:'Sora',sans-serif;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#fff;margin-bottom:18px;font-weight:600}
body.home .foot-col a,body.home .foot-col span{display:block;font-size:14.5px;color:var(--off-soft);margin-bottom:11px;transition:.2s}
body.home .foot-col a:hover{color:var(--purple)}
body.home .foot-col .areas{font-size:13.5px;line-height:1.9}
body.home .foot-bot{border-top:1px solid rgba(255,255,255,.08);padding-top:24px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px}
body.home .foot-bot a{color:var(--off-soft);transition:.2s}
body.home .foot-bot a:hover{color:var(--purple)}
body.home .foot-bot .made{color:var(--off-soft)}
body.home .foot-bot .made b{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:600}

/* REVEAL */
body.home .reveal{opacity:0;transform:translateY(34px);transition:.7s cubic-bezier(.2,.7,.2,1)}
body.home .reveal.in{opacity:1;transform:none}

/* MOBILE */
@media(max-width:920px){
  body.home .hero-grid{grid-template-columns:1fr;text-align:center}
  body.home .hero-copy{margin:0 auto}body.home .hero-actions,body.home .hero-tag{justify-content:center}
  body.home .hero-visual{order:-1;margin-bottom:20px}body.home .hero-visual img{max-width:300px}
  body.home .work-grid,body.home .q-grid,body.home .why-grid{grid-template-columns:1fr}
  body.home .step{flex-basis:30%}
  body.home .foot-grid{grid-template-columns:1fr 1fr;gap:30px}
}
@media(max-width:680px){
  body.home .nav-links{display:none}body.home .nav-cta .btn{display:none}body.home .burger{display:flex}
  body.home .nav-links.open{display:flex;position:absolute;top:64px;left:16px;right:16px;flex-direction:column;gap:18px;background:rgba(12,7,20,.96);backdrop-filter:blur(14px);padding:24px;border-radius:16px;border:1px solid rgba(164,53,239,.2)}
  /* Labs dropdown inside the burger menu: tap "Labs" to expand its children inline */
  body.home .navdrop{width:100%;flex-wrap:wrap;justify-content:space-between}
  body.home .navdrop-label{flex:1}
  body.home .navdrop-toggle{padding:10px 8px}
  body.home .navdrop-panel{position:static;display:none;min-width:0;padding:6px 0 0 14px;gap:14px;background:transparent;border:0;box-shadow:none;backdrop-filter:none;opacity:1;visibility:visible;transform:none;flex-basis:100%}
  body.home .navdrop.open .navdrop-panel{display:flex}
  body.home .hero{padding:140px 0 80px}body.home section.block{padding:68px 0}
  body.home .trust-in{gap:18px}body.home .trust-names{gap:22px}body.home .trust-names span{font-size:15px}
  body.home .step{flex-basis:100%}body.home .foot-grid{grid-template-columns:1fr}body.home .cards{grid-template-columns:1fr}
  body.home .wrap{padding:0 20px}
}

/* =============================================================
   ABOUT  (about.html)  — dark theme
   ============================================================= */
body.about{
  --void:#120A1F;--void-2:#0B0613;--surf-d:#1B1130;--surf-d2:#241640;
  --purple:#A435EF;--violet:#7B2CBF;--violet-deep:#4C1D95;--cyan:#22D3EE;
  --mist:#FAF8FE;--ink:#1A1228;--off:#ECE6F7;--off-2:#CDC1E6;
  --line:rgba(255,255,255,0.08);--line-2:rgba(255,255,255,0.14);
  --grad:linear-gradient(135deg,#C77DFF 0%,#A435EF 50%,#7B2CBF 100%);
  --shadow-lg:0 30px 80px -20px rgba(124,44,191,0.45);
  background:var(--void);color:var(--off);font-family:'Manrope',system-ui,sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden
}
body.about img{max-width:100%;display:block}
body.about .wrap{max-width:1200px;margin:0 auto;padding:0 28px}
body.about .eyebrow{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:0.18em;text-transform:uppercase;color:var(--purple);font-weight:500}
/* Easter egg — the story eyebrow quietly reads like a line of code (mixed-case,
   mono, overriding the eyebrow uppercase) and links to the Hello, World lab.
   Subtly interactive on hover: brightens with a soft glow + thin underline so a
   hovering visitor senses it's clickable. No tooltip, no label — found, not sold.
   This is the only path to the (noindexed) lab page. */
body.about .egg{text-transform:none;letter-spacing:0.02em;cursor:pointer;text-decoration:none;transition:color .2s,text-shadow .2s}
body.about .egg:hover{color:var(--mist);text-shadow:0 0 12px rgba(164,53,239,0.55);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* HEADER */
body.about .header{position:sticky;top:0;z-index:50;background:rgba(18,10,31,0.78);backdrop-filter:blur(20px);border-bottom:1px solid var(--line)}
body.about .header-inner{display:flex;align-items:center;justify-content:space-between;height:74px}
body.about .brand{display:flex;align-items:center;gap:11px}
body.about .brand img{height:36px;width:auto}
body.about .brand-name{font-family:'Sora',sans-serif;font-weight:700;font-size:17px;letter-spacing:-0.01em;color:var(--mist)}
body.about .nav{display:flex;gap:32px;align-items:center}
body.about .nav a{font-size:14.5px;color:var(--off-2);font-weight:500;transition:color .2s}
body.about .nav a:hover{color:var(--mist)}
body.about .btn{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:10px;font-weight:600;font-size:14.5px;transition:transform .15s,box-shadow .2s,background .2s;cursor:pointer;border:none;font-family:inherit}
body.about .btn-primary{background:var(--grad);color:#fff;box-shadow:0 6px 20px -6px rgba(164,53,239,0.55)}
body.about .btn-primary:hover{transform:translateY(-1px);box-shadow:0 10px 28px -6px rgba(164,53,239,0.75)}
body.about .btn-ghost{background:transparent;color:var(--off);border:1px solid var(--line-2)}
body.about .btn-ghost:hover{background:rgba(255,255,255,0.04);border-color:var(--purple)}

/* ABOUT HERO */
body.about .about-hero{padding:80px 0 70px;position:relative;overflow:hidden}
body.about .about-hero::before{content:"";position:absolute;top:-200px;right:-200px;width:600px;height:600px;background:radial-gradient(circle,rgba(164,53,239,0.18) 0%,transparent 65%);pointer-events:none}
body.about .about-hero::after{content:"";position:absolute;bottom:-150px;left:-150px;width:500px;height:500px;background:radial-gradient(circle,rgba(34,211,238,0.10) 0%,transparent 65%);pointer-events:none}
body.about .about-hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;align-items:center;position:relative;z-index:1}
body.about .about-hero h1{font-family:'Sora',sans-serif;font-weight:800;font-size:clamp(36px,5vw,56px);line-height:1.08;letter-spacing:-0.025em;color:var(--mist);margin:18px 0 22px}
body.about .about-hero h1 em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
body.about .about-hero p.lede{font-size:19px;color:var(--off-2);line-height:1.6;max-width:520px}
body.about .portrait-wrap{position:relative;justify-self:end;width:100%;max-width:420px}
body.about .portrait-wrap::before{content:"";position:absolute;inset:-30px;background:radial-gradient(circle at 50% 40%,rgba(164,53,239,0.32) 0%,transparent 70%);filter:blur(20px);z-index:0}
body.about .portrait{position:relative;z-index:1;width:100%;border-radius:18px;box-shadow:var(--shadow-lg)}

/* STORY */
body.about .story{padding:30px 0 90px;position:relative}
body.about .story-inner{max-width:760px;margin:0 auto}
body.about .story-head{text-align:center;margin-bottom:54px}
body.about .story-head h2{font-family:'Sora',sans-serif;font-weight:700;font-size:clamp(28px,3.5vw,40px);letter-spacing:-0.02em;color:var(--mist);margin:14px 0 0}
body.about .story p{font-size:18px;line-height:1.8;color:var(--off);margin-bottom:26px}
body.about .story p:last-child{margin-bottom:0}
body.about .story p strong{color:var(--mist);font-weight:600}
body.about .story p em{font-style:normal;color:var(--purple);font-weight:500}
body.about .divider{display:flex;justify-content:center;margin:8px 0}
body.about .divider span{width:48px;height:2px;background:var(--grad);border-radius:2px;opacity:0.7}

/* CTA */
body.about .cta{padding:90px 0;text-align:center;background:linear-gradient(180deg,transparent 0%,rgba(123,44,191,0.08) 50%,transparent 100%);position:relative}
body.about .cta::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at center,rgba(164,53,239,0.12) 0%,transparent 60%);pointer-events:none}
body.about .cta-inner{position:relative;z-index:1;max-width:680px;margin:0 auto}
body.about .cta h2{font-family:'Sora',sans-serif;font-weight:700;font-size:clamp(32px,4vw,48px);letter-spacing:-0.02em;color:var(--mist);margin-bottom:18px}
body.about .cta h2 em{font-style:normal;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
body.about .cta p{font-size:18px;color:var(--off-2);margin-bottom:32px;max-width:540px;margin-left:auto;margin-right:auto}
body.about .cta-buttons{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* FOOTER */
body.about .footer{background:var(--void-2);border-top:1px solid var(--line);padding:64px 0 36px;margin-top:0}
body.about .foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:48px;margin-bottom:48px}
body.about .foot-brand{display:flex;align-items:center;gap:11px;margin-bottom:14px}
body.about .foot-brand img{height:36px;width:auto;display:block}
body.about .brand-txt{font-family:'Sora',sans-serif;font-weight:700;font-size:17px;color:var(--mist)}
body.about .footer-tag{font-size:14.5px;color:var(--off-2);line-height:1.6;max-width:300px}
body.about .footer h4{font-family:'Sora',sans-serif;font-size:13px;text-transform:uppercase;letter-spacing:0.12em;color:var(--mist);margin-bottom:18px;font-weight:600}
body.about .footer ul{list-style:none}
body.about .footer ul li{margin-bottom:10px}
body.about .footer ul a{font-size:14.5px;color:var(--off-2);transition:color .2s}
body.about .footer ul a:hover{color:var(--purple)}
body.about .footer-areas{font-size:14px;color:var(--off-2);line-height:1.7}
body.about .footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:28px;border-top:1px solid var(--line);font-size:13.5px;color:var(--off-2)}
body.about .footer-bottom a{color:var(--off-2);transition:.2s}
body.about .footer-bottom a:hover{color:var(--purple)}

/* RESPONSIVE */
@media (max-width:900px){
  body.about .about-hero-grid{grid-template-columns:1fr;gap:48px}
  body.about .portrait-wrap{justify-self:center;max-width:340px}
  body.about .foot-grid{grid-template-columns:1fr 1fr;gap:36px}
  body.about .nav{display:none}
}
@media (max-width:560px){
  body.about .foot-grid{grid-template-columns:1fr}
  body.about .footer-bottom{flex-direction:column;gap:12px;text-align:center}
  body.about .about-hero{padding:60px 0 50px}
  body.about .story{padding:20px 0 70px}
  body.about .cta{padding:70px 0}
}

/* =============================================================
   Visual-uniformity + accessibility pass
   Dark interior opens, uniform light-on-dark breadcrumbs, keyboard
   focus, reduced-motion. The Nerdy Friend keeps its warm hero — only
   its breadcrumb adopts the shared style.
   ============================================================= */

/* #areas now closes the homepage between cta(dark) and footer(dark):
   recolor the band dark + brighten its contents to clear WCAG AA. */
body.home section.areas{background:var(--void);position:relative;overflow:hidden}
body.home section.areas::before{content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 400px at 15% 50%,rgba(124,44,191,.40),transparent 60%)}
body.home section.areas .wrap{position:relative;z-index:2}
body.home section.areas .eyebrow{color:#C77DFF}            /* 7.2:1 on --void */
body.home section.areas .sec-head h2{color:#fff}
body.home section.areas .sec-head p{color:var(--off-soft)} /* #A99FC4 7.8:1 */
body.home section.areas .btn-ghost{color:#C77DFF;border-color:rgba(199,125,255,.5)}
body.home section.areas .btn-ghost:hover{background:rgba(164,53,239,.15);border-color:#C77DFF;color:#fff;transform:translateY(-2px)}

/* Uniform breadcrumbs — interior marketing pages (home + about themes).
   Light-on-dark, AA, CSS separators; sits at the top of the dark hero.
   Area pages mirror this look in areas.css. On --void: links #C77DFF 7.2:1,
   muted current item + '/' separators #A99FC4 7.8:1 — both pass AA. */
body.home .crumbs,body.about .crumbs{margin-bottom:20px;font-family:'Manrope',sans-serif;font-size:13px;position:relative;z-index:3}
body.home .crumbs ol,body.about .crumbs ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:0;padding:0}
body.home .crumbs li,body.about .crumbs li{display:flex;align-items:center;color:#A99FC4}
body.home .crumbs a,body.about .crumbs a{color:#C77DFF;text-decoration:none;transition:color .2s}
body.home .crumbs a:hover,body.about .crumbs a:hover{color:#fff;text-decoration:underline}
body.home .crumbs li+li::before,body.about .crumbs li+li::before{content:'/';margin-right:7px;color:#A99FC4}
body.home .crumbs [aria-current="page"],body.about .crumbs [aria-current="page"]{color:#A99FC4}

/* Visible keyboard focus (only :hover was styled before). #A435EF clears the
   3:1 UI threshold on both the dark heroes (4.0:1) and light surfaces (4.7:1). */
a:focus-visible,button:focus-visible,.navdrop-toggle:focus-visible,.navdrop-label:focus-visible,.btn:focus-visible,.egg:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #A435EF;outline-offset:3px;border-radius:4px}

/* Stripe Embedded Checkout modal — mount target lives on the two priced pages
   (services/care-hosting, services/local-seo); shown/hidden by js/checkout.js. */
#checkout-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:flex-start;justify-content:center;padding:40px 16px;background:rgba(8,5,14,.62);backdrop-filter:blur(4px);overflow:auto}
#checkout-modal[hidden]{display:none}
#checkout-mount{width:100%;max-width:480px;min-height:200px;background:#fff;border-radius:16px;padding:10px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.checkout-close{position:fixed;top:18px;right:20px;z-index:201;width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:26px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.2s}
.checkout-close:hover{background:rgba(255,255,255,.26)}
.checkout-done{text-align:center;padding:40px 28px 32px;display:flex;flex-direction:column;align-items:center;gap:14px}
.checkout-done svg{width:62px;height:62px;color:#16A34A}
.checkout-done h3{font-family:'Sora',sans-serif;font-weight:700;font-size:22px;color:var(--ink);margin:0}
.checkout-done p{font-size:15px;color:var(--ink-soft);margin:0;max-width:340px;line-height:1.55}
.checkout-done .btn{margin-top:8px}

/* Respect reduced-motion: reveal hero + scroll content immediately, no motion. */
@media (prefers-reduced-motion: reduce){
  html:has(body.home){scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  body.home .hero .eyebrow,body.home .hero h1,body.home .hero p.sub,body.home .hero-actions,
  body.home .hero-tag,body.home .hero-nerdy,body.home .hero-visual,body.home .hero-visual img,
  body.home .tnf-price,body.home .reveal{opacity:1!important;transform:none!important;animation:none!important}
}
