:root {
  --ink: #000000;
  --title: #333333;
  --muted: #999999;
  --line: #eaeaea;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Karla", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Helvetica, Arial, sans-serif;
  font-weight: 400;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: 28px 40px;
  max-width: 1600px;
  margin: 0 auto;
}

.site-title a {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

nav.menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.menu a {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 0.2s ease;
}

nav.menu a:hover { opacity: 0.55; }

/* ---------- Page title block ---------- */
.page-title {
  text-align: center;
  padding: 60px 24px;
}

.page-title h2 {
  color: var(--title);
  font-size: 34px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-title .subtitle {
  display: block;
  max-width: 760px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* ---------- Gallery / carousel ---------- */
.gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 24px 80px;
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1180px;
}

.carousel-track {
  display: flex;
  gap: 25px;
  will-change: transform;
}

.album-tile {
  --h: 210;
  position: relative;
  flex: 0 0 auto;
  width: clamp(240px, 30vw, 500px);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: linear-gradient(180deg,
              hsl(var(--h) 28% 78%) 0%,
              hsl(var(--h) 24% 52%) 55%,
              hsl(var(--h) 26% 28%) 100%);
  filter: grayscale(1) brightness(0.96);
  transition: filter 0.45s ease, transform 0.45s ease;
}

/* Currently selected (centered) tile shows in colour and pops slightly */
.album-tile.active {
  filter: none;
  transform: scale(1.04);
  z-index: 1;
}

.album-tile .gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 26px 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0) 55%);
}

.album-tile .gallery-overlay h3 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Circular arrow buttons */
.nav-arrow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #000;
  background: #ffffff;
  color: #000;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-arrow:hover {
  background: #000;
  color: #fff;
}

/* ---------- About content ---------- */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 70px;
}

.content .lead {
  color: var(--muted);
  font-size: 18px;
  font-style: italic;
  text-align: center;
  margin: 0 0 40px;
}

.content h3 {
  font-size: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--title);
  margin: 44px 0 14px;
}

.content p {
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 18px;
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 24px 60px;
}

.copyright-text {
  text-align: center;
  color: var(--ink);
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { justify-content: center; }
  nav.menu ul { justify-content: center; gap: 18px; }
  .page-title h2 { font-size: 26px; }
  .album-tile { width: 78vw; }
  .nav-arrow { width: 46px; height: 46px; font-size: 18px; }
}
