/* Odin site — shared, page-independent rules.
   Per-page responsive grid overrides (.od-2col/-3col/-4col/-5col breakpoints)
   live in each page's own <style> block, since the column counts differ
   page to page, exactly as in the original design export. */

html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* Skip-to-content: invisible until focused, doesn't alter the visual design */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--color-text); color: var(--color-neutral-100);
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  padding: 10px 16px; text-decoration: none; transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

/* — image-slot placeholder tiles — stand-ins for the design's <image-slot>
   drop targets. Static, non-interactive; swap the markup for a real <img>
   when assets are ready. */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center; padding: 20px;
  box-sizing: border-box; width: 100%; height: 100%;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent);
  color: inherit;
  pointer-events: none;
}
.ph svg { opacity: 0.35; flex: none; }
.ph span { display: none; }

/* Nav / footer link underline-on-hover, shared across every page */
.od-nav a:not(.btn), footer a { color: inherit; text-decoration: none; }
.od-nav a:not(.btn):hover, footer a:hover { color: var(--color-accent-700); }

/* Industry hero: click to expand */
.od-expand {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  text-align: left;
  font: inherit;
  color: inherit;
}
.od-expand img { display: block; pointer-events: none; }
.od-expand-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-text);
  border: 2px solid var(--color-divider);
  padding: 6px 10px;
  line-height: 1;
}
.od-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(32, 30, 29, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 20px;
  cursor: zoom-out;
}
.od-lightbox[hidden] { display: none; }
.od-lightbox-img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 76px);
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border: 2px solid var(--color-divider);
  cursor: default;
}
.od-lightbox-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-text);
  border: 2px solid var(--color-divider);
  padding: 8px 12px;
  cursor: pointer;
}
.od-lightbox-close:hover { color: var(--color-accent-700); }
