/* ==========================================================================
   Lozy — Industries (/industries + the 20 industry pages)
   Additive layer on top of the shared experience stylesheet
   (assets/sass/service-detail/ecommerce-warehousing.css). Every rule is scoped
   under .ind-page so nothing here can leak anywhere else on the site, and
   nothing in the shared sheet is touched. Loaded only by the industries views,
   after the shared sheet.
   ========================================================================== */

/* ---------- the short-answer band (hub) ---------- */
.ind-answer { background: var(--paper); padding: var(--band) 0; border-top: 1px solid var(--line); }
.ind-answer .ew-lead { font-size: clamp(16px, 1.7vw, 20px); max-width: 64ch; }
.ind-answer__note { margin-top: 20px; }

/* ---------- group headers in the industry index ---------- */
.ind-page .ew-handles__grouphead {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
    padding: 26px 6px 10px 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--text-2);
}
.ind-page .ew-handles__grouphead:first-child { padding-top: 4px; }
.ind-page .ew-handles__grouphead b {
    font-family: var(--display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -.01em;
    text-transform: uppercase;
    color: var(--text);
}

/* ---------- linked service grid (the Lozy stack, hub) ---------- */
.ind-page .ew-kit__services a { display: block; color: inherit; text-decoration: none; }
.ind-page .ew-kit__services a:hover b { color: var(--red-deep); }
.ind-page .ew-kit__services a::after {
    content: "→";
    float: right;
    color: var(--red-deep);
    font-weight: 700;
    opacity: .35;
    transition: opacity .25s;
}
.ind-page .ew-kit__services a:hover::after { opacity: 1; }

/* ---------- the mid-CTA strip ---------- */
.ind-midcta { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(26px, 3.6vw, 44px) 0; }
.ind-midcta__row { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
.ind-midcta h3 { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.1vw, 26px); letter-spacing: -.02em; }
.ind-midcta p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin-top: 6px; max-width: 58ch; }
.ind-midcta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- numbered statement list (why Lozy) ---------- */
.ind-why { margin-top: clamp(28px, 4vw, 52px); border-top: 1px solid var(--line-strong); list-style: none; padding: 0; }
.ind-why li {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: clamp(18px, 2.4vw, 30px) 0;
    border-bottom: 1px solid var(--line);
}
.ind-why .ew-mono { color: var(--text-2); padding-top: 5px; }
.ind-why p { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--text); max-width: 74ch; }

/* ---------- the enquiry band + card (renders the site's shared form) ---------- */
.ind-formband { background: var(--surface); border-top: 1px solid var(--line); padding: var(--band) 0; }
.ind-formband__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ind-formcard {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(20px, 2.6vw, 30px);
    box-shadow: 0 16px 40px rgba(23, 23, 26, .07);
}
.ind-formcard h3 { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.015em; }
.ind-formcard .ind-formcard__s { font-size: 13.5px; color: var(--text-2); margin: 4px 0 14px; }
.ind-formcard .form-group { margin-bottom: 12px; }
.ind-page form.is-sending { opacity: .72; pointer-events: none; }
.ind-points { list-style: none; margin: 22px 0 0; padding: 0; }
.ind-points li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ind-points li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.ind-points li b { color: var(--text); }

/* ---------- store list spacing ---------- */
.ind-store { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- related-industries row (page footer links) ---------- */
.ind-related { margin-top: clamp(28px, 4vw, 44px); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .ind-formband__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .ind-why li { grid-template-columns: 54px minmax(0, 1fr); }
    .ind-midcta__row { align-items: flex-start; }
}

/* ---------- small helpers used by both templates ---------- */
.ind-formband .ew-lead { margin-top: 16px; }
.ind-formband__alt { display: block; margin-top: 18px; color: var(--text-2); }
.ind-store .ew-body { margin-top: 16px; }
.ind-store .ew-kit__services li { display: flex; align-items: center; }
.ind-answer .ew-bandhead { max-width: 940px; }
.ind-answer .ew-bandhead .ew-lead { margin-top: 20px; }

/* ---------- v2 story layer: journey caption + hero cargo tag ---------- */
.ind-caption { margin-top: 16px; color: var(--text-2); }
.ind-page .ew-hero__cue.ind-cue--off { visibility: hidden; }
.ind-cargo-tag {
    font-family: var(--mono, ui-monospace, SFMono-Regular, "SF Mono", monospace);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    fill: #C0161B;
}


/* ==========================================================================
   v3 — image layer: interlink cards, hub thumbnails + walks wall, storage
   grid, chip link-lists. All scoped (.ind-page / hub attribute) so nothing
   reaches the shared pages.
   ========================================================================== */

/* ---------- related-industry interlink cards (pages) ---------- */
.ind-rel { padding: var(--band) 0; border-top: 1px solid var(--line); }
.ind-rel__head { max-width: 780px; }
.ind-rel__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(28px, 4vw, 52px); }
.ind-rel__card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s; }
.ind-rel__card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 24px 48px rgba(23, 23, 26, .10); }
.ind-rel__media { position: relative; margin: 0; aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.ind-rel__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ind-rel__card:hover .ind-rel__media img { transform: scale(1.07); }
.ind-rel__no { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--text); }
.ind-rel__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.ind-rel__body b { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.ind-rel__line { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.ind-rel__go { margin-top: auto; padding-top: 10px; color: var(--red-deep); display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.ind-rel__go i { font-style: normal; transition: transform .35s; }
.ind-rel__card:hover .ind-rel__go i { transform: translateX(6px); }
.ind-rel__allbar { margin-top: clamp(14px, 1.8vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; border: 1px solid var(--line-strong); border-radius: 18px; text-decoration: none; color: inherit; background: var(--surface); transition: background .4s, transform .4s; }
.ind-rel__allbar:hover { background: var(--paper); transform: translateY(-2px); }
.ind-rel__allbar b { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.ind-rel__allbar-s { display: block; color: var(--text-2); font-size: 14px; margin-top: 3px; }
.ind-rel__allbar .ind-rel__go { margin: 0; padding: 0; }
@media (max-width: 1100px) { .ind-rel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ind-rel__grid { grid-template-columns: 1fr; } .ind-rel__allbar { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------- hub index: row thumbnails + pane photo ---------- */
.ind-thumb { width: 54px; height: 40px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); flex: 0 0 auto; }
.ind-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
[data-ind-page="hub"] .ew-handles__row { grid-template-columns: 54px 54px minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; }
.ew-handles__pane-img { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--surface); }
.ew-handles__pane-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ew-handles__pane:has(.ew-handles__pane-img) .ew-handles__glyph { display: none; }
@media (max-width: 640px) {
    [data-ind-page="hub"] .ew-handles__row { grid-template-columns: 40px 40px minmax(0, 1fr); row-gap: 6px; }
    [data-ind-page="hub"] .ew-handles__row .ew-handles__line { grid-column: 3; }
    .ind-thumb { width: 40px; height: 30px; }
}

/* ---------- hub: the walks (cargo loop videos) ---------- */
.ind-wall { padding: var(--band) 0; border-top: 1px solid var(--line); background: var(--surface); }
.ind-wall__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(24px, 3.4vw, 44px); }
.ind-wall__tile { position: relative; display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; transition: transform .4s, box-shadow .4s, border-color .4s; }
.ind-wall__tile:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(23, 23, 26, .10); }
.ind-wall__tile video { width: 100%; aspect-ratio: 1000 / 620; display: block; object-fit: cover; background: var(--paper); }
.ind-wall__meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.ind-wall__meta b { font-family: var(--display); font-weight: 800; font-size: 13.5px; letter-spacing: -.01em; }
.ind-wall__meta i { font-style: normal; color: var(--text-2); font-size: 12px; }
.ind-wall__note { margin-top: 18px; color: var(--text-2); }
@media (max-width: 1100px) { .ind-wall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-wall__grid { grid-template-columns: 1fr; } }

/* ---------- storage: photo + tile grid (pages + hub) ---------- */
.ind-store__grid { display: grid; grid-template-columns: minmax(260px, 420px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); margin-top: clamp(24px, 3.4vw, 44px); align-items: start; }
.ind-store__media { margin: 0; }
.ind-store__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); display: block; }
.ind-store__media figcaption { margin-top: 10px; color: var(--text-2); }
.ind-page .ind-store__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.ind-page .ind-store__items li { display: flex; gap: 10px; align-items: baseline; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .3s, transform .3s; }
.ind-page .ind-store__items li:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ind-page .ind-store__items li .ew-mono { color: var(--text-2); flex: 0 0 auto; }
.ind-page .ind-store__items li b { font-weight: 600; font-size: 14px; line-height: 1.45; }
@media (max-width: 1000px) { .ind-store__grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ind-page .ind-store__items { grid-template-columns: 1fr; } }

/* ---------- link lists as chips (pages + hub long-form section) ---------- */
.ind-page .ew-lf__body .lf-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0 26px; }
.ind-page .ew-lf__body .lf-links li { margin: 0; padding: 0; }
.ind-page .ew-lf__body .lf-links li::before { content: none; }
.ind-page .ew-lf__body .lf-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; line-height: 1; color: var(--text); text-decoration: none; background: var(--paper); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.ind-page .ew-lf__body .lf-links a:hover { background: #17171A; border-color: #17171A; color: #fff; transform: translateY(-1px); }


/* ---------- explore: services / blog / locations cards (v4) ---------- */
.ind-exp { background: var(--surface); border-top: 1px solid var(--line); padding: var(--band) 0; }
.ind-exp__group { margin-top: clamp(30px, 4vw, 54px); }
.ind-exp__group:first-of-type { margin-top: 0; }
.ind-exp__ghead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; }
.ind-exp__ghead h3 { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 2.2vw, 27px); letter-spacing: -.02em; text-transform: uppercase; }
.ind-exp__ghead .ew-mono { color: var(--text-2); }
.ind-exp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(18px, 2.4vw, 30px); }
.ind-exp__card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s, border-color .45s; }
.ind-exp__card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 20px 44px rgba(23, 23, 26, .10); }
.ind-exp__media { position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.ind-exp__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.ind-exp__card:hover .ind-exp__media img { transform: scale(1.07); }
.ind-exp__tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--red-deep); }
.ind-exp__body { display: flex; flex-direction: column; gap: 7px; padding: 15px 16px 17px; flex: 1; }
.ind-exp__body b { font-family: var(--display); font-weight: 800; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.25; }
.ind-exp__line { font-size: 13px; line-height: 1.5; color: var(--text-2); }
.ind-exp__go { margin-top: auto; padding-top: 8px; color: var(--red-deep); display: flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.ind-exp__go i { font-style: normal; transition: transform .35s; }
.ind-exp__card:hover .ind-exp__go i { transform: translateX(6px); }
/* location plate cards (typo-led, no photos) */
.ind-exp__grid--loc { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.ind-exp__card--plate { flex-direction: row; align-items: stretch; }
.ind-exp__plate { flex: 0 0 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: var(--surface); border-right: 1px solid var(--line); transition: background .4s, color .4s; }
.ind-exp__code { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.01em; text-transform: uppercase; }
.ind-exp__pin { color: var(--red-deep); display: grid; place-items: center; }
.ind-exp__pin svg { width: 17px; height: 17px; }
.ind-exp__card--plate:hover .ind-exp__plate { background: #17171A; color: #fff; }
@media (max-width: 1100px) {
    .ind-exp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .ind-exp__grid { grid-template-columns: 1fr; }
}
