/* Interior pages share the landing's cobalt, sea glass and warm accent. */
.page-hero {
  --color-text-muted: #e0ecff;
  --color-text-subtle: #c5dcff;
  padding-block: clamp(8rem, 12vw, 11rem) clamp(3.5rem, 6vw, 6rem);
  background: #173b91;
  border-bottom: 1px solid #7292b8;
}
.page-services .page-hero { background: #214ac5; }
.page-about .page-hero { background: #124b50; }
.page-contact .page-hero { background: #123f49; }
.page-hero::after { content: none; }
.page-hero.grid-bg::before { opacity: 0.14; background-size: 100px 100px; }
.page-hero__inner { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr); gap: 2rem 4rem; align-items: end; }
.page-hero__inner > .section-label { grid-column: 1 / -1; }
.page-hero__title { max-width: 16ch; font-size: clamp(2.75rem, 5.5vw, 5.75rem); line-height: 1.1; }
.page-hero__intro { display: grid; gap: 1.75rem; min-width: 0; padding-bottom: 0.35rem; }
.page-hero__copy { margin: 0; max-width: 38ch; }
.page-hero__intro .button { justify-self: start; }
.page-hero__title em { color: #abffe7; }
.surface--light {
  --color-text: #102944;
  --color-text-muted: #39556c;
  --color-text-subtle: #4b687f;
  --color-accent: #126d68;
  --color-border: #b1cbd8;
  --color-border-strong: #557e91;
  color: var(--color-text);
  background: #e0edf3;
  color-scheme: light;
}
.surface--teal { background: #0b353d; }
.surface--navy { background: #08182f; }
.surface--light .section-label { color: var(--color-accent); }
.list-panel { border: 0; gap: 1rem; }
.list-panel__row {
  grid-template-columns: minmax(7rem, 0.3fr) minmax(0, 1fr) minmax(10rem, 0.4fr);
  padding: clamp(1.4rem, 3vw, 2.5rem);
  gap: 1.5rem;
  border: 1px solid #42678b;
  border-left: 4px solid #78edcf;
  border-radius: 0.75rem;
  background: #102c4b;
}
.list-panel__row h2,
.list-panel__row h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.9rem); line-height: 1.2; }
.list-panel__row .stack { gap: 0.8rem; }
.list-panel__row .mono { font-size: 0.8125rem; line-height: 1.65; letter-spacing: 0.025em; }
.list-panel__row > .mono:first-child { color: #abffe7; }
.list-panel__row > .mono:last-child { color: #d7e7ff; }
.page-services .list-panel__row:nth-child(2) { background: #2347ad; border-color: #7194ff; }
.page-services .list-panel__row:nth-child(3) { background: #124b50; border-color: #4b9797; }
.page-services .list-panel__row:nth-child(4) { background: #3a2d49; border-color: #a37e98; border-left-color: #ffb08b; }
.page-services .list-panel__row:nth-child(4) > .mono:first-child { color: #ffbf9f; }
.page-services .card,
.page-about .card { min-height: 18rem; padding: 2rem; gap: 1.5rem; border-radius: 1rem; border-color: var(--color-border); background: #f6fbff; }
.page-services .card:hover,
.page-about .card:hover { border-color: var(--color-border-strong); }
.page-services .card::before,
.page-services .card::after,
.page-about .card::before,
.page-about .card::after,
.contact-form::before,
.contact-form::after { content: none; }
.page-services .card:hover > *,
.page-about .card:hover > * { transform: none; }
.page-services .card__title,
.page-about .card__title { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.2; }
.page-services .card__copy,
.page-about .card__copy { font-size: 1rem; line-height: 1.6; }
.page-services .card__number,
.page-about .card__number { font-size: 0.875rem; }
.page-services .card .badge { align-self: start; background: #d9f3ec; border-color: #83bab0; color: #174c46; }
.page-services .card:nth-child(2) {
  --color-text: #fff;
  --color-text-muted: #e0ecff;
  --color-text-subtle: #c5dcff;
  --color-border: #7194ff;
  --color-border-strong: #abffe7;
  background: #2347ad;
}
.page-about .card { min-height: 16rem; border-top: 4px solid #177d72; }
.page-about .card:nth-child(2) { border-top-color: #2855d8; }
.page-about .card:nth-child(3) { border-top-color: #946047; }
.page-about .card:nth-child(4) { border-top-color: #6b527c; }
.page-about .list-panel__row { background: #12434a; border-color: #46777c; border-left-color: #78edcf; }
.page-projects .project-feature { border-color: #557fa5; }
.page-projects .project-media--capital { background: #2347ad; }
.page-projects .project-media--capital::before { inset: 15% 18%; border-radius: 1rem; border-color: #a9d8ff; background: linear-gradient(135deg, #78edcf66, transparent 70%), #102c4b; transform: rotate(-8deg); }
.page-projects .project-media--capital::after { width: 43%; height: 45%; right: 15%; bottom: 13%; border: 0; border-radius: 0; background: #a5ffe4; clip-path: polygon(0 100%, 0 80%, 22% 60%, 43% 70%, 68% 25%, 100% 0, 100% 100%); }
.page-projects .project-media--slab { background: #b77b5d; }
.page-projects .project-media--signal { background: #223b83; }
.page-projects .proof-item { background: #12434a; border-color: #46777c; }
.page-projects .proof-item h3 { font-size: 1.5rem; line-height: 1.2; }
.contact-layout { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.contact-layout > .stack { gap: 1.5rem; }
.contact-layout .display { font-size: clamp(2.25rem, 3.5vw, 3.75rem); }
.contact-layout .list-panel__row { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.5rem; border-color: #46777c; background: #12434a; }
.contact-layout .list-panel__row .link { color: #abffe7; text-transform: none; letter-spacing: 0; overflow-wrap: anywhere; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.contact-form {
  --color-text: #102944;
  --color-text-muted: #39556c;
  --color-text-subtle: #4b687f;
  --color-accent: #126d68;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid #b1cbd8;
  border-top: 4px solid #78edcf;
  border-radius: 1rem;
  background: #e0edf3;
  color-scheme: light;
}
.contact-form:hover { background: #e0edf3; border-color: #b1cbd8; border-top-color: #78edcf; }
.contact-form > .card__number,
.contact-form > .field--wide,
.contact-form > .button,
.contact-form > .form-status { grid-column: 1 / -1; }
.contact-form .card__number { color: #126d68; font-size: 0.875rem; }
.contact-form .field label { color: #102944; font-family: var(--font-sans); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea { min-height: 3.25rem; background: #f8fcff; color: #102944; border: 1px solid #829eb3; border-radius: 0.5rem; padding: 0.85rem; font-size: 1rem; }
.contact-form .field :is(input, select, textarea):focus { outline: 2px solid #126d68; outline-offset: 2px; border-color: #126d68; background: #fff; }
.contact-form textarea::placeholder { color: #526b7f; opacity: 1; }
.contact-form .button--primary { background: #123f49; color: #fff; border-color: #123f49; }
.contact-form .button--primary:hover { background: #1b5964; }
.contact-form .form-status { font-family: var(--font-sans); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
[id] { scroll-margin-top: 6rem; }
@media (max-width: 1100px) {
  .page-hero__inner { gap: 2rem; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .list-panel__row { grid-template-columns: 7rem minmax(0, 1fr); }
  .list-panel__row > .mono:last-child { grid-column: 2; }
  .page-about .grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-layout .list-panel__row > .mono:last-child { grid-column: auto; }
}
@media (max-width: 800px) {
  .page-hero__inner,
  .contact-layout { grid-template-columns: 1fr; }
  .page-hero__title { max-width: 19ch; font-size: clamp(2.25rem, 7vw, 4rem); }
  .page-hero__intro { gap: 1.25rem; }
  .page-hero__copy { max-width: 50ch; }
  .page-services .grid--three { grid-template-columns: 1fr; }
  .page-services .card { min-height: 0; }
}
@media (max-width: 560px) {
  .page-hero { padding-block: 7.5rem 3rem; }
  .page-hero__title { max-width: 100%; font-size: clamp(2rem, 8.4vw, 2.9rem); }
  .page-hero__intro .button { justify-self: stretch; }
  .list-panel__row,
  .page-about .grid--four { grid-template-columns: 1fr; }
  .list-panel__row > .mono:last-child { grid-column: auto; }
  .page-services .card,
  .page-about .card { min-height: 0; padding: 1.5rem; }
  .contact-layout .display { font-size: clamp(2rem, 8.4vw, 2.75rem); }
}
