:root {
  --ink: #0a0a14;
  --panel: #15132a;
  --panel-2: #1c1936;
  --paper: #fff;
  --muted: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.13);
  --purple: #8070f8;
  --purple-light: #a090f8;
  --acid: #60d8c0;
  --coral: #58c8f8;
  --sans: Inter, Arial, sans-serif;
  --display: Geist, Arial, sans-serif;
  --serif: "EB Garamond", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
img, iframe { display: block; max-width: 100%; }
.shell { width: min(1240px, calc(100% - 8vw)); margin: 0 auto; }
.site-header { position: relative; z-index: 20; background: rgba(8,7,13,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.site-header .shell { width: 100%; min-height: 76px; padding: 0 4vw; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-glyph { width: 27px; height: 27px; color: #fff; }
.brand-wordmark { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.brand-wordmark span { color: var(--purple-light); }
.nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
.nav a { color: #c2becb; font-size: 13px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.header-cta { justify-self: end; font-size: 13px; font-weight: 650; border-bottom: 1px solid #fff; padding-bottom: 4px; }
.mobile-nav { display: none; }
.mobile-nav summary { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); cursor: pointer; font-size: 19px; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; top: 64px; left: 0; right: 0; padding: 10px 14px 18px; display: grid; background: #08070d; border-bottom: 1px solid var(--line); }
.mobile-nav-panel a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: #d8d5df; font-size: 14px; }
.mobile-nav-panel a:last-child { border-bottom: 0; }
.button { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 4px; background: var(--purple); color: #08070d; font-size: 13px; font-weight: 680; cursor: pointer; }
.button:hover { background: var(--acid); }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.4; text-transform: uppercase; }
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 7.15vw 7.15vw; }
.page-hero { min-height: 630px; padding: 120px 0 85px; display: grid; align-content: end; border-bottom: 1px solid var(--line); }
.page-hero .shell { display: grid; grid-template-columns: 1fr 3fr; gap: 70px; }
.page-hero h1 { grid-column: 2; max-width: 1040px; margin: 0; font-family: var(--display); font-size: clamp(52px,6.5vw,96px); line-height: .92; font-weight: 700; letter-spacing: -.045em; }
.page-hero h1 em { color: var(--purple); font-style: normal; }
.page-hero-copy { grid-column: 2; max-width: 700px; margin: 34px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.jump-band { background: var(--panel); border-bottom: 1px solid var(--line); }
.jump-band .shell { display: grid; grid-template-columns: repeat(2,1fr); }
.jump-band a { min-height: 150px; padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.jump-band a:last-child { border-right: 0; }
.jump-band span { color: var(--purple-light); font-size: 11px; }
.jump-band strong { font-family: var(--display); font-size: clamp(28px,3vw,42px); }
.jump-band small { color: var(--muted); font-size: 12px; }
.section { padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 220px 1fr; gap: 44px; margin-bottom: 46px; }
.section-head h2 { max-width: 850px; margin: 0; font-family: var(--display); font-size: clamp(40px,5.4vw,74px); line-height: .98; font-weight: 640; letter-spacing: -.035em; }
.section-head p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.disclosure { padding: 22px 0; background: var(--acid); color: var(--ink); }
.disclosure .shell { display: grid; grid-template-columns: 220px 1fr; gap: 44px; font-size: 13px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { padding: 6px 9px; border: 1px solid var(--line); color: var(--purple-light); font-size: 10px; text-transform: uppercase; }
.case-feature { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 560px; border: 1px solid var(--line); background: var(--panel); }
.case-feature + .case-feature { margin-top: 26px; }
.case-media { min-height: 480px; position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.case-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86); transition: transform .8s ease; }
.case-feature:hover .case-media img { transform: scale(1.035); }
.case-copy { padding: 42px; display: flex; flex-direction: column; }
.case-copy h3 { margin: 58px 0 14px; font-family: var(--display); font-size: clamp(32px,4vw,54px); line-height: 1; font-weight: 630; }
.case-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.68; }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line); }
.metric { padding-right: 18px; }
.metric b { display: block; color: var(--acid); font-family: var(--display); font-size: clamp(25px,3vw,38px); }
.metric span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.workflow { margin-top: 26px; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); background: #080815; }
.workflow-step { min-height: 175px; position: relative; padding: 24px; border-right: 1px solid var(--line); }
.workflow-step:last-child { border-right: 0; }
.workflow-step b { color: var(--acid); font-size: 10px; }
.workflow-step strong { display: block; margin-top: 70px; font-family: var(--display); font-size: 18px; }
.workflow-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -14px; top: 48%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; }
.brand-strip { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); }
.brand-cell { min-height: 130px; padding: 24px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); text-align: center; }
.brand-cell:nth-child(5n) { border-right: 0; }
.brand-cell img { max-width: 140px; max-height: 54px; object-fit: contain; filter: grayscale(1) brightness(1.8); opacity: .75; }
.brand-cell strong { font-family: var(--display); font-size: 18px; color: #d8d5df; }
.market-overview { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.market-card { min-height: 330px; padding: 26px; border-right: 1px solid var(--line); background: var(--panel); }
.market-card:last-child { border-right: 0; }
.market-card span { color: var(--purple-light); font-size: 11px; }
.market-card h3 { margin: 70px 0 10px; font-family: var(--display); font-size: 28px; }
.market-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.market-card b { display: block; margin-top: 22px; color: var(--acid); font-size: 13px; }
.formula { margin-top: 28px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(160,144,248,.34); background: rgba(128,112,248,.07); }
.formula article { min-height: 190px; padding: 26px; border-right: 1px solid var(--line); }
.formula article:last-child { border-right: 0; }
.formula span { color: var(--purple-light); font-size: 11px; }
.formula strong { display: block; margin-top: 62px; font-family: var(--display); font-size: 22px; }
.app-study { padding: 90px 0; border-top: 1px solid var(--line); }
.app-study-head { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 40px; margin-bottom: 38px; }
.app-study h3 { margin: 0; font-family: var(--display); font-size: clamp(40px,5vw,68px); line-height: .95; }
.app-study-summary { color: var(--muted); font-size: 15px; line-height: 1.65; }
.finding-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); margin-bottom: 28px; }
.finding { min-height: 190px; padding: 22px; border-right: 1px solid var(--line); background: var(--panel); }
.finding:last-child { border-right: 0; }
.finding b { color: var(--purple-light); font-size: 10px; }
.finding strong { display: block; margin-top: 60px; font-size: 16px; line-height: 1.35; }
.video-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.video-frame { min-width: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.video-frame iframe { width: 100%; height: 620px; border: 0; background: #fff; }
.video-frame figcaption { min-height: 72px; padding: 14px 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.video-frame figcaption b { display: block; margin-bottom: 3px; color: #fff; }
.hook-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 13px; }
.hook-table th, .hook-table td { padding: 15px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.hook-table th { color: var(--purple-light); background: var(--panel-2); }
.hook-table td { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.team-card { min-height: 285px; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.team-card span { color: var(--purple-light); font-size: 11px; }
.team-card h3 { margin: 76px 0 10px; font-family: var(--display); font-size: 28px; }
.team-card p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact { position: relative; isolation: isolate; overflow: hidden; background: #080812; }
.contact::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 72px 72px; opacity: .55; }
.contact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(8,8,18,.98),rgba(8,8,18,.78)); }
.contact .shell { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact h2 { margin: 0; font-family: var(--display); font-size: clamp(42px,5vw,70px); line-height: .96; }
.contact-copy p:last-child { color: var(--muted); line-height: 1.65; }
.intake-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border: 1px solid transparent; background: linear-gradient(145deg,rgba(28,25,54,.94),rgba(10,10,20,.9)) padding-box, linear-gradient(120deg,rgba(160,144,248,.8),rgba(88,200,248,.48),rgba(96,216,192,.3)) border-box; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { color: #d8d5df; font-size: 12px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 0; outline: 0; background: rgba(255,255,255,.045); color: #fff; font-size: 14px; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--purple-light); }
.form-footer { grid-column: 1/-1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.form-footer p { max-width: 250px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.form-status { grid-column: 1/-1; min-height: 16px; margin: 0; color: var(--acid); font-size: 12px; }
footer { min-height: 210px; padding: 55px 0; background: #050409; border-top: 1px solid var(--line); }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
footer p { margin: 0; color: #77727f; font-size: 12px; }
.has-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.has-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1000px) {
  .page-hero .shell, .section-head, .app-study-head, .contact .shell { grid-template-columns: 1fr; }
  .page-hero h1, .page-hero-copy { grid-column: 1; }
  .case-feature { grid-template-columns: 1fr; }
  .case-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow-step { border-bottom: 1px solid var(--line); }
  .market-overview, .finding-grid { grid-template-columns: 1fr 1fr; }
  .market-card:nth-child(2), .finding:nth-child(2) { border-right: 0; }
  .market-card, .finding { border-bottom: 1px solid var(--line); }
  .video-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .brand-strip { grid-template-columns: repeat(3,1fr); }
  .brand-cell:nth-child(5n) { border-right: 1px solid var(--line); }
  .brand-cell:nth-child(3n) { border-right: 0; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 28px,1240px); }
  .site-header .shell { min-height: 64px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .header-cta { display: none; }
  .mobile-nav { display: block; justify-self: end; }
  .page-hero { min-height: 560px; padding: 80px 0 58px; }
  .page-hero h1 { font-size: clamp(46px,14vw,68px); }
  .jump-band .shell, .metrics, .formula, .market-overview, .finding-grid, .video-grid, .team-grid, .brand-strip { grid-template-columns: 1fr; }
  .jump-band a, .formula article, .market-card, .finding, .brand-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-head { gap: 20px; }
  .case-copy { padding: 26px; }
  .case-copy h3 { margin-top: 38px; }
  .metrics { gap: 18px; }
  .workflow { grid-template-columns: 1fr; }
  .workflow-step { border-right: 0; }
  .workflow-step:not(:last-child)::after { display: none; }
  .video-frame iframe { height: 580px; }
  .intake-form { grid-template-columns: 1fr; padding: 22px; }
  .field.full, .form-footer, .form-status { grid-column: auto; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  footer .shell { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
