:root {
  --cyan: #30b0e0;
  --cyan-deep: #14779e;
  --cyan-soft: #8fd7f2;
  --ink: #0c121c;
  --paper: #f3f6f8;
  --white: #fbfcfd;
  --silver: #a0a8a8;
  --line: rgba(12, 18, 28, 0.12);
  --muted: rgba(12, 18, 28, 0.68);
  --on-dark: #e7eef3;
  --on-dark-muted: rgba(231, 238, 243, 0.74);
  --display: "Outfit", "Avenir Next", "Trebuchet MS", sans-serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: min(920px, calc(100% - 2.5rem));
  --narrow: min(640px, calc(100% - 2.5rem));
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 1.075rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--cyan-deep); text-underline-offset: 0.18em; }
a:hover { color: #0e6284; }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
p { margin: 0 0 1rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.8rem;
}

h1 { font-size: clamp(3.2rem, 8vw, 5.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.35rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  padding: 0.45rem 0.7rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { width: var(--narrow); }

.kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 0 0 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #0c121c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bar {
  width: var(--wrap);
  margin-inline: auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--on-dark);
  text-decoration: none;
}

.mark-ring {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  background: conic-gradient(from 210deg, transparent 0 62%, var(--cyan) 62% 78%, transparent 78% 100%);
}

.mark-word {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.mark-i { color: var(--cyan); }

.nav { display: flex; gap: 1.15rem; }
.nav a { color: var(--on-dark-muted); text-decoration: none; }
.nav a:hover { color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(480px 280px at 90% 10%, rgba(48, 176, 224, 0.2), transparent 60%),
    #0c121c;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.hero-ring {
  position: absolute;
  right: -6rem;
  top: -7rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  border: 1px solid rgba(160, 168, 168, 0.4);
  background: conic-gradient(from 200deg, transparent 0 58%, rgba(48, 176, 224, 0.9) 58% 72%, transparent 72%);
  mask: radial-gradient(circle, transparent 63%, #000 64%);
  pointer-events: none;
}

.hero-copy { position: relative; max-width: 40rem; }
.hero .kicker { color: var(--cyan-soft); }
.hero h1 { color: #fff; }
.hero-line {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.hero p { color: var(--on-dark-muted); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary { background: var(--cyan); color: #06202c; }
.btn-primary:hover { background: #57c4ea; color: #06202c; }
.btn-on-dark { color: var(--on-dark); border-color: rgba(231, 238, 243, 0.28); }
.btn-on-dark:hover { color: #fff; border-color: #fff; }

.section { padding: clamp(3.2rem, 8vw, 5.2rem) 0; scroll-margin-top: 4.5rem; }

.services {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  counter-reset: practice;
}

.services li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.services li:last-child { border-bottom: 1px solid var(--line); }

.services li::before {
  counter-increment: practice;
  content: counter(practice, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--cyan-deep);
  padding-top: 0.35rem;
}

.services h3,
.services p {
  grid-column: 2;
  min-width: 0;
}

.services p {
  color: var(--muted);
  margin: 0.2rem 0 0;
  max-width: 40rem;
}

.ink {
  background: var(--ink);
  color: var(--on-dark-muted);
}
.ink h2 { color: #fff; }
.ink .kicker { color: var(--cyan-soft); }
.ink p { max-width: 38rem; }

.industries {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.industries li {
  border-top: 1px solid rgba(231, 238, 243, 0.16);
  padding-top: 1rem;
  min-width: 0;
}

.industries h3 { margin-bottom: 0.4rem; }
.industries p { margin: 0; max-width: none; }

.mail {
  display: inline-block;
  margin-top: 0.4rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.site-footer {
  background: #090e16;
  color: var(--on-dark-muted);
  padding: 1.4rem 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-row p { margin: 0; color: #fff; }
.footer-row a { color: var(--cyan-soft); text-decoration: none; }

@media (max-width: 640px) {
  .nav { gap: 0.75rem; font-size: 0.95rem; }
  .services li { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .services li::before { padding-top: 0.2rem; }
  .hero-ring { opacity: 0.45; }
  .industries { grid-template-columns: 1fr; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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