/* NiPa Solutions: launch-lite styles. Brand tokens live here only. */
@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --deep: #071a1f;        /* hero and dark sections */
  --deep-2: #0b2a30;
  --petrol: #0e6e6b;      /* brand teal */
  --teal-bright: #2cc4bb; /* glow on dark */
  --orange: #e8590c;      /* calls to action only */
  --orange-hover: #ff6a1a;
  --paper: #f2f6f5;       /* light sections */
  --white: #ffffff;
  --ink: #0c1f24;
  --ink-soft: #3c5258;
  --mist: #a9c4c2;        /* secondary text on dark */
  --rule-dark: rgba(255, 255, 255, 0.16);
  --rule-light: rgba(12, 31, 36, 0.16);
  --display: "Bricolage", ui-sans-serif, "Segoe UI", system-ui, sans-serif;
  --body: ui-sans-serif, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 26, 31, 0.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { height: 76px; width: auto; display: block; }
@media (max-width: 640px) { .brand img { height: 54px; } }
.wordmark { font: 700 1.35rem/1 var(--display); letter-spacing: -0.02em; }
.wordmark span { font-weight: 300; margin-left: .3em; color: var(--mist); }
.nav { display: none; gap: 28px; }
.nav a { color: var(--mist); text-decoration: none; font-size: .98rem; }
.nav a:hover { color: #fff; }
@media (min-width: 900px) { .nav { display: flex; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--deep); color: #fff; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,26,31,.82) 0%, rgba(7,26,31,.5) 45%, rgba(7,26,31,0) 80%);
}
.hero .wrap { padding-block: clamp(72px, 14vw, 168px) clamp(64px, 11vw, 136px); }
.hero-where { color: var(--mist); font-size: 1rem; margin-bottom: 20px; }
.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
}
.hero h1 .line { display: block; }
.hero h1 .line + .line { font-weight: 300; color: #d6ecea; }
.hero-sub { margin-top: 28px; font: 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--display); color: #fff; max-width: 38ch; }
.hero-lede { margin-top: 16px; color: var(--mist); max-width: 52ch; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Trust strip */
.trust { background: var(--deep-2); color: #fff; border-block: 1px solid var(--rule-dark); }
.trust ul { display: flex; flex-wrap: wrap; }
.trust li { flex: 1 1 220px; padding: 20px 20px 20px 0; font-size: .98rem; color: #dcebea; }
.trust li + li { padding-left: 20px; border-left: 1px solid var(--rule-dark); }
@media (max-width: 899px) {
  .trust li { flex-basis: 100%; padding: 14px 0; }
  .trust li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule-dark); }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section.light { background: var(--paper); color: var(--ink); }
.section.dark { background: var(--deep); color: #fff; }
.section h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06;
  font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 18ch;
}
.section .intro { margin-top: 18px; max-width: 56ch; font-size: 1.15rem; color: var(--ink-soft); }
.section.dark .intro { color: var(--mist); }

/* Services: ruled list */
.rows { margin-top: 48px; border-top: 1px solid var(--rule-light); }
.row { display: grid; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--rule-light); }
.row h3 { font: 600 1.45rem/1.2 var(--display); letter-spacing: -0.015em; }
.row p { color: var(--ink-soft); max-width: 60ch; }
.row.feature { border-left: 4px solid var(--petrol); padding-left: 24px; background: linear-gradient(90deg, rgba(14,110,107,.07), transparent 60%); }
.row .more { margin-top: 10px; display: inline-block; font-weight: 600; color: var(--petrol); text-underline-offset: 4px; }
@media (min-width: 800px) { .row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }

/* Architecture */
.arch-grid { margin-top: 48px; display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.arch-item { padding: 26px 0; border-bottom: 1px solid var(--rule-dark); }
.arch-item h3 { font: 600 1.35rem/1.2 var(--display); letter-spacing: -0.01em; }
.arch-item p { margin-top: 8px; color: var(--mist); }
@media (min-width: 800px) {
  .arch-grid { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule-dark); }
  .arch-item { padding: 28px 28px 28px 0; border-bottom: 0; }
  .arch-item + .arch-item { padding-left: 28px; border-left: 1px solid var(--rule-dark); }
}
.arch-note { margin-top: 32px; color: var(--mist); max-width: 62ch; }
.arch-cta { margin-top: 28px; }

/* Why */
.why { display: grid; gap: 40px; }
.why .big { font: 600 clamp(1.6rem, 3.4vw, 2.5rem)/1.15 var(--display); letter-spacing: -0.02em; max-width: 22ch; }
.why ul li { padding: 18px 0; border-top: 1px solid var(--rule-light); }
.why ul li:last-child { border-bottom: 1px solid var(--rule-light); }
.why ul strong { display: block; font: 600 1.2rem/1.3 var(--display); }
.why ul span { color: var(--ink-soft); }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

/* Results */
.cases { margin-top: 48px; display: grid; gap: 0; }
.case { padding: 36px 0; border-top: 1px solid var(--rule-light); display: grid; gap: 24px 56px; }
.case:last-child { border-bottom: 1px solid var(--rule-light); }
.case-head .who { color: var(--petrol); font-weight: 600; font-size: .98rem; }
.case-head h3 { margin-top: 6px; font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -0.02em; }
.case dl { display: grid; gap: 14px; }
.case dt { font-weight: 700; font-size: .95rem; color: var(--ink); }
.case dd { color: var(--ink-soft); max-width: 62ch; }
@media (min-width: 900px) { .case { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* Method */
.steps { margin-top: 56px; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 36px 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.1rem/1 var(--display);
  background: var(--petrol); color: #fff;
}
.step::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--rule-dark); }
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step h3 { font: 600 1.4rem/1.2 var(--display); }
.step p { margin-top: 6px; color: var(--mist); max-width: 40ch; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding: 64px 0 0; }
  .step::after { left: 52px; right: -32px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step:last-child::after { display: none; }
}

/* About */
.about { display: grid; gap: 48px; }
.about p + p { margin-top: 16px; }
.about .copy { color: var(--ink-soft); max-width: 62ch; }
.about .sign { margin-top: 24px; color: var(--ink); font-weight: 600; }
.about .sign span { display: block; font-weight: 400; color: var(--ink-soft); }
.facts h3 { font: 600 1.2rem/1.3 var(--display); }
.facts ul { margin-top: 10px; }
.facts li { padding: 6px 0; color: var(--ink-soft); }
.facts + .facts { margin-top: 28px; }
@media (min-width: 900px) { .about { grid-template-columns: 7fr 5fr; gap: 80px; } }

/* Contact */
.contact { display: grid; gap: 48px; }
.contact h2 { max-width: 14ch; }
.contact .direct { margin-top: 28px; display: grid; gap: 12px; }
.contact .direct a { color: #fff; text-underline-offset: 4px; }
.contact .direct .btn { justify-self: start; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: .98rem; }
input, textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 6px; padding: 12px 14px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.fine { color: var(--mist); font-size: .92rem; }
.fine a { text-underline-offset: 3px; }
@media (min-width: 900px) { .contact { grid-template-columns: 5fr 6fr; gap: 80px; } }

/* Footer */
.site-footer { background: #041216; color: var(--mist); padding-block: 36px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-underline-offset: 3px; }

/* Plain pages (privacy, thanks) */
.page { background: var(--paper); min-height: 70vh; padding-block: clamp(48px, 8vw, 96px); }
.page h1 { font: 700 clamp(2rem, 5vw, 3rem)/1.1 var(--display); letter-spacing: -0.02em; }
.page h2 { margin-top: 36px; font: 600 1.35rem/1.25 var(--display); max-width: none; }
.page p, .page li { margin-top: 12px; max-width: 68ch; color: var(--ink-soft); }
.page ul { margin-top: 8px; padding-left: 20px; list-style: disc; }
.page .btn { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
