:root {
  --bg: #f7f8f6;
  --bg-alt: #f1f3f1;
  --text: #121518;
  --muted: #5f6a72;
  --line: #d9e1e6;
  --arc: #c5d5e0;
  --arc-deep: #8a9ba8;
  --card: #fbfcfb;
  --radius: 0.9rem;
  --shadow: 0 18px 40px rgba(17, 21, 24, 0.06);
  --maxw: 1150px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 8%, #ffffff 0%, var(--bg) 45%) fixed;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--maxw), 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(197, 213, 224, 0.14), rgba(197, 213, 224, 0.04));
  border-block: 1px solid var(--line);
}

.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arc-deep);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  max-width: 20ch;
}

h2 {
  margin-bottom: 2rem;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  max-width: 22ch;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

p {
  margin-top: 0;
  color: var(--muted);
}

.problem-closer {
  color: var(--text);
  font-weight: 600;
}

/* ── Header ── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(247, 248, 246, 0.87);
  border-bottom: 1px solid rgba(138, 155, 168, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand-logo {
  width: min(230px, 58vw);
  height: auto;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
}

.site-nav a {
  padding: 0.4rem 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--arc-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.42rem;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.24rem;
  background: var(--text);
}

/* ── Hero ── */

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
}

.lead {
  max-width: 60ch;
  font-size: clamp(1.03rem, 2.1vw, 1.25rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-network {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero-network .landmass {
  opacity: 0;
  animation: landIn 1.4s ease-out 0.1s forwards;
}

.hero-network .arc {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: arcDraw 1.6s ease-out forwards;
}

.hero-network .arc-main { animation-duration: 2.2s; }
.hero-network .arc-d1 { animation-delay: 0.2s; }
.hero-network .arc-d2 { animation-delay: 0.4s; }
.hero-network .arc-d3 { animation-delay: 0.55s; }
.hero-network .arc-d4 { animation-delay: 0.65s; }
.hero-network .arc-d5 { animation-delay: 0.75s; }
.hero-network .arc-d6 { animation-delay: 0.85s; }

.hero-network .node {
  opacity: 0;
  animation: nodeIn 0.6s ease-out forwards;
  animation-delay: 0.9s;
}

.hero-network .node-d1 { animation-delay: 1s; }
.hero-network .node-d2 { animation-delay: 1.1s; }
.hero-network .node-d3 { animation-delay: 1.2s; }

.hero-network .halo {
  opacity: 0;
  animation: haloPulse 5s ease-in-out 2s infinite;
}

.hero-network .halo-d1 { animation-delay: 2.3s; }
.hero-network .halo-d2 { animation-delay: 2.6s; }

@keyframes landIn {
  to { opacity: 1; }
}

@keyframes arcDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes nodeIn {
  to { opacity: 1; }
}

@keyframes haloPulse {
  0%, 100% { opacity: 0; }
  40%, 60% { opacity: 0.3; }
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0.76rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: #f8faf8;
  border: none;
  box-shadow: 0 10px 20px rgba(17, 21, 24, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 28px rgba(17, 21, 24, 0.22);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffffb8;
}

/* ── Problem ── */

.problem-grid {
  display: grid;
  gap: 1.4rem;
}

/* ── How It Works (Steps) ── */

.steps {
  display: grid;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.step {
  position: relative;
  padding-left: 3.8rem;
}

.step-num {
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--arc);
}

.callout {
  background: var(--text);
  color: #e8ece8;
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}

.callout p {
  margin: 0;
  color: #cad5da;
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ── Services ── */

.services-grid {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

/* ── Industries ── */

.industries-grid {
  display: grid;
  gap: 1.4rem;
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}

.industry-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

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

/* ── Coverage (Priority Markets) ── */

.coverage-header {
  margin-bottom: 2rem;
}

.coverage-header h2 {
  max-width: 28ch;
}

.region-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.region-group {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
}

.region-group h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.region-group p {
  margin: 0;
  font-size: 0.95rem;
}

.coverage-note {
  max-width: 60ch;
  font-size: 0.95rem;
}

/* ── Track Record ── */

.track-record-intro {
  max-width: 60ch;
  margin-bottom: 2rem;
}

.track-record-grid {
  display: grid;
  gap: 1rem;
}

/* ── About ── */

.about-intro {
  margin-bottom: 2rem;
}

.about-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.4rem;
}

.about-photo img {
  width: 100%;
  max-width: 340px;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

.about-linkedin {
  margin-bottom: 0;
}

.about-linkedin a {
  font-weight: 600;
  color: var(--arc-deep);
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.about-linkedin a:hover,
.about-linkedin a:focus-visible {
  color: var(--text);
  border-color: var(--arc-deep);
}

/* ── Fit ── */

.fit-grid {
  display: grid;
  gap: 1.4rem;
}

/* ── Contact ── */

.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  margin-bottom: 0.95rem;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #cfd9df;
  border-radius: 0.65rem;
  background: #fdfefe;
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid #d5e1e9;
  outline-offset: 1px;
  border-color: var(--arc-deep);
}

.form-success {
  text-align: center;
  padding: 2.4rem 1.2rem;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.form-success p {
  max-width: 36ch;
  margin-inline: auto;
}

/* ── Footer ── */

.governance-note {
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.governance-heading {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--arc-deep);
  margin-bottom: 0.4rem;
}

.governance-note p:last-child {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-wrap p,
.footer-wrap a {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-philosophy {
  font-size: 0.8rem !important;
  font-style: italic;
  color: var(--arc-deep) !important;
}

/* ── Cookie Banner ── */

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.2rem;
  padding: 0.9rem 1.4rem;
  background: var(--text);
  color: #cad5da;
  font-size: 0.88rem;
}

.cookie-banner p {
  margin: 0;
  color: #cad5da;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  min-height: 34px;
  padding: 0.4rem 0.8rem;
  font-size: 0.76rem;
}

.btn-sm.btn-ghost {
  border-color: rgba(202, 213, 218, 0.3);
  color: #cad5da;
  background: transparent;
}

.btn-sm.btn-ghost:hover {
  border-color: rgba(202, 213, 218, 0.6);
  color: #fff;
}

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

  .problem-grid,
  .industries-grid,
  .fit-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: 2.2rem;
  }

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

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

  .about-content {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

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

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    padding-left: 0;
    padding-top: 2.6rem;
  }

  .step-num {
    top: 0;
    left: 0;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 5rem;
    right: 4vw;
    width: min(280px, 90vw);
    display: none;
    flex-direction: column;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    background: #f8faf9;
    box-shadow: 0 24px 44px rgba(17, 21, 24, 0.1);
  }

  .site-nav.open {
    display: flex;
  }
}

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

  .btn,
  .reveal {
    transition: none;
  }

  .hero-network .landmass,
  .hero-network .arc,
  .hero-network .node,
  .hero-network .halo {
    animation: none;
  }

  .hero-network .landmass {
    opacity: 1;
  }

  .hero-network .arc {
    stroke-dashoffset: 0;
  }

  .hero-network .node {
    opacity: 1;
  }

  .hero-network .halo {
    opacity: 0.2;
  }
}
