/* Wrecking Ball Crew: one long scrolling page in the game's job-site palette.
   Cream ground, ink type, hazard yellow, brick and steel. Chunky display headlines,
   tilted framed screenshots with game objects overlapping them. */
@font-face { font-family: "WBC Display"; src: url("/fonts/display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "WBC Display"; src: url("/fonts/display-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "WBC Body"; src: url("/fonts/body-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WBC Body"; src: url("/fonts/body-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "WBC Body"; src: url("/fonts/body-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "WBC Hand"; src: url("/fonts/hand-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --cream: #f6efe3;
  --paper: #fffdf8;
  --ink: #1b2228;
  --ink-soft: #4a545c;
  --hazard: #f2b300;
  --hazard-deep: #c98f00;
  --brick: #b0654a;
  --x: #cf3f28;
  --night: #161c21;
  --night-soft: #b9c2c8;
  --display: "WBC Display", "Arial Narrow", Impact, sans-serif;
  --body: "WBC Body", "Segoe UI", system-ui, sans-serif;
  --hand: "WBC Hand", "Comic Sans MS", cursive;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--hazard); outline-offset: 3px; border-radius: 3px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* headlines: ink letters with a hazard-yellow block shadow */
.head { margin: 0; font: 900 clamp(44px, 6.4vw, 84px)/.9 var(--display); text-transform: uppercase; letter-spacing: .005em; color: var(--ink); text-shadow: 4px 4px 0 var(--hazard); text-wrap: balance; }
.lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; place-items: start center; overflow: hidden;
  background: #b9cbd5 url("/img/hero-2400.jpg") center bottom / cover no-repeat;
  border-radius: 0 0 50% 50% / 0 0 clamp(36px, 7vw, 110px) clamp(36px, 7vw, 110px); }
@media (max-width: 800px) and (orientation: landscape) { .hero { background-image: url("/img/hero-1200.jpg"); } }
@media (orientation: portrait) and (max-width: 900px) { .hero { background-image: url("/img/hero-tall.jpg"); background-size: 122% auto; background-position: 45% bottom; background-color: #b9cbd5; min-height: 660px; } }
.hero-inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 18px; padding: clamp(36px, 6.5vh, 90px) 20px 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; }
.logo { margin: 0; font: 900 clamp(54px, 9.6vw, 138px)/.82 var(--display); text-transform: uppercase; color: var(--ink);
  -webkit-text-stroke: clamp(6px, 1vw, 12px) #fff; paint-order: stroke fill; filter: drop-shadow(0 6px 0 rgba(27,34,40,.18)); }
.logo .line { display: block; }
.logo .ball { color: transparent; background: repeating-linear-gradient(-45deg, var(--hazard) 0 .14em, var(--ink) .14em .28em); -webkit-background-clip: text; background-clip: text; }
.tag { margin: 0; font: 800 clamp(18px, 2.2vw, 26px)/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--hazard); padding: 8px 14px; border-radius: 4px; box-shadow: 3px 3px 0 var(--ink); }
.store { display: inline-grid; grid-template-columns: auto; text-align: left; background: #000; color: #fff; border-radius: 12px; padding: 9px 20px 10px; line-height: 1.05; text-decoration: none; border: 1.5px solid #a6a6a6; }
.store small { font: 600 12px var(--body); letter-spacing: .02em; }
.store b { font: 700 24px var(--body); letter-spacing: -.01em; }
.down { position: absolute; z-index: 2; left: 50%; bottom: clamp(18px, 3vw, 34px); width: 46px; height: 46px; margin-left: -23px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 3px 0 rgba(27,34,40,.25); text-decoration: none; }
.down svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .down { animation: nudge 1.8s ease-in-out infinite; } }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ---------- sections ---------- */
section.band { padding-block: clamp(72px, 10vw, 140px); }
.row { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1.25fr; } .row.flip { grid-template-columns: 1.25fr 1fr; } .row.flip .copy { order: 2; } }
.copy { display: grid; gap: 20px; align-content: center; min-width: 0; }
.stage { position: relative; min-width: 0; }

/* framed screenshots, like photos pinned to a board */
.photo { position: relative; margin: 0; background: #fff; padding: clamp(6px, .8vw, 10px); border-radius: 6px; box-shadow: 0 14px 30px rgba(27,34,40,.18), 0 2px 0 rgba(27,34,40,.08); transform: rotate(var(--tilt, 2deg)); }
.photo img { border-radius: 3px; width: 100%; }
.photo.l { --tilt: -2.5deg; }
.photo.r { --tilt: 2.2deg; }

/* game objects overlapping the photos */
.prop { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 10px 6px rgba(27,34,40,.22)); }
.prop svg { display: block; width: 100%; height: auto; }
.p-ball { width: clamp(70px, 9vw, 120px); left: -4%; top: -14%; }
.p-car { width: clamp(110px, 14vw, 190px); right: -3%; bottom: -12%; }
.p-house { width: clamp(110px, 13vw, 170px); left: -5%; bottom: -14%; }
.p-block { width: clamp(46px, 5vw, 66px); right: 4%; top: -10%; transform: rotate(18deg); }
.p-block2 { width: clamp(40px, 4vw, 54px); left: 8%; bottom: -9%; transform: rotate(-24deg); }
@media (prefers-reduced-motion: no-preference) {
  .p-ball { animation: swing 3.2s ease-in-out infinite alternate; transform-origin: 80% -40%; }
  @keyframes swing { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
}

/* the work order */
.order-wrap { position: relative; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .order-wrap { grid-template-columns: 1fr 1fr; } }
.clipboard { position: relative; background: #8a6236; border-radius: 14px; padding: 44px 18px 18px; box-shadow: 0 16px 34px rgba(27,34,40,.22); transform: rotate(-1.5deg); max-width: 560px; justify-self: center; width: 100%; }
.clipboard::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 44px; margin-left: -60px; background: linear-gradient(#c9ced2, #8d969d); border-radius: 8px 8px 12px 12px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18), 0 3px 0 rgba(0,0,0,.2); }
.sheet { position: relative; background: var(--paper); border-radius: 4px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 12px; font-size: 17px; }
.sheet .form { font: 800 14px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 8px; }
.sheet dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; font-size: 15px; }
.sheet dt { font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .1em; color: var(--ink-soft); padding-top: 3px; }
.sheet dd { margin: 0; }
.sheet p { margin: 0; }
.sign { font: 700 34px/1 var(--hand); color: #24408e; transform: rotate(-3deg); margin-top: 6px; }
.stamp { position: absolute; right: 18px; bottom: 26px; font: 900 30px/1 var(--display); letter-spacing: .08em; color: var(--x); border: 4px solid var(--x); border-radius: 8px; padding: 6px 12px; transform: rotate(-12deg); opacity: .85; mix-blend-mode: multiply; }
.tape { height: 22px; background: repeating-linear-gradient(-45deg, var(--hazard) 0 18px, var(--ink) 18px 36px); transform: rotate(-1deg) scaleX(1.03); }

/* collage of districts */
.collage { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.collage .photo { --tilt: 0deg; }
.collage .photo:nth-child(1) { --tilt: -2.5deg; }
.collage .photo:nth-child(2) { --tilt: 2deg; margin-top: 22px; }
.collage .photo:nth-child(3) { --tilt: 1.5deg; margin-top: -10px; }
.collage .photo:nth-child(4) { --tilt: -2deg; margin-top: 12px; }
.label { position: absolute; left: 10%; bottom: -12px; font: 900 clamp(16px, 1.8vw, 22px)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; background: var(--ink); color: var(--hazard); padding: 6px 10px; border-radius: 3px; transform: rotate(-3deg); }

/* night band */
.nightband { position: relative; color: #fff; background: #0d1724 url("/img/night-1600.jpg") center / cover no-repeat; border-radius: 50% 50% 0 0 / clamp(30px, 6vw, 90px) clamp(30px, 6vw, 90px) 0 0; overflow: hidden; }
.nightband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,23,36,.94) 0%, rgba(13,23,36,.8) 40%, rgba(13,23,36,.15) 75%); }
@media (max-width: 899px) { .nightband::before { background: rgba(13,23,36,.82); } }
.nightband .wrap { position: relative; }
.nightband .head { color: #fff; text-shadow: 4px 4px 0 var(--hazard-deep); max-width: 10ch; }
.nightband .lead { color: #d8e0e6; }

/* fair and simple */
.fair { width: 100%; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 40px; }
.fair div { background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; padding: 22px 20px; box-shadow: 5px 5px 0 var(--hazard); display: grid; gap: 6px; }
.fair b { font: 900 clamp(34px, 3.4vw, 46px)/1 var(--display); text-transform: uppercase; }
.fair span { color: var(--ink-soft); font-weight: 600; font-size: 16px; }
.center { text-align: center; display: grid; justify-items: center; gap: 20px; }

/* closing call */
.closing { padding-block: clamp(80px, 11vw, 150px) clamp(90px, 12vw, 160px); }
.closing .head { font-size: clamp(48px, 8vw, 110px); line-height: 1; margin-bottom: 14px; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--night-soft); padding-block: 42px max(36px, env(safe-area-inset-bottom)); font-size: 15px; }
.foot .wrap { display: grid; gap: 26px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot a { color: var(--night-soft); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #2c353d; padding-top: 22px; }
.foot .mk { width: 89px; height: auto; opacity: .9; }
.foot .store { border-color: #555; }

/* gentle scroll motion where the browser supports it; everything is fully visible without it */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes rise { from { transform: translateY(46px) rotate(var(--tilt, 0deg)); } to { transform: translateY(0) rotate(var(--tilt, 0deg)); } }
  }
}

/* ---------- legal and support pages ---------- */
.doc-top { background: #b9cbd5 url("/img/hero-1200.jpg") center 30% / cover no-repeat; border-radius: 0 0 50% 50% / 0 0 40px 40px; padding: 36px 0 54px; text-align: center; }
.doc-top .logo { font-size: clamp(34px, 6vw, 56px); -webkit-text-stroke: 6px #fff; }
.doc-top .logo .ball { background: none; color: var(--hazard-deep); }
@media (max-width: 600px) { .doc-top { background-position: center 12%; } .doc-top .logo { -webkit-text-stroke: 4px #fff; } }
.doc { padding-block: 56px 90px; }
.doc .wrap { max-width: 780px; }
.doc h1 { margin: 0 0 8px; font: 900 clamp(40px, 6vw, 64px)/.95 var(--display); text-transform: uppercase; text-shadow: 3px 3px 0 var(--hazard); }
.doc .meta { margin: 0 0 6px; font-size: 15px; color: var(--ink-soft); }
.doc .co { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 15px; color: var(--ink-soft); }
.doc .co img { width: 89px; height: auto; }
.doc h2 { margin: 36px 0 10px; font: 800 26px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.doc h3 { margin: 22px 0 6px; font-size: 18px; }
.doc p, .doc li { font-size: 17px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .summary { background: var(--paper); border: 3px solid var(--ink); border-radius: 10px; padding: 18px 22px; box-shadow: 5px 5px 0 var(--hazard); margin: 8px 0 8px; }
.doc .summary p:last-child, .doc .summary ul:last-child { margin-bottom: 0; }
.doc a { color: var(--ink); text-decoration-color: var(--hazard-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq { display: grid; gap: 12px; margin-top: 10px; }
.faq details { background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font: 900 24px/1 var(--display); color: var(--hazard-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; }
.mail { display: inline-block; font: 800 clamp(22px, 3vw, 30px)/1.1 var(--display); letter-spacing: .02em; background: var(--hazard); padding: 10px 16px; border-radius: 6px; box-shadow: 4px 4px 0 var(--ink); text-decoration: none !important; color: var(--ink); word-break: break-all; }
