.page-main {
  padding-top: 0;
}

.page-hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: var(--ink, #20221b);
  color: #fff;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 16, 0.08), rgba(20, 22, 16, 0.78));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 8rem 0 4rem;
}

.page-hero h1,
.page-heading h1 {
  margin: 0.25rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  line-height: 0.86;
  font-weight: 400;
}

.page-hero p {
  max-width: 650px;
  font-size: 1.04rem;
  line-height: 1.7;
}

.page-heading {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 3rem;
}

.page-heading > p:last-child {
  max-width: 680px;
  color: var(--muted, #67695f);
  line-height: 1.75;
}

.category-grid {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.category-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 1.5rem;
  color: #fff;
  background: #777a63;
  text-decoration: none;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 16, 0.04), rgba(20, 22, 16, 0.78));
}

.category-card:hover img {
  transform: scale(1.025);
}

.category-card-copy {
  position: relative;
  z-index: 1;
}

.category-card h2 {
  margin: 0.3rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

.category-card p {
  max-width: 470px;
  margin: 0.6rem 0 0;
  line-height: 1.55;
}

.category-card.placeholder {
  background: linear-gradient(145deg, #777a63, #303427);
}

.category-card.placeholder::after {
  background: linear-gradient(180deg, transparent, rgba(20, 22, 16, 0.4));
}

.category-card .status {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.gallery-shell {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 7rem;
}

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

.gallery-item {
  grid-column: span 6;
  margin: 0;
  background: #d7cbbb;
  overflow: hidden;
}

.gallery-item.wide {
  grid-column: span 12;
}

.gallery-item.third {
  grid-column: span 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

.gallery-item.wide img {
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.2rem 1.2rem;
  color: var(--muted, #67695f);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.empty-gallery {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 3rem;
  border: 1px solid var(--line, #d7cbbb);
  background: rgba(255, 253, 249, 0.55);
  text-align: center;
}

.empty-gallery div {
  max-width: 650px;
}

.empty-gallery h2 {
  margin: 0.4rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 400;
}

.empty-gallery p {
  color: var(--muted, #67695f);
  line-height: 1.75;
}

.page-cta {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto 7rem;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--olive-dark, #303427);
  color: #fff;
}

.page-cta h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.session-page-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 7rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.session-page-card {
  padding: 2rem;
  border: 1px solid var(--line, #d7cbbb);
  background: rgba(255, 253, 249, 0.72);
}

.session-page-card h2 {
  margin: 0.2rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 400;
}

.session-page-card .price {
  margin: 0.5rem 0 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.session-page-card ul {
  padding-left: 1.1rem;
  line-height: 1.8;
  color: var(--muted, #67695f);
}

.about-page-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-page-grid img {
  width: 100%;
  display: block;
}

.about-page-copy h1 {
  margin: 0.25rem 0 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  font-weight: 400;
}

.about-page-copy p {
  color: var(--muted, #67695f);
  line-height: 1.8;
}

.contact-page {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-page h1 {
  margin: 0.25rem 0 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.9;
  font-weight: 400;
}

.contact-page-copy > p {
  color: var(--muted, #67695f);
  line-height: 1.75;
}

.home-category-preview {
  padding-top: 6rem;
}

.home-category-preview .category-grid {
  padding-bottom: 4rem;
}

.home-category-preview .category-card {
  min-height: 360px;
}

.home-section-heading {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.home-section-heading h2 {
  margin: 0.25rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
  line-height: 0.92;
  font-weight: 400;
}

.home-featured-grid {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto 7rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.home-featured-grid figure {
  margin: 0;
  overflow: hidden;
  background: #d7cbbb;
}

.home-featured-grid img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

.home-featured-grid .stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-featured-grid .stack img {
  min-height: 270px;
}

.simple-split {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}

.simple-split h2 {
  margin: 0.25rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  font-weight: 400;
}

.simple-split p {
  color: var(--muted, #67695f);
  line-height: 1.75;
}

@media (max-width: 820px) {
  .category-grid,
  .session-page-grid,
  .about-page-grid,
  .contact-page,
  .simple-split,
  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 360px;
  }

  .gallery-item,
  .gallery-item.third,
  .gallery-item.wide {
    grid-column: span 12;
  }

  .gallery-item img {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .page-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 2rem;
  }

  .about-page-grid,
  .contact-page,
  .simple-split {
    gap: 2rem;
  }

  .home-featured-grid .stack {
    grid-template-rows: none;
  }
}

@media (max-width: 620px) {
  .page-hero {
    min-height: 68vh;
  }

  .page-hero-copy {
    padding-bottom: 2.5rem;
  }

  .category-grid,
  .gallery-shell,
  .session-page-grid {
    width: min(100% - 1rem, 1240px);
  }

  .category-card {
    min-height: 310px;
  }

  .page-heading,
  .about-page-grid,
  .contact-page,
  .simple-split,
  .home-section-heading,
  .page-cta {
    width: min(100% - 1.5rem, 1180px);
  }

  .session-page-card,
  .empty-gallery {
    padding: 1.35rem;
  }
}
