:root {
  --ink: #10152b;
  --ink-soft: #333a4d;
  --bg: #f5f7fd;
  --paper: #ffffff;
  --blue: #1237c8;
  --blue-soft: #4a63d6;
  --blue-tint: #e8edfb;
  --blue-deep: #0b2694;
  --muted: #5b6272;
  --border: rgba(18, 55, 200, 0.14);
  --border-soft: rgba(18, 55, 200, 0.08);
  --shadow: 0 20px 50px rgba(16, 21, 43, 0.06);
  --shadow-strong: 0 26px 64px rgba(16, 21, 43, 0.12);
  --radius: 3px;
  --radius-md: 6px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 253, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 7px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-sub {
  font-size: 0.64rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--blue);
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 6px 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 26px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue-soft);
}

.btn-outline:hover {
  background: var(--blue-tint);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.76rem;
}

/* ---------- Typography ---------- */

main section {
  padding: 96px 0;
}

.hero {
  padding-top: 64px;
  padding-bottom: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  max-width: 17ch;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  letter-spacing: -0.005em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
}

.lede {
  margin-top: 20px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* ---------- Hero visual (abstract, no stock photography) ---------- */

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--blue-deep);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual-caption {
  position: absolute;
  left: 28px;
  bottom: 26px;
  right: 28px;
  color: var(--bg);
}

.hero-visual-caption .panel-kicker {
  color: #ffffff;
}

.hero-visual-caption p {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: rgba(245, 247, 253, 0.72);
  max-width: 34ch;
}

/* ---------- Cards / surfaces ---------- */

.card,
.feature,
.article,
.info-card,
.office-card,
.map-card,
.form-card,
.cms-note,
.founder,
.experience-card,
.industry-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature,
.article,
.info-card,
.office-card,
.experience-card {
  padding: 28px;
}

.form-card {
  padding: 40px;
}

.card:hover,
.feature:hover,
.experience-card:hover {
  box-shadow: var(--shadow-strong);
  border-color: var(--blue-soft);
}

.card,
.feature,
.experience-card {
  transition: box-shadow 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.card:hover,
.feature:hover,
.experience-card:hover {
  transform: translateY(-3px);
}

.feature p,
.card p,
.article p,
.info-card p,
.office-card p,
.experience-card p {
  color: var(--muted);
  margin: 12px 0 0;
}

.feature-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 24px;
}

.feature-list li {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 14px;
  position: relative;
  break-inside: avoid;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}

/* ---------- Section header ---------- */

.section-head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--blue);
}

.section-copy {
  max-width: 58ch;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Grids ---------- */

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 22px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ---------- Why WKA — numbered feature blocks ---------- */

.feature-index {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
  color: var(--blue);
  font-weight: 600;
}

/* ---------- Industries ---------- */

.industry-card {
  padding: 24px 20px;
  text-align: left;
}

.industry-card .eyebrow {
  margin-bottom: 10px;
}

.industry-card h3 {
  font-size: 1.02rem;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}

.process-step {
  padding: 30px 22px 0;
  border-left: 1px solid var(--border);
}

.process-step:first-child {
  border-left: 0;
}

.process-index {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--blue);
  font-size: 1.3rem;
}

.process-step h3 {
  margin-top: 12px;
  font-size: 1.02rem;
}

.process-step p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.9rem;
}

/* ---------- Founder ---------- */

.founder {
  padding: 32px;
}

.founder-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.founder-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.founder-name {
  margin-top: 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  color: var(--ink);
}

.founder-role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

/* ---------- Insights ---------- */

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.category-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--paper);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover,
.category-chip.active {
  border-color: var(--blue);
  color: var(--ink);
  background: var(--blue-tint);
}

.article-meta {
  color: var(--blue);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* ---------- Banner / CTA ---------- */

.banner {
  padding: 56px;
  background: var(--blue-deep);
  color: #ffffff;
  border-radius: var(--radius);
}

.banner .eyebrow {
  color: #ffffff;
}

.banner .eyebrow::before {
  background: #ffffff;
}

.banner h2,
.banner h3,
.banner p {
  color: #ffffff;
}

.banner p {
  opacity: 0.82;
}

.banner .btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.banner .btn-secondary:hover {
  background: #ffffff;
  color: var(--blue-deep);
}

.banner .btn-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--blue-deep);
}

.banner .btn-primary:hover {
  background: var(--blue-tint);
  border-color: var(--blue-tint);
}

/* ---------- Contact ---------- */

.contact-lines {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.contact-line span:first-child {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-line span:last-child {
  text-align: right;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-tint);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  min-height: 1.2em;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status[data-state="error"] {
  color: #a53b3b;
}

.form-status[data-state="success"] {
  color: #4f7a5e;
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.4) contrast(1.05);
}

.cms-note {
  padding: 24px;
  background: var(--blue-tint);
  border-color: var(--blue-soft);
}

.cms-note code {
  background: rgba(22, 22, 26, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.disclaimer-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Footer ---------- */

.footer {
  margin-top: 40px;
  padding: 56px 0 40px;
  background: var(--blue-deep);
  color: rgba(245, 247, 253, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245, 247, 253, 0.14);
}

.footer-brand-title {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--bg);
  font-size: 1.15rem;
}

.footer-brand-sub {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #a9b8f2;
  letter-spacing: 0.04em;
}

.footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a9b8f2;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(245, 247, 253, 0.7);
  text-decoration: none;
  font-size: 0.86rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--bg);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom small {
  max-width: 70ch;
  font-size: 0.78rem;
  color: rgba(245, 247, 253, 0.5);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(245, 247, 253, 0.6);
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--bg);
}

/* ---------- Reveal-on-scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.show {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ---------- Legal / simple content pages ---------- */

.prose h2 {
  margin-top: 40px;
  font-size: 1.3rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .nav-links {
    position: fixed;
    inset: 74px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 24px;
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav-cta {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .founder-grid,
  .form-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }

  .process-step:first-child {
    border-top: 0;
  }

  .founder-grid {
    gap: 20px;
  }

  .founder-portrait {
    max-width: 280px;
  }

  .feature-list {
    columns: 1;
  }

  h1 {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (min-width: 1001px) {
  .nav-cta {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(var(--container), calc(100% - 30px));
  }

  main section {
    padding: 64px 0;
  }

  .site-nav {
    padding: 14px 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .banner {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
