/* SS Decontrol tribute site — black & white, Berthold City headings */

@font-face {
  font-family: "Berthold City";
  src: url("../assets/fonts/BertholdCity-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Berthold City";
  src: url("../assets/fonts/BertholdCity-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --fg: #fff;
  --fg-dim: #b5b5b5;
  --rule: #333;
  --heading: "Berthold City", "Arial Black", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header / banner ---------- */

.site-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
  border-bottom: 2px solid var(--fg);
}

.banner {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 4.5rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.banner a {
  color: var(--fg);
  text-decoration: none;
}

.tagline {
  font-family: var(--heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 0.75rem;
}

.site-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--fg);
}

/* ---------- Layout ---------- */

main {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--rule);
}

section:last-of-type {
  border-bottom: none;
}

h2 {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.page-title {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: var(--heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--fg);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover,
a:focus {
  color: var(--fg-dim);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  text-align: center;
}

.hero img {
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--rule);
}

.hero figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--fg-dim);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 1.8rem;
  border: 2px solid var(--fg);
  color: var(--fg);
  margin: 0.25rem 0.5rem 0.25rem 0;
}

.btn:hover,
.btn:focus {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  font-size: 1.15rem;
  display: block;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Photo rows and gallery ---------- */

.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-row figure,
.gallery figure {
  margin: 0;
}

.photo-row img,
.gallery img {
  width: 100%;
  border: 1px solid var(--rule);
}

.photo-single {
  margin: 1.5rem auto 0;
  max-width: 520px;
}

.photo-single img {
  width: 100%;
  border: 1px solid var(--rule);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery figcaption,
.photo-row figcaption {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 0.4rem;
}

/* ---------- Icon links (social / streaming) ---------- */

.icon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

.icon-links a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.icon-links svg {
  width: 44px;
  height: 44px;
  fill: var(--fg);
}

.icon-links a:hover svg,
.icon-links a:focus svg {
  fill: var(--fg-dim);
}

.icon-links a:hover,
.icon-links a:focus {
  color: var(--fg-dim);
}

/* ---------- Link lists (videos, articles, podcasts) ---------- */

.link-list {
  list-style: none;
}

.link-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list .source {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  display: block;
  color: var(--fg-dim);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 2px solid var(--fg);
  text-align: center;
  padding: 2rem 1.25rem 3rem;
}

.site-footer .icon-links {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.site-footer p {
  font-size: 0.85rem;
  color: var(--fg-dim);
}
