/* Jams Creative Co. — brand tokens */
:root {
  --ink: #000000;
  --deep: #095582;
  --hi: #38B6FF;
  --accent: #FF6A13; /* iPhone 17 Pro Cosmic Orange match (was #DD795B) */
  --white: #FFFFFF;

  --ink-2: #0A0F14;
  --line: rgba(255, 255, 255, .12);
  --muted: rgba(255, 255, 255, .68);

  --radius: 18px;
  --gutter: 16px;
  --maxw: 1180px;
  --nav-h: 64px;

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--hi); color: var(--ink); padding: 10px 14px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Type ---------- */
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--hi);
}
.display, .h2, .step h3, .tier__name, .case__name {
  font-style: italic; font-weight: 850; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -.01em; line-height: .95;
}
.display { margin: 0 0 20px; font-size: clamp(40px, 10.5vw, 84px); }
.display .hl, .h2 .hl { color: var(--hi); }
.display .hl { display: block; }
.h2 { margin: 0 0 14px; font-size: clamp(32px, 7.5vw, 58px); }
.lede { margin: 0 0 28px; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 34ch; }
.sub { margin: 0; color: var(--muted); max-width: 56ch; }
.sub strong { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 800; font-size: 16px; font-stretch: 105%; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #ff8340; }
.btn--hi { background: var(--hi); color: var(--ink); }
.btn--hi:hover { background: #6cc9ff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--hi); color: var(--hi); }

/* ---------- Nav (glass → solid) ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  background: rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
  padding-top: env(safe-area-inset-top);
}
.nav.is-solid { background: rgba(0, 0, 0, .94); border-bottom-color: var(--line); }
.nav__inner {
  height: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__mark { width: 44px; height: 44px; filter: invert(1); }
.nav__word { font-weight: 900; font-style: italic; font-stretch: 115%; text-transform: uppercase; font-size: 17px; letter-spacing: .01em; }
.nav__links { display: none; gap: 28px; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav__links a:hover { color: var(--white); }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__word { white-space: nowrap; }
@media (max-width: 440px) {
  .nav__inner { gap: 10px; }
  .nav__brand { gap: 8px; }
  .nav__mark { width: 40px; height: 40px; }
  .nav__word { font-size: 16px; }
}
@media (max-width: 374px) { .nav__yr { display: none; } .nav__word { font-size: 15px; } }

/* ---------- Speed lines (from the JC speed mark) ---------- */
.speedlines {
  position: absolute; pointer-events: none; z-index: 0;
  top: 18%; left: -10%; width: 70%; height: 46%;
  background: repeating-linear-gradient(180deg, var(--deep) 0 10px, transparent 10px 26px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
          mask-image: linear-gradient(90deg, transparent, #000 70%);
  transform: skewX(-12deg); opacity: .55;
}
.speedlines--band { top: 0; left: auto; right: -5%; width: 55%; height: 220px; opacity: .35;
  background: repeating-linear-gradient(180deg, var(--hi) 0 6px, transparent 6px 22px); }
.section--deep .wrap, .section--deep .rail { position: relative; z-index: 1; }
.speedlines--right { left: auto; right: -10%; top: 10%; -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%); mask-image: linear-gradient(270deg, transparent, #000 70%); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 56px;
  background: radial-gradient(120% 80% at 85% 10%, rgba(9, 85, 130, .55), transparent 60%), var(--ink);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__ctas .btn { flex: 1 1 220px; }
.hero__proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__proof li { border-left: 3px solid var(--hi); padding-left: 12px; }
.hero__proof b { display: block; font-size: clamp(24px, 6vw, 34px); font-weight: 900; font-style: italic; font-stretch: 110%; line-height: 1.05; }
.hero__proof span { font-size: 13px; color: var(--muted); line-height: 1.3; display: block; }
.hero__media { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero { padding: calc(var(--nav-h) + 72px) 0 96px; min-height: 100svh; display: flex; align-items: center; }
  .hero__grid { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 56px; }
  .hero__ctas .btn { flex: 0 0 auto; }
}

/* Video card (9:16) */
.reel {
  position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden; background: var(--deep);
  box-shadow: 0 0 0 2px rgba(56, 182, 255, .5), 0 30px 80px -20px rgba(56, 182, 255, .45);
  transform: rotate(2deg);
}
.reel__track {
  position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.reel__slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 72px 34px 16px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 14px; font-weight: 700; line-height: 1.25; }
.reel__cap small { display: block; font-weight: 500; color: var(--muted); }
.reel__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.reel__dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); transition: width .25s, background .25s; }
.reel__dots span.is-on { width: 20px; background: var(--white); }
.reel__hint { margin: 14px 0 0; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero__media { flex-direction: column; align-items: center; }
.reel__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.25) 0 8px, transparent 8px 22px), var(--deep);
}
.reel__fallback img { width: 70%; }
.reel.has-video .reel__fallback { display: none; }
.reel__sound {
  position: absolute; right: 14px; bottom: 30px; z-index: 2; width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: rgba(0,0,0,.6); cursor: pointer; display: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.reel.has-video .reel__sound { display: grid; place-items: center; }
.reel__sound svg { width: 22px; height: 22px; fill: var(--white); stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.reel__sound.is-on .x { display: none; }
.reel__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--hi); color: var(--ink); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px;
}

/* ---------- Client marquee ---------- */
.clients { border-block: 1px solid var(--line); background: var(--ink-2); padding: 18px 0; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__item { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; min-width: 150px; padding: 0 18px; border-radius: 12px; background: var(--white); color: #111; white-space: nowrap; font-weight: 800; font-style: italic; font-stretch: 105%; text-transform: uppercase; letter-spacing: .02em; font-size: 14px; }
.marquee__item img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
.section--deep { background: var(--deep); }
.section--deep .eyebrow { color: var(--white); opacity: .8; }
.section--deep .sub { color: rgba(255,255,255,.8); }
.section--ink { background: var(--ink-2); }
.section__head { margin-bottom: 36px; }
@media (min-width: 900px) { .section { padding: 112px 0; } .section__head { margin-bottom: 56px; } }

/* ---------- Why / versus ---------- */
.why { overflow: hidden; }
.why .wrap { position: relative; z-index: 1; }
.versus { display: grid; gap: 14px; margin-bottom: 40px; }
@media (min-width: 800px) { .versus { grid-template-columns: 1fr 1fr; gap: 20px; } }
.versus__card { padding: 26px 22px; border-radius: var(--radius); min-width: 0; }
.versus__card--them { background: #e9e9e9; color: #222; font-family: Arial, Helvetica, sans-serif; }
.versus__card--you { background: linear-gradient(150deg, var(--deep), #04293f); border: 2px solid var(--hi); }
.versus__label { margin: 0 0 14px; font-family: var(--f); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.versus__card--them .versus__label { color: #777; }
.versus__card--you .versus__label { color: var(--hi); }
.versus__ad { margin: 0 0 12px; font-size: clamp(24px, 6vw, 32px); line-height: 1.1; font-weight: 700; }
.versus__card--you .versus__ad { font-style: italic; font-weight: 850; font-stretch: 110%; }
.versus__fine { margin: 0; font-size: 12px; color: #888; line-height: 1.4; }
.versus__card--you .versus__fine { font-size: 15px; color: rgba(255,255,255,.8); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.pillar { border-top: 3px solid var(--hi); padding-top: 16px; min-width: 0; }
.pillar__n { font-size: 13px; font-weight: 800; color: var(--hi); letter-spacing: .1em; }
.pillar h3 { margin: 6px 0 8px; font-size: 22px; font-style: italic; font-weight: 850; font-stretch: 110%; text-transform: uppercase; line-height: 1.05; }
.pillar p { margin: 0; color: var(--muted); }

/* ---------- Case study cards ---------- */
.cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.case, .tier, .step { min-width: 0; }
@media (min-width: 700px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(9, 85, 130, .35), rgba(255,255,255,.02) 60%);
  border: 1px solid var(--line);
  transition: border-color .25s;
}
.case.is-after { border-color: rgba(56, 182, 255, .55); }
.case__top { display: flex; align-items: center; gap: 14px; }
.case__logo {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; background: var(--white);
  display: grid; place-items: center; overflow: hidden; padding: 6px;
  color: var(--deep); font-weight: 900; font-style: italic; font-size: 18px;
}
.case__logo img { width: 100%; height: 100%; object-fit: contain; }
.case__name { margin: 0; font-size: 21px; line-height: 1; overflow-wrap: anywhere; }
.case__meta { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.toggle {
  display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: rgba(0,0,0,.45); border: 1px solid var(--line); position: relative;
}
.toggle button {
  position: relative; z-index: 1; min-height: 44px; border: 0; background: none; cursor: pointer;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.toggle button[aria-pressed="true"] { color: var(--ink); }
.toggle::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--white); transition: transform .3s cubic-bezier(.3,.7,.2,1), background .3s;
}
.case.is-after .toggle::before { transform: translateX(100%); background: var(--hi); }
.case__period { font-size: 13px; color: var(--muted); text-align: center; margin: -8px 0 0; }
.metrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.metric { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.metric:last-child { border-bottom: 0; padding-bottom: 0; }
.metric__label { font-size: 15px; color: var(--muted); }
.metric__val { font-size: clamp(28px, 7vw, 36px); font-weight: 900; font-style: italic; font-stretch: 108%; line-height: 1; font-variant-numeric: tabular-nums; }
.case.is-after .metric__val { color: var(--hi); }
.case__delta {
  align-self: flex-start; background: var(--hi); color: var(--ink);
  font-weight: 900; font-size: 15px; padding: 8px 12px; border-radius: 10px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s;
}
.case.is-after .case__delta { opacity: 1; transform: none; }

/* ---------- Video rail ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 280px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1180px) { .rail { padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--maxw)) / 2 + var(--gutter)); } }
.clip {
  position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); border: 0; padding: 0; cursor: pointer; text-align: left;
}
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__shade { position: absolute; inset: auto 0 0; padding: 48px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.clip__title { display: block; font-weight: 800; font-size: 16px; line-height: 1.2; }
.clip__meta { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.clip__play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(0,0,0,.55); display: grid; place-items: center; transition: opacity .2s, transform .2s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.clip__play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent var(--white); }
.clip.is-playing .clip__play { opacity: 0; transform: scale(.8); }
.clip--empty { display: grid; place-items: center; text-align: center; padding: 20px; border: 2px dashed rgba(255,255,255,.3); background: rgba(0,0,0,.2); color: rgba(255,255,255,.75); font-size: 14px; cursor: default; }
.rail__ctrls { display: none; justify-content: flex-end; gap: 10px; margin-top: 20px; }
@media (hover: hover) and (min-width: 900px) { .rail__ctrls { display: flex; } }
.iconbtn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: none; cursor: pointer; font-size: 20px; }
.iconbtn:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--hi), transparent); }
.step__n { display: block; font-size: 56px; font-weight: 900; font-style: italic; font-stretch: 120%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--hi); margin-bottom: 14px; }
.step h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.05; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Ways to work ---------- */
.tiers { display: grid; gap: 16px; }
@media (min-width: 720px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tier { position: relative; display: flex; flex-direction: column; padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink); }
.tier--featured { border: 2px solid var(--hi); background: linear-gradient(180deg, rgba(9,85,130,.55), var(--ink) 70%); }
.tier__tag { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }
.tier__name { margin: 0 0 8px; font-size: 28px; }
.tier__for { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.tier__out { margin: 0 0 18px; font-size: 18px; font-weight: 800; line-height: 1.25; min-height: 2.5em; }
.engine { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 12px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid var(--line); }
.engine button { min-height: 40px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 13px; font-weight: 800; color: var(--muted); }
.engine button[aria-pressed="true"] { background: var(--hi); color: var(--ink); }
.who { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; flex: 1; }
.who li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 15px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.who li:last-child { border-bottom: 0; }
.who b { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.who .is-jams { background: var(--hi); color: var(--ink); }
.who .is-coach { background: rgba(56,182,255,.18); color: var(--hi); }
.who .is-you { background: rgba(255,255,255,.08); color: var(--muted); }
.spotlight { position: relative; overflow: hidden; margin-top: 20px; padding: 28px 22px; border-radius: var(--radius); border: 1px solid rgba(56,182,255,.5); background: linear-gradient(120deg, #04293f, var(--ink) 60%); }
.spotlight__body { position: relative; z-index: 1; max-width: 640px; }
.spotlight__body p:last-child { margin: 0; color: rgba(255,255,255,.85); }
.spotlight__lines { position: absolute; right: -6%; top: 10%; width: 50%; height: 80%; transform: skewX(-12deg); opacity: .5;
  background: repeating-linear-gradient(180deg, var(--hi) 0 6px, transparent 6px 20px);
  -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }
@media (max-width: 719px) { .spotlight__lines { opacity: .18; width: 90%; } }

/* ---------- Workflow / tools ---------- */
.workflow { margin-top: 56px; }
.workflow__title { margin: 0 0 20px; font-size: clamp(22px, 5vw, 30px); font-style: italic; font-weight: 850; font-stretch: 110%; text-transform: uppercase; }
.workflow__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .workflow__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .workflow__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool { padding: 22px 20px; border-radius: var(--radius); background: rgba(9,85,130,.25); border: 1px solid rgba(56,182,255,.25); min-width: 0; }
.tool__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--hi); margin-bottom: 14px; }
.tool__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.tool h4 { margin: 0 0 6px; font-size: 18px; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Audit / form ---------- */
.audit {
  position: relative; overflow: hidden;
  padding: 64px 0 calc(64px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--deep), #063c5c);
}
.audit__grid { position: relative; z-index: 1; display: grid; gap: 24px; }
@media (min-width: 900px) { .audit { padding: 112px 0; } .audit__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.audit .eyebrow { color: var(--white); opacity: .85; }
.audit .sub { color: rgba(255,255,255,.85); }
.form { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.field span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.18); background: var(--ink-2); color: var(--white);
  font: inherit; font-size: 16px; /* 16px stops iOS zoom */
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 32px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--hi); box-shadow: 0 0 0 3px rgba(56,182,255,.25); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form__note.is-error { color: var(--accent); }
.form.is-sent { text-align: center; padding: 40px 22px; }
.form.is-sent h3 { margin: 0 0 8px; font-size: 26px; font-style: italic; font-weight: 900; text-transform: uppercase; }
.form.is-sent p { margin: 0; color: var(--muted); }
@media (max-width: 899px) {
  .audit .h2 { font-size: clamp(28px, 7.5vw, 40px); }
  .audit .sub { font-size: 15px; }
}
@media (min-width: 900px) { .form { padding: 28px; gap: 16px; } .form__row { gap: 14px; } }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line); text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 8px; }
.footer__logo { width: 140px; height: auto; }
.footer p { margin: 0; color: var(--muted); font-size: 15px; }
.footer__small { font-size: 13px !important; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px;
  background: var(--hi); color: var(--ink); font-weight: 900; font-size: 17px; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.7);
  transform: translateY(150%); transition: transform .3s ease;
}
.sticky-cta.is-shown { transform: none; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.marquee__item--dark { background: var(--ink); border: 1px solid var(--line); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 6px 0; }
.footer__nav a { color: var(--white); text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; }
.footer__nav a:hover { color: var(--hi); }

/* ---------- Subpages ---------- */
.subhero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + 48px); background: radial-gradient(120% 80% at 85% 0%, rgba(9, 85, 130, .5), transparent 60%), var(--ink); }
.subhero .wrap { position: relative; z-index: 1; }
.about__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.3fr .7fr; } }
.about__story { max-width: 760px; }
.about__story p { font-size: 18px; color: rgba(255,255,255,.88); }
.crew { display: grid; gap: 14px; }
@media (min-width: 720px) { .crew { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.todo { border: 2px dashed var(--accent); border-radius: 12px; padding: 12px 14px; color: var(--accent) !important; background: rgba(255,106,19,.08); font-size: 15px; }
.todo::before { content: "TODO · "; font-weight: 900; }
.todo--photo { aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center; }

/* Blog */
.postgrid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 720px) { .postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.postcard { display: flex; flex-direction: column; gap: 8px; text-decoration: none; padding-bottom: 8px; min-width: 0; }
.postcard__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.postcard:hover .postcard__img img { transform: scale(1.04); }
.postcard__meta { font-size: 13px; color: var(--hi); font-weight: 700; }
.postcard__title { font-size: 21px; font-weight: 850; line-height: 1.15; }
.postcard__desc { color: var(--muted); font-size: 15px; }
.post__head { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 28px; }
.post__head .eyebrow a { color: inherit; }
.post__grid { display: grid; gap: 32px; padding-bottom: 56px; }
@media (min-width: 900px) { .post__grid { grid-template-columns: 340px minmax(0, 1fr); align-items: start; } .post__video { position: sticky; top: calc(var(--nav-h) + 20px); } }
.post__video { margin: 0; max-width: 340px; }
.post__video video { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: var(--deep); box-shadow: 0 0 0 2px rgba(56,182,255,.4); }
.post__video figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.post__body { max-width: 680px; font-size: 18px; }
.post__body h2 { margin: 36px 0 10px; font-size: 26px; font-style: italic; font-weight: 850; font-stretch: 108%; text-transform: uppercase; line-height: 1.05; }
.post__body p, .post__body li { color: rgba(255,255,255,.88); }
.post__body ul { padding-left: 20px; }
.post__body a { color: var(--hi); }
.post__cta { display: grid; justify-items: start; gap: 8px; padding: 32px 24px; margin-bottom: 64px; border-radius: var(--radius); background: linear-gradient(120deg, var(--deep), #04293f); }
.post__cta .h2 { font-size: clamp(26px, 6vw, 40px); }

/* ---------- Photos ---------- */
.bts { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 48px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.bts::-webkit-scrollbar { display: none; }
@media (min-width: 1080px) { .bts { grid-auto-flow: row; grid-template-columns: 2fr 1fr 1fr; grid-auto-columns: auto; overflow: visible; margin: 56px 0 0; padding: 0; }
  .bts__item:first-child { grid-row: span 2; } .bts__item:first-child img { aspect-ratio: auto; height: 100%; } }
.bts__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; min-width: 0; }
.bts__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bts__item figcaption, .crew__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 14px; font-weight: 700; }
.crew__item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; min-width: 0; }
.crew__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% center; border-radius: 24px; box-shadow: 0 0 0 2px rgba(56,182,255,.6), 0 30px 80px -20px rgba(56,182,255,.35); transform: rotate(-1.5deg); }
.about__photo figcaption { margin-top: 12px; }
.audit--photo { background: linear-gradient(180deg, rgba(9,85,130,.92), rgba(4,41,63,.96)), url("/img/photos/wide-lot-lincoln-sign-row.jpg") center / cover no-repeat; }
@media (max-width: 899px) { .about__photo img { aspect-ratio: 1 / 1; object-position: 75% center; } }

/* ---------- Story bubbles ---------- */
.bubbles { display: flex; gap: 14px; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 22px; padding: 2px var(--gutter) 4px; scrollbar-width: none; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; width: 68px; padding: 0; border: 0; background: none; cursor: pointer; }
.bubble__ring { width: 64px; height: 64px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--hi), #fff, var(--hi)); }
.bubble__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); }
.bubble__name { font-size: 11px; font-weight: 700; color: var(--muted); max-width: 68px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bubble:hover .bubble__ring { transform: scale(1.05); transition: transform .2s; }
.hero__micro { display: flex; align-items: center; gap: 8px; margin: -16px 0 28px; font-size: 14px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 1s infinite; flex: 0 0 auto; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- Mobile swipe rows (cases, tiers) ---------- */
@media (max-width: 699px) {
  .cases, .tiers { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cases::-webkit-scrollbar, .tiers::-webkit-scrollbar { display: none; }
  .case, .tier { scroll-snap-align: start; }
  .tiers { padding-top: 16px; }
  .swipe-hint { display: block; }
}
.swipe-hint { display: none; margin: 8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; padding: 24px 22px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line); position: relative; min-width: 0; }
.quote::before { content: "\201C"; position: absolute; top: -6px; right: 18px; font-size: 90px; line-height: 1; color: var(--hi); font-weight: 900; opacity: .7; }
.quote blockquote { margin: 0 0 16px; font-size: 18px; line-height: 1.45; font-weight: 600; }
.quote figcaption b { display: block; }
.quote figcaption span { font-size: 14px; color: var(--muted); }
.quote--todo { border: 2px dashed var(--accent); }
.quote--todo::after { content: "PLACEHOLDER: replace with a real quote"; position: absolute; left: 22px; top: -11px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; }

/* ---------- Meet Josh ---------- */
.josh { overflow: hidden; }
.josh__grid { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .josh__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.josh__photo { margin: 0; }
.josh__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 26px; box-shadow: 0 0 0 2px rgba(56,182,255,.6), 0 30px 80px -20px rgba(56,182,255,.4); transform: rotate(-2deg); }
.creds { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.creds li { position: relative; padding-left: 26px; color: rgba(255,255,255,.85); }
.creds li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 10px; background: repeating-linear-gradient(180deg, var(--hi) 0 2px, transparent 2px 4px); transform: skewX(-12deg); }
.creds b { color: var(--white); }

/* ---------- Services + verticals ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { padding: 24px 22px; background: var(--ink-2); min-width: 0; }
.service__n { font-size: 13px; font-weight: 800; color: var(--hi); letter-spacing: .1em; }
.service h3 { margin: 6px 0 8px; font-size: 20px; font-style: italic; font-weight: 850; font-stretch: 108%; text-transform: uppercase; line-height: 1.1; }
.service p { margin: 0; color: var(--muted); font-size: 15px; }
.verticals { margin-top: 32px; }
.verticals__label { margin: 0 0 12px; font-weight: 700; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-weight: 700; font-size: 15px; }
.chip--new { border-color: var(--accent); }
.chip i { font-style: normal; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: var(--ink); padding: 2px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 2px; }

/* ---------- Commitment note ---------- */
.commit { margin: 20px 0 0; padding: 14px 18px; border-left: 3px solid var(--hi); background: rgba(56,182,255,.07); border-radius: 0 12px 12px 0; color: rgba(255,255,255,.88); }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 860px; }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 800; font-size: 17px; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--hi); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item[open] { border-color: rgba(56,182,255,.4); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: rgba(255,255,255,.82); }
.sub a { color: var(--hi); }

/* ---------- Apply: next steps ---------- */
.next { list-style: none; counter-reset: n; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.next li { counter-increment: n; position: relative; padding-left: 48px; }
.next li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--deep); display: grid; place-items: center; font-weight: 900; }
.next b { display: block; font-size: 17px; }
.next span { font-size: 15px; color: rgba(255,255,255,.8); }
@media (max-width: 899px) { .next { gap: 10px; } .next span { font-size: 14px; } }
.hero__grid > *, .josh__grid > *, .audit__grid > * { min-width: 0; }
.case__delta { max-width: 100%; }
.audit__next { position: relative; z-index: 1; }
.next__title { margin: 0; font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
@media (min-width: 900px) {
  .audit__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy form" "next form"; align-items: start; row-gap: 28px; }
  .audit__copy { grid-area: copy; } .form { grid-area: form; } .audit__next { grid-area: next; }
}

/* ---------- About: story timeline ---------- */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; position: relative; }
.story__item { display: grid; gap: 18px; align-items: center; }
.story__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: var(--radius); border: 1px solid var(--line); }
.story__tag { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--hi); }
.story__item h3 { margin: 0 0 8px; font-size: clamp(22px, 5vw, 30px); font-style: italic; font-weight: 850; font-stretch: 108%; text-transform: uppercase; line-height: 1.05; }
.story__item p { margin: 0; color: rgba(255,255,255,.85); font-size: 17px; }
@media (min-width: 860px) {
  .story { gap: 64px; }
  .story::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--hi), var(--hi)); opacity: .35; }
  .story__item { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story__item:nth-child(even) img { order: 2; }
}
.case__handle { color: var(--hi); font-weight: 700; }
.promises { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.promises li { padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(56,182,255,.3); background: rgba(9,85,130,.18); color: rgba(255,255,255,.85); font-size: 15px; }
.promises b { display: block; color: var(--white); font-size: 17px; margin-bottom: 2px; }
.note { max-width: 760px; margin-bottom: 40px; }
.note p:first-child { margin: 0 0 14px; font-size: clamp(22px, 4.5vw, 30px); font-weight: 700; font-style: italic; line-height: 1.3; }
.note__sig { margin: 0; font-weight: 900; font-size: 18px; color: var(--hi); }
.note__sig span { display: block; font-weight: 600; font-size: 14px; color: var(--muted); }
.wrap.post__cta { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.josh__lede { margin: 0; font-size: clamp(18px, 2.2vw, 20px); line-height: 1.65; color: rgba(255,255,255,.88); max-width: 58ch; }
.creds li { line-height: 1.45; }
.josh .speedlines { top: 60px; height: 300px; width: 60%; left: -12%; }
@media (min-width: 900px) { .josh .speedlines { top: 12%; height: 76%; width: 42%; } }

/* ---------- Prices on tiers ---------- */
.tier__price { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.tier__price b { font-size: 38px; font-weight: 900; font-style: italic; font-stretch: 108%; color: var(--white); margin: 0 2px; }
.tier--featured .tier__price b { color: var(--hi); }

/* ---------- Fit ---------- */
.fit__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 800px) { .fit__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fit__list li { padding: 22px 20px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); border-top: 3px solid var(--hi); min-width: 0; }
.fit__list b { display: block; font-size: 22px; font-style: italic; font-weight: 850; font-stretch: 108%; text-transform: uppercase; margin-bottom: 6px; }
.fit__list span { color: var(--muted); }
.fit__not { margin: 20px 0 0; color: var(--muted); font-size: 15px; }
.fit__not b { color: var(--hi); }

/* ---------- Slot picker ---------- */
.form.is-sent { text-align: left; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-top: 16px; }
.slot { display: grid; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 12px; border: 1.5px solid rgba(56,182,255,.4); background: var(--ink-2); color: var(--white); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.slot:hover, .slot:focus-visible { border-color: var(--hi); background: rgba(56,182,255,.1); }
.slot:disabled { opacity: .5; cursor: wait; }
.slot b { font-size: 16px; }
.slot span { font-size: 13px; color: var(--muted); }
.slots .form__note { grid-column: 1 / -1; text-align: left; }
.booked { text-align: center; padding: 10px 0; }
.booked__check { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #3ddc84; color: var(--ink); font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.booked p { margin: 6px 0 0; }
@media (max-width: 899px) { .form { gap: 10px; padding: 16px; } .field input, .field select { min-height: 46px; } .form__row { gap: 8px; } }

/* ---------- Selectable tiers ---------- */
.tier { cursor: pointer; transition: border-color .25s, background .25s, transform .25s; }
.tier:hover { border-color: rgba(56,182,255,.5); }
.tier:focus-visible { outline: 3px solid var(--hi); outline-offset: 3px; }
.tier--featured { transform: translateY(-4px); }
.tier__badge { position: absolute; top: -12px; left: 20px; background: var(--hi); color: var(--ink); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tier__apply { margin-top: auto; }
@media (max-width: 699px) { .tiers { padding-top: 20px; } .tier--featured { transform: none; } }

/* ---------- Remote vs on-site ---------- */
.modes { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 860px) { .modes { grid-template-columns: 1.15fr .85fr; gap: 20px; } }
.mode { padding: 26px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
.mode--remote { border: 2px solid var(--hi); background: linear-gradient(160deg, rgba(9,85,130,.55), var(--ink-2) 70%); }
.mode__tag { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--hi); padding: 4px 9px; border-radius: 999px; }
.mode:not(.mode--remote) .mode__tag { background: rgba(255,255,255,.12); color: var(--white); }
.mode h3 { margin: 12px 0 6px; font-size: 30px; font-style: italic; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: 1; }
.mode > p { margin: 0 0 16px; color: rgba(255,255,255,.85); }
.mode__steps { list-style: none; counter-reset: m; margin: 0; padding: 0; display: grid; gap: 10px; }
.mode__steps li { counter-increment: m; position: relative; padding-left: 40px; color: var(--muted); font-size: 15px; }
.mode__steps li::before { content: counter(m); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--hi); color: var(--hi); display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.mode__steps b { color: var(--white); }

/* =========================================================
   Client dashboard (/clients/)
   ========================================================= */
.dash-body { background: var(--ink); }
.dash { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 64px; min-height: 100svh; }
.dash__navlabel { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .dash__navlabel { display: none; } }
.dash__login { position: relative; display: grid; place-items: center; min-height: 70svh; }
.dash__logincard { position: relative; z-index: 1; width: 100%; max-width: 480px; padding: 28px 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); }
.dash__keyform { display: grid; gap: 12px; margin-top: 18px; }
.dash__demo { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.dash__demo a, .form__note a { color: var(--hi); }
.dash__loading { padding: 80px 0; color: var(--muted); text-align: center; }
.dash__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.dash__head .h2 { margin-bottom: 6px; }
.dash__meta { margin: 0; color: var(--muted); font-size: 14px; }
.dash__sample { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--hi); color: var(--hi); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dash__foot { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
@media (min-width: 1000px) { .kpis { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
.kpi--hero { grid-column: 1 / -1; background: linear-gradient(140deg, rgba(9,85,130,.6), var(--ink-2) 75%); border-color: rgba(56,182,255,.4); }
@media (min-width: 1000px) { .kpi--hero { grid-column: auto; } }
.kpi__label { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-size: clamp(28px, 6vw, 36px); font-weight: 900; font-style: italic; font-stretch: 108%; line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpi__note { font-size: 13px; color: var(--muted); }
.kpi__delta { align-self: flex-start; font-size: 13px; font-weight: 800; padding: 2px 8px; border-radius: 6px; }
.kpi__delta.is-up { background: rgba(61,220,132,.14); color: #6ee7a8; }
.kpi__delta.is-down { background: rgba(255,255,255,.08); color: var(--muted); }
.kpi__ba { display: flex; align-items: center; gap: 14px; margin: 6px 0 4px; }
.kpi__ba b { display: block; font-size: clamp(26px, 6vw, 34px); font-weight: 900; font-style: italic; font-stretch: 108%; line-height: 1; color: var(--hi); }
.kpi__ba b.is-before { color: var(--muted); }
.kpi__ba span { font-size: 12px; color: var(--muted); }
.kpi__arrow { font-size: 22px !important; color: var(--white) !important; }

.panel { margin-top: 14px; padding: 18px 16px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
@media (min-width: 700px) { .panel { padding: 22px 22px; } }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.panel__title { margin: 0; font-size: 18px; font-weight: 800; }
.panel__sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.panel__empty { color: var(--muted); font-size: 14px; list-style: none; }
.panels2 { display: grid; gap: 0 14px; }
@media (min-width: 900px) { .panels2 { grid-template-columns: 1.3fr 1fr; } }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(0,0,0,.5); border: 1px solid var(--line); }
.seg button { min-height: 36px; min-width: 48px; padding: 0 12px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 13px; font-weight: 800; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--hi); color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; overflow: visible; }
.chart .ax { font-size: 11px; fill: rgba(255,255,255,.55); font-family: var(--f); }
.chart .ax--mark { fill: var(--white); font-weight: 700; }
.chart .bar { transition: opacity .15s; }
.chart .bar.is-hover { opacity: .75; }
.chart .hit, .chart .hitarea { cursor: crosshair; }
.netbars { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.netbars li { display: grid; grid-template-columns: 88px 1fr 56px; align-items: center; gap: 10px; font-size: 14px; }
.netbars__track { height: 12px; border-radius: 4px; background: rgba(255,255,255,.06); overflow: hidden; }
.netbars__fill { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--hi); }
.netbars b { text-align: right; font-variant-numeric: tabular-nums; }
.topvids { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.topvids a, .topvids li > div { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 8px; border-radius: 10px; text-decoration: none; }
.topvids a:hover { background: rgba(56,182,255,.08); }
.topvids__rank { font-weight: 900; font-style: italic; color: var(--hi); font-size: 18px; text-align: center; }
.topvids__body { min-width: 0; }
.topvids__body b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.topvids__body span, .topvids__views span { font-size: 12px; color: var(--muted); }
.topvids__views { text-align: right; }
.topvids__views b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.dash__table summary { cursor: pointer; font-weight: 800; min-height: 32px; display: flex; align-items: center; }
.tablewrap { overflow-x: auto; margin-top: 12px; }
.dash__table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.dash__table th, .dash__table td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.dash__table th:first-child, .dash__table td:first-child { text-align: left; }
.dash__table th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tip { position: fixed; z-index: 60; pointer-events: none; display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #fff; color: #0A0F14; font-size: 13px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.tip b { font-size: 14px; }
.tip[hidden] { display: none; }
.promises a { color: var(--hi); }
.howlink { margin-top: 28px; }
.next--dark li::before { background: var(--hi); color: var(--ink); }
.next--dark span { color: var(--muted); }
.tool a { color: var(--hi); }
.subhero .display { font-size: clamp(30px, 9.2vw, 84px); overflow-wrap: anywhere; }
/* Chipstarter inset on the founder photo */
.josh__photo { position: relative; padding-bottom: 48px; }
.josh__inset { position: absolute; right: -6px; bottom: 0; width: 46%; max-width: 230px; margin: 0; padding: 8px 8px 10px; background: var(--white); border-radius: 10px; transform: rotate(4deg); box-shadow: 0 18px 40px -12px rgba(0,0,0,.75); }
.josh__inset img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; box-shadow: none !important; transform: none !important; }
.josh__inset figcaption { margin-top: 6px; font-size: 11px; line-height: 1.25; font-weight: 800; color: #111; text-align: center; }
@media (min-width: 900px) { .josh__photo { padding-bottom: 60px; } .josh__inset { right: -24px; width: 44%; } }

/* ---------- Their ad vs. what we make ---------- */
.versus { align-items: stretch; }
.vs { margin: 0; padding: 20px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vs--them { background: #1a1d21; border: 1px solid var(--line); }
.vs--you { background: linear-gradient(150deg, var(--deep), #04293f); border: 2px solid var(--hi); }
.vs__label { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.vs--you .vs__label { color: var(--hi); }
.vs__media { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.vs--them .vs__media { aspect-ratio: 1 / 1; }
.vs--them .vs__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(.9) brightness(.75); }
.vs__x { position: absolute; inset: 0; }
.vs__x::before, .vs__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120%; height: 10px; background: #e5484d; border-radius: 6px; box-shadow: 0 0 0 3px rgba(0,0,0,.35); }
.vs__x::before { transform: translate(-50%, -50%) rotate(45deg); }
.vs__x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.vs__media--video { aspect-ratio: 9 / 16; max-height: 560px; align-self: center; width: 100%; max-width: 315px; }
.vs__media--video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs__sound { position: absolute; left: 10px; bottom: 10px; border: 0; border-radius: 999px; padding: 8px 12px; min-height: 40px; background: rgba(0,0,0,.65); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vs__views { position: absolute; right: 10px; top: 10px; background: var(--hi); color: var(--ink); font-weight: 900; font-size: 13px; padding: 5px 10px; border-radius: 999px; }
.vs__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vs__tags li { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(229,72,77,.6); color: #ff8a8d; }
.vs__tags--you li { border-color: rgba(56,182,255,.6); color: var(--hi); text-decoration: none; }
.vs figcaption { color: var(--muted); font-size: 15px; }
.vs--you figcaption { color: rgba(255,255,255,.85); }
@media (min-width: 800px) { .vs--them .vs__media { aspect-ratio: auto; height: 560px; } }

/* ---------- Footer legal ---------- */
.footer__legal { max-width: 760px; margin: 14px auto 6px !important; font-size: 12px !important; line-height: 1.5; color: rgba(255,255,255,.45) !important; }
