/* Events & Industry: asymmetric event boxes with individual photo compositions. */
.industry-introduction { padding-bottom: 44px; }
.industry-introduction-copy { max-width: 760px; }
.industry-introduction h2 { margin-bottom: 22px; font-family: var(--font-display); font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.industry-introduction p { max-width: 720px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.industry-gallery-section { padding-top: 30px; padding-bottom: clamp(52px, 6vw, 80px); }
.industry-section-label { margin: 0 0 28px; color: var(--accent); font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.industry-gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 28px; align-items: start; }
.industry-event { grid-column: span 7; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.industry-event--narrow { grid-column: span 5; }
.industry-event--offset { margin-top: 64px; }
.industry-event--final { grid-column: 3 / span 8; }
.industry-event-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 20px; }
.industry-event-heading h3 { max-width: 430px; font: 500 clamp(18px, 1.75vw, 22px)/1.4 var(--font-display); letter-spacing: -.025em; }
.industry-event-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.industry-event-date { flex-shrink: 0; padding-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.industry-event-mosaic { display: grid; gap: 8px; height: 350px; }
.industry-event--narrow .industry-event-mosaic { height: 300px; }
.industry-event--final .industry-event-mosaic { height: 340px; }
.industry-event-mosaic--four { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1.15fr 1fr; }
.industry-event-mosaic--four .industry-photo:nth-child(-n+2) { grid-row: span 2; }
.industry-event-mosaic--three { grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; }
.industry-event-mosaic--three .industry-photo:first-child { grid-row: span 2; }
.industry-event-mosaic--two { grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr; }
.industry-photo { position: relative; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 5px; background: var(--panel-alt); overflow: hidden; cursor: zoom-in; }
.industry-photo[hidden] { display: none; }
.industry-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .4s ease; }
.industry-photo:hover img { transform: scale(1.025); }
.industry-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.industry-photo-more { position: absolute; inset: auto 0 0; padding: 18px 8px 10px; color: #fff; background: linear-gradient(transparent, rgba(10,28,43,.78)); font-size: 12px; text-align: center; pointer-events: none; }
.industry-upcoming-section { padding-top: 38px; padding-bottom: clamp(76px, 8vw, 112px); }
.industry-upcoming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.industry-upcoming-event { padding-top: 22px; border-top: 1px solid var(--line); }
.industry-upcoming-event:only-child { grid-column: 1 / -1; }
.industry-upcoming-event h3 { font: 500 clamp(24px, 2.5vw, 30px)/1.3 var(--font-display); letter-spacing: -.03em; }
.industry-upcoming-event p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
body.industry-gallery-open { overflow: hidden; }
.industry-photo-dialog { position: fixed; inset: 0; width: min(1100px, calc(100% - 40px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 48px 20px 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #142c3e; color: #fff; }
.industry-photo-dialog::backdrop { background: rgba(7,18,28,.86); }
.industry-photo-full { display: block; width: 100%; height: min(72dvh, 760px); object-fit: contain; }
.industry-photo-close { position: absolute; top: 12px; right: 14px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.industry-photo-close svg { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.industry-photo-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.industry-photo-caption { margin: 0; color: #e1eaf1; font-size: 12px; line-height: 1.6; text-align: center; }
.industry-photo-controls button { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font: 400 20px/1 var(--font-body); cursor: pointer; }
.industry-photo-dialog button:focus-visible { outline: 2px solid #7fbdf0; outline-offset: 3px; }
@media (max-width: 1000px) {
  .industry-gallery-grid { gap: 28px 20px; }
  .industry-event { padding: 18px; }
  .industry-event-heading { gap: 10px; }
  .industry-event-date { display: block; }
  .industry-event-mosaic { height: 310px; }
  .industry-event--narrow .industry-event-mosaic { height: 280px; }
  .industry-event--offset { margin-top: 46px; }
}
@media (max-width: 760px) {
  .industry-gallery-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px; }
  .industry-event { grid-column: 1 / span 11; }
  .industry-event--narrow { grid-column: 2 / span 11; }
  .industry-event--offset { margin-top: 0; }
  .industry-event--final { grid-column: 1 / span 11; }
  .industry-event-mosaic, .industry-event--narrow .industry-event-mosaic, .industry-event--final .industry-event-mosaic { height: 320px; }
  .industry-event-date { display: block; }
}
@media (max-width: 480px) {
  .industry-introduction p { font-size: 16px; }
  .industry-gallery-grid { gap: 22px; }
  .industry-event { padding: 14px; border-radius: 11px; }
  .industry-event-heading { margin-bottom: 16px; }
  .industry-event-heading h3 { font-size: 17px; }
  .industry-event-date { display: block; }
  .industry-event-mosaic, .industry-event--narrow .industry-event-mosaic, .industry-event--final .industry-event-mosaic { height: 245px; gap: 5px; }
  .industry-event-mosaic--four { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
  .industry-event-mosaic--four .industry-photo:first-child { grid-row: span 3; }
  .industry-event-mosaic--four .industry-photo:nth-child(2) { grid-row: span 1; }
  .industry-photo-dialog { width: calc(100% - 16px); padding: 44px 10px 10px; }
  .industry-photo-full { height: 70dvh; }
  .industry-upcoming-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-photo img { transition: none; }
  .industry-photo:hover img { transform: none; }
}

.industry-introduction-copy p + p { margin-top: 20px; }

@media (max-width: 480px) {
  .industry-event-heading { display: block; }
  .industry-event-date { margin-top: 6px; padding-top: 0; font-size: 11px; }
}

.industry-photo[data-photo$="/photo-28.webp"] img { object-position: center bottom; }

/* Mining Disrupt: two wide stage scenes beside one tall portrait. */
.industry-event-mosaic--mining { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.industry-event-mosaic--mining .industry-photo:nth-child(-n+2) { grid-column: 1 / 3; }
.industry-event-mosaic--mining .industry-photo:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
.industry-event-mosaic--mining .industry-photo:nth-child(-n+2) img { object-position: center 65%; }
.industry-photo[data-photo$="/photo-06.webp"] img { object-position: center 70%; }
.industry-photo[data-photo$="/photo-01.webp"] img { object-position: center 75%; }

.industry-meet-link { display: inline-block; margin-top: 18px; color: var(--accent); font-family: var(--font-body); font-size: 13px; font-weight: 500; line-height: 1.6; text-decoration: none; }
.industry-meet-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.industry-meet-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

/* Alternate the phone gallery rhythm independently of desktop card widths. */
@media (max-width: 640px) {
  .industry-gallery-grid > .industry-event:nth-child(odd) { grid-column: 1 / span 11; }
  .industry-gallery-grid > .industry-event:nth-child(even) { grid-column: 2 / span 11; }
}
