:root {
  --teal: #0f766e;
  --teal-deep: #0b5a54;
  --cyan: #22d3ee;
  --navy: #1e2937;
  --ink: #0b1220;
  --paper: #f4f1ea;
  --paper-2: #e8e3d6;
  --muted: #64748b;
  --line: rgba(15, 118, 110, 0.22);
  --ok: #4ade80;
  --warn: #fb923c;
  --shadow: 0 18px 40px rgba(11, 18, 32, 0.08);
  --max: 1120px;
  --nav-h: 5.6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-deep);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.4rem 0.7rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--paper) 88%, white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark img.logo {
  height: 3.85rem;
  width: auto;
  display: block;
}

.wordmark .mark,
.wordmark img.mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.35rem;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-art {
  margin: 0;
}

.hero-art img,
.page-art img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.page-art {
  margin: 0 0 1.6rem;
}

.panel img.icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.7rem;
}

.wordmark small {
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--teal-deep);
  font-weight: 600;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 0.4rem;
  padding: 0.35rem 0.55rem;
  font: inherit;
}

.hero {
  padding: 4.2rem 0 3.2rem;
}

.hero-firm {
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(34, 211, 238, 0.16), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #10202b 100%);
  color: #e8eef5;
  padding: 4.4rem 0 3.4rem;
}

.hero-firm h1,
.hero-firm .lede,
.hero-firm .kicker {
  color: inherit;
}

.hero-firm .kicker {
  color: var(--cyan);
}

.hero-firm .lede {
  color: #c5d0dc;
}

.hero-firm .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
}

.industries span {
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #d7f6f3;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.82rem;
}

.firm-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0 0 2.4rem;
}

.firm-meta div {
  background: #fff;
  padding: 1rem 1.05rem;
}

.firm-meta strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.firm-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.site-footer a {
  color: inherit;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.kicker {
  display: inline-block;
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

h1,
h2,
h3 {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.05rem, 4.6vw, 3.35rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.12rem;
}

.lede {
  max-width: 42rem;
  font-size: 1.18rem;
  color: #334155;
  margin: 0 0 1.6rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #c9c3b4;
}

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

.grid-3,
.grid-2 {
  display: grid;
  gap: 1rem;
}

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

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
}

.work-grid {
  grid-template-columns: 1fr 1fr;
}

.section {
  padding: 0.4rem 0 3.6rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.muted {
  color: var(--muted);
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-plain li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.list-plain li:first-child {
  border-top: 0;
  padding-top: 0;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: #d7efe9;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0 0;
}

.stack span {
  font-family: "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  background: var(--ink);
  color: #d9f6f1;
  padding: 0.28rem 0.5rem;
  border-radius: 0.35rem;
}

.note {
  font-size: 0.92rem;
  color: #475569;
}

.page-hero {
  padding: 2.6rem 0 1.6rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 1rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
}

.steps li {
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem 1rem 3.4rem;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.pulse-list {
  display: grid;
  gap: 0.8rem;
}

.pulse-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 1.1rem 1.2rem;
}

.pulse-card:hover {
  border-color: var(--teal);
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

form {
  display: grid;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.9rem;
  font-weight: 600;
}

input,
textarea,
select {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid #cfc8b8;
  border-radius: 0.5rem;
  background: #fff;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

button[type="submit"] {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  cursor: pointer;
}

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

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

.band {
  background: var(--ink);
  color: #e8eef5;
  padding: 2.4rem 0;
}

.band h2,
.band p {
  color: inherit;
}

.band .btn-primary {
  background: var(--cyan);
  color: var(--ink);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 1.6rem 0;
}

@media (max-width: 860px) {
  .grid-3,
  .grid-2,
  .work-grid,
  .hero-grid,
  .firm-meta,
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    inset: var(--nav-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
  }

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