:root {
  --ink: #111b2d;
  --ink-soft: #465363;
  --paper: #f5f7f2;
  --white: #ffffff;
  --green: #159d50;
  --green-dark: #0b7139;
  --green-pale: #dff3e5;
  --blue: #12a8df;
  --blue-dark: #087fae;
  --line: #d7e0d9;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(17, 27, 45, 0.09);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(2.9rem, 4.5vw, 4.5rem);
  font-weight: 820;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  letter-spacing: -0.04em;
}

h4 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.anchor-alias {
  position: absolute;
  top: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 100px 0;
}

.eyebrow,
.section-kicker,
.project-label {
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 56px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 790px;
  margin-bottom: 0;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--ink-soft);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 21px;
  border: 1px solid var(--green-dark);
  border-radius: 7px;
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 8px 20px rgba(11, 113, 57, 0.15);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: #075d2e;
  box-shadow: 0 11px 25px rgba(11, 113, 57, 0.22);
  transform: translateY(-2px);
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.85rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--green-dark);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(215, 224, 217, 0.88);
  background: rgba(245, 247, 242, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand picture,
.brand img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.08rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 1.75vw, 27px);
}

.site-nav > .nav-link {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav > .nav-link:hover,
.site-nav > .nav-link[aria-current="location"] {
  color: var(--green-dark);
}

.site-nav > .nav-link[aria-current="location"]::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  content: "";
}

.nav-toggle {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 96px;
  background:
    radial-gradient(circle at 82% 35%, rgba(18, 168, 223, 0.09), transparent 27%),
    radial-gradient(circle at 8% 82%, rgba(21, 157, 80, 0.08), transparent 24%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 27, 45, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 27, 45, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  mask-image: linear-gradient(to right, #000, transparent 45%, #000);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
  padding: 24px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--green);
}

.hero-lede {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
}

.hero h1 {
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 36px;
}

.hero-proof {
  max-width: 650px;
  margin: 30px 0 0;
  padding-left: 17px;
  border-left: 3px solid var(--green);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-proof strong {
  color: var(--ink);
}

.hero-proof a {
  color: var(--green-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.hero-photo {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: auto;
}

.hero-photo figcaption {
  padding: 12px 17px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* About */

.about {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(60px, 10vw, 140px);
}

.about-heading h2 {
  max-width: 610px;
}

.about-copy > p {
  margin: 0 0 20px;
  color: var(--ink-soft);
}

.about-copy .about-lede {
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.58;
}

.affiliation {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.affiliation img {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  object-fit: contain;
}

.affiliation p {
  margin: 0;
  color: var(--ink-soft);
}

/* What we build */

.build {
  background: #edf2ec;
}

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

.build-pillars article {
  padding: 30px 34px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.build-pillars h3 {
  max-width: 430px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}

.build-pillars p {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
}

.capabilities-note {
  margin: 24px 0 0;
  color: var(--ink-soft);
}

.capabilities-note strong {
  color: var(--green-dark);
}

.capabilities {
  border-top: 1px solid var(--line);
}

.overview-pillars article {
  min-height: 245px;
}

.pillar-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 0 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--green-pale);
}

.sensor-icon i {
  width: 18px;
  height: 29px;
  border: 3px solid currentColor;
  border-radius: 9px 9px 4px 4px;
  box-shadow: inset 0 -8px 0 var(--blue);
}

.data-icon {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
}

.data-icon i {
  display: block;
  width: 5px;
  border-radius: 3px;
  background: currentColor;
}

.data-icon i:nth-child(1) { height: 14px; }
.data-icon i:nth-child(2) { height: 23px; background: var(--green); }
.data-icon i:nth-child(3) { height: 31px; background: var(--blue); }

.process-block {
  display: grid;
  margin-top: 24px;
  padding: 38px 40px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.7fr);
  gap: 42px;
}

.process-block .section-kicker {
  color: #66e19c;
}

.process-intro h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 2.6vw, 2.4rem);
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-list li {
  padding: 5px 24px 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.process-list .step-number {
  color: #66e19c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.process-list h4 {
  margin-top: 28px;
  color: var(--white);
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.collaborators {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.application-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-grid article {
  min-height: 168px;
  padding: 30px 32px;
}

.application-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.application-grid article:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.application-grid h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
}

.application-grid p {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
}

.conversation-note {
  display: grid;
  align-items: center;
  margin-top: 24px;
  padding: 25px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 26px;
}

.conversation-note strong {
  color: var(--green-dark);
}

.conversation-note p {
  margin: 0;
  color: var(--ink-soft);
}

.conversation-note .text-link {
  white-space: nowrap;
}

/* Projects */

.projects {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(17, 27, 45, 0.07);
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
}

.project-preview {
  display: grid;
  align-items: center;
  padding: clamp(14px, 2.7vw, 34px);
  background: #e7f1ed;
}

.project-preview img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(17, 27, 45, 0.1);
}

.project-copy {
  display: flex;
  padding: clamp(38px, 5vw, 66px);
  flex-direction: column;
  justify-content: center;
}

.project-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4.5vw, 4.7rem);
}

.project-copy > p:not(.project-label) {
  max-width: 650px;
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.project-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 20px;
}

/* Partners */

.partners.section {
  padding-block: 52px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.partners h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.partner-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-list[aria-hidden="true"] {
  display: none;
}

.partner-list li {
  display: grid;
  min-height: 172px;
  justify-items: center;
  align-content: start;
  gap: 12px;
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.partner-list img {
  width: 106px;
  height: 78px;
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  .partner-viewport.is-scrolling {
    overflow: hidden;
  }

  .is-scrolling .partner-track {
    display: flex;
    width: max-content;
    animation: scroll-partners 36s linear infinite;
  }

  .is-scrolling .partner-list {
    display: flex;
    flex: none;
    padding-inline-end: 12px;
  }

  .is-scrolling .partner-list li {
    width: clamp(160px, 20vw, 236px);
  }
}

@keyframes scroll-partners {
  to { transform: translateX(-50%); }
}

/* AddisAirNet case study */

.case-hero {
  padding: clamp(30px, 4vw, 54px) 0 48px;
  background: #eaf4ed;
}

.case-return {
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.case-hero-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 5vw, 76px);
}

.case-hero-copy h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 4.2vw, 4.1rem);
  overflow-wrap: normal;
}

.case-lede {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.case-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 32px;
}

.case-hero-photo {
  min-width: 0;
  margin: 0;
}

.case-hero-photo img {
  width: 100%;
  height: clamp(380px, 34vw, 470px);
  border: 1px solid var(--line);
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.case-study figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(17, 27, 45, 0.16);
  list-style: none;
}

.case-facts li {
  padding: 0 26px;
  border-left: 1px solid rgba(17, 27, 45, 0.14);
}

.case-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-facts strong,
.case-facts span {
  display: block;
}

.case-facts strong {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
}

.case-facts span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}

.case-section {
  padding-block: clamp(64px, 7vw, 96px);
}

.case-section h2 {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
}

.case-results {
  background: var(--white);
}

.case-results-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 5vw, 76px);
}

.case-results-copy h2 {
  max-width: 540px;
}

.case-results-copy > p:not(.section-kicker) {
  max-width: 550px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.case-dashboard {
  min-width: 0;
  margin: 0;
}

.case-dashboard > a {
  display: block;
}

.case-dashboard img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
}

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

.case-engineering-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 56px;
  margin-bottom: 52px;
}

.case-engineering h2,
.case-engineering h3 {
  color: var(--white);
}

.case-engineering-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.case-engineering-heading > p {
  max-width: 470px;
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.case-steps li {
  padding: 26px 28px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.case-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-step-number {
  display: block;
  margin-bottom: 24px;
  color: #66e19c;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.case-steps h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.case-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.case-next-step {
  background: var(--white);
}

.case-next-step-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #eaf4ed;
}

.case-next-step h2 {
  max-width: 700px;
  margin-bottom: 14px;
}

.case-next-step p:not(.section-kicker) {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
}

/* Contact */

.contact {
  padding-top: 54px;
  background: var(--paper);
}

.contact-panel {
  display: grid;
  padding: clamp(38px, 6vw, 72px);
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at 100% 0, rgba(18, 168, 223, 0.24), transparent 33%),
    radial-gradient(circle at 0 100%, rgba(21, 157, 80, 0.22), transparent 28%),
    var(--ink);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 7vw, 90px);
}

.section-kicker.light {
  color: #66e19c;
}

.contact h2 {
  margin-bottom: 24px;
  color: var(--white);
}

.contact-intro > p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.direct-contact {
  margin-top: 36px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.direct-contact > span {
  display: block;
  margin: 16px 0 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.direct-contact > a:not(.button) {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-underline-offset: 5px;
}

.contact-email-button {
  width: fit-content;
}

.inquiry-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.inquiry-form-intro h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 1.3rem;
}

.inquiry-form-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

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

.inquiry-form label {
  display: grid;
  gap: 7px;
}

.inquiry-form label > span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  font-weight: 750;
}

.inquiry-form label small {
  color: rgba(255, 255, 255, 0.52);
  font-size: inherit;
  font-weight: 500;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 7px;
  color: var(--ink);
  background: var(--white);
  font-size: 0.93rem;
}

.inquiry-form input,
.inquiry-form select {
  min-height: 48px;
  padding: 9px 12px;
}

.inquiry-form textarea {
  min-height: 122px;
  padding: 12px;
  line-height: 1.5;
  resize: vertical;
}

.inquiry-form textarea::placeholder {
  color: #687482;
  opacity: 1;
}

.inquiry-form .button {
  margin-top: 2px;
}

.form-help {
  margin: -2px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  line-height: 1.55;
}

.button-light {
  width: 100%;
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
  box-shadow: none;
}

.button-light:hover {
  color: var(--ink);
  background: #eaf7ee;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: var(--paper);
}

.footer-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.footer-brand small {
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-inner > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.footer-inner > p:last-child {
  justify-self: end;
}

/* Responsive */

@media (max-width: 980px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 12px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 0.86rem;
    font-weight: 750;
    cursor: pointer;
  }

  .nav-toggle-icon {
    display: flex;
    width: 24px;
    height: 20px;
    flex-direction: column;
    justify-content: space-around;
  }

  .nav-toggle-icon i {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:first-child { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon i:last-child { transform: translateY(-6.5px) rotate(-45deg); }

  .js .site-nav {
    --mobile-nav-top: 76px;
    position: fixed;
    top: var(--mobile-nav-top);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--mobile-nav-top));
    max-height: calc(100dvh - var(--mobile-nav-top));
    overflow-y: auto;
    visibility: hidden;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 30px rgba(17, 27, 45, 0.08);
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: visibility 180ms, opacity 180ms ease, transform 180ms ease;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .js .site-nav > .nav-link {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > .nav-link[aria-current="location"]::after {
    display: none;
  }

  .js .site-nav .button {
    margin-top: 20px;
  }

  .hero {
    padding: 66px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.78fr;
    gap: 38px;
  }

  h1 {
    font-size: clamp(2.75rem, 5.2vw, 3.9rem);
  }

  .about-grid {
    gap: 55px;
  }

  .project-card {
    grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  }

  .process-block {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .conversation-note {
    align-items: start;
    grid-template-columns: 1fr auto;
  }

  .conversation-note p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .case-hero-grid,
  .case-results-grid,
  .case-engineering-heading {
    grid-template-columns: 1fr;
  }

  .case-hero-grid {
    gap: 34px;
  }

  .case-hero-photo img {
    height: 420px;
  }

  .case-results-grid {
    gap: 36px;
  }

  .case-engineering-heading {
    gap: 20px;
  }

}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 52px 0 70px;
  }

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

  .hero-grid {
    gap: 34px;
  }

  .hero-photo {
    border-radius: 18px;
  }

  .about-grid {
    gap: 26px;
  }

  .about-heading h2 {
    margin-bottom: 0;
  }

  .hero-copy {
    padding: 0;
  }

  .section-heading {
    align-items: start;
    gap: 20px;
    margin-bottom: 42px;
  }

  .build-pillars {
    grid-template-columns: 1fr;
  }

  .overview-pillars article,
  .application-grid article {
    min-height: auto;
  }

  .process-list,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .process-list li {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 0;
  }

  .process-list h4 {
    margin-top: 10px;
  }

  .application-grid article:nth-child(odd) {
    border-right: 0;
  }

  .application-grid article:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }

  .project-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .contact-panel {
    gap: 38px;
  }

  .case-hero {
    padding-bottom: 28px;
  }

  .case-return {
    margin-bottom: 24px;
  }

  .case-hero-copy h1 {
    font-size: clamp(2.5rem, 9vw, 3.4rem);
  }

  .case-hero-photo img {
    height: 280px;
  }

  .case-facts {
    grid-template-columns: 1fr;
    margin-top: 22px;
    padding-top: 0;
  }

  .case-facts li,
  .case-facts li:first-child {
    padding: 14px 0;
    border-left: 0;
  }

  .case-facts li + li {
    border-top: 1px solid rgba(17, 27, 45, 0.14);
  }

  .case-section {
    padding-block: 62px;
  }

  .case-engineering-heading {
    margin-bottom: 34px;
  }

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

  .case-steps li,
  .case-steps li:first-child {
    padding: 24px 0;
    border-left: 0;
  }

  .case-steps li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .case-step-number {
    margin-bottom: 14px;
  }

  .case-next-step-inner {
    grid-template-columns: 1fr;
  }

  .case-next-step .button {
    justify-self: start;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p:nth-of-type(1) {
    display: none;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .js .site-nav {
    --mobile-nav-top: 70px;
  }

  .hero {
    padding-top: 44px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 0.66rem;
  }

  .eyebrow span {
    margin-top: 0.45em;
  }

  h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(2.05rem, 10.5vw, 2.85rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .build-pillars article,
  .application-grid article,
  .process-block {
    padding-right: 24px;
    padding-left: 24px;
  }

  .conversation-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .conversation-note p {
    grid-column: auto;
    grid-row: auto;
  }

  .project-card {
    border-radius: 18px;
  }

  .project-copy {
    padding: 32px 24px 38px;
  }

  .project-copy h2 {
    font-size: 2.65rem;
  }

  .project-actions .button {
    width: 100%;
  }

  .contact {
    padding-top: 28px;
  }

  .contact-panel {
    width: calc(100% - 20px);
    padding: 34px 22px;
    border-radius: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 20px;
  }

  .footer-inner {
    align-items: end;
  }

  .footer-inner > p:last-child {
    font-size: 0.7rem;
    text-align: right;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
