/* Product stories: honest photographs, quiet captions, room to look. */
.industry-photo-mosaic { display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; aspect-ratio: 1.05; }
.industry-photo-mosaic > figure { margin: 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px; background: #e4f0f3; }
.industry-photo-mosaic > figure:first-child { grid-row: 1 / -1; }
.page-intro--industries .industry-photo-mosaic img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.industry-photo-mosaic:has(> :only-child) { grid-template-columns: 1fr; }
.industry-photo-mosaic:has(> :nth-child(2):last-child) > :nth-child(2) { grid-row: 1 / -1; }
@media (max-width: 799px) { .industry-photo-mosaic { aspect-ratio: 1.65; } }
@media (max-width: 599px) { .industry-photo-mosaic { gap: 10px; aspect-ratio: 1.25; } .industry-photo-mosaic > figure { border-radius: 12px; } }
.cargo-editorial { color: #062d3d; }
.cargo-editorial-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 52px; }
.cargo-editorial-heading > div { min-width: 0; }
.cargo-editorial-heading .eyebrow { color: #075e70; margin-bottom: 16px; }
.cargo-editorial-heading h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.12; letter-spacing: -.045em; margin: 0; }
.cargo-editorial-heading > .text-link { flex-shrink: 0; margin-bottom: 4px; }
.cargo-home-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: start; gap: 72px 80px; }
.cargo-home-grid:has(> :only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.cargo-home-story { min-width: 0; }
.cargo-home-story:nth-child(2) { margin-top: 104px; }
.cargo-home-story:nth-child(3) { width: 88%; justify-self: end; }
.cargo-home-story:nth-child(4) { margin-top: 68px; }
.cargo-portrait, .industry-visual-card { display: block; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 12px; background: transparent; color: #062d3d; text-align: left; font: inherit; }
.cargo-photo { position: relative; width: 100%; margin: 0; overflow: hidden; border-radius: 12px; background: #edf1f1; }
.cargo-photo > img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--cargo-focus, 50% 50%); }
.cargo-home-story:nth-child(2) .cargo-photo > img { aspect-ratio: 1.12; }
.cargo-home-story:nth-child(3) .cargo-photo > img { aspect-ratio: 1.22; }
.cargo-home-story:nth-child(4) .cargo-photo > img { aspect-ratio: 1.05; }
.cargo-caption { display: grid; grid-template-columns: 28px minmax(0, 1fr) 38px; align-items: start; gap: 14px; padding: 24px 0 20px; border-bottom: 1px solid #d9e3e5; }
.cargo-number { padding-top: 7px; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; color: #5c7179; }
.cargo-caption h3 { margin: 0; font-size: clamp(24px, 2.35vw, 30px); line-height: 1.25; letter-spacing: -.03em; overflow-wrap: anywhere; }
.cargo-open { display: grid; place-items: center; width: 38px; height: 38px; margin-top: -1px; border: 1px solid #c9dce1; border-radius: 50%; color: #075e70; font-size: 23px; line-height: 1; font-weight: 400; }
.cargo-portrait:focus-visible, .industry-visual-card:focus-visible, .cargo-detail-link:focus-visible { outline: 3px solid #0793ac; outline-offset: 7px; }

/* Licensed photographs retain a small, non-interactive attribution caption. */
.cargo-credit { width: 100%; max-width: none; margin: 8px 0 0; border: 0; color: #566e78; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cargo-credit :is(p, figcaption, .photo-credit, .photo-context) { color: #566e78; font-size: 14px; line-height: 1.6; margin: 6px 0; }
.cargo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.cargo-credit .photo-credit-links { gap: 4px 16px; padding-bottom: 4px; }

/* The industries chapter pairs each product with its material details. */
.industry-gallery { padding-bottom: 60px; }
.industry-quick-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 54px; padding: 22px 0; border-block: 1px solid #d9e3e5; }
.industry-quick-nav a { display: flex; align-items: center; min-height: 46px; padding: 10px 15px; border: 1px solid #d9e3e5; border-radius: 9px; color: #345562; background: #fff; font-size: 16px; line-height: 1.45; }
.industry-quick-nav a:hover, .industry-quick-nav a[aria-current="location"] { border-color: #53d8e9; background: #e8f9fb; color: #062d3d; }
.industry-quick-nav a:focus-visible, .industry-story:focus-visible { outline: 3px solid #0793ac; outline-offset: 5px; }
.industry-story:focus:not(:focus-visible) { outline: none; }
.industry-gallery-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: start; gap: 80px 76px; }
.industry-story {
  min-width: 0;
  padding: 22px;
  border: 1px solid #d6e2dc;
  border-radius: 18px;
  background: #f3f6f4;
}
.industry-story:nth-child(even) { margin-top: 76px; }
.industry-visual-card .cargo-photo > img { aspect-ratio: 1.2; }
.industry-story:nth-child(3n + 2) .industry-visual-card .cargo-photo > img { aspect-ratio: 1; }
.industry-visual-copy { display: grid; grid-template-columns: minmax(0, 1fr) 38px; gap: 8px 20px; padding: 25px 0 21px; border-bottom: 1px solid #d9e3e5; }
.industry-visual-copy > .eyebrow { grid-column: 1; color: #4e6a75; margin: 0 0 4px; font-size: 14px; line-height: 1.5; letter-spacing: .015em; }
.industry-visual-copy h2 { grid-column: 1; margin: 0; color: #062d3d; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.industry-visual-copy > .cargo-open { grid-column: 2; grid-row: 1 / 3; align-self: end; }
.industry-story > .industry-description { margin: 24px 0 0; color: #355966; font-size: 18px; line-height: 1.8; letter-spacing: normal; overflow-wrap: anywhere; }
.industry-detail-strip { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; margin-top: 24px; }
.industry-detail-strip .cargo-detail > img { aspect-ratio: 1.15; }
.cargo-detail { min-width: 0; margin: 0; }
.cargo-detail > img { display: block; width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; object-position: var(--cargo-focus, 50% 50%); border-radius: 8px; background: #edf1f1; }
.cargo-detail > figcaption, .cargo-detail-caption { margin: 9px 0 0; font-size: 14px; line-height: 1.6; color: #566e78; }
.industry-detail-strip > div, .industry-dialog-gallery > div, .cargo-interlude-images > div { min-width: 0; }
.industry-detail-strip > :only-child { max-width: none; grid-column: 1 / -1; }
.industry-detail-strip > :only-child .cargo-detail > img { aspect-ratio: 1.55; }
.industry-detail-strip .cargo-credit { margin-top: 3px; }
.is-text-only:is(.cargo-portrait, .industry-visual-card), .industry-story.is-text-only .industry-visual-card { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; background: #f0f6f7; padding: 28px; }
.is-text-only:is(.cargo-portrait, .industry-visual-card) :is(.cargo-caption, .industry-visual-copy), .industry-story.is-text-only .industry-visual-copy { width: 100%; padding-bottom: 0; border-bottom: 0; }
.industry-dialog > .cargo-photo > img { aspect-ratio: 1.7; max-height: 380px; }
.industry-dialog-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 28px; }
.industry-dialog-gallery > :first-child { grid-column: 1 / -1; }
.industry-dialog-gallery > :first-child .cargo-detail > img { aspect-ratio: 1.7; max-height: 380px; }
.industry-dialog-gallery .cargo-credit { margin-top: 4px; }

/* Small photographic studies preserve the scale of the supplied reference images. */
.service-gallery:has(img[src*="/assets/cargo/"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) {
  .service-gallery:has(img[src*="/assets/cargo/"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .industry-quick-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 34px; padding-block: 18px; }
  .industry-quick-nav a { padding: 10px 12px; min-height: 48px; font-size: 15px; overflow-wrap: anywhere; }
  .service-gallery:has(img[src*="/assets/cargo/"]) { grid-template-columns: minmax(0, 1fr); }
}

/* A brief change of scale: objects become textures between longer chapters. */
.cargo-interlude { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 62px; padding-block: 74px 88px; border-top: 1px solid #d9e3e5; color: #062d3d; }
.cargo-interlude-copy { min-width: 0; padding-bottom: 22px; }
.cargo-interlude-copy .eyebrow { color: #075e70; margin-bottom: 18px; }
.cargo-interlude-copy h2 { font-size: clamp(32px, 3.7vw, 46px); line-height: 1.15; letter-spacing: -.04em; margin-bottom: 26px; }
.cargo-interlude-images { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; align-items: start; min-width: 0; }
.cargo-interlude-images > :nth-child(2) { margin-top: 36px; }
.cargo-detail-link { display: block; min-width: 0; border-radius: 10px; color: #345562; }
.cargo-detail-link .cargo-photo { border-radius: 10px; }
.cargo-detail-link .cargo-photo > img { aspect-ratio: .72; }
.cargo-detail-link > span { display: block; margin-top: 12px; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.cargo-interlude-images:has(> :only-child) .cargo-photo > img { aspect-ratio: 1.55; }

@media (hover: hover) and (pointer: fine) {
  :is(.cargo-portrait, .industry-visual-card, .cargo-detail-link) .cargo-photo > img { transition: transform 650ms cubic-bezier(.22, 1, .36, 1); }
  :is(.cargo-portrait, .industry-visual-card, .cargo-detail-link):hover .cargo-photo > img { transform: scale(1.025); }
  :is(.cargo-portrait, .industry-visual-card):hover .cargo-open { background: #53d8e9; color: #062d3d; border-color: #53d8e9; }
  .cargo-open { transition: background 180ms ease, border-color 180ms ease; }
}
@media (max-width: 1099px) {
  .cargo-home-grid { gap: 58px 48px; }
  .cargo-home-story:nth-child(2) { margin-top: 80px; }
  .cargo-home-story:nth-child(4) { margin-top: 44px; }
  .industry-gallery-grid { gap: 64px 44px; }
  .industry-story:nth-child(even) { margin-top: 60px; }
  .cargo-interlude { gap: 36px; }
  .cargo-interlude-images { gap: 14px; }
}
@media (max-width: 799px) {
  .cargo-editorial-heading { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 36px; }
  .cargo-editorial-heading > .text-link { margin: 0; }
  .cargo-home-grid { gap: 44px 28px; }
  .cargo-home-story:nth-child(2) { margin-top: 56px; }
  .cargo-home-story:nth-child(3) { width: 100%; }
  .cargo-home-story:nth-child(4) { margin-top: 32px; }
  .cargo-caption { grid-template-columns: minmax(0, 1fr) 34px; gap: 12px; padding-block: 20px 16px; }
  .cargo-caption .cargo-number { grid-column: 1 / -1; padding: 0; }
  .cargo-caption h3 { font-size: 24px; }
  .cargo-open { width: 34px; height: 34px; font-size: 21px; }
  .industry-gallery-grid { gap: 56px 28px; }
  .industry-story:nth-child(even) { margin-top: 48px; }
  .industry-story { padding: 16px; border-radius: 16px; }
  .industry-visual-copy { grid-template-columns: minmax(0, 1fr) 34px; gap: 8px 12px; padding-block: 20px 18px; }
  .industry-visual-copy h2 { font-size: 26px; }
  .industry-detail-strip { gap: 12px; margin-top: 18px; }
  .industry-detail-strip > :only-child { max-width: 100%; }
  .cargo-interlude { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 68px; }
  .cargo-interlude-copy { padding: 0; }
  .cargo-interlude-copy h2 { margin-bottom: 20px; }
  .cargo-interlude-images { gap: 20px; }
  .cargo-detail-link .cargo-photo > img { aspect-ratio: .85; }
}
@media (max-width: 599px) {
  .home-page .cargo-editorial.section-space { padding-block: 64px; }
  .cargo-editorial-heading h2 { font-size: 36px; }
  .cargo-home-grid, .industry-gallery-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cargo-home-story:nth-child(n), .industry-story:nth-child(n) { width: 100%; margin-top: 0; }
  .cargo-home-story:nth-child(n) .cargo-photo > img { aspect-ratio: 1.05; }
  .cargo-home-story:first-child .cargo-photo > img { aspect-ratio: .9; }
  .cargo-home-story:nth-child(3) { width: 86%; justify-self: start; }
  .cargo-caption { grid-template-columns: 24px minmax(0, 1fr) 34px; gap: 12px; }
  .cargo-caption .cargo-number { grid-column: auto; padding-top: 5px; }
  .cargo-caption h3 { font-size: 25px; }
  .industry-gallery { padding-bottom: 40px; }
  .industry-gallery-grid { gap: 48px; }
  .industry-visual-card .cargo-photo > img, .industry-story:nth-child(3n + 2) .industry-visual-card .cargo-photo > img { aspect-ratio: 1.12; }
  .industry-visual-copy h2 { font-size: 28px; }
  .industry-detail-strip { gap: 16px; margin-top: 20px; }
  .industry-detail-strip > :only-child { max-width: none; }
  .industry-dialog-gallery { gap: 14px; margin-block: 24px; }
  .industry-dialog-gallery > :first-child .cargo-detail > img, .industry-dialog > .cargo-photo > img { aspect-ratio: 1.18; }
  .cargo-interlude { gap: 30px; padding-block: 48px 60px; }
  .cargo-interlude-copy h2 { font-size: 36px; }
  .cargo-interlude-images { gap: 14px; }
  .cargo-interlude-images > :nth-child(2) { margin-top: 24px; }
  .cargo-interlude-images:has(> :nth-child(3)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cargo-interlude-images > :nth-child(3) { width: 100%; max-width: none; grid-column: 1 / -1; }
  .cargo-interlude-images > :nth-child(3) .cargo-photo > img { aspect-ratio: 2.05; }
  .cargo-detail-link > span { font-size: 16px; margin-top: 10px; }
  .is-text-only:is(.cargo-portrait, .industry-visual-card), .industry-story.is-text-only .industry-visual-card { min-height: 210px; padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(.cargo-portrait, .industry-visual-card, .cargo-detail-link) .cargo-photo > img,
  :is(.cargo-portrait, .industry-visual-card, .cargo-detail-link):hover .cargo-photo > img { transition: none; transform: none; }
  .cargo-open { transition: none; }
}
