:root {
  --paper: #f7f8fa;
  --ink: #231f20;
  --muted: #5d6670;
  --line: #d8dee6;
  --brand-blue: #4f769d;
  --brand-blue-dark: #2f5274;
  --brand-blue-soft: #e7eef5;
  --steel: #6a7f92;
  --amber: #c58b4f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(35, 31, 32, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-color: rgba(79, 118, 157, 0.48);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 68px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 248, 250, 0.9);
  border-bottom: 1px solid rgba(216, 222, 230, 0.9);
  backdrop-filter: blur(18px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.contact-link {
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 72vh, 740px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image: url("/assets/hero-workspace.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 248, 250, 0.98) 0%, rgba(247, 248, 250, 0.9) 40%, rgba(247, 248, 250, 0.2) 76%),
    linear-gradient(0deg, rgba(35, 31, 32, 0.22), rgba(35, 31, 32, 0.02));
}

.hero-content {
  width: min(700px, 100%);
  min-width: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  display: block;
  width: clamp(240px, 28vw, 360px);
  height: auto;
  margin: 0 0 clamp(14px, 2vw, 22px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: clamp(22px, 3vw, 34px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 560px;
  color: #31363b;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(79, 118, 157, 0.34);
  color: var(--brand-blue-dark);
}

.intro,
.business,
.work,
.band {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.intro,
.business {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.intro > p,
.intro-body p,
.business p,
.service-grid p,
.work-list p {
  color: var(--muted);
}

.intro-body p:last-child {
  margin-bottom: 0;
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.service-grid article {
  min-height: 286px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.service-grid article:nth-child(2) {
  background: var(--brand-blue-soft);
}

.service-grid article:nth-child(3) {
  border-color: rgba(79, 118, 157, 0.32);
}

.service-grid article:nth-child(4) {
  border-color: rgba(199, 131, 58, 0.35);
}

.work {
  background: var(--brand-blue-soft);
}

.work-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.work-list article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(79, 118, 157, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.work-label {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand-blue);
  color: var(--white);
  font-weight: 800;
}

.details {
  display: grid;
  gap: 12px;
  margin: 0;
}

.details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.details dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.details dd {
  margin: 0;
  font-weight: 720;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

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

@media (max-width: 980px) {
  .site-header,
  .intro,
  .business,
  .section-heading,
  .site-footer {
    display: grid;
  }

  .intro,
  .business,
  .section-heading,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro,
  .business {
    gap: 22px;
  }

  .section-copy,
  .intro-body,
  .details {
    min-width: 0;
  }

  .site-nav {
    justify-content: start;
  }

  .hero {
    min-height: 660px;
  }

  .hero::before {
    background-position: 60% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(247, 248, 250, 0.98) 0%, rgba(247, 248, 250, 0.84) 58%, rgba(247, 248, 250, 0.28) 100%),
      linear-gradient(0deg, rgba(35, 31, 32, 0.18), rgba(35, 31, 32, 0.02));
  }

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

@media (max-width: 660px) {
  .site-header {
    position: static;
    padding: 12px clamp(12px, 4vw, 18px);
  }

  .site-nav {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: clamp(6px, 2.2vw, 12px);
    overflow-x: auto;
    font-size: clamp(0.72rem, 3.1vw, 0.88rem);
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .contact-link {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 620px;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.04;
  }

  .section-kicker {
    max-width: 100%;
    font-size: 0.72rem;
  }

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

  .service-grid article,
  .work-list article {
    min-height: auto;
  }

  .details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
