.company-page {
    --company-ink: #263a42;
    color: var(--company-ink);
    background: var(--surface-soft);
}

.company-top { padding-bottom: 48px; }
.company-page .breadcrumbs { margin: 0; padding: 24px 0 18px; }

.company-hero {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    overflow: hidden;
    border-radius: var(--radius-card);
    background: var(--company-ink);
    color: #fff;
}

.company-hero-copy { padding: clamp(32px, 4vw, 62px); }
.company-hero .company-brand-line {
    margin: 0 0 22px;
    color: #f0b49a;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: .065em;
}

.company-hero h1 {
    max-width: 13em;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.08;
    text-wrap: balance;
}

.company-hero-copy > p:not(.eyebrow) {
    max-width: 540px;
    margin-top: 22px;
    color: #edf1f2;
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.company-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.company-inline-link svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.company-hero .company-inline-link { margin-top: 28px; color: #fff; }
.company-hero .company-inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.company-hero .company-inline-link svg { color: #f0b49a; }
.company-page a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.company-hero-image {
    position: relative;
    min-height: 365px;
    margin: 0;
    overflow: hidden;
    background: var(--company-ink);
}
.company-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.company-hero-image figcaption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 6px 10px;
    border-radius: var(--radius-card);
    background: var(--company-ink);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
}

.company-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 20px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
}
.company-metrics > div {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 9px;
    padding: 23px clamp(16px, 2.2vw, 34px);
}
.company-metrics > div + div { border-inline-start: 1px solid var(--line); }
.company-metrics dt { color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.company-metrics dd {
    margin: 0;
    font-size: clamp(27px, 3.2vw, 45px);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    line-height: 1.1;
    white-space: nowrap;
}
.company-metrics dd > span { font-size: .42em; letter-spacing: 0; }

.company-section { padding-block: 56px; }
.company-section--white { background: #fff; }
.company-section h2 {
    margin: 0 0 24px;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    letter-spacing: -.03em;
    line-height: 1.16;
}
.company-section-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 24px;
    margin-bottom: 24px;
}
.company-section-heading h2 { margin-bottom: 0; }
.company-section-heading p { color: var(--text-muted); }

.company-three,
.company-engineering-grid { display: grid; gap: 16px; }
.company-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.company-engineering-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.company-role,
.company-advantage,
.company-product {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
}
.company-role,
.company-advantage,
.company-product-copy { padding: 24px; }
.company-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    margin-top: 16px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-soft);
}
.company-contact > div { min-width: 0; }
.company-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.company-contact-links a { min-height: 44px; overflow-wrap: anywhere; }
.company-resources-link { margin-top: 16px; }
#company-roles { scroll-margin-top: 100px; }
.company-advantage { border-inline-start: 3px solid var(--accent); }
.company-role .eyebrow { margin-bottom: 12px; color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.company-section h3 { margin: 0 0 10px; font-size: 23px; font-weight: 600; line-height: 1.3; }
.company-section :is(.company-role,.company-advantage,.company-product,.company-production) p:not(.eyebrow) {
    margin: 0;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.company-product { display: flex; flex-direction: column; overflow: hidden; color: var(--company-ink); }
.company-product:hover { border-color: var(--line-strong); }
.company-product:hover .company-inline-link { text-decoration: underline; text-underline-offset: 4px; }
.company-product-image {
    display: grid;
    place-items: center;
    height: 164px;
    overflow: hidden;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}
.company-product-image img {
    width: 100%;
    height: 137px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.company-product[data-family="columns-and-legs"] .company-product-image { background: #fff; }
.company-product[data-family="columns-and-legs"] img { filter: brightness(1.02); }
.company-product[data-family="control-components"] img { filter: brightness(1.05); }
.company-product-copy { flex: 1; display: flex; flex-direction: column; }
.company-product-copy .company-inline-link { margin-top: auto; padding-top: 18px; }

.company-production {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(20px, 4vw, 54px);
    margin-top: 32px;
    padding: clamp(18px, 3vw, 40px);
    scroll-margin-top: 100px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface-soft);
}
.company-section .company-production p.company-video-language {
    margin-top: 12px;
    font-size: 13px;
}
.company-production video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-card);
    background: var(--company-ink);
}
.company-page .project-cta { background: var(--company-ink); }

@media (max-width: 900px) {
    .company-hero-copy { padding: 30px; }
    .company-section { padding-block: 44px; }
    .company-role,
    .company-advantage,
    .company-product-copy { padding: 20px; }
}

@media (max-width: 700px) {
    .company-hero,
    .company-three,
    .company-engineering-grid,
    .company-production { grid-template-columns: minmax(0, 1fr); }
    .company-top { padding-bottom: 36px; }
    .company-hero-copy { padding: 26px 21px; }
    .company-hero .company-brand-line { margin-bottom: 15px; font-size: 11px; }
    .company-hero h1 { font-size: clamp(31px, 8vw, 39px); text-wrap: initial; }
    .company-hero-copy > p:not(.eyebrow) { font-size: 16px; margin-top: 16px; }
    .company-hero .company-inline-link { margin-top: 20px; }
    .company-hero-image { min-height: 0; aspect-ratio: 16 / 10; }
    .company-hero-image figcaption { bottom: 10px; left: 10px; }
    .company-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-metrics > div { padding: 16px; }
    .company-metrics > div:nth-child(3) { border-inline-start: 0; }
    .company-metrics > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .company-metrics dt { font-size: 13px; }
    .company-section { padding-block: 36px; }
    .company-section h2 { margin-bottom: 20px; }
    .company-section-heading h2 { margin-bottom: 0; }
    .company-section h3 { font-size: 21px; }
    .company-production { margin-top: 20px; }
}

@media (max-width: 370px) {
    .company-metrics dd > span { display: block; margin-top: 4px; }
}
