/* Krypto Designz - public site
   Tokens: void black, electric cyan -> cobalt, white headings, slate body. */
:root {
  --void: #070709;
  --void-2: #0c0d12;
  --cyan: #00f2fe;    /* logo cyan */
  --cobalt: #1a8cf7;  /* logo blue */
  --ink: #ffffff;
  --slate: #94a3b8;
  --slate-2: #64748b;
  --line: rgba(0, 242, 254, 0.18);
  --line-soft: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.03);
  --glow: 0 0 22px rgba(0, 242, 254, 0.32);
  --grad: linear-gradient(100deg, var(--cyan), var(--cobalt));
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 9px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--slate);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.muted { color: var(--slate-2); }
.small { font-size: 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cyan); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Circuit canvas ---------- */
#circuit {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: var(--circuit-opacity, 1);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: box-shadow .2s, transform .2s, background .2s, border-color .2s;
}
.btn-glow { background: var(--grad); color: #03121a; }
.btn-glow:hover { box-shadow: var(--glow), 0 0 48px rgba(26, 140, 247, .25); transform: translateY(-1px); }
.btn-glass {
  background: var(--glass); color: var(--ink); border-color: rgba(255,255,255,.14);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.btn-glass:hover { border-color: var(--line); box-shadow: var(--glow); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn[hidden] { display: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(7, 7, 9, 0.72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 44px; width: auto; filter: drop-shadow(0 0 10px rgba(0, 242, 254, .35)); }
.brand-word { height: 38px; width: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav ul a:not(.btn) { color: var(--slate); text-decoration: none; font-weight: 500; }
.nav ul a:not(.btn):hover { color: var(--ink); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(72px, 13vh, 150px) 0 clamp(56px, 9vh, 96px); position: relative; }
.hero::before { /* keeps text readable over the traces */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 28% 45%, rgba(7,7,9,.86), rgba(7,7,9,0) 70%);
}
.hero-tag { color: var(--cyan); font-size: 14px; margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 92px);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 700;
  max-width: 13.5em;
  background: linear-gradient(180deg, #fff 60%, #e3fcff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 28px; max-width: 40em; font-size: clamp(17px, 1.5vw, 20px); color: #b8c3d4; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* page-load moment: headline + copy rise once with the circuit draw-in */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-tag, .hero h1, .hero .lede, .hero .cta-row { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 { animation-delay: .12s; }
  .hero .lede { animation-delay: .28s; }
  .hero .cta-row { animation-delay: .4s; }
  .hero .cpu { animation: rise 1.1s cubic-bezier(.2,.7,.2,1) .5s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Hero CPU core (tap -> portfolio) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 29vw, 410px); gap: clamp(16px, 3vw, 48px); align-items: center; }
.hero-grid h1 { font-size: clamp(40px, 4.6vw, 68px); max-width: none; }
.cpu {
  display: grid; justify-items: center; gap: 4px; color: var(--slate); text-decoration: none;
  border-radius: 28px; -webkit-tap-highlight-color: transparent; cursor: pointer; outline: none;
}
.cpu svg { width: 100%; height: auto; display: block; overflow: visible; }
.cpu:focus-visible svg { outline: 2px solid var(--cyan); outline-offset: 6px; border-radius: 28px; }
.cpu .tr { fill: none; stroke: rgba(0, 242, 254, .26); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.cpu .pad { fill: var(--void); stroke: rgba(0, 242, 254, .45); stroke-width: 1.4; transition: stroke .35s, fill .35s; }
.cpu .pin { fill: rgba(0, 242, 254, .42); transition: fill .35s; }
.cpu .pl {
  fill: none; stroke: #9ffcff; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 7 110; stroke-dashoffset: -100;
  animation: cpu-in 3.6s linear infinite; animation-delay: var(--d);
  filter: drop-shadow(0 0 3px #00f2fe);
}
.cpu .pkg { stroke-width: 1.6; }
.cpu .bevel { fill: none; stroke: rgba(255, 255, 255, .06); }
.cpu .pin1 { fill: rgba(0, 242, 254, .55); }
.cpu .ring { fill: none; stroke: rgba(0, 242, 254, .38); stroke-width: 1.2; stroke-dasharray: 3 7; transform-box: fill-box; transform-origin: center; animation: cpu-spin 22s linear infinite; }
.cpu .die { fill: #04050a; stroke-width: 1.4; }
.cpu .core { transform-box: fill-box; transform-origin: center; animation: cpu-breathe 3.6s ease-in-out infinite; }
.cpu .cpu-id { font: 500 7.5px var(--mono); letter-spacing: .12em; fill: #5d6b80; }
.cpu .halo { opacity: .7; transition: opacity .4s; }
.cpu .shock { fill: none; stroke: #00f2fe; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.cpu-cap { font-size: 13px; letter-spacing: .04em; color: var(--slate); transition: color .3s; }
.cpu:hover .tr, .cpu:focus-visible .tr { stroke: rgba(0, 242, 254, .55); }
.cpu:hover .pad, .cpu:focus-visible .pad { stroke: var(--cyan); }
.cpu:hover .pin, .cpu:focus-visible .pin { fill: var(--cyan); }
.cpu:hover .halo, .cpu:focus-visible .halo { opacity: 1; }
.cpu:hover .cpu-cap, .cpu:focus-visible .cpu-cap { color: var(--cyan); }
/* boot sequence on tap: everything fires outward, the core flashes, then we glide to the portfolio */
.cpu.booting .pl { stroke-dasharray: 26 110; animation: cpu-out .75s cubic-bezier(.25, .7, .3, 1) both; animation-delay: calc(var(--i) * 9ms); }
.cpu.booting .tr { stroke: rgba(0, 242, 254, .8); }
.cpu.booting .pad { fill: var(--cyan); stroke: var(--cyan); }
.cpu.booting .pin { fill: #fff; }
.cpu.booting .core { animation: cpu-boot .75s cubic-bezier(.3, .7, .3, 1) both; }
.cpu.booting .shock { animation: cpu-shock .75s ease-out both; }
.cpu.booting .ring { animation-duration: 1.4s; stroke: var(--cyan); }
@keyframes cpu-in { from { stroke-dashoffset: -100; } to { stroke-dashoffset: 7; } }
@keyframes cpu-out { from { stroke-dashoffset: 26; } to { stroke-dashoffset: -112; } }
@keyframes cpu-spin { to { transform: rotate(360deg); } }
@keyframes cpu-breathe { 0%, 100% { filter: drop-shadow(0 0 4px rgba(0,242,254,.35)); } 50% { filter: drop-shadow(0 0 14px rgba(0,242,254,.75)); } }
@keyframes cpu-boot {
  0% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(0,242,254,.5)); }
  25% { transform: scale(.9); }
  55% { transform: scale(1.12); filter: drop-shadow(0 0 26px #00f2fe) brightness(1.5); }
  100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0,242,254,.6)); }
}
@keyframes cpu-shock { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid h1 { font-size: clamp(40px, 7.4vw, 76px); }
  .cpu { width: min(340px, 82vw); justify-self: center; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .cpu .pl { animation: none !important; opacity: 0; }
  .cpu .ring, .cpu .core { animation: none !important; }
}

/* ---------- Readout ---------- */
.readout {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0; border: 1px solid var(--line); border-radius: var(--r-md);
  background: rgba(7, 7, 9, 0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.readout > div { padding: 22px 24px; border-left: 1px solid var(--line); position: relative; }
.readout > div:first-child { border-left: 0; }
.readout > div::before { /* signal pad */
  content: ""; position: absolute; top: 14px; right: 14px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); opacity: .8;
}
.readout dt { font-size: 14px; color: var(--slate); }
.readout dd {
  margin: 6px 0 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: -0.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vh, 130px) 0 0; }
.section h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -0.035em; max-width: 16em; }
.section-lede { margin-top: 16px; max-width: 38em; font-size: 18px; }

/* ---------- Bento ---------- */
.bento {
  margin-top: 44px;
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
}
.tile {
  grid-column: span 2; min-height: 190px;
  position: relative; overflow: hidden;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--glass); border: 1px solid var(--line-soft);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.tile::after { /* cyan light leak that follows the cursor (set by JS) */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(0,242,254,.10), transparent 60%);
}
.tile:hover { border-color: var(--line); box-shadow: 0 0 0 1px rgba(0,242,254,.06), 0 18px 60px -30px rgba(0,242,254,.45); }
.tile:hover::after { opacity: 1; }
.tile h3 { font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; }
.tile p { font-size: 16px; }
.tile-web { grid-column: span 4; grid-row: span 2; min-height: 396px; padding: 34px; justify-content: flex-end; }
.tile-web h3 { font-size: clamp(26px, 2.6vw, 34px); }
.tile-web p { font-size: 18px; max-width: 34em; }
.tile-systems { grid-column: span 4; }
.tile-consult { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.tile-consult h3 { flex: 0 0 auto; }
.tile-consult p { flex: 1 1 320px; }
.glyph { width: 40px; height: 40px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(0,242,254,.45)); }
.tile-web .glyph { width: 56px; height: 56px; margin-bottom: auto; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; }
.chips li { font-size: 14px; color: #cfe9f3; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(0,242,254,.04); }
.text-link { color: var(--cyan); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--cyan); }

/* ---------- Consulting ---------- */
.consult { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.pillars { margin: 36px 0 0; display: grid; gap: 0; }
.pillars > div { padding: 18px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 14em 1fr; gap: 16px; }
.pillars > div:last-child { border-bottom: 1px solid var(--line-soft); }
.pillars dt { color: var(--ink); font-weight: 600; }
.pillars dd { margin: 0; }
.ladder { position: relative; display: grid; gap: 12px; padding-left: 30px; }
.ladder::before { /* the trace connecting the rungs */
  content: ""; position: absolute; left: 8px; top: 20px; bottom: 76px; width: 2px;
  background: linear-gradient(var(--cyan), var(--cobalt) 70%, transparent);
  box-shadow: 0 0 10px rgba(0,242,254,.5);
}
.rung {
  position: relative; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--line-soft);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.rung::before { content: ""; position: absolute; left: -27px; top: 24px; width: 10px; height: 10px; border-radius: 50%; background: var(--void); border: 2px solid var(--cyan); box-shadow: 0 0 10px rgba(0,242,254,.6); }
.rung-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rung h3 { font-size: 18px; }
.price { color: var(--cyan); font-size: 15px; white-space: nowrap; }
.rung p { margin-top: 6px; font-size: 15px; }
.ladder .btn { justify-self: start; margin-top: 10px; }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filter { font: 500 15px var(--sans); color: var(--slate); background: transparent; border: 1px solid var(--line-soft); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.filter:hover { color: var(--ink); border-color: var(--line); }
.filter.is-on { color: #03121a; background: var(--grad); border-color: transparent; }
.work-grid { margin-top: 28px; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.work-card {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column;
  border-radius: var(--r-lg); overflow: hidden; background: #0b0c10; border: 1px solid var(--line-soft);
  transition: border-color .25s, box-shadow .25s;
}
.work-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.work-card:hover { border-color: var(--line); box-shadow: 0 20px 70px -34px rgba(0,242,254,.55); }
.work-card[hidden] { display: none; }
.work-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #0e1620, #071018); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); filter: saturate(.9) contrast(1.05); }
.work-card:hover .work-img img { transform: scale(1.05); }
.work-img::after { /* light leak */
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: linear-gradient(120deg, transparent 40%, rgba(0,242,254,.22) 70%, rgba(26,140,247,.12));
  mix-blend-mode: screen;
}
.work-card:hover .work-img::after { opacity: 1; }
.work-meta { padding: 18px 20px 20px; display: grid; gap: 4px; }
.work-cat { font-size: 14px; color: var(--cyan); }
.work-title { color: var(--ink); font-weight: 600; font-size: 19px; }
.work-client { font-size: 15px; color: var(--slate-2); }
.empty { margin-top: 28px; padding: 32px; border: 1px dashed var(--line); border-radius: var(--r-lg); display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.empty p { max-width: 36em; }

/* ---------- Modal ---------- */
.modal { padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #0a0b0f; color: var(--slate); width: min(920px, calc(100% - 32px)); max-height: calc(100% - 32px); }
.modal::backdrop { background: rgba(3,3,5,.78); backdrop-filter: blur(6px); }
.modal-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; }
.modal-img { background: #05070a; min-height: 260px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px; display: grid; gap: 12px; align-content: start; }
.modal-body h3 { font-size: 26px; }
.modal-body blockquote { margin: 4px 0; padding-left: 14px; border-left: 2px solid var(--cyan); color: #cfd8e3; font-style: italic; }
.modal-body .btn { justify-self: start; margin-top: 6px; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(7,7,9,.8); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Intake ---------- */
.intake {
  display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(28px, 5vw, 64px);
  padding: clamp(26px, 4vw, 48px); border-radius: 28px;
  background: rgba(10, 12, 16, 0.78); border: 1px solid var(--line);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 0 0 1px rgba(0,242,254,.04), 0 40px 120px -60px rgba(0,242,254,.4);
}
.intake-side p { margin-top: 14px; }
.side-contact { line-height: 1.9; }
.side-contact a { text-decoration: none; }
.side-contact a:hover { text-decoration: underline; }
.trace { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 26px; padding: 0; position: relative; font-size: 14px; }
.trace::before { content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 2px; background: var(--line-soft); }
.trace::after { content: ""; position: absolute; left: 14px; top: 14px; height: 2px; width: calc((100% - 28px) * var(--p, 0)); background: var(--grad); box-shadow: 0 0 10px var(--cyan); transition: width .45s ease; }
.trace li { position: relative; z-index: 1; display: grid; justify-items: start; gap: 8px; color: var(--slate-2); }
.trace li:last-child { justify-items: end; text-align: right; }
.trace li:nth-child(2), .trace li:nth-child(3) { justify-items: center; text-align: center; }
.trace span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--void); border: 2px solid var(--line-soft); color: var(--slate-2); transition: all .3s; }
.trace li.is-on { color: var(--ink); }
.trace li.is-on span { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 12px rgba(0,242,254,.5); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { color: var(--ink); font-size: 22px; font-weight: 600; margin-bottom: 16px; padding: 0; }
.hint { color: var(--slate-2); font-size: 15px; font-weight: 400; }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 12px 16px; border-radius: var(--r-md); border: 1px solid var(--line-soft); background: var(--glass); color: #d6dee9; font-weight: 500; transition: all .2s; }
.opt:hover span { border-color: var(--line); }
.opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--cyan); color: var(--ink); background: rgba(0,242,254,.08); box-shadow: inset 0 0 0 1px rgba(0,242,254,.4), 0 0 18px -6px rgba(0,242,254,.6); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields label { display: grid; gap: 6px; font-size: 15px; color: var(--slate); }
.fields .full { grid-column: 1 / -1; }
.fields input:not([type=checkbox]), .fields textarea {
  font: 400 16px var(--sans); color: var(--ink); background: #07080b; border: 1px solid var(--line-soft);
  border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
}
.fields textarea { resize: vertical; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,242,254,.15); }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-size: 14px !important; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--cyan); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { min-height: 24px; margin-top: 16px; color: #ffb4b4; font-size: 15px; }
.step-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.brief-done { grid-column: 2; align-self: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(0,242,254,.05); }
.brief-done h3 { font-size: 26px; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.foot { margin-top: clamp(80px, 12vh, 130px); border-top: 1px solid var(--line-soft); background: rgba(7,7,9,.85); position: relative; z-index: 1; }
.foot-inner { padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; }
.foot-logo { height: 120px; width: auto; margin: -8px 0 6px -8px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.foot-links a { color: var(--slate); text-decoration: none; }
.foot-links a:hover { color: var(--cyan); }
.foot .small { grid-column: 1 / -1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-systems { grid-column: span 1; }
  .tile-web, .tile-consult { grid-column: span 2; }
  .tile-web { grid-row: span 1; min-height: 340px; }
  .consult { grid-template-columns: 1fr; }
  .intake { grid-template-columns: 1fr; }
  .brief-done { grid-column: 1; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-img { min-height: 200px; max-height: 300px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .menu-btn {
    display: inline-flex; font: 600 15px var(--sans); color: var(--ink); background: var(--glass);
    border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 16px; cursor: pointer;
  }
  .nav ul {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; background: rgba(7,7,9,.97); border-bottom: 1px solid var(--line-soft);
  }
  .nav ul.open { display: flex; }
  .nav ul li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav ul li .btn { margin-top: 14px; width: 100%; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-web, .tile-systems, .tile-consult { grid-column: span 1; }
  .tile-consult { flex-direction: column; align-items: flex-start; }
  .readout > div { border-left: 0; border-top: 1px solid var(--line); }
  .readout > div:first-child { border-top: 0; }
  .pillars > div { grid-template-columns: 1fr; gap: 4px; }
  .fields { grid-template-columns: 1fr; }
  .trace { font-size: 0; } /* numbers only on small screens */
  .step-nav .btn { flex: 1; }
  .foot-inner { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- About page ---------- */
.nav ul a[aria-current="page"] { color: var(--cyan); }
.page-about .about-hero h1 { max-width: 12em; }
div.cpu { cursor: default; }
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--cobalt) 70%, rgba(26,140,247,.1)); box-shadow: 0 0 10px rgba(0,242,254,.4); }
.timeline li { position: relative; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--void); border: 2px solid var(--cyan); box-shadow: 0 0 10px rgba(0,242,254,.6); }
.timeline li.is-now::before { background: var(--cyan); }
.tl-when { font-size: 13px; color: var(--cyan); letter-spacing: .06em; }
.timeline h3 { font-size: 22px; margin-top: 4px; letter-spacing: -0.015em; }
.timeline p { margin-top: 6px; max-width: 34em; }
.founder {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(0,242,254,.06), rgba(26,140,247,.02) 60%), var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.founder-mark {
  width: clamp(120px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #13202c, #06070a 70%);
  border: 2px solid transparent; background-clip: padding-box; position: relative;
  box-shadow: 0 0 0 2px rgba(0,242,254,.55), 0 0 40px -6px rgba(0,242,254,.55);
}
.founder-mark span { font: 700 clamp(38px, 5vw, 58px)/1 var(--sans); letter-spacing: -0.04em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-role { color: var(--cyan); font-size: 13px; letter-spacing: .06em; }
.founder h2 { margin: 6px 0 14px; }
.founder-body p:not(.founder-role) { max-width: 40em; margin-top: 10px; font-size: 17px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; }
.values { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.values .tile { grid-column: auto; min-height: 0; }
.how { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.chips.who { margin-top: 22px; }
.steps-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.steps-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.steps-list li:last-child { border-bottom: 1px solid var(--line-soft); }
.steps-list .mono { color: var(--cyan); font-size: 14px; padding-top: 3px; }
.steps-list h3 { font-size: 18px; }
.steps-list p { margin-top: 2px; font-size: 16px; }
.about-cta {
  text-align: center; padding: clamp(36px, 6vw, 72px) 20px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, rgba(0,242,254,.12), transparent 65%), var(--glass);
}
.about-cta h2 { margin: 0 auto; max-width: 14em; }
.about-cta p { margin-top: 14px; }
.about-cta .cta-row { justify-content: center; }
@media (max-width: 980px) {
  .story, .how { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .values { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; justify-items: start; }
}

/* founder photo (cut-out on a glowing panel) */
.founder-photo {
  margin: 0; width: clamp(200px, 24vw, 300px); aspect-ratio: 4 / 5; position: relative; align-self: end;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 50% 38%, rgba(0,242,254,.35), rgba(26,140,247,.12) 45%, transparent 70%),
    linear-gradient(180deg, #0c1a24, #070709);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -40px rgba(0,242,254,.6);
}
.founder-photo::before { /* faint circuit ring behind the head */
  content: ""; position: absolute; left: 50%; top: 34%; width: 78%; aspect-ratio: 1; translate: -50% -50%; z-index: -1;
  border-radius: 50%; border: 1px dashed rgba(0,242,254,.35); box-shadow: 0 0 40px rgba(0,242,254,.25) inset;
}
.founder-photo img { position: absolute; inset: 6% 0 0; width: 100%; height: 94%; object-fit: cover; object-position: top center;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
.founder { align-items: end; }
@media (max-width: 720px) { .founder-photo { width: min(280px, 80vw); justify-self: center; } }

/* ---------- Packages page ---------- */
.pk-hero h1 { max-width: 15em; font-size: clamp(38px, 5.4vw, 72px); }
.pk-section h2 { margin-bottom: 8px; }
.pk-grid { margin-top: 40px; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.pk-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px;
  border-radius: var(--r-lg); border: 1px solid var(--line-soft); background: var(--glass);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pk-card:hover { border-color: var(--line); box-shadow: 0 18px 60px -30px rgba(0,242,254,.45); transform: translateY(-2px); }
.pk-card.is-popular { border-color: rgba(0,242,254,.55); box-shadow: 0 0 0 1px rgba(0,242,254,.25), 0 30px 80px -40px rgba(0,242,254,.7);
  background: linear-gradient(180deg, rgba(0,242,254,.07), rgba(26,140,247,.02) 40%), var(--glass); }
.pk-card.is-signature { border-color: rgba(26,140,247,.55); background: linear-gradient(180deg, rgba(26,140,247,.09), transparent 45%), var(--glass); }
.pk-badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; white-space: nowrap; padding: 5px 14px; border-radius: 999px;
  font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #03121a; background: var(--grad); box-shadow: var(--glow); }
.pk-badge-alt { background: linear-gradient(100deg, #1a8cf7, #6c7bff); color: #fff; }
.pk-card h3 { font-size: 24px; letter-spacing: -0.02em; }
.pk-tag { font-size: 16px; }
.pk-price { color: var(--cyan); font-size: 15px; margin: 4px 0 6px; }
.pk-label { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-2); }
.pk-for, .pk-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.pk-for li { position: relative; padding-left: 16px; color: var(--slate); }
.pk-for li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.pk-inc li { position: relative; padding-left: 26px; color: #dbe5f0; }
.pk-inc li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 13px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  rotate: -45deg; filter: drop-shadow(0 0 4px rgba(0,242,254,.5)); }
.pk-for + .pk-label { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pk-cta { margin-top: auto; width: 100%; }
.pk-inc + .pk-cta { margin-top: 22px; }
.pk-card .pk-inc { margin-bottom: 4px; }
.pk-care .pk-inc { margin-top: 6px; }
.pk-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pk-chips { margin-top: 22px; }
.pk-not-sure { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(ellipse at 0 0, rgba(0,242,254,.1), transparent 60%), var(--glass); }
.pk-not-sure h3 { font-size: 24px; }
.pk-not-sure p { margin-top: 10px; }
@media (max-width: 1020px) { .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pk-how { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .pk-grid { grid-template-columns: 1fr; gap: 26px; } }
