/*
Theme Name: HERR!EBAK
Theme URI: https://herriebak.com/
Author: HERR!EBAK
Description: Minimal one-page artist theme for HERR!EBAK.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: herriebak
*/

:root {
  --hb-black: #050505;
  --hb-grey: #deded8;
  --hb-yellow: #ffd000;
  --hb-muted: #8f8f8a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--hb-black);
  color: var(--hb-grey);
  font-family: "Courier New", Courier, monospace;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .075;
  background: repeating-linear-gradient(0deg, transparent 0 3px, var(--hb-grey) 4px);
}
a { color: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hb-page { min-height: 100vh; }
.hb-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(2rem, 7vw, 6rem);
  border-bottom: 2px solid var(--hb-grey);
  isolation: isolate;
}
.hb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(255,208,0,.11), transparent 55%);
}
.hb-logo, .custom-logo { display: block; width: min(100%, 1120px); height: auto; }
.custom-logo-link { display: block; width: min(100%, 1120px); }
.hb-scroll {
  position: absolute;
  bottom: 1.4rem;
  font-size: .7rem;
  letter-spacing: .2em;
  text-decoration: none;
  color: var(--hb-yellow);
  animation: hb-blink 1.2s steps(1) infinite;
}
@keyframes hb-blink { 50% { opacity: .18; } }
.hb-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 9rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}
.hb-photo-frame { position: relative; border: 2px solid var(--hb-grey); padding: clamp(.4rem, 1vw, .8rem); }
.hb-gear-label {
  position: absolute;
  top: -1.8rem;
  left: 0;
  color: var(--hb-yellow);
  font-size: .7rem;
  letter-spacing: .16em;
}
.hb-photo { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.25); }
.hb-photo-tint { position: relative; overflow: hidden; background: var(--hb-yellow); }
.hb-photo-tint::after { content: ""; position: absolute; inset: 0; background: var(--hb-yellow); mix-blend-mode: multiply; opacity: .42; pointer-events: none; }
.hb-copy { position: relative; }
.hb-smiley { display: block; width: clamp(110px, 14vw, 190px); height: auto; margin: 0 0 2rem auto; }
.hb-kicker { margin: 0 0 1rem; color: var(--hb-yellow); font-size: .7rem; letter-spacing: .2em; }
.hb-title { margin: 0 0 1.5rem; font-family: Arial Black, Impact, sans-serif; font-size: clamp(2.4rem, 6vw, 5.5rem); line-height: .85; letter-spacing: -.07em; color: var(--hb-grey); }
.hb-intro { max-width: 36rem; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.7; }
.hb-intro p:first-child { margin-top: 0; }
.hb-placeholder { color: var(--hb-muted); }
.hb-mail { display: inline-block; margin-top: 2.2rem; padding: .9rem 1rem; border: 2px solid var(--hb-yellow); color: var(--hb-yellow); font-weight: 700; font-size: clamp(.9rem, 2vw, 1.2rem); text-decoration: none; box-shadow: 7px 7px 0 var(--hb-grey); transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.hb-mail:hover, .hb-mail:focus-visible { background: var(--hb-yellow); color: var(--hb-black); transform: translate(4px,4px); box-shadow: 3px 3px 0 var(--hb-grey); }
.hb-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem max(1rem, 4vw); border-top: 2px solid var(--hb-grey); color: var(--hb-muted); font-size: .65rem; letter-spacing: .1em; }
.hb-blocks { width: min(980px, calc(100% - 2rem)); margin: 0 auto; padding: 0 0 clamp(4rem, 9vw, 9rem); }
.hb-text-block { padding: clamp(2rem, 5vw, 4rem) 0; border-top: 2px solid var(--hb-grey); }
.hb-text-block:last-child { border-bottom: 2px solid var(--hb-grey); }
.hb-block-title { margin: 0 0 1.5rem; color: var(--hb-yellow); font-family: Arial Black, Impact, sans-serif; font-size: clamp(1.8rem, 4vw, 3.8rem); line-height: .95; letter-spacing: -.05em; }
.hb-block-content { max-width: 46rem; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.75; }
.hb-block-content > :first-child { margin-top: 0; }
.hb-block-content > :last-child { margin-bottom: 0; }
.hb-audio-control { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; border: 2px solid var(--hb-yellow); background: var(--hb-black); color: var(--hb-yellow); padding: .7rem .9rem; font: 700 .7rem/1 "Courier New", monospace; letter-spacing: .12em; cursor: pointer; box-shadow: 4px 4px 0 var(--hb-grey); }
.hb-audio-control:hover, .hb-audio-control:focus-visible { background: var(--hb-yellow); color: var(--hb-black); }
.hb-local-audio { position: fixed; width: 1px; height: 1px; left: -9999px; top: -9999px; }
@media (max-width: 760px) {
  .hb-content { grid-template-columns: 1fr; }
  .hb-copy { display: grid; }
  .hb-smiley { width: 110px; margin-left: 0; order: -1; }
  .hb-footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hb-scroll { animation: none; } }
