:root {
  --forest-950: #071f1b;
  --forest-900: #0d3029;
  --forest-800: #163d35;
  --mint: #9ed6c7;
  --mint-strong: #7bc6b2;
  --amber: #efb85a;
  --paper: #f7f5ee;
  --mist: #e7ebe6;
  --ink: #102d27;
  --muted: #5f706b;
  --line: #cbd3cf;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'Courier New', Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); margin: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: #82c9b7; color: #0c2d26; }

.site-header {
  align-items: center;
  background: rgba(8, 31, 27, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 82px;
  left: 0;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand { align-items: center; display: inline-flex; gap: .75rem; width: fit-content; }
.brand-mark { display: grid; gap: 3px; width: 31px; }
.brand-mark span { background: var(--mint-strong); display: block; height: 2px; }
.brand-mark span:nth-child(1) { width: 31px; }
.brand-mark span:nth-child(2) { margin-left: 5px; width: 23px; }
.brand-mark span:nth-child(3) { margin-left: 11px; width: 15px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .18em; }
.brand-copy small { color: #9fc2b7; font-size: .61rem; letter-spacing: .24em; margin-top: .3rem; }
.site-header nav { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.site-header nav a { color: #d7e2de; font-size: .83rem; transition: color 180ms ease; }
.site-header nav a:hover { color: #fff; }
.header-cta { align-items: center; display: flex; font-size: .83rem; gap: .55rem; justify-self: end; }
.header-cta span { color: var(--amber); font-size: 1rem; }

.hero { color: #fff; min-height: 780px; overflow: hidden; position: relative; }
.hero-image { height: 100%; inset: 0; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,29,25,.98), rgba(5,29,25,.84) 35%, rgba(5,29,25,.28) 69%, rgba(5,29,25,.08)), linear-gradient(0deg, rgba(4,23,20,.74), transparent 45%); inset: 0; position: absolute; }
.hero-grid { background-image: linear-gradient(rgba(144,205,187,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(144,205,187,.09) 1px, transparent 1px); background-size: 76px 76px; inset: 0; mask-image: linear-gradient(90deg, #000, transparent 62%); position: absolute; }
.hero-content { max-width: 760px; padding: 184px clamp(1.25rem, 7vw, 8rem) 170px; position: relative; z-index: 2; }
.eyebrow, .kicker { align-items: center; color: #47776b; display: flex; font-family: var(--mono); font-size: .72rem; font-weight: 700; gap: .7rem; letter-spacing: .13em; margin: 0 0 1.35rem; text-transform: uppercase; }
.kicker-link { width: fit-content; }
.kicker-link:hover { color: var(--forest-900); }
.eyebrow { color: #a7d2c7; }
.eyebrow span { background: var(--amber); height: 7px; width: 7px; }
.hero h1, .section h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero h1 { font-size: clamp(3.25rem, 6.5vw, 6.7rem); line-height: .96; margin: 0; }
.hero h1 em { color: var(--mint); font-style: normal; font-weight: 400; }
.hero-lede { color: #d2dfdb; font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; margin: 2rem 0 0; max-width: 620px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.2rem; }
.primary-action { align-items: center; background: var(--amber); color: #15342d; display: inline-flex; font-size: .88rem; font-weight: 700; gap: .8rem; padding: 1.05rem 1.2rem; transition: background 180ms ease, transform 180ms ease; }
.primary-action:hover { background: #ffc96d; transform: translateY(-2px); }
.text-action { align-items: center; color: #e4ece9; display: inline-flex; font-size: .88rem; gap: .35rem; }
.hero-readout { backdrop-filter: blur(11px); background: rgba(8,31,27,.78); border-left: 1px solid rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14); bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); padding: 1.45rem clamp(1.25rem, 3vw, 2.8rem); position: absolute; right: 0; width: min(760px, 66vw); z-index: 2; }
.hero-readout > div { border-left: 1px solid rgba(255,255,255,.13); padding-left: 1.2rem; position: relative; }
.hero-readout > div:first-child { border: 0; }
.hero-readout p { color: #89b5a9; font-family: var(--mono); font-size: .6rem; letter-spacing: .13em; margin: 0 0 .45rem; }
.hero-readout strong { font-size: .84rem; font-weight: 500; }
.readout-dot { background: #71d2b9; border-radius: 50%; box-shadow: 0 0 0 4px rgba(113,210,185,.15); height: 6px; left: -3px; position: absolute; top: 4px; width: 6px; }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.section h2 { font-size: clamp(2.35rem, 4.5vw, 4.7rem); line-height: 1.03; margin: 0; }
.section-heading { align-items: start; display: grid; gap: 1.5rem; grid-template-columns: .35fr 1.85fr .65fr; margin-bottom: 4rem; }
.section-heading h2 { font-size: clamp(2.35rem, 3.25vw, 4rem); white-space: nowrap; }
.section-heading > p:last-child, .industry-intro > p:last-child, .approach-copy > p { color: var(--muted); font-size: 1rem; line-height: 1.7; margin: 0; }
.service-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.services .section-heading {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.services .section-heading h2 { width: 100%; white-space: normal; }
.services .section-heading > p { max-width: 65ch; }
.capabilities-heading-row {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.5fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 4rem;
}
.capabilities-logo { display: block; width: 100%; max-width: 400px; height: auto; margin: 0 auto; }
.services .capabilities-heading-row .section-heading { margin-bottom: 0; justify-items: start; text-align: left; }
@media (max-width: 700px) {
  .capabilities-heading-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .capabilities-logo { max-width: 300px; }
  .services .capabilities-heading-row .section-heading { justify-items: center; text-align: center; }
}
.service-card { border-right: 1px solid var(--line); min-height: 320px; padding: 1.7rem; transition: background 180ms ease, transform 180ms ease; }
.service-card:last-child { border-right: 0; }
.service-card:hover { background: #fff; transform: translateY(-4px); }
.service-card-top { align-items: center; color: #47776b; display: flex; font-family: var(--mono); font-size: .7rem; justify-content: space-between; }
.line-icon { font-size: 1.5rem; }
.service-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -.025em; margin: 6.5rem 0 .8rem; }
.service-card > p { color: #61716c; font-size: .95rem; line-height: 1.7; margin: 0; max-width: 340px; }

.industries { align-items: start; background: var(--mist); display: grid; gap: clamp(3rem, 8vw, 9rem); grid-template-columns: .85fr 1.3fr; }
.industry-intro { position: sticky; top: 3rem; }
.industry-intro > p:last-child { margin-top: 1.7rem; max-width: 490px; }
.industry-list { border-top: 1px solid #aebdb7; }
.industry-list article { align-items: start; border-bottom: 1px solid #aebdb7; display: grid; gap: 1.4rem; grid-template-columns: 30px 1fr 24px; padding: 1.7rem .3rem; }
.industry-number { color: #66847b; font-family: var(--mono); font-size: .65rem; padding-top: .3rem; }
.industry-list h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 .4rem; }
.industry-list p { color: #61716c; font-size: .92rem; line-height: 1.55; margin: 0; max-width: 560px; }
.industry-list article > span:last-child { color: #68857d; }

.approach { background: var(--forest-900); color: #fff; display: grid; gap: clamp(4rem, 8vw, 9rem); grid-template-columns: 1.2fr .8fr; }
.kicker.light { color: #8fc1b3; }
.approach-copy > p { color: #c0d0cb; margin-top: 1.7rem; max-width: 610px; }
.workflow { border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 3.2rem; }
.workflow > div { align-items: start; border-bottom: 1px solid rgba(255,255,255,.16); display: grid; gap: .8rem; grid-template-columns: 26px 1fr; padding: 1rem .7rem 1rem 0; }
.workflow span { color: var(--amber); font-family: var(--mono); font-size: .66rem; }
.workflow p { color: #aec3bd; font-size: .86rem; line-height: 1.5; margin: 0; }
.workflow strong { color: #fff; }
.deliverables-panel { align-self: center; background: var(--forest-800); border: 1px solid rgba(255,255,255,.15); padding: clamp(1.5rem, 4vw, 3rem); }
.deliverables-panel > p:first-child { color: #8fc1b3; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; margin: 0 0 1.7rem; }
.deliverables-panel ul { list-style: none; margin: 0; padding: 0; }
.deliverables-panel li { align-items: center; border-top: 1px solid rgba(255,255,255,.12); display: flex; font-size: .91rem; gap: .75rem; padding: .85rem 0; }
.deliverables-panel li span { color: var(--amber); }
.panel-note { color: #8eaaa2; font-size: .75rem; line-height: 1.5; margin: 1.3rem 0 0; }

footer { align-items: center; background: var(--forest-950); color: #c0d0cb; display: grid; font-size: .73rem; gap: 2rem; grid-template-columns: auto 1fr auto auto; letter-spacing: .04em; padding: 2rem clamp(1.25rem, 7vw, 8rem); }
footer > p { margin: 0; }
footer > a:last-child { justify-self: end; }
.footer-contact a { color: #fff; }

.portfolio-hero { background: var(--forest-950); color: #fff; padding: 11rem clamp(1.25rem, 7vw, 8rem) 5rem; }
.portfolio-hero h1 { font-family: var(--serif); font-size: clamp(3rem, 6vw, 6rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; margin: 0; max-width: 950px; }
.portfolio-hero p:last-child { color: #b9d1ca; font-size: 1.05rem; line-height: 1.7; margin: 1.75rem 0 0; max-width: 650px; }
.portfolio-grid { background: var(--paper); display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(3.5rem, 7vw, 7rem) clamp(1.25rem, 7vw, 8rem); }
.project-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: 330px; padding: clamp(1.5rem, 3vw, 2.5rem); }
.project-card img { aspect-ratio: 16 / 9; margin: -1.5rem -1.5rem 1.75rem; object-fit: cover; width: calc(100% + 3rem); }
.project-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: -1.5rem -1.5rem 1.75rem; }
.project-gallery figure { margin: 0; }
.project-gallery img { aspect-ratio: 4 / 3; display: block; margin: 0; object-fit: cover; width: 100%; }
.project-gallery figcaption { color: var(--muted); font-size: .8rem; line-height: 1.4; padding-top: .4rem; }
.project-meta { color: #47776b; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; margin: 0 0 2.5rem; text-transform: uppercase; }
.project-card h2 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin: 0; }
.project-card > p { color: var(--muted); font-size: 1rem; line-height: 1.65; margin: 1.25rem 0 0; }
.project-outcome { border-top: 1px solid var(--line); color: var(--ink) !important; font-size: .9rem !important; margin-top: auto !important; padding-top: 1.25rem; }
.portfolio-empty { border: 1px dashed #aebdb7; color: var(--muted); font-size: 1rem; grid-column: 1 / -1; padding: 3rem; }

@media (max-width: 1200px) {
  .section-heading { grid-template-columns: 1fr; }
  .section-heading h2 { white-space: normal; }
  .section-heading .kicker { margin-bottom: 0; }
}

@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: 760px; }
  .hero-content { padding-top: 175px; }
  .hero-readout { left: 0; width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { border-bottom: 1px solid var(--line); border-right: 0; min-height: 260px; }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3 { margin-top: 4rem; }
  .industries, .approach { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-intro { position: static; }
  footer { gap: 1.2rem; grid-template-columns: 1fr; }
  footer > a:last-child { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 1.2rem; }
  .hero { min-height: 750px; }
  .hero-content { padding-top: 145px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .hero-lede { font-size: .98rem; }
  .hero-readout { grid-template-columns: 1fr; }
  .hero-readout > div { border-left: 0; display: flex; gap: 1rem; justify-content: space-between; padding: .45rem 0; }
  .hero-readout p { margin: 0; }
  .readout-dot { display: none; }
  .section { padding-bottom: 4.5rem; padding-top: 4.5rem; }
  .workflow { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.site-header .portfolio-nav-button {
  background: #efb85a;
  color: #071f1b;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 4px;
}
.contact-section { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); background: var(--mist); }
.contact-intro > p:last-child { color: var(--muted); line-height: 1.7; max-width: 54ch; margin: 1.5rem 0 0; }
.contact-details { min-width: 0; align-self: center; }
.contact-method { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.contact-method h3 { color: #47776b; font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .75rem; }
.contact-method a { display: inline-block; padding: .35rem 0; font-size: clamp(1.1rem, 2vw, 1.6rem); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .2em; }
.contact-method a:hover { color: #47776b; }
.contact-details .primary-action { margin-top: 1rem; }
@media (max-width: 700px) { .contact-section { grid-template-columns: minmax(0, 1fr); } }
.repeated-logos .site-header .brand-logo {
  width: 145px !important;
  height: 58px !important;
  object-fit: contain;
  flex-shrink: 0;
}
.repeated-logos footer .brand { flex-direction: column; align-items: flex-start; }
.repeated-logos .footer-brand .brand-logo {
  width: 230px !important;
  height: 100px !important;
  object-fit: contain;
}
@media (max-width: 560px) {
  .repeated-logos .site-header { padding: 0 14px; gap: 10px; }
  .repeated-logos .site-header .brand { gap: 8px; }
  .repeated-logos .site-header .brand-logo { width: 76px !important; height: 40px !important; }
  .repeated-logos .site-header .brand-copy strong { font-size: 12px; letter-spacing: .07em; }
  .repeated-logos .site-header .brand-copy small { font-size: 9px; letter-spacing: .12em; }
  .repeated-logos .site-header .portfolio-nav-button { padding: 10px; font-size: 13px; }
}
