@font-face { font-family: Roboto; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/roboto-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: Roboto; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/roboto-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --muted: #c1c1c1;
  --faint: #8f8f8f;
  --gutter: clamp(16px, 4vw, 56px);
  --bar-height: 64px;
  --heading: 700 clamp(20px, 2.2vw, 25px) / 1.5 Roboto, Helvetica, Arial, sans-serif;
  --heading-spacing: clamp(3px, 0.45vw, 6px);
  --label: 700 15px / 1.4 "Source Sans 3", Helvetica, Arial, sans-serif;
}

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

html { background: #000; scroll-behavior: smooth; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  color: #fff;
  font: 400 16px / 1.5 Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Bar */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--bar-height);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.25s ease;
}

.bar--stuck, .bar--open { background: #000; }

.bar__brand { display: block; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, visibility 0.25s; }
.bar__brand img { width: auto; height: 34px; }
.bar--stuck .bar__brand { visibility: visible; opacity: 1; }
.bar--open .bar__brand { visibility: hidden; opacity: 0; }

.burger {
  width: 44px;
  height: 44px;
  margin-right: -7px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 30px;
  height: 4px;
  background: currentColor;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.burger span { position: relative; margin: 0 auto; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -9px; }
.burger span::after { top: 9px; }

.bar--open .burger span { background: transparent; }
.bar--open .burger span::before { transform: translateY(9px) rotate(45deg); }
.bar--open .burger span::after { transform: translateY(-9px) rotate(-45deg); }

/* Album menu */

.menu {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: calc(var(--bar-height) + 36px) var(--gutter) 40px;
  background: #000;
  overflow-y: auto;
}

.menu[hidden] { display: none; }

.menu__list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.card a { display: block; text-decoration: none; }

.card__title {
  display: block;
  padding: 0 16px;
  background: var(--accent);
  font: var(--label);
  font-size: 18px;
  line-height: 50px;
}

.card__cover {
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 38%, #000), #070707);
}

.card__cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.15s ease; }
.card a:hover img { opacity: 0.85; }

/* Cover */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  background: linear-gradient(#1b2521, #0b100e);
}

.hero__image, .plate__image {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__image { top: -6%; height: 112%; object-position: var(--hero-position, 50% 50%); }
.plate__image { top: -10%; height: 120%; object-position: var(--cover-position, 50% 50%); }

.hero::after, .plate::after { content: ""; position: absolute; inset: 0; }
.plate::after { background: rgba(0, 0, 0, 0.6); }

.hero::after {
  background: linear-gradient(
    rgba(16, 20, 26, 0.5) 0%,
    rgba(16, 20, 26, 0.36) 34%,
    rgba(16, 20, 26, 0.06) 58%,
    rgba(16, 20, 26, 0.1) 82%,
    rgba(16, 20, 26, 0.42) 100%
  );
}

.hero__inner {
  position: absolute;
  top: 26%;
  left: 0;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter);
  text-align: center;
  transform: translateY(-50%);
}

.hero__name { display: inline-block; width: min(max(640px, 34vw), 100%, 125vh); }

.signature { display: block; width: 100%; height: auto; }

.signature path {
  fill: rgba(255, 255, 255, 0);
  stroke: none;
  stroke-dasharray: 1;
  animation: write 3s cubic-bezier(0, 0.23, 1, 0.1) var(--delay) forwards;
}

@keyframes write {
  0% { stroke: #fff; fill: rgba(255, 255, 255, 0); stroke-dashoffset: 1; }
  10% { fill: rgba(255, 255, 255, 0); stroke-dashoffset: 1; }
  90% { fill: rgba(255, 255, 255, 0.5); }
  100% { stroke: #fff; fill: #fff; stroke-dashoffset: 0; }
}

.hero__tagline {
  margin: 20px 0 0;
  font: 700 clamp(18px, 0.94vw, 28px) / 1.3 "Source Sans 3", Helvetica, Arial, sans-serif;
  letter-spacing: clamp(3px, 1.2vw, 0.33em);
  animation: rise 1s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero__arrow {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 34px;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  padding: 14px 8px;
  animation: float 1.6s ease-in-out infinite;
}

.hero__arrow svg { display: block; width: 100%; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Albums */

.plates { display: grid; gap: 92px; padding-block: 92px; scroll-margin-top: var(--bar-height); }

.plate {
  position: relative;
  overflow: hidden;
  padding: 124px var(--gutter);
  text-align: center;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 46%, #000), #060606 78%);
}

.plate__content { position: relative; z-index: 1; }

.plate__title { margin: 0; font: var(--heading); letter-spacing: var(--heading-spacing); }

.plate__text {
  max-width: 34em;
  margin: 26px auto 30px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  font-style: italic;
  line-height: 1.4;
}

.button {
  display: inline-block;
  padding: 18px 36px;
  background: var(--accent);
  font: 700 12px / 16px "Roboto Condensed", Helvetica, Arial, sans-serif;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.button:hover { filter: brightness(1.18); }

/* Album page */

.album { max-width: 1520px; margin: 0 auto; padding: calc(var(--bar-height) + 32px) var(--gutter) 40px; }

.album__head { margin-bottom: 36px; }
.album__title { margin: 0; font: var(--heading); letter-spacing: var(--heading-spacing); }
.album__location { margin: 2px 0 0; color: var(--faint); font-size: 18px; }
.album__intro { margin: 14px 0 0; color: var(--muted); font-size: 18px; font-style: italic; }

.album__works { display: grid; gap: 64px; }

.work { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; margin: 0; }
.work img { width: 100%; height: auto; background: #101010; }

.work__text { position: sticky; top: calc(var(--bar-height) + 32px); align-self: start; color: var(--muted); }
.work__text p { max-width: 27em; margin: 12px 0 0; font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.work__text .work__place { margin-top: 2px; color: var(--faint); }

.work__title { margin: 0; color: #fff; font: var(--label); letter-spacing: 0.04em; text-transform: uppercase; }

/* Footer */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 0 var(--gutter) 44px;
  color: var(--faint);
  font-size: 14px;
}

.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }

@media (max-aspect-ratio: 1/1) {
  .hero__image { object-position: 50% 50%; }
}

@media (max-width: 1120px) {
  .album__works { gap: 48px; }
  .work { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .work__text { position: static; }
}

@media (max-width: 700px) {
  .menu__list { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .card__title { font-size: 16px; line-height: 44px; }
  .plates { gap: 56px; padding-block: 56px; }
  .plate { padding-block: 84px; }
  .bar__brand img { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signature path { animation: none; fill: #fff; stroke: #fff; }
  .hero__tagline, .hero__arrow { animation: none; }
}
