:root {
  --ink: #071817;
  --ink-soft: #17302c;
  --forest: #1d6b38;
  --moss: #78a843;
  --aqua: #4fbfc2;
  --gold: #d7a43a;
  --clay: #b35f3d;
  --paper: #f6f3ea;
  --white: #fffdf7;
  --line: rgba(7, 24, 23, 0.14);
  --shadow: 0 24px 70px rgba(7, 24, 23, 0.14);
  --max: 1180px;
}

* {
  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;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 253, 247, 0.83), rgba(255, 253, 247, 0.86)),
    repeating-linear-gradient(90deg, rgba(7, 24, 23, 0.035) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(7, 24, 23, 0.025) 0 1px, transparent 1px 80px);
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  background: rgba(255, 253, 247, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(7, 24, 23, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(7, 24, 23, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px;
  border-radius: 7px;
  color: rgba(7, 24, 23, 0.78);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(79, 191, 194, 0.13);
}

.site-nav .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: var(--forest);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.15fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 92vh;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 46px;
}

.hero-media {
  position: relative;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(7, 24, 23, 0.16);
}

.hero-media::before {
  inset: 13% -8% -8% 13%;
  background: rgba(79, 191, 194, 0.16);
}

.hero-media::after {
  inset: -8% 16% 14% -8%;
  background: rgba(120, 168, 67, 0.18);
}

.hero-media img {
  width: min(100%, 430px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.8vw, 5.9rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4.6vw, 4.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.18;
}

.hero-lede {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  font-weight: 800;
}

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

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

.button.secondary {
  background: rgba(255, 253, 247, 0.72);
}

.button.secondary:hover {
  background: rgba(215, 164, 58, 0.16);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-panel div {
  padding: 18px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-panel span {
  display: block;
  margin-bottom: 16px;
  color: var(--clay);
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.hero-panel p {
  margin: 0;
  color: rgba(7, 24, 23, 0.72);
  font-size: 0.95rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0;
}

.belief-grid,
.section-heading,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.belief-copy,
.section-heading p,
.contact-section p {
  color: rgba(7, 24, 23, 0.74);
  font-size: 1.04rem;
}

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

.service-card,
.work-grid article,
.process-track article {
  padding: 24px;
  background: rgba(255, 253, 247, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card.featured {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 24, 23, 0.94), rgba(29, 107, 56, 0.94)),
    var(--ink);
}

.service-card > span {
  display: block;
  margin-bottom: 18px;
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-card.featured > span {
  color: var(--aqua);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(7, 24, 23, 0.73);
}

.service-card p {
  color: rgba(7, 24, 23, 0.73);
}

.service-card.featured p {
  color: rgba(255, 253, 247, 0.78);
}

.industries-section {
  width: 100%;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.industries-section h2 {
  max-width: 800px;
}

.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.industry-cloud span {
  padding: 10px 14px;
  color: rgba(255, 253, 247, 0.86);
  border: 1px solid rgba(255, 253, 247, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.06);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 32px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.process-track article {
  min-height: 220px;
}

.process-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 32px;
  color: var(--white);
  background: var(--forest);
  border-radius: 50%;
  font-weight: 800;
}

.field-work-section {
  width: 100%;
  background:
    linear-gradient(rgba(7, 24, 23, 0.88), rgba(7, 24, 23, 0.92)),
    var(--ink);
  color: var(--white);
}

.field-work-inner {
  padding-top: clamp(66px, 9vw, 118px);
  padding-bottom: clamp(66px, 9vw, 118px);
}

.field-work-section .section-heading p {
  color: rgba(255, 253, 247, 0.74);
}

.field-work-section .section-kicker {
  color: var(--aqua);
}

.case-study-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 16px;
  margin-top: 34px;
}

.case-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background: #000;
}

.case-card-large {
  grid-row: span 2;
  min-height: 640px;
}

.case-card img,
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card img {
  position: absolute;
  inset: 0;
  opacity: 0.78;
}

.case-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.case-card div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(22px, 3vw, 34px);
}

.case-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--aqua);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card h3 {
  max-width: 620px;
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  line-height: 1.04;
}

.case-card:not(.case-card-large) h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.case-card p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.78);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 16px;
}

.photo-grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 8px;
  background: #000;
}

.photo-grid .wide {
  grid-column: span 2;
}

.photo-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 38px 16px 14px;
  color: rgba(255, 253, 247, 0.9);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  font-size: 0.9rem;
  font-weight: 700;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.work-grid article {
  min-height: 230px;
  border-top: 5px solid var(--gold);
}

.work-grid article:nth-child(2) {
  border-top-color: var(--aqua);
}

.work-grid article:nth-child(3) {
  border-top-color: var(--clay);
}

.work-grid article:nth-child(4) {
  border-top-color: var(--moss);
}

.why-section {
  width: 100%;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background:
    linear-gradient(90deg, rgba(79, 191, 194, 0.22), rgba(215, 164, 58, 0.18)),
    var(--white);
}

.why-card {
  max-width: 900px;
}

.why-card p {
  max-width: 760px;
  color: rgba(7, 24, 23, 0.75);
  font-size: 1.15rem;
}

.contact-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) 0;
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-section .button {
  justify-self: end;
  min-width: 230px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: rgba(7, 24, 23, 0.7);
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-card-large {
    min-height: 520px;
  }

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

@media (max-width: 800px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .brand span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    padding: 8px;
    background: rgba(255, 253, 247, 0.97);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(7, 24, 23, 0.12);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 106px;
  }

  .hero-media {
    max-width: 290px;
  }

  .hero-content {
    order: -1;
  }

  .hero-panel,
  .belief-grid,
  .section-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .case-card,
  .case-card-large {
    min-height: 420px;
  }

  .photo-grid {
    grid-auto-rows: 220px;
  }

  .hero-panel {
    gap: 10px;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .contact-section .button {
    justify-self: start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    display: none;
  }

  .hero,
  .section,
  .contact-section,
  .site-footer {
    width: calc(100% - 28px);
  }

  .hero-media {
    max-width: 240px;
  }

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

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

  .photo-grid .wide {
    grid-column: auto;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .industry-cloud span {
    width: 100%;
  }
}
