:root {
  color-scheme: light;
  --ink: #152026;
  --muted: #5c6870;
  --subtle: #77838b;
  --paper: #f7f7f3;
  --surface: #ffffff;
  --line: #dfe4e1;
  --teal: #0b6f6a;
  --teal-dark: #074844;
  --steel: #23313a;
  --copper: #a85634;
  --sage: #dfe8df;
  --shadow: 0 22px 70px rgba(20, 32, 38, 0.12);
  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:
    linear-gradient(180deg, rgba(223, 232, 223, 0.55), transparent 420px),
    var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(11, 111, 106, 0.35);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 228, 225, 0.78);
  background: rgba(247, 247, 243, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(21, 32, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(21, 32, 38, 0.06);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

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

.section-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(58px, 7vw, 92px) 0 clamp(42px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.65rem, 5.1vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-lede,
.section-heading p,
.contact-inner p {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.hero-lede {
  max-width: 660px;
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--teal-dark);
  color: white;
  box-shadow: 0 14px 26px rgba(7, 72, 68, 0.18);
}

.button-primary:hover {
  background: #053b38;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--steel);
}

.button-secondary:hover {
  border-color: rgba(11, 111, 106, 0.35);
  color: var(--teal-dark);
}

.system-panel {
  border: 1px solid rgba(21, 32, 38, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 247, 0.84)),
    radial-gradient(circle at 15% 15%, rgba(11, 111, 106, 0.14), transparent 28%),
    radial-gradient(circle at 80% 70%, rgba(168, 86, 52, 0.12), transparent 30%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stack-visual {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 4vw, 38px);
}

.stack-title {
  display: grid;
  gap: 8px;
  max-width: 520px;
}

.stack-title span,
.stack-layer span {
  color: var(--subtle);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stack-title strong {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.12;
}

.stack-process {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-top: 4px;
}

.stack-process span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stack-process span:not(:first-child)::before {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: rgba(11, 111, 106, 0.32);
  content: "";
}

.stack-layers {
  display: grid;
  gap: 12px;
}

.stack-layer {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(21, 32, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(21, 32, 38, 0.06);
}

.stack-layer strong,
.stack-layer small {
  display: block;
}

.stack-layer strong {
  font-size: 1.02rem;
}

.stack-layer small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.section-block {
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 18px clamp(28px, 6vw, 84px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 58px);
}

.section-heading .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.section-heading h2 {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.section-heading p:not(.eyebrow) {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  max-width: 620px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card,
.team-card {
  border: 1px solid rgba(21, 32, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(21, 32, 38, 0.06);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 8px;
  border: 1px solid rgba(11, 111, 106, 0.14);
  border-radius: 8px;
  background: rgba(11, 111, 106, 0.06);
}

.service-card p {
  margin: 14px 0 18px;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  color: var(--steel);
  font-size: 0.94rem;
}

.service-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-card {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 24px;
}

.team-profile {
  display: grid;
  grid-template-columns: clamp(132px, 10vw, 168px) minmax(0, 1fr);
  gap: 20px;
  align-items: end;
}

.team-headshot,
.avatar-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(11, 111, 106, 0.18);
  border-radius: 8px;
}

.team-headshot {
  display: block;
  object-fit: cover;
  object-position: center top;
}

.avatar-placeholder {
  place-items: center;
  background:
    linear-gradient(135deg, rgba(11, 111, 106, 0.12), rgba(168, 86, 52, 0.1)),
    white;
  color: var(--teal-dark);
  font-weight: 850;
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.08;
}

.team-title {
  margin: 0;
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.team-bio {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-section {
  background: var(--steel);
  color: white;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.45fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding: clamp(70px, 9vw, 108px) 0;
}

.contact-inner .eyebrow {
  color: #e0a083;
}

.contact-inner p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.contact-card a {
  color: white;
  font-size: 1.18rem;
  font-weight: 850;
  text-decoration-color: rgba(255, 255, 255, 0.36);
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(20px, 4vw, 56px);
  background: #111a1f;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .section-heading h2,
  .section-heading p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
  }

  .section-heading p:not(.eyebrow) {
    max-width: 760px;
  }

  .hero {
    min-height: auto;
  }

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

}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .section-shell {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 44px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stack-layer {
    grid-template-columns: 1fr;
  }

  .stack-layer {
    gap: 8px;
  }

  .stack-process span:not(:first-child)::before {
    width: 12px;
  }

  .team-profile {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 16px;
  }
}
