/* ============================================================
   Null Process — IT company website
   Design tokens from Figma reference (1440px desktop canvas)
   ============================================================ */
:root {
  --ink: #0f172a;
  --ink-strong: #020617;
  --slate: #64748b;
  --slate-soft: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --bg-soft: #f8fafc;
  --blue: #2563eb;
  --peri: #b1baff;
  --white: #ffffff;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 64px;
  --maxw: 1440px;
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---------- shared ---------- */
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--slate);
}
.eyebrow-inline { display: inline-block; }
.marker { display: inline-block; width: 8px; height: 8px; background: var(--peri); vertical-align: middle; }
.marker-sm { width: 6px; height: 6px; }
.marker-lg { width: 24px; height: 24px; }
.section-title {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-sub {
  font-size: 17.5px;
  font-weight: 500;
  color: var(--slate);
  line-height: 1.5;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink-strong); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-light { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-light:hover { border-color: var(--slate); }
.btn-block { width: 100%; }
.btn-icon { width: 15.75px; height: 15.75px; }
.arrow { font-size: 20px; line-height: 1; }

/* ============ NAVIGATION ============ */
.nav { position: sticky; top: 0; z-index: 50; background: #fff; }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: 100px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 34px; width: auto; display: block; }
.footer-logo { height: 44px; width: auto; display: block; }
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 32px;
  font-size: 14.7px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { height: 54px; width: 186px; font-size: 14.7px; }
.nav-rule { max-width: var(--maxw); margin: 0 auto; height: 1px; background: var(--line); }

/* ============ HERO ============ */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(203,213,225,.36) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(203,213,225,.36) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.05) 0%, #000 20%, #000 80%, rgba(0,0,0,.05) 100%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.05) 0%, #000 20%, #000 80%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  padding-top: 126px;
  max-width: 920px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}
.hero-title .muted { font-weight: 400; color: #1e293b; }
.hero-title strong { font-weight: 800; color: var(--ink-strong); }
.hero-sub {
  margin: 18px auto 0;
  max-width: 576px;
  font-size: 15.75px;
  color: var(--slate);
}
.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-actions .btn-dark { width: 240px; }
.hero-actions .btn-light { width: 184px; }

/* accent clusters */
.hero-accent { position: absolute; display: flex; flex-direction: column; gap: 0; }
.hero-accent-left { left: 108px; top: 63px; }
.hero-accent-right { right: 108px; top: 27px; align-items: flex-end; }
.block-periwinkle { width: 126px; height: 126px; background: var(--blue); opacity: .9; border-radius: 2.25px; }
.block-hatch {
  width: 126px; height: 126px;
  background: repeating-linear-gradient(45deg, rgba(203,213,225,.6) 0 2px, transparent 2px 12px);
  border-bottom: 1.125px solid rgba(203,213,225,.4);
  border-right: 1.125px solid rgba(203,213,225,.4);
}
.block-hatched {
  width: 126px; height: 126px;
  background: repeating-linear-gradient(45deg, rgba(226,232,240,.8) 0 2px, transparent 2px 12px);
  border-bottom: 1.125px solid rgba(203,213,225,.5);
  border-left: 1.125px solid rgba(203,213,225,.5);
}
.block-dark { width: 126px; height: 126px; background: #030712; opacity: .95; border-radius: 2.25px; }
.hero-tiles {
  position: absolute; left: 216px; right: 216px; top: 54px;
  display: flex; justify-content: center; gap: 18px; opacity: .4; pointer-events: none;
}
.hero-tiles span { height: 54px; border-radius: 2.25px; }
.hero-tiles span:nth-child(1) { width: 72px; background: rgba(226,232,240,.5); }
.hero-tiles span:nth-child(2) { width: 90px; background: rgba(203,213,225,.4); }
.hero-tiles span:nth-child(3) { width: 72px; background: rgba(226,232,240,.5); }

/* hero services card */
.hero-services {
  position: relative;
  margin: 64px auto 0;
  max-width: 972px;
  background: #fff;
  border: 1.125px solid var(--line);
  border-radius: 6.75px;
  padding: 64.125px 28.125px 19.125px;
}
.hero-services-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 19.125px;
  border-bottom: 1.125px solid var(--line-soft);
}
.hero-services-head .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--ink); }
.hero-services-head h2 {
  font-size: 13.5px; font-weight: 700; letter-spacing: .675px; color: #1e293b;
}
.hero-services-tag { font-size: 12.375px; font-weight: 500; color: var(--slate); }
.hero-services-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13.5px;
}
.hero-services-grid li {
  display: flex; gap: 13.5px; align-items: flex-start;
  background: rgba(255,255,255,.9);
  border: 1.125px solid var(--line-soft);
  border-radius: 2.25px;
  padding: 12.375px;
}
.svc-icon {
  flex: 0 0 31.5px; height: 33.75px;
  display: flex; align-items: center; justify-content: center;
}
.svc-icon img { width: 15.75px; height: 15.75px; }
.hero-services-grid h3 { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hero-services-grid p { font-size: 12.375px; color: var(--slate); }

/* ============ CAPABILITIES STRIP ============ */
.strip { background: var(--bg-soft); overflow: hidden; }
.strip-track {
  display: flex; width: max-content; white-space: nowrap;
  padding: 34px 0; font-size: 18px; font-weight: 500; letter-spacing: .18px; color: var(--ink);
  animation: marquee 30s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ ABOUT ============ */
.about { max-width: var(--maxw); margin: 0 auto; padding: 108px var(--gutter) 84px; position: relative; }
.about .eyebrow { position: absolute; top: 84px; left: var(--gutter); }
.about-grid { display: grid; grid-template-columns: 600px 1fr; gap: 48px; margin-top: 56px; }
.about-title { font-size: 52px; font-weight: 600; letter-spacing: -1.56px; line-height: 1.25; }
.about-right h3 { font-size: 27.6px; font-weight: 600; letter-spacing: -0.828px; line-height: 1.25; margin-top: 0; }
.about-right p { margin-top: 18px; font-size: 17.5px; color: var(--slate); max-width: 550px; }
.about-divider { height: 1px; background: var(--line); margin: 56px 0 29px; }
.about-pillars { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; font-weight: 500; }

/* ============ BELIEF / TEAM ============ */
.belief { max-width: var(--maxw); margin: 0 auto; padding: 94px var(--gutter) 0; position: relative; overflow: hidden; background: #fff; }
.belief .marker { margin-right: 22px; }
.belief .eyebrow-inline { margin-bottom: 36px; }
.belief-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.belief-title { font-size: 58px; font-weight: 600; letter-spacing: -1.74px; line-height: 1.25; }
.belief-photo { height: 488px; overflow: hidden; }
.belief-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.hatch-divider { width: 100%; height: 32px; margin-top: 60px; }

/* ============ SERVICES ============ */
.services { max-width: var(--maxw); margin: 0 auto; padding: 67px var(--gutter) 84px; position: relative; }
.services .marker { margin-right: 20px; }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-top: 34px; }
.services-rule { height: 1px; background: var(--line); margin: 34px 0 40px; }
.scroller-wrap { position: relative; }
.scroller {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 24px; scrollbar-width: none;
}
.scroller::-webkit-scrollbar { display: none; }
.scroller:focus { outline: 2px solid var(--blue); outline-offset: 4px; }
.svc-card {
  flex: 0 0 552px; scroll-snap-align: start;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 16px 28px; overflow: hidden;
}
.svc-preview {
  height: 244px; border-radius: 4px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
  background-image:
    repeating-linear-gradient(90deg, rgba(203,213,225,.5) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(203,213,225,.5) 0 1px, transparent 1px 28px);
  overflow: hidden;
}
.preview-tag {
  position: absolute; top: 10px; left: 12px; font-size: 10px; font-weight: 600;
  letter-spacing: .08em; color: var(--slate);
}
.svc-index { margin-top: 24px; font-size: 14px; font-weight: 500; color: var(--slate); }
.svc-card h3 { font-size: 27px; font-weight: 600; letter-spacing: -0.9px; line-height: 1.25; margin-top: 10px; }
.svc-desc { margin-top: 18px; font-size: 17px; color: var(--slate); min-height: 52px; }
.svc-divider { height: 1px; background: var(--line); margin: 22px 0 20px; }
.svc-caps { font-size: 11px; font-weight: 500; color: var(--slate); letter-spacing: .04em; }
.scroller-nav { display: flex; gap: 16px; margin-top: 8px; }
.scroll-btn {
  width: 48px; height: 48px; border-radius: 4px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); font-size: 23px;
}
.scroll-btn-dark { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); }

/* services previews */
.preview-phone {
  width: 99px; height: 198px; background: #fff; border: 2px solid var(--ink); border-radius: 18px;
  position: relative; padding: 10px; text-align: center;
}
.pv-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 32px; height: 4px; border-radius: 999px; background: var(--ink); }
.pv-hi { font-size: 8px; text-align: left; margin-top: 10px; color: var(--slate); }
.pv-panel { background: var(--blue); color: #fff; border-radius: 6px; font-size: 8px; line-height: 1.3; padding: 6px 4px; margin-top: 6px; }
.pv-row { display: block; height: 5px; background: var(--line-soft); border-radius: 999px; margin: 4px 6px 0; }
.pv-home { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 33px; height: 3px; border-radius: 999px; background: var(--ink); }
.preview-browser { width: 176px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; }
.pb-chrome { display: flex; align-items: center; gap: 3px; background: #e2e8f0; padding: 4px 6px; font-size: 7px; color: var(--slate); }
.pb-chrome i { width: 4px; height: 4px; border-radius: 999px; background: var(--slate-soft); }
.pb-chrome em { font-style: normal; margin-left: 2px; white-space: nowrap; }
.pb-body { padding: 8px; position: relative; min-height: 96px; }
.pb-body b { font-size: 12px; line-height: 1.25; }
.pb-cta { display: inline-block; background: var(--blue); color: #fff; font-size: 7px; padding: 3px 8px; border-radius: 4px; margin-top: 6px; }
.pb-tile { position: absolute; top: 12px; right: 8px; width: 20px; height: 22px; background: var(--blue); opacity:.85; }
.pb-accent { position: absolute; bottom: 8px; right: 8px; width: 14px; height: 14px; background: #84cc16; }
.preview-flow { display: flex; flex-direction: column; gap: 8px; }
.pf-node { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px; font-size: 8px; color: var(--slate); }
.pf-node.done { background: var(--ink); color: #fff; border-color: var(--ink); }
.preview-dash { width: 150px; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 8px; }
.pd-brand { font-size: 10px; font-weight: 700; color: var(--blue); }
.pd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; margin: 6px 0; }
.pd-grid i { height: 18px; border-radius: 3px; background: var(--bg-soft); border: 1px solid var(--line); }
.preview-dash b { font-size: 8px; color: var(--slate); }
.preview-host, .preview-term, .preview-sec { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 14px; }
.ph-row, .ps-row { display: flex; align-items: center; gap: 6px; font-size: 8px; color: var(--ink); }
.ph-row i, .ps-row i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.preview-term { background: #0f172a; color: #e2e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; gap: 4px; }
.preview-term p { color: #7dd3fc; margin: 0 0 4px; }
.preview-term span { color: #86efac; }
.preview-mail b { font-size: 9px; margin-bottom: 6px; }
.pm-card { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 5px 8px; margin-bottom: 4px; }
.pm-card i { width: 6px; height: 6px; border-radius: 999px; background: var(--blue); }
.pm-card em { font-style: normal; font-size: 8px; color: var(--slate); }
.preview-migrate { display: flex; align-items: center; gap: 10px; }
.pm-side { display: flex; flex-direction: column; align-items: center; }
.pm-side b { font-size: 7px; color: var(--slate); }
.pm-side i { width: 26px; height: 18px; border: 1px solid var(--line); border-radius: 3px; margin-top: 3px; }
.pm-arrow { font-size: 12px; color: var(--blue); }
.preview-migrate em { font-style: normal; font-size: 8px; color: var(--slate); max-width: 60px; }
.preview-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 170px; }
.pc-node { background: #fff; border: 1px solid var(--line); border-radius: 4px; font-size: 8px; text-align: center; padding: 6px 0; color: var(--slate); }
.pc-node.live { background: var(--blue); border-color: var(--blue); color: #fff; }
.preview-cloud em { grid-column: span 3; text-align: center; font-style: normal; font-size: 7px; color: var(--slate); letter-spacing: .08em; margin-top: 2px; }

/* ============ PROJECT SHOWCASE ============ */
.showcase { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter) 56px; position: relative; }
.showcase .marker { margin-right: 20px; }
.showcase-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-top: 34px; }
.showcase-nav { display: flex; gap: 16px; position: absolute; top: 118px; right: var(--gutter); }
.showcase-scroller {
  margin-top: 26px;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  border-radius: var(--radius); scrollbar-width: none;
}
.showcase-scroller::-webkit-scrollbar { display: none; }
.showcase-scroller:focus { outline: 2px solid var(--blue); outline-offset: 4px; }
.showcase-panel {
  flex: none; scroll-snap-align: start; position: relative; height: 638px; background: #fff; overflow: hidden;
}
.showcase-panel:first-child { width: 1312px; }
.showcase-panel:last-child { width: 1312px; }
.showcase-img { position: absolute; inset: 0; }
.showcase-img img { width: 100%; height: 100%; object-fit: cover; }
.showcase-panel:not(.showcase-panel-detail) .showcase-info {
  position: absolute; left: 0; bottom: 0; width: 566px;
  background: var(--ink-strong); color: #fff; padding: 25px 28px 28px;
}
.showcase-panel:not(.showcase-panel-detail) .showcase-info h3 {
  font-size: 33.1px; font-weight: 600; letter-spacing: -0.993px; line-height: 1.1;
}
.showcase-metrics { display: flex; align-items: stretch; gap: 16px; margin-top: 34px; }
.showcase-metrics > div:not(.metric-sep) { display: flex; flex-direction: column; }
.showcase-metrics strong { font-size: 24.8px; font-weight: 600; letter-spacing: -0.744px; }
.showcase-metrics span { font-size: 13px; font-weight: 500; color: #cbd5e1; margin-top: 2px; }
.metric-sep { width: 1px; background: #5b6063; }
.showcase-panel-detail { display: flex; }
.showcase-panel-detail .showcase-img { position: static; flex: 0 0 920px; height: 100%; }
.showcase-panel-detail .showcase-img img { object-fit: cover; object-position: left center; }
.showcase-info-light { flex: 1; background: #fff; padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.showcase-info-light h3 { font-size: 35.9px; font-weight: 600; letter-spacing: -1.077px; line-height: 1.15; margin-top: 14px; }
.showcase-info-light p:not(.eyebrow) { margin-top: 16px; font-size: 16.6px; color: var(--slate); }
.showcase-divider { height: 1px; background: var(--line); width: 100%; margin: 26px 0 18px; }
.showcase-caps { font-size: 10px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.showcase-info-light .btn { margin-top: auto; width: 100%; justify-content: space-between; height: 54px; }
.showcase-foot { display: flex; justify-content: space-between; gap: 24px; margin-top: 12px; font-size: 15px; color: var(--slate); }

/* ============ STACK / FOUNDATIONS ============ */
.stack { max-width: var(--maxw); margin: 0 auto; padding: 84px var(--gutter) 84px; position: relative; }
.stack .marker { margin-right: 22px; }
.stack-grid { display: grid; grid-template-columns: 620px 1fr; gap: 48px; margin-top: 56px; align-items: start; }
.stack-left .section-title { letter-spacing: -1.68px; }
.stack-desc { margin-top: 22px; font-size: 17.5px; color: var(--slate); max-width: 545px; }
.stack-right { position: relative; padding-top: 20px; }
.stack-label { font-size: 12px; font-weight: 500; color: var(--slate); margin: 0 0 12px 52px; }
.stack-layers { display: flex; flex-direction: column; gap: 16px; counter-reset: layer; }
.stack-layers li {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; height: 108px;
}
.stack-layers li:nth-child(1) { margin-left: 52px; }
.stack-layers li:nth-child(2) { margin-left: 26px; }
.layer-idx {
  flex: 0 0 64px; height: 76px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24.8px; font-weight: 600; letter-spacing: -0.744px;
}
.layer-idx-light { background: var(--line); color: var(--ink); }
.layer-idx-blue { background: var(--blue); color: #fff; }
.layer-idx-outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.stack-layers h3 { font-size: 24.8px; font-weight: 600; letter-spacing: -0.744px; }
.stack-layers p { font-size: 15.6px; color: var(--slate); margin-top: 2px; }
.layer-diagram { margin-left: auto; position: relative; width: 42px; height: 50px; flex: 0 0 42px; }
.layer-diagram i { position: absolute; border-radius: 2px; }
.layer-diagram-product i:nth-child(1) { background: var(--ink); width: 36px; height: 24px; top: 0; left: 0; }
.layer-diagram-product i:nth-child(2) { background: var(--ink); width: 28px; height: 16px; top: 30px; left: 8px; }
.layer-diagram-delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; height: 50px; }
.layer-diagram-delivery i { position: static; height: 19px; }
.layer-diagram-delivery i:nth-child(1) { background: #a8b3bd; }
.layer-diagram-delivery i:nth-child(2) { background: #a8b3bd; }
.layer-diagram-delivery i:nth-child(3) { background: var(--blue); }
.layer-diagram-delivery i:nth-child(4) { background: #a8b3bd; }
.layer-diagram-foundation { display: flex; flex-direction: column; gap: 5px; height: 50px; }
.layer-diagram-foundation i { position: static; height: 11px; width: 39px; background: var(--ink); border-radius: 2px; }
.stack-rule { height: 1px; background: var(--ink); margin: 40px 0 25px; }
.stack-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stack-benefits li {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 66px; padding: 0 19px;
}
.stack-benefits span { font-size: 13px; font-weight: 500; color: var(--slate); }
.stack-benefits li::before { content: ""; width: 1px; height: 25px; background: #34424b; order: 2; }
.stack-benefits em { order: 3; font-style: normal; font-size: 16.6px; font-weight: 500; color: var(--slate); }
.stack-benefits span { order: 1; }

/* ============ PROCESS ============ */
.process { max-width: var(--maxw); margin: 0 auto; padding: 80px var(--gutter) 96px; background: #fff; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-top: 46px; }
.process-head .section-title { letter-spacing: -1.56px; }
.process-head .section-sub { text-align: left; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.process-steps li { position: relative; padding-top: 60px; }
.step-line { position: absolute; top: 24px; left: 0; width: calc(100% - 24px); height: 1px; background: var(--line); }
.step-num {
  position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--ink);
  font-size: 14px; font-weight: 500;
}
.step-num-active { background: var(--blue); color: #fff; }
.process-steps h3 { font-size: 23.9px; font-weight: 600; letter-spacing: -0.717px; }
.process-steps p { margin-top: 14px; font-size: 17.5px; color: var(--slate); max-width: 286px; }

/* ============ FAQ ============ */
.faq { background: var(--bg-soft); padding: 64px 0 72px; }
.faq-label {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border-radius: var(--radius);
  padding: 8px 16px; margin: 0 0 0 calc((100vw - min(100vw, 1440px)) / 2 + var(--gutter));
  font-size: 11px; font-weight: 500; color: var(--slate);
}
.faq-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: 24px var(--gutter) 0;
  display: grid; grid-template-columns: 424px 1fr; gap: 64px;
}
.faq-left .section-title { margin-top: 32px; letter-spacing: -1.74px; }
.faq-sub { margin-top: 24px; font-size: 19.3px; color: var(--slate); max-width: 386px; }
.faq-motif { position: relative; width: 228px; height: 140px; margin-top: 30px; }
.faq-motif-blue {
  position: absolute; left: 0; top: 0; width: 140px; height: 140px;
  background: var(--blue); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.faq-motif-blue img { width: 64px; height: 64px; }
.faq-motif-pixels { position: absolute; left: 164px; top: 78px; width: 64px; height: 64px; }
.faq-motif-pixels i { position: absolute; width: 32px; height: 32px; background: var(--ink); }
.faq-motif-pixels i:first-child { left: 0; top: 32px; }
.faq-motif-pixels i:last-child { left: 32px; top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 17px; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 44px; height: 44px; border-radius: 4px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; }
.faq-icon img { width: 22px; height: 22px; }
.faq-item[open] .faq-icon { background: var(--blue); }
.faq-item h3 { font-size: 19.3px; font-weight: 600; flex: 1; }
.faq-toggle {
  flex: 0 0 34px; height: 34px; border-radius: 4px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.faq-toggle img { width: 20px; height: 20px; }
.faq-item:not([open]) .faq-toggle img { display: none; }
.faq-item:not([open]) .faq-toggle::after {
  content: "+"; font-size: 20px; font-weight: 500; color: var(--ink);
}
.faq-item[open] .faq-toggle { background: var(--peri); }
.faq-item > p { padding: 0 17px 22px 79px; font-size: 15.6px; color: var(--slate); }

/* ============ CONTACT ============ */
.contact { max-width: var(--maxw); margin: 0 auto; padding: 76px var(--gutter) 84px; position: relative; }
.contact-grid { display: grid; grid-template-columns: 1fr 590px; gap: 48px; margin-top: 55px; align-items: start; }
.contact-left .section-title { font-size: 60px; letter-spacing: -1.8px; }
.contact-sub { margin-top: 24px; font-size: 19.3px; color: var(--slate); }
.contact-motif { position: relative; width: 208px; height: 96px; margin-top: 44px; }
.contact-motif i { position: absolute; width: 48px; height: 48px; }
.contact-motif i:nth-child(1) { left: 0; top: 48px; background: #000; }
.contact-motif i:nth-child(2) { left: 48px; top: 0; background: #000; }
.contact-motif i:nth-child(3) { left: 48px; top: 48px; background: var(--blue); }
.contact-motif i:nth-child(4) { left: 96px; top: 48px; background: #000; }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 25px 29px 29px;
}
.contact-form h3 { font-size: 25.8px; font-weight: 600; letter-spacing: -0.774px; margin-bottom: 24px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block; width: 100%; margin-top: 6px;
  height: 52px; padding: 0 14px;
  background: var(--bg-soft); border: 1px solid transparent; border-radius: var(--radius);
  font: inherit; font-size: 14.7px; color: var(--ink);
}
.contact-form textarea { height: 92px; padding: 15px 14px; resize: vertical; }
.contact-form ::placeholder { color: var(--slate); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; color: var(--slate); cursor: pointer; }
.select-wrap::after { content: "⌄"; position: absolute; right: 14px; top: 50%; transform: translateY(-58%); font-size: 18.4px; pointer-events: none; }
.contact-form .btn-block { justify-content: space-between; margin-top: 8px; }
.form-note { min-height: 20px; margin-top: 12px; font-size: 14px; font-weight: 500; color: #15803d; }
.form-note.error { color: #b91c1c; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-soft); padding: 56px 0 0; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px;
}
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 480px; }
.footer-brand p { width: 100%; margin-top: 6px; font-size: 16.6px; color: var(--slate); }
.footer-brand > p { flex-basis: 100%; }
.footer-links { display: flex; gap: 28px; font-size: 15.6px; font-weight: 500; color: var(--slate); padding-top: 8px; }
.footer-links a:hover { color: var(--ink); }
.footer-rule { max-width: var(--maxw); margin: 26px auto 0; height: 1px; background: var(--ink); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 46px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--slate);
}
.footer-tag { font-size: 11px; letter-spacing: .04em; }

/* ============ FOCUS / MOTION ============ */
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .hero-accent, .hero-tiles { display: none; }
  .svc-card { flex-basis: 480px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-right { max-width: 640px; }
  .showcase-panel-detail .showcase-img { flex-basis: 55%; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { max-width: 640px; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav-links { display: none; }
  .hero-content { padding-top: 64px; }
  .hero-services { padding: 32px 20px 16px; }
  .hero-services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .about-title { font-size: 40px; }
  .belief-grid { grid-template-columns: 1fr; }
  .belief-title { font-size: 40px; }
  .belief-photo { height: 340px; }
  .services-head, .showcase-head, .process-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .showcase-nav { position: static; justify-content: flex-end; margin-top: 14px; }
  .hero-services-head { flex-wrap: wrap; }
  .scroller-nav { margin-top: 8px; }
  .svc-card { flex-basis: 86vw; }
  .showcase-panel { height: auto; }
  .showcase-panel:not(.showcase-panel-detail) .showcase-info { position: static; width: 100%; }
  .showcase-panel-detail { flex-direction: column; }
  .showcase-panel-detail .showcase-img { flex: none; height: 320px; position: relative; }
  .showcase-info-light { padding: 28px 20px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-label { margin-left: var(--gutter); }
  .faq-item > p { padding-left: 17px; }
  .stack-layers li { margin-left: 0 !important; }
  .stack-benefits { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 560px) {
  .hero-services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -0.02em; }
  .section-title { font-size: 32px; }
  .contact-left .section-title { font-size: 38px; }
  .about-title, .belief-title { font-size: 34px; }
  .showcase-metrics { flex-wrap: wrap; }
  .metric-sep { display: none; }
  .showcase-metrics > div:not(.metric-sep) { flex-basis: 45%; }
}

/* ============ SUB-PAGE HERO ============ */
.pagehero { position: relative; overflow: hidden; max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter) 76px; }
.pagehero .hero-grid { position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(203,213,225,.4) 0 1px, transparent 1px 48px); mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 75%); pointer-events: none; }
.pagehero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; max-width: 900px; margin: 0 auto; }
.pagehero .crumb { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--slate); }
.pagehero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.pagehero .lead { font-size: 19.3px; color: var(--slate); max-width: 576px; }
.pagehero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.pagehero-meta { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--slate); flex-wrap: wrap; justify-content: center; }

/* ============ SERVICES CATALOG ============ */
.catalog { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--gutter) 76px; }
.catalog-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: end; margin-top: 34px; }
.chips { display: flex; gap: 10px; margin-top: 28px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; color: var(--slate); }
.chip.active { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.svc-grid .svc-card { flex: none; width: auto; padding: 14px 14px 20px; }
.svc-grid .svc-preview { height: 160px; }
.svc-grid .svc-card h3 { font-size: 19px; min-height: 48px; }
.svc-grid .svc-desc { font-size: 13.5px; min-height: 60px; }
.svc-grid .svc-index { margin-top: 14px; }
.svc-card[hidden] { display: none; }
.cta-band { background: var(--ink-strong); color: #fff; border-radius: var(--radius); padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 48px; margin-top: 48px; }
.cta-band .eyebrow { color: #b1baff; }
.cta-band h2 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 10px; }
.cta-band p { color: #b6bcc9; margin-top: 12px; max-width: 440px; }
.cta-band .btn { flex: 0 0 auto; }

/* ============ ABOUT PAGE ============ */
.story { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 28px; }
.story-title { font-size: clamp(32px, 4vw, 50px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.story-lead { margin-top: 20px; font-size: 18px; color: var(--slate); }
.picture-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.picture-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; }
.picture-band p { margin-top: 12px; font-size: 17px; color: var(--slate); max-width: 640px; }
.principles { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter); }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.principle { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.principle span { font-size: 13px; color: var(--slate); font-weight: 500; }
.principle h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; margin-top: 12px; }
.principle p { color: var(--slate); margin-top: 12px; font-size: 15px; }
.principle a { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--blue); }
.expertise { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 72px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.expertise-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.expertise-col .eyebrow { font-size: 12px; }
.expertise-col h3 { font-size: 22px; margin-top: 10px; font-weight: 600; letter-spacing: -0.015em; }
.expertise-col ul { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.expertise-col li { font-size: 15px; color: var(--slate); display: flex; gap: 10px; }
.expertise-col li::before { content: "—"; color: var(--peri); }

/* ============ PROCESS PAGE ============ */
.stage-overview { max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter) 0; }
.stages { max-width: var(--maxw); margin: 0 auto; padding: 24px var(--gutter) 72px; display: flex; flex-direction: column; gap: 24px; }
.stage { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.stage-head { display: flex; align-items: baseline; gap: 20px; }
.stage-num { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: .04em; }
.stage-head h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.stage-head p { color: var(--slate); margin-top: 6px; }
.stage-cols { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 24px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.stage-cols h4 { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--slate); margin-bottom: 12px; }
.stage-cols ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink); }
.stage-cols li { display: flex; gap: 10px; }
.stage-cols li::before { content: "—"; color: var(--peri); }
.stage-cols ul.plain li::before { display: none; }
.stage-cols ul.plain li { font-weight: 500; }
.collab { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 72px; }
.collab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.collab-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.collab-card h3 { font-size: 20px; font-weight: 600; }
.collab-card p { color: var(--slate); margin-top: 10px; font-size: 15px; }
.handoff { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 72px; }
.handoff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.handoff-item { border-top: 2px solid var(--ink-strong); padding-top: 16px; }
.handoff-item span { font-size: 13px; font-weight: 600; color: var(--slate); }
.handoff-item h3 { font-size: 17px; font-weight: 600; margin-top: 8px; line-height: 1.35; }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid, .story-grid, .principles-grid, .expertise-grid, .collab-grid { grid-template-columns: 1fr; }
  .stage-cols { grid-template-columns: 1fr; }
  .handoff-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .handoff-grid { grid-template-columns: 1fr; }
}

/* ============ MOTION ============ */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.hero-title, .hero-sub, .hero-actions { animation: heroUp .75s cubic-bezier(.22,1,.36,1) both; }
.hero-sub { animation-delay: .12s; }
.hero-actions { animation-delay: .24s; }
.hero-services { animation: heroUp .8s .38s cubic-bezier(.22,1,.36,1) both; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-title, .hero-sub, .hero-actions, .hero-services { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============ POLISH ANIMATIONS ============ */
/* hero accent blocks drift */
@keyframes driftA { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes driftB { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(10px) rotate(-2deg); } }
.block-periwinkle { animation: driftA 7s ease-in-out infinite; }
.block-hatch { animation: driftB 9s ease-in-out infinite; }
.block-hatched { animation: driftB 8s ease-in-out infinite; }
.block-dark { animation: driftA 6s ease-in-out 1s infinite; }

/* card hover lift (restates reveal transition + adds translate/box-shadow so both work) */
.svc-card, .showcase-panel, .stack-layers li {
  transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.22,1,.36,1) var(--d, 0ms),
              translate .25s ease, box-shadow .25s ease;
}
.svc-card:hover, .showcase-panel:hover, .stack-layers li:hover { translate: 0 -4px; box-shadow: 0 18px 44px rgba(2,6,23,.10); }

/* arrow nudge on buttons */
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.scroll-btn { transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.scroll-btn:hover { transform: scale(1.1); }

/* ken burns on photos */
.belief-photo img, .showcase-img img { transition: transform .8s ease; }
.belief-photo:hover img, .showcase-panel:hover .showcase-img img { transform: scale(1.05); }

/* hatch divider wipe-in (reveal variant) */
.reveal.hatch-divider { transform: scaleX(0); transform-origin: 50% 50%; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.hatch-divider.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .strip-track, .block-periwinkle, .block-hatch, .block-hatched, .block-dark { animation: none !important; }
  .svc-card, .showcase-panel, .stack-layers li, .btn .arrow, .scroll-btn, .belief-photo img, .showcase-img img { transition: none !important; }
}
