/* fireinthehole4.com, 03.11.2026: the blasting magazine at the mine mouth. Mine-dark ground, pine crate boards,
   spray-stencil lettering in blasting red and bone white, black-and-yellow hazard tape only around the shaft, brass
   for the plunger. Big Shoulders Stencil for titles and crate marks, Archivo for text, both self-hosted (latin). */
@font-face { font-family: "Big Shoulders Stencil"; src: url(/assets/fonts/stencil.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  --mine: #16100b; --mine-2: #21170f; --mine-3: #2e2116; --line: rgba(242, 234, 216, .14);
  --pine: #c38a4e; --pine-2: #b07a42; --pine-dk: #7a4f26; --ink: #1a120a;
  --red: #b8231a; --red-2: #9c1c14; --red-text: #ec5a40; --red-deep: #6b120c; --bone: #f2ead8; --soft: #d6c9b0; --muted: #a8987d;
  --yellow: #f2b705; --brass: #c9a34b; --brass-dk: #7d5f1d; --gold-link: #f0c66e;
  --stencil: "Big Shoulders Stencil", "Arial Narrow", Impact, sans-serif; --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .55' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--pine-dk) var(--mine); }
body { margin: 0; background: var(--mine); color: var(--soft); font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--red); color: var(--bone); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
a { color: var(--gold-link); text-underline-offset: 3px; }
a:not(.btn):hover { color: var(--bone); }
img, iframe { max-width: 100%; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--yellow); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }
a.skip:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--stencil); font-weight: 800; line-height: .98; letter-spacing: .01em; text-transform: uppercase; color: var(--bone); margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.inner h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 2.4rem; }
h3 { font-size: 1.45rem; margin-top: 1.4rem; }
h1 b, .brand b { color: var(--red-text); font-weight: 900; }
p, ul, ol { margin: 0 0 1em; }
li { margin: 0 0 .4em; }
strong, b { color: var(--bone); font-weight: 700; }

/* top bar: a board across the magazine door */
.top { position: sticky; top: 0; z-index: 50; background: var(--mine-2); border-bottom: 3px solid var(--pine-dk); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.brand { font-family: var(--stencil); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--bone); text-decoration: none; letter-spacing: .02em; margin-right: auto; white-space: nowrap; }
.nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); border-bottom-color: var(--red); }
.m-menu { display: none; }
.m-menu summary { list-style: none; cursor: pointer; padding: .5rem .9rem; border: 2px solid var(--pine); color: var(--bone); font-weight: 700; min-height: 42px; display: flex; align-items: center; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--mine-2); border-bottom: 3px solid var(--pine-dk); padding: .6rem 20px 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
.m-panel a { color: var(--soft); text-decoration: none; font-weight: 600; padding: .55rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 1040px) { .nav { display: none; } .m-menu { display: block; } }
@media (max-width: 560px) { .top .btn-top { display: none; } }

/* buttons: blasting-red paint, square edges */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.25rem; background: var(--red); color: var(--bone); border: 0;
  font: 800 1rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s var(--ease); }
.btn:hover { background: var(--red-2); color: var(--bone); transform: translateY(-1px); }
.btn-top { min-height: 42px; padding: .5rem 1rem; font-size: .92rem; }
.btn-line { display: inline-flex; align-items: center; min-height: 46px; padding: .6rem 1rem; background: transparent; color: var(--bone); border: 2px solid var(--soft); font: 700 .95rem var(--sans); cursor: pointer; }
.btn-line:hover { border-color: var(--yellow); color: var(--yellow); }

/* the lid: title, lead and stencilled crate marks */
.lid { padding: clamp(1.4rem, 4vw, 2.8rem) 0 1.4rem; background: linear-gradient(180deg, var(--mine-2), var(--mine)); border-bottom: 1px solid var(--line); }
.lid-text { max-width: 900px; }
.crumbs { font-size: .86rem; color: var(--muted); margin: 0 0 .7rem; }
.crumbs a { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--soft); max-width: 64ch; margin: 0 0 1rem; }
.marks { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 10px; }
.marks li { margin: 0; padding: .45rem .8rem .5rem; border: 2px solid var(--pine); display: flex; flex-direction: column; line-height: 1.05; min-width: 112px; }
.marks b { font-family: var(--stencil); font-weight: 800; font-size: 1.7rem; letter-spacing: .02em; }
.marks span { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-top: 3px; }
.stamp { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; }
  .marks li { min-width: 0; padding: .35rem .6rem .4rem; }
  .marks b { font-size: 1.4rem; white-space: nowrap; }
  .marks span { font-size: .7rem; }
}
.home .lid-in { display: grid; gap: 16px; }
@media (min-width: 1000px) {
  .home .lid-text { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; align-items: end; }
  .home .lid-text h1 { grid-column: 1 / -1; }
  .home .lead { grid-column: 1; margin-bottom: .5rem; }
  .home .marks { grid-column: 2; grid-row: 2 / span 2; margin: 0; }
  .home .stamp { grid-column: 1; }
}

/* the shaft: timber frame, hazard tape, the demo in its mouth, the brass plunger */
.shaft { position: relative; margin: .6rem 0 0; padding: 26px 22px 0; background-color: var(--pine); background-image: var(--grain), linear-gradient(90deg, var(--pine-2), var(--pine) 12%, var(--pine) 88%, var(--pine-2));
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .9); }
.tape { position: absolute; left: 0; right: 0; top: 0; height: 22px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, #111 16px 32px); display: flex; justify-content: center; }
.tape span { background: #111; color: var(--yellow); font: 800 .78rem/22px var(--sans); letter-spacing: .28em; text-transform: uppercase; padding: 0 14px; }
.shaft-in { background: #0b0806; aspect-ratio: 16 / 9; position: relative; overflow: hidden; box-shadow: inset 0 0 0 3px var(--pine-dk); }
.shaft-in iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mouth { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: .4rem;
  background: radial-gradient(70% 80% at 50% 60%, #2a1d12, #0b0806 70%); }
.mouth-t { font-family: var(--stencil); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem); text-transform: uppercase; color: var(--bone); margin: 0; line-height: 1; }
.mouth-s { color: var(--soft); max-width: 46ch; margin: 0 0 .8rem; font-size: .98rem; }
.mouth-acts { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: center; }
.plunger { display: inline-flex; flex-direction: column; align-items: center; gap: 0; background: transparent; border: 0; cursor: pointer; padding: 0; color: var(--bone); }
.plunger-h { display: block; width: 92px; height: 46px; transition: transform .2s var(--ease); }
.plunger-l { display: block; min-width: 190px; padding: .75rem 1.1rem; background: var(--red); border-top: 4px solid #5a1410; font: 800 1.05rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.plunger:hover .plunger-h { transform: translateY(4px); }
.plunger:hover .plunger-l { background: var(--red-2); }
.shaft figcaption { font-size: .84rem; color: var(--ink); padding: .55rem 0 .7rem; font-weight: 600; }
.shaft.blast .plunger-h { transform: translateY(18px); }
@media (prefers-reduced-motion: no-preference) {
  .shaft.blast .shaft-in::after { content: ""; position: absolute; inset: 0; background: #fff4d6; animation: fith-flash .45s var(--ease) both; pointer-events: none; z-index: 2; }
  .shaft.live .shaft-in { animation: fith-shake .3s steps(3) 1; }
}
@keyframes fith-flash { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }
@keyframes fith-shake { 33% { transform: translate(2px, -1px); } 66% { transform: translate(-2px, 1px); } }
@media (max-width: 640px) { .shaft { padding: 24px 10px 0; } .shaft-in { aspect-ratio: 3 / 4; } .plunger-l { min-width: 160px; } }

/* reading column */
.page { padding-top: 1.8rem; padding-bottom: 3rem; }
.page > * { max-width: 72ch; }
.page > .crates, .page > .tbl, .page > .next { max-width: none; }
.notice { border: 2px solid var(--pine); padding: 1rem 1.15rem; margin: 1.5rem 0; background: var(--mine-2); }
.notice p:last-child { margin: 0; }
.notice b:first-child { font-family: var(--stencil); font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow); margin-right: .3rem; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps > li { counter-increment: s; position: relative; padding-left: 2.8rem; margin-bottom: .8rem; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2rem; height: 2rem; background: var(--pine); color: var(--ink); font: 800 1.25rem/2rem var(--stencil); text-align: center; }
.tbl { overflow-x: auto; margin: 1.2rem 0 1.6rem; border-top: 3px solid var(--pine); border-bottom: 3px solid var(--pine); max-width: 900px !important; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--stencil); font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; color: var(--bone); }
tbody th { color: var(--bone); font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }

/* casino crates */
.play-h { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; }
.crates { display: grid; gap: 14px; margin: 1rem 0 1rem; grid-template-columns: 1fr; scroll-margin-top: 80px; }
@media (min-width: 700px) { .crates { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .crates { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .crates { grid-template-columns: repeat(5, 1fr); } }
.crate { position: relative; display: flex; flex-direction: column; padding: 16px 14px 14px; color: var(--ink); background-color: var(--pine);
  background-image: var(--grain), repeating-linear-gradient(180deg, transparent 0 86px, rgba(90, 52, 20, .26) 86px 87px); box-shadow: 0 22px 34px -24px rgba(0, 0, 0, .95); }
.band-red { --band: var(--red); --band-ink: var(--bone); } .band-yellow { --band: var(--yellow); --band-ink: var(--ink); } .band-green { --band: #2f6a2b; --band-ink: var(--bone); }
.band-white { --band: var(--bone); --band-ink: var(--ink); } .band-blue { --band: #24508c; --band-ink: var(--bone); }
.crate header { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
.crate h3 { margin: 0; color: var(--ink); font-size: 1.75rem; white-space: nowrap; }
.crate-no { font: 800 .86rem/1 var(--stencil); letter-spacing: .1em; text-transform: uppercase; color: var(--band-ink); background: var(--band); padding: .35rem .5rem .3rem; white-space: nowrap; }
@media (min-width: 1160px) {
  .crate h3 { font-size: 1.5rem; }
  .crate .crate-hl b { font-size: 1.5rem; }
  .crate .btn { padding: .65rem .6rem; font-size: .94rem; }
}
.crate-hl { margin: .5rem 0 .6rem; line-height: 1.2; color: var(--ink); font-weight: 600; }
.crate-hl b { display: block; font-family: var(--stencil); font-weight: 900; font-size: 1.85rem; line-height: 1; color: var(--red-deep); text-transform: uppercase; }
.crate-facts { list-style: none; padding: 0; margin: 0 0 .7rem; font-size: .88rem; }
.crate-facts li { padding: .35rem 0; border-top: 1px dashed rgba(26, 18, 10, .35); margin: 0; color: var(--ink); }
.crate-note { font-size: .74rem; color: #3a2814; margin: 0 0 .8rem; line-height: 1.4; }
.crate-cta { margin-top: auto; }
.crate .btn { width: 100%; }
@media (max-width: 699px) {
  .crate { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "head cta" "hl cta"; align-items: center; gap: 2px 12px; padding: 18px 12px 12px; }
  .crate header { grid-area: head; } .crate-hl { grid-area: hl; margin: 0; font-size: .86rem; } .crate-hl b { font-size: 1.3rem; display: inline; }
  .crate-facts, .crate-note { display: none; } .crate-cta { grid-area: cta; margin: 0; } .crate .btn { width: auto; min-height: 44px; padding: .55rem .9rem; font-size: .9rem; white-space: nowrap; }
  .crate h3 { font-size: 1.45rem; }
}
.play-note { font-size: .86rem; color: var(--muted); margin: .2rem 0 0; }

/* questions, more guides, footer */
.faq { margin-top: 2.4rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 3px solid var(--pine); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: .9rem 2.4rem .9rem 0; font-weight: 700; color: var(--bone); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 14px; height: 2px; background: var(--yellow); transition: transform .2s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0 0 1rem; }
.next { margin-top: 2.6rem; }
.next ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .next ul { grid-template-columns: repeat(4, 1fr); } }
.next li { margin: 0; }
.next a { display: block; height: 100%; padding: .8rem .9rem; background: var(--mine-2); border-top: 4px solid var(--pine); text-decoration: none; }
.next a:hover { background: var(--mine-3); }
.next-t { display: block; font-family: var(--stencil); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; color: var(--bone); line-height: 1.05; }
.next-h { display: block; font-size: .86rem; color: var(--muted); margin-top: .2rem; }
.foot { border-top: 3px solid var(--pine-dk); padding: 2rem 0 2.6rem; font-size: .9rem; color: var(--muted); background: var(--mine-2); }
.foot p { max-width: 84ch; margin: 0 0 .7rem; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem 1.6rem; margin-bottom: 1.6rem; scroll-margin-top: 90px; }
.foot-cols div { display: flex; flex-direction: column; gap: .35rem; }
.foot-h { margin: 0 0 .2rem; font-family: var(--stencil); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; color: var(--bone); letter-spacing: .03em; }
.foot-cols a { color: var(--soft); text-decoration: none; }
.foot-cols a:hover { color: var(--bone); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
