/* Hog Rumble landing, "pig soldiers on the farm" (2026-12-03, Vova): sunset trench + wood signs (hero, header, buttons),
   paper notes (text cards), photos clipped to the HQ map (maps), dog tags (weapons, classes). Art: public/img/ui.
   Desktop first; phones (<= 760 px) get one column and the portrait background. */
@font-face { font-family: Exo2; font-weight: 500 800; font-display: swap; src: url(/fonts/exo2-cyr.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Exo2; font-weight: 500 800; font-display: swap; src: url(/fonts/exo2-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212; }
:root {
  --ink: #4a2410; --ink-muted: #7a5236; --wood-ink: #fff4dc; --wood-muted: #f6d9a6; --dark: #3a1a08;
  --carve: 0 2px 0 #3a1a08, 1.5px 0 0 #3a1a08, -1.5px 0 0 #3a1a08, 0 -1.5px 0 #3a1a08, 1.5px 1.5px 0 #3a1a08, -1.5px 1.5px 0 #3a1a08;
  --drop: drop-shadow(0 6px 8px rgba(30, 14, 4, .45));
  --glow: drop-shadow(0 0 12px rgba(255, 196, 92, .85));
  --paper: url(/img/ui/note.webp) 44 fill / 18px / 0 stretch;
  --gap: 28px; --pad: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); font: 600 16px/1.45 Exo2, system-ui, "Segoe UI", sans-serif; overflow-x: hidden;
  background: #4a2c16 url(/img/ui/bg-barn.webp) center top / cover fixed no-repeat; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(40, 20, 6, .15), rgba(40, 20, 6, .55)); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; line-height: 1.2; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }

/* carved white titles */
.title { margin: 0 0 22px; font-weight: 800; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08; color: #fff;
  -webkit-text-stroke: 7px var(--dark); paint-order: stroke fill; text-shadow: 0 5px 0 var(--dark), 0 10px 22px rgba(0, 0, 0, .45); }
.title.sub { margin-top: 56px; }

/* paper note card */
.card { background: none; border: 4px solid transparent; border-image: var(--paper); border-radius: 4px; color: var(--ink); filter: var(--drop); transition: filter .2s; }
.card:hover { filter: var(--drop) drop-shadow(0 0 12px rgba(255, 200, 110, .7)); }
.intro { padding: 18px 24px; font-size: 18px; font-weight: 700; max-width: 760px; }

/* buttons: planks; Play = orange plank with a pig snout */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; font-size: 20px; padding: 10px 28px;
  color: var(--wood-ink); text-shadow: var(--carve); border: 3px solid transparent; border-radius: 6px;
  border-image: url(/img/ui/plank.webp) 0 140 fill / 0 18px / 0 stretch; filter: var(--drop); transition: filter .15s; }
.btn:hover { filter: var(--drop) var(--glow); }
.btn:active { transform: translateY(2px); }
.btn-play { border-image-source: url(/img/ui/plank-go.webp); color: #fff; position: relative; padding-left: 2em; }
.btn-play::before { content: ""; position: absolute; left: .45em; top: 50%; width: 1.3em; height: 1.1em; transform: translateY(-50%); background: url(/img/ui/snout.webp) center / contain no-repeat; }
.btn-sm { font-size: 17px; padding: 6px 20px 6px 2em; }
.btn-xl { font-size: 36px; padding: 14px 52px 14px 2.1em; border-image-width: 0 26px; }

/* header: one long plank */
.top { position: sticky; top: 0; z-index: 10; padding: 8px 0; border: 0 solid transparent; border-width: 0 0 4px;
  border-image: url(/img/ui/plank.webp) 30 140 fill / 10px 0 / 0 stretch; filter: drop-shadow(0 6px 10px rgba(30, 14, 4, .5)); }
.top-in { display: flex; align-items: center; gap: 20px; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 800; font-size: 16px; padding: 6px 12px; border-radius: 8px; color: var(--wood-ink); text-shadow: var(--carve); transition: background .15s; }
.nav a:hover { background: rgba(255, 210, 140, .2); }

/* hero */
.hero { padding-top: 16px; }
.hero-card { position: relative; height: clamp(520px, calc(100vh - 96px), 820px); overflow: hidden; border-radius: 8px;
  border: 16px solid transparent; border-image: url(/img/ui/board.webp) 64 / 16px / 0 stretch; filter: var(--drop); background: #6b3d1c; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(40, 18, 4, .45) 0%, rgba(40, 18, 4, .15) 45%, rgba(40, 18, 4, 0) 60%); }
.hero-card::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -14px; height: clamp(50px, 9vh, 90px); pointer-events: none;
  background: url(/img/ui/sandbags.webp) center bottom / auto 100% repeat-x; filter: drop-shadow(0 -4px 6px rgba(0, 0, 0, .35)); }
.hero-squad { position: absolute; right: 2%; bottom: clamp(26px, 5vh, 54px); width: min(54%, 760px); filter: drop-shadow(0 10px 14px rgba(30, 14, 4, .55)); pointer-events: none; }
.hero-text { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: 0 40px clamp(40px, 8vh, 80px); max-width: 600px; }
/* the logo on a wooden sign hanging on two ropes from the top of the card */
.hero-sign { position: relative; z-index: 0; padding: 0 6% 4%; }
.hero-sign::before { content: ""; position: absolute; inset: auto 0 0 0; height: 56%; z-index: -1;
  background: url(/img/ui/sign-wide.webp) center / 100% 100% no-repeat; filter: drop-shadow(0 6px 8px rgba(30, 14, 4, .5)); }
.hero-sign::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 40%; height: 100vh; z-index: -2;
  background: url(/img/ui/rope.webp) left bottom / 12px 600px repeat-y, url(/img/ui/rope.webp) right bottom / 12px 600px repeat-y; }
.hero-logo { width: clamp(220px, min(28vw, 34vh), 420px); }
.hero .title { margin: 0; font-size: clamp(32px, 3.4vw, 50px); }
.hero .lead { font-size: 18px; font-weight: 700; padding: 12px 18px; border: 4px solid transparent; border-image: var(--paper); filter: var(--drop); max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-top: 4px; }
.note { font-weight: 800; color: #fff; text-shadow: var(--carve), 0 3px 8px rgba(0, 0, 0, .5); font-size: 17px; }

/* sections */
.sec { padding-top: 84px; }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); align-items: center; }
.about-l { display: flex; flex-direction: column; gap: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.fact b { font-size: 17px; line-height: 1.2; }
.fact span { color: var(--ink-muted); font-size: 14px; }
/* a photo: white border, slight tilt, paper clip on top */
.photo { position: relative; margin: 0; padding: 8px 8px 10px; background: #fbf6ea; border-radius: 2px; filter: var(--drop); }
.photo::before { content: ""; position: absolute; top: -18px; left: 50%; width: 26px; height: 40px; transform: translateX(-50%); z-index: 1; background: url(/img/ui/clip-paper.webp) center / contain no-repeat; }
.shot { rotate: 1.2deg; }
.shot img { width: 100%; aspect-ratio: 1100 / 565; object-fit: cover; }

/* trailer */
.video-frame { max-width: 1040px; margin: 0 auto; border: 18px solid transparent; border-radius: 8px; border-image: url(/img/ui/board.webp) 64 fill / 18px / 0 stretch; filter: var(--drop); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 494; background: #1c120a; border-radius: 2px; }
.caption { margin-top: 14px; text-align: center; color: #fff4dc; font-weight: 700; text-shadow: 0 2px 6px rgba(0, 0, 0, .8); }

/* maps: the HQ map table */
.maps-sec { margin-top: 84px; padding: 60px 0 70px; background: #3a2412 url(/img/ui/bg-hq.webp) center / cover no-repeat; box-shadow: inset 0 18px 30px -12px rgba(0, 0, 0, .6), inset 0 -18px 30px -12px rgba(0, 0, 0, .6); }
.maps-sec .intro { margin-bottom: 40px; }
.maps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }
.maps .photo:nth-child(odd) { rotate: -1.6deg; }
.maps .photo:nth-child(even) { rotate: 1.3deg; }
.maps .photo:nth-child(3n+1)::before { background-image: url(/img/ui/pin-red.webp); width: 22px; height: 36px; }
.maps .photo:nth-child(4n+2)::before { background-image: url(/img/ui/pin-blue.webp); width: 22px; height: 36px; }
.maps img { width: 100%; aspect-ratio: 228 / 138; object-fit: cover; }
.maps figcaption { display: flex; flex-direction: column; padding: 8px 4px 0; text-align: center; }
.maps figcaption b { font-size: 18px; }
.maps figcaption small { font-size: 13px; color: var(--ink-muted); font-weight: 700; }

/* dog tags */
.tags { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.tags.classes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tag { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 16px 22px; color: #2a1a10;
  border: 4px solid transparent; border-radius: 16px; border-image: url(/img/ui/tag-silver.webp) 90 fill / 28px / 0 stretch;
  filter: drop-shadow(0 6px 8px rgba(30, 14, 4, .45)); transition: filter .2s; }
.tag:hover { filter: drop-shadow(0 6px 8px rgba(30, 14, 4, .45)) drop-shadow(0 0 12px rgba(255, 220, 150, .8)); }
.tag.gold { border-image-source: url(/img/ui/tag-gold.webp); padding-top: 30px; }
.tag img { height: 86px; width: 100%; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .3)); }
.tag.gold img { height: 130px; object-position: bottom; }
.tag p { font-size: 14px; color: #4a3424; font-weight: 700; }
.ammo { margin-top: 22px; text-align: center; font-size: 17px; font-weight: 700; color: #fff4dc; text-shadow: 0 2px 6px rgba(0, 0, 0, .85); }

/* features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feat { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.feat img { width: 76px; height: 76px; flex: none; filter: drop-shadow(0 4px 4px rgba(30, 14, 4, .45)); }
.feat p { color: var(--ink-muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; align-items: start; }
.faq details { padding: 14px 20px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 18px; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: ""; flex: none; width: 34px; height: 30px; background: url(/img/ui/snout.webp) center / contain no-repeat; transition: rotate .2s; }
.faq details[open] summary::before { rotate: -12deg; }
.faq details p { margin-top: 8px; color: var(--ink-muted); font-size: 16px; }

/* final call */
.final { display: flex; align-items: center; justify-content: center; gap: 48px; padding-bottom: 40px; }
.hero-sign.small::after { display: none; }
.final-logo { width: 320px; }
.final-r { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* footer: sandbags over a dark plank band */
.foot { position: relative; margin-top: 60px; padding: 30px 0 28px; color: var(--wood-ink); text-shadow: var(--carve); background: linear-gradient(180deg, #4a2a14, #2e1a0c); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -54px; height: 64px; background: url(/img/ui/sandbags.webp) center bottom / auto 100% repeat-x; pointer-events: none; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-weight: 700; }
.foot-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }
.foot-nav a { text-decoration: none; font-weight: 800; }
.foot-nav a:hover { color: #ffd28a; }

/* tablet */
@media (max-width: 1100px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .about { grid-template-columns: 1fr; }
  .tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tags.classes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .maps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-squad { width: 50%; }
}
/* phone */
@media (max-width: 760px) {
  :root { --pad: 16px; --gap: 18px; }
  body { background-image: url(/img/ui/bg-barn-p.webp); }
  .brand img { height: 36px; }
  .top-in { gap: 10px; }
  .btn-sm { font-size: 15px; }
  .hero { padding-top: 12px; }
  .hero-card { height: auto; border-width: 12px; border-image-width: 12px; display: flex; flex-direction: column; }
  .hero-text { order: 1; }
  .hero-squad { order: 2; }
  .hero-sign::after { height: 40px; }
  .hero-bg { object-position: 50% 30%; }
  .hero-card::before { background: linear-gradient(180deg, rgba(40, 18, 4, .35), rgba(40, 18, 4, .1)); }
  .hero-text { height: auto; padding: 24px 16px 8px; max-width: none; align-items: center; text-align: center; gap: 12px; }
  .hero-logo { width: 230px; }
  .hero .title { font-size: 32px; }
  .hero .lead { font-size: 16px; }
  .hero-cta { justify-content: center; flex-direction: column; gap: 10px; }
  .btn-xl { font-size: 30px; padding: 10px 40px 10px 2.1em; }
  .hero-squad { position: relative; right: auto; bottom: auto; width: 100%; margin: 4px auto 34px; z-index: 1; }
  .sec { padding-top: 60px; }
  .title.sub { margin-top: 44px; }
  .facts, .feats, .faq { grid-template-columns: 1fr; }
  .tags, .tags.classes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tag { padding: 28px 10px 18px; }
  .tag.gold img { height: 110px; }
  .maps-sec { margin-top: 60px; padding: 44px 0 52px; background-image: url(/img/ui/bg-hq-p.webp); }
  .maps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; }
  .maps figcaption b { font-size: 16px; }
  .video-frame { border-width: 10px; border-image-width: 10px; }
  .final { flex-direction: column; text-align: center; gap: 16px; }
  .final-r { align-items: center; }
  .final-logo { width: 250px; }
  .foot-in { flex-direction: column; text-align: center; }
  .foot-nav { justify-content: center; }
}

/* finger-sized header on every screen (test-mobile: tap targets >= 44 px) */
.btn-sm { min-height: 44px; }
.brand, body .top .hr-loc { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
