@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg: #e5e8e9;
  --paper: #f5f4ef;
  --paper-2: #eeefed;
  --blue: #c8d7de;
  --pink: #d9ced2;
  --text: #242729;
  --muted: #7e878b;
  --line: #c5cccf;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  font-size: 12px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,.3) 4px
    );
  z-index: 99;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}


/* =========================
   PAGE
========================= */

.page {
  width: min(1450px, 94vw);
  margin: 25px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 15px 45px rgba(60,70,75,.08);
}


/* =========================
   TOP BAR
========================= */

.topbar {
  height: 58px;
  border-bottom: 1px solid var(--line);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  padding: 0 25px;
}

.brand {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  letter-spacing: -0.5px;
}

.dot,
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fa8b3;
  margin-right: 7px;
}

.top-links {
  display: flex;
  gap: 28px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.top-links a {
  color: var(--muted);
  transition: .2s;
}

.top-links a:hover {
  color: var(--text);
}

.status {
  justify-self: end;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}


/* =========================
   THREE COLUMNS
========================= */

.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  min-height: 850px;
}


/* =========================
   LEFT
========================= */

.left {
  border-right: 1px solid var(--line);
  padding: 28px 22px;

  display: flex;
  flex-direction: column;
  gap: 28px;
}

.intro-card {
  background: var(--blue);
  padding: 22px;
  min-height: 300px;

  position: relative;
  overflow: hidden;
}

.intro-card::after {
  content: "O.O.F";
  position: absolute;
  right: -20px;
  bottom: -30px;

  font-family: "DM Mono", monospace;
  font-size: 70px;
  color: rgba(255,255,255,.25);
  transform: rotate(-10deg);
}

.tiny-label {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.intro-card .tiny-label {
  color: #65757c;
}

.intro-card h1 {
  margin-top: 22px;

  font-size: 42px;
  line-height: .83;
  letter-spacing: -3px;
  font-weight: 500;

  position: relative;
  z-index: 2;
}

.intro-card p {
  margin-top: 28px;
  max-width: 145px;

  line-height: 1.7;
  color: #59666b;
}

.coordinates {
  position: absolute;
  bottom: 18px;
  left: 22px;

  font-family: "DM Mono", monospace;
  font-size: 8px;
  line-height: 1.6;

  color: #718087;
}


/* MENU */

.menu {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.menu-title {
  padding: 13px 0;

  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: 1px;
}

.menu a {
  display: flex;
  justify-content: space-between;

  padding: 11px 0;

  border-top: 1px solid #dfe2e2;

  transition: .2s;
}

.menu a span {
  color: #a1a8aa;
  font-family: "DM Mono", monospace;
  font-size: 8px;
}

.menu a:hover {
  padding-left: 6px;
}


/* NOTE */

.mini-note {
  background: var(--pink);
  padding: 18px;

  transform: rotate(-1.5deg);
}

.mini-note span {
  font-family: "DM Mono", monospace;
  font-size: 8px;
  color: #8b7c81;
}

.mini-note p {
  margin-top: 13px;

  color: #635a5e;
  font-size: 10px;
  line-height: 1.7;
}


/* =========================
   CENTRE
========================= */

.centre {
  padding: 35px;
  min-width: 0;
}


/* HERO */

.hero {
  min-height: 390px;

  display: grid;
  grid-template-columns: 38% 62%;
  gap: 20px;

  position: relative;
}

.hero-text {
  padding-top: 15px;
}

.hero-text h2 {
  margin-top: 28px;

  font-size: clamp(35px, 4vw, 55px);
  line-height: .9;
  letter-spacing: -3px;
  font-weight: 500;
}

.hero-text p {
  margin-top: 28px;

  max-width: 180px;
  color: var(--muted);

  line-height: 1.7;
}


/* PHOTO STACK */

.photo-stack {
  position: relative;
  height: 370px;
}

.photo {
  position: absolute;
  overflow: hidden;

  background: #ddd;
  border: 7px solid var(--paper);
  box-shadow: 0 8px 25px rgba(30,40,45,.12);
}

.photo img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;

  filter:
    saturate(.55)
    contrast(.92)
    brightness(1.03);
}

.photo span {
  position: absolute;
  bottom: 8px;
  left: 10px;

  color: white;
  font-family: "DM Mono", monospace;
  font-size: 7px;

  text-shadow: 0 1px 5px #333;
}

.photo-one {
  width: 210px;
  height: 275px;

  left: 12%;
  top: 20px;

  transform: rotate(-4deg);
  z-index: 3;
}

.photo-two {
  width: 175px;
  height: 175px;

  right: 2%;
  top: 0;

  transform: rotate(5deg);
  z-index: 2;
}

.photo-three {
  width: 185px;
  height: 225px;

  right: 8%;
  bottom: 0;

  transform: rotate(-2deg);
  z-index: 4;
}


/* =========================
   RECENT
========================= */

.recent {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h3 {
  margin-top: 5px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.5px;
}

.section-heading > a {
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}


/* TRACKS */

.track-list {
  border-top: 1px solid var(--line);
}

.track {
  display: flex;
  align-items: center;

  min-height: 66px;
  padding: 8px 5px;

  border-bottom: 1px solid #d9ddde;

  transition: .2s;
}

.track:hover {
  background: #e9ecec;
  padding-left: 12px;
}

.track-number {
  width: 35px;

  color: #a1a8aa;
  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.track-cover {
  width: 48px;
  height: 48px;
  overflow: hidden;
  margin-right: 14px;
}

.track-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.5);
}

.track-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-info strong {
  font-weight: 500;
}

.track-info span {
  color: var(--muted);
  font-size: 10px;
}

.track-time {
  margin-left: auto;

  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 9px;
}


/* =========================
   PHOTOS
========================= */

.photos {
  margin-top: 45px;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-row > div {
  position: relative;
}

.photo-row img {
  width: 100%;
  aspect-ratio: 1 / 1.15;

  object-fit: cover;

  filter: saturate(.5);
  transition: .4s;
}

.photo-row img:hover {
  filter: saturate(.9);
  transform: translateY(-4px);
}

.photo-row span {
  display: block;

  margin-top: 6px;

  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 7px;
}


/* =========================
   RIGHT
========================= */

.right {
  border-left: 1px solid var(--line);

  padding: 28px 22px;

  display: flex;
  flex-direction: column;
  gap: 28px;
}


/* PLAYING */

.playing {
  background: var(--paper-2);
  border: 1px solid var(--line);

  padding: 17px;
}

.big-cover {
  margin-top: 17px;

  width: 100%;
  aspect-ratio: 1;

  position: relative;
  overflow: hidden;
}

.big-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: saturate(.5);
}

.blur-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.08),
      transparent 50%,
      rgba(190,205,210,.18)
    );
}

.song {
  margin-top: 16px;
}

.song h3 {
  font-size: 15px;
  font-weight: 500;
}

.song p {
  margin-top: 4px;

  color: var(--muted);
  font-size: 10px;
}

.progress {
  height: 1px;

  background: #c5ccce;

  margin-top: 23px;
}

.progress span {
  display: block;
  width: 42%;
  height: 100%;

  background: var(--text);
}

.times {
  display: flex;
  justify-content: space-between;

  margin-top: 6px;

  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 7px;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  margin-top: 17px;
}

.controls button {
  border: 0;
  background: none;

  color: #5c6569;
  cursor: pointer;
}

.controls .main-play {
  width: 32px;
  height: 32px;

  border: 1px solid #aeb6b8;
  border-radius: 50%;

  font-size: 9px;
}


/* =========================
   PLAYLISTS
========================= */

.playlist-box {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.playlist-box .tiny-label {
  display: block;
  padding: 14px 0;
}

.playlist-box a {
  display: flex;
  gap: 13px;

  padding: 11px 0;

  border-top: 1px solid #dfe2e2;

  color: #4e575b;
}

.playlist-box a span {
  color: #a2a8aa;
  font-family: "DM Mono", monospace;
  font-size: 8px;
}


/* =========================
   STATUS
========================= */

.status-box {
  padding: 17px;

  background: var(--blue);
}

.status-box > div {
  display: flex;
  justify-content: space-between;

  margin-top: 13px;

  font-family: "DM Mono", monospace;
  font-size: 9px;
}

.status-box strong {
  font-weight: 400;
}


/* OFF BUTTON */

.off-button {
  margin-top: auto;

  width: 100%;
  padding: 13px;

  border: 1px solid #b9c1c3;
  background: transparent;

  color: #697276;

  font-family: "DM Mono", monospace;
  font-size: 8px;

  cursor: pointer;

  transition: .25s;
}

.off-button:hover {
  background: var(--pink);
  color: var(--text);
}

.off-button span {
  margin-right: 6px;
}


/* =========================
   FOOTER
========================= */

footer {
  min-height: 45px;

  border-top: 1px solid var(--line);

  padding: 0 25px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #969ea1;
  font-family: "DM Mono", monospace;
  font-size: 7px;
}


/* =========================
   OFF MODE
========================= */

body.off .page {
  filter: grayscale(.9);
}

body.off .photo img,
body.off .big-cover img {
  filter: grayscale(1) blur(2px);
}

body.off .topbar,
body.off .left,
body.off .right {
  opacity: .55;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

  .layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .right {
    display: none;
  }

}

@media (max-width: 700px) {

  .page {
    width: 100%;
    margin: 0;
    border: 0;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .top-links {
    display: none;
  }

  .layout {
    display: block;
  }

  .left {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .centre {
    padding: 22px;
  }

  .hero {
    display: block;
  }

  .photo-stack {
    margin-top: 30px;
  }

  .photo-row {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    gap: 10px;
    flex-wrap: wrap;
    padding: 15px 20px;
  }

}