/* BOM Shelter — home page */

.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 120px; border-bottom: 1px solid var(--line); background: #0d0f0c; }
/* Scene layers, back to front: sky, blasts, three ridgelines, grain; then content; then foreground embers */
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(ellipse 90% 45% at var(--bx, 50%) 62%, rgba(214, 120, 48, calc(var(--flash, 0) * 0.5)), transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 100%, rgba(150, 98, 46, 0.22), transparent 70%),
    linear-gradient(180deg, #0d0f0c 0%, #151612 38%, #211d16 74%, #2b2217 100%);
}
.hero__fx { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); z-index: -3; pointer-events: none; will-change: transform; }
.hero__fx--front { z-index: 3; inset: 0; width: 100%; height: 100%; }
.hero__ridge {
  position: absolute;
  left: -8%;
  bottom: 0;
  width: 116%;
  max-width: none;
  height: 46%;
  pointer-events: none;
  will-change: transform;
}
.hero__ridge--far { z-index: -3; height: 40%; fill: #26211a; filter: blur(0.6px); }
.hero__ridge--mid { z-index: -2; height: 34%; fill: #181610; }
.hero__ridge--near { z-index: -1; height: 24%; fill: #0b0c09; }
/* The shelter itself, sitting on a plateau of the mid ridge */
.hero__outpost span {
  position: absolute;
  left: 80.6%;
  bottom: 51.6%;
  width: 8%;
  aspect-ratio: 2402 / 1238;
  transform: translateX(-50%);
  background: #181610;
  -webkit-mask: url("../../Design/shelter-silhouette.png") center / contain no-repeat;
  mask: url("../../Design/shelter-silhouette.png") center / contain no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, rgba(120, 84, 44, 0.12) 74%, transparent 90%),
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__layout { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.hero__stage { position: relative; width: min(100%, 560px); perspective: 1100px; }
.hero__stage::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 34px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
  filter: blur(6px);
  transform: translateX(calc(var(--look-x, 0) * -14px));
}
.hero__plaque {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.6));
  will-change: transform, filter;
}
.hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero h1 {
  max-width: 20ch;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1;
  text-wrap: balance;
}
.hero__lede {
  max-width: 54ch;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__facts {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  width: min(100%, 520px);
}
.hero__facts dt {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.hero__facts dd { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }

.block { padding: 88px 0; }
.block--band { background: var(--paper-2); border-block: 1px solid var(--line); }
.block .sec-head { border-top: 0; padding-top: 0; margin-bottom: 32px; }
.block h2 { font-size: clamp(32px, 3.4vw, 46px); }
.sec-head__lede { margin-top: 10px; max-width: 52ch; color: var(--ink-2); font-size: 16px; }

.split { align-items: start; gap: 72px; }
.split h2 { margin-bottom: 16px; }
.split__cta { margin-top: 28px; }
.steps li { grid-template-columns: 32px 1fr; }
.steps__n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
/* .steps span (description text) also matches the badge; restore its centring */
.steps .steps__n {
  display: grid;
  place-items: center;
  margin-top: 0;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps strong { font-size: 15px; }
.steps span { font-size: 14px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.principles article { padding-top: 20px; border-top: 1px solid var(--line-2); }
.principles h3 { font-size: 24px; margin-bottom: 10px; }
.principles p { max-width: 38ch; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

@media (max-width: 980px) {
  .hero { padding: 40px 0 56px; }
  .block { padding: 64px 0; }
  .split { gap: 40px; }
  .principles { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { gap: 24px; }
  .hero__facts dt { font-size: 30px; }
}
