:root {
  --navy: #071827;
  --navy-2: #0d2940;
  --blue: #10629a;
  --cyan: #23b6c8;
  --green: #29a875;
  --green-text: #177453;
  --lime: #8fd3a8;
  --ink: #132333;
  --muted: #627383;
  --paper: #f5f8fa;
  --white: #fff;
  --line: #dce6eb;
  --shadow: 0 24px 60px rgba(5, 28, 43, 0.12);
  --content-width: 1440px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

/* Header and navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 clamp(24px, 5vw, 88px);
  border-bottom: 1px solid rgba(12, 45, 65, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-crop {
  position: relative;
  display: block;
  width: 118px;
  height: 64px;
  overflow: hidden;
}

.logo-crop img {
  position: absolute;
  top: -39px;
  left: -38px;
  width: 191px;
  max-width: none;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--green-text);
}

.main-nav .nav-cta {
  padding: 11px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-switch a,
.language-switch span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 28px;
  border-radius: 7px;
}

.language-switch span[aria-current="page"] {
  color: var(--white);
  background: var(--green-text);
}

.language-switch a:hover,
.language-switch a:focus-visible {
  color: var(--green-text);
  background: var(--paper);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--navy);
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--paper);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 45px;
  min-height: 820px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 150px clamp(24px, 7vw, 120px) 90px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 38%, #eff8f6);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(16, 98, 154, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 98, 154, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to right, #000, transparent 65%);
}

.hero-content,
.hero-visual {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-section h2 {
  margin: 0;
  font: 800 clamp(44px, 5vw, 76px) / 1.05 Manrope, sans-serif;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 780px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #247f5f);
  box-shadow: 0 10px 24px rgba(16, 98, 154, 0.2);
}

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

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  font: 700 16px Manrope, sans-serif;
}

.hero-proof span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  height: 530px;
}

.hero-montage {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.hero-montage::before {
  position: absolute;
  top: 6%;
  right: 3%;
  width: 82%;
  height: 84%;
  border: 1px solid rgba(16, 98, 154, 0.18);
  background-image:
    linear-gradient(rgba(16, 98, 154, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 98, 154, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 32px;
  content: "";
  transform: rotate(4deg);
}

.montage-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #dfe6e9;
  border: 5px solid var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 55px rgba(5, 28, 43, 0.22);
}

.montage-card picture,
.montage-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.montage-card img {
  object-fit: cover;
}

.montage-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(4, 20, 32, 0.84), transparent);
  content: "";
}

.montage-card figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font: 700 11px Manrope, sans-serif;
}

.montage-card figcaption b {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--green-text);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.montage-card figcaption span {
  min-width: 0;
  line-height: 1.2;
}

.montage-milling {
  top: 76px;
  left: 0;
  z-index: 1;
  width: 72%;
  height: 340px;
  transform: rotate(-2.5deg);
}

.montage-milling img {
  object-position: center;
}

.montage-robot {
  top: 4px;
  right: 0;
  z-index: 3;
  width: 47%;
  height: 220px;
  transform: rotate(2.5deg);
}

.montage-robot img {
  object-position: center 52%;
}

.montage-schedule {
  right: -1%;
  bottom: 24px;
  z-index: 4;
  width: 54%;
  height: 190px;
  transform: rotate(-1.5deg);
}

.montage-schedule img {
  object-position: center top;
}

.montage-signature {
  position: absolute;
  bottom: 2px;
  left: 3%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 98, 154, 0.14);
  border-radius: 100px;
  box-shadow: 0 10px 24px rgba(5, 28, 43, 0.12);
  backdrop-filter: blur(10px);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.montage-signature i {
  color: var(--green-text);
  font-size: 14px;
  font-style: normal;
  letter-spacing: normal;
}

.problem-strip {
  padding: 32px clamp(24px, 8vw, 150px);
  color: var(--white);
  text-align: center;
  background: var(--navy);
  font-size: 20px;
}

.problem-strip p {
  margin: 0;
}

.problem-strip strong {
  color: #78d6ac;
}

/* Shared sections */
.section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 110px clamp(24px, 7vw, 120px);
}

.section-heading {
  max-width: 830px;
  margin-bottom: 55px;
}

.section h2,
.cta-section h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.capability {
  position: relative;
  grid-column: span 2;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability.featured {
  grid-column: span 3;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.capability:nth-child(2) {
  grid-column: span 3;
}

.capability:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.capability .number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #738896;
  font-size: 11px;
}

.capability .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--green-text);
  background: #eaf7f1;
  border-radius: 13px;
  font-size: 24px;
}

.capability.featured .icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.capability h3 {
  margin: 22px 0 10px;
  font: 700 22px Manrope, sans-serif;
}

.capability p {
  color: var(--muted);
}

.capability.featured p {
  color: #b7c8d3;
}

.capability ul {
  margin-bottom: 0;
  padding-left: 18px;
  font-size: 13px;
}

/* Workflow */
.dark-section {
  max-width: none;
  color: var(--white);
  background: var(--navy);
}

.dark-section > * {
  width: min(100%, calc(var(--content-width) - clamp(48px, 14vw, 240px)));
  margin-right: auto;
  margin-left: auto;
}

.section-heading.light > p:last-child {
  color: #c1d0d9;
}

.workflow-bridge {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 28px;
}

.bridge-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 118px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.bridge-problem {
  background: linear-gradient(135deg, #0d3a66, #105e91);
}

.bridge-value {
  background: linear-gradient(135deg, #126f68, #23936f);
}

.bridge-symbol {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font: 800 18px Manrope, sans-serif;
}

.bridge-card strong {
  display: block;
  font: 800 17px Manrope, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bridge-card p {
  margin: 4px 0 0;
  color: #d6e5ec;
  font-size: 13px;
  line-height: 1.45;
}

.bridge-arrow {
  align-self: center;
  color: #78d6ac;
  font-size: 30px;
}

.workflow-map {
  display: grid;
  grid-template-areas: "principles core outcomes";
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 2.6fr) minmax(190px, 0.72fr);
  align-items: start;
  gap: 22px;
}

.principles { grid-area: principles; }
.workflow-core { grid-area: core; min-width: 0; }
.outcomes { grid-area: outcomes; }

.workflow-sidebar {
  padding: 24px 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.workflow-sidebar h3 {
  margin: 0 0 20px;
  font: 700 21px Manrope, sans-serif;
}

.sidebar-kicker,
.stage-kicker {
  margin: 0 0 4px;
  color: #78d6ac;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.workflow-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-list strong,
.workflow-list span {
  display: block;
}

.workflow-list strong {
  margin-bottom: 4px;
  color: #dff5ea;
  font-size: 12px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.workflow-list span {
  color: #b8c9d3;
  font-size: 12px;
  line-height: 1.45;
}

.analysis-stage {
  padding: 26px;
  color: var(--ink);
  background: #f8fbfd;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.stage-heading {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stage-number,
.timeline-number {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font: 800 13px Manrope, sans-serif;
}

.stage-heading h3 {
  margin: 0;
  font: 700 23px Manrope, sans-serif;
}

.analysis-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 20px 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.model-grid section {
  padding: 17px;
  border: 1px solid #9bcac5;
  border-radius: 14px;
  background: #f2faf8;
}

.model-grid section:nth-child(2) {
  border-color: #a6c9a9;
  background: #f5fbf6;
}

.model-grid section:nth-child(3) {
  border-color: #9fc5df;
  background: #f2f8fc;
}

.model-grid section > span {
  color: var(--green-text);
  font: 800 16px Manrope, sans-serif;
}

.model-grid h4 {
  margin: 5px 0 7px;
  font: 700 14px Manrope, sans-serif;
}

.model-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.workflow-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 18px 0 0;
  padding: 28px 0 0;
  list-style: none;
}

.workflow-timeline::before {
  position: absolute;
  top: 49px;
  right: 4%;
  left: 4%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  border-radius: 3px;
  content: "";
}

.workflow-timeline li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 48px 14px 17px;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
}

.workflow-timeline .timeline-number {
  position: absolute;
  top: 0;
  left: 50%;
  border: 4px solid var(--navy);
  transform: translateX(-50%);
}

.workflow-timeline h3 {
  margin: 8px 0;
  color: var(--white);
  font: 700 14px / 1.3 Manrope, sans-serif;
  text-align: center;
}

.workflow-timeline p {
  margin: 0;
  color: #b5c8d3;
  font-size: 11px;
  line-height: 1.48;
}

.workflow-note {
  margin-top: 24px;
  margin-bottom: 0;
  color: #b5c8d3;
  font-size: 12px;
  text-align: center;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.project-main {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 0;
  overflow: hidden;
}

.project-copy {
  padding: 38px 42px 38px 0;
}

.project h3 {
  font: 700 25px Manrope, sans-serif;
}

.tag {
  color: var(--green-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-visual {
  position: relative;
  display: block;
  margin: 0;
  min-height: 440px;
  overflow: hidden;
  background: linear-gradient(145deg, #071827, #12618f);
}

.milling-visual picture,
.milling-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.milling-visual img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}

.milling-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(to top, rgba(5, 22, 35, 0.72), transparent);
  content: "";
  pointer-events: none;
}

.milling-visual figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.milling-visual figcaption span {
  padding: 7px 11px;
  color: var(--white);
  background: rgba(7, 24, 39, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-facts span {
  padding: 7px 11px;
  background: var(--paper);
  border-radius: 100px;
  font-size: 11px;
}

.project-mini {
  display: grid;
  place-items: center;
  height: 320px;
  margin-bottom: 25px;
  overflow: hidden;
  color: var(--white);
  border-radius: 15px;
  font: 800 50px Manrope, sans-serif;
}

.project-image picture,
.project-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.project-image {
  position: relative;
}

.project-image img {
  object-fit: cover;
}

.project-image::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(5, 22, 35, 0.7), transparent);
  content: "";
  pointer-events: none;
}

.project-image-tags {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-image-tags span {
  padding: 7px 10px;
  color: var(--white);
  background: rgba(7, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.robot-visual img {
  object-position: center 55%;
}

.schedule-visual {
  background: #f4f7f9;
}

.schedule-visual img {
  object-position: center top;
}

.placeholder-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

/* About and contact */
.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 75px;
  background: var(--paper);
}

.about-quote {
  position: sticky;
  top: 130px;
}

.about-quote > span {
  color: var(--green);
  opacity: 0.25;
  font: 800 140px / 1 Georgia, serif;
}

.about-quote blockquote {
  margin: -70px 0 0;
  font: 700 34px / 1.35 Manrope, sans-serif;
}

.about-copy > p {
  color: var(--muted);
  font-size: 17px;
}

.about-values {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.about-values div {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border-radius: 14px;
}

.about-values span {
  color: var(--muted);
  font-size: 13px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 100px clamp(24px, 7vw, 120px);
  background: linear-gradient(140deg, #eaf7f1, #eef6fb);
}

.cta-copy > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.contact-card {
  padding: 34px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font: 700 26px Manrope, sans-serif;
}

.contact-email {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font: 700 22px Manrope, sans-serif;
}

.contact-details {
  font-style: normal;
}

.contact-card p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.company-data {
  display: flex;
  flex-direction: column;
  margin: 20px 0;
  color: var(--muted);
  font-size: 11px;
}

.button.full {
  width: 100%;
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px clamp(24px, 7vw, 120px);
  color: #a9bac5;
  background: #06131e;
  font-size: 12px;
}

.footer-brand .logo-crop {
  background: var(--white);
  border-radius: 10px;
}

.footer-legal {
  display: flex;
  gap: 18px;
  color: #8499a6;
}

/* Progressive animation */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1180px) {
  .workflow-map {
    grid-template-areas:
      "core core"
      "principles outcomes";
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .main-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(5, 28, 43, 0.13);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    min-height: 44px;
    padding: 10px 12px;
  }

  .main-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .main-nav .language-switch {
    align-self: flex-start;
    margin: 8px 12px 4px;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero-visual {
    width: min(680px, 100%);
    height: 470px;
    margin: 0 auto;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability.featured,
  .capability:nth-child(2) {
    grid-column: 1 / -1;
  }

  .workflow-timeline {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }

  .workflow-timeline::before {
    display: none;
  }

  .workflow-timeline li {
    padding: 20px;
  }

  .workflow-timeline .timeline-number {
    position: static;
    margin-bottom: 12px;
    border: 0;
    transform: none;
  }

  .workflow-timeline h3 {
    text-align: left;
  }

  .project-main,
  .about-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .project-copy {
    padding: 30px;
  }

  .about-quote {
    position: static;
  }

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

  .project,
  .project-main {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .workflow-bridge {
    grid-template-columns: 1fr;
  }

  .bridge-arrow {
    justify-self: center;
    line-height: 1;
    transform: rotate(90deg);
  }

  .workflow-map {
    grid-template-areas:
      "core"
      "principles"
      "outcomes";
    grid-template-columns: 1fr;
  }

  .model-grid,
  .workflow-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 0 14px 0 8px;
  }

  .hero {
    min-height: 0;
    padding: 120px 22px 65px;
  }

  .hero h1 {
    font-size: clamp(36px, 11vw, 42px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-visual {
    height: 390px;
  }

  .montage-card {
    border-width: 4px;
    border-radius: 15px;
  }

  .montage-card figcaption {
    right: 9px;
    bottom: 8px;
    left: 9px;
    gap: 6px;
    font-size: 8px;
  }

  .montage-card figcaption b {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
    font-size: 8px;
  }

  .montage-milling {
    top: 62px;
    width: 78%;
    height: 260px;
  }

  .montage-robot {
    top: 5px;
    width: 54%;
    height: 158px;
  }

  .montage-schedule {
    right: 0;
    bottom: 18px;
    width: 62%;
    height: 136px;
  }

  .montage-signature { display: none; }

  .section,
  .dark-section {
    padding: 78px 22px;
  }

  .dark-section > * {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .bridge-card {
    min-height: 0;
    padding: 19px;
  }

  .analysis-stage,
  .workflow-sidebar {
    padding: 20px;
  }

  .analysis-goals {
    display: block;
  }

  .project-visual {
    min-height: 300px;
  }

  .project-mini {
    height: 210px;
  }

  .about-quote blockquote {
    font-size: 27px;
  }

  .cta-section {
    padding: 78px 22px;
  }

  footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

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

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

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

}
