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

:root {
  --black: #0a0a0a;
  --white: #f5f4f0;
  --gray-1: #1c1c1c;
  --gray-2: #2e2e2e;
  --gray-3: #5a5a5a;
  --gray-4: #8a8a8a;
  --gray-5: #c8c8c8;
  --gray-6: #e8e8e4;
  --mondrian-blue: #1553a2;
  --navy: #0d2b5e;
  --sky: #4a7fcb;
  --border: 3px solid var(--black);
  --border-thick: 6px solid var(--black);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  cursor: crosshair;
}

/* ── GRID LINES (decorative Mondrian feel) ── */
.mondrian-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.mondrian-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22vw;
  width: 6px;
  height: 100%;
  background: var(--black);
  opacity: 0.07;
}

.mondrian-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 72vw;
  width: 4px;
  height: 100%;
  background: var(--black);
  opacity: 0.05;
}

/* ── HEADER / HERO ── */
header {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  border-bottom: var(--border-thick);
}

.nav-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: var(--border);
  background: var(--white);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray-3);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--mondrian-blue);
}

.hero-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 2.5rem;
  border-right: var(--border-thick);
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--mondrian-blue);
}

.hero-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.9;
  color: var(--black);
  margin-bottom: 2rem;
}

.hero-name span {
  display: block;
  color: var(--mondrian-blue);
}

.hero-desc {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gray-3);
  line-height: 1.6;
  max-width: 360px;
}

.hero-right {
  grid-column: 2;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero-block-top {
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-thick);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.hero-block-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  z-index: 1;
}

.hero-block-top p {
  position: relative;
  z-index: 2;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-photos {
  position: absolute;
  inset: 0;
  display: flex;
}

.hero-photos img {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}

.hero-photos img + img {
  border-left: 3px solid var(--black);
}

.hero-block-bottom {
  background: var(--gray-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-2);
}

.stat-item:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
}

.scroll-hint {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  border-top: var(--border);
  background: var(--white);
}

.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.scroll-line {
  flex: 1;
  height: 1px;
  background: var(--gray-5);
}

/* ── SECTION BASE ── */
section {
  position: relative;
  z-index: 10;
  border-bottom: var(--border-thick);
}

.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-4);
  padding: 1rem 2.5rem;
  border-bottom: var(--border);
  background: var(--gray-6);
  display: flex;
  justify-content: space-between;
}

/* ── ABOUT ── */
#about .about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.about-sidebar {
  border-right: var(--border-thick);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-sidebar .big-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--mondrian-blue);
}

.about-sidebar .big-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.color-block {
  width: 100%;
  height: 6px;
  background: var(--navy);
  margin-top: auto;
}

.about-body {
  padding: 3rem;
}

.about-body h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.about-body p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--gray-3);
  margin-bottom: 1rem;
  max-width: 600px;
}

/* ── MUSIC ── */
#music {
  background: var(--black);
}

#music .section-label {
  background: var(--gray-1);
  color: var(--gray-4);
  border-bottom-color: var(--gray-2);
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.music-card {
  padding: 2.5rem 2rem;
  border-right: 3px solid var(--gray-2);
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}

.music-card:last-child {
  border-right: none;
}

.music-card:hover {
  background: var(--gray-1);
}

.music-card .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--gray-2);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.music-card:hover .num {
  color: var(--mondrian-blue);
}

.music-card .artist {
  font-family: 'DM Serif Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.music-card .genre {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
}

.music-card .bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--mondrian-blue);
  transition: width 0.4s ease;
}

.music-card:hover .bar {
  width: 100%;
}

/* ── FILMS ── */
#films .films-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.film-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border-bottom: var(--border);
  border-right: var(--border-thick);
  align-items: flex-start;
  transition: background 0.2s;
}

.film-item:nth-child(even) {
  border-right: none;
}

.film-poster {
  width: 72px;
  height: 108px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--gray-5);
}

.film-item:hover {
  background: var(--gray-6);
}

.film-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gray-5);
  line-height: 1;
  min-width: 2.5rem;
}

.film-info h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.film-info p {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gray-4);
  text-transform: uppercase;
}

.film-tag {
  margin-left: auto;
  align-self: center;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--gray-5);
  color: var(--gray-4);
  white-space: nowrap;
}

/* ── DOG ── */
#dog {
  background: var(--navy);
}

#dog .section-label {
  background: var(--mondrian-blue);
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 3px solid rgba(255, 255, 255, 0.15);
}

.dog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.dog-main {
  padding: 4rem 3rem;
  border-right: 6px solid rgba(255, 255, 255, 0.15);
}

.dog-main h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.dog-main h2 em {
  font-style: normal;
  color: var(--sky);
}

.dog-main p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
}

.dog-facts {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dog-fact {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dog-fact:last-child {
  border-bottom: none;
}

.dog-fact .label {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.3rem;
}

.dog-fact .value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.05rem;
  color: var(--white);
}

/* ── CURRENTLY ── */
#currently .current-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.current-cell {
  padding: 2.5rem 2rem;
  border-right: var(--border-thick);
  position: relative;
}

.current-cell:last-child {
  border-right: none;
}

.current-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.current-cell:nth-child(1)::before {
  background: var(--mondrian-blue);
}

.current-cell:nth-child(2)::before {
  background: var(--gray-2);
}

.current-cell:nth-child(3)::before {
  background: var(--navy);
}

.current-cell .c-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 1.25rem;
  display: block;
}

.current-cell .c-item {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.current-cell .c-sub {
  font-size: 0.68rem;
  color: var(--gray-4);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: var(--border-thick);
}

.footer-cell {
  padding: 2.5rem 2rem;
  border-right: var(--border-thick);
}

.footer-cell:last-child {
  border-right: none;
}

.footer-cell h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-cell p {
  font-size: 0.68rem;
  color: var(--gray-4);
  line-height: 1.7;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding: 1rem 2rem;
  border-top: var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
}

.footer-bottom span {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-3);
}

/* ── MONDRIAN ACCENTS ── */
.m-block {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--mondrian-blue);
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.fade-up:nth-child(1) {
  animation-delay: 0.1s;
}

.fade-up:nth-child(2) {
  animation-delay: 0.25s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.4s;
}

.fade-up:nth-child(4) {
  animation-delay: 0.55s;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

  /* Nav */
  .nav-bar {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .nav-links {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: 0.58rem;
  }

  /* Hero */
  header {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    grid-column: 1;
    border-right: none;
    border-bottom: var(--border-thick);
    padding: 2.5rem 1.5rem;
  }
  .hero-name {
    font-size: clamp(4rem, 20vw, 7rem);
  }
  .hero-desc {
    font-size: 1rem;
    max-width: 100%;
  }
  .hero-right {
    grid-column: 1;
    grid-template-rows: 220px auto;
  }
  .hero-block-bottom {
    padding: 1.5rem 1.25rem;
  }
  .scroll-hint {
    grid-column: 1;
  }

  /* About */
  #about .about-grid {
    grid-template-columns: 1fr;
  }
  .about-sidebar {
    border-right: none;
    border-bottom: var(--border-thick);
    padding: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .color-block {
    display: none;
  }
  .about-body {
    padding: 1.5rem;
  }
  .about-body h2 {
    font-size: 1.7rem;
  }

  /* Music — 2 columns */
  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .music-card {
    padding: 2rem 1.25rem;
  }
  .music-card:nth-child(even) {
    border-right: none;
  }
  .music-card:nth-child(odd) {
    border-right: 3px solid var(--gray-2);
  }
  .music-card:last-child {
    border-right: none;
  }

  /* Films — 1 column */
  #films .films-grid {
    grid-template-columns: 1fr;
  }
  .film-item,
  .film-item:nth-child(even) {
    border-right: none;
  }

  /* Dog */
  .dog-layout {
    grid-template-columns: 1fr;
  }
  .dog-main {
    border-right: none;
    border-bottom: 6px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem 1.5rem;
  }
  .dog-facts {
    padding: 1.5rem;
  }

  /* Currently — 1 column */
  #currently .current-grid {
    grid-template-columns: 1fr;
  }
  .current-cell {
    border-right: none;
    border-bottom: var(--border-thick);
  }
  .current-cell:last-child {
    border-bottom: none;
  }

  /* Footer — 1 column */
  footer {
    grid-template-columns: 1fr;
  }
  .footer-cell {
    border-right: none;
    border-bottom: var(--border-thick);
  }
  .footer-cell:last-child {
    border-bottom: none;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  /* Section padding */
  .section-label {
    padding: 0.75rem 1.25rem;
  }
}

/* Very small screens — music goes 1 column */
@media (max-width: 480px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
  .music-card,
  .music-card:nth-child(odd) {
    border-right: none;
    border-bottom: 3px solid var(--gray-2);
  }
}
