.company-page {
  background: #f7fafb;
  color: #171d24;
  font-size: 16px;
  line-height: 1.8;
}

.company-page h1,
.company-page h2,
.company-page h3,
.company-page p {
  margin-top: 0;
}

.company-hero {
  padding: clamp(64px, 8vw, 116px) 0 clamp(70px, 8vw, 126px);
  border-bottom: 1px solid #cbd7df;
  background: #eef3f6;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
}

.company-kicker,
.section-index,
.company-position-label {
  margin-bottom: 14px;
  color: #27618a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.company-hero h1 {
  max-width: 10em;
  margin-bottom: 24px;
  color: #17374a;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.company-lead {
  max-width: 40em;
  margin-bottom: 0;
  color: #304653;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
}

.company-position {
  padding: 24px 26px;
  border: 1px solid #cbd7df;
  background: #ffffff;
}

.company-position strong {
  display: block;
  margin-bottom: 12px;
  color: #17374a;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
}

.company-position p {
  margin-bottom: 0;
  color: #4c5e6c;
  font-size: 15px;
}

.company-section {
  padding: clamp(64px, 8vw, 112px) 0;
  border-bottom: 1px solid #cbd7df;
  background: #ffffff;
}

.company-section-cool {
  background: #eef3f6;
}

.company-reading-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.section-heading {
  position: relative;
}

.section-heading h2 {
  max-width: 11em;
  margin-bottom: 0;
  color: #17374a;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.section-heading-wide {
  display: grid;
  grid-template-columns: minmax(72px, 0.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading-wide .section-index {
  margin-top: 8px;
}

.section-heading-wide h2 {
  margin-bottom: 10px;
}

.section-heading-wide > div > p:last-child {
  max-width: 38em;
  margin-bottom: 0;
  color: #4c5e6c;
}

.company-copy {
  max-width: 42em;
  color: #304653;
}

.company-copy p {
  margin-bottom: 20px;
}

.company-copy p:last-child {
  margin-bottom: 0;
}

.service-list {
  border-top: 1px solid #9fb2bd;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid #cbd7df;
}

.service-row h3,
.scenario-row h3 {
  margin-bottom: 0;
  color: #17374a;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.service-row p,
.scenario-row p {
  max-width: 43em;
  margin-bottom: 0;
  color: #4c5e6c;
}

.device-note {
  padding: 14px 18px;
  border: 1px solid #cbd7df;
  color: #17374a;
  background: #eef3f6;
}

.device-expansion-label {
  margin-bottom: 4px !important;
  color: #27618a;
  font-size: 13px;
  font-weight: 700;
}

.scenario-list {
  border-top: 1px solid #9fb2bd;
}

.scenario-row {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid #cbd7df;
}

.scenario-row > div > span {
  display: block;
  margin-bottom: 3px;
  color: #657582;
  font-size: 13px;
}

.scenario-row.is-current h3 {
  color: #27618a;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  border-top: 1px solid #9fb2bd;
}

.principle-list p {
  padding: 17px 0;
  margin-bottom: 0;
  border-bottom: 1px solid #cbd7df;
  color: #304653;
}

.company-contact {
  padding: clamp(58px, 7vw, 92px) 0;
  color: #ffffff;
  background: #17374a;
}

.company-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: start;
}

.company-contact .section-index {
  color: #b9cfdb;
}

.company-contact h2 {
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 650;
  line-height: 1.35;
}

.company-contact-copy {
  max-width: 40em;
  color: #dce8ed;
}

.company-contact-copy > p:first-child {
  margin-bottom: 22px;
}

.company-contact-copy a {
  display: inline-block;
  margin-bottom: 22px;
  border-bottom: 1px solid #dce8ed;
  color: #ffffff;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.5;
}

.company-contact-copy p:last-child {
  margin-bottom: 0;
  color: #b9cfdb;
  font-size: 14px;
}

.retired-main {
  display: grid;
  min-height: min(62vh, 620px);
  place-items: center;
  padding: 72px 0;
  background: #eef3f6;
}

.retired-content {
  max-width: 760px;
  padding: 52px clamp(24px, 6vw, 72px);
  border: 1px solid #cbd7df;
  background: #ffffff;
}

.retired-content h1 {
  margin-bottom: 14px;
  color: #17374a;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.retired-content > p:not(.section-index) {
  max-width: 36em;
  margin-bottom: 28px;
  color: #4c5e6c;
}

.retired-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.retired-actions .button-light {
  color: #ffffff;
  background: #17374a;
}

.retired-actions .button-light:hover {
  background: #102d3e;
}

.retired-actions .button-outline {
  color: #17374a;
  border-color: #9fb2bd;
  background: #ffffff;
}

.retired-actions .button-outline:hover {
  color: #ffffff;
  border-color: #17374a;
  background: #17374a;
}

@media (max-width: 980px) {
  .company-hero-grid,
  .company-reading-grid,
  .company-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-hero h1 {
    font-size: clamp(1.85rem, 5vw, 2.25rem);
  }

  .company-position {
    max-width: 38em;
  }
}

@media (max-width: 680px) {
  .company-page {
    font-size: 16px;
    line-height: 1.75;
  }

  .company-hero {
    padding: 56px 0 64px;
  }

  .company-hero h1 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .company-lead {
    font-size: 16px;
  }

  .company-position {
    padding: 20px;
  }

  .company-section {
    padding: 56px 0;
  }

  .section-heading-wide {
    display: block;
    margin-bottom: 26px;
  }

  .section-heading-wide .section-index {
    margin-top: 0;
  }

  .section-heading h2,
  .company-contact h2 {
    font-size: 26px;
  }

  .service-row,
  .scenario-row {
    display: block;
    padding: 18px 0;
  }

  .service-row h3,
  .scenario-row h3 {
    margin-bottom: 5px;
    font-size: 17px;
  }

  .principle-list {
    display: block;
  }

  .company-contact {
    padding: 52px 0 60px;
  }

  .company-contact-copy a {
    max-width: 100%;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .retired-main {
    min-height: 56vh;
    padding: 44px 0;
  }

  .retired-content {
    padding: 36px 22px;
  }

  .retired-content h1 {
    font-size: 30px;
  }
}

/* About-only density and color treatment. Retired pages keep the shared base rules above. */
.about-page {
  --about-hero: #17374a;
  --about-hero-aside: #244b60;
  --about-heading: #17374a;
  --about-body: #2e4651;
  --about-muted: #47616d;
  --about-surface: #f5f7f6;
  --about-surface-cool: #e2ebef;
  --about-warm-note: #eee6d8;
  --about-gold: #dcc394;
  --about-gold-ink: #705a32;
  --about-line: #c3d3da;
}

.about-page .site-header {
  height: 64px;
}

.about-page .header-shell {
  justify-content: flex-start;
  gap: clamp(12px, 2vw, 28px);
}

.about-page .header-shell > .brand {
  min-width: 0;
  flex: 1 1 auto;
}

.about-page .site-nav {
  flex: 0 0 auto;
}

.about-page .company-page {
  color: var(--about-body);
  background: var(--about-surface);
  font-size: 15px;
  line-height: 1.8;
}

.about-page .company-hero {
  padding: clamp(56px, 5vw, 64px) 0;
  border-bottom-color: rgb(220 232 237 / 24%);
  color: #f4f7f8;
  background: var(--about-hero);
}

.about-page .company-hero-grid {
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.about-page .company-kicker,
.about-page .company-position-label {
  margin-bottom: 12px;
  color: var(--about-gold);
}

.about-page .company-hero h1 {
  margin-bottom: 16px;
  color: #f4f7f8;
  font-size: 32px;
  line-height: 1.25;
}

.about-page .company-lead {
  color: #dce8ed;
  font-size: 16px;
  line-height: 1.8;
}

.about-page .company-position {
  padding: 20px 22px;
  border-color: rgb(220 232 237 / 28%);
  color: #f4f7f8;
  background: var(--about-hero-aside);
}

.about-page .company-position strong {
  margin-bottom: 8px;
  color: #f4f7f8;
  font-size: 18px;
  line-height: 1.45;
}

.about-page .company-position p {
  color: #dce8ed;
  font-size: 14px;
  line-height: 1.7;
}

.about-page .company-section {
  padding: clamp(48px, 5vw, 64px) 0;
  border-bottom-color: var(--about-line);
  background: var(--about-surface);
}

.about-page .company-section-cool {
  background: var(--about-surface-cool);
}

.about-page .company-reading-grid,
.about-page .company-contact-grid {
  gap: clamp(24px, 4vw, 48px);
}

.about-page .section-index {
  margin-bottom: 12px;
  color: var(--about-gold-ink);
}

.about-page .section-heading h2,
.about-page .company-contact h2 {
  color: var(--about-heading);
  font-size: 24px;
  line-height: 1.3;
}

.about-page .company-contact h2 {
  color: #f4f7f8;
}

.about-page .section-heading-wide {
  gap: 16px;
  margin-bottom: 24px;
}

.about-page .section-heading-wide > div > p:last-child {
  color: var(--about-muted);
}

.about-page .company-copy {
  color: var(--about-body);
}

.about-page .company-copy p {
  margin-bottom: 14px;
}

.about-page .service-list,
.about-page .scenario-list,
.about-page .principle-list {
  border-top-color: #9fb7c2;
}

.about-page .service-row,
.about-page .scenario-row {
  gap: 24px;
  padding: 14px 0;
  border-bottom-color: var(--about-line);
}

.about-page .service-row h3,
.about-page .scenario-row h3 {
  color: var(--about-heading);
  font-size: 16px;
  line-height: 1.45;
}

.about-page .service-row p,
.about-page .scenario-row p {
  color: var(--about-muted);
}

.about-page .scenario-row > div > span {
  color: #47616d;
  font-size: 12px;
}

.about-page .scenario-row.is-current h3 {
  color: var(--about-gold-ink);
}

.about-page .device-expansion-label {
  color: var(--about-gold-ink);
}

.about-page .device-note {
  padding: 12px 14px;
  border-color: #d6c7ae;
  color: #33434a;
  background: var(--about-warm-note);
}

.about-page .principle-list p {
  padding: 12px 0;
  border-bottom-color: var(--about-line);
  color: var(--about-body);
}

.about-page .company-contact {
  padding: clamp(48px, 5vw, 56px) 0;
  background: var(--about-hero);
}

.about-page .company-contact .section-index {
  color: var(--about-gold);
}

.about-page .company-contact-copy {
  color: #dce8ed;
}

.about-page .company-contact-copy a {
  font-size: 18px;
}

.about-page .site-footer {
  padding: 24px 0 16px;
}

.about-page .footer-main {
  gap: 32px;
  padding-bottom: 18px;
}

.about-page .footer-brand .brand-copy strong {
  font-size: 14px;
}

.about-page .footer-bottom {
  gap: 8px 20px;
  padding-top: 14px;
  font-size: 11px;
}

@media (max-width: 980px) {
  .about-page .company-hero-grid,
  .about-page .company-reading-grid,
  .about-page .company-contact-grid {
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .about-page .site-header,
  html.navigation-ready .about-page .site-header {
    height: 60px;
    min-height: 60px;
  }

  .about-page .header-shell {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .about-page .brand-mark {
    width: 34px;
    height: 34px;
    margin-right: 8px;
  }

  .about-page .brand-copy {
    min-width: 0;
    flex: 1 1 auto;
  }

  .about-page .brand-copy strong {
    max-width: none;
    font-size: 12px;
    line-height: 1.15;
    white-space: normal;
  }

  .about-page .company-hero {
    padding: 36px 0;
  }

  .about-page .company-hero h1 {
    margin-bottom: 14px;
    font-size: 26px;
  }

  .about-page .company-position {
    padding: 16px 18px;
  }

  .about-page .company-section {
    padding: 32px 0 36px;
  }

  .about-page .section-heading h2,
  .about-page .company-contact h2 {
    font-size: 21px;
  }

  .about-page .section-heading-wide {
    margin-bottom: 18px;
  }

  .about-page .service-row,
  .about-page .scenario-row {
    padding: 12px 0;
  }

  .about-page .service-row h3,
  .about-page .scenario-row h3 {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .about-page .principle-list p {
    padding: 10px 0;
  }

  .about-page .company-contact {
    padding: 36px 0 40px;
  }

  .about-page .site-footer {
    padding: 20px 0 14px;
  }

  .about-page .footer-main {
    padding-bottom: 14px;
  }

  .about-page .footer-bottom {
    padding-top: 12px;
  }
}

@media (max-width: 390px) {
  .about-page .brand-copy strong {
    font-size: 11px;
  }
}

/* Preserve the complete navigation if progressive enhancement cannot load. */
@media (max-width: 780px) {
  html:not(.navigation-ready) .about-page .site-header {
    height: auto;
  }

  html:not(.navigation-ready) .about-page .header-shell {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  html:not(.navigation-ready) .about-page .site-nav {
    flex-basis: 100%;
    width: 100%;
    height: auto;
  }
}
