:root {
  --bg: #f4f1ea;
  --bg-2: #ece7dc;
  --ink: #14213d;            /* Nortend navy */
  --ink-deep: #0d1729;
  --ink-2: #2a3550;
  --muted: #6b6f7c;
  --rule: #d2cdc0;
  --rule-2: #ddd8cb;
  --paper: #fbfaf5;
  --accent: #ea5a1c;          /* Nortend orange */
  --accent-2: #c84a14;
  --accent-ink: #1a0a00;
  --ok: oklch(0.62 0.10 150);
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "IBM Plex Serif", Georgia, serif;
  --maxw: 1280px;
  --gutter: 32px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ============ NAV ============ */
.topbar {
  background: var(--ink-deep);
  color: #cfd3dd;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.topbar .left { display: flex; gap: 24px; align-items: center; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 8px; }
.topbar a { color: #cfd3dd; opacity: 0.85; }
.topbar a:hover { opacity: 1; }

nav.primary {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
nav.primary .wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 92px;
  gap: 40px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: 0.02em;
}
.brand img.logo { height: auto; width: 200px; display: block; }
.nav-links { display: flex; gap: 28px; justify-self: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; transition: all .15s ease;
  border-radius: 0;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn.primary:hover { filter: brightness(0.95); }
.btn.ghost { border-color: var(--rule); color: var(--ink-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn .arrow { font-family: var(--mono); font-size: 14px; }

/* mobile burger */
.nav-toggle { display: none; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--rule); background: transparent;
  cursor: pointer; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span { width: 20px; height: 1.5px; background: var(--ink); display: block; transition: .2s ease; }

/* ============ HERO ============ */
.hero { padding: 80px 0 56px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 32px;
}
.eyebrow .bar { width: 32px; height: 1px; background: var(--ink); }
h1.hero-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  text-wrap: balance;
}
h1.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
}
.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-specs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  padding-top: 24px; gap: 24px;
}
.spec .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec .v { font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--ink); }

/* Right panel: image with floating spec card */
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 520px;
  background: var(--ink);
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.85) contrast(1.05);
}
.hero-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,33,61,0.15) 0%, rgba(20,33,61,0.55) 100%);
}
.hero-overlay {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 20px 22px;
}
.hero-overlay-head {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 12px; margin-bottom: 14px;
}
.hero-overlay-head .id { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-overlay-head .stamp { font-family: var(--mono); font-size: 11px; color: #fff; background: var(--accent); padding: 4px 10px; letter-spacing: 0.06em; }
.hero-overlay h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px;
  align-items: center;
  padding: 8px 0;
  font-size: 13.5px;
}
.checklist .chk {
  width: 18px; height: 18px; border: 1px solid var(--ink); display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px;
}
.checklist .chk.on { background: var(--ink); color: var(--bg); }
.checklist .code { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }

/* ============ MARQUEE / TRUST STRIP ============ */
.strip {
  background: var(--ink); color: #c8ccd8;
  border-top: 1px solid var(--ink-deep); border-bottom: 1px solid var(--ink-deep);
  padding: 22px 0;
  overflow: hidden;
}
.strip .row {
  display: flex; align-items: center; gap: 56px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  flex-wrap: wrap;
  justify-content: center;
}
.strip .row span { opacity: 0.85; }
.strip .row .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ============ METRICS ============ */
section { padding: 96px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head .label {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.section-head h2 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 12px 0 0;
  text-wrap: balance;
  max-width: 22ch;
}
.section-head .intro {
  font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 48ch;
}

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.metric {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.metric:last-child { border-right: 0; }
.metric .n {
  font-family: var(--sans); font-weight: 500;
  font-size: 64px; letter-spacing: -0.03em; line-height: 1;
}
.metric .n sup { font-size: 28px; font-weight: 500; vertical-align: top; margin-left: 2px; color: var(--muted); }
.metric .l { font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 12px; }

/* ============ FIELD (full-bleed photo) ============ */
.field-section { padding: 0; position: relative; }
.field-bleed {
  position: relative;
  height: 560px;
  background-size: cover; background-position: center;
}
.field-bleed::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,23,41,0.85) 0%, rgba(13,23,41,0.55) 45%, rgba(13,23,41,0.15) 100%);
}
.field-content {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center start;
  color: var(--bg);
}
.field-content .inner { max-width: 720px; padding: 0 var(--gutter); }
.field-content .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.field-content .label .bar { width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.field-content h2 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(36px, 4vw, 60px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 20px;
  color: var(--bg); text-wrap: balance;
  max-width: 18ch;
}
.field-content h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.field-content p {
  font-size: 18px; line-height: 1.55; color: #d4d8e0;
  max-width: 50ch; margin: 0 0 32px;
}
.field-stats {
  display: flex; gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 24px;
}
.field-stats .stat .k { font-family: var(--mono); font-size: 10.5px; color: #98a0b4; text-transform: uppercase; letter-spacing: 0.08em; }
.field-stats .stat .v { font-family: var(--sans); font-size: 22px; font-weight: 500; color: var(--bg); margin-top: 4px; letter-spacing: -0.01em; }

/* ============ SERVICES ============ */
.services { background: var(--bg-2); }
.svc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.svc {
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease;
  overflow: hidden;
}
.svc .svc-img {
  height: 220px;
  background-size: cover; background-position: center;
  filter: saturate(0.8) contrast(1.02);
  border-bottom: 1px solid var(--rule);
  transition: transform .4s ease;
}
.svc:hover .svc-img { transform: scale(1.04); }
.svc .svc-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.svc .code { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.svc h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 26px; letter-spacing: -0.01em;
  margin: 10px 0 10px;
}
.svc p {
  font-size: 14.5px; color: var(--ink-2); margin: 0 0 18px;
  line-height: 1.5;
}
.svc .more {
  margin-top: auto;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  letter-spacing: 0.04em;
}

/* ============ PROCESS ============ */
.process .wrap > .grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.step {
  padding: 32px 24px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--mono); font-size: 12px; color: var(--accent-ink);
  background: var(--accent); display: inline-block; padding: 3px 8px;
  margin-bottom: 28px; letter-spacing: 0.06em;
}
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 22px; margin: 0 0 10px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 16px; line-height: 1.5; }
.step .deliver {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-top: 1px dashed var(--rule);
  padding-top: 14px;
}
.step .deliver strong { color: var(--ink); font-weight: 500; display: block; margin-top: 4px; font-size: 12.5px; letter-spacing: 0; text-transform: none; font-family: var(--sans); }

/* ============ DIFFERENTIALS ============ */
.diff {
  background: var(--ink); color: var(--bg);
}
.diff .section-head h2 { color: var(--bg); }
.diff .section-head .label { color: #8c8a82; }
.diff .section-head .intro { color: #c8c4b8; }
.diff .list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #243153;
  border: 1px solid #243153;
}
.diff .item {
  background: var(--ink);
  padding: 28px 24px;
  min-height: 200px;
  display: flex; flex-direction: column;
}
.diff .item .k { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.diff .item h4 { font-size: 22px; font-weight: 600; margin: 14px 0 8px; letter-spacing: -0.01em; color: var(--bg); }
.diff .item p { font-size: 14.5px; color: #b6bdcf; margin: 0; line-height: 1.5; }

/* ============ SOCIAL PROOF ============ */
.proof .quote-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: stretch; }
blockquote.q {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}
blockquote.q::before { content: "\201C"; font-size: 56px; line-height: 0; vertical-align: -0.2em; color: var(--accent); margin-right: 4px; }
blockquote.q footer {
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 28px;
  display: flex; align-items: center; gap: 12px;
}
blockquote.q footer .bar { width: 24px; height: 1px; background: var(--muted); }

.logos {
  border: 1px solid var(--rule); background: var(--paper);
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr;
}
.logos .cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  text-align: center;
  min-height: 96px;
}
.logos .cell img { max-width: 100%; max-height: 56px; object-fit: contain; }
.logos .cell:nth-child(2n) { border-right: 0; }

/* ============ BLOG ============ */
.blog { background: var(--bg-2); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post {
  background: var(--paper); border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: border-color .15s ease;
}
.post:hover { border-color: var(--ink); }
.post .thumb {
  height: 220px;
  background-size: cover; background-position: center;
  filter: saturate(0.85) contrast(1.02);
  border-bottom: 1px solid var(--rule);
}
.post .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post .meta { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.post h4 { font-size: 20px; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; line-height: 1.25; max-width: 26ch; }
.post p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 20px; line-height: 1.5; }
.post .read {
  margin-top: auto;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}

/* ============ FAQ ============ */
.faq .grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(32px, 3.4vw, 48px); margin: 0; letter-spacing: -0.02em; font-weight: 600; line-height: 1.05; }
.faq .label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
details.qa {
  border-top: 1px solid var(--rule);
  padding: 24px 0;
}
details.qa:last-of-type { border-bottom: 1px solid var(--rule); }
details.qa summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: start;
  font-size: 20px; font-weight: 500; letter-spacing: -0.01em;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary .plus { font-family: var(--mono); font-size: 20px; color: var(--ink); justify-self: end; transition: transform .2s ease; }
details.qa[open] summary .plus { transform: rotate(45deg); }
details.qa .a {
  margin-top: 16px;
  font-size: 16px; color: var(--ink-2); line-height: 1.55;
  max-width: 60ch;
}

/* ============ FINAL CTA ============ */
.final {
  background: var(--accent);
  color: var(--accent-ink);
}
.final .wrap { padding: 96px var(--gutter); display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.final h2 {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.final .sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.final .cta-stack { display: flex; flex-direction: column; gap: 16px; }
.final .btn { border-color: var(--accent-ink); color: var(--accent-ink); }
.final .btn:hover { background: var(--accent-ink); color: var(--accent); }
.final .btn.solid { background: var(--accent-ink); color: var(--accent); }
.final .btn.solid:hover { background: #000; }
.final .micro { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.7; }

/* ============ FOOTER ============ */
footer.site {
  background: var(--bg-2); color: var(--ink-2); padding: 72px 0 32px;
  font-size: 14.5px;
  border-top: 1px solid var(--rule);
}
footer.site .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
footer.site .brand { color: var(--ink); margin-bottom: 18px; }
footer.site .pitch { color: var(--ink-2); max-width: 36ch; }
footer.site h5 { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; margin: 0 0 18px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site a { color: var(--ink-2); }
footer.site a:hover { color: var(--ink); }
footer.site .legal {
  display: flex; justify-content: space-between; padding-top: 24px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
  gap: 16px; flex-wrap: wrap;
}

/* WhatsApp floating */
.wpp {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  background: var(--accent); color: #fff;
  height: 52px; padding: 0 20px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 28px rgba(20,33,61,0.25);
  font-weight: 600;
}
.wpp .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95,160,90,.6); }
  70% { box-shadow: 0 0 0 10px rgba(95,160,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,160,90,0); }
}

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-specs { grid-template-columns: repeat(3, 1fr); }
  nav.primary .wrap { grid-template-columns: auto 1fr auto; }
  .nav-links {
    display: none;
    position: absolute; top: 92px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; justify-self: stretch;
    padding: 8px var(--gutter) 16px;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px dashed var(--rule-2); font-size: 16px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .burger { display: inline-flex; }
  .nav-actions .btn.ghost { display: none; }
  .section-head { grid-template-columns: 1fr; }
  .metrics, .svc-grid, .process .wrap > .grid, .diff .list, .posts { grid-template-columns: 1fr 1fr; }
  .final .wrap, .proof .quote-row, .faq .grid { grid-template-columns: 1fr; }
  footer.site .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .metrics, .svc-grid, .process .wrap > .grid, .diff .list, .posts, footer.site .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 32px; }
  h1.hero-title { font-size: 40px; }
  .nav-actions .btn .label-full { display: none; }
}
