:root {
  --bg: #f6f0ea;
  --bg-soft: rgba(255, 255, 255, 0.58);
  --text: #2f4555;
  --muted: #5f7480;
  --line: rgba(94, 113, 124, 0.18);
  --gold: #b79655;
  --shadow: 0 24px 60px rgba(72, 90, 100, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(190, 168, 133, 0.2), transparent 28%),
    linear-gradient(180deg, #fbf7f2 0%, #f4ede6 100%);
}

img {
  display: block;
  max-width: 100%;
}

code {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
}

.page-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem;
}

.hero-mark,
.panel {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-mark {
  padding: 1.5rem;
}

.hero-mark img {
  border-radius: 20px;
}

.eyebrow,
.section-label {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1,
.panel h2 {
  margin: 0;
  font-weight: 400;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
}

.intro,
.panel p,
.gallery-note,
.gallery-card figcaption,
.gallery-placeholder span {
  font-family: "Trebuchet MS", "Gill Sans", sans-serif;
  line-height: 1.7;
  color: var(--muted);
}

.intro {
  max-width: 36rem;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
}

main {
  display: grid;
  gap: 1.5rem;
}

.panel {
  padding: 2rem;
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.gallery-note {
  max-width: 24rem;
  margin: 0;
  text-align: right;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card,
.gallery-placeholder {
  margin: 0;
  padding: 0.8rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(94, 113, 124, 0.14);
}

.gallery-card img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.gallery-card figcaption {
  padding: 0.85rem 0.3rem 0.15rem;
  font-size: 0.95rem;
}

.gallery-placeholder {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
}

.gallery-placeholder p {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: var(--text);
}

@media (max-width: 840px) {
  .hero,
  .story {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .gallery-note {
    text-align: left;
  }

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

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 1rem, 1080px);
    padding-top: 1rem;
  }

  .hero,
  .panel {
    padding: 1.25rem;
  }

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