:root {
  color-scheme: light;
  --ink: #1A1714;
  --muted: #6f695d;
  --paper: #F5F2EB;
  --surface: #EFEAE0;
  --surface-strong: #ffffff;
  --primary: #0E6E61;
  --bright: #16B79E;
  --ember: #D2502A;
  --line: #1A1714;
  --grid: #DCD6C8;
}

* {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: var(--ember);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

a:hover {
  background: var(--primary);
  color: var(--surface-strong);
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 16px 48px;
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--line);
  background: var(--surface-strong);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 16px;
  border-right: 2px solid var(--line);
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--bright);
}

.site-nav a:last-child {
  border-right: 0;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 72px 48px 84px;
  border-bottom: 3px solid var(--line);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-content,
.section-inner,
.site-footer {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-content {
  display: grid;
  gap: 24px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.eyebrow {
  width: fit-content;
  padding: 8px 10px;
  border: 2px solid var(--line);
  background: var(--primary);
  color: #ffffff;
}

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

h1 {
  max-width: 920px;
  margin-bottom: 0;
  font-size: 72px;
  font-weight: 900;
  line-height: 1.06;
}

h2 {
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.18;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
}

.section {
  padding: 68px 48px;
  border-bottom: 3px solid var(--line);
  background: var(--surface);
}

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

.section-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 48px;
  row-gap: 12px;
  align-items: start;
}

.section-kicker {
  grid-column: 1;
  padding-top: 10px;
}

.section-inner h2,
.section-inner > p,
.service-grid {
  grid-column: 2;
}

.section-inner > p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  border: 3px solid var(--line);
}

.service-grid article {
  min-height: 156px;
  padding: 22px;
  background: var(--surface);
}

.service-grid article + article {
  border-left: 3px solid var(--line);
}

.service-grid article:nth-child(2) {
  background: var(--primary);
  color: #ffffff;
}

.service-grid article:nth-child(3) {
  background: var(--bright);
}

.service-grid p {
  margin-bottom: 0;
  color: inherit;
  font-size: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  column-gap: 48px;
  align-items: start;
}

.contact-layout > div {
  grid-column: 1;
}

.contact-layout .section-kicker {
  margin-bottom: 12px;
  padding-top: 0;
}

.contact-layout h2 {
  margin-bottom: 14px;
}

.contact-layout p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.contact-list {
  grid-column: 2;
  display: grid;
  gap: 0;
  margin: 0;
  border: 3px solid var(--line);
  background: var(--surface-strong);
}

.contact-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 2px solid var(--line);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

.contact-list dd {
  min-width: 0;
  margin: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 48px 34px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

  .brand span {
    white-space: normal;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding: 48px 22px 58px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    font-size: 20px;
  }

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

  .service-grid article + article {
    border-top: 3px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 52px 22px;
  }

  .section-inner,
  .contact-layout {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .section-kicker,
  .section-inner h2,
  .section-inner > p,
  .service-grid,
  .contact-layout > div,
  .contact-list {
    grid-column: 1;
  }

  .section-kicker {
    padding-top: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 22px 34px;
  }
}

@media (max-width: 520px) {
  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav a {
    min-width: 33.333%;
  }

  h1 {
    font-size: 34px;
  }

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