/*
Theme Name: Dang Free Band
Theme URI: https://dangfreeband.com/
Author: Dang Free Band
Description: Official theme for Dang Free Band and the album Freedumb.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: dangfreeband
*/

@font-face {
  font-family: "Dang Condensed";
  src: url("assets/fonts/RobotoCondensed_Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700 900;
}

@font-face {
  font-family: "Dang Condensed";
  src: url("assets/fonts/RobotoCondensed_Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --df-black: #070707;
  --df-black-soft: #0e0e0e;
  --df-charcoal: #1a1a1a;
  --df-steel: #c0c0c0;
  --df-white: #e5e5e5;
  --df-red: #b30000;
  --df-red-bright: #d31717;
  --df-dark-red: #660000;
  --df-muted: #a6a6a6;
  --df-border: rgba(229, 229, 229, 0.19);
  --df-focus: #ffdf7e;
  --df-page: min(1240px, calc(100vw - 64px));
  --df-display: "Dang Condensed", "Arial Narrow", Impact, sans-serif;
  --df-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--df-black);
  color: var(--df-white);
  font-family: var(--df-body);
  font-size: 16px;
  line-height: 1.6;
}

body.df-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
}

[id] {
  scroll-margin-top: 24px;
}

.df-skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--df-white);
  color: var(--df-black);
}

.df-skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--df-focus);
  outline-offset: 4px;
}

.df-site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 18px max(32px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(229, 229, 229, 0.24);
  background: rgba(7, 7, 7, 0.96);
}

.df-brand {
  width: clamp(190px, 18vw, 230px);
}

.df-brand img {
  width: 100%;
}

.df-site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
}

.df-site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--df-white);
  font-family: var(--df-display);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.df-site-nav a::after {
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--df-red-bright);
  content: "";
  transition: transform 150ms ease;
}

.df-site-nav a:hover::after,
.df-site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.df-menu-toggle {
  display: none;
}

.df-hero {
  position: relative;
  display: flex;
  min-height: 730px;
  height: 730px;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}

.df-hero__portraits,
.df-hero__shade,
.df-hero__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.df-hero__portraits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-top: 116px;
}

.df-hero__portraits figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(229, 229, 229, 0.18);
  background: #d8d8d8;
}

.df-hero__portraits figure:last-child {
  border-right: 0;
}

.df-hero__portraits img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.12);
}

.df-hero__portraits figcaption {
  position: absolute;
  inset: 22px 18px auto;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--df-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px #000;
  text-transform: uppercase;
}

.df-hero__shade {
  background:
    linear-gradient(0deg, rgba(4, 4, 4, 0.99) 0%, rgba(4, 4, 4, 0.84) 25%, rgba(4, 4, 4, 0.03) 69%),
    linear-gradient(90deg, rgba(102, 0, 0, 0.45), transparent 33%, transparent 72%, rgba(0, 0, 0, 0.22));
}

.df-hero__texture {
  opacity: 0.25;
  background-image: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 19px, transparent 20px);
  mix-blend-mode: screen;
}

.df-hero__content {
  position: relative;
  z-index: 2;
  width: var(--df-page);
  margin: 0 auto;
  padding: 0 0 42px;
}

.df-kicker {
  margin: 0 0 14px;
  color: #f14c4c;
  font-family: var(--df-display);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.df-hero h1,
.df-section-title,
.df-album-copy h2,
.df-single h2,
.df-manifesto h2,
.df-band h2 {
  margin: 0;
  font-family: var(--df-display);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.82;
  text-wrap: balance;
  text-transform: uppercase;
}

.df-hero h1 {
  max-width: 1120px;
  font-size: clamp(4.5rem, 8.8vw, 9.5rem);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.54);
}

.df-hero__lede {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.df-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
}

.df-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  font-family: var(--df-display);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.df-button:active {
  transform: translateY(1px);
}

.df-button--primary {
  border-color: #e22;
  background: var(--df-red);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
}

.df-button--primary:hover {
  background: var(--df-red-bright);
}

.df-button--secondary {
  border-color: rgba(229, 229, 229, 0.72);
  background: transparent;
  color: var(--df-white);
}

.df-button--secondary:hover {
  background: var(--df-white);
  color: var(--df-black);
}

.df-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--df-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-underline-offset: 7px;
}

.df-signal-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 46px);
  padding: 18px 24px;
  overflow: hidden;
  border-block: 1px solid var(--df-border);
  background: #0d0d0d;
  color: var(--df-steel);
  font-family: var(--df-display);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.df-signal-strip i {
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  transform: rotate(45deg);
  background: var(--df-red-bright);
}

.df-album,
.df-single,
.df-tracks,
.df-manifesto,
.df-band {
  width: var(--df-page);
  margin: 0 auto;
  padding: 116px 0;
}

.df-album {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) 1.08fr;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.df-album-art {
  position: relative;
  margin: 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.54);
}

.df-album-art::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid rgba(179, 0, 0, 0.55);
  content: "";
}

.df-album-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.df-album-copy h2,
.df-single h2,
.df-manifesto h2,
.df-band h2,
.df-section-title {
  font-size: clamp(3.8rem, 7.4vw, 7.8rem);
}

.df-album-copy__lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--df-white);
  font-size: clamp(1.16rem, 2vw, 1.52rem);
  line-height: 1.5;
}

.df-album-copy__detail {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--df-muted);
}

.df-album-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 28px 0 0;
  padding: 22px 0;
  border-block: 1px solid var(--df-border);
  color: var(--df-steel);
  font-family: var(--df-display);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.df-single-wrap {
  background:
    radial-gradient(circle at 82% 15%, rgba(179, 0, 0, 0.34), transparent 35%),
    linear-gradient(135deg, #191919, #0b0b0b 62%);
  border-block: 1px solid var(--df-border);
}

.df-single {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.df-single__number {
  display: block;
  margin-top: -24px;
  color: rgba(229, 229, 229, 0.06);
  font-family: var(--df-display);
  font-size: clamp(15rem, 28vw, 29rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.7;
  user-select: none;
}

.df-single__copy {
  position: relative;
  z-index: 2;
}

.df-single__copy p:not(.df-kicker) {
  max-width: 720px;
  margin: 26px 0 0;
  color: #c4c4c4;
  font-size: 1.08rem;
}

.df-single__copy .df-signoff {
  color: var(--df-white);
  font-family: var(--df-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.df-tracks__heading {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: end;
  gap: 48px;
  margin-bottom: 54px;
}

.df-tracks__heading p {
  margin: 0;
  color: var(--df-muted);
}

.df-track-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 52px;
  margin: 0;
  padding: 0;
  counter-reset: df-track;
  list-style: none;
}

.df-track-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  min-height: 72px;
  align-items: center;
  border-top: 1px solid var(--df-border);
  color: var(--df-white);
  font-family: var(--df-display);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.15;
  counter-increment: df-track;
}

.df-track-list li::before {
  color: #777;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  content: counter(df-track, decimal-leading-zero);
}

.df-track-list li:first-child {
  color: #fff;
  text-shadow: 0 0 18px rgba(211, 23, 23, 0.28);
}

.df-track-list li:first-child::before {
  color: #f34d4d;
}

.df-manifesto-wrap {
  background: #e3e0da;
  color: #111;
}

.df-manifesto {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(48px, 8vw, 120px);
}

.df-manifesto h2 {
  color: #0b0b0b;
}

.df-manifesto .df-kicker {
  color: #780000;
}

.df-manifesto__intro {
  margin: 26px 0 0;
  font-size: 1.08rem;
}

.df-manifesto__demand {
  margin: 34px 0 0;
  padding: 26px 0 26px 28px;
  border-left: 6px solid var(--df-red);
  font-family: var(--df-display);
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.df-beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: #9f9c96;
  list-style: none;
}

.df-beliefs li {
  min-height: 142px;
  padding: 24px;
  background: #d5d2cc;
  font-family: var(--df-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.df-band__heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 52px;
}

.df-band__heading p {
  max-width: 560px;
  margin: 0;
  color: var(--df-muted);
}

.df-member-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.df-member {
  position: relative;
  min-width: 0;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--df-border);
  background: #eee;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.df-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.08);
  transition: filter 220ms ease, transform 220ms ease;
}

.df-member:hover img {
  transform: scale(1.015);
  filter: grayscale(0.2) contrast(1.08);
}

.df-member figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 74px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.97));
}

.df-member strong,
.df-member span {
  display: block;
}

.df-member strong {
  font-family: var(--df-display);
  font-size: 1.85rem;
  line-height: 1;
  text-transform: uppercase;
}

.df-member span {
  margin-top: 7px;
  color: #f04a4a;
  font-family: var(--df-display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.df-final-cta {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-top: 1px solid var(--df-border);
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.88)),
    url("assets/images/freedumb-album-cover.png") center 34% / cover;
  text-align: center;
}

.df-final-cta::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, 0.02) 19px, transparent 20px);
  content: "";
}

.df-final-cta__inner {
  position: relative;
  z-index: 1;
  width: min(840px, calc(100vw - 32px));
  padding: 80px 0;
}

.df-final-cta .df-actions {
  justify-content: center;
}

.df-final-cta h2 {
  margin: 0;
  font-family: var(--df-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.82;
  text-transform: uppercase;
}

.df-final-cta p {
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.df-site-footer {
  display: flex;
  width: var(--df-page);
  min-height: 170px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  border-top: 1px solid var(--df-border);
  color: #858585;
  font-size: 0.85rem;
}

.df-site-footer img {
  width: 180px;
}

.df-site-footer p {
  margin: 0;
}

@media (max-width: 1050px) {
  .df-site-header {
    grid-template-columns: auto 1fr auto;
  }

  .df-brand {
    grid-column: 1;
    width: 220px;
  }

  .df-menu-toggle {
    grid-column: 3;
    display: inline-flex;
    min-width: 96px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid rgba(229, 229, 229, 0.62);
    border-radius: 0;
    background: rgba(8, 8, 8, 0.55);
    color: var(--df-white);
    font-family: var(--df-display);
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .df-menu-toggle__lines {
    display: flex;
    width: 18px;
    height: 14px;
    flex-direction: column;
    justify-content: space-between;
  }

  .df-menu-toggle__lines span {
    display: block;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .df-menu-toggle[aria-expanded="true"] .df-menu-toggle__lines span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .df-menu-toggle[aria-expanded="true"] .df-menu-toggle__lines span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .df-site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    justify-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 110px 8vw 48px;
    transform: translateY(-14px);
    visibility: hidden;
    background: rgba(7, 7, 7, 0.99);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .df-site-nav.df-is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .df-site-nav a {
    min-height: 56px;
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .df-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --df-page: calc(100vw - 32px);
  }

  .df-site-header {
    min-height: 76px;
    padding: 12px 16px;
  }

  .df-brand {
    width: 174px;
  }

  .df-menu-toggle {
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  .df-menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .df-hero {
    min-height: 760px;
    height: 760px;
  }

  .df-hero__portraits {
    height: 390px;
    padding-top: 76px;
  }

  .df-hero__portraits figcaption {
    display: none;
  }

  .df-hero__shade {
    background:
      linear-gradient(0deg, rgba(4, 4, 4, 0.99) 0%, rgba(4, 4, 4, 0.96) 38%, rgba(4, 4, 4, 0.04) 73%),
      linear-gradient(90deg, rgba(102, 0, 0, 0.34), transparent 55%);
  }

  .df-hero__content {
    padding-bottom: 42px;
  }

  .df-hero h1 {
    font-size: clamp(4rem, 19vw, 5.2rem);
  }

  .df-hero__lede {
    margin-top: 20px;
    font-size: 0.98rem;
  }

  .df-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .df-actions .df-button {
    width: 100%;
  }

  .df-text-link {
    justify-content: center;
  }

  .df-signal-strip {
    justify-content: flex-start;
    font-size: 0.78rem;
  }

  .df-album,
  .df-single,
  .df-tracks,
  .df-manifesto,
  .df-band {
    padding: 82px 0;
  }

  .df-album,
  .df-single,
  .df-manifesto,
  .df-tracks__heading,
  .df-band__heading {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .df-album-art {
    margin-left: 14px;
  }

  .df-album-copy h2,
  .df-single h2,
  .df-manifesto h2,
  .df-band h2,
  .df-section-title {
    font-size: clamp(3.4rem, 16vw, 4.8rem);
  }

  .df-single__number {
    display: none;
  }

  .df-tracks__heading,
  .df-band__heading {
    margin-bottom: 36px;
  }

  .df-track-list,
  .df-beliefs,
  .df-member-grid {
    grid-template-columns: 1fr;
  }

  .df-member {
    min-height: 520px;
  }

  .df-beliefs li {
    min-height: 0;
  }

  .df-final-cta {
    min-height: 460px;
  }

  .df-site-footer {
    min-height: 190px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .df-brand {
    width: 150px;
  }

  .df-hero h1 {
    font-size: 3.65rem;
  }

  .df-member {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
