.company-page .site-header {
  min-height: 96px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav a {
  color: #d8e1e3;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.company-hero {
  min-height: 730px;
  padding: 90px 0 115px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(380px, .7fr);
  align-items: center;
  gap: 60px;
}

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

.company-hero .hero-context {
  letter-spacing: .02em;
  text-transform: none;
}

.company-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 4.1vw, 4.25rem);
}

.strike-red {
  text-decoration-line: line-through;
  text-decoration-color: #ff5a3d;
  text-decoration-thickness: .1em;
  text-decoration-skip-ink: none;
}

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

.button-secondary {
  color: var(--white);
  background: transparent;
  border-color: #66808a;
}

.button-secondary:hover {
  background: var(--night-2);
  border-color: var(--accent-light);
}

.workflow-figure {
  width: min(470px, 100%);
  margin: 0 0 0 auto;
  padding: 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid #37505a;
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}

.workflow-figure figcaption {
  margin-bottom: 22px;
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

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

.workflow-path li {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 7px;
}

.workflow-path li:not(:last-child)::after {
  position: absolute;
  bottom: -13px;
  left: 39px;
  z-index: 2;
  content: "↓";
  color: var(--accent-light);
  font-size: 18px;
  font-weight: 800;
}

.workflow-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: #e0efe7;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.workflow-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.workflow-path strong {
  display: block;
  font-size: 1.15rem;
}

.workflow-path p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.workflow-path .workflow-result {
  color: var(--night);
  background: var(--accent-light);
}

.workflow-result .workflow-number {
  color: var(--white);
  background: var(--accent-dark);
}

.workflow-result .workflow-label,
.workflow-result p {
  color: #294f50;
}

.company-problems,
.company-services,
.company-solutions,
.company-work,
.company-about {
  padding: 115px 0;
}

.section-heading {
  max-width: 790px;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.16rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 55px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.problem-grid article {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-grid span,
.service-list > li > span {
  display: block;
  margin-bottom: 45px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.problem-grid p {
  margin: 0;
  color: var(--muted);
}

.company-services {
  color: var(--white);
  background: radial-gradient(1000px 500px at 85% 0%, var(--night-2), var(--night));
}

.company-services .eyebrow {
  color: var(--accent-light);
}

.company-services .section-heading p:not(.eyebrow) {
  color: #c9d6da;
}

.service-list {
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #2f4a55;
}

.service-list > li {
  display: grid;
  grid-template-columns: 95px 250px 1fr;
  gap: 28px;
  padding: 31px 0;
  border-bottom: 1px solid #2f4a55;
}

.service-list > li > span {
  margin: 3px 0 0;
  color: var(--accent-light);
}

.service-list h3 {
  margin: 0;
  font-size: 1.45rem;
}

.service-list p {
  max-width: 620px;
  margin: 0;
  color: #c9d6da;
}

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

.company-work {
  background: var(--white);
}

.work-feature {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 0;
  margin-top: 55px;
  overflow: hidden;
  background: var(--night);
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(13,35,44,.15);
}

.work-feature-copy {
  padding: 42px;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

.work-feature-copy .solution-status,
.project-option .solution-status {
  align-self: flex-start;
  margin-bottom: 38px;
  padding: 5px 9px;
  color: var(--accent-dark);
  background: #e0efe7;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 750;
}

.work-feature-copy h3 {
  max-width: 360px;
  font-size: 2.25rem;
}

.work-feature-copy > p {
  color: #c9d6da;
}

.work-points {
  margin: 18px 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #37505a;
}

.work-points li {
  padding: 13px 0;
  color: #e4ecee;
  border-bottom: 1px solid #37505a;
  font-size: 14px;
}

.work-feature-copy .text-link {
  color: var(--signal-orange);
}

.work-preview {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #edf1ef;
  text-decoration: none;
}

.work-preview img {
  width: 114%;
  max-width: none;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: left center;
  transition: transform .25s ease;
}

.work-preview:hover img {
  transform: scale(1.015);
}

.project-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.project-option {
  min-height: 320px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-option h3 {
  max-width: 520px;
  font-size: 1.55rem;
}

.project-option p {
  max-width: 570px;
  color: var(--muted);
}

.project-option .text-link {
  margin-top: auto;
  color: var(--signal-orange);
}

.project-option .text-link:hover {
  color: var(--signal-orange-hover);
}

.solution-card {
  min-height: 430px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-card-featured {
  color: var(--white);
  background: var(--night);
  border-color: var(--night);
}

.solution-card-development {
  background: var(--soft);
  border-color: #cfe2da;
}

.solution-card .solution-status {
  align-self: flex-start;
  margin-bottom: 60px;
  padding: 5px 9px;
  color: var(--accent-dark);
  background: #e0efe7;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 750;
}

.solution-card-featured .solution-status {
  color: var(--night);
  background: var(--accent-light);
}

.solution-card h3 {
  font-size: 1.65rem;
}

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

.solution-card-featured p {
  color: #c9d6da;
}

.text-link {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.solution-card-featured .text-link {
  color: var(--signal-orange);
}

.solution-card-featured .text-link:hover {
  color: var(--signal-orange-hover);
}

.challenge-link {
  color: var(--signal-orange);
}

.challenge-link:hover {
  color: var(--signal-orange-hover);
}

.company-about {
  color: var(--white);
  background: var(--night);
}

.company-about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 70px;
  align-items: center;
}

.company-about .profile-photo {
  width: 300px;
}

.company-about .eyebrow {
  color: var(--accent-light);
}

.company-about p:not(.eyebrow) {
  max-width: 710px;
  color: #c9d6da;
  font-size: 1.12rem;
}

.company-contact {
  padding: 115px 0;
  text-align: center;
  background: var(--white);
}

.company-contact h2 {
  max-width: 820px;
  margin-inline: auto;
}

.company-contact p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.13rem;
}

.solution-page .site-header {
  min-height: 96px;
}

.solution-page .site-nav {
  margin-left: auto;
}

.solution-page .product-hero {
  min-height: 660px;
  padding-top: 70px;
  padding-bottom: 100px;
}

.solution-page .product-hero h1 {
  max-width: 700px;
  font-size: clamp(3.2rem, 5vw, 5.2rem);
}

.product-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--signal-orange);
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-back:hover {
  color: var(--signal-orange-hover);
}

@media (max-width: 980px) {
  .site-nav { display: none; }
  .company-hero { grid-template-columns: 1fr; gap: 55px; }
  .workflow-figure { width: min(560px, 100%); margin-inline: auto; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .work-feature { grid-template-columns: 1fr; }
  .work-preview img { width: 100%; min-height: 0; }
}

@media (max-width: 700px) {
  .company-page .site-header,
  .solution-page .site-header { min-height: 82px; }
  .site-header .button-small { display: none; }
  .company-hero { min-height: 0; padding: 75px 0 90px; }
  .company-hero h1 { max-width: 100%; font-size: clamp(2.35rem, 11.5vw, 3.1rem); overflow-wrap: break-word; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .workflow-figure { padding: 18px; }
  .workflow-path li { grid-template-columns: 36px 1fr; padding: 17px; }
  .workflow-number { width: 34px; height: 34px; }
  .company-problems,
  .company-services,
  .company-solutions,
  .company-work,
  .company-about { padding: 82px 0; }
  .problem-grid,
  .solutions-grid,
  .company-about-grid { grid-template-columns: 1fr; }
  .problem-grid { border-left: 0; }
  .problem-grid article { min-height: 0; border-left: 1px solid var(--line); }
  .service-list > li { grid-template-columns: 50px 1fr; }
  .service-list p { grid-column: 2; }
  .solution-card { min-height: 350px; }
  .project-options { grid-template-columns: 1fr; }
  .work-feature-copy { padding: 30px 24px; }
  .work-feature-copy h3 { font-size: 1.85rem; }
  .work-preview img { min-height: 260px; }
  .project-option { min-height: 0; }
  .company-about .profile-photo { width: 210px; }
  .company-contact { padding: 82px 0; }
}
