/* NeuralBuilt portfolio / pitch page
   Monochrome canvas, Inter, extreme whitespace. The work provides the color. */

:root {
  --ink: #0a0a0a;
  --ink-2: #18181b;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --line: #e7e7e9;
  --line-2: #d4d4d8;
  --bg: #ffffff;
  --bg-alt: #f6f6f5;
  --bg-dark: #0a0a0a;
  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --r: 16px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* Type scale */
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.05; font-weight: 680; hyphens: none; -webkit-hyphens: none; }
h1 { font-size: clamp(33px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); line-height: 1.55; }
.muted { color: var(--muted); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { font-weight: 800; letter-spacing: -.03em; font-size: 19px; }
.brand b { font-weight: 800; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { font-size: 14px; font-weight: 600; color: #fff !important; background: var(--ink); padding: 9px 16px; border-radius: 999px; }
.nav-cta:hover { opacity: .88; }
@media (max-width: 720px){ .nav-links a:not(.nav-cta){ display:none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; transition: all .2s var(--ease); cursor: pointer; border: 1px solid transparent; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }

/* Hero */
.hero { padding: clamp(52px, 8vh, 96px) 0 clamp(36px, 6vh, 64px); }
.hero h1 { max-width: 18ch; }
.hero .lead { max-width: 54ch; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; padding-block: 40px; }
.stat .n { font-size: clamp(30px,4vw,46px); font-weight: 720; letter-spacing: -.04em; }
.stat .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px){ .stats .wrap { grid-template-columns: repeat(2,1fr); gap: 28px 16px; } }

/* Section shell */
.section { padding: clamp(64px, 11vh, 120px) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(40px, 6vh, 64px); }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--bg-dark); color: #fff; }
.section.dark .kicker { color: var(--muted-2); }
.section.dark .muted { color: var(--muted-2); }

/* App showcase rows */
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(36px,6vh,72px) 0; border-top: 1px solid var(--line); }
.app-row:first-of-type { border-top: 0; }
.app-row.flip .app-copy { order: 2; }
.app-copy h3 { margin-bottom: 14px; }
.app-copy .one { font-size: 17px; color: var(--ink-2); line-height: 1.55; margin-bottom: 20px; max-width: 46ch; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tag { font-size: 12.5px; font-weight: 550; color: var(--ink-2); background: var(--bg-alt); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.section.alt .tag { background: #fff; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.14); }
.status.live .dot { background: #16a34a; }
.ul-feat { list-style: none; margin: 6px 0 22px; }
.ul-feat li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15px; color: var(--ink-2); }
.ul-feat li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.applink { font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid var(--ink); padding-bottom: 1px; }

/* Phone frame */
.phones { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.phone { position: relative; width: 100%; max-width: 256px;
  background: #0a0a0a; border-radius: 38px; padding: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 30px 60px -20px rgba(0,0,0,.35);
  border: 1px solid #1c1c1c; }
/* full screenshot, never cropped */
.phone img { width: 100%; height: auto; display: block; border-radius: 30px; }
.phones.two .phone { max-width: 222px; }
.phones.two .phone:nth-child(2){ margin-top: 36px; }
.phones.three .phone { max-width: 188px; }
.phones.three .phone:nth-child(2){ margin-top: 30px; }
.phones.three .phone:nth-child(3){ margin-top: 60px; }
@media (max-width: 900px){
  .app-row { grid-template-columns: 1fr; gap: 36px; }
  .app-row.flip .app-copy { order: 0; }
  .phones.three .phone:nth-child(3){ display:none; }
}

/* Website cards (browser frame) */
.sites { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vh, 56px); }
.site { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px,4vw,56px); align-items: center; }
.site.flip .browser { order: 2; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 2px 6px rgba(0,0,0,.06), 0 26px 50px -24px rgba(0,0,0,.3); background:#fff; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f2f2f2; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4d8; display:block; }
.browser-bar .url { margin-left: 12px; font-size: 12px; color: var(--muted); background:#fff; border:1px solid var(--line); border-radius: 6px; padding: 4px 12px; }
.browser img { width: 100%; height: auto; display:block; }
.site-copy h3 { margin-bottom: 12px; }
.site-copy p { color: var(--ink-2); margin-bottom: 18px; max-width: 42ch; }
@media (max-width: 860px){ .site { grid-template-columns: 1fr; } .site.flip .browser { order: 0; } }

/* Concept (Sports Corp) */
.concept-note { display:inline-flex; gap:8px; align-items:center; font-size: 12.5px; font-weight:600; color: var(--muted-2);
  border: 1px solid #27272a; border-radius: 999px; padding: 6px 14px; margin-bottom: 26px; }
.concept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; align-items: start; }
.cscreen { display:flex; flex-direction:column; gap: 14px; }
.cscreen .cap { font-size: 13.5px; color: var(--muted-2); line-height: 1.45; padding-inline: 4px; }
.cscreen .cap b { color: #fff; font-weight: 650; display:block; margin-bottom: 2px; font-size: 14px; }
/* concept phone (rendered UI) */
.cphone { aspect-ratio: 1206/2622; background:#000; border-radius: 30px; padding: 7px; border:1px solid #222;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.cscr { width:100%; height:100%; border-radius: 24px; overflow:hidden; position:relative;
  background: #0b1020; color:#fff; font-size: 9px; }
@media (max-width: 1000px){ .concept-grid { grid-template-columns: repeat(2,1fr); gap: 28px 18px; } }
@media (max-width: 560px){ .concept-grid { grid-template-columns: 1fr; max-width: 320px; margin-inline:auto; } }

/* CTA / footer */
.cta { text-align: center; padding: clamp(72px,12vh,128px) 0; }
.cta h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta p { max-width: 48ch; margin: 0 auto 32px; }
.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot .wrap { display:flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap: 14px; font-size: 14px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---- QA fixes (2026-06-06) ---- */
/* no-JS / crawler visibility: only hide reveals when JS is present */
html:not(.js) .reveal { opacity: 1 !important; transform: none !important; }
/* darker muted for WCAG AA contrast on light + alt backgrounds */
:root { --muted: #5f5f6b; }
/* tap targets >= ~44px */
.applink { display: inline-block; padding-top: 8px; padding-bottom: 8px; }
.nav-cta { min-height: 40px; display: inline-flex; align-items: center; }
/* concept disclaimer must wrap on small screens (was overflowing) */
.concept-note { max-width: 100%; white-space: normal; line-height: 1.4; }
@media (max-width: 600px) {
  .concept-note { display: flex; text-align: center; border-radius: 14px; }
  /* one centered phone per app on small phones (was cramped 2-up) */
  .phones .phone { max-width: 250px !important; margin-top: 0 !important; }
  .phones.three .phone:nth-child(2), .phones.three .phone:nth-child(3) { display: none; }
  .phones.two .phone:nth-child(2) { display: none; }
}
/* visible keyboard focus (a11y) */
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section.dark a:focus-visible, .nav-cta:focus-visible { outline-color: #fff; }

/* concept screen internals (shared) */
.c-status { display:flex; justify-content:space-between; padding: 10px 14px 4px; font-size:9px; font-weight:600; opacity:.85;}
.c-pad { padding: 6px 14px 14px; }
.c-h { font-size: 17px; font-weight: 750; letter-spacing:-.02em; margin: 6px 0 2px; }
.c-sub { font-size: 9.5px; opacity:.6; margin-bottom: 12px; }
.c-card { background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); border-radius: 12px; padding: 11px; margin-bottom: 9px; }
.c-pill { display:inline-block; font-size:8px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:3px 7px; border-radius:999px; }
.c-tab { position:absolute; bottom:0; left:0; right:0; height:46px; background: rgba(10,12,22,.92); border-top:1px solid rgba(255,255,255,.08);
  display:flex; justify-content:space-around; align-items:center; font-size:7.5px; }
.c-tab span{ display:flex; flex-direction:column; align-items:center; gap:3px; opacity:.5;}
.c-tab span.on{ opacity:1; }
.c-tab i{ width:15px;height:15px;border-radius:5px;background:currentColor; display:block; opacity:.9;}

/* ---- Brand mark ---- */
.brand { display:flex; align-items:center; gap:10px; }
.brand-mark { width:28px; height:28px; border-radius:7px; flex-shrink:0; }

/* ---- Hamburger ---- */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; margin-right:-8px; }
.hamburger span { display:block; width:22px; height:2px; background:var(--ink); border-radius:2px; transition:transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
@media (max-width:720px) {
  .hamburger { display:flex; }
  .nav-links { display:none; }
}

/* ---- Mobile nav overlay ---- */
.mobile-nav {
  display:none; position:fixed; top:63px; left:0; right:0; bottom:0;
  background:rgba(255,255,255,.97); backdrop-filter:blur(24px);
  -webkit-backdrop-filter:blur(24px);
  z-index:49; padding:20px 28px 32px; flex-direction:column; gap:0;
}
.mobile-nav.open { display:flex; }
.mobile-nav a {
  font-size:22px; font-weight:700; color:var(--ink); padding:16px 0;
  border-bottom:1px solid var(--line); letter-spacing:-.025em; display:block;
}
.mobile-nav a.mobile-cta {
  margin-top:20px; border:none; background:var(--ink); color:#fff;
  border-radius:999px; padding:16px 24px; text-align:center; font-size:17px;
}

/* ---- Services ---- */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:48px; }
.service-card { background:var(--bg-alt); border:1px solid var(--line); border-radius:20px; padding:36px 30px; transition:box-shadow .2s; }
.service-card:hover { box-shadow:0 8px 40px rgba(0,0,0,.09); background:var(--bg); }
.service-num { font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:18px; }
.service-card h3 { font-size:20px; margin-bottom:14px; }
.service-card p { font-size:15px; color:var(--ink-2); line-height:1.6; margin-bottom:22px; }
.service-card ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.service-card li { font-size:14px; color:var(--muted); padding-left:18px; position:relative; line-height:1.5; }
.service-card li::before { content:""; position:absolute; left:0; top:7px; width:5px; height:5px; border-radius:50%; background:var(--ink); }
@media (max-width:900px) { .services-grid { grid-template-columns:1fr; } }

/* ---- Process ---- */
.process-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:48px; }
.process-step { border-top:2px solid var(--line); padding-top:28px; }
.step-num { font-size:13px; font-weight:700; letter-spacing:.12em; color:var(--muted); margin-bottom:16px; }
.step-title { font-size:17px; font-weight:700; margin-bottom:10px; letter-spacing:-.02em; }
.step-body { font-size:14.5px; color:var(--muted); line-height:1.65; }
@media (max-width:860px) { .process-steps { grid-template-columns:repeat(2,1fr); gap:28px 32px; } }
@media (max-width:500px) { .process-steps { grid-template-columns:1fr; } }

/* ---- Why us ---- */
.why-grid { display:grid; grid-template-columns:1fr 1fr; margin-top:48px; border:1px solid var(--line); border-radius:20px; overflow:hidden; }
.why-item { padding:32px 36px; border-bottom:1px solid var(--line); border-right:1px solid var(--line); }
.why-item:nth-child(even) { border-right:none; }
.why-item:nth-last-child(-n+2) { border-bottom:none; }
.why-item h3 { font-size:16px; font-weight:700; margin-bottom:8px; letter-spacing:-.015em; }
.why-item p { font-size:14.5px; color:var(--muted); line-height:1.65; }
@media (max-width:720px) {
  .why-grid { grid-template-columns:1fr; }
  .why-item { border-right:none; }
  .why-item:nth-last-child(-n+2) { border-bottom:1px solid var(--line); }
  .why-item:last-child { border-bottom:none; }
  .why-item { padding:24px 28px; }
}

/* ---- Concept teaser ---- */
.concept-teaser { display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,80px); align-items:center; }
.concept-teaser-copy .concept-note { display:inline-flex; gap:8px; align-items:center; font-size:12px; font-weight:600; color:rgba(255,255,255,.4); border:1px solid rgba(255,255,255,.15); border-radius:999px; padding:6px 14px; margin-bottom:0; white-space:normal; }
.concept-teaser-phone { display:flex; justify-content:center; }
@media (max-width:720px) {
  .concept-teaser { grid-template-columns:1fr; gap:36px; }
  .concept-teaser-phone { order:-1; }
}

/* ---- Footer ---- */
.footer { background:var(--bg-dark); color:#fff; padding:clamp(56px,8vh,96px) 0 clamp(28px,4vh,48px); }
.footer-top { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand { display:flex; flex-direction:column; gap:16px; }
.footer-brand-link { color:#fff; }
.footer-brand p { font-size:14px; color:rgba(255,255,255,.62); line-height:1.65; max-width:26ch; }
.footer-col h3 { font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.62); margin-bottom:16px; }
.footer-col a { display:block; font-size:14px; color:rgba(255,255,255,.6); margin-bottom:11px; transition:color .2s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:12px; }
.footer-bottom span { font-size:13px; color:rgba(255,255,255,.6); }
@media (max-width:860px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:32px 24px; }
  .footer-brand { grid-column:1 / -1; }
}
@media (max-width:500px) { .footer-top { grid-template-columns:1fr; } }
