@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=IBM+Plex+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* Warehouse  -  light industrial magazine */
.ms-warehouse {
  --ms-bg: #f4f1ea;
  --ms-text: #1a1e18;
  --ms-muted: #5c6358;
  --ms-accent: #f0a202;
  --ms-accent-text: #1a1e18;
  --ms-surface: #fff;
  --ms-border: #d8d2c4;
  --ms-nav-bg: rgba(244, 241, 234, 0.95);
  --ms-display: "Archivo Black", sans-serif;
  --ms-body: "IBM Plex Sans", sans-serif;
  --ms-hotspot-radius: 0.35rem;
  --ms-hotspot-shadow: 0 16px 48px rgba(26, 30, 24, 0.18);
  --ms-hotspot-ring: rgba(240, 162, 2, 0.5);
  --ms-ui-radius: 0.35rem;
  --ms-ui-shadow: 0 20px 56px rgba(26, 30, 24, 0.14);
  --ms-form-radius: 0.35rem;
  --ms-btn-radius: 0.25rem;
  background-image:
    repeating-linear-gradient(90deg, rgba(26, 30, 24, 0.03) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(26, 30, 24, 0.03) 0 1px, transparent 1px 48px);
}

.wh-shell {
  display: grid;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

@media (min-width: 960px) {
  .wh-shell { grid-template-columns: 12rem 1fr; gap: 3rem; }
}

.wh-toc {
  position: sticky;
  top: 4.5rem;
  align-self: start;
  padding: 1.25rem 0;
  font-size: 0.82rem;
  border-top: 3px solid var(--ms-text);
}

.wh-toc ol {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  line-height: 2;
  counter-reset: wh-toc;
  list-style: none;
}

.wh-toc li { counter-increment: wh-toc; }

.wh-toc li::marker { content: none; }

.wh-toc a {
  color: var(--ms-muted);
  text-decoration: none;
  transition: color 0.15s, padding-left 0.15s;
  display: block;
}

.wh-toc a::before {
  content: counter(wh-toc, decimal-leading-zero) ". ";
  font-weight: 700;
  color: var(--ms-accent);
  font-size: 0.75rem;
}

.wh-toc a:hover {
  color: var(--ms-text);
  padding-left: 0.25rem;
}

.wh-main { min-width: 0; }

.wh-hero {
  position: relative;
  padding: 3rem 0 2rem;
  border-bottom: 4px double var(--ms-text);
  animation: wh-hero-in 0.8s ease both;
}

.wh-hero::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 6rem;
  height: 4px;
  background: var(--ms-accent);
}

.wh-hero h1 {
  font-family: var(--ms-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.02;
  margin: 0.65rem 0 0.85rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.wh-lede {
  font-size: 1.1rem;
  max-width: 40rem;
  color: var(--ms-muted);
  line-height: 1.65;
  font-style: italic;
}

@keyframes wh-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.wh-floor,
.wh-platform {
  padding: 3rem 0;
  border-bottom: 1px solid var(--ms-border);
}

.wh-floor h2,
.wh-platform h2 {
  font-family: var(--ms-display);
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wh-floor .ms-hotspot-wrap {
  margin-top: 1.5rem;
  border: 3px solid var(--ms-text);
  padding: 0.35rem;
  background: var(--ms-surface);
}

.wh-floor .ms-hotspot-wrap::before {
  content: 'FLOOR MAP  -  LIVE SHIFT';
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.4rem 0.6rem;
  background: var(--ms-text);
  color: var(--ms-bg);
  margin-bottom: 0.35rem;
}

.wh-platform .ms-ui-shot {
  border: 3px solid var(--ms-text);
  border-radius: 0.35rem;
}

.wh-facts {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .wh-facts { grid-template-columns: 1fr 1fr; }
}

.wh-facts article {
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  border-left: 5px solid var(--ms-accent);
  background: var(--ms-surface);
  box-shadow: 4px 4px 0 var(--ms-border);
  transition: transform 0.2s ease;
}

.wh-facts article:hover { transform: translate(-2px, -2px); }

.wh-facts h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-family: var(--ms-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.wh-facts p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ms-muted);
  line-height: 1.5;
}

.wh-walk {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ms-border);
}

.wh-walk h2 {
  font-family: var(--ms-display);
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.wh-walk ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .wh-walk ol { grid-template-columns: repeat(3, 1fr); }
}

.wh-walk li {
  padding: 1rem;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  position: relative;
}

.wh-walk li::before {
  content: attr(data-step);
  display: block;
  font-family: var(--ms-display);
  font-size: 1.5rem;
  color: var(--ms-accent);
  margin-bottom: 0.35rem;
}

.wh-walk h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.wh-walk p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ms-muted);
}

.ms-warehouse .ms-www {
  padding: 2.5rem 0;
  border-top: none;
  border-bottom: 1px solid var(--ms-border);
}

.ms-warehouse .ms-www > div {
  padding: 0.85rem;
  border-left: 2px solid var(--ms-border);
}

.ms-warehouse .ms-pullquote {
  border-left: 5px solid var(--ms-accent);
  border-radius: 0;
  background: var(--ms-surface);
  margin: 2rem 0;
  animation: wh-quote-glow 4s ease-in-out infinite;
}

@keyframes wh-quote-glow {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(240, 162, 2, 0); }
  50% { box-shadow: inset 4px 0 0 0 rgba(240, 162, 2, 0.3); }
}

.ms-warehouse .ms-signup-grid {
  padding: 3rem 0;
  border-top: 4px double var(--ms-text);
}

.ms-warehouse .ms-signup {
  border: 2px solid var(--ms-text);
  box-shadow: 6px 6px 0 var(--ms-accent);
}

.ms-warehouse .ms-face-block img {
  border-radius: 0.35rem;
  width: 80px;
  height: 80px;
}
