:root {
  --ink: #1b1d1f;
  --ink-soft: #363a3d;
  --paper: #f7f4ee;
  --white: #fffdf9;
  --line: #d9d2c6;
  --muted: #67635d;
  --blue: #235789;
  --green: #4f8f6f;
  --amber: #d6a342;
  --coral: #c9694f;
  --shadow: 0 24px 70px rgba(27, 29, 31, 0.14);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body::selection {
  background: rgba(79, 143, 111, 0.28);
}

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

p,
h1,
h2,
h3,
dl {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header {
  align-items: center;
  display: flex;
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: fixed;
  z-index: 30;
}

.brand,
.site-nav {
  align-items: center;
  display: flex;
}

.brand {
  backdrop-filter: blur(18px);
  background: rgba(27, 29, 31, 0.56);
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 8px;
  color: var(--white);
  font-weight: 760;
  gap: 12px;
  padding: 5px 12px 5px 5px;
}

.brand-mark {
  align-items: center;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(255, 253, 249, 0.4);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.74rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  width: 34px;
}

.site-nav {
  backdrop-filter: blur(18px);
  background: rgba(27, 29, 31, 0.56);
  border: 1px solid rgba(255, 253, 249, 0.14);
  border-radius: 8px;
  color: rgba(255, 253, 249, 0.82);
  gap: 2px;
  padding: 5px;
}

.site-nav a {
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 9px 12px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 253, 249, 0.12);
  color: var(--white);
  outline: none;
}

.site-nav .nav-action {
  background: var(--white);
  color: var(--ink);
}

.hero {
  background: var(--ink);
  color: var(--white);
  min-height: 82svh;
  overflow: hidden;
  position: relative;
}

.signal-canvas,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.signal-canvas {
  display: block;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(27, 29, 31, 0.94) 0%, rgba(27, 29, 31, 0.78) 48%, rgba(27, 29, 31, 0.32) 100%),
    linear-gradient(180deg, rgba(27, 29, 31, 0.28) 0%, rgba(27, 29, 31, 0) 56%, rgba(27, 29, 31, 0.82) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82svh;
  padding: 112px clamp(20px, 5vw, 72px) 52px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(4.1rem, 9vw, 8.4rem);
  font-weight: 790;
  letter-spacing: 0;
  line-height: 0.92;
  margin-top: 18px;
  max-width: 900px;
}

.hero-lede {
  color: rgba(255, 253, 249, 0.82);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.42;
  margin-top: 28px;
  max-width: 760px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--white);
  border-color: rgba(27, 29, 31, 0.12);
  color: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ece5d8;
  outline: none;
}

.button-secondary {
  border-color: rgba(255, 253, 249, 0.28);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 253, 249, 0.1);
  outline: none;
}

.hero-proof {
  border-top: 1px solid rgba(255, 253, 249, 0.18);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  max-width: 1080px;
  padding-top: 22px;
}

.hero-proof div {
  min-width: 0;
}

.hero-proof dt {
  color: var(--white);
  font-weight: 760;
}

.hero-proof dd {
  color: rgba(255, 253, 249, 0.65);
  margin: 5px 0 0;
}

.band-light {
  background: var(--paper);
}

.band-white {
  background: var(--white);
}

.band-ink {
  background: var(--ink);
  color: var(--white);
}

.section-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 84px clamp(20px, 5vw, 72px);
}

.intro-grid,
.experience-layout,
.fit-layout,
.contact-layout {
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: 0.9fr 1.1fr;
}

.intro h2,
.section-heading h2,
.experience h2,
.fit h2,
.contact h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1;
  margin-top: 12px;
}

.intro p:last-child,
.experience-copy p,
.fit-list p,
.contact p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.service-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  min-height: 290px;
  padding: 22px;
}

.service-index {
  color: var(--coral);
  display: block;
  font-size: 0.8rem;
  font-weight: 820;
  margin-bottom: 54px;
}

.service-card h3,
.process-rail h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.service-card p,
.process-rail p {
  color: var(--muted);
  margin-top: 14px;
}

.experience {
  position: relative;
}

.experience .eyebrow,
.contact .eyebrow {
  color: var(--amber);
}

.experience-copy p,
.contact p {
  color: rgba(255, 253, 249, 0.74);
}

.domain-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.domain-list li {
  border-top: 1px solid rgba(255, 253, 249, 0.15);
  color: rgba(255, 253, 249, 0.9);
  font-weight: 710;
  padding-top: 12px;
}

.process-rail {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.process-rail article {
  border-left: 1px solid var(--line);
  padding: 0 24px 0 18px;
}

.process-rail article:first-child {
  border-left: 0;
  padding-left: 0;
}

.process-rail span {
  color: var(--blue);
  display: block;
  font-size: 0.8rem;
  font-weight: 820;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.fit-layout {
  align-items: start;
}

.fit-list {
  display: grid;
  gap: 0;
}

.fit-list p {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.fit-list p:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-layout {
  align-items: end;
}

.contact .button {
  justify-self: end;
  min-width: 240px;
}

.site-footer {
  align-items: center;
  background: #111314;
  color: rgba(255, 253, 249, 0.68);
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

.site-footer a {
  color: var(--white);
  font-weight: 720;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
    position: absolute;
  }

  .site-nav {
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .hero,
  .hero-content {
    min-height: 86svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(27, 29, 31, 0.94) 0%, rgba(27, 29, 31, 0.72) 100%),
      linear-gradient(180deg, rgba(27, 29, 31, 0.22) 0%, rgba(27, 29, 31, 0.84) 100%);
  }

  .hero-proof,
  .intro-grid,
  .experience-layout,
  .fit-layout,
  .contact-layout,
  .service-grid,
  .process-rail {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 28px;
  }

  .process-rail article {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0 0;
  }

  .process-rail article:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .process-rail span {
    margin-bottom: 14px;
  }

  .contact .button {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .site-header {
    padding-top: 14px;
  }

  .brand {
    font-size: 0.95rem;
  }

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

  .site-nav {
    gap: 0;
    max-width: calc(100vw - 40px);
    position: absolute;
    right: 20px;
    top: 58px;
  }

  .site-nav a {
    font-size: 0.84rem;
    padding: 8px 9px;
  }

  .hero,
  .hero-content {
    min-height: 88svh;
  }

  .hero-content {
    padding-top: 136px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 18vw, 5rem);
  }

  .hero-proof {
    gap: 14px;
    margin-top: 36px;
  }

  .section-shell {
    padding-bottom: 64px;
    padding-top: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
