/* =========================================================
   /resort — Arden Hills Resort archive page
   ---------------------------------------------------------
   Heritage / memorial page. Faithful to the scraped
   WordPress page's structure (hero + athletic history +
   member events tabs + Easter Egg Hunt callout + event
   gallery + Our Story closing band), rebuilt in this app's
   design system.

   All styles scoped to .resort-page so they can't leak.
   ========================================================= */

.resort-page {
  background: var(--surface-0);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

/* Shared inner-container width (matches home + villa pages) */
.resort-hero__inner,
.resort-athletic__inner,
.resort-events__inner,
.resort-easter__inner,
.resort-story__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}
@media (min-width: 900px) {
  .resort-hero__inner,
  .resort-athletic__inner,
  .resort-events__inner,
  .resort-easter__inner,
  .resort-story__inner {
    padding-left: var(--s-7);
    padding-right: var(--s-7);
  }
}

/* Eyebrow + section heading utilities */
.resort-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-bronze-bright);
  margin: 0 0 var(--s-3);
}
.resort-section-head {
  text-align: left;
  margin-bottom: var(--s-7);
}
/* Section headings on /resort are uppercase ("ATHLETIC HISTORY",
   "MEMBER EVENTS & SOCIALS") to match the live page. The original
   WordPress theme renders these with the same serif heading font
   used elsewhere; uppercase + tight tracking + bronze accent
   keeps it editorial without shouting. */
.resort-section-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin: 0;
}

/* =========================================================
   1. Hero — resort wordmark + dates + farewell narrative
   ========================================================= */
.resort-hero {
  padding: var(--s-10) 0 var(--s-11);
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(160, 122, 68, 0.10),
      transparent 60%
    ),
    linear-gradient(180deg, var(--surface-1) 0%, var(--surface-0) 100%);
  text-align: center;
}
@media (min-width: 900px) {
  .resort-hero {
    padding: var(--s-11) 0 var(--s-11);
  }
}
.resort-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-5);
  max-width: 760px;
}
.resort-hero__logo {
  width: clamp(240px, 50vw, 460px);
  height: auto;
  filter: drop-shadow(0 6px 28px rgba(0, 0, 0, 0.5));
}
.resort-hero__dates {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-bronze-bright);
  margin: 0;
}
.resort-hero__farewell {
  /* Layout-only — typography comes from .resort-prose.
     Add top margin to separate from the wordmark + dates above. */
  margin: var(--s-7) auto 0;
}

/* =========================================================
   1b. Aerial comparison (then & now)
   Full-bleed 50/50 grid, no inner gap. Bronze bars top + bottom
   match the live site treatment.
   ========================================================= */
.resort-aerials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface-0);
  border-top: 6px solid var(--color-bronze);
  border-bottom: 6px solid var(--color-bronze);
}
.resort-aerials__item {
  margin: 0;
  overflow: hidden;
  background: #000;
}
.resort-aerials__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
@media (max-width: 720px) {
  .resort-aerials {
    grid-template-columns: 1fr;
    border-top-width: 4px;
    border-bottom-width: 4px;
  }
}

/* =========================================================
   1c. Editorial prose
   Shared long-form body style for narrative sections (Athletic
   History, Member Events body copy, Our Story). Serif, generous
   leading, drop-letter on the opening paragraph, subtle italic
   feel for <em>, and a refined <strong> that lifts proper nouns.
   ========================================================= */
.resort-prose {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(17px, 1.18vw, 19px);
  line-height: 1.78;
  letter-spacing: 0.003em;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.resort-prose p {
  margin: 0 0 var(--s-4);
}
.resort-prose p:last-child {
  margin-bottom: 0;
}
.resort-prose p + p {
  text-indent: 1.5em;
}
.resort-prose strong {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
.resort-prose em {
  font-style: italic;
  color: var(--text-primary);
}
/* Opening paragraph: first line in small caps for editorial cadence */
.resort-prose p:first-of-type::first-line {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
/* Centered variant for sections that prefer balanced ragging
   (Member Events body, Our Story). Suppress first-paragraph indent
   when centered — indents read awkwardly when content is centered. */
.resort-prose--center {
  text-align: center;
}
.resort-prose--center p + p {
  text-indent: 0;
}
/* Single-paragraph variant: render the element itself as the
   paragraph (no inner <p>) and still apply the small-caps lead. */
.resort-prose--single {
  text-indent: 0;
}
.resort-prose--single::first-line {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

/* =========================================================
   2. Athletic History
   ========================================================= */
.resort-athletic {
  padding: var(--s-11) 0;
  background: var(--surface-0);
  border-top: 1px solid rgba(160, 122, 68, 0.18);
}
.resort-athletic__body {
  /* Layout-only — typography comes from .resort-prose */
  margin: var(--s-9) auto;
}

/* =========================================================
   Embedded YouTube video — responsive 16:9 frame
   ========================================================= */
.resort-video {
  max-width: 960px;
  margin: 0 auto;
}
.resort-video__frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--surface-7);
}
.resort-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   Photo gallery — used by both Athletic + Event sections
   Masonry-feel grid via plain CSS grid with row-dense.
   ========================================================= */
.resort-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: var(--s-7);
}
@media (min-width: 600px) {
  .resort-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}
@media (min-width: 900px) {
  .resort-gallery {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1200px) {
  .resort-gallery {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (min-width: 1400px) {
  .resort-gallery {
    grid-template-columns: repeat(9, 1fr);
  }
}
.resort-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid transparent;
  position: relative;
  aspect-ratio: 1 / 1;
  transition: border-color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.resort-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}
.resort-gallery__item:hover {
  border-color: var(--color-bronze-soft);
  transform: translateY(-2px);
}
.resort-gallery__item:hover::after {
  opacity: 1;
}
.resort-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.resort-gallery__item:hover img {
  transform: scale(1.04);
}

/* =========================================================
   3. Member Events — tabbed UI
   ========================================================= */
.resort-events {
  padding: var(--s-11) 0;
  background: var(--surface-1);
  border-top: 1px solid rgba(160, 122, 68, 0.18);
  border-bottom: 1px solid rgba(160, 122, 68, 0.18);
}

.resort-events__tabs {
  margin-top: var(--s-7);
}

.resort-events__tablist {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
  margin-bottom: var(--s-6);
}
@media (min-width: 720px) {
  .resort-events__tablist {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-2);
  }
}

.resort-events__tab {
  background: var(--surface-2);
  border: 1px solid var(--surface-7);
  border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out);
  font-family: var(--font-sans);
}
.resort-events__tab:hover {
  border-color: var(--color-bronze-soft);
  color: var(--text-primary);
}
.resort-events__tab.is-active {
  background: var(--surface-3);
  border-color: var(--color-bronze);
  color: var(--text-primary);
}
.resort-events__tab-year {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-bronze-bright);
  font-weight: 500;
}
.resort-events__tab-title {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.resort-events__tab.is-active .resort-events__tab-title {
  color: var(--text-primary);
}

.resort-events__panel[hidden] {
  display: none;
}
.resort-events__panel.is-active {
  display: block;
}
/* Body paragraph that sits between the tabbed UI and the
   event-photo gallery. Matches the live page's "70 events / 5,000
   weddings" copy. */
.resort-events__body {
  /* Layout-only — typography comes from .resort-prose */
  margin: var(--s-9) auto;
}

/* =========================================================
   4. Easter Egg Hunt callout band
   ---------------------------------------------------------
   Matches the live page: a single heading with two uppercase
   text pills (each on its own line) backed by a
   semi-transparent black, sitting over a member-event photo
   background.
   ========================================================= */
.resort-easter {
  position: relative;
  min-height: clamp(420px, 56vw, 640px);
  display: flex;
  align-items: flex-end;
  padding: var(--s-9) 0 var(--s-7);
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.20) 0%,
      rgba(10, 10, 10, 0.20) 55%,
      rgba(10, 10, 10, 0.70) 100%
    ),
    url('/images/site/resort/events/Photo-Feb-18-1-33-03-PM.jpg') center/cover no-repeat;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.resort-easter__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(160, 122, 68, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
.resort-easter__inner {
  position: relative;
}
.resort-easter__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.resort-easter__pill {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  padding: 6px 22px;
  font-size: clamp(16px, 2vw, 22px);
  text-transform: uppercase;
}

/* =========================================================
   6. Our Story closing band
   ========================================================= */
.resort-story {
  padding: var(--s-11) 0;
  background:
    linear-gradient(
      180deg,
      var(--surface-1) 0%,
      var(--surface-0) 100%
    );
  border-top: 1px solid rgba(160, 122, 68, 0.18);
  text-align: center;
}
.resort-story__inner {
  max-width: 760px;
}
.resort-story__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: 0.005em;
  color: var(--text-primary);
  margin: 0 0 var(--s-5);
}
.resort-story__body {
  /* Layout-only — typography comes from .resort-prose */
  margin: var(--s-7) auto var(--s-8);
}
.resort-story__cta-prelude {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 var(--s-6);
}
.resort-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

