/* Windmill Productions
   Plain HTML + CSS + a small language switcher. No frameworks, no cookies.
*/

:root {
  --bg: #0a0b0d;
  --panel: #111318;
  --panel-2: #171a20;
  --text: #f3f3ef;
  --muted: #a8abb3;
  --line: #2b2f38;
  --accent: #d6ff3f;
  --max: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(214,255,63,.06), transparent 28rem),
    linear-gradient(180deg, #0a0b0d 0%, #0d0f12 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(10,11,13,.88);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: .95;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .66rem;
  letter-spacing: .2em;
}

nav {
  display: flex;
  gap: 24px;
}

.language-switcher {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #666b76;
}

.language-switcher button {
  padding: 3px 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  cursor: pointer;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: var(--text);
}

.language-switcher button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--accent);
}

.legal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(56px, 9vw, 100px);
}

nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 72px;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: .95;
  letter-spacing: -.045em;
}

h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8rem);
}

h2 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.lead {
  max-width: 700px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.lead em {
  color: var(--text);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #080908;
}

.button-ghost:hover {
  border-color: #666b76;
  background: rgba(255,255,255,.03);
}

.hero-logo {
  justify-self: end;
  width: min(100%, 520px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f2f2f0;
  transform: rotate(1.5deg);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.section {
  padding-block: 110px;
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.copy {
  max-width: 760px;
}

.copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy .big-copy {
  margin-top: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.35;
}

.link-row a {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: .92rem;
}

.link-row a:hover {
  border-color: var(--accent);
}

.release-section {
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}

.graveyard-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #090711;
}

.graveyard-section::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,7,17,.96) 0%, rgba(9,7,17,.74) 50%, rgba(9,7,17,.9) 100%),
    radial-gradient(circle at 20% 30%, rgba(255,35,166,.22), transparent 28rem),
    radial-gradient(circle at 75% 70%, rgba(129,255,60,.12), transparent 26rem);
  content: "";
}

.graveyard-art {
  position: absolute;
  z-index: -3;
  inset: 0;
  background: url("the-discount-graveyard-logo.png") center / min(78vw, 980px) auto no-repeat;
  filter: blur(36px) saturate(1.4);
  opacity: .12;
  transform: scale(1.25);
}

.graveyard-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.graveyard-logo {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(255,35,166,.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,35,166,.16), transparent 58%),
    rgba(4,3,8,.66);
  box-shadow:
    0 28px 80px rgba(0,0,0,.45),
    inset 0 0 46px rgba(129,255,60,.04);
  transform: rotate(-1.2deg);
}

.graveyard-copy .eyebrow {
  color: #88ff56;
}

.graveyard-copy h2 {
  color: #fff6fb;
  text-shadow: 0 0 34px rgba(255,35,166,.18);
}

.graveyard-copy .big-copy {
  margin-top: 30px;
}

.graveyard-copy .graveyard-tagline {
  margin: 30px 0 0;
  color: #ff4fba;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.release-card {
  display: grid;
  grid-template-columns: minmax(270px, 420px) 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--panel);
}

.cover-placeholder {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background:
    linear-gradient(rgba(214,255,63,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,255,63,.08) 1px, transparent 1px),
    #090b08;
  background-size: 28px 28px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.cover-placeholder span,
.cover-placeholder small {
  letter-spacing: .16em;
}

.cover-placeholder strong {
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .86;
  letter-spacing: -.07em;
}

.release-copy {
  align-self: center;
  padding: clamp(32px, 6vw, 76px);
}

.release-copy p:not(.eyebrow) {
  max-width: 630px;
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  padding-block: 58px 28px;
  background: #07080a;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-grid strong {
  font-size: 1.1rem;
}

.footer-grid p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: start;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #747984;
  font-size: .82rem;
}

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .release-card,
  .graveyard-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 70px;
  }

  .hero-logo {
    justify-self: stretch;
    width: 100%;
  }

  .section {
    padding-block: 76px;
  }

  .split {
    gap: 44px;
  }

  .section-heading,
  .footer-grid,
  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .cover-placeholder {
    max-height: 520px;
  }

  .graveyard-grid {
    gap: 48px;
  }

  .graveyard-logo {
    width: min(100%, 620px);
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
