/* Shared layout corrections. Load after the generated route stylesheet. */
/* Keep company captions content-sized instead of stretching to 640px cards. */
body.page-company .studio-visual-grid {
  align-items: start;
}
body.page-company .story-visual {
  min-height: 0;
  align-content: start;
}
body.page-company .story-copy {
  padding: clamp(24px, 2.4vw, 32px);
}
/* Switching motion should not replay the initial home headline entrance. */
html.js[data-motion="full"] .home-hero--cinematic.is-motion-settled
  :is(.hero-copy .eyebrow, .hero-coordinate, .hero-line, .hero-bottom,
      .hero-signal-nexus, .hero-flow-vector-frame,
      .hero-visual-signature, .hero-capability-rail, .hero-scroll) {
  animation: none !important;
  opacity: 1 !important;
  clip-path: none !important;
  transform: none !important;
}
html.js[data-motion="full"] .home-hero--cinematic.is-motion-settled .hero-intro-curtain {
  display: none;
}

/* Photography-led culture page and a clearer contact journey. */
body.page-activity :is(.culture-activity-section, .culture-canvas-section),
body.page-contact :is(.contact-request-section, .contact-faq-section, .access-section) {
  padding-block: clamp(64px, 6vw, 96px);
}
body.page-activity .culture-activity-section {
  background: #fff;
}
body.page-activity .activity-feature {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  min-height: 0;
  border: 1px solid #b9d0c1;
  border-radius: 20px;
  background: #0b3024;
}
body.page-activity .activity-feature figure {
  aspect-ratio: 1;
  height: auto;
  min-width: 0;
  margin: 0;
}
body.page-activity :is(.activity-feature, .activity-card) img {
  filter: none;
}
body.page-activity .activity-feature img {
  object-fit: contain;
}
body.page-activity .activity-feature-copy {
  min-width: 0;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 56px);
  color: #f4fff7;
}
body.page-activity .activity-feature-copy .tag {
  background: #dff2e6;
  border: 0;
  color: #07543b;
  font-size: .75rem;
  line-height: 1.5;
}
body.page-activity #main .activity-feature-copy h3 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.4;
  margin-block: 20px 12px;
}
body.page-activity .activity-feature-copy p {
  color: #d0e6d9;
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}
body.page-activity .activity-grid {
  gap: 24px;
  margin-top: 24px;
}
body.page-activity .activity-card {
  min-width: 0;
  border: 1px solid #c4d9cb;
  border-radius: 16px;
  box-shadow: none;
}
body.page-activity .activity-card .body {
  padding: 24px;
}
body.page-activity .activity-card .tag {
  border: 0;
  padding: 0;
  color: #087149;
  font-size: .75rem;
}
body.page-activity #main .activity-card h3 {
  font-size: 1.375rem;
  line-height: 1.4;
  margin-block: 10px;
}
body.page-activity .activity-card p {
  font-size: .9375rem;
  line-height: 1.7;
}
body.page-activity .culture-archive-gateway {
  min-height: 0;
  margin-top: 32px;
  border-color: #b9d0c1;
  border-radius: 20px;
  box-shadow: none;
}
body.page-activity .culture-archive-gateway-copy {
  align-self: center;
  padding: clamp(28px, 3.5vw, 48px);
}
body.page-activity .culture-archive-gateway-copy h3 span {
  white-space: normal;
}
body.page-activity .culture-archive-gateway-copy > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
body.page-activity .culture-archive-gateway-visual {
  min-height: 340px;
}
body.page-activity .culture-canvas-section {
  background: #e4efe7;
  border-block: 1px solid #bcd3c4;
}
body.page-activity .culture-canvas {
  border: 1px solid #b9d0c1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: none;
}
body.page-activity .culture-canvas-copy {
  justify-content: center;
  min-height: 0;
  padding: clamp(28px, 3.5vw, 48px);
}
body.page-activity .culture-canvas-copy p {
  color: #e0f1e6;
  font-size: 1rem;
  line-height: 1.85;
}

body.page-contact .contact-request-section {
  background: #edf4ef;
  border-bottom: 1px solid #c4d9cb;
}
body.page-contact .contact-layout {
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
}
body.page-contact .contact-intro {
  min-width: 0;
}
body.page-contact .contact-info {
  color: #f4fff7;
  background: #0b3024;
  border: 0;
  border-radius: 16px;
  padding: clamp(24px, 2.5vw, 32px);
  margin-top: 28px;
}
body.page-contact .contact-info .tag {
  color: #caff4a;
  border: 0;
  padding: 0;
  font-size: .75rem;
}
body.page-contact .contact-info p {
  color: #d0e6d9;
  font-size: .9375rem;
  line-height: 1.85;
  margin-block: 16px 0;
}
body.page-contact .contact-info a {
  display: inline-block;
  max-width: 100%;
  padding-block: 5px;
  color: #f4fff7;
  font-size: 1rem;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
body.page-contact .contact-form {
  min-width: 0;
  background: #fff;
  border-color: #b9d0c1;
  border-top: 4px solid #087149;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 12px 30px #07503308;
}
body.page-contact .form-head {
  flex-wrap: wrap;
  gap: 12px 20px;
}
body.page-contact #main .form-head h2 {
  font-size: clamp(1.75rem, 1.35rem + .8vw, 2rem);
  line-height: 1.4;
}
body.page-contact .form-head > p {
  white-space: normal;
  font-size: .8125rem;
  line-height: 1.6;
}
body.page-contact .form-grid {
  gap: 24px;
}
body.page-contact .field {
  min-width: 0;
}
body.page-contact .field label {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 9px;
}
body.page-contact .field label span {
  display: inline-block;
  color: #07543b;
  background: #e4f2e9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .6875rem;
  line-height: 1.4;
  vertical-align: middle;
}
body.page-contact .field :is(input, select, textarea) {
  font-size: max(16px, 1rem);
  border-radius: 8px;
}
body.page-contact .field :is(input, select) {
  min-height: 52px;
}
body.page-contact .field textarea {
  min-height: 164px;
}
body.page-contact .form-note {
  font-size: .8125rem;
  line-height: 1.8;
}
body.page-contact .privacy-consent {
  font-size: .875rem;
  line-height: 1.7;
  padding-block: 10px;
  margin-block: 8px 16px;
}
body.page-contact .privacy-consent input {
  width: 20px;
  height: 20px;
}
body.page-contact .contact-faq-section {
  background: #fff;
}
body.page-contact .faq-list {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 0;
}
body.page-contact .faq details {
  border: 1px solid #c4d9cb;
  border-radius: 12px;
  background: #f4f8f5;
  padding: 0;
}
body.page-contact .faq summary {
  align-items: center;
  min-height: 64px;
  padding: 18px 22px;
  font-size: 1rem;
  line-height: 1.7;
}
body.page-contact .faq summary::after {
  flex: none;
}
body.page-contact .faq details p {
  padding: 0 22px 22px;
  margin: 0;
  font-size: .9375rem;
  line-height: 1.85;
}
body.page-contact .access-section {
  background: #0b3024;
}
body.page-contact .access-panel {
  border-color: #b9d0c1;
  border-radius: 20px;
  box-shadow: none;
}
@media (max-width: 1100px) {
  body.page-contact .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  body.page-activity .activity-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  body.page-activity .activity-feature-copy {
    padding: 28px 24px;
  }
  body.page-activity .culture-archive-gateway-visual {
    min-height: 300px;
  }
  body.page-contact .contact-form {
    padding: 28px 20px;
  }
  body.page-contact .faq summary {
    padding-inline: 18px;
  }
  body.page-contact .faq details p {
    padding-inline: 18px;
  }
}

/* Distinct chapters for the project, company and privacy pages. */
body.page-project #project-ready,
body.page-project #blueprint,
body.page-company :is(#company-message, .studio-section, .company-profile-section),
body.page-privacy #policy {
  padding-block: clamp(64px, 6vw, 96px);
}
body.page-project #project-ready {
  background: #fff;
}
body.page-project #blueprint {
  background: #eaf3ed;
  border-block: 1px solid #c4d9cb;
}
body.page-project #blueprint .blueprint-steps {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 0;
}
body.page-project #blueprint .blueprint-steps li {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid #b9d0c1;
  border-radius: 12px;
  background: #fff;
}
body.page-project #blueprint .blueprint-steps li > span {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 36px;
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: #087149;
  font-size: .75rem;
}
body.page-project #blueprint .blueprint-steps p {
  font-size: .9375rem;
  line-height: 1.85;
}

body.page-company #company-message {
  color: #f4fff7;
  background: #0b3024;
}
body.page-company #company-message .message-copy h2 {
  color: #f4fff7;
  margin-bottom: 24px;
}
body.page-company #company-message .message-copy p {
  color: #d0e6d9;
}
body.page-company #company-message .message-copy .eyebrow {
  color: #caff4a;
}
body.page-company #company-message .message-sign {
  color: #f4fff7;
  border-color: #b9e6c94d;
}
body.page-company .studio-section {
  background: #fff;
}
body.page-company .career-history {
  background: #f0f5f1;
  border: 1px solid #c4d9cb;
  border-left: 4px solid #087149;
  border-radius: 12px;
  margin-top: clamp(32px, 4vw, 56px);
  padding: clamp(24px, 3vw, 40px);
  gap: clamp(24px, 4vw, 56px);
}
/* Keep year ranges together and leave a separate lane for the timeline dots. */
body.page-company .career-timeline {
  --career-date-width: 8rem;
}
body.page-company .career-entry {
  grid-template-columns: var(--career-date-width) minmax(0, 1fr);
  gap: 34px;
}
body.page-company .career-range,
body.page-company .career-entry > time {
  white-space: nowrap;
}
body.page-company .career-timeline::before {
  left: calc(var(--career-date-width) + 11px);
}
body.page-company .career-entry::before {
  left: calc(var(--career-date-width) + 7px);
}
body.page-company .career-entry p {
  font-size: .9375rem;
  line-height: 1.85;
}
body.page-company .career-entry time {
  font-size: .75rem;
}
body.page-company .career-entry:last-child {
  padding-bottom: 0;
}
body.page-company .company-profile-section {
  background: #e4efe7;
  border-block: 1px solid #bcd3c4;
}
body.page-company .company-profile-section .section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
body.page-company .company-profile-section .company-table {
  background: #fff;
  border-color: #b4cdbd;
  box-shadow: none;
}

body.page-privacy #policy {
  background: #eaf1eb;
  border-block: 1px solid #c4d9cb;
}
body.page-privacy #policy .policy-layout {
  gap: clamp(24px, 4vw, 64px);
}
body.page-privacy #policy .policy-rail {
  background: #0b3024;
  color: #f4fff7;
  border: 1px solid #0b3024;
  border-radius: 16px;
  box-shadow: none;
}
body.page-privacy #policy .policy-rail-label {
  color: #caff4a;
  font-size: .75rem;
}
body.page-privacy #policy .policy-nav {
  border: 0;
}
body.page-privacy #policy .policy-nav a {
  min-width: 0;
  min-height: 48px;
  padding: 12px 8px;
  border-color: #b9e6c936;
  color: #f4fff7;
  font-size: .875rem;
  line-height: 1.5;
}
body.page-privacy #policy .policy-nav a span {
  color: #b9dfc8;
  font-size: .6875rem;
}
body.page-privacy #policy .policy-nav a:is(:hover, .is-current) {
  color: #071a14;
  background: #dff2e6;
}
body.page-privacy #policy .policy-nav a:is(:hover, .is-current) span {
  color: #07543b;
}
body.page-privacy #policy .policy-rail-note {
  color: #d0e6d9;
  font-size: .75rem;
}
body.page-privacy #policy .policy-content {
  min-width: 0;
  display: grid;
  gap: 20px;
}
body.page-privacy #policy .policy-intro {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.9;
}
body.page-privacy #policy .policy-content > section {
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid #b9d0c1;
  border-left: 4px solid #087149;
  border-radius: 12px;
  background: #fff;
}
body.page-privacy #policy .policy-section-head .tag {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 6px;
  color: #fff;
  background: #087149;
}
body.page-privacy #policy .policy-section-head > span:last-child {
  font-size: .6875rem;
  letter-spacing: .09em;
}
body.page-privacy #policy .policy-content h3 {
  margin-block: 16px 14px;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  line-height: 1.5;
}
body.page-privacy #policy .policy-content section p {
  font-size: 1rem;
  line-height: 1.9;
}
body.page-privacy #policy .policy-content section p + p {
  margin-top: 12px;
}
body.page-privacy #policy .policy-content > section:focus-visible {
  outline: 2px solid #087149;
  outline-offset: 3px;
  box-shadow: none;
}
@media (max-width: 1100px) {
  body.page-company #company-message > .wrap.company-message {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  body.page-company #company-message .message-copy {
    display: block;
    order: 0;
  }
  body.page-company #company-message .mono-art {
    order: 1;
    margin: 0;
  }
}
@media (max-width: 560px) {
  body.page-project #blueprint .blueprint-steps li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 16px;
  }
  body.page-company .career-history {
    padding: 24px 16px;
  }
  body.page-company .career-entry {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-left: 20px;
  }
  body.page-company .career-entry::before {
    left: -4px;
  }
  body.page-company .career-timeline::before {
    left: 0;
  }
  body.page-privacy #policy .policy-content > section {
    padding: 24px 20px;
  }
  body.page-privacy #policy .policy-nav a {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 6px;
  }
}

/* The three workflow diagrams share one reading order on every screen. */
body.page-index #solutions {
  background: #f0f3ed;
  padding-block: clamp(64px, 6vw, 96px);
}
body.page-index #solutions .illustration-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  align-items: stretch;
  gap: 24px;
}
body.page-index #solutions .illustration-panel {
  grid-row: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid #b9d0c1;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}
body.page-index #solutions .illustration-copy {
  padding: 26px 24px;
  background: #fff;
  border-bottom: 1px solid #d7e6dc;
}
body.page-index #solutions .illustration-copy .tag {
  border: 0;
  padding: 0;
  background: none;
  font-size: .8125rem;
  letter-spacing: .025em;
}
body.page-index #solutions .illustration-copy h3 {
  margin-block: 14px 12px;
  font-size: clamp(1.375rem, 1.1rem + .6vw, 1.625rem);
  line-height: 1.4;
}
body.page-index #solutions .illustration-copy p {
  font-size: 1rem;
  line-height: 1.8;
}
body.page-index #solutions .art-scene {
  flex: 1;
  min-height: 0;
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 20px;
  background: #e4f2e9;
}
body.page-index #solutions .art-scene > :is(.scene-caption, .actor-node,
  .workflow-steps, .requirement-inputs, .spec-board, .spec-status,
  .spec-source-list, .spec-artifact, .spec-continuity) {
  position: relative;
  inset: auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  translate: none;
  transform: none;
  overflow-wrap: anywhere;
}
body.page-index #solutions .scene-caption {
  font-size: .8125rem;
  line-height: 1.6;
  letter-spacing: .02em;
}
body.page-index #solutions .actor-node {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px #0750330d;
}
body.page-index #solutions .actor-avatar {
  width: 50px;
  height: 50px;
}
body.page-index #solutions .actor-avatar i {
  width: 19px;
  height: 19px;
  top: 8px;
  left: 15px;
}
body.page-index #solutions .actor-avatar b {
  width: 40px;
  height: 25px;
  left: 5px;
}
body.page-index #solutions .actor-node small {
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: 0;
}
body.page-index #solutions .actor-node strong {
  font-size: .9375rem;
  line-height: 1.5;
}
body.page-index #solutions .workflow-steps {
  border: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
body.page-index #solutions .workflow-steps li {
  padding: 14px 8px;
  border: 1px solid #abcbb7;
  border-radius: 10px;
  background: #f8fcf9;
  font-size: .875rem;
  line-height: 1.5;
}
body.page-index #solutions .workflow-steps b {
  font-size: .75rem;
}
body.page-index #solutions .workflow-steps li::before,
body.page-index #solutions :is(.workflow-signal,
  .requirement-signal, .spec-ribbon, .continuity-pulse) {
  display: none;
}
body.page-index #solutions .requirement-inputs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
body.page-index #solutions .requirement-inputs span {
  width: auto;
  height: auto;
  padding: 12px 4px;
  font-size: .875rem;
  line-height: 1.5;
}
body.page-index #solutions .spec-board {
  border-radius: 16px;
  padding: 20px;
  box-shadow: none;
}
body.page-index #solutions .spec-board small {
  font-size: .8125rem;
}
body.page-index #solutions .spec-board strong {
  font-size: 1.25rem;
}
body.page-index #solutions .spec-board li {
  font-size: .875rem;
  overflow-wrap: anywhere;
}
body.page-index #solutions .spec-status {
  font-size: .8125rem;
  justify-content: flex-end;
}
body.page-index #solutions .spec-source-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 10px;
}
body.page-index #solutions .spec-source-list li {
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  box-shadow: none;
}
body.page-index #solutions .spec-source-list i {
  grid-row: auto;
  font-size: .75rem;
}
body.page-index #solutions .spec-source-list strong {
  font-size: .875rem;
}
body.page-index #solutions .spec-source-list small {
  font-size: .8125rem;
  line-height: 1.5;
}
body.page-index #solutions .spec-artifact {
  aspect-ratio: auto;
  border-radius: 16px;
  padding: 20px;
  box-shadow: none;
}
body.page-index #solutions .spec-artifact :is(small, span) {
  font-size: .8125rem;
}
body.page-index #solutions .spec-artifact strong {
  font-size: 1.125rem;
}
body.page-index #solutions .spec-continuity {
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 3px solid #087149;
}
body.page-index #solutions .spec-continuity small {
  font-size: .8125rem;
}
body.page-index #solutions .spec-continuity strong {
  font-size: .9375rem;
}

/* A dark collaboration chapter separates workflow from consultation. */
body.page-index #project-support {
  color: #f4fff7;
  background: #0b3024;
  padding-block: clamp(72px, 7vw, 104px);
}
body.page-index #project-support > .wrap.global-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
body.page-index #project-support .global-content {
  display: block;
  grid-area: auto;
  order: 0;
  padding: 0;
}
html body.page-index #project-support > .wrap.global-grid > .global-visual {
  grid-area: auto;
  order: 1;
  margin: 0;
  border: 1px solid #b9e6c936;
}
body.page-index #project-support .eyebrow {
  color: #caff4a;
}
body.page-index #project-support :is(.project-support-lead, .solution-item p) {
  color: #d0e6d9;
}
body.page-index #project-support :is(.solution-list, .solution-item) {
  border-color: #b9e6c936;
}
body.page-index #project-support .btn.ghost {
  color: #f4fff7;
  border-color: #b6d8c4;
}
body.page-index #project-support .project-support-cta {
  margin-top: 28px;
  margin-bottom: 0;
}
body.page-index #project-consultation {
  background: #eaf3ed;
  border-top: 1px solid #c0d9ca;
  padding-block: clamp(72px, 7vw, 104px);
}
body.page-index #project-consultation .entry-card {
  background: #fff;
  border-color: #b9d0c1;
  box-shadow: none;
}
body.page-index #project-consultation .entry-solutions {
  order: 0;
}
body.page-index #project-consultation .consultation-synthesis {
  order: 1;
}
@media (max-width: 1100px) {
  body.page-index #solutions .illustration-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  body.page-index #solutions .art-scene {
    flex: none;
  }
  body.page-index #project-support > .wrap.global-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  body.page-index #solutions :is(.illustration-copy, .art-scene) {
    padding: 20px 16px;
  }
}

/* Compact contact band on every route that uses the shared CTA. */
.cta-block .cta-link {
  min-height: 300px;
  padding-block: 44px;
}
@media (max-width: 680px) {
  .cta-block .cta-link {
    min-height: 0;
    padding-block: 40px;
    gap: 28px;
  }
}

/* Consistent editorial typography across all seven primary pages. */
body #main .page-hero {
  min-height: 0;
  padding-block: 156px 64px;
}
body #main .page-hero h1 {
  font-size: clamp(2.75rem, 1.75rem + 3vw, 4.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
}
body #main .page-hero h1 small {
  font-size: .9375rem;
  line-height: 1.7;
  letter-spacing: .045em;
  margin-bottom: 20px;
}
body #main h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: wrap;
}
body #main h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: wrap;
}
body #main .statement {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  body #main .page-hero { padding-block: 124px 44px; }
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html[data-motion="reduced"] :is(.reveal, .reveal-left, .mask-reveal, .clip-reveal, .row-reveal, .slide-reveal, .stagger > *),
html.no-js :is(.reveal, .reveal-left, .mask-reveal, .clip-reveal, .row-reveal, .slide-reveal, .stagger > *) {
  translate: none !important;
}
.page-index .hero-capability-rail li > div,
.page-index .number {
  min-width: 0;
  overflow-wrap: anywhere;
}
.page-index .hero-capability-rail small,
.page-index .number span,
.page-index .consultation-synthesis figcaption span,
.page-index .consultation-synthesis .synthesis-conclusion {
  white-space: normal;
  overflow-wrap: anywhere;
}
.page-index .numbers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .page-index .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* System fonts have different ascenders/descenders on Android, iOS and PCs.
   Give each line its own space instead of compensating with negative margins. */
.page-index .home-hero--cinematic {
  min-height: 0;
  padding-block: clamp(132px, 10vw, 160px) 64px;
}

.page-index .home-hero--cinematic .hero-grid {
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.page-index .home-hero--cinematic .hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 680px;
}

.page-index .home-hero--cinematic .hero-copy h1 {
  font-size: clamp(2.625rem, 1.725rem + 2.8vw, 4.625rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
  text-shadow: none;
  text-wrap: wrap;
  overflow-wrap: anywhere;
  margin-bottom: 28px;
}

.page-index .home-hero--cinematic .hero-copy .hero-line {
  padding: 0;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.page-index .home-hero--cinematic .hero-copy h1 .jp {
  font-size: clamp(1rem, .85rem + .35vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .025em;
  margin-bottom: 22px;
}

.page-index .hero-kicker-row {
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.page-index .home-hero--cinematic .hero-copy .eyebrow {
  width: auto;
  max-width: 100%;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.5;
}

.page-index .home-hero--cinematic .hero-copy .eyebrow::before {
  flex-shrink: 0;
}

.page-index .home-hero--cinematic .hero-bottom > p {
  font-size: 1rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.page-index .home-hero--cinematic .hero-actions {
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.page-index .home-hero--cinematic .hero-actions .btn {
  min-height: 59px;
  padding: 13px 24px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

.page-index .home-hero--cinematic .hero-actions .text-link {
  width: auto;
  max-width: 100%;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: normal;
}

.page-index .home-hero--cinematic .hero-actions .btn::after {
  content: "↗\FE0E";
  flex-shrink: 0;
}

/* Keep the original supporting content in normal flow as text grows. */
.page-index .hero-capability-rail {
  position: relative;
  inset: auto;
  width: calc(100% - 96px);
  margin: 48px auto 0;
}

.page-index .hero-capability-rail strong {
  white-space: normal;
  overflow-wrap: anywhere;
}

.page-index .home-hero--cinematic .hero-scroll {
  bottom: 28px;
}

/* A consistent heading scale throughout the home page. */
.page-index :is(.intro-copy h2, .section-head h2, .experience-head h2,
  .global-content h2, .culture-home-copy h2) {
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.page-index .trust-line {
  display: inline;
  white-space: normal;
  font-size: 1em;
  letter-spacing: inherit;
}

.page-index .service-row {
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.1fr) auto;
}

.page-index .service-row h3 {
  font-size: clamp(1.25rem, 1rem + 1.4vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}

.page-index .cta-link h2 {
  font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

/* Keep the logo and menu button in separate layout columns on narrow screens. */
@media (max-width: 1100px) {
  .site-header {
    --navigation-header-height: 82px;
  }

  .site-header .header-wrap {
    padding-right: 64px;
  }

  .site-header .brand {
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
  }

  .site-header .brand-copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  body.menu-open .site-header {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open .header-wrap {
    padding-right: 64px;
  }

  html.js .site-header .nav {
    inset: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: calc(var(--navigation-header-height) + 20px) max(24px, 6vw) max(28px, env(safe-area-inset-bottom));
    align-content: start;
    align-items: stretch;
    grid-auto-rows: minmax(min-content, auto);
    gap: 0 6vw;
    scroll-padding-top: var(--navigation-header-height);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html.js .site-header .nav a,
  html.js .site-header .nav .nav-cta {
    min-width: 0;
    min-height: 56px;
    padding: 14px 8px;
    font-size: clamp(1.5rem, 1.15rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    justify-content: flex-start;
    border-bottom: 1px solid var(--line);
  }

  .page-index .home-hero--cinematic .hero-copy h1 {
    font-size: clamp(2.125rem, 1.375rem + 2.8vw, 3.375rem);
  }

  .page-index .hero-capability-rail {
    width: calc(100% - 48px);
  }

  .page-index .service-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }
}

@media (max-width: 760px) {
  .page-index .home-hero--cinematic {
    padding-block: 112px 56px;
  }

  .page-index .home-hero--cinematic .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 40px);
  }

  .page-index .home-hero--cinematic .hero-copy h1 {
    font-size: clamp(2.625rem, 1.875rem + 3vw, 3.125rem);
  }

  .page-index .home-hero--cinematic .hero-copy h1 .jp {
    margin-bottom: 20px;
  }

  .page-index .hero-coordinate {
    display: none;
  }

  .page-index .hero-capability-rail {
    width: calc(100% - 40px);
    margin-top: 32px;
  }

  .page-index .service-row {
    grid-template-columns: 28px minmax(0, 1fr) 42px;
    gap: 12px;
  }

  .page-index .service-row:hover {
    padding-inline: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    --navigation-header-height: 76px;
  }

  html.js .site-header .nav {
    grid-template-columns: minmax(0, 1fr);
    padding: calc(var(--navigation-header-height) + 12px) 20px max(28px, env(safe-area-inset-bottom));
  }

  html.js .site-header .nav a,
  html.js .site-header .nav .nav-cta {
    min-height: 52px;
    padding-block: 12px;
  }
}

@media (forced-colors: active) {
  .page-index .home-hero--cinematic .hero-copy h1 .accent {
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
  }
}

/* Text remains grouped after reducing the oversized original headings. */
body #main .philosophy {
  padding-block: clamp(64px, 6vw, 96px);
}
body #main .philosophy .eyebrow {
  margin-bottom: 22px;
}
body #main .philosophy .statement {
  max-width: 27ch;
  font-size: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
body #main .philosophy .statement small {
  max-width: 42rem;
  margin: 24px 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .01em;
  text-wrap: pretty;
}
body #main .service-card {
  min-height: 0;
  padding: clamp(24px, 3vw, 38px);
}
body #main .service-card h3 {
  margin: 32px 0 16px;
  line-height: 1.35;
}
@media (max-width: 1100px) {
  .page-index .intro-grid {
    gap: 22px;
  }
  .page-index .intro-aside .eyebrow {
    margin-bottom: 0;
  }
  .page-index .intro-copy h2 {
    margin-bottom: 24px;
  }
}
