/*
Theme Name: Thump! Thump! Original
Theme URI: https://thumpthump.co.uk/
Author: Satoms
Author URI: https://satoms.com/
Description: A standalone custom theme for Thump! Thump!, preserving the current homepage's original 90s surf, street and classic VW visual identity.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: thumpthump-original
*/

:root {
  --tt-paper: #f7f5ee;
  --tt-ink: #101010;
  --tt-red: #ef2b1f;
  --tt-yellow: #ffd62b;
  --tt-aqua: #58d7c8;
  --tt-blue: #2639e8;
  --tt-pink: #f17dcc;
}

html { min-height: 100%; }
body {
  min-height: 100%;
  margin: 0;
  background: var(--tt-paper);
  color: var(--tt-ink);
  font-family: "Courier New", Courier, monospace;
}
a { color: inherit; }
.admin-bar .tt-home { min-height: calc(100svh - 32px); }

.tt-home, .tt-home * { box-sizing: border-box; }
.tt-home {
  --paper: var(--tt-paper);
  --ink: var(--tt-ink);
  --red: var(--tt-red);
  --yellow: var(--tt-yellow);
  --aqua: var(--tt-aqua);
  --blue: var(--tt-blue);
  --pink: var(--tt-pink);
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(circle at 50% 45%, rgba(255,214,43,.10), transparent 27rem), var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
}
.tt-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .24;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(16,16,16,.025) 3px 4px);
}
.tt-skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: #fff; }
.tt-skip:focus { top: 12px; }
.tt-rail { position: absolute; z-index: 5; top: 28px; bottom: 36px; display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.tt-rail-left { left: clamp(20px, 3vw, 50px); }
.tt-rail-right { right: clamp(20px, 3vw, 50px); align-items: flex-end; }
.tt-shortcut { display: grid; justify-items: center; gap: 7px; width: 92px; color: var(--red); font: 900 11px/.98 "Courier New", monospace; letter-spacing: -.04em; text-transform: uppercase; text-align: center; }
.tt-pixel { position: relative; display: block; width: 60px; height: 60px; image-rendering: pixelated; filter: drop-shadow(4px 4px 0 var(--ink)); transition: transform .14s ease; }

.tt-pixel::before, .tt-pixel::after { content: ""; position: absolute; box-sizing: border-box; }
.tt-van::before { left: 4px; top: 18px; width: 52px; height: 31px; border: 4px solid var(--ink); border-radius: 8px 8px 3px 3px; background: linear-gradient(90deg, var(--yellow) 0 48%, var(--aqua) 48%); box-shadow: inset 0 11px 0 #fff; }
.tt-van::after { left: 12px; top: 43px; width: 11px; height: 11px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; box-shadow: 27px 0 0 -3px #fff, 27px 0 0 0 var(--ink); }
.tt-tape::before { inset: 8px 3px 7px; border: 4px solid var(--ink); border-radius: 4px; background: var(--pink); box-shadow: inset 0 11px 0 #fff; }
.tt-tape::after { left: 15px; top: 30px; width: 12px; height: 12px; border: 4px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 20px 0 0 -4px var(--yellow), 20px 0 0 0 var(--ink); }
.tt-bag::before { left: 10px; top: 16px; width: 41px; height: 38px; border: 4px solid var(--ink); background: #fff; transform: skew(-3deg); box-shadow: inset 0 -12px 0 var(--yellow); }
.tt-bag::after { left: 20px; top: 7px; width: 21px; height: 19px; border: 4px solid var(--ink); border-bottom: 0; border-radius: 50% 50% 0 0; }
.tt-shirt::before { left: 3px; top: 9px; width: 54px; height: 46px; background: var(--aqua); border: 4px solid var(--ink); clip-path: polygon(0 22%, 21% 0, 37% 12%, 63% 12%, 79% 0, 100% 22%, 86% 42%, 78% 34%, 78% 100%, 22% 100%, 22% 34%, 14% 42%); }
.tt-shirt::after { left: 23px; top: 25px; width: 12px; height: 16px; background: var(--red); box-shadow: 8px 5px 0 var(--yellow); transform: rotate(-13deg); }
.tt-stage { min-height: 100svh; display: grid; place-items: center; padding: 64px 160px; text-align: center; }
.tt-hero { position: relative; width: min(700px, 100%); }
.tt-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 13px 6px; border: 3px solid var(--ink); border-radius: 999px; background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); font: 900 11px/1 "Courier New", monospace; letter-spacing: .18em; text-transform: uppercase; transform: rotate(-1deg); }
.tt-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: tt-blink 1.1s steps(2,end) infinite; }
.tt-logo { position: relative; display: inline-grid; margin: 0 auto 25px; transform: rotate(-2deg); filter: drop-shadow(8px 9px 0 var(--ink)); animation: tt-float 5s ease-in-out infinite alternate; }
.tt-logo span { display: block; margin: 0; color: var(--yellow); font: 950 clamp(66px, 9.5vw, 142px)/.72 Impact, Haettenschweiler, "Arial Black", sans-serif; letter-spacing: -.07em; text-transform: uppercase; -webkit-text-stroke: clamp(3px, .4vw, 6px) var(--ink); paint-order: stroke fill; }
.tt-logo span + span { color: #fff; margin-left: .25em; }
.tt-tagline { max-width: 540px; margin: 0 auto 15px; font: 900 clamp(16px, 1.7vw, 23px)/1.15 "Courier New", monospace; letter-spacing: .05em; text-transform: uppercase; }
.tt-sub { max-width: 510px; margin: 0 auto 28px; font: 700 13px/1.55 "Courier New", monospace; text-transform: uppercase; }
.tt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); color: var(--ink); background: var(--yellow); font: 900 12px/1 "Courier New", monospace; text-transform: uppercase; }
.tt-button-alt { background: #fff; }

.tt-sticker { position: absolute; z-index: -1; border: 3px solid var(--ink); }
.tt-sticker-a { width: 38px; height: 38px; left: 2%; top: 28%; background: var(--pink); transform: rotate(18deg); box-shadow: 4px 4px 0 var(--ink); animation: tt-spin 9s steps(8,end) infinite; }
.tt-sticker-b { width: 46px; height: 46px; right: -1%; bottom: 22%; border-radius: 50%; background: repeating-conic-gradient(var(--blue) 0 12.5%, var(--aqua) 0 25%); box-shadow: 4px 4px 0 var(--ink); animation: tt-spin 12s linear infinite reverse; }
.tt-sticker-c { left: 11%; bottom: 9%; width: 47px; height: 19px; border-radius: 50%; background: var(--red); transform: rotate(-19deg); box-shadow: 3px 3px 0 var(--ink); }
.tt-footer-line { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; color: var(--ink); font: 900 10px/1 "Courier New", monospace; letter-spacing: .22em; text-transform: uppercase; }
.tt-footer-line::before, .tt-footer-line::after { content: "/////"; margin: 0 11px; color: var(--red); letter-spacing: -.12em; }

.site-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 3px solid var(--tt-ink); background: var(--tt-yellow); }
.site-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { font: 950 30px/1 Impact, "Arial Black", sans-serif; text-transform: uppercase; text-decoration: none; letter-spacing: -.03em; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.site-nav a { font-weight: 900; text-transform: uppercase; text-decoration: none; }
.site-content { min-height: 65vh; padding: 56px 0; }
.site-content article { max-width: 800px; }
.site-content img { max-width: 100%; height: auto; }
.site-footer { padding: 28px 0; border-top: 3px solid var(--tt-ink); background: #fff; font-weight: 700; }

@keyframes tt-float { from { transform: translateY(-5px) rotate(-2deg); } to { transform: translateY(10px) rotate(1deg); } }
@keyframes tt-spin { to { transform: rotate(378deg); } }
@keyframes tt-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .tt-logo, .tt-sticker, .tt-kicker::before { animation: none !important; } }
@media (max-width: 782px) { .admin-bar .tt-home { min-height: calc(100svh - 46px); } }
@media (max-width: 760px) {
  .tt-home { overflow: auto; display: flex; flex-direction: column; }
  .tt-stage { min-height: auto; padding: 28px 18px 38px; }
  .tt-hero { order: 1; }
  .tt-logo { margin-bottom: 22px; filter: drop-shadow(5px 6px 0 var(--ink)); }
  .tt-logo span { font-size: clamp(56px, 20vw, 86px); -webkit-text-stroke-width: 3px; }
  .tt-sub { font-size: 12px; }
  .tt-rail { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; padding: 25px 20px; align-items: start; }
  .tt-rail-left { order: 2; background: #fff; border-top: 3px solid var(--ink); }
  .tt-rail-right { order: 3; background: var(--yellow); border-top: 3px solid var(--ink); }
  .tt-shortcut { width: auto; min-height: 92px; justify-content: center; }
  .tt-footer-line { position: static; order: 4; transform: none; padding: 23px 10px; text-align: center; white-space: normal; }
  .tt-sticker-a { left: 0; top: 18%; }
  .tt-sticker-b, .tt-sticker-c { display: none; }
  .site-header-inner { padding: 18px 0; align-items: flex-start; flex-direction: column; }
}
