:root {
  --background-color: #faf7f2;
  --surface-color: #ffffff;
  --text-color: #2f2a26;
  --muted-color: #756f68;
  --accent-color: #b58b63;
  --accent-dark-color: #8c6848;
  --border-color: #eadfd2;
  --shadow-color: rgba(50, 40, 30, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--background-color);
  color: var(--text-color);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

.hero {
  position: relative;
  min-height: 460px;
  margin: 24px 0 32px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 48px;
  box-shadow: 0 24px 64px var(--shadow-color);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(47, 42, 38, 0.42), rgba(47, 42, 38, 0.42));
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
}

.eyebrow,
.category-date {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  font-weight: 400;
}

.subtitle {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.15rem;
  line-height: 1.6;
}

.notice {
  max-width: 800px;
  margin: 0 auto 56px;
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.notice h2,
.category h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 400;
}

.notice p {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.7;
}

.category {
  margin: 64px 0;
}

.category-header {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.category-date {
  color: var(--accent-dark-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: var(--surface-color);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 40px var(--shadow-color);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 24px 56px var(--shadow-color);
}

.card-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent-dark-color);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 400;
}

.card p {
  margin: 0;
  color: var(--muted-color);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding: 36px;
  }
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    min-height: 380px;
    padding: 28px;
    border-radius: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }
}
