.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 500px;
  height: 62svh;
  max-height: 680px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.page-hero__media,
.page-hero__overlay {
  position: absolute;
  inset: 0;
}

.page-hero__media {
  inset: -8% 0;
  transform: translate3d(0, var(--page-hero-shift, 0px), 0) scale(1.04);
  transform-origin: center;
  will-change: transform;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.58) saturate(0.82);
}

.page-hero__overlay {
  background: rgba(0, 0, 0, 0.32);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.page-hero__kicker {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
}

.page-hero h1 {
  font-size: 68px;
  line-height: 1;
}

.page-hero__lead {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.breadcrumb {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}

.breadcrumb__inner {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
}

.breadcrumb a {
  color: white;
}

.content-section {
  padding-block: 108px;
}

.content-section--soft {
  background: var(--soft);
}

.content-section--dark {
  background: var(--ink);
  color: white;
}

.content-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.content-heading h2 {
  font-size: 42px;
}

.content-heading > p {
  color: var(--muted);
}

.content-section--dark .content-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.story-grid,
.service-overview,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 72px;
  align-items: center;
}

.story-copy h2,
.contact-copy h2 {
  font-size: 42px;
}

.story-copy > p:not(.eyebrow),
.contact-copy > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
}

.story-copy strong {
  color: var(--red);
}

.media-frame {
  min-width: 0;
  overflow: hidden;
  background: #e7e9e6;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.06);
  will-change: transform;
}

.media-frame--landscape {
  aspect-ratio: 4 / 3;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.illustration-frame {
  min-width: 0;
  background: #faf8f1;
  overflow: hidden;
}

.illustration-frame img {
  width: 100%;
  height: auto;
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.025);
  will-change: transform;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.value-item {
  min-height: 250px;
  padding: 34px;
  background: var(--ink);
}

.value-item span,
.timeline-item time,
.service-detail__number {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.value-item h3 {
  margin-top: 54px;
  font-size: 23px;
}

.value-item p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

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

.company-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.company-row dt {
  font-size: 13px;
  font-weight: 800;
}

.company-row dd {
  margin: 0;
  color: var(--muted);
}

.company-row dd span {
  display: block;
}

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

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0 28px 26px;
  border-bottom: 1px solid var(--line);
}

.timeline-item::before {
  position: absolute;
  top: 36px;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  background: var(--red);
}

.service-overview__copy h2 {
  font-size: 42px;
}

.service-overview__copy > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--muted);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.capability-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 76px;
  align-items: center;
  padding-block: 76px;
  border-top: 1px solid var(--line);
}

.service-detail--reverse .service-detail__copy {
  order: 2;
}

.service-detail--reverse .service-detail__visual {
  order: 1;
}

.service-detail__copy h2 {
  margin-top: 16px;
  font-size: 34px;
}

.service-detail__copy > p {
  margin-top: 20px;
  color: var(--muted);
}

.service-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail__features li {
  padding: 6px 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.service-detail__visual {
  min-width: 0;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.service-detail__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.service-detail__visual--photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-detail__visual--photo img {
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.06);
}

.process-figure {
  background: #faf8f1;
  overflow: hidden;
}

.process-figure img {
  width: 100%;
  height: auto;
}

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

.process-step {
  padding-top: 18px;
  border-top: 3px solid var(--red);
}

.process-step span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.process-step h3 {
  margin-top: 8px;
  font-size: 17px;
}

.price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: white;
}

.price-table th,
.price-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  width: 240px;
  font-size: 14px;
}

.price-table td:nth-child(2) {
  width: 190px;
  color: var(--red);
  font-weight: 800;
}

.price-table td:last-child {
  color: var(--muted);
  font-size: 13px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.filter-button {
  min-height: 42px;
  padding: 0 16px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.works-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
}

.work-card[hidden] {
  display: none;
}

.work-meta {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

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

.member-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  min-height: 340px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.member-card__photo {
  min-height: 100%;
  overflow: hidden;
  background: #e5e7e4;
}

.member-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.05);
  transition: filter 220ms ease, transform 220ms ease;
}

.member-card:hover .member-card__photo img {
  filter: saturate(1);
  transform: translate3d(0, var(--media-y, 0px), 0) scale(1.08);
}

.member-card--portrait .member-card__photo img {
  object-position: center 24%;
}

.member-card__body {
  padding: 30px;
}

.member-card__body > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.member-card h2 {
  margin-top: 18px;
  font-size: 25px;
}

.member-card p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.news-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.news-row time {
  color: var(--muted);
  font-size: 12px;
}

.news-row h2 {
  font-size: 19px;
}

.news-row p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.news-row svg {
  width: 19px;
  height: 19px;
}

.contact-process {
  margin-top: 52px;
}

.contact-form {
  display: grid;
  gap: 24px;
  padding: 38px;
  background: var(--soft);
  border-top: 4px solid var(--red);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.form-label {
  font-size: 13px;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: white;
  border: 1px solid #cfd3cf;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(229, 27, 35, 0.18);
  outline-offset: 1px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--red);
}

.contact-form .button {
  justify-self: start;
  min-width: 210px;
  border: 0;
  cursor: pointer;
}

.contact-form--live .wpcf7 form {
  display: grid;
  gap: 22px;
  margin: 0;
}

.contact-form--live .wpcf7 p {
  display: grid;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.contact-form--live .wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}

.contact-form--live input:not([type="submit"]),
.contact-form--live textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: white;
  border: 1px solid #cfd3cf;
  border-radius: 0;
  color: var(--ink);
  font: inherit;
}

.contact-form--live textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form--live input:not([type="submit"]):focus,
.contact-form--live textarea:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(229, 27, 35, 0.18);
  outline-offset: 1px;
}

.contact-form--live .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 52px;
  padding: 12px 22px;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.contact-form--live .wpcf7-not-valid-tip,
.contact-form--live .wpcf7-response-output {
  font-size: 12px;
  font-weight: 500;
}


.page-cta {
  position: relative;
  padding-block: 88px;
  overflow: hidden;
  background: var(--red);
  color: white;
}

.page-cta::before {
  position: absolute;
  top: -70%;
  right: 10%;
  width: 2px;
  height: 240%;
  content: "";
  background: rgba(255, 255, 255, 0.34);
  transform: rotate(18deg) translate3d(0, var(--contact-shift, 0px), 0);
}

.page-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.page-cta h2 {
  font-size: 38px;
}

.page-cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
  .page-hero {
    min-height: 440px;
    height: 56svh;
    max-height: 560px;
  }

  .page-hero__inner {
    padding-bottom: 48px;
  }

  .page-hero h1 {
    font-size: 48px;
  }

  .content-section {
    padding-block: 80px;
  }

  .content-heading,
  .story-grid,
  .service-overview,
  .contact-layout,
  .service-detail,
  .page-cta__inner {
    grid-template-columns: 1fr;
  }

  .content-heading,
  .story-grid,
  .service-overview,
  .contact-layout {
    gap: 34px;
  }

  .content-heading h2,
  .story-copy h2,
  .contact-copy h2,
  .service-overview__copy h2 {
    font-size: 34px;
  }

  .value-grid,
  .works-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail {
    gap: 34px;
    padding-block: 58px;
  }

  .service-detail--reverse .service-detail__copy,
  .service-detail--reverse .service-detail__visual {
    order: initial;
  }

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

  .page-cta__inner {
    gap: 28px;
  }

  .page-cta .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .page-hero {
    min-height: 400px;
    height: 52svh;
    max-height: 470px;
  }

  .page-hero__inner {
    padding-bottom: 38px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .page-hero__lead {
    font-size: 14px;
  }

  .content-section {
    padding-block: 66px;
  }

  .content-heading {
    gap: 18px;
    margin-bottom: 42px;
  }

  .content-heading h2,
  .story-copy h2,
  .contact-copy h2,
  .service-overview__copy h2 {
    font-size: 28px;
  }

  .service-overview__copy h2 {
    font-size: 26px;
  }

  .value-grid,
  .works-archive-grid,
  .process-steps,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .company-row,
  .timeline-item,
  .news-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-item {
    padding-left: 24px;
  }

  .service-detail__copy h2 {
    font-size: 27px;
  }

  .service-detail__visual img {
    width: calc(100% + 20px);
    max-width: none;
    margin-left: -10px;
  }

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

  .member-card__photo {
    aspect-ratio: 4 / 3;
  }

  .member-card__body,
  .contact-form {
    padding: 24px;
  }

  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-button {
    padding-inline: 10px;
  }

  .news-row svg {
    display: none;
  }

  .page-cta {
    padding-block: 66px;
  }

  .page-cta h2 {
    font-size: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__media,
  .media-frame img,
  .illustration-frame img,
  .service-detail__visual,
  .service-detail__visual--photo img,
  .member-card__photo img,
  .page-cta::before {
    transform: none !important;
    will-change: auto;
  }
}
