/* ─── Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Inter:wght@300;400;500&display=swap');

/* ─── Tokens ─── */
:root {
  --color-bg: #faf9f7;
  --color-text: #1a1a1a;
  --color-text-muted: #888;
  --color-border: #e0ddd8;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
}

/* ─── Navigation ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0 40px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: opacity 0.2s;
}

.nav__brand:hover {
  opacity: 0.65;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-text);
}

/* ─── Home ─── */
.wrapper {
  position: relative;
  width: 100%;
  height: calc(100svh - 56px);
  min-height: 540px;
  overflow: hidden;
}

.home_grid {
  display: flex;
  height: 100%;
  gap: 3px;
}

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

.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backdrop-filter: blur(6px);
  background: rgba(250, 249, 247, 0.52);
  z-index: 10;
  padding: 40px 24px;
}

.home-byline {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 20px;
}

.home-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.95;
  margin-bottom: 18px;
}

.home-tagline {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 40px;
}

.home-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-button {
  display: inline-block;
  padding: 11px 32px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  color: var(--color-text);
  transition: background 0.22s, color 0.22s;
}

.home-button:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* ─── Collections ─── */
.collections_header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}

.collections_label {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.collections_heading {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
}

.collections_intro {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 400px;
  margin-left: auto;
  padding-bottom: 4px;
}

.collections__tabs {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--color-border);
  padding: 40px 40px 0;
}

.collections__tab {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0 0 14px;
  background: none;
  border: none;
  border-bottom: 1.5px solid transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}

.collections__tab:hover {
  color: var(--color-text);
}

.collections__tab.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.collections__list {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 40px 88px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.album-card {
  display: grid;
  gap: 32px;
  align-items: end;
  cursor: pointer;
  transition: opacity 0.3s;
}

.album-card:hover {
  opacity: 0.75;
}

.album-card:nth-child(1) { grid-template-columns: 2fr 1fr; }
.album-card:nth-child(2) { grid-template-columns: 1fr 2fr; }
.album-card:nth-child(3) { grid-template-columns: 1.5fr 1fr; }
.album-card:nth-child(4) { grid-template-columns: 1fr 1.5fr; }

.album-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-border);
}

.album-card__info {
  padding-bottom: 8px;
}

.album-card__count {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.album-card__name {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 12px;
}

.album-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 360px;
}

/* ─── Album page ─── */
.album-page {
  padding-bottom: 120px;
}

.album-page__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.album-page__back:hover {
  color: var(--color-text);
}

.album-page__back svg {
  width: 12px;
  height: 12px;
}

.album-page__banner {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 72px;
}

.album-page__banner-bg {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 3px;
  align-items: stretch;
}

.album-page__banner-bg img {
  flex: 1;
  object-fit: cover;
  filter: blur(5px) brightness(0.7);
  opacity: 0.65;
  width: auto;
  height: 100%;
}

.album-page__banner-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.album-page__name {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.album-page__meta {
  text-align: right;
}

.album-page__meta-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.album-page__meta-count {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

.album-page__photos {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.photo-row {
  display: grid;
  gap: 40px;
  align-items: center;
}

.photo-row:nth-child(odd)  { grid-template-columns: 3fr 2fr; }
.photo-row:nth-child(even) { grid-template-columns: 2fr 3fr; }
.photo-row:nth-child(even) .photo-row__img { order: 2; }
.photo-row:nth-child(even) .photo-row__details { order: 1; }

.photo-row__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--color-border);
  cursor: zoom-in;
  transition: opacity 0.3s;
}

.photo-row__img:hover {
  opacity: 0.88;
}

.photo-row__number {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.photo-row__title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 14px;
}

.photo-row__desc {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ─── Photo modal ─── */
#photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(14px);
  justify-content: center;
  align-items: center;
}

#photo-modal.open {
  display: flex;
}

#photo-modal__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
  font-family: var(--font-sans);
}

#photo-modal__close:hover {
  color: #fff;
}

#photo-modal__img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
}

/* ─── About ─── */
.about {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 40px 120px;
}

.about__header {
  text-align: center;
  margin-bottom: 56px;
}

.about__label {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.about__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.about__banner {
  width: 100%;
  height: 380px;
  overflow: hidden;
  margin-bottom: 64px;
}

.about__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__section {
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.about__heading {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  margin-top: 12px;
}

.about__body {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ─── Map ─── */
#map {
  height: 56vh;
  max-height: 480px;
  width: calc(100% - 80px);
  margin: 48px 40px 72px;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
