:root {
  --bg: #ffffff;
  --surface: #fbfbfd;
  --surface-strong: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #48484a;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, 0.12);
  --accent: #1d1d1f;
  --accent-hover: #3a3c42;
  --accent-soft: #f5f5f7;
  --accent-soft-deep: #e8e8ed;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
  --radius: 28px;
  --radius-small: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--surface) 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-top: 84px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px max(40px, calc((100vw - var(--max-width)) / 2 + 20px));
  margin: 0;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(47, 50, 56, 0.1);
  box-shadow: 0 6px 24px rgba(47, 50, 56, 0.04);
  transition:
    padding 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

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

.brand-word {
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-self: center;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--text);
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  min-height: 46px;
  padding: 0 28px;
  margin: 0;
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(29, 29, 31, 0.18);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.22);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  appearance: none;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 48px 0 72px;
}

.home-page {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.home-page .site-shell {
  width: min(calc(100% - 32px), 1400px);
}

.hero-simple {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: 0;
  padding-bottom: 40px;
}

.hero-inner {
  padding-top: 48px;
}

.hero-inner .hero-copy h1 {
  line-height: 1.08;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  min-height: calc(100dvh - 84px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 calc(50% - 50vw);
  padding: 0;
  overflow: hidden;
  background: #f5f5f7;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-home .hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  min-height: inherit;
  padding: 160px 40px 108px;
  margin: 0 auto;
  color: #f5f5f7;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.hero-home .lead,
.hero-trust {
  color: rgba(245, 245, 247, 0.82);
}

.hero.hero-home h1 {
  justify-self: stretch;
  min-width: 0;
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-align: center;
}

.hero-heading-brand {
  display: block;
  margin-bottom: 16px;
  font-size: 0.28em;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-heading-main {
  display: block;
  margin-inline: auto;
}

.hero-heading-main-mobile,
.hero-lead-mobile {
  display: none;
}

.hero-home .actions {
  justify-content: center;
}

.hero-home .button {
  min-height: 46px;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-home .button-primary {
  background: #ffffff;
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-home .button-primary:hover {
  background: #f5f5f7;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero-home .button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.hero-home .button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-trust {
  margin: 18px 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.lead,
.body-large {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.3vw, 1.175rem);
  line-height: 1.7;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(47, 50, 56, 0.12);
  border-color: rgba(29, 29, 31, 0.18);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(29, 29, 31, 0.16);
}

.button-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.hero-card,
.case-media,
.image-panel,
.map-card,
.brand-card,
.pillar-card,
.solution-card,
.process-card,
.stat-panel,
.stack-card,
.quote-form,
.metric-card {
  border: 1px solid rgba(47, 50, 56, 0.06);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
}

.hero-card,
.case-media,
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card img,
.case-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.metric-card {
  width: min(340px, 90%);
  margin: -72px 0 0 auto;
  padding: 24px;
  border-radius: var(--radius-small);
}

.metric-card span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section-soft {
  padding: 88px 40px;
  margin: 0 -18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 245, 247, 0.96));
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.problem-home {
  text-align: left;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 44px;
  align-items: start;
}

.problem-home .body-large {
  max-width: 620px;
  margin: 0;
  font-size: 1rem;
}

.problem-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.problem-list li {
  position: relative;
  padding: 18px 20px 18px 54px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  color: var(--text);
  line-height: 1.6;
  box-shadow: 0 12px 28px rgba(29, 29, 31, 0.04);
}

.problem-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1d1d1f, #55575d);
  transform: translateY(-50%);
}

.problem-list li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 26px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-60%) rotate(45deg);
}

.solutions-home .section-heading {
  text-align: center;
  margin-inline: auto;
}

.solutions-home {
  padding: 88px 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  border: 0;
}

.section-heading h2,
.roi-block h2,
.case-copy h2,
.contact-details h2 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.two-column,
.case-preview,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.stat-panel,
.stack-card {
  padding: 28px;
  border-radius: var(--radius-small);
  display: grid;
  gap: 22px;
}

.stat-panel strong,
.stack-card p:first-child {
  display: block;
  margin-bottom: 8px;
}

.stat-panel span,
.stack-card p,
.case-copy p,
.brand-card p,
.pillar-card p,
.process-card p,
.contact-details p {
  color: var(--muted);
  line-height: 1.75;
}

.solution-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.solution-card,
.process-card,
.pillar-card {
  padding: 28px;
  border-radius: var(--radius-small);
}

.process-card {
  padding: 22px 18px;
}

.solutions-home .solution-card {
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 245, 247, 0.98));
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: 0 20px 44px rgba(29, 29, 31, 0.05);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solutions-home .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(29, 29, 31, 0.1);
}

.solution-media {
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 20px;
  background: #eef0f3;
  border: 1px solid rgba(29, 29, 31, 0.08);
}

.solution-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-home .solution-card p {
  color: var(--muted);
  max-width: none;
  margin-bottom: 24px;
}

.solutions-home .solution-card .button {
  margin-top: auto;
  min-height: 46px;
  align-self: start;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.solution-card h3,
.brand-card h2,
.pillar-card h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  letter-spacing: -0.03em;
}

.process-card h3 {
  margin: 14px 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(47, 50, 56, 0.08);
}

.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.roi-block {
  text-align: center;
}

.roi-block-home {
  margin: 0 calc(50% - 50vw);
  padding: 92px max(24px, calc((100vw - 1120px) / 2)) 100px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(180deg, #f5f5f7 0%, #eeeeef 100%);
  border-top: 0;
  color: var(--text);
}

.roi-block-home .eyebrow,
.roi-block-home .roi-intro,
.roi-block-home .roi-calculation {
  color: var(--muted);
}

.roi-intro {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.roi-calculator {
  display: grid;
  gap: 28px;
  margin-top: 34px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(47, 50, 56, 0.08);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.roi-block-home .roi-calculator {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: var(--shadow);
}

.roi-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.roi-control {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 22px 22px 20px;
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(47, 50, 56, 0.08);
}

.roi-block-home .roi-control {
  background: #ffffff;
  border-color: rgba(29, 29, 31, 0.08);
}

.roi-control span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roi-block-home .roi-control span {
  color: var(--muted);
}

.roi-control strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.roi-block-home .roi-control strong,
.roi-block-home .roi-block strong {
  color: var(--text);
}

.roi-control p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.roi-control input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
}

.roi-block-home .roi-control input[type="range"] {
  accent-color: var(--accent);
}

.roi-summary {
  display: grid;
  gap: 14px;
  padding: 8px 6px 0;
}

.roi-calculation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
}

.roi-control-result {
  background: linear-gradient(180deg, #1d1d1f, #3a3c42);
  border-color: rgba(29, 29, 31, 0.2);
  box-shadow: 0 22px 44px rgba(29, 29, 31, 0.16);
}

.roi-block-home .roi-control.roi-control-result {
  background: linear-gradient(180deg, #1d1d1f, #3a3c42);
  border-color: rgba(29, 29, 31, 0.2);
}

.roi-block .roi-control.roi-control-result,
.roi-block .roi-control.roi-control-result span,
.roi-block .roi-control.roi-control-result p,
.roi-block .roi-control.roi-control-result strong {
  color: #f5f5f7 !important;
}

.roi-control.roi-control-result p {
  margin-top: auto;
  color: rgba(245, 245, 247, 0.82) !important;
}

.roi-control.roi-control-result strong {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.compact {
  padding-block: 60px;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-home {
  align-items: center;
  gap: 46px;
}

.case-home .case-media {
  max-width: 520px;
  justify-self: center;
  box-shadow: none;
}

.case-home .case-media img {
  aspect-ratio: 5 / 4;
}

.case-home .case-copy {
  max-width: 360px;
}

.case-home .case-copy h2 {
  line-height: 1.08;
}

.case-details {
  display: grid;
  gap: 14px;
  margin: 18px 0 26px;
}

.case-detail {
  padding-top: 14px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.case-detail span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-detail p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

.case-home .button-primary,
.about-home .text-link {
  align-self: flex-start;
}

.about-values {
  display: grid;
  gap: 16px;
  align-content: center;
}

.about-values p {
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.about-values p:last-child {
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
}

.about-home .section-heading h2 {
  line-height: 1.08;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin-top: 14px;
}

.text-link::after {
  content: "\2192";
}

.hero-home .eyebrow {
  color: rgba(245, 245, 247, 0.82);
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-proof-row span,
.proof-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(245, 245, 247, 0.9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.proof-grid,
.value-grid,
.delivery-grid,
.credential-grid,
.case-story-grid,
.quote-section-layout,
.contact-page-grid,
.contact-steps-grid,
.decision-grid,
.expertise-grid,
.principle-grid {
  display: grid;
  gap: 20px;
}

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

.proof-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-card,
.value-card,
.delivery-card,
.credential-card,
.case-story-card,
.quote-aside-card,
.contact-card,
.contact-step-card,
.decision-card,
.expertise-card,
.principle-card {
  padding: 26px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(29, 29, 31, 0.05);
}

.proof-card .proof-label,
.credential-card .proof-label,
.decision-card .proof-label {
  margin-bottom: 18px;
  background: rgba(29, 29, 31, 0.06);
  border-color: rgba(29, 29, 31, 0.08);
  color: var(--text);
  backdrop-filter: none;
}

.proof-card h2,
.decision-card h3,
.credential-card h3,
.value-card h3,
.delivery-card h3,
.contact-card h3,
.contact-step-card h3,
.quote-aside-card h3,
.expertise-card h3,
.principle-card h3,
.case-story-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.proof-card p,
.value-card p,
.delivery-card p,
.credential-card p,
.case-story-card p,
.quote-aside-card p,
.contact-card p,
.contact-step-card p,
.decision-card p,
.expertise-card p,
.principle-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.value-grid,
.credential-grid,
.decision-grid,
.expertise-grid,
.principle-grid,
.contact-steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.value-card,
.delivery-card {
  position: relative;
  overflow: hidden;
}

.value-card::after,
.delivery-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -48px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 29, 31, 0.08), transparent 68%);
  pointer-events: none;
}

.value-index,
.delivery-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.06);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.delivery-card > span {
  width: fit-content;
}

.case-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-story-card span,
.quote-aside-card span,
.contact-card span,
.contact-step-card span,
.expertise-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-showcase-copy .actions,
.section-cta-row {
  margin-top: 12px;
}

.section-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-home .credential-grid {
  margin-top: 0;
}

.about-home .section-cta-row {
  margin-top: 28px;
}

.quote-section-layout,
.contact-page-grid {
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.96fr);
  align-items: start;
}

.quote-aside {
  display: grid;
  gap: 16px;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1d1d1f, #55575d);
}

.faq-grid {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(29, 29, 31, 0.05);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  margin-left: 18px;
  color: var(--muted);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-card-list {
  display: grid;
  gap: 10px;
}

.contact-card-list a,
.contact-card-list p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.contact-card-list a {
  font-weight: 700;
}

.quote-aside-card a {
  color: var(--text);
  font-weight: 700;
}

.decision-card ul,
.brand-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.decision-card li,
.brand-meta-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.decision-card li::before,
.brand-meta-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.2);
}

.brand-card-stack {
  display: grid;
  gap: 14px;
}

.brand-card-stack .text-link {
  margin-top: 0;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.story-panel,
.story-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(29, 29, 31, 0.05);
}

.story-panel {
  padding: 30px;
}

.story-panel p + p {
  margin-top: 16px;
}

.policy-page .story-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.38rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.policy-page .story-panel h3 {
  margin: 24px 0 10px;
  font-size: 1.02rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.policy-page .story-panel > * + h2 {
  margin-top: 30px;
}

.policy-page .story-panel .check-list {
  margin-top: 16px;
}

.policy-page .story-panel a,
.policy-page .contact-card a {
  color: var(--text);
  font-weight: 700;
}

.story-visual img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.story-panel p,
.contact-note,
.brand-intro-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.before-after,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.brand-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-panel,
.brand-card {
  overflow: hidden;
  border-radius: var(--radius);
}

.image-panel span {
  position: absolute;
  margin: 20px;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-panel {
  position: relative;
}

.image-panel img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.project-compare-shell,
.project-carousel,
.team-card,
.track-card {
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.05);
}

.project-compare-shell,
.project-carousel {
  padding: 24px;
  border-radius: var(--radius);
}

.project-compare {
  display: grid;
  gap: 16px;
}

.project-compare-visual {
  --compare-position: 50%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 10;
  background: #eef0f3;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.project-compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-compare-before,
.project-compare-after {
  position: absolute;
  inset: 0;
}

.project-compare-before {
  z-index: 1;
}

.project-compare-after {
  z-index: 2;
  inset: 0 auto 0 0;
  width: var(--compare-position);
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.75);
}

.project-compare-after .project-compare-image {
  min-width: 100%;
}

.compare-chip {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(29, 29, 31, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.compare-chip-before {
  right: 18px;
}

.compare-chip-after {
  left: 18px;
}

.project-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 4;
  width: 0;
  transform: translateX(-50%);
}

.project-compare-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 1px rgba(29, 29, 31, 0.08);
}

.project-compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 29, 31, 0.08);
  box-shadow: 0 14px 28px rgba(29, 29, 31, 0.18);
  color: var(--text);
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
}

.compare-range-wrap {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.compare-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: ew-resize;
}

.project-showcase-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.project-showcase-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.project-showcase-copy .body-large {
  margin: 0;
}

.project-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 29, 31, 0.08);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.project-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.project-carousel {
  margin-top: 24px;
}

.project-carousel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.project-carousel-header h3 {
  margin: 6px 0 0;
  font-size: 1.42rem;
  letter-spacing: -0.03em;
}

.project-carousel-actions {
  display: flex;
  gap: 10px;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(29, 29, 31, 0.08);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(29, 29, 31, 0.12);
}

.project-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  width: 100%;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(29, 29, 31, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(29, 29, 31, 0.08);
}

.project-card.is-active {
  background: linear-gradient(180deg, #1d1d1f, #32343a);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 24px 48px rgba(29, 29, 31, 0.16);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.project-card-index {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-card strong {
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.project-card.is-active .project-card-index,
.project-card.is-active p {
  color: rgba(255, 255, 255, 0.74);
}

.reference-strip-home {
  padding-top: 0;
}

.project-carousel.project-carousel-home {
  margin-top: 0;
}

.project-carousel-home .project-carousel-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-section {
  display: grid;
  gap: 24px;
}

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

.team-card {
  padding: 22px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.team-avatar {
  width: 88px;
  height: 104px;
  border-radius: 26px;
  display: grid;
  place-items: end center;
  padding-bottom: 12px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #1d1d1f 0%, #3a3c42 100%);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.team-card:nth-child(2) .team-avatar {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #3b414f 0%, #6a7488 100%);
}

.team-card:nth-child(3) .team-avatar {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(180deg, #4a3a32 0%, #8b6c59 100%);
}

.team-avatar span {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.team-card h3,
.track-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.track-record-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.track-card {
  padding: 22px;
  border-radius: 24px;
  text-align: center;
}

.track-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.track-card span {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.process-card span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.quote-section {
  padding-bottom: 96px;
}

.quote-form {
  padding: 30px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  border: 1px solid rgba(47, 50, 56, 0.12);
  border-radius: 18px;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.quote-form label.is-invalid {
  color: #b42318;
}

.quote-form label.is-invalid input,
.quote-form label.is-invalid textarea,
.quote-form label.is-invalid select {
  border-color: rgba(180, 35, 24, 0.55);
  background: rgba(255, 243, 242, 0.92);
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08);
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: rgba(29, 29, 31, 0.3);
  box-shadow: 0 0 0 3px rgba(29, 29, 31, 0.06);
}

.quote-form button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: -2px 0 0;
  min-height: 1.6em;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-status.is-success {
  color: #147241;
}

.form-status.is-error {
  color: #b42318;
}

.full-span {
  grid-column: 1 / -1;
}

.brand-media {
  aspect-ratio: 5 / 4;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.brand-card div {
  padding: 24px;
}

.brand-card .proof-label {
  margin-bottom: 14px;
  background: rgba(29, 29, 31, 0.06);
  border-color: rgba(29, 29, 31, 0.08);
  color: var(--text);
}

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

.contact-details {
  padding-right: 14px;
}

.contact-details h2 {
  margin-bottom: 18px;
}

.map-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 24px;
}

.site-footer {
  margin: 96px 0 0;
  padding: 0 0 20px;
  color: rgba(245, 245, 247, 0.78);
}

.site-footer-panel {
  border-radius: 36px;
  padding: 42px 40px 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, #1e1c19 0%, #171614 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 60px rgba(17, 15, 12, 0.24);
}

.site-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
}

.site-footer-cta-copy .footer-label {
  margin: 0 0 12px;
}

.site-footer-cta-copy h2 {
  margin: 0;
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.site-footer-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.14);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.site-footer-cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.18);
}

.site-footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr;
  gap: 36px;
  padding-top: 30px;
}

.site-footer strong,
.site-footer .footer-label {
  display: inline-block;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 14px;
}

.site-footer .footer-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand-mark {
  display: inline-flex !important;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  margin-bottom: 18px !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff !important;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.footer-column p,
.footer-column a {
  margin: 0 0 10px;
  color: rgba(245, 245, 247, 0.74);
  line-height: 1.8;
}

.footer-brand p {
  max-width: 34ch;
}

.footer-links {
  gap: 6px;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact a {
  font-weight: 600;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .case-preview,
  .contact-layout,
  .problem-layout,
  .solution-grid,
  .process-grid,
  .before-after,
  .project-showcase-layout,
  .brand-grid,
  .about-grid,
  .team-grid,
  .track-record-grid,
  .roi-controls,
  .proof-grid,
  .value-grid,
  .delivery-grid,
  .credential-grid,
  .case-story-grid,
  .quote-section-layout,
  .contact-page-grid,
  .contact-steps-grid,
  .decision-grid,
  .expertise-grid,
  .principle-grid,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .project-showcase-copy {
    order: -1;
  }

  .project-carousel-track,
  .project-carousel-home .project-carousel-track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 72vw);
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .project-carousel-track::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .project-carousel-header {
    align-items: start;
  }

  .site-shell {
    padding-top: 80px;
  }

  .site-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
  }

  .site-header.menu-open {
    z-index: 40;
  }

  body.menu-open {
    overflow: hidden;
    height: 100dvh;
  }

  .home-page .site-shell {
    width: min(calc(100% - 24px), 1400px);
  }

  .header-cta {
    margin: 0;
    margin-left: auto;
    align-self: auto;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    order: 3;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 42;
    order: 2;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(29, 29, 31, 0.08);
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-toggle::before,
  .nav-toggle span {
    content: "";
    position: absolute;
    left: 11px;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 999px;
    background: var(--text);
    transition:
      transform 0.28s ease,
      opacity 0.2s ease,
      top 0.28s ease;
  }

  .nav-toggle::before {
    top: 14px;
  }

  .nav-toggle span:first-child {
    top: 21px;
  }

  .nav-toggle span:last-child {
    top: 28px;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 104px 28px 40px;
    background: #ffffff;
    backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition:
      transform 0.32s ease,
      opacity 0.2s ease,
      visibility 0.2s ease;
    z-index: 41;
    overflow: hidden;
    will-change: transform;
  }

  .site-nav::before {
    content: none;
  }

  .site-nav a {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 14px 0;
    font-size: clamp(1.25rem, 4.8vw, 1.65rem);
    letter-spacing: 0.03em;
    border-bottom: 1px solid rgba(29, 29, 31, 0.08);
    color: var(--text);
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:last-of-type {
    border-bottom: 0;
  }

  .site-header.menu-open .site-nav {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .site-header.menu-open .nav-toggle {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 43;
    background: #ffffff;
    border-color: rgba(29, 29, 31, 0.12);
    box-shadow: 0 10px 24px rgba(29, 29, 31, 0.08);
  }

  .site-header.menu-open .nav-toggle::before {
    opacity: 0;
  }

  .site-header.menu-open .nav-toggle span:first-child {
    top: 21px;
    transform: rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:last-child {
    top: 21px;
    transform: rotate(-45deg);
  }

  .site-header.menu-open .brand,
  .site-header.menu-open .header-cta {
    opacity: 0;
    pointer-events: none;
  }

  .case-home {
    gap: 34px;
  }

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

  .case-home .case-media,
  .case-home .case-copy {
    max-width: none;
    width: 100%;
  }

  .team-card {
    grid-template-columns: auto 1fr;
  }

  .roi-calculator {
    padding: 30px 22px;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 76px;
  }

  .hero {
    gap: 28px;
    padding: 30px 0 52px;
  }

  .hero-home {
    min-height: 66vh;
  }

  .hero-home .hero-copy {
    max-width: 100%;
    padding: 132px 14px calc(44px + env(safe-area-inset-bottom));
  }

  .hero.hero-home h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.48rem, 6.2vw, 1.76rem);
    letter-spacing: -0.045em;
  }

  .hero-heading-brand,
  .hero-heading-main-desktop,
  .hero-lead-desktop,
  .hero-proof-row {
    display: none !important;
  }

  .hero-home .eyebrow {
    margin-bottom: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .hero-heading-main {
    display: block;
    width: 100%;
    max-width: 16.5ch;
    margin-inline: auto;
    text-align: center;
    line-height: 0.98;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .hero-heading-main-mobile,
  .hero-lead-mobile {
    display: block !important;
  }

  .lead {
    max-width: 30ch;
    margin-inline: auto;
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .hero .actions {
    width: 100%;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
  }

  .hero .actions .button {
    width: min(100%, 320px);
    min-height: 42px;
    font-size: 0.69rem;
  }

  .home-page .solutions-home .section-heading,
  .home-page .roi-block-home .section-heading,
  .home-page .about-home .section-heading,
  .home-page .case-home .case-copy,
  .home-page .about-home .stack-card,
  .home-page .about-values {
    max-width: none;
    margin-inline: 0;
    text-align: left;
    justify-items: start;
  }

  .home-page .solutions-home .section-heading h2,
  .home-page .roi-block h2,
  .home-page .case-copy h2,
  .home-page .about-home .section-heading h2 {
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: -0.05em;
    text-align: left;
  }

  .home-page .roi-block,
  .home-page .roi-block-home .eyebrow,
  .home-page .roi-intro,
  .home-page .roi-summary,
  .home-page .roi-calculation,
  .home-page .case-copy,
  .home-page .case-copy p,
  .home-page .case-detail p,
  .home-page .about-home .stack-card p,
  .home-page .about-values p {
    text-align: left;
  }

  .home-page .roi-intro {
    max-width: none;
    margin: 18px 0 0;
  }

  .home-page .roi-summary {
    justify-items: start;
  }

  .home-page .roi-calculation {
    align-items: flex-start;
  }

  .home-page .about-home .text-link,
  .home-page .case-home .button-primary {
    align-self: flex-start;
  }

  .home-page .about-home .two-column {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
    align-items: start;
  }

  .home-page .about-values {
    gap: 0;
    align-content: start;
  }

  .home-page .about-values p {
    padding: 16px 0;
    font-size: 1rem;
    line-height: 1.22;
  }

  .home-page .about-home .stack-card {
    height: auto;
    padding: 16px 14px;
    gap: 12px;
    align-content: start;
    align-self: start;
    border-radius: 24px;
  }

  .home-page .about-home .stack-card p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .home-page .about-home .text-link {
    margin-top: 4px;
  }

  .hero:not(.hero-home) .hero-copy {
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .hero:not(.hero-home) h1 {
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: -0.05em;
    text-align: left;
  }

  .hero:not(.hero-home) .lead {
    max-width: none;
    margin: 18px 0 0;
    margin-inline: 0;
    text-align: left;
  }

  .roi-calculator {
    padding: 24px 18px;
  }

  .roi-summary {
    padding-top: 0;
  }

  .roi-calculation {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .section,
  .section-soft {
    padding: 64px 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border-inline: 0;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .project-compare-shell,
  .project-carousel,
  .team-card,
  .track-card {
    padding: 18px;
  }

  .project-compare-divider span {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  .compare-chip {
    top: 14px;
    padding: 8px 12px;
    font-size: 0.68rem;
  }

  .project-showcase-copy h3 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .project-carousel-actions {
    display: none;
  }

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

  .proof-card,
  .value-card,
  .delivery-card,
  .credential-card,
  .case-story-card,
  .quote-aside-card,
  .contact-card,
  .contact-step-card,
  .decision-card,
  .expertise-card,
  .principle-card {
    padding: 22px;
  }

  .section-cta-row {
    flex-direction: column;
  }

  .section-cta-row .button {
    width: 100%;
  }

  .story-panel {
    padding: 24px;
  }

  .story-visual img {
    min-height: 280px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-avatar {
    width: 76px;
    height: 88px;
  }

  .full-span {
    grid-column: auto;
  }

  .site-footer {
    margin-top: 76px;
    padding-bottom: 16px;
  }

  .site-footer-panel {
    padding: 34px 28px 28px;
  }

  .site-footer-cta,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

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

  .site-footer-cta-copy h2 {
    max-width: none;
  }

  .site-footer-cta-button {
    width: 100%;
  }

  .site-footer-grid {
    gap: 28px;
  }

  .header-cta {
    padding: 0 16px;
    font-size: 0.72rem;
  }
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 64px;
    padding-bottom: 12px;
  }

  .site-footer-panel {
    padding: 28px 22px 24px;
    border-radius: 28px;
  }

  .site-footer-cta {
    gap: 18px;
    padding-bottom: 22px;
  }

  .site-footer-cta-copy h2 {
    font-size: clamp(1.35rem, 6vw, 1.7rem);
  }

  .site-footer-grid {
    gap: 24px;
    padding-top: 24px;
  }

  .footer-brand-mark {
    min-height: 52px;
    font-size: 1.3rem;
    letter-spacing: 0.12em;
  }
}
