:root {
  --green: #39483c;
  --green-dark: #1f2a23;
  --sand: #f4f0e8;
  --paper: #fbfaf6;
  --black: #111111;
  --gray: #dedbd2;
  --muted: #62665f;
  --brass: #a68d5d;
  --max: 1180px;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--sand);
  color: var(--green-dark);
  padding: .75rem 1rem;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.9rem;
  padding: .55rem clamp(1rem, 4vw, 3rem);
  color: var(--sand);
  background:
    linear-gradient(90deg, rgba(28, 33, 17, .88), rgba(56, 62, 34, .72), rgba(31, 39, 20, .9)),
    linear-gradient(0deg, rgba(166, 141, 93, .1), rgba(244, 240, 232, .035)),
    url("assets/header-texture.png") center / cover;
  background-blend-mode: multiply, soft-light, normal;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(244, 240, 232, .12);
}

.site-header.is-scrolled {
  background:
    linear-gradient(90deg, rgba(28, 33, 17, .92), rgba(56, 62, 34, .76), rgba(31, 39, 20, .94)),
    linear-gradient(0deg, rgba(166, 141, 93, .1), rgba(244, 240, 232, .035)),
    url("assets/header-texture.png") center / cover;
  background-blend-mode: multiply, soft-light, normal;
  color: var(--sand);
  border-color: rgba(244, 240, 232, .14);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(10.4rem, 17vw, 14.4rem);
}

.brand-logo,
.footer-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: .82;
  transition: opacity .2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  align-items: center;
  justify-content: center;
  gap: .28rem;
  flex-direction: column;
}

.menu-button span {
  display: block;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--sand);
  padding: 8rem clamp(1.25rem, 7vw, 6rem) 5rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media video {
  filter: saturate(.72) contrast(1.05) brightness(.78);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .82) 0%, rgba(31, 42, 35, .66) 44%, rgba(31, 42, 35, .24) 100%),
    linear-gradient(0deg, rgba(31, 42, 35, .46), rgba(57, 72, 60, .26));
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 42, 35, .24);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--brass);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.45rem, 5.35vw, 4.9rem);
  max-width: 11.8ch;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  max-width: 13ch;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.12;
}

.hero-copy {
  max-width: 540px;
  color: rgba(244, 240, 232, .78);
  font-size: clamp(.95rem, 1.3vw, 1.12rem);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .02em;
  font-family: var(--font-display);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
}

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

.button.primary {
  background: var(--sand);
  color: var(--green-dark);
}

.button.secondary {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.button.small {
  min-height: 2.3rem;
  padding: .5rem .8rem;
  font-size: .78rem;
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: .72;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) clamp(1.25rem, 5vw, 4rem);
}

.manifesto,
.difference {
  background: var(--sand);
}

.manifesto-grid,
.difference-grid,
.cta,
.section-heading,
.service-grid,
.method-list,
.method-layout {
  max-width: var(--max);
  margin-inline: auto;
}

.manifesto-grid,
.difference-grid,
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.manifesto-copy,
.difference-items,
.cta-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.manifesto-title {
  max-width: none;
  font-size: clamp(1.35rem, 2.35vw, 2.25rem);
  line-height: 1.08;
}

.manifesto-title span {
  white-space: nowrap;
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading h2 {
  max-width: 12ch;
}

.compact-section {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.compact-section .section-heading {
  display: grid;
  grid-template-columns: minmax(120px, .22fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.compact-section .section-heading .eyebrow {
  margin-top: .55rem;
}

.compact-section .section-heading h2 {
  max-width: 980px;
  font-size: clamp(1.8rem, 3.1vw, 3.25rem);
  line-height: 1.08;
  white-space: normal;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray);
  border: 1px solid var(--gray);
}

.service-card {
  min-height: 290px;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 0;
  background: var(--paper);
  transition: background .25s ease, transform .25s ease;
}

.service-card:hover {
  background: var(--sand);
  color: var(--green-dark);
  transform: translateY(-4px);
}

.service-icon,
.method-icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon {
  color: var(--green);
  margin-bottom: 2rem;
}

.service-card span {
  display: block;
  color: var(--brass);
  margin-bottom: 1.2rem;
  font-size: .78rem;
  font-weight: 800;
}

.service-card p,
.method-list p,
.footer p {
  color: var(--muted);
}

.method {
  background: var(--paper);
  color: var(--green-dark);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.method-heading {
  position: sticky;
  top: 7rem;
  margin-bottom: 0;
}

.method-heading h2 {
  max-width: 12ch;
  font-size: clamp(1.85rem, 3.2vw, 3.35rem);
  line-height: 1.08;
}

.method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.method-list li {
  display: grid;
  grid-template-columns: 2rem minmax(160px, .45fr) 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(31, 42, 35, .12);
}

.method-list li:nth-child(2) {
  transition-delay: .08s;
}

.method-list li:nth-child(3) {
  transition-delay: .16s;
}

.method-list li:nth-child(4) {
  transition-delay: .24s;
}

.method-list li:nth-child(5) {
  transition-delay: .32s;
}

.method-list span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.method-list p {
  color: var(--muted);
  max-width: 520px;
}

.method-icon {
  color: var(--brass);
  margin-top: .25rem;
}

.difference-items {
  display: grid;
  gap: 1.6rem;
}

.difference-grid h2 {
  max-width: 720px;
  font-size: clamp(1.9rem, 3.9vw, 3.65rem);
  line-height: 1.08;
}

.cta {
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--sand);
}

label {
  display: grid;
  gap: .45rem;
  color: var(--green-dark);
  font-weight: 800;
  font-size: .85rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(31, 42, 35, .18);
  background: var(--paper);
  padding: .95rem;
  border-radius: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  background:
    linear-gradient(90deg, rgba(28, 33, 17, .92), rgba(56, 62, 34, .76), rgba(31, 39, 20, .94)),
    linear-gradient(0deg, rgba(166, 141, 93, .1), rgba(244, 240, 232, .035)),
    url("assets/header-texture.png") center / cover;
  background-blend-mode: multiply, soft-light, normal;
  color: var(--sand);
}

.footer-brandline {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  min-width: 0;
}

.footer-logo {
  width: clamp(10.4rem, 17vw, 14.4rem);
  height: auto;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.footer-divider {
  width: 1px;
  height: clamp(2.25rem, 4vw, 3.25rem);
  background: rgba(244, 240, 232, .34);
  flex: 0 0 auto;
}

.footer p {
  margin: 0;
  color: rgba(244, 240, 232, .68);
  white-space: nowrap;
}

.typewriter-text {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  border-right: 1px solid rgba(244, 240, 232, .72);
  animation: footerTyping 3.8s steps(66, end) .35s forwards, footerCaret .8s step-end infinite;
}

@keyframes footerTyping {
  from {
    max-width: 0;
  }

  to {
    max-width: 43rem;
  }
}

@keyframes footerCaret {
  50% {
    border-color: transparent;
  }
}

.footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 4.9rem 1rem auto;
    display: grid;
    gap: 0;
    padding: 1rem;
    color: var(--green-dark);
    background: var(--paper);
    border: 1px solid rgba(31, 42, 35, .12);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(31, 42, 35, .08);
  }

  .manifesto-grid,
  .difference-grid,
  .cta {
    grid-template-columns: 1fr;
  }

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

  .compact-section .section-heading {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .compact-section .section-heading .eyebrow {
    margin-top: 0;
  }

  .compact-section .section-heading h2 {
    white-space: normal;
  }

  .method-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .method-heading {
    position: static;
  }

}

@media (max-width: 640px) {
  .site-header {
    min-height: 4.35rem;
    padding: .5rem 1.15rem;
  }

  .brand {
    width: clamp(9.8rem, 45vw, 11.2rem);
  }

  .menu-button {
    width: 2.45rem;
    height: 2.45rem;
  }

  .site-nav {
    inset: 4.35rem 1rem auto;
  }

  .hero {
    align-items: end;
    min-height: 100svh;
    padding: 6.6rem 1.25rem 3.4rem;
  }

  .hero-content {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 9.2vw, 2.7rem);
    max-width: 12.8ch;
    line-height: 1.05;
    margin-bottom: 1rem;
  }

  .hero-copy {
    max-width: 30rem;
    margin-bottom: 1.25rem;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(17, 17, 17, .9) 0%, rgba(31, 42, 35, .62) 58%, rgba(31, 42, 35, .22) 100%),
      linear-gradient(90deg, rgba(31, 42, 35, .48), rgba(31, 42, 35, .16));
  }

  .hero-actions,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .section {
    padding: 3.4rem 1.25rem;
  }

  .manifesto-grid,
  .difference-grid,
  .cta {
    gap: 1.75rem;
  }

  .manifesto-title {
    font-size: clamp(1.22rem, 5.45vw, 1.45rem);
    line-height: 1.12;
  }

  .manifesto-copy,
  .difference-items,
  .cta-content p:not(.eyebrow) {
    font-size: .98rem;
  }

  .compact-section {
    padding-top: 3rem;
  }

  .section-heading {
    margin-bottom: 1.55rem;
  }

  .compact-section .section-heading h2,
  .method-heading h2,
  .difference-grid h2,
  .cta h2 {
    font-size: clamp(1.7rem, 7.6vw, 2.18rem);
    line-height: 1.08;
  }

  .compact-section .section-heading h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(1.55rem, 6.7vw, 1.95rem);
  }

  .method-heading h2 {
    max-width: 14ch;
  }

  .cta h2 {
    width: 100%;
    max-width: none;
  }

  .footer-brandline {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-logo {
    width: clamp(9.8rem, 52vw, 12rem);
  }

  .footer-divider {
    width: 3.5rem;
    height: 1px;
  }

  .footer p {
    white-space: normal;
  }

  .typewriter-text {
    animation: none;
    max-width: none;
    border-right: 0;
  }

  .button {
    width: 100%;
  }

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

  .service-card {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    column-gap: .85rem;
    row-gap: .65rem;
    min-height: 0;
    padding: 1.2rem;
  }

  .service-icon {
    grid-column: 1;
    margin: .1rem 0 0;
    width: 1.15rem;
    height: 1.15rem;
  }

  .service-card span {
    grid-column: 2;
    margin: 0;
    line-height: 1.2;
  }

  .service-card h3,
  .service-card p {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .service-card h3 {
    margin-top: .2rem;
  }

  .method-list li {
    grid-template-columns: 1.6rem 1fr;
    gap: .35rem .8rem;
    padding: 1rem 0;
  }

  .method-list span {
    font-size: 1.25rem;
  }

  .method-list p {
    grid-column: 2;
    margin-bottom: 0;
  }

  .scroll-cue {
    display: none;
  }

  .contact-form {
    padding: 1.15rem;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(1.92rem, 9vw, 2.35rem);
    max-width: 12.6ch;
  }

  .section {
    padding-inline: 1rem;
  }

  .eyebrow,
  .section-kicker {
    letter-spacing: .14em;
  }

  .manifesto-title {
    font-size: 1.18rem;
  }

  .compact-section .section-heading h2,
  .method-heading h2,
  .difference-grid h2,
  .cta h2 {
    font-size: 1.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
