/* Northline — clean monochrome agency site */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --fg: #0a0a0a;
  --fg-muted: #6b6b6b;
  --fg-subtle: #a0a09a;
  --border: #e7e6e2;
  --border-strong: #1a1a1a;
  --placeholder-a: #efeeea;
  --placeholder-b: #e6e5e0;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border);
}

.section:first-of-type { border-top: 0; }

/* ---------- Type ---------- */
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }

.eyebrow {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--fg);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--fg);
  text-wrap: balance;
}

.display {
  font-size: clamp(54px, 9.5vw, 156px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.h1 { font-size: clamp(44px, 6.5vw, 96px); letter-spacing: -0.04em; line-height: 0.98; font-weight: 400; }
.h2 { font-size: clamp(34px, 4.5vw, 64px); letter-spacing: -0.035em; line-height: 1.02; font-weight: 400; }
.h3 { font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.025em; line-height: 1.15; font-weight: 500; }
.h4 { font-size: 19px; letter-spacing: -0.015em; font-weight: 500; }

.lead {
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.4;
  color: var(--fg);
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 60ch;
  text-wrap: pretty;
}

.body-muted { color: var(--fg-muted); }
.small { font-size: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 18px;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: var(--fg);
  border-radius: 999px;
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--bg);
  border-radius: 999px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--fg);
  opacity: 0.7;
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; font-weight: 500; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-cta:hover { background: var(--fg); color: var(--bg); }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
}
.btn-ghost:hover { background: var(--fg); color: var(--bg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(60px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(48px, 8vw, 96px);
}
.hero-meta-block { display: flex; flex-direction: column; gap: 8px; }
.hero-meta-label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.hero-meta-value { font-size: 15px; }

@media (max-width: 700px) { .hero-meta { grid-template-columns: 1fr; } }

/* ---------- Placeholder imagery ---------- */
.ph {
  background:
    repeating-linear-gradient(
      135deg,
      var(--placeholder-a) 0 14px,
      var(--placeholder-b) 14px 28px
    );
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.ph::after {
  content: attr(data-caption);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 14px 16px;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.ph-tall { aspect-ratio: 3 / 4; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-feature { aspect-ratio: 4 / 5; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Section heading ---------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.sec-head-meta { display: flex; flex-direction: column; gap: 16px; }
.sec-num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Feature list ---------- */
.feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.feature:last-child { border-bottom: 1px solid var(--border); }
.feature-num { font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--fg-muted); padding-top: 6px; }
.feature-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.feature-title { font-size: clamp(24px, 2.6vw, 36px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; }
.feature-desc { color: var(--fg-muted); max-width: 50ch; }
@media (max-width: 760px) {
  .feature-body { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Steps (Process) ---------- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: 'Geist Mono', monospace;
  font-size: 13px;
  color: var(--fg-muted);
}
.step-title { font-size: clamp(28px, 3vw, 44px); font-weight: 400; letter-spacing: -0.03em; line-height: 1.02; }
.step-desc { color: var(--fg-muted); max-width: 50ch; }
@media (max-width: 880px) {
  .step { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px); }
@media (max-width: 1024px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .people { grid-template-columns: 1fr; } }

.person { display: flex; flex-direction: column; gap: 14px; }
.person-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.person-role { font-size: 14px; color: var(--fg-muted); }
.person-meta { display: flex; justify-content: space-between; align-items: baseline; }
.person-tag { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { display: flex; flex-direction: column; gap: 18px; }
.work-card .ph { aspect-ratio: 4 / 3; }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-title { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.work-tag { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }
.work-desc { color: var(--fg-muted); font-size: 15px; max-width: 50ch; }

/* ---------- Journal ---------- */
.posts { display: flex; flex-direction: column; }
.post {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 120px;
  gap: clamp(20px, 3vw, 40px);
  padding: 28px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
  transition: padding-left 0.2s ease;
}
.post:last-child { border-bottom: 1px solid var(--border); }
.post:hover { padding-left: 8px; }
.post-date { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-muted); }
.post-title { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
.post-cat { font-size: 14px; color: var(--fg-muted); }
.post-read { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-muted); text-align: right; }
@media (max-width: 760px) {
  .post { grid-template-columns: 1fr; gap: 6px; }
  .post-read { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 64px 1fr 2fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.faq:last-child { border-bottom: 1px solid var(--border); }
.faq-num { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-muted); padding-top: 4px; }
.faq-q { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.faq-a { color: var(--fg-muted); max-width: 56ch; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 16px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-subtle); }
.field input:focus, .field textarea:focus { border-color: var(--fg); }
.field textarea { resize: vertical; min-height: 120px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(60px, 8vw, 96px) 0 32px; background: var(--bg); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 56px;
}
@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-col-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 18px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-list a { opacity: 0.85; }
.footer-list a:hover { opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-wordmark {
  font-size: clamp(64px, 14vw, 220px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 32px 0;
  color: var(--fg);
}

/* ---------- CTA ---------- */
.cta {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta .display { max-width: 14ch; margin: 0 auto 40px; text-align: center; }

/* ---------- Marquee / values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.value { background: var(--bg); padding: 32px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.value-num { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-muted); }
.value-title { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.value-desc { color: var(--fg-muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 880px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--fg); }
.stat-num { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 0.95; font-weight: 400; }
.stat-label { font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Clients ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-bottom: 0;
}
.client {
  padding: 32px 16px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  min-height: 100px;
}
.client:nth-child(6n) { border-right: 0; }
@media (max-width: 880px) {
  .clients { grid-template-columns: repeat(3, 1fr); }
  .client { border-right: 1px solid var(--border); }
  .client:nth-child(6n) { border-right: 1px solid var(--border); }
  .client:nth-child(3n) { border-right: 0; }
}
@media (max-width: 480px) {
  .clients { grid-template-columns: 1fr 1fr; }
  .client:nth-child(3n) { border-right: 1px solid var(--border); }
  .client:nth-child(2n) { border-right: 0; }
}

/* ---------- Inline newsletter ---------- */
.newsletter-inline {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--fg);
  max-width: 520px;
  margin-top: 32px;
}
.newsletter-inline input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 0;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}
.newsletter-inline button {
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 8px;
}

/* ---------- Big number block ---------- */
.big-num { font-size: clamp(80px, 14vw, 220px); letter-spacing: -0.05em; line-height: 0.85; font-weight: 400; }

/* ---------- Two-col layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Misc utility ---------- */
.divider { height: 1px; background: var(--border); margin: clamp(60px, 8vw, 96px) 0; }
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 96px; }

.tag {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  padding: 6px 10px;
  border: 1px solid var(--fg);
  border-radius: 999px;
  display: inline-flex;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: clamp(60px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--border);
}
.page-head .eyebrow { margin-bottom: 32px; }
.page-head .lead { margin-top: 32px; }
