:root {
  --wf-bg: #06121f;
  --wf-bg-2: #0a1a2e;
  --wf-deep: #0d2540;
  --wf-mid: #1e5eb8;
  --wf-accent: #4a9eff;
  --wf-fg: #e6f1ff;
  --wf-fg-dim: rgba(230, 241, 255, 0.62);
  --wf-fg-faint: rgba(230, 241, 255, 0.12);
  --wf-line: rgba(230, 241, 255, 0.08);
  --wf-type-scale: 1;
  --wf-display: 'Inter Tight', 'Helvetica Neue', sans-serif;
  --wf-body: 'Inter', 'Helvetica Neue', sans-serif;
  --wf-mono: 'JetBrains Mono', ui-monospace, monospace;
}

[data-theme="light"] {
  --wf-bg: #fafcff;
  --wf-bg-2: #eef3fb;
  --wf-deep: #d9e4f4;
  --wf-mid: #1e5eb8;
  --wf-accent: #1e5eb8;
  --wf-fg: #06121f;
  --wf-fg-dim: rgba(6, 18, 31, 0.62);
  --wf-fg-faint: rgba(6, 18, 31, 0.12);
  --wf-line: rgba(6, 18, 31, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--wf-bg);
  color: var(--wf-fg);
  font-family: var(--wf-body);
  font-size: calc(16px * var(--wf-type-scale));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

.wf-app {
  position: relative;
  min-height: 100vh;
  background: var(--wf-bg);
}

.wf-bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.wf-bg-fixed::after {
  /* Vignette to anchor content */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, var(--wf-bg) 85%),
    linear-gradient(180deg, transparent 0%, var(--wf-bg) 100%);
  opacity: 0.55;
}

.wf-content {
  position: relative;
  z-index: 1;
}

/* ── NAV ─────────────────────────────────── */
.wf-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in oklab, var(--wf-bg) 70%, transparent);
  border-bottom: 1px solid var(--wf-line);
}
.wf-wordmark { display: flex; align-items: center; }
.wf-wordmark svg { display: block; }
.wf-wordmark-lg svg { height: 52px; width: auto; }
.wf-wordmark-sm svg { height: 38px; width: auto; }
.wf-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.wf-nav-links a { color: var(--wf-fg-dim); transition: color 160ms; }
.wf-nav-links a:hover { color: var(--wf-fg); }
.wf-nav-cta {
  color: var(--wf-fg) !important;
  border: 1px solid var(--wf-line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: border-color 160ms, background 160ms;
}
.wf-nav-cta:hover { border-color: var(--wf-accent); background: color-mix(in oklab, var(--wf-accent) 10%, transparent); }

@media (max-width: 720px) {
  .wf-nav { padding: 16px 20px; }
  .wf-nav-links { gap: 18px; font-size: 13px; }
  .wf-nav-links a:not(.wf-nav-cta) { display: none; }
}

/* ── HERO ─────────────────────────────────── */
.wf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 120px;
  max-width: 1280px;
  margin: 0 auto;
}
.wf-hero-inner { max-width: 920px; }

.wf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wf-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
  padding: 7px 14px;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
  background: color-mix(in oklab, var(--wf-bg) 50%, transparent);
}
.wf-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wf-accent);
  box-shadow: 0 0 8px var(--wf-accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.wf-eyebrow-sep { opacity: 0.4; }

.wf-h1 {
  font-family: var(--wf-display);
  font-weight: 600;
  font-size: clamp(44px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 28px 0 28px;
  text-wrap: balance;
}
.wf-h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--wf-accent);
}

.wf-lede {
  max-width: 620px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--wf-fg-dim);
  margin: 0 0 40px;
  text-wrap: pretty;
}

.wf-hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 72px;
}
.wf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--wf-line);
  cursor: pointer;
  transition: transform 160ms, background 160ms, border-color 160ms, box-shadow 160ms;
  background: transparent;
  color: var(--wf-fg);
}
.wf-btn:hover { transform: translateY(-1px); }
.wf-btn-primary {
  background: var(--wf-accent);
  border-color: var(--wf-accent);
  color: #fff;
  box-shadow: 0 8px 28px -10px color-mix(in oklab, var(--wf-accent) 80%, transparent);
}
.wf-btn-primary:hover { background: color-mix(in oklab, var(--wf-accent) 88%, white); }
.wf-btn-ghost:hover { border-color: var(--wf-accent); }
.wf-btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

.wf-hero-meta {
  display: flex;
  gap: 56px;
  border-top: 1px solid var(--wf-line);
  padding-top: 28px;
  flex-wrap: wrap;
}
.wf-hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.wf-meta-num {
  font-family: var(--wf-display);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--wf-fg);
}
.wf-meta-label {
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
}

.wf-hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 48px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
}
.wf-hero-scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--wf-fg-faint), var(--wf-accent));
  position: relative;
  overflow: hidden;
}
.wf-hero-scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--wf-accent), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 720px) {
  .wf-hero { padding: 40px 20px 80px; min-height: auto; }
  .wf-hero-meta { gap: 28px; }
  .wf-meta-num { font-size: 28px; }
  .wf-hero-scroll { display: none; }
}

/* ── SECTIONS ─────────────────────────────── */
.wf-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 48px;
}
.wf-section-head { margin-bottom: 64px; max-width: 820px; }

.wf-eyebrow-mono {
  font-family: var(--wf-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--wf-accent);
  display: block;
  margin-bottom: 20px;
}
.wf-h2 {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.wf-section-sub {
  font-size: 18px;
  color: var(--wf-fg-dim);
  margin: 0;
  max-width: 580px;
}

@media (max-width: 720px) {
  .wf-section { padding: 80px 20px; }
  .wf-section-head { margin-bottom: 40px; }
}

/* ── SERVICES ─────────────────────────────── */
.wf-services-list { border-top: 1px solid var(--wf-line); }
.wf-service {
  border-bottom: 1px solid var(--wf-line);
  padding: 28px 0;
  cursor: pointer;
  transition: padding 220ms ease;
}
.wf-service-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 24px;
}
.wf-service-num {
  font-family: var(--wf-mono);
  font-size: 13px;
  color: var(--wf-fg-dim);
  letter-spacing: 0.08em;
}
.wf-service-title {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
  margin: 0;
  transition: color 200ms;
}
.wf-service:hover .wf-service-title,
.wf-service.is-active .wf-service-title { color: var(--wf-accent); }
.wf-service-toggle {
  font-family: var(--wf-display);
  font-size: 24px;
  color: var(--wf-fg-dim);
  text-align: right;
  transition: color 200ms;
}
.wf-service.is-active .wf-service-toggle { color: var(--wf-accent); }

.wf-service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 380ms cubic-bezier(.6,.05,.3,1);
}
.wf-service.is-active .wf-service-body { grid-template-rows: 1fr; }
.wf-service-body > * { overflow: hidden; }
.wf-service-blurb {
  margin: 18px 0 18px 104px;
  max-width: 720px;
  color: var(--wf-fg);
  font-size: 17px;
  line-height: 1.5;
}
.wf-service-points {
  list-style: none;
  margin: 0 0 16px 104px;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 760px;
}
.wf-service-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--wf-fg-dim);
  font-size: 15px;
}
.wf-bullet { color: var(--wf-accent); font-family: var(--wf-mono); }

@media (max-width: 720px) {
  .wf-service-row { grid-template-columns: 50px 1fr 30px; gap: 16px; }
  .wf-service-blurb, .wf-service-points { margin-left: 66px; }
}

/* ── WHY US ───────────────────────────────── */
.wf-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--wf-line);
  border: 1px solid var(--wf-line);
}
.wf-why-card {
  padding: 40px 36px;
  background: var(--wf-bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 200ms;
}
.wf-why-card:hover { background: color-mix(in oklab, var(--wf-bg) 92%, var(--wf-accent)); }
.wf-why-num {
  font-family: var(--wf-mono);
  font-size: 12px;
  color: var(--wf-accent);
  letter-spacing: 0.1em;
}
.wf-why-k {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0;
}
.wf-why-v { color: var(--wf-fg-dim); margin: 0; font-size: 15px; line-height: 1.55; }

@media (max-width: 720px) { .wf-why-grid { grid-template-columns: 1fr; } }

/* ── BUILD (bespoke development) ─────────── */
.wf-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--wf-line);
  border: 1px solid var(--wf-line);
}
.wf-build-card {
  padding: 32px 28px 28px;
  background: var(--wf-bg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  position: relative;
  transition: background 200ms;
}
.wf-build-card:hover { background: color-mix(in oklab, var(--wf-bg) 90%, var(--wf-accent)); }
.wf-build-card:nth-child(4),
.wf-build-card:nth-child(5) { /* fill remainder evenly when 5 items in 3-col */ }
.wf-build-top { display: flex; align-items: baseline; gap: 16px; }
.wf-build-num {
  font-family: var(--wf-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--wf-accent);
}
.wf-build-k {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0;
}
.wf-build-v {
  color: var(--wf-fg-dim);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.wf-build-tags {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--wf-line);
}
.wf-build-tags li {
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--wf-fg-dim);
  padding: 4px 9px;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
}
@media (max-width: 920px) { .wf-build-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wf-build-grid { grid-template-columns: 1fr; } }

/* ── PROCESS ──────────────────────────────── */
.wf-process-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wf-process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding: 24px 0;
  position: relative;
}
.wf-process-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.wf-process-num {
  font-family: var(--wf-mono);
  font-size: 13px;
  color: var(--wf-accent);
  letter-spacing: 0.1em;
  background: var(--wf-bg);
  padding: 4px 0;
  width: 36px;
  text-align: center;
  border: 1px solid var(--wf-line);
  border-radius: 999px;
  z-index: 2;
}
.wf-process-line {
  position: absolute;
  top: 30px;
  bottom: -24px;
  width: 1px;
  background: linear-gradient(180deg, var(--wf-accent), var(--wf-fg-faint));
  opacity: 0.55;
}
.wf-process-body { padding-bottom: 18px; }
.wf-process-t {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.wf-process-d { color: var(--wf-fg-dim); margin: 0; font-size: 16px; line-height: 1.55; max-width: 640px; }

@media (max-width: 720px) {
  .wf-process-step { grid-template-columns: 50px 1fr; gap: 18px; }
}

/* ── INDUSTRIES ───────────────────────────── */
.wf-industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--wf-line);
  border: 1px solid var(--wf-line);
}
.wf-industry {
  padding: 32px 28px;
  background: var(--wf-bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background 200ms;
}
.wf-industry:hover { background: color-mix(in oklab, var(--wf-bg) 90%, var(--wf-accent)); }
.wf-industry-head { display: flex; align-items: baseline; gap: 14px; }
.wf-industry-idx {
  font-family: var(--wf-mono);
  font-size: 12px;
  color: var(--wf-fg-dim);
  letter-spacing: 0.1em;
}
.wf-industry-k {
  font-family: var(--wf-display);
  font-weight: 500;
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.005em;
}
.wf-industry-v { color: var(--wf-fg-dim); font-size: 14px; line-height: 1.55; margin: 0; }

@media (max-width: 920px) { .wf-industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wf-industries-grid { grid-template-columns: 1fr; } }

/* ── CONTACT ──────────────────────────────── */
.wf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.wf-contact-left .wf-h2 { margin-top: 16px; }
.wf-contact-sub {
  color: var(--wf-fg-dim);
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  margin-bottom: 36px;
}
.wf-contact-dl {
  display: grid;
  gap: 18px;
  margin: 0;
  border-top: 1px solid var(--wf-line);
  padding-top: 28px;
}
.wf-contact-dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
}
.wf-contact-dl dt {
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
}
.wf-contact-dl dd { margin: 0; font-size: 15px; }
.wf-contact-dl a:hover { color: var(--wf-accent); }

.wf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  border: 1px solid var(--wf-line);
  border-radius: 4px;
  background: color-mix(in oklab, var(--wf-bg) 60%, transparent);
  backdrop-filter: blur(12px);
}
.wf-field { display: flex; flex-direction: column; gap: 8px; }
.wf-field label {
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
}
.wf-field input, .wf-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--wf-line);
  padding: 8px 2px;
  outline: none;
  font-size: 16px;
  transition: border-color 200ms;
  resize: vertical;
}
.wf-field input:focus, .wf-field textarea:focus { border-bottom-color: var(--wf-accent); }
.wf-field.has-error input,
.wf-field.has-error textarea { border-bottom-color: #ff8a8a; }
.wf-field-err { color: #ff8a8a; text-transform: none; letter-spacing: 0; font-family: var(--wf-body); }
.wf-contact-form .wf-btn { margin-top: 8px; align-self: flex-start; }
.wf-form-note,
.wf-form-msg {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--wf-fg-dim);
}
.wf-form-note a,
.wf-form-msg a { color: var(--wf-accent); border-bottom: 1px solid var(--wf-line); }
.wf-form-note a:hover,
.wf-form-msg a:hover { border-bottom-color: var(--wf-accent); }
.wf-form-msg-error {
  color: #ff8a8a;
  padding: 10px 12px;
  border: 1px solid rgba(255, 138, 138, 0.35);
  border-radius: 4px;
  background: rgba(255, 138, 138, 0.06);
}
.wf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 880px) {
  .wf-contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .wf-contact-form { padding: 24px; }
}

/* ── FOOTER ───────────────────────────────── */
.wf-footer {
  position: relative;
  border-top: 1px solid var(--wf-line);
  margin-top: 80px;
  padding: 64px 48px 36px;
  background: var(--wf-bg);
}
.wf-footer-inner { max-width: 1280px; margin: 0 auto; }
.wf-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--wf-line);
}
.wf-footer-cols > div { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.wf-footer-label {
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wf-fg-dim);
  margin-bottom: 6px;
}
.wf-footer-cols a { color: var(--wf-fg-dim); transition: color 160ms; }
.wf-footer-cols a:hover { color: var(--wf-accent); }
.wf-footer-muted { color: var(--wf-fg-dim); }
.wf-footer-base {
  display: flex;
  justify-content: space-between;
  font-family: var(--wf-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--wf-fg-dim);
  padding-top: 24px;
}

@media (max-width: 720px) {
  .wf-footer { padding: 48px 20px 24px; }
  .wf-footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .wf-footer-base { flex-direction: column; gap: 8px; }
}
