:root {
  color-scheme: light;
  --page: #fff8ec;
  --surface: #ffffff;
  --ink: #1f2522;
  --muted: #60675f;
  --line: #eadfcf;
  --accent: #237b71;
  --accent-dark: #165d55;
  --warm: #c7532c;
  --leaf: #78a641;
  --sun: #f2b544;
  --rose: #df6e74;
  --shadow: 0 18px 42px rgba(76, 57, 30, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito Sans", "Inter", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 18px;
}

.site-header {
  border-bottom: 2px solid var(--line);
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  display: inline-flex;
  line-height: 0;
  font-family: "Nunito Sans", "Inter", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: auto;
  width: 180px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #f4eadb;
  color: var(--ink);
}

main {
  flex: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 28px 0 48px;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 26px;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: min(100%, 500px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(18, 34, 39, 0.16));
}

.hero-copy {
  max-width: 620px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  min-height: 44px;
  padding: 10px 16px;
}

.button.primary {
  background: var(--warm);
  color: #ffffff;
}

.button.primary:hover {
  background: #a63f20;
  color: #ffffff;
}

.button.secondary {
  background: #fffaf2;
  border-color: var(--line);
  color: var(--ink);
}

.content-section {
  border-top: 1px solid var(--line);
  padding: 64px 0;
}

.content-section.compact {
  max-width: 760px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.capability-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 56px;
  align-items: start;
}

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

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(260px, 1.3fr);
  gap: 24px;
  padding: 24px 0;
}

.capability-item h3 {
  font-size: 17px;
}

.capability-item p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-list {
  color: var(--muted);
  margin: 0;
  padding-left: 20px;
}

.project-list li {
  padding-left: 4px;
}

.page {
  padding-bottom: 64px;
}

.page-header {
  max-width: 980px;
  padding: 88px 0 56px;
}

.page-header h1 {
  margin-bottom: 18px;
}

.page-header p {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.two-column p,
.contact-details p {
  color: var(--muted);
}

.contact-details {
  max-width: 720px;
}

.contact-link {
  display: inline-block;
  color: var(--warm);
  font-size: 30px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.contact-link:hover {
  color: #a63f20;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  margin: 24px auto 0;
  padding: 26px 0 32px;
  text-align: center;
  width: min(1120px, calc(100% - 40px));
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 26px;
  }

  .site-header {
    align-items: center;
  }

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

  .brand-logo {
    width: 164px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 18px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: min(100%, 220px);
  }

  .capability-section,
  .capability-item,
  .two-column {
    grid-template-columns: 1fr;
  }

  .capability-section {
    gap: 24px;
  }

  .capability-section .section-heading {
    margin-bottom: 4px;
  }

  .capability-item {
    gap: 8px;
  }

  .page-header {
    padding-top: 52px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 36px;
  }

  .contact-link {
    font-size: 24px;
  }

  body {
    line-height: 1.55;
  }

  .site-header,
  main,
  .site-footer {
    width: min(1120px, calc(100% - 28px));
  }

  .site-nav a {
    padding: 7px 8px;
  }

  .hero-media img {
    width: min(100%, 220px);
  }

  .content-section {
    padding: 48px 0;
  }

}
