:root {
  --ink: #10231f;
  --ink-2: #213934;
  --paper: #fbfcf8;
  --mist: #eef4f1;
  --line: rgba(16, 35, 31, 0.16);
  --teal: #108a80;
  --copper: #c8753f;
  --lime: #dce778;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(12, 28, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Calibri, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(16, 35, 31, 0.78);
  color: var(--white);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.compact {
  background: rgba(251, 252, 248, 0.94);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.site-header.compact {
  position: sticky;
  transform: none;
  left: auto;
  margin: 18px auto 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lime), var(--teal));
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 0.93rem;
}

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

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

.header-action,
.button,
.copy-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.header-action {
  background: var(--lime);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 26, 22, 0.9) 0%, rgba(8, 26, 22, 0.72) 42%, rgba(8, 26, 22, 0.28) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=82") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(0deg, rgba(16, 35, 31, 0.66), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: var(--lime);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 11vw, 8.7rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

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

.button.primary {
  background: var(--lime);
  color: var(--ink);
}

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

.button:hover,
.header-action:hover,
.copy-button:hover {
  transform: translateY(-1px);
}

.hero-status {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 30px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  max-width: 520px;
  gap: 10px;
}

.hero-status span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  backdrop-filter: blur(12px);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.intro {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 34px;
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 950px;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(1.25rem, 2.8vw, 2.15rem);
  line-height: 1.24;
}

.intro-line {
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) 1.22fr;
  gap: 56px;
  align-items: start;
}

.service-grid,
.work-grid {
  display: grid;
  gap: 16px;
}

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

.service-grid article,
.work-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(19, 41, 36, 0.08);
}

.service-grid article {
  min-height: 230px;
  padding: 26px;
}

.service-number {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--teal);
  font-weight: 900;
}

.service-grid p,
.work-card span,
.section-heading p,
.company p,
.contact p,
.legal p {
  color: #52635f;
}

.work {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 560px;
  margin-bottom: 10px;
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
  min-height: 260px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(220, 231, 120, 0.22), transparent 44%),
    var(--white);
}

.work-card p {
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: start;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.facts div {
  min-height: 118px;
  padding: 22px;
  background: var(--white);
}

.facts dt {
  margin-bottom: 10px;
  color: #687873;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 46px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.contact-panel {
  padding: 28px;
}

.email-link {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.copy-button {
  border-color: var(--line);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.site-footer {
  display: flex;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: #667671;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.site-footer span:last-child {
  display: flex;
  gap: 18px;
}

.plain-page {
  background:
    radial-gradient(circle at top right, rgba(16, 138, 128, 0.12), transparent 34%),
    var(--paper);
}

.legal {
  width: min(820px, calc(100% - 32px));
  margin: 92px auto;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 5.2rem);
}

.legal h2 {
  margin-top: 32px;
  font-family: "Aptos", "Segoe UI", Calibri, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 128px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .intro,
  .split,
  .section-heading,
  .company,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-line {
    width: 94px;
  }

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

@media (max-width: 560px) {
  .header-action {
    display: none;
  }

  .hero {
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .section {
    padding: 60px 0;
  }

  .service-grid article,
  .work-card,
  .contact-panel,
  .legal {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
