/* Shared entry links and dedicated work-line pages. */
.line-detail__explore { display: flex; justify-content: flex-end; margin: -1rem 0 2.4rem; }
.line-detail__explore a { display: inline-flex; align-items: center; gap: 1.2rem; min-height: 4.4rem; color: #00766a; font: 700 1.5rem/1.5 var(--font-2); }
.line-detail__explore a:hover { color: #003f38; }
.line-detail__explore a:focus-visible, .line-page a:focus-visible { outline: 3px solid #00a998; outline-offset: 5px; }
.line-page { background: #f4f5f5; }
.line-page .s-header { background: #111817; }
.line-page__hero { padding: 16rem max(2.4rem, calc((100% - 120rem) / 2)) 6rem; background: #142620; color: #f4f7f5; border-bottom: .4rem solid var(--color-1); }
.line-page__back { display: inline-flex; align-items: center; min-height: 4.4rem; gap: 1rem; color: #a0e3d4; font-size: 1.5rem; margin-bottom: 3rem; }
.line-page__back:hover { color: white; }
.line-page__eyebrow { color: #a0e3d4; font: 700 1.3rem/1.5 var(--font-2); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1.6rem; }
.line-page__hero h1 { color: #fff; font-size: clamp(3.4rem, 4.5vw, 6rem); line-height: 1.12; letter-spacing: -.025em; max-width: 110rem; margin: 0 0 2.4rem; overflow-wrap: break-word; }
.line-page__summary { font-size: clamp(1.8rem, 2vw, 2.2rem); line-height: 1.65; color: #ceddd7; max-width: 86rem; margin: 0; }
.line-page__content { max-width: 128rem; margin: auto; padding: 5rem 4rem; }
.line-page__content .line-detail { padding: 0; border: 0; animation: none; }
.line-page__content h2 { color: #112820; font-size: 2.6rem; margin: 0 0 2.4rem; }
.line-page__content .work-gallery h2 { font-size: clamp(2.8rem, 3vw, 4rem); margin-bottom: 1rem; }
.line-page__content .line-projects__heading { margin-top: 3rem; }
.line-page__contact { border-top: 1px solid #c7d4ce; padding-top: 3.2rem; margin-top: 4rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.line-page__contact a:first-child { padding: 1.4rem 2.2rem; background: #00766a; color: white; font: 700 1.6rem/1.5 var(--font-2); }
.line-page__contact a:last-child { color: #006b60; font-size: 1.5rem; }
.line-page__related { padding-top: 4rem; margin-top: 4rem; border-top: 1px solid #c7d4ce; }
.line-page__related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.line-page__related-links a { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; padding: 2rem; background: white; border-left: 3px solid #008e80; color: #173e32; font: 700 1.6rem/1.5 var(--font-2); }
.line-page .s-footer { background: #111817; }
@media (max-width: 700px) {
    .line-detail__explore { justify-content: flex-start; }
    .line-page__hero { padding: 12rem 2.4rem 3.6rem; }
    .line-page__back { margin-bottom: 2rem; }
    .line-page__content { padding: 3.2rem 2.4rem; }
    .line-page__related-links { grid-template-columns: 1fr; }
}
