:root {
  --ink: #111312;
  --ink-soft: #343937;
  --paper: #f7f8f7;
  --white: #ffffff;
  --line: #d8ded9;
  --forest: #144434;
  --forest-deep: #0d2d24;
  --wine: #7a1f32;
  --moss: #b8c86b;
  --shadow: 0 24px 70px rgba(17, 19, 18, 0.18);
  --max: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  color: var(--white);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(247, 248, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(calc(100% - 2rem), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 760;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.94rem;
}

.nav-links a {
  position: relative;
  color: currentColor;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.72rem 0.95rem;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  transform: translateX(-50%);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.nav-toggle::before {
  top: calc(50% - 4px);
}

.nav-toggle::after {
  top: calc(50% + 4px);
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translate(-50%, 4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translate(-50%, -4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1581091226033-d5c48150dbaa?auto=format&fit=crop&w=2100&q=82");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 19, 18, 0.88), rgba(17, 19, 18, 0.56) 48%, rgba(17, 19, 18, 0.2)),
    linear-gradient(0deg, rgba(17, 19, 18, 0.74), rgba(17, 19, 18, 0.02) 56%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-height) + 4rem) 0 5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 790px;
  font-size: 5.2rem;
}

h2 {
  font-size: 3.15rem;
}

h3 {
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    background 170ms ease,
    color 170ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

.hero .button-primary {
  color: var(--ink);
  background: var(--moss);
  border-color: var(--moss);
}

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

.section {
  padding: 6.5rem 0;
}

.section-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 4rem;
  align-items: start;
}

.section-heading {
  max-width: 560px;
}

.section-heading.compact {
  max-width: 760px;
  margin-bottom: 2.8rem;
}

.snapshot-copy {
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.snapshot-copy p:first-child {
  margin-top: 0;
}

.snapshot-copy p:last-child {
  margin-bottom: 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  min-height: 8.5rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
}

.proof-strip span,
.card-index,
.timeline-date,
.work-kicker {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  max-width: 16rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.capabilities {
  color: var(--white);
  background: var(--forest-deep);
}

.capabilities .section-heading {
  color: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.capability-card {
  min-height: 21rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-card p {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.capability-card .card-index {
  color: var(--moss);
}

.image-band {
  position: relative;
  min-height: 32rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 19, 18, 0.78), rgba(17, 19, 18, 0.12));
}

.image-band-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 4rem 0;
}

.image-band-copy p {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
  line-height: 1.12;
}

.section-note {
  margin-top: 1.3rem;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.3rem;
  padding: 1.35rem 0 1.45rem;
  border-top: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-item p {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
}

.credentials {
  background: #edf0ed;
}

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

.credential-card {
  min-height: 14rem;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.credential-card p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
}

.work {
  background: var(--white);
}

.work-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.work-item {
  min-height: 12rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 1.55rem;
  background: var(--white);
}

.work-kicker {
  margin: 0 0 0.7rem;
}

.work-item p:last-child {
  color: var(--ink-soft);
}

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

.contact-inner {
  max-width: 900px;
}

.contact h2 {
  max-width: 720px;
}

.contact p:not(.eyebrow):not(.copy-status) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.copy-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--moss);
}

.contact-email {
  margin: 1.2rem 0 0;
}

.contact-email a {
  color: var(--moss);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer {
  padding: 1.5rem 0;
  color: var(--white);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 4px;
}

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

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

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

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

@media (max-width: 920px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    background: var(--forest);
    color: var(--white) !important;
    border-color: var(--forest);
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .grid-two,
  .work-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .proof-strip,
  .capability-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 15rem;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 19, 18, 0.9), rgba(17, 19, 18, 0.64)),
      linear-gradient(0deg, rgba(17, 19, 18, 0.78), rgba(17, 19, 18, 0.12));
  }

  .hero-inner {
    padding-bottom: 3.2rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy,
  .snapshot-copy,
  .contact p:not(.eyebrow):not(.copy-status) {
    font-size: 1.02rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .proof-strip div {
    min-height: 7.25rem;
  }

  .image-band {
    min-height: 25rem;
  }

  .image-band-copy p {
    font-size: 1.72rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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