:root {
  --ink: #0b1722;
  --ink-2: #172738;
  --blue: #156f9a;
  --blue-bright: #35a9db;
  --blue-soft: #a8dce9;
  --mist: #f0eee8;
  --paper: #f7f5ef;
  --line: #cfd5d8;
  --muted: #3f4d59;
  --yellow: #e8d51b;
  --white: #ffffff;
  --max: 1240px;
  --radius: 0;
  --shadow: none;
}

body {
  background: var(--paper);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  font-family: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  line-height: 1.04;
}

h3 {
  letter-spacing: -0.035em;
}

.wrap,
.nav-wrap,
.hero-inner {
  width: min(var(--max), calc(100% - 64px));
}

.section {
  padding: clamp(6rem, 10vw, 10rem) 0;
}

.section-soft {
  background: var(--mist);
}

.section-head {
  max-width: 880px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-head.center {
  margin-left: 0;
  text-align: left;
}

.section-head.center h2,
.section-head.center .lead {
  margin-left: 0;
  margin-right: 0;
}

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.58;
}

.button {
  min-height: 52px;
  padding: 0.9rem 1.25rem;
  border-radius: 0;
  box-shadow: none;
  font-size: 0.91rem;
  letter-spacing: 0.01em;
}

.button::after {
  content: "\2197";
  margin-left: 0.75rem;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.button:hover::after,
.button:focus-visible::after {
  transform: translate(3px, -3px);
}

.button:hover,
.button:focus-visible {
  transform: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #6bc5e8;
}

.site-header {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(247, 245, 239, 0.96);
  border-bottom-color: rgba(11, 23, 34, 0.13);
  box-shadow: none;
}

.nav-wrap {
  min-height: 82px;
}

.brand {
  min-width: 0;
}

.brand img,
.footer-grid img {
  width: 156px;
}

.nav-links {
  gap: 1.8rem;
  font-size: 0.86rem;
  font-weight: 650;
}

.nav-links .nav-cta {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: transparent;
}

.site-header.is-scrolled .nav-links .nav-cta,
.site-header.menu-open .nav-links .nav-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.nav-dropdown-menu {
  border-radius: 0;
  background: var(--paper);
  box-shadow: 0 24px 50px rgba(11, 23, 34, 0.14);
}

/* Homepage hero */
.home-page .hero {
  min-height: 100svh;
  align-items: stretch;
  background: var(--ink);
}

.home-page .hero-bg {
  object-position: center 46%;
  filter: saturate(0.82) contrast(1.05);
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.035);
  animation: operandiHeroImage 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-page .hero::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.96) 0%, rgba(7, 16, 25, 0.87) 40%, rgba(7, 16, 25, 0.3) 78%, rgba(7, 16, 25, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 16, 25, 0.82) 0%, rgba(7, 16, 25, 0.04) 52%);
}

.home-page .hero-inner {
  min-height: 100svh;
  display: grid;
  align-content: end;
  padding: 11rem 0 2.5rem;
}

.home-page .hero-copy {
  max-width: 940px;
  animation: operandiHeroCopy 780ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-page .hero h1 {
  max-width: 950px;
  margin-bottom: 1.6rem;
  font-size: clamp(3.6rem, 7.5vw, 7.2rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.home-page .hero-lede {
  max-width: 680px;
  margin-bottom: 1.7rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
}

.home-page .hero-location {
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.64);
}

.home-page .hero-proof {
  width: 100%;
  margin-top: clamp(3.5rem, 8vh, 6.5rem);
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
}

.home-page .hero-proof .proof-item {
  min-height: 96px;
  padding: 1.35rem 2rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  backdrop-filter: none;
}

.home-page .hero-proof .proof-item + .proof-item {
  padding-left: 2rem;
}

.home-page .hero-proof .proof-item:last-child {
  border-right: 0;
}

.home-page .hero-proof .proof-item strong {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 650;
}

.home-page .hero-proof .proof-item span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Trust and introduction */
.clients {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(11, 23, 34, 0.13);
  background: var(--paper);
}

.clients-grid {
  grid-template-columns: 1.25fr repeat(4, minmax(120px, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
}

.clients-label {
  grid-column: auto;
  margin: 0;
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.76rem;
  text-align: left;
}

.client-logo {
  min-height: 112px;
  opacity: 0.82;
}

.client-logo img {
  max-width: 100%;
  max-height: 96px;
}

.client-logo.logo-tall img {
  max-height: 106px;
}

.about-section,
.about-section::before,
.about-section::after {
  background: var(--paper);
}

.about-section::before,
.about-section::after {
  display: none;
}

.about-section .two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.about-section h2 {
  max-width: 10em;
  font-size: clamp(2.65rem, 3.7vw, 3.9rem);
  line-height: 1.04;
}

.fit-intro h2,
.proof-layout > div:first-child h2,
.feature-grid > div:first-child h2,
.faq-layout > div:first-child h2,
.service-page .split > div:first-child h2,
.service-page .contact-grid > div:first-child h2 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.media-stack {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.media-primary,
.media-secondary {
  border-radius: 0;
  box-shadow: none;
}

.media-primary::after {
  content: "Cambridge / Ontario";
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 0.55rem 0.7rem;
  background: var(--paper);
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-primary img {
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.media-primary:hover img {
  transform: scale(1.025);
}

.check-list {
  margin-top: 2.5rem;
}

.check-list li {
  grid-template-columns: 1.75rem 1fr;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.check-list li::before {
  width: auto;
  height: auto;
  margin-top: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--blue);
  content: "\2192";
}

/* Problem and fit section */
.fit-section {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

.fit-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.fit-intro .lead,
.fit-section .problem-card p,
.fit-note {
  color: rgba(255, 255, 255, 0.64);
}

.fit-note {
  display: block;
  border-top-color: rgba(255, 255, 255, 0.22);
}

.problem-grid {
  display: block;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
}

.problem-card {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(170px, 0.78fr) minmax(0, 1.22fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.problem-card:hover {
  background: transparent;
  transform: translateX(8px);
}

.problem-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.problem-card p {
  margin: 0;
}

.workflow-visual {
  margin-top: 2.5rem;
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

.workflow-visual::after {
  height: 2px;
  background: var(--yellow);
}

.workflow-stage {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.workflow-stage strong {
  color: var(--white);
}

.workflow-stage span,
.workflow-icon {
  color: var(--blue-soft);
}

.workflow-lines i {
  background: rgba(255, 255, 255, 0.16);
}

/* Service index as an editorial list */
#services {
  background: var(--paper);
}

.services-grid {
  display: block;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}

.service {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(210px, 24vw, 330px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 3.5vw, 3rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.service:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: none;
}

.service:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--blue);
}

.service-copy {
  min-width: 0;
}

.service h3 {
  max-width: 11em;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.service p {
  max-width: 650px;
  font-size: 1.05rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1.3rem;
  color: var(--blue);
  font-weight: 800;
}

.service-cta::after {
  content: "\2197";
  margin-left: 0.7rem;
  transition: transform 180ms ease;
}

.service:hover .service-cta::after,
.service:focus-visible .service-cta::after {
  transform: translate(4px, -4px);
}

.service-media {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dce4e9;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(14, 29, 43, 0.12);
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.94);
  transition: transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
}

.service:hover .service-media img,
.service:focus-visible .service-media img {
  transform: scale(1.035);
  filter: saturate(0.9) contrast(1);
}

/* Project proof */
.proof-section {
  border: 0;
  background: #0e1d2b;
  color: var(--white);
}

.proof-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.proof-layout > .reveal:first-child {
  position: sticky;
  top: 118px;
}

.proof-section .lead,
.proof-case-main p,
.proof-case-meta p {
  color: rgba(255, 255, 255, 0.62);
}

.proof-cases {
  gap: 5rem;
}

.proof-case {
  border: 0;
  background: transparent;
}

.proof-case-main {
  padding: 0 0 2.25rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.proof-case-main h3 {
  padding-top: 2.5rem;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.04;
}

.proof-case-main p {
  font-size: 1.08rem;
}

.proof-case-meta {
  gap: 2rem;
}

.proof-case-meta div {
  min-height: 0;
  padding: 1.3rem 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.proof-case-meta span {
  color: var(--blue-soft);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
}

.proof-case-meta strong {
  color: var(--white);
}

/* Oculi product proof */
.feature-band {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(6rem, 9vw, 8rem) 0;
}

.feature-band::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.97) 0%, rgba(7, 16, 25, 0.86) 50%, rgba(7, 16, 25, 0.54) 100%),
    url("images/oculi-usage.webp") center/cover no-repeat;
}

.feature-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: end;
}

.feature-band .lead {
  max-width: 680px;
  margin-bottom: 2rem;
}

.feature-band .device-shot {
  min-height: 0;
  display: block;
}

.feature-band .oculi-demo {
  display: none;
}

.oculi-customer-proof {
  padding: 1.75rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.oculi-customer-proof blockquote {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 4.3vw, 4.4rem);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.oculi-customer-proof p {
  max-width: 28rem;
  margin: 1.25rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.oculi-customer-proof a {
  color: var(--blue-soft);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

/* Delivery process and community */
.process-grid {
  gap: 1rem;
}

.process-item {
  min-height: clamp(460px, 48vw, 660px);
  border-radius: 0;
  box-shadow: none;
}

.process-item:nth-child(2) {
  margin-top: 4rem;
}

.process-item img {
  transition-duration: 700ms;
}

.process-item::after {
  background: linear-gradient(0deg, rgba(7, 16, 25, 0.92) 0%, rgba(7, 16, 25, 0.05) 72%);
}

.process-copy {
  padding: 2rem;
}

.process-copy h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

#community {
  background: var(--paper);
}

.community-layout {
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.community-thumbs {
  gap: 0.55rem;
}

.community-thumbs img {
  min-height: 190px;
  filter: saturate(0.82);
  transition: filter 220ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.community-thumbs img:hover {
  filter: saturate(1);
  transform: scale(1.025);
}

/* FAQ and contact */
.faq-section {
  background: var(--mist);
}

.faq-layout {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-list details {
  border-top: 1px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--ink);
}

.faq-list summary {
  padding: 1.45rem 3rem 1.45rem 0;
  font-size: 1.05rem;
  font-weight: 650;
}

.faq-list p {
  max-width: 720px;
  padding-bottom: 1.6rem;
}

.contact::before,
.detail-cta::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.97) 0%, rgba(7, 16, 25, 0.7) 100%),
    url("images/contact-galt-boardroom.webp") center/cover no-repeat;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: rgba(7, 16, 25, 0.72);
  box-shadow: none;
}

input,
textarea {
  border-radius: 0;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #071019;
}

/* Service pages */
.service-page .detail-hero {
  min-height: 90svh;
  align-items: end;
  padding: 12rem 0 5rem;
}

.service-page .detail-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 16, 25, 0.96) 0%, rgba(7, 16, 25, 0.78) 44%, rgba(7, 16, 25, 0.24) 100%),
    var(--hero-image) var(--hero-position, center)/cover no-repeat;
  transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.035);
  filter: saturate(0.84) contrast(1.04);
  animation: operandiHeroImage 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.service-page .hero-copy {
  max-width: 980px;
  animation: operandiHeroCopy 780ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.service-page h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: none;
}

.service-page .hero-lede {
  max-width: 720px;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.service-page main > .section:not(.section-dark):not(.oculi-callout) {
  background: var(--paper);
}

.service-page main > .section-soft {
  background: var(--mist) !important;
}

.service-page .section-head {
  max-width: 930px;
}

.service-page .decision-grid,
.service-page .use-grid,
.service-page .proof-grid {
  display: block;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}

.service-page .decision-item {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  padding: 1.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.service-page .use-item,
.service-page .proof-item {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
  padding: 1.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.service-page .use-item span,
.service-page .proof-item span {
  display: none;
}

.service-page .decision-item h3,
.service-page .use-item h3,
.service-page .proof-item h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
}

.service-page .decision-item p,
.service-page .use-item p,
.service-page .proof-item p {
  margin: 0;
  font-size: 1.02rem;
}

.service-page .split {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.service-page .split > :first-child {
  position: sticky;
  top: 118px;
}

.plain-list {
  gap: 0;
  border-top: 1px solid var(--ink);
}

.plain-list li {
  padding: 1.25rem 0 1.25rem 2.2rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}

.plain-list li::before {
  top: 1.45rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--blue);
  content: "\2192";
}

.process-line {
  gap: 0;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}

.process-step {
  grid-template-columns: 8rem 1fr;
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.service-page .oculi-callout {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: clamp(5rem, 8vw, 7.5rem) 0;
}

.service-page .oculi-callout::before {
  background:
    linear-gradient(90deg, rgba(10, 20, 31, 0.95) 0%, rgba(10, 20, 31, 0.82) 54%, rgba(10, 20, 31, 0.62) 100%),
    url("images/oculi-usage.webp") center/cover no-repeat;
}

.service-page .oculi-callout-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.55fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}

.service-page .oculi-callout-copy {
  max-width: 760px;
}

.service-page .oculi-callout h2 {
  max-width: 12ch;
}

.service-page .oculi-callout .lead {
  max-width: 720px;
  margin-bottom: 0;
}

.service-page .oculi-callout .button-row {
  margin-top: 2rem;
}

.service-page .oculi-proof {
  padding-top: 1.5rem;
}

.service-page .oculi-proof strong {
  letter-spacing: -0.045em;
}

.service-page .detail-cta {
  padding-top: clamp(6rem, 9vw, 9rem);
}

.service-page .detail-cta h2 {
  max-width: 9em;
}

.service-custom #regulated {
  background: #e9e5dc !important;
}

.service-ai main > .section:nth-of-type(3) {
  background: #e8eef0 !important;
}

.service-data main > .section:nth-of-type(2) {
  background: #e9e5dc !important;
}

.has-js .reveal,
.has-js .service-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes operandiHeroCopy {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes operandiHeroImage {
  from { opacity: 0.72; transform: translate3d(0, 0, 0) scale(1.1); }
  to { opacity: 1; transform: translate3d(0, var(--hero-shift, 0), 0) scale(1.035); }
}

@media (max-width: 1040px) {
  .home-page .hero h1,
  .service-page h1 {
    font-size: clamp(3.35rem, 9.6vw, 6rem);
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .clients-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .about-section .two-col,
  .fit-layout,
  .proof-layout,
  .feature-grid,
  .community-layout,
  .faq-layout,
  .contact-grid,
  .service-page .split,
  .service-page .oculi-callout-grid {
    grid-template-columns: 1fr;
  }

  .service-page .oculi-callout-grid {
    gap: 3.5rem;
  }

  .fit-intro,
  .proof-layout > .reveal:first-child,
  .service-page .split > :first-child {
    position: static;
  }

  .service-page .decision-item {
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  }

  .service-page .use-item,
  .service-page .proof-item {
    grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1.25fr);
  }

  .feature-band,
  .service-page .oculi-callout {
    min-height: auto;
  }
}

@media (max-width: 920px) {
  .wrap,
  .nav-wrap,
  .hero-inner {
    width: min(var(--max), calc(100% - 36px));
  }

  .nav-wrap {
    min-height: 70px;
  }

  .brand img {
    width: 142px;
  }

  .nav-links {
    top: 70px;
    background: var(--paper);
  }

  .nav-links .nav-cta {
    border-color: var(--ink);
    background: var(--ink);
  }

  .home-page .hero-inner {
    padding-top: 9rem;
  }

  .home-page .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 25, 0.94), rgba(7, 16, 25, 0.52)),
      linear-gradient(0deg, rgba(7, 16, 25, 0.9), rgba(7, 16, 25, 0.08) 65%);
  }

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

  .process-item,
  .process-item:nth-child(2) {
    min-height: 520px;
    margin-top: 0;
  }

  .device-shot {
    min-height: 360px;
  }

  .service-page .detail-hero {
    min-height: 82svh;
    padding-top: 10rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 5rem 0;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .home-page .hero {
    min-height: 100svh;
  }

  .home-page .hero-bg {
    object-position: 54% center;
  }

  .home-page .hero-inner {
    min-height: 100svh;
    padding: 8.5rem 0 1.5rem;
  }

  .home-page .hero h1,
  .service-page h1 {
    font-size: clamp(2.6rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .home-page .hero-lede,
  .service-page .hero-lede {
    font-size: 1rem;
  }

  .home-page .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .home-page .hero-proof .proof-item,
  .home-page .hero-proof .proof-item + .proof-item {
    min-height: 0;
    padding: 0.75rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .client-logo {
    min-height: 92px;
  }

  .client-logo img {
    max-width: 88%;
    max-height: 82px;
  }

  .client-logo.logo-tall img {
    max-height: 90px;
  }

  .about-section .two-col {
    gap: 3rem;
  }

  .media-stack {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .problem-card {
    grid-template-columns: 1fr;
    gap: 0.65rem 1rem;
  }

  .problem-card p {
    grid-column: auto;
  }

  .workflow-visual {
    display: none;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

  .service h3 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .service-media {
    grid-row: 1;
    aspect-ratio: 16 / 9;
  }

  .proof-case-meta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .stat,
  .stat + .stat {
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .service-page .oculi-proof {
    margin-top: 1rem;
  }

  .community-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-thumbs img {
    min-height: 140px;
  }

  .service-page .detail-hero {
    min-height: 84svh;
    padding: 9.5rem 0 3rem;
  }

  .service-page .detail-hero::before {
    background:
      linear-gradient(90deg, rgba(7, 16, 25, 0.94), rgba(7, 16, 25, 0.58)),
      var(--hero-image) var(--hero-position, center)/cover no-repeat;
  }

  .service-page .decision-item {
    grid-template-columns: 1fr;
  }

  .service-page .use-item,
  .service-page .proof-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service-page .decision-item p {
    grid-column: auto;
  }

  .service-page .use-item p,
  .service-page .proof-item p {
    grid-column: auto;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-bg,
  .service-page .detail-hero::before,
  .home-page .hero-copy,
  .service-page .hero-copy {
    animation: none;
  }

  .has-js .reveal,
  .has-js .service-reveal {
    opacity: 1;
    transform: none;
  }
}
