/* Full source home. The four disclosures contain technical text and model links. */
#primary.ke-home--full .ke-home-choices { padding-block: clamp(28px,4vw,52px); }
#primary.ke-home--full .ke-home-choices h2 { margin: 0 0 18px; font-size: clamp(25px,3vw,40px); line-height: 1.12; color: #1a3c55; }
#primary.ke-home--full .ke-choice-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid #cbd7dd; background: #cbd7dd; gap: 1px; }
#primary.ke-home--full .ke-choice {
    display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; padding: clamp(15px,2vw,25px);
    background: #f4f7f8; text-decoration: none; color: #1a3c55;
}
#primary.ke-home--full .ke-choice strong { font-size: clamp(17px,1.5vw,22px); line-height: 1.25; }
#primary.ke-home--full .ke-choice span { color: #405968; font-size: 15px; line-height: 1.45; }
#primary.ke-home--full .ke-choice b { justify-self: end; font-size: 22px; line-height: 1; }
#primary.ke-home--full .ke-choice:hover strong { text-decoration: underline; text-underline-offset: .16em; }
#primary.ke-home--full .ke-choice:hover { background: #e8eff2; }
#primary.ke-home--full .ke-home-contact-link { color: #1a3c55; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 700; text-underline-offset: .2em; }
#primary.ke-home--full .ke-home-cost-note { max-width: 60ch; line-height: 1.6; }
#primary.ke-home--full .ke-home-details { margin-block: 14px; border-block-start: 1px solid #8499a5; border-block-end: 1px solid #8499a5; }
#primary.ke-home--full .ke-home-details > summary { min-height: 48px; padding: 12px 10px 12px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.4; }
#primary.ke-home--full .ke-home-details > summary::-webkit-details-marker { display: none; }
#primary.ke-home--full .ke-home-details > summary::after { content: ''; flex: 0 0 9px; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -5px 4px 0; }
#primary.ke-home--full .ke-home-details[open] > summary::after { transform: rotate(225deg); margin-block: 5px 0; }
#primary.ke-home--full .ke-home-details[open] { padding-bottom: 12px; }
#primary.ke-home--full :is(.ke-choice, .ke-home-contact-link, .ke-home-details > summary):focus-visible { outline: 3px solid #d99400; outline-offset: 3px; }
#primary.ke-home--full .ke-hero-rotation-count { color: #1a3c55; }
#primary.ke-home--full .ke-hero-rotation-track { background: #bccbd2; }

/* Keep each original figure and caption visible in document order, including portrait photos. */
#primary.ke-home--full :is(.ke-home-runways__figure, .ke-home-beams__mosaic figure, .ke-home-loads__collage figure, .ke-home-portal__cases figure, .ke-home-projects__grid figure) {
    display: flex; flex-direction: column; align-self: start;
    position: relative; margin: 0; width: 100%; height: auto; min-height: 0; max-height: none; overflow: visible;
}
#primary.ke-home--full :is(.ke-home-runways__figure, .ke-home-beams__mosaic, .ke-home-loads__collage, .ke-home-portal__cases, .ke-home-projects__grid) img {
    position: static; inset: auto; display: block; visibility: visible; opacity: 1;
    width: 100%; height: auto; max-width: 100%; min-height: 0; max-height: none;
    /* Size the frame before a lazy image loads, even when sizes starts with auto. */
    object-fit: contain; object-position: center; transform: none;
    aspect-ratio: var(--ke-photo-ratio, auto);
}
/* Dimension pairs used by the approved photographs, including older browsers. */
#primary.ke-home--full figure img[width="1024"][height="768"] { --ke-photo-ratio: 4 / 3; }
#primary.ke-home--full figure img[width="768"][height="512"] { --ke-photo-ratio: 3 / 2; }
#primary.ke-home--full figure img[width="768"][height="486"] { --ke-photo-ratio: 128 / 81; }
#primary.ke-home--full figure img[width="768"][height="1024"],
#primary.ke-home--full figure img[width="810"][height="1080"] { --ke-photo-ratio: 3 / 4; }
#primary.ke-home--full figure img[width="1024"][height="764"] { --ke-photo-ratio: 256 / 191; }
@supports (aspect-ratio: attr(width type(<number>)) / attr(height type(<number>))) {
    #primary.ke-home--full figure img[width][height] {
        --ke-photo-ratio: attr(width type(<number>)) / attr(height type(<number>));
    }
}
#primary.ke-home--full :is(.ke-home-runways__figure, .ke-home-beams__mosaic, .ke-home-loads__collage) figcaption {
    position: static; inset: auto; min-height: 0; margin: 0; padding: 10px 14px;
    background: #1a3c55; color: white; font-size: 14px; font-weight: 650; line-height: 1.45;
}
#primary.ke-home--full .ke-home-runways__grid { align-items: start; }
#primary.ke-home--full .ke-home-runways__actions { margin-top: 12px; }
#primary.ke-home--full .ke-home-beams__visual--mosaic { grid-template-columns: minmax(0,.65fr) minmax(0,1fr); align-items: start; height: auto; max-height: none; }
#primary.ke-home--full .ke-home-beams__mosaic {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto auto;
    height: auto; min-height: 0; max-height: none; gap: 12px; align-items: start;
}
#primary.ke-home--full .ke-home-loads__collage {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto;
    gap: 16px; height: auto; min-height: 0; max-height: none; align-items: start;
}
#primary.ke-home--full .ke-home-loads__collage .ke-home-loads__primary { grid-column: 1/-1; }
#primary.ke-home--full .ke-home-loads__secondary { display: contents; }
#primary.ke-home--full .ke-home-portal__cases { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
#primary.ke-home--full .ke-home-projects__grid { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
@media (max-width: 880px) {
    #primary.ke-home--full .ke-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #primary.ke-home--full .ke-home-beams__visual--mosaic { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    #primary.ke-home--full :is(.ke-home-beams__mosaic, .ke-home-loads__collage, .ke-home-portal__cases, .ke-home-projects__grid) { grid-template-columns: minmax(0,1fr); height: auto; grid-template-rows: auto; }
    #primary.ke-home--full .ke-home-beams__mosaic-lead { grid-column: auto; }
}
@media (max-width: 520px) {
    #primary.ke-home--full .ke-choice-grid { grid-template-columns: 1fr; }
    #primary.ke-home--full .ke-choice { grid-template: auto auto / minmax(0,1fr) auto; gap: 4px 12px; padding: 13px 14px; }
    #primary.ke-home--full .ke-choice b { grid-column: 2; grid-row: 1/3; align-self: center; }
}
#primary.ke-home--full .ke-home-hero__intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
#primary.ke-home--full .ke-home-hero__intro .ke-home-eyebrow { flex: 1 1 0; min-width: 0; margin: 0; }
#primary.ke-home--full .ke-home-hero__intro .ke-home-contact-link { flex: 0 0 auto; font-size: 14px; }

/* Vehicle crane examination. The existing three workshop photos remain uncropped. */
#primary.ke-home--full .ke-home-inspections {
    background: #eaf0f3;
    padding-block: clamp(35px, 5vw, 76px);
}
#primary.ke-home--full .ke-inspection-overview {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .86fr);
    align-items: start; gap: clamp(24px, 5vw, 64px);
}
#primary.ke-home--full .ke-inspection-copy { min-width: 0; }
#primary.ke-home--full .ke-inspection-copy .ke-home-section__eyebrow {
    color: #426174; margin: 0 0 12px; font-size: 12px; line-height: 1.4;
}
#primary.ke-home--full .ke-inspection-copy h2 {
    color: #1a3c55; margin: 0 0 17px; font-size: clamp(29px, 3.7vw, 53px);
    line-height: 1.07; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere;
}
#primary.ke-home--full .ke-inspection-copy > p:not(.ke-home-section__eyebrow) {
    color: #334f60; margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.55;
}
#primary.ke-home--full .ke-inspection-types {
    display: grid; gap: 0; padding: 0; margin: 20px 0 16px; border-top: 1px solid #a6bac6;
}
#primary.ke-home--full .ke-inspection-types > div {
    display: grid; grid-template-columns: 6.25em minmax(0, 1fr); gap: 12px;
    border-bottom: 1px solid #a6bac6; padding: 10px 0;
}
#primary.ke-home--full .ke-inspection-types dt { font-size: 15px; font-weight: 750; line-height: 1.4; color: #1a3c55; }
#primary.ke-home--full .ke-inspection-types dd { margin: 0; font-size: 15px; line-height: 1.45; color: #334f60; }
#primary.ke-home--full .ke-inspection-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 15px; margin-top: 18px; }
#primary.ke-home--full .ke-inspection-actions a { max-width: 100%; min-height: 44px; }
#primary.ke-home--full .ke-inspection-actions .ke-home-button { color: #122e41; }
#primary.ke-home--full .ke-inspection-actions .ke-inspection-secondary {
    display: inline-flex; align-items: center; color: #1a3c55; text-decoration: underline;
    text-underline-offset: .2em; font-size: 14px; font-weight: 700;
}
#primary.ke-home--full .ke-inspection-actions a:focus-visible { outline: 3px solid #1a3c55; outline-offset: 3px; }
#primary.ke-home--full .ke-home-inspections .ke-home-loads__collage {
    grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr); gap: 8px; margin: 0;
}
#primary.ke-home--full .ke-home-inspections .ke-inspection-gallery-column {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content;
    gap: 8px; align-content: start; min-width: 0; height: auto;
}
#primary.ke-home--full .ke-home-inspections .ke-home-loads__collage figcaption {
    padding: 7px 10px; font-size: 12px; line-height: 1.4;
}
#primary.ke-home--full .ke-home-inspections .ke-home-loads__cards--horizontal { margin-top: 24px; }
@media (max-width: 700px) {
    #primary.ke-home--full .ke-inspection-overview { grid-template-columns: 1fr; gap: 18px; }
    #primary.ke-home--full .ke-inspection-copy h2 { font-size: clamp(27px, 6vw, 40px); }
}
@media (max-width: 470px) {
    #primary.ke-home--full .ke-inspection-types > div { grid-template-columns: 5.5em minmax(0, 1fr); gap: 8px; }
    #primary.ke-home--full .ke-inspection-copy > p:not(.ke-home-section__eyebrow),
    #primary.ke-home--full .ke-inspection-types dd { font-size: 15px; }
    #primary.ke-home--full .ke-inspection-actions { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    #primary.ke-home--full .ke-inspection-actions a { transition: none; transform: none; }
}
