.inner-page {
  background: var(--bg);
}

.inner-page .site-header {
  background: transparent;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 6.1fr) minmax(0, 5.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 8vw, 7rem);
}

.page-hero-copy h1 {
  max-width: 11ch;
  font-size: var(--step-display);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.94;
}

.page-hero-media {
  overflow: hidden;
  background: var(--surface);
}

.page-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.page-hero-media figcaption,
.page-film figcaption,
.page-gallery figcaption,
.capability-row figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.page-section {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.page-section-white {
  background: #fff;
}

.page-section-soft {
  background: #eef3f6;
}

.page-section-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.page-section-head h2,
.content-split h2,
.page-section > .wrap > h2 {
  max-width: 18ch;
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.page-section-head p,
.content-split > div > p {
  color: var(--muted);
}

.table-scroll {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.comparison-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
}

.comparison-table th,
.comparison-table td {
  padding: clamp(0.9rem, 2vw, 1.35rem);
  border-bottom: 1px solid #d7e0e7;
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: #e7eef6;
  color: var(--ink);
  font-size: var(--step-small);
}

.comparison-table tbody th {
  color: var(--ink);
  font-weight: 700;
}

.comparison-table tbody td {
  color: var(--muted);
}

.table-note,
.fact-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 0;
  list-style: none;
}

.flow-strip li {
  position: relative;
  min-height: 92px;
  padding: 1.05rem 2.65rem 1.05rem 2rem;
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 50%,
    calc(100% - 18px) 100%,
    0 100%,
    18px 50%
  );
  background: #fff;
}

.flow-strip li:first-child {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.flow-strip li:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 18px 50%);
}

.flow-strip strong,
.flow-strip span {
  display: block;
}

.flow-strip strong {
  font-size: var(--step-body);
}

.flow-strip span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}

.content-split > div > p {
  margin-top: 1.4rem;
}

.check-list {
  display: grid;
  gap: 0;
}

.check-list li {
  padding-block: 1rem;
  padding-left: 1.8rem;
  position: relative;
}

.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.photo-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr);
  grid-auto-rows: minmax(0, 1fr);
  gap: var(--gutter);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.photo-strip figure {
  display: grid;
  align-content: start;
}

.photo-strip figure:first-child {
  grid-row: span 2;
}

.photo-strip img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-strip figure:first-child img {
  aspect-ratio: auto;
  min-height: 100%;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.related-links a {
  display: grid;
  gap: 0.45rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  text-decoration: none;
}

.related-links a::after {
  content: "→";
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
}

.related-links span {
  color: var(--muted);
}

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  margin-block: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.page-cta-dark {
  background: var(--dark);
  color: var(--dark-ink);
}

.page-cta h2 {
  font-size: var(--step-head);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.page-cta p {
  margin-top: 1.3rem;
  color: var(--dark-muted);
}

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

.page-contact-links {
  margin-top: 1rem;
  color: var(--dark-muted);
  overflow-wrap: anywhere;
}

.page-contact-links a {
  color: var(--dark-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fact-band {
  background: #e7eef6;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-grid p {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem clamp(0.75rem, 2vw, 1.5rem);
}

.fact-grid strong {
  color: var(--ink);
}

.fact-grid span {
  color: var(--muted);
  font-size: var(--step-small);
}

.capability-list {
  display: grid;
  gap: clamp(3.5rem, 8vw, 7rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.capability-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.capability-row-reverse .capability-copy {
  grid-column: 2;
}

.capability-row-reverse figure {
  grid-column: 1;
  grid-row: 1;
}

.capability-copy h3 {
  font-size: var(--step-lead);
  font-weight: 600;
}

.capability-copy p {
  margin-top: 1rem;
  color: var(--muted);
}

.capability-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-film {
  margin-block: clamp(2rem, 5vw, 4rem);
}

.page-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem clamp(2rem, 8vw, 8rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.quality-grid article {
  padding-top: 1rem;
}

.quality-grid h3 {
  font-size: var(--step-lead);
}

.quality-grid p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.scope-list {
  display: grid;
  gap: 0;
}

.scope-list div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
}

.scope-list dt {
  color: var(--ink);
  font-weight: 700;
}

.scope-list dd {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .page-hero,
  .page-section-head,
  .content-split,
  .capability-row,
  .page-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-row-reverse .capability-copy,
  .capability-row-reverse figure {
    grid-column: 1;
    grid-row: auto;
  }

  .capability-row-reverse figure {
    order: 2;
  }

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

  .photo-strip {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .photo-strip figure:first-child {
    grid-row: auto;
  }

  .photo-strip figure:first-child img,
  .photo-strip img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .flow-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0 0 0 1.35rem;
  }

  .flow-strip li,
  .flow-strip li:first-child,
  .flow-strip li:last-child {
    min-height: 64px;
    clip-path: none;
    padding: 0.9rem 1rem 0.9rem 1.8rem;
  }
}

@media (max-width: 700px) {
  .page-hero {
    gap: 2rem;
    padding-block: 2rem 4rem;
  }

  .page-hero-copy h1 {
    font-size: clamp(2.5rem, 10.5vw, 3.6rem);
  }

  .page-section {
    padding-block: 4rem;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }

  .flow-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    padding-left: 1.35rem;
  }

  .flow-strip li,
  .flow-strip li:first-child,
  .flow-strip li:last-child {
    min-height: 64px;
    clip-path: none;
    padding: 0.9rem 1rem 0.9rem 1.8rem;
  }

  .flow-strip li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -1.12rem;
    width: 0.55rem;
    height: 0.55rem;
    border-top: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
  }

  .fact-grid,
  .photo-strip,
  .related-links,
  .quality-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fact-grid p {
    padding: 0.85rem 1rem;
  }

  .related-links a {
    padding: 1.2rem;
  }

  .scope-list div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

}

@media (max-width: 600px) {
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .comparison-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .comparison-table tbody tr {
    padding: 1rem;
    background: #fff;
  }

  .comparison-table tbody th {
    padding: 0 0 0.65rem;
    border: 0;
  }

  .comparison-table tbody td {
    display: grid;
    grid-template-columns: minmax(7rem, 0.75fr) minmax(0, 1.25fr);
    gap: 0.8rem;
    padding: 0.45rem 0;
    border: 0;
  }

  .comparison-table tbody td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 700;
  }
}
