:root {
  --ink: #17201b;
  --ink-soft: #334038;
  --forest: #17241d;
  --forest-2: #23372c;
  --moss: #596b55;
  --ochre: #a86f3a;
  --ochre-dark: #805027;
  --stone: #d8d0c3;
  --surface: #f7f5ef;
  --surface-2: #ece6da;
  --white: #fffdf7;
  --line: rgba(23, 32, 27, 0.14);
  --shadow: 0 24px 80px rgba(23, 32, 27, 0.16);
  --radius: 8px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--forest);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  color: var(--white);
  transition: background 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.site-header.is-scrolled,
.site-header.nav-is-open {
  background: rgba(255, 253, 247, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(100% - 32px, 1240px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 58px;
  height: 44px;
  object-fit: contain;
  background: rgba(255, 253, 247, 0.82);
  border-radius: 6px;
  padding: 4px;
}

.site-header.is-scrolled .brand img,
.site-header.nav-is-open .brand img {
  background: transparent;
}

.brand span {
  font-size: 16px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  text-decoration: none;
  color: currentColor;
  font-weight: 600;
}

.site-nav a:hover {
  background: rgba(255, 253, 247, 0.14);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.nav-is-open .site-nav a:hover {
  background: rgba(23, 32, 27, 0.07);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--white);
  color: var(--forest);
}

.site-header.is-scrolled .header-cta:hover,
.site-header.nav-is-open .header-cta:hover {
  background: var(--forest);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 720px;
  isolation: isolate;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 12, 0.82) 0%, rgba(10, 15, 12, 0.54) 38%, rgba(10, 15, 12, 0.08) 72%),
    linear-gradient(0deg, rgba(10, 15, 12, 0.54) 0%, rgba(10, 15, 12, 0.04) 42%);
}

.hero__content {
  padding: 144px 0 120px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--ochre);
  font-size: 14px;
  font-weight: 700;
}

.hero .eyebrow {
  color: #efcfaa;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 58px;
}

h2 {
  margin-bottom: 24px;
  font-size: 42px;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.hero__lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(255, 253, 247, 0.9);
  font-size: 20px;
}

.hero__actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

.button--primary {
  background: var(--ochre);
  color: var(--white);
  border: 1px solid var(--ochre);
}

.button--primary:hover {
  background: var(--ochre-dark);
  border-color: var(--ochre-dark);
}

.button--text {
  color: var(--white);
  border: 1px solid rgba(255, 253, 247, 0.44);
}

.button--text:hover {
  background: rgba(255, 253, 247, 0.12);
}

.button--outline {
  color: var(--white);
  border: 1px solid rgba(255, 253, 247, 0.38);
}

.button--outline:hover {
  background: rgba(255, 253, 247, 0.12);
}

.hero__proof {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1px;
  max-width: 820px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 -1px 0 rgba(255, 253, 247, 0.28);
}

.hero__proof span {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0 24px;
  background: var(--white);
  font-weight: 700;
}

.trust-band {
  background: var(--forest);
  color: var(--white);
  box-shadow: inset 0 -1px 0 rgba(255, 253, 247, 0.1);
}

.trust-band__inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) 1.6fr;
  align-items: center;
  gap: 32px;
}

.trust-band p {
  margin: 0;
  color: rgba(255, 253, 247, 0.8);
}

.trust-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-list li {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 253, 247, 0.07);
  border: 1px solid rgba(255, 253, 247, 0.12);
  border-radius: var(--radius);
}

.trust-list img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.trust-list span {
  font-weight: 700;
  line-height: 1.25;
}

.section {
  padding: 104px 0;
}

.section--light {
  background:
    linear-gradient(90deg, rgba(216, 208, 195, 0.34) 1px, transparent 1px) 0 0 / 80px 80px,
    var(--surface);
}

.section-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.58fr;
  gap: 64px;
  align-items: start;
}

.section-copy {
  position: sticky;
  top: 112px;
  max-width: 420px;
}

.section-copy p:not(.section-kicker),
.process__intro p,
.area-panel__content p,
.about-copy p,
.contact-card p {
  color: var(--ink-soft);
}

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

.service-item {
  min-height: 384px;
  display: grid;
  grid-template-rows: 210px 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(23, 32, 27, 0.08);
}

.service-item--large {
  grid-column: span 2;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: auto;
  min-height: 400px;
}

.service-item--compact {
  min-height: 336px;
}

.service-item--text {
  grid-template-rows: 1fr;
  background: var(--forest);
  color: var(--white);
}

.service-item img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.service-item--large img {
  min-height: 400px;
}

.service-item div {
  padding: 24px;
}

.service-item--large div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.service-item--text p {
  color: rgba(255, 253, 247, 0.76);
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--ochre);
  background: rgba(168, 111, 58, 0.12);
  border-radius: 6px;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item--text .icon {
  background: rgba(255, 253, 247, 0.1);
  color: #efcfaa;
}

.section--split {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process__intro {
  max-width: 460px;
}

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

.process-list li {
  min-height: 208px;
  padding: 28px;
  background: var(--surface);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--ochre);
  font-weight: 700;
}

.process-list p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section--image {
  background: var(--surface-2);
}

.area-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.area-panel__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.area-panel__content {
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.area-tags span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.section--about {
  background: var(--forest);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 72px;
  align-items: center;
}

.about-card {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 48px;
  background: rgba(255, 253, 247, 0.94);
  color: var(--forest);
  border-radius: var(--radius);
}

.about-card img {
  width: min(100%, 240px);
  height: auto;
}

.about-card p {
  margin: 24px 0 0;
  font-weight: 700;
}

.about-copy {
  max-width: 680px;
}

.about-copy p:not(.section-kicker) {
  color: rgba(255, 253, 247, 0.78);
  font-size: 18px;
}

.contact-section {
  padding: 80px 0;
  background: var(--forest-2);
  color: var(--white);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.contact-card h2 {
  margin-bottom: 16px;
}

.contact-card p:not(.section-kicker) {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.78);
}

.site-footer {
  background: #101711;
  color: rgba(255, 253, 247, 0.78);
  font-size: 14px;
}

.site-footer__inner {
  width: min(100% - 32px, 1240px);
  min-height: 56px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

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

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    min-height: 700px;
  }

  .hero__content {
    padding-bottom: 152px;
  }

  .hero__proof {
    left: 0;
    justify-content: flex-start;
  }

  .trust-band__inner,
  .section-grid,
  .process,
  .area-panel,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .trust-band__inner {
    padding: 24px 0;
  }

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

  .section-copy {
    position: static;
    max-width: 620px;
  }

  .service-item--large {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .area-panel__image img {
    min-height: 360px;
  }

  .area-panel__content {
    padding: 40px;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    width: min(100% - 24px, 1240px);
    min-height: 68px;
  }

  .brand img {
    width: 50px;
    height: 38px;
  }

  .brand span {
    max-width: 130px;
    line-height: 1.2;
  }

  .site-nav {
    inset: 68px 12px auto 12px;
  }

  .hero {
    min-height: 660px;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(10, 15, 12, 0.82) 0%, rgba(10, 15, 12, 0.48) 64%, rgba(10, 15, 12, 0.16) 100%),
      linear-gradient(0deg, rgba(10, 15, 12, 0.68) 0%, rgba(10, 15, 12, 0.04) 46%);
  }

  .hero__content {
    padding: 116px 0 164px;
  }

  h1 {
    max-width: 10ch;
    font-size: 38px;
  }

  h2 {
    font-size: 31px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__proof {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero__proof span {
    min-height: 44px;
    padding: 0 16px;
  }

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

  .section {
    padding: 72px 0;
  }

  .section-grid,
  .process,
  .about-grid {
    gap: 40px;
  }

  .service-item,
  .service-item--compact {
    min-height: auto;
  }

  .service-item img,
  .service-item--large img {
    min-height: 220px;
  }

  .area-panel__content,
  .about-card,
  .process-list li {
    padding: 28px;
  }

  .contact-section {
    padding: 64px 0;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
}

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