:root {
  --ink: #171717;
  --text: #2b2d2b;
  --muted: #60665f;
  --paper: #f7f4ee;
  --surface: #fffdf8;
  --line: #d8d0c3;
  --green: #24483f;
  --blue: #1e3d52;
  --amber: #b06f20;
  --rust: #8c4b31;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

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

button,
.button,
.nav-action {
  cursor: pointer;
  touch-action: manipulation;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(176, 111, 32, 0.52);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(216, 208, 195, 0.86);
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 780;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  font-weight: 850;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 11px 12px;
  color: #2d2e2c;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
}

.nav-action,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface) !important;
  padding: 12px 18px;
  font-weight: 780;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink) !important;
}

.nav-action:hover,
.button:hover {
  border-color: var(--green);
  background: var(--green);
}

.button.secondary:hover {
  border-color: var(--surface);
  background: var(--surface);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 156px);
  overflow: hidden;
  color: var(--surface);
  background: #111;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12, 13, 12, 0.84) 0%, rgba(12, 13, 12, 0.58) 42%, rgba(12, 13, 12, 0.1) 78%), var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}

.hero-content {
  position: relative;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: inherit;
  align-content: end;
  margin: 0 auto;
  padding: 76px 0 66px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d3a7;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  color: var(--surface);
  font-size: clamp(46px, 7vw, 88px);
}

h2 {
  max-width: 820px;
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  font-size: 23px;
}

.hero-copy {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: #f7efe4;
  font-size: 20px;
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(840px, 100%);
  margin-top: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.metric {
  min-height: 104px;
  padding: 18px;
  background: rgba(17, 17, 17, 0.42);
}

.metric strong {
  display: block;
  color: var(--surface);
  font-size: 22px;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: #eadfce;
  font-size: 13px;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 56px 0;
}

.band {
  background: #ece4d8;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head p,
.copy p,
.service-card p,
.process-step p,
.insight-card p,
.contact-panel p {
  color: var(--muted);
}

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

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

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.process-feature {
  align-items: start;
}

.process-feature .section-head {
  display: block;
  margin-bottom: 26px;
}

.feature-media {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-height: 520px;
}

.feature-media img {
  width: 100%;
  height: clamp(320px, 38vw, 520px);
  aspect-ratio: auto;
  object-fit: cover;
}

.feature-media img[src*="meeting-boardroom"] {
  object-position: center 56%;
}

.feature-media img[src*="team-laptop-review"] {
  object-position: center 64%;
}

.feature-media img[src*="writing-notes-office"] {
  object-position: center 54%;
}

.copy h2 {
  margin-bottom: 20px;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.copy-grid div {
  border-top: 3px solid var(--amber);
  background: var(--surface);
  padding: 16px 16px 18px;
}

.copy-grid strong {
  display: block;
  color: var(--ink);
}

.copy-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.service-card,
.insight-card,
.contact-panel,
.process-step {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.04);
}

.service-card,
.insight-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
}

.service-card > img,
.insight-card > img {
  width: 100%;
  height: 210px;
  max-height: 210px;
  aspect-ratio: auto;
  object-fit: cover;
  flex: 0 0 210px;
  object-position: center;
}

.service-card > img[src*="team-laptop-review"] {
  object-position: center 62%;
}

.service-card > img[src*="writing-notes-office"],
.insight-card > img[src*="writing-notes-office"] {
  object-position: center 58%;
}

.service-card > img[src*="meeting-boardroom"],
.insight-card > img[src*="meeting-boardroom"] {
  object-position: center 56%;
}

.service-card > :not(img),
.insight-card > :not(img) {
  margin-left: 24px;
  margin-right: 24px;
}

.service-card .kicker,
.insight-card .kicker,
.process-step .kicker {
  margin-top: 22px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-card h3,
.insight-card h3 {
  margin-top: 8px;
}

.service-card p,
.insight-card p {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--green);
}

.process-list {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.process-step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  counter-increment: steps;
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--blue);
  color: var(--surface);
  font-weight: 850;
}

.process-step .kicker {
  margin-top: 0;
}

.process-step h3 {
  margin-top: 6px;
}

.process-step p {
  margin-bottom: 0;
}

.insight-card {
  min-height: 430px;
}

.insight-card a {
  margin-top: auto;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.58fr);
  gap: 28px;
  align-items: start;
}

.contact-panel {
  overflow: hidden;
  padding: 28px;
}

.contact-panel h2 {
  max-width: 680px;
  font-size: 46px;
}

.panel-photo {
  width: calc(100% + 56px);
  max-width: none;
  height: 260px;
  max-height: 260px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 55%;
  margin: -28px -28px 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.contact-list div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-list a {
  color: var(--green);
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid #2e332f;
  background: var(--ink);
  color: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-inner p {
  margin: 6px 0 0;
  color: #d8d0c3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a {
  color: #efe7d9;
  font-weight: 700;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 240ms ease, transform 240ms ease;
}

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

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

  .js .reveal,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 12px 16px 18px;
  }

  body.menu-open .nav-links {
    display: grid;
  }

  .nav-links a,
  .nav-action {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-metrics,
  .grid-3,
  .grid-2,
  .image-feature,
  .section-head,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-media {
    max-height: none;
  }

  .feature-media img {
    height: 320px;
    aspect-ratio: auto;
  }

  .section {
    padding: 62px 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav,
  .hero-content,
  .container {
    width: calc(100% - 24px);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background-image: linear-gradient(90deg, rgba(12, 13, 12, 0.88), rgba(12, 13, 12, 0.54)), var(--hero-image);
    background-position: center;
  }

  .hero-content {
    padding: 54px 0 42px;
  }

  .hero h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .contact-panel h2 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-metrics,
  .copy-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 18px;
  }

  .process-step::before {
    width: 42px;
    height: 42px;
  }

  .service-card > :not(img),
  .insight-card > :not(img) {
    margin-left: 18px;
    margin-right: 18px;
  }

  .service-card > img,
  .insight-card > img {
    height: 190px;
    max-height: 190px;
    flex-basis: 190px;
  }

  .feature-media img {
    height: 260px;
  }

  .panel-photo {
    height: 210px;
    max-height: 210px;
  }
}
