:root {
  --home-ink: #17352c;
  --home-forest: #17624c;
  --home-cream: #f3eee5;
  --home-paper: #fffdf9;
  --home-coral: #d98a42;
  --home-line: rgba(23, 53, 44, 0.2);
  --home-on-forest: #ffffff;
  --home-content-width: 1120px;
  --home-display: Georgia, 'Times New Roman', serif;
  --home-body: Arial, Helvetica, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--home-body);
  line-height: 1.5;
}

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

a:hover {
  text-decoration-thickness: 0.16em;
}

a:focus-visible {
  outline: 0.2rem solid var(--home-coral);
  outline-offset: 0.25rem;
}

.home-wrap {
  width: min(var(--home-content-width), calc(100% - 2.5rem));
  margin-inline: auto;
}

.home-skip-link {
  position: fixed;
  z-index: 20;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  background: var(--home-forest);
  color: var(--home-on-forest);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

.home-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--home-line);
  background: var(--home-paper);
}

.home-header-inner {
  display: flex;
  min-height: 5.25rem;
  align-items: center;
  gap: 1.25rem;
}

.home-brand,
.home-footer-brand {
  color: var(--home-ink);
  font-family: var(--home-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.home-brand {
  font-size: 1.55rem;
}

.home-header nav {
  margin-left: auto;
}

.home-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-nav-list a,
.home-header-cta {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.home-header-cta,
.home-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 0.35rem;
  background: var(--home-forest);
  color: var(--home-on-forest);
  text-decoration: none;
}

.home-header-cta {
  padding: 0.72rem 1rem;
}

.home-hero {
  overflow: hidden;
  background: var(--home-cream);
}

.home-hero-grid {
  display: grid;
  min-height: min(48rem, calc(100vh - 5.25rem));
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.home-hero-copy {
  max-width: 43rem;
}

.home-eyebrow {
  margin: 0 0 1.3rem;
  color: currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--home-display);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 9vw, 7.5rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.home-hero-lead,
.home-section-lead,
.home-process-lead,
.home-contact-copy p {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.65;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.home-button-primary {
  padding: 0.9rem 1.1rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-text-link {
  font-size: 0.86rem;
  font-weight: 700;
}

.home-hero-visual {
  position: relative;
  min-height: 27rem;
  display: grid;
  place-items: center;
}

.home-hero-visual::before {
  position: absolute;
  width: min(30rem, 90%);
  height: min(30rem, 90%);
  border-radius: 50%;
  background: var(--home-coral);
  content: '';
  opacity: 0.9;
}

.home-visual-window {
  position: relative;
  z-index: 1;
  width: min(25rem, 88%);
  overflow: hidden;
  border: 0.7rem solid var(--home-forest);
  border-radius: 0.35rem;
  background: var(--home-paper);
  box-shadow: 1.5rem 1.5rem 0 rgba(23, 53, 44, 0.18);
  transform: rotate(-3deg);
}

.home-visual-bar {
  display: flex;
  gap: 0.35rem;
  padding: 0.65rem 0.8rem;
  background: var(--home-forest);
}

.home-visual-bar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--home-coral);
}

.home-visual-content {
  min-height: 19rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
}

.home-visual-kicker {
  margin: 0;
  color: var(--home-forest);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-visual-title {
  max-width: 10ch;
  margin: 2.4rem 0 0;
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 0.98;
}

.home-visual-lines {
  display: grid;
  gap: 0.45rem;
  margin-top: 2.2rem;
}

.home-visual-lines span {
  display: block;
  height: 0.35rem;
  background: var(--home-line);
}

.home-visual-lines span:nth-child(1) { width: 82%; }
.home-visual-lines span:nth-child(2) { width: 65%; }
.home-visual-lines span:nth-child(3) { width: 73%; }

.home-visual-button {
  width: max-content;
  margin-top: 1.8rem;
  padding: 0.55rem 0.8rem;
  background: var(--home-coral);
  color: var(--home-ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-visual-note {
  position: absolute;
  z-index: 2;
  padding: 0.55rem 0.8rem;
  background: var(--home-paper);
  color: var(--home-ink);
  font-family: var(--home-display);
  font-size: 1.05rem;
  box-shadow: 0.45rem 0.45rem 0 rgba(23, 53, 44, 0.16);
}

.home-visual-note-top {
  top: 8%;
  right: 2%;
  transform: rotate(5deg);
}

.home-visual-note-bottom {
  bottom: 10%;
  left: 2%;
  transform: rotate(-6deg);
}

.home-section {
  padding-block: clamp(4.5rem, 10vw, 9rem);
}

.home-solution {
  background: var(--home-paper);
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.home-section-heading > .home-section-lead {
  margin: 0;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--home-line);
  background: var(--home-line);
}

.home-capability-card {
  min-height: 17rem;
  padding: 1.6rem;
  background: var(--home-paper);
}

.home-card-number,
.home-step-number {
  margin: 0;
  color: var(--home-forest);
  font-size: 0.75rem;
  font-weight: 700;
}

.home-capability-card h3 {
  margin-top: 2.75rem;
}

.home-capability-card > p:last-child {
  margin: 1rem 0 0;
  line-height: 1.55;
}

.home-process {
  background: var(--home-forest);
  color: var(--home-on-forest);
}

.home-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: start;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.home-process-lead {
  color: var(--home-on-forest);
}

.home-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.home-steps li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home-step-number {
  color: var(--home-coral);
}

.home-steps h3 {
  color: var(--home-on-forest);
}

.home-steps p {
  max-width: 28rem;
  margin: 0.7rem 0 0;
  color: var(--home-on-forest);
}

.home-contact {
  background: var(--home-coral);
  color: var(--home-ink);
}

.home-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  align-items: end;
  gap: 3rem;
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.home-contact h2 {
  max-width: 12ch;
}

.home-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.7rem;
  font-family: var(--home-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  text-decoration-thickness: 0.06em;
}

.home-footer {
  background: var(--home-paper);
  color: var(--home-ink);
}

.home-footer-inner {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 1.2rem;
}

.home-footer-inner p {
  margin: 0;
  font-size: 0.78rem;
}

.home-footer-brand {
  font-size: 1.1rem;
}

.home-footer-inner > a {
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 860px) {
  .home-header-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 1rem;
  }

  .home-header nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .home-header-cta {
    margin-left: auto;
  }

  .home-hero-grid,
  .home-process-grid,
  .home-contact-inner {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 24rem;
  }

  .home-section-heading {
    display: block;
  }

  .home-section-heading > .home-section-lead {
    margin-top: 1.25rem;
  }
}

@media (max-width: 620px) {
  .home-wrap {
    width: min(var(--home-content-width), calc(100% - 2rem));
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .home-capability-grid {
    grid-template-columns: 1fr;
  }

  .home-capability-card {
    min-height: 13rem;
  }

  .home-capability-card h3 {
    margin-top: 1.8rem;
  }

  .home-footer-inner {
    display: block;
  }

  .home-footer-inner > a {
    display: inline-block;
    margin-top: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
