:root {
  --ink: #171717;
  --ink-soft: #252422;
  --night: #111216;
  --night-card: #191b20;
  --cream: #f7f4ed;
  --paper: #fffdf9;
  --taupe: #d8ccc0;
  --line: #ded8cf;
  --muted: #6c6963;
  --coral: #e85d4a;
  --coral-dark: #c94738;
  --mint: #8dc9ac;
  --sage: #617c6b;
  --gold: #d4a84f;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(27, 24, 20, 0.1);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.site-shell {
  min-width: 0;
  overflow: clip;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  color: var(--white);
  background: rgba(17, 18, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
}

.nav-wrap,
.primary-nav {
  display: flex;
  align-items: center;
}

.nav-wrap {
  gap: 24px;
}

.primary-nav {
  gap: 22px;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c9c9ca;
  font-size: 13px;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(232, 93, 74, 0.22);
}

.btn-primary:hover {
  background: var(--coral-dark);
}

.btn-ghost {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  border-color: var(--white);
}

.btn-light {
  color: var(--ink);
  background: var(--paper);
}

.header-cta {
  min-height: 44px;
  padding: 10px 15px;
  font-size: 12px;
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--night);
  padding: 52px 0 44px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("../images/workspace-tools.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.035;
  filter: grayscale(1);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, 0.97fr);
  align-items: center;
  gap: 60px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow-dark {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ef9b8d;
}

.eyebrow-dark span {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232, 93, 74, 0.12);
}

.hero h1,
.section-head h2,
.about-copy h2,
.faq-intro h2,
.contact-intro h2 {
  margin: 0;
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 48px;
}

.hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #babac0;
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 38px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.outcome-list li {
  min-width: 0;
}

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

.outcome-list strong {
  margin-bottom: 4px;
  color: var(--white);
  font-size: 13px;
}

.outcome-list span {
  color: #898a90;
  font-size: 11px;
  line-height: 1.45;
}

.system-visual {
  position: relative;
  padding: 0 0 0 24px;
}

.system-window {
  overflow: hidden;
  background: var(--night-card);
  border: 1px solid #34363c;
  border-radius: 8px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.system-window-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid #303138;
  font-size: 12px;
}

.system-window-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #51d58c;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(81, 213, 140, 0.1);
}

.window-status {
  color: #7d7f86;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.system-steps {
  padding: 8px 20px;
}

.system-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  border-bottom: 1px solid #2a2c32;
}

.system-step:last-child {
  border-bottom: 0;
}

.step-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #f18d7e;
  background: rgba(232, 93, 74, 0.1);
  border: 1px solid rgba(232, 93, 74, 0.22);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 850;
}

.system-step strong,
.system-step small {
  display: block;
}

.system-step strong {
  font-size: 13px;
}

.system-step small {
  margin-top: 2px;
  color: #7f8188;
  font-size: 10px;
  line-height: 1.4;
}

.system-step > b {
  padding: 4px 7px;
  color: #a5a6aa;
  background: #23252a;
  border: 1px solid #34363d;
  border-radius: 4px;
  font-size: 8px;
  text-transform: uppercase;
}

.system-step.is-complete > b {
  color: #75dda4;
  background: rgba(81, 213, 140, 0.08);
  border-color: rgba(81, 213, 140, 0.2);
}

.system-step.is-running > b {
  color: #f18d7e;
  background: rgba(232, 93, 74, 0.08);
  border-color: rgba(232, 93, 74, 0.2);
}

.system-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 20px 18px;
  padding-top: 18px;
  border-top: 1px solid #303138;
}

.system-stats div {
  text-align: center;
  border-right: 1px solid #303138;
}

.system-stats div:last-child {
  border-right: 0;
}

.system-stats strong,
.system-stats span {
  display: block;
}

.system-stats strong {
  font-size: 17px;
}

.system-stats span {
  color: #777981;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tools-bar {
  padding: 22px 0 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.tools-bar .container {
  display: block;
}

.tools-heading {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-marquee {
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.logo-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  transform: translateX(-50%);
  animation: logo-scroll-right 34s linear infinite;
  will-change: transform;
}

.logo-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.logo-card {
  position: relative;
  display: flex;
  flex: 0 0 156px;
  min-width: 0;
  height: 62px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.logo-card img {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: 120px;
  height: auto;
  max-height: 30px;
  object-fit: contain;
}

.logo-card-icon img {
  width: 29px;
  height: 29px;
}

.logo-card-icon span {
  color: #353431;
  font-size: 12px;
  font-weight: 800;
}

.logo-card-wide {
  flex-basis: 180px;
}

.logo-card-wide img {
  max-width: 146px;
}

.logo-card-image img {
  max-width: 145px;
  max-height: 38px;
}

.logo-card-zendesk img {
  width: 132px;
  max-width: none;
  max-height: none;
  transform: scale(1.45);
}

.logo-card-dark {
  flex-basis: 180px;
  background: #1d1f46;
  border-color: #1d1f46;
}

@keyframes logo-scroll-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.section {
  padding: 112px 0;
}

.section.alt {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 54px;
}

.section-head h2,
.about-copy h2,
.faq-intro h2,
.contact-intro h2 {
  max-width: 760px;
  font-size: 44px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.problem-section {
  background: #eee9e0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #cfc6ba;
  border-bottom: 1px solid #cfc6ba;
}

.problem-card {
  padding: 34px 26px 32px;
  border-right: 1px solid #cfc6ba;
}

.problem-card:last-child {
  border-right: 0;
}

.problem-card > span,
.why-card > span {
  display: block;
  margin-bottom: 46px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.problem-card h3,
.service-card h3,
.industry-card h3,
.why-card h3,
.sample-content h3,
.timeline-item h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0;
}

.problem-card p,
.service-card p,
.why-card p,
.sample-content p,
.timeline-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 88px;
}

.about-visual {
  position: relative;
  max-width: 480px;
  padding: 0 44px 46px 0;
}

.about-visual > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  object-position: center 20%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(310px, 78%);
  padding: 20px;
  color: var(--white);
  background: var(--ink-soft);
  border-radius: 8px;
}

.about-note strong,
.about-note span {
  display: block;
}

.about-note strong {
  font-size: 13px;
}

.about-note span {
  margin-top: 5px;
  color: #bbb8b2;
  font-size: 11px;
  line-height: 1.5;
}

.about-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-points span,
.experience-tags span,
.contact-promises span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 750;
}

.personal-note {
  padding-left: 16px;
  color: #59534d;
  border-left: 3px solid var(--coral);
  font-size: 13px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  min-height: 246px;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.sample-card:hover {
  transform: translateY(-4px);
  border-color: #beb5aa;
  box-shadow: 0 18px 38px rgba(35, 31, 27, 0.08);
}

.service-card.featured {
  grid-column: span 2;
  color: var(--white);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.service-card.featured p,
.service-card.featured li {
  color: #c5c1ba;
}

.service-card.featured h3 {
  font-size: 25px;
}

.service-number {
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 850;
}

.card-kicker {
  margin: 0 0 10px !important;
  color: var(--coral-dark) !important;
  font-size: 10px !important;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-card ul,
.industry-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.service-card li,
.industry-card li {
  margin: 7px 0;
  color: var(--muted);
  font-size: 12px;
}

.service-feature-list {
  border-top: 1px solid var(--line);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.service-feature-reverse .service-feature-media {
  order: 2;
}

.service-feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  background: #ded7ce;
  border: 1px solid #d3cbc1;
  border-radius: 7px;
}

.service-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 240ms ease;
}

.service-feature:hover .service-feature-media img {
  transform: scale(1.018);
}

.service-feature-media > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.88);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

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

.service-feature-copy .service-number {
  display: block;
  margin-bottom: 14px;
}

.service-feature-copy h3 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.08;
}

.service-feature-copy > p:not(.card-kicker) {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.service-value {
  margin: 0;
  border-top: 1px solid var(--line);
}

.service-value > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.service-value dt {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-value dd {
  margin: 0;
  color: #504e49;
  font-size: 12px;
  line-height: 1.55;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
}

.service-tags span {
  padding: 7px 9px;
  color: #514d47;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--coral-dark);
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 850;
}

.industries-section {
  background: #d9cec3;
}

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

.industry-card {
  min-height: 510px;
  padding: 30px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid rgba(86, 77, 68, 0.16);
  display: flex;
  flex-direction: column;
}

.industry-card.insurance {
  border-top: 5px solid var(--coral);
}

.industry-card.healthcare {
  border-top: 5px solid var(--mint);
}

.industry-card.realestate {
  border-top: 5px solid var(--gold);
}

.industry-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.industry-top span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--ink-soft);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
}

.industry-top p {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.industry-card h3 {
  font-size: 23px;
}

.industry-card ul {
  margin-top: 24px;
}

.industry-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--coral-dark);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 850;
}

.industry-note {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.automation-section,
.why-section {
  color: var(--white);
  background: var(--ink-soft);
}

.section-head.light .section-lead {
  color: #b7b3ad;
}

.automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.workflow-board,
.capability-panel {
  padding: 30px;
  background: #151619;
  border: 1px solid #38393e;
  border-radius: 8px;
}

.workflow-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 1px;
  overflow: hidden;
  background: #38393e;
}

.workflow-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 16px;
  min-height: 154px;
  padding: 25px;
  background: #151619;
}

.workflow-step b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--coral);
  border: 1px solid rgba(232, 93, 74, 0.4);
  border-radius: 50%;
  font-size: 10px;
}

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

.workflow-step strong {
  font-size: 14px;
}

.workflow-step span {
  margin-top: 8px;
  color: #929399;
  font-size: 11px;
  line-height: 1.55;
}

.capability-panel {
  padding: 36px;
}

.capability-panel h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.capability-list {
  display: grid;
  gap: 0;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #34353b;
}

.capability-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  color: #c3c1bd;
  border-bottom: 1px solid #34353b;
  font-size: 12px;
}

.capability-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "\2713";
}

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

.featured-project-card {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-project-card:hover,
.featured-project-card:focus-visible {
  transform: translateY(-4px);
  border-color: #b9afa4;
  box-shadow: 0 18px 38px rgba(35, 31, 27, 0.09);
}

.featured-project-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ded7ce;
  border-bottom: 1px solid var(--line);
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 220ms ease;
}

.featured-project-card:hover .featured-project-image img,
.featured-project-card:focus-visible .featured-project-image img {
  transform: scale(1.02);
}

.featured-project-copy {
  display: flex;
  min-height: 245px;
  flex-direction: column;
  padding: 24px;
}

.featured-project-copy small {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.featured-project-copy strong {
  margin-top: 12px;
  font-size: 20px;
  line-height: 1.2;
}

.featured-project-copy > span {
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.featured-project-copy b {
  margin-top: auto;
  padding-top: 22px;
  color: var(--coral-dark);
  font-size: 11px;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.projects-hero {
  padding: 98px 0 82px;
  color: var(--white);
  background: var(--night);
}

.projects-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: end;
}

.projects-hero h1 {
  max-width: 800px;
  margin: 18px 0 0;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
}

.projects-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.projects-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: #b9b7b2;
  font-size: 16px;
}

.projects-hero-index {
  border-top: 1px solid #42434a;
}

.projects-hero-index div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 82px;
  border-bottom: 1px solid #42434a;
}

.projects-hero-index strong {
  color: var(--coral);
  font-size: 24px;
}

.projects-hero-index span {
  color: #d6d3cd;
  font-size: 12px;
  font-weight: 750;
}

.project-category-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.project-category-nav .container {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.project-category-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.project-category-nav a:hover {
  color: var(--coral-dark);
}

.project-category,
.portfolio-project {
  scroll-margin-top: 96px;
}

.project-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 34px;
}

.project-category-head h2 {
  max-width: 760px;
  font-size: 44px;
}

.project-category-head > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.project-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 42px;
}

.project-directory-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-directory-card {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  padding: 22px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-directory-card:hover,
.project-directory-card:focus-visible {
  transform: translateY(-3px);
  border-color: #b9afa4;
  box-shadow: 0 14px 30px rgba(35, 31, 27, 0.08);
}

.project-directory-card > span {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.project-directory-card strong {
  margin-top: 13px;
  font-size: 17px;
  line-height: 1.3;
}

.project-directory-card small {
  margin-top: auto;
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.project-case-list {
  border-top-color: #c9c0b6;
}

.project-gallery-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-gallery-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.projects-cta {
  color: var(--white);
  background: var(--coral);
}

.projects-cta-inner {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 54px;
}

.projects-cta h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(32px, 4vw, 50px);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 750;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: var(--white);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.portfolio-projects {
  display: grid;
  border-top: 1px solid var(--line);
}

.portfolio-project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.portfolio-project.is-hidden {
  display: none;
}

.project-gallery {
  display: grid;
  min-width: 0;
  height: clamp(390px, 42vw, 520px);
  gap: 8px;
}

.project-gallery-three {
  grid-template-columns: minmax(0, 1.45fr) minmax(130px, 0.55fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.project-gallery-three .project-image-main {
  grid-row: 1 / -1;
}

.project-gallery-five {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.project-gallery-five .project-image-main {
  grid-row: 1 / -1;
}

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

.project-image {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #e5ded5;
  border: 1px solid #d5cec5;
  border-radius: 6px;
}

.project-image::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: var(--white);
  background: rgba(17, 18, 22, 0.82);
  border-radius: 4px;
  content: "View full image";
  font-size: 9px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.project-image:hover::after,
.project-image:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 220ms ease;
}

.project-image:hover img {
  transform: scale(1.018);
}

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

.project-type {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-copy h3 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.13;
}

.project-summary {
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 15px;
}

.project-details {
  margin: 0;
  border-top: 1px solid var(--line);
}

.project-details > div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.project-details dt {
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-details dd {
  margin: 0;
  color: #504e49;
  font-size: 12px;
  line-height: 1.55;
}

.project-tools {
  margin: 17px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.project-tools strong {
  color: var(--ink);
}

.sample-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  border-bottom: 1px solid currentColor;
}

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

.sample-card {
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sample-card.is-hidden {
  display: none;
}

.sample-visual {
  position: relative;
  display: grid;
  min-height: 205px;
  place-items: center;
  background: #d8cdc1;
  border-bottom: 1px solid var(--line);
}

.sample-visual-2,
.sample-visual-5 {
  background: #d6e2da;
}

.sample-visual-3,
.sample-visual-6 {
  background: #e7d7c5;
}

.sample-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  color: var(--white);
  background: var(--ink-soft);
  border-radius: 4px;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mini-flow {
  display: flex;
  align-items: center;
  width: 76%;
}

.mini-flow i {
  display: block;
  flex: 0 0 42px;
  height: 42px;
  background: var(--paper);
  border: 2px solid var(--ink-soft);
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(37, 36, 34, 0.14);
}

.mini-flow b {
  display: block;
  flex: 1;
  height: 2px;
  background: var(--ink-soft);
}

.sample-content {
  padding: 24px;
}

.sample-content h3 {
  font-size: 18px;
}

.sample-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
}

.warm-panel {
  padding: 38px;
  background: #dfd2c6;
  border-radius: 8px;
  align-self: start;
}

.experience-summary h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
}

.experience-summary > p {
  margin: 18px 0 0;
  color: #59534d;
}

.experience-summary > .card-kicker {
  margin-top: 0 !important;
}

.medicare-support-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(87, 76, 67, 0.18);
}

.medicare-support-list li {
  padding: 12px 0;
  color: #59534d;
  border-bottom: 1px solid rgba(87, 76, 67, 0.18);
  font-size: 11px;
  line-height: 1.58;
}

.medicare-support-list strong {
  color: var(--ink);
}

.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.experience-tags span {
  background: rgba(255, 253, 249, 0.7);
  border-color: rgba(87, 76, 67, 0.16);
}

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

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item time {
  grid-row: span 2;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 850;
}

.timeline-item p {
  margin-top: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #464640;
  border-bottom: 1px solid #464640;
}

.why-card {
  padding: 28px;
  border-right: 1px solid #464640;
}

.why-card:last-child {
  border-right: 0;
}

.why-card p {
  color: #aaa8a3;
}

.why-card > span {
  margin-bottom: 54px;
  color: #ef9b8d;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro p:last-child {
  max-width: 400px;
  color: var(--muted);
}

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

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

.faq-list summary {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 18px 46px 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink-soft);
  border-radius: 4px;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  max-width: 690px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  color: var(--white);
  background: var(--coral-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: 72px;
  align-items: start;
}

.contact-intro {
  padding-top: 18px;
}

.contact-intro .eyebrow-dark {
  color: #ffe0da;
}

.contact-intro > p:not(.eyebrow) {
  color: #f1cac3;
  max-width: 520px;
}

.contact-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.contact-promises span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.text-link-light {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.form-panel {
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 26px;
  font-size: 28px;
  line-height: 1.2;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: -8px 0 20px;
  padding: 11px 12px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
}

.form-status.is-success {
  color: #28583f;
  background: #e7f4ec;
  border-color: #acd2ba;
}

.form-status.is-error {
  color: #7c2f27;
  background: #fbedeb;
  border-color: #e8b5ae;
}

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

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  font-size: 11px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: #f8f5f0;
  border: 1px solid #d9d2c9;
  border-radius: 5px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--coral-dark);
  outline: 3px solid rgba(201, 71, 56, 0.12);
}

.contact-form .btn {
  width: 100%;
  margin-top: 18px;
}

.reassurance {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.site-footer {
  padding: 76px 0 26px;
  color: #cbc9c5;
  background: #101114;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.7fr);
  gap: 54px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p,
.footer-col p {
  max-width: 430px;
  color: #85868b;
  font-size: 12px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-col h3 {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 12px;
}

.footer-col a {
  min-height: 32px;
  color: #999a9e;
  font-size: 11px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  color: #6f7075;
  border-top: 1px solid #2b2c31;
  font-size: 10px;
}

.mobile-cta {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .logo-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    animation: none;
    transform: none;
  }

  .logo-set[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 1120px) {
  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 34px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .section-head h2,
  .about-copy h2,
  .faq-intro h2,
  .contact-intro h2 {
    font-size: 39px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .nav-wrap {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 20px;
    background: var(--night);
    border-bottom: 1px solid #35363b;
  }

  .nav-wrap.is-open {
    display: block;
  }

  .primary-nav {
    display: grid;
  }

  .primary-nav a {
    min-height: 46px;
    font-size: 14px;
    border-bottom: 1px solid #2f3035;
  }

  .header-cta {
    width: 100%;
    margin-top: 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-grid,
  .about-grid,
  .automation-layout,
  .experience-layout,
  .contact-grid,
  .service-feature,
  .projects-hero-grid,
  .project-category-head {
    grid-template-columns: 1fr;
  }

  .service-feature-reverse .service-feature-media {
    order: 0;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    max-width: 780px;
    font-size: 44px;
  }

  .system-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .section {
    padding: 90px 0;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .problem-card:nth-child(2),
  .why-card:nth-child(2) {
    border-right: 0;
  }

  .problem-card:nth-child(-n+2),
  .why-card:nth-child(-n+2) {
    border-bottom: 1px solid currentColor;
  }

  .services-grid,
  .samples-grid,
  .featured-projects-grid,
  .project-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-category-head {
    gap: 20px;
  }

  .projects-hero-index {
    max-width: 620px;
  }

  .portfolio-project {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-gallery {
    height: clamp(360px, 66vw, 520px);
  }

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

  .industry-card {
    min-height: 0;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-intro {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

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

  .nav-wrap {
    inset: 68px 0 auto;
  }

  .hero {
    padding: 30px 0 8px;
  }

  .hero-grid {
    gap: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .outcome-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 26px;
    padding-top: 18px;
  }

  .outcome-list li {
    display: block;
  }

  .outcome-list span {
    display: none;
  }

  .system-visual {
    display: none;
  }

  .system-window {
    display: none;
  }


  .tools-bar .container {
    display: block;
  }

  .tools-heading {
    margin-bottom: 14px;
  }

  .logo-card {
    flex-basis: 142px;
    height: 58px;
  }

  .logo-card-wide,
  .logo-card-dark {
    flex-basis: 168px;
  }

  .section {
    padding: 76px 0;
  }

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

  .section-head h2,
  .about-copy h2,
  .faq-intro h2,
  .contact-intro h2 {
    font-size: 34px;
  }

  .about-grid {
    gap: 44px;
  }

  .about-visual {
    width: min(100%, 320px);
    max-width: 320px;
    margin-inline: auto;
    padding: 0;
  }

  .about-visual > img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
  }

  .about-note {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 16px;
  }

  .service-feature {
    gap: 28px;
    padding: 44px 0;
  }

  .services-grid,
  .samples-grid,
  .workflow-board,
  .featured-projects-grid,
  .project-directory-grid {
    grid-template-columns: 1fr;
  }

  .project-category-nav .container {
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-category-nav a {
    flex: 0 0 auto;
  }

  .projects-hero {
    padding: 66px 0;
  }

  .projects-hero h1 {
    font-size: 46px;
  }

  .project-category-head h2 {
    font-size: 34px;
  }

  .projects-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-project {
    padding: 42px 0;
  }

  .project-gallery {
    height: 390px;
  }

  .project-gallery-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .project-gallery-five .project-image-main {
    grid-row: span 2;
  }

  .project-details > div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .service-card.featured {
    grid-column: auto;
  }

  .workflow-step {
    min-height: 126px;
  }

  .experience-layout {
    gap: 38px;
  }

  .contact-grid {
    gap: 44px;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding-bottom: 94px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 60px;
    color: var(--white);
    background: #101114;
    border-top: 1px solid #37383d;
    visibility: hidden;
    transform: translateY(100%);
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .mobile-cta.is-visible {
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-cta a {
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 8px;
    border-right: 1px solid #37383d;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  .mobile-cta a:last-child {
    color: var(--white);
    background: var(--coral);
    border-right: 0;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    display: grid;
  }

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

  .project-gallery,
  .project-gallery-three,
  .project-gallery-five,
  .project-gallery-two,
  .project-gallery-six {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

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

  .project-gallery-three .project-image-main,
  .project-gallery-five .project-image-main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .service-value > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .featured-project-copy {
    min-height: 225px;
  }

  .project-image {
    aspect-ratio: 4 / 3;
  }

  .project-gallery-single .project-image {
    aspect-ratio: 5 / 4;
  }

  .project-details > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .problem-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .problem-card,
  .why-card {
    border-right: 0;
    border-bottom: 1px solid currentColor;
  }

  .problem-card:last-child,
  .why-card:last-child {
    border-bottom: 0;
  }

  .problem-card > span,
  .why-card > span {
    margin-bottom: 28px;
  }

  .service-card,
  .industry-card,
  .capability-panel,
  .form-panel,
  .warm-panel {
    padding: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item time {
    grid-row: auto;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 32px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .mobile-cta a {
    padding-inline: 5px;
    font-size: 10px;
  }
}
