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

:root {
  --text: #4c4c4c;
  --text-dark: #000;
  --text-light: #6e6e6e;
  --border: #dbdbdb;
  --bg: #fff;
  --font-body: "Rubik", sans-serif;
  --font-title: "Crimson Pro", serif;
  --font-date: "Tiny5", sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 17pt;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

p {
  margin: 0 0 1em 0;
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--text-dark);
}

.email-link-press {
  text-decoration: underline;
  color: #ff00ff;
}

b {
  font-weight: 600;
}

h1, h2, h3 {
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1em 0;
}

h2 {
  font-size: 1.65em;
  margin-bottom: 0.3em;
}

h2 .date {
  font-family: var(--font-date);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  padding-left: 10px;
  vertical-align: middle;
}

h3 {
  font-size: 0.9em;
  font-weight: 400;
}

h3 a {
  font-weight: 300;
  font-style: italic;
}

/* ── Layout ── */

.page {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ── */

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 18em;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5em;
  text-align: right;
  background: var(--bg);
  z-index: 10;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  width: 100%;
}

.sidebar nav a {
  display: block;
  position: relative;
  font-size: 0.6em;
  font-weight: normal;
  letter-spacing: 0.25em;
  line-height: 1.75;
  color: var(--text);
  padding: 1.35em 0;
  text-decoration: none;
}

.sidebar nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: #c0c0c0;
}

.sidebar nav a:hover {
  color: var(--text-dark);
}

.sidebar nav a:hover::before {
  background: var(--text-dark);
}

.sidebar nav a.active {
  color: var(--text-dark);
  font-weight: 600;
}

.sidebar nav a.active::before {
  background: var(--text-dark);
}

/* ── Main content ── */

.content {
  margin-left: 18em;
  flex: 1;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  max-width: 52em;
}

/* ── Title / glitch ── */

.main-title {
  font-family: var(--font-title);
  font-size: 6em;
  font-weight: 600;
  line-height: 1;
  display: flex;
  gap: 0.5em;
  white-space: nowrap;
  margin-bottom: 0.6em;
}

.glitch span {
  display: inline-block;
  position: relative;
}

/* ── Social icons ── */

.social-icons {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.social-icons li {
  display: inline-block;
  padding: 0 0.75em 0 0;
}

.social-icons li:last-child {
  padding-right: 0;
}

.social-icons a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.25s;
}

.social-icons a:hover {
  color: var(--text-dark);
}

.social-icons svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* ── Releases ── */

.releases-title {
  font-size: 2.75em;
  position: relative;
  padding-bottom: 0.35em;
  margin: 0 0 1.3em 0;
}

.releases-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
}

.release {
  overflow: hidden;
  margin-bottom: 3em;
}

.release:last-child {
  margin-bottom: 0;
}

.release-cover {
  float: left;
  max-width: 40%;
  margin: 0 2em 1em 0;
}

.release-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.release p {
  margin-bottom: 0.75em;
}

.quote {
  border-left: 1px dashed var(--border);
  padding: 0 0 10px 25px;
  margin: 1.5em 0;
  display: flex;
  font-weight: 300;
  font-style: italic;
}

.btn {
  display: inline-block;
  padding: 0 3.75em;
  border: 1px solid var(--border);
  font-size: 0.6em;
  font-weight: 600;
  letter-spacing: 0.25em;
  height: calc(4.75em + 2px);
  line-height: 4.75em;
  color: var(--text);
  transition: border-color 0.25s, color 0.25s;
}

.btn:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn svg {
  width: 0.6em;
  height: 0.6em;
  fill: currentColor;
  margin-left: 0.5em;
  vertical-align: middle;
}

/* ── Press ── */

#press {
  min-height: auto;
}

/* ── Footer ── */

.footer-section {
  min-height: auto;
  padding: 3em 5em;
  display: flex;
  align-items: center;
}

.footer-mark {
  color: var(--text-dark);
  font-size: 1.2em;
  letter-spacing: 0.2em;
}

/* ── Responsive ── */

@media screen and (max-width: 1680px) {
  .section {
    padding: 4em;
  }

  .footer-section {
    padding: 4em;
  }
}

@media screen and (max-width: 1280px) {
  body {
    font-size: 14pt;
  }

  .main-title {
    font-size: 5em;
  }

  .releases-title {
    font-size: 2.25em;
  }

  h2 {
    font-size: 1.4em;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 1em 4em;
    text-align: left;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background: var(--bg);
    box-shadow: 0 30px 30px #fff;
  }

  .sidebar nav {
    flex-direction: row;
    gap: 2em;
  }

  .sidebar nav a {
    padding: 0.5em 0;
  }

  .sidebar nav a::before {
    display: none;
  }

  .sidebar nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transform: scaleX(0);
    transition: transform 0.25s ease;
  }

  .sidebar nav a.active::after {
    transform: scaleX(1);
  }

  .content {
    margin-left: 0;
    padding-top: 4em;
  }

  .section {
    min-height: auto;
    opacity: 1;
    transform: none;
    padding: 3em 4em;
  }
}

@media screen and (max-width: 736px) {
  .sidebar {
    display: none;
  }

  .content {
    padding-top: 0;
  }

  body {
    font-size: 12pt;
  }

  .main-title {
    font-size: 4.5em;
  }

  .releases-title {
    font-size: 2em;
  }

  h2 {
    font-size: 1.3em;
  }

  .section {
    padding: 3em 2em 1em 2em;
  }

  .footer-section {
    padding: 2em;
  }

  .release-cover {
    float: none;
    display: block;
    max-width: 100%;
    margin: 0 0 1.5em 0;
  }
}

@media screen and (max-width: 480px) {
  .main-title {
    font-size: 4em;
  }

  body {
    font-size: 11pt;
  }

  .releases-title {
    font-size: 1.75em;
  }

  h2 {
    font-size: 1.2em;
  }

}
