:root {
  color-scheme: light;
  --ink: #172238;
  --muted: #5f6877;
  --paper: #fffdf9;
  --wash: #fff7eb;
  --line: #e8dece;
  --orange: #ee7b2d;
  --orange-text: #a84808;
  --blue: #176b87;
  --green: #3b8f66;
  --green-text: #23704c;
  --shadow: 0 22px 60px rgb(63 46 22 / 10%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 18rem;
  min-height: 100%;
  background: var(--wash);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgb(238 123 45 / 13%), transparent 24rem),
    radial-gradient(circle at 92% 24%, rgb(23 107 135 / 10%), transparent 28rem),
    linear-gradient(145deg, #fffaf2 0%, #fffdf9 54%, #f7fbfa 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgb(23 34 56 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(23 34 56 / 3%) 1px, transparent 1px);
  background-size: 4rem 4rem;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.page-shell {
  display: flex;
  width: min(72rem, calc(100% - 3rem));
  min-height: 100vh;
  margin: 0 auto;
  flex-direction: column;
}

.site-header {
  display: flex;
  min-height: 7rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand:focus-visible,
.service-card:focus-visible {
  outline: 0.2rem solid var(--blue);
  outline-offset: 0.3rem;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 0.2rem;
  padding: 0.45rem;
  border-radius: 0.8rem;
  background: var(--ink);
  box-shadow: 0 0.5rem 1.2rem rgb(23 34 56 / 18%);
  transform: rotate(-2deg);
}

.brand-mark span {
  display: block;
  border-radius: 0.15rem 0.15rem 0 0;
}

.brand-mark span:nth-child(1) {
  height: 48%;
  background: var(--orange);
}

.brand-mark span:nth-child(2) {
  height: 100%;
  background: #f6c744;
}

.brand-mark span:nth-child(3) {
  height: 72%;
  background: #69b990;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.header-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  width: min(58rem, 100%);
  margin: auto;
  padding: 7rem 0;
}

.intro {
  max-width: 44rem;
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--orange-text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

.services {
  display: grid;
  gap: 1rem;
}

.service-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.35rem;
  padding: 1.4rem;
  overflow: hidden;
  border: 1px solid rgb(23 34 56 / 9%);
  border-radius: 1.4rem;
  color: inherit;
  background: rgb(255 255 255 / 82%);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-card:hover {
  border-color: rgb(238 123 45 / 50%);
  box-shadow: 0 28px 70px rgb(63 46 22 / 15%);
  transform: translateY(-0.2rem);
}

.service-icon {
  display: grid;
  width: 4.6rem;
  height: 4.6rem;
  place-items: center;
  border-radius: 1.1rem;
  color: white;
  background: linear-gradient(145deg, var(--blue), #0e455b);
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px rgb(255 255 255 / 24%), 0 0.8rem 1.6rem rgb(23 107 135 / 20%);
}

.service-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.service-meta {
  margin-bottom: 0.25rem;
  color: var(--green-text);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-name {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.service-address {
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 750;
  white-space: nowrap;
}

.service-action svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

footer {
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 42rem) {
  .page-shell {
    width: min(100% - 2rem, 72rem);
  }

  .site-header {
    min-height: 5.6rem;
  }

  .header-label {
    display: none;
  }

  main {
    padding: 4.5rem 0;
  }

  .service-card {
    grid-template-columns: auto 1fr;
    padding: 1.1rem;
  }

  .service-icon {
    width: 3.9rem;
    height: 3.9rem;
  }

  .service-action {
    grid-column: 1 / -1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
