.inner-page main {
  color: var(--ink);
  line-height: 24px;
}
.inner-page h1, .inner-page h2, .inner-page h3 {
  font-family: var(--display);
}
.inner-page :is(h2, h3) {
  margin: 0;
  color: var(--blue);
}
.inner-page main :where(p) { margin: 0; }

.wrap-narrow { max-width: 72rem; }
.page-hero {
  padding-block: 160px 96px;
  background: radial-gradient(60% 80% at 80% 0%, #ff7a1a1b, transparent 70%), var(--blue);
  color: white;
}
.page-hero h1 {
  margin: 20px 0 0;
  font-size: 60px;
  line-height: 1;
  font-weight: 700;
  text-wrap: balance;
}
.page-hero p {
  max-width: 672px;
  margin-top: 20px;
  color: #ffffffb3;
  font-size: 18px;
  line-height: 29.25px;
}
.route-section { padding-block: 96px; }
.route-action { padding: 14px 28px; }

.service-list { display: grid; gap: 24px; }
.service-detail {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.service-detail-icon, .reach-icon, .purpose-icon {
  display: grid;
  place-items: center;
  flex: none;
  color: var(--blue);
  background: #0f4b660d;
}
.service-detail-icon { width: 64px; height: 64px; border-radius: 16px; }
.service-detail-icon img { object-fit: contain; }
.service-detail h2 { font-size: 24px; line-height: 32px; }
.service-detail p { margin-top: 12px; color: var(--muted); line-height: 26px; max-width: 768px; }
.service-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 24px; }
.service-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; color: #0f4b66d9; }
.service-checks li::before {
  content: '';
  flex: 0 0 8px;
  height: 5px;
  border: solid var(--orange);
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
  margin: 5px 3px 0 2px;
}
.service-cta { margin-top: 56px; text-align: center; }
.service-cta h2, .portfolio-cta h2, .portfolio-row h2, .about-intro h2, .journey h2 {
  font-size: 30px;
  line-height: 36px;
}
.service-cta p, .portfolio-cta p { margin-top: 12px; }
.service-cta p { color: var(--muted); }
.service-cta .route-action { margin-top: 28px; }

.portfolio-list { display: grid; gap: 96px; }
.portfolio-row, .about-intro, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.portfolio-row { gap: 32px; align-items: start; }
.route-picture {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 24px #0f4b660d;
}
.route-picture img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.project-category, .timeline-year {
  color: var(--orange);
  font-weight: 600;
}
.project-category { font-size: 12px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; }
.portfolio-row h2 { margin-top: 8px; }
.portfolio-copy { margin-top: 16px; color: var(--muted); line-height: 26px; overflow-wrap: anywhere; }
.portfolio-copy p + p { margin-top: 12px; }
.portfolio-copy a { text-decoration: underline; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.portfolio-tags li {
  padding: 4px 12px;
  border-radius: 99px;
  color: var(--blue);
  background: #0f4b660d;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}
.portfolio-cta-wrap { margin-top: 80px; }
.portfolio-cta {
  margin-inline: auto;
  max-width: 72rem;
  padding: 56px;
  border-radius: 24px;
  text-align: center;
  background: var(--blue);
  color: white;
}
.portfolio-cta h2 { color: white; text-wrap: balance; }
.portfolio-cta p { color: #ffffffb3; }
.portfolio-cta .route-action { margin-top: 32px; }

.about-intro { align-items: center; }
.about-intro h2, .journey h2, .reach h2 { margin-top: 16px; letter-spacing: -.025em; }
.about-intro p, .purpose-card p, .timeline p { color: var(--muted); line-height: 26px; }
.about-intro p { margin-top: 16px; }
.about-stats { background: var(--blue); color: white; }
.about-stats .stats { padding-block: 56px; text-align: center; }
.about-stats dt { color: #ffffffb3; }
.about-stats dd { color: var(--orange); font-size: 36px; line-height: 40px; }
.purpose-grid { display: grid; gap: 24px; }
.purpose-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.purpose-icon { width: 48px; height: 48px; border-radius: 12px; background: #ff7a1a1a; }
.purpose-card h2 { margin-top: 20px; font-size: 20px; line-height: 28px; }
.purpose-card p { margin-top: 12px; }
.journey { padding-bottom: 112px; }
.timeline {
  display: grid;
  gap: 40px;
  margin: 48px 0 0 16px;
  border-left: 2px solid var(--border);
}
.timeline li { padding-left: 40px; position: relative; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--surface);
}
.timeline-year { font-size: 14px; line-height: 20px; font-weight: 700; }
.timeline h3 { margin-top: 4px; font-size: 18px; line-height: 28px; font-weight: 600; }
.timeline p { margin-top: 6px; max-width: 672px; font-size: 14px; line-height: 22.75px; }
.journey .route-action { margin-top: 56px; }

.reach h2 { font-size: 24px; line-height: 32px; }
.reach-list {
  display: grid;
  gap: 24px;
  margin: 32px 0 0;
  font-size: 14px;
  line-height: 20px;
}
.reach-list > div { display: flex; gap: 16px; }
.reach-list dt { color: var(--blue); font-weight: 600; }
.reach-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.reach-list a:hover { color: var(--orange); }
.reach-icon { height: 44px; width: 44px; border-radius: 12px; }
.office-map { margin-top: 32px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.office-map iframe { display: block; border: 0; width: 100%; height: 256px; }
.contact-panel {
  align-self: start;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}
.contact-panel h2 { font-size: 20px; line-height: 28px; }
.contact-panel p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.contact-panel .contact-form { background: transparent; border: 0; border-radius: 0; padding: 0; margin-top: 24px; }

@media (min-width: 768px) {
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .portfolio-row, .about-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-row { gap: 56px; }
  .portfolio-row:nth-child(even) .route-picture { order: 2; }
  .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
@media (max-width: 767.98px) {
  .page-hero h1 { font-size: 48px; }
  .service-detail { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 639.98px) {
  .page-hero { padding-block: 128px 64px; }
  .page-hero h1 { font-size: 36px; line-height: 40px; }
  .route-section { padding-block: 64px; }
  .service-detail { padding: 28px; }
  .service-checks { grid-template-columns: minmax(0, 1fr); }
  .service-cta h2, .portfolio-cta h2 { font-size: 24px; line-height: 32px; }
  .portfolio-list { gap: 64px; }
  .portfolio-cta { padding: 40px; }
  .journey { padding-bottom: 80px; }
  .timeline { margin-left: 12px; }
  .timeline li { padding-left: 32px; }
  .contact-panel { padding: 24px; }
}

.service-detail-icon img { width: 40px; height: 40px; }
