:root {
  --bg: #f6f4ee;
  --paper: #fffdf8;
  --ink: #141413;
  --muted: #66625b;
  --soft: #ebe6dc;
  --line: rgba(20, 20, 19, 0.12);
  --green: #184f45;
  --green-2: #0d3830;
  --clay: #a85f3b;
  --blue: #315a78;
  --shadow: 0 20px 60px rgba(31, 28, 22, 0.1);
  --radius: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 244, 238, 0.9)),
    var(--bg);
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid transparent;
  background: rgba(246, 244, 238, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, background 160ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.94);
}

.brand {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 680;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
}

.site-nav a:hover,
.nav-cta {
  color: var(--ink);
  background: rgba(20, 20, 19, 0.06);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 75px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0;
}

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

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 11ch;
  font-size: clamp(4.1rem, 9vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: #403d38;
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions,
.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.article-row:hover,
.text-link:hover,
.video-list a:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.primary:hover {
  background: var(--green-2);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.button.ghost.dark {
  background: transparent;
}

.hero-panel {
  position: relative;
  margin: 0;
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-strip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-strip span {
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 253, 248, 0.82);
  color: #1e211d;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.section > * {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section.compact {
  padding-top: clamp(42px, 7vw, 84px);
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: end;
}

.focus-grid p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--green);
  font-weight: 820;
}

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

.article-row {
  display: grid;
  grid-template-columns: 132px minmax(220px, 0.9fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: transform 160ms ease;
}

.article-row span,
.timeline span,
.service-grid span {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-row strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.article-row p {
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.split > * {
  width: auto;
  margin: 0;
}

.split > div:first-child {
  position: sticky;
  top: 108px;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.timeline h3,
.timeline p {
  grid-column: 2;
}

.timeline p {
  margin-bottom: 0;
}

.tinted {
  background: #eceee7;
}

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

.service-grid article {
  min-height: 236px;
  padding: 24px;
  border: 1px solid rgba(20, 20, 19, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
}

.service-grid h3 {
  margin-top: 36px;
}

.dark-section {
  background: #171815;
  color: #fff;
}

.dark-section p,
.dark-section .section-label {
  color: rgba(255, 255, 255, 0.68);
}

.dark-section .text-link {
  color: #f4d8bc;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.video-list a {
  display: grid;
  min-height: 190px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #22241f;
  transition: transform 160ms ease, background 160ms ease;
}

.video-list a:hover {
  background: #2b2e27;
}

.play-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f7f0e5;
  position: relative;
}

.play-mark::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 12px;
  border-left: 13px solid var(--green);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.contact {
  display: grid;
  grid-template-columns: minmax(270px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.contact > * {
  width: auto;
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 13px 14px;
  background: #fbfaf6;
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(24, 79, 69, 0.16);
  border-color: var(--green);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

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

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: space-between;
    padding: 0 14px;
  }

  .hero,
  .focus-grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-panel img {
    aspect-ratio: 16 / 10;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .split > div:first-child {
    position: static;
  }

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

  .timeline article {
    grid-template-columns: 1fr;
  }

  .timeline h3,
  .timeline p {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .brand span:last-child {
    max-width: 56vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
