:root {
  color-scheme: light;
  --forest: #192820;
  --deep: #101d17;
  --lime: #d5ef8b;
  --paper: #f7f7ef;
  --ink: #192820;
  --muted: #4c5a51;
  --line: #cdd2c7;
  --gutter: clamp(1.25rem, 5vw, 5.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.25rem; }
body {
  margin: 0;
  font: 1rem/1.6 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
.wrap { width: min(100% - var(--gutter) * 2, 81rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 3; padding: .6rem 1rem; background: var(--lime); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header, .hero { background: var(--forest); color: var(--paper); }
.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid #ffffff26; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.header-inner { min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.15rem; font-weight: 750; text-decoration: none; line-height: 1.1; white-space: nowrap; }
.brand small { display: block; font-size: .75rem; font-weight: 500; margin-top: .25rem; }
.brand-mark { width: 2rem; height: 2rem; background: var(--lime); clip-path: polygon(0 38%, 48% 0, 100% 38%, 100% 100%, 62% 100%, 62% 54%, 40% 54%, 40% 100%, 0 100%); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.75rem, 3vw, 2.25rem); }
nav a { font-size: .9rem; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid #e8efde70; padding: .45rem .95rem; }
.nav-cta:hover { background: var(--lime); color: var(--deep); text-decoration: none; }

.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.75rem, 7vw, 6.5rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 750; }
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: currentColor; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3.2rem, 7.5vw, 8.25rem); margin-block: 1.4rem; }
h1 em { color: var(--lime); font-style: normal; }
.intro { max-width: 35ch; color: #e0e7dd; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.button { display: inline-block; margin-top: 1.8rem; padding: .85rem 1.2rem; background: var(--lime); color: var(--deep); font-weight: 750; text-decoration: none; }
.button:hover { background: #e7f8b6; }
.hero-visual { position: relative; background: #38443c; }
.hero-visual img { aspect-ratio: 5 / 4; height: auto; object-fit: cover; filter: saturate(.58); }
.hero-visual figcaption { padding: .5rem .75rem; font-size: .8rem; color: #e0e7dd; }

.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: start; gap: 1rem; }
.section-heading .eyebrow { padding-top: .5rem; }
h2 { font-size: clamp(2.45rem, 5vw, 5.2rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-grid article { padding: 1.55rem clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }
.service-grid article:first-child { padding-left: 0; border-left: 0; }
.service-icon { display: block; width: 2.25rem; height: 2.25rem; margin-bottom: 1.3rem; background: #345945; }
.build { clip-path: polygon(0 100%, 0 55%, 32% 55%, 32% 28%, 64% 28%, 64% 0, 100% 0, 100% 100%); }
.renew { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 72%, 72% 72%, 72% 28%, 0 28%); }
.upgrade { clip-path: polygon(0 70%, 50% 0, 100% 70%, 100% 100%, 50% 30%, 0 100%); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); margin-bottom: .6rem; }
.service-grid p, .process p:not(.eyebrow) { color: var(--muted); max-width: 42ch; }
.process { background: #e8ede2; }
.process-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); }
.process h2, .contact h2 { margin-block: .7rem 1rem; }
.process dl { border-top: 1px solid #b7c1b3; }
.process dl div { padding-block: .9rem; border-bottom: 1px solid #b7c1b3; }
.process dt { font-weight: 750; }
.process dd { color: var(--muted); }
.contact { background: var(--lime); }
.contact-details { display: flex; flex-wrap: wrap; gap: .75rem; font-style: normal; }
.contact-link { display: block; padding: .75rem 1rem; border: 1px solid #19282055; font-weight: 650; overflow-wrap: anywhere; text-decoration: none; }
.contact-link span { display: block; font-size: .875rem; font-weight: 500; }
.contact-link:hover { background: var(--forest); color: var(--paper); }
.site-footer { background: var(--deep); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 2rem; padding-block: clamp(2rem, 5vw, 4rem); }
.footer-grid p { margin-top: .9rem; color: #d4ded3; }
.footer-grid .footer-tax { margin-top: .5rem; font-size: .95rem; }
.footer-grid h2 { margin-bottom: .75rem; font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; justify-items: start; gap: .35rem; font-style: normal; color: #d4ded3; overflow-wrap: anywhere; }
.footer-links a { font-size: .95rem; }
.footer-inner { border-top: 1px solid #ffffff26; padding-block: 1.1rem; }
.footer-inner a { font-size: .9rem; }

@media (max-width: 53rem) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-visual img { aspect-ratio: 4 / 5; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 1fr); }
}
@media (max-width: 42rem) {
  html { scroll-padding-top: 1rem; }
  .site-header { position: static; }
  .header-inner { flex-direction: column; align-items: stretch; gap: .75rem; padding-top: 1rem; }
  .header-inner .brand { align-self: flex-start; }
  .site-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #ffffff26; }
  .site-nav a { display: grid; place-items: center; min-height: 3rem; padding: .4rem .2rem; text-align: center; }
  .site-nav .nav-cta { border: 0; color: var(--lime); }
  .site-nav .nav-cta:hover { color: var(--deep); }
  .hero-inner, .section-heading, .service-grid, .process-inner { grid-template-columns: 1fr; }
  .hero-inner { align-items: start; }
  h1 { font-size: clamp(2.85rem, 12vw, 5.25rem); }
  h2 { font-size: clamp(2.1rem, 8vw, 3.5rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-inner { flex-wrap: wrap; gap: .35rem 1rem; }
  .footer-links a, .footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .service-grid article, .service-grid article:first-child { padding-inline: 0; border-left: 0; }
  .service-grid article + article { border-top: 1px solid var(--line); }
  .contact-details { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 28rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual {
    animation: enter .65s cubic-bezier(.2, .7, .3, 1) both;
  }

  .hero-visual { animation-delay: .12s; }

  .button, .nav-cta, .contact-link {
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
  }

  .button:hover, .contact-link:hover { transform: translateY(-2px); }

  @keyframes enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @supports (animation-timeline: view()) {
    .section-heading, .service-grid, .process-inner, .contact .wrap {
      animation: enter ease-out both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
