/* ==========================================================================
   Royal Heights Inc. | Mockup 09: "Hearth & Neighbours"
   Warm Photo-First Community Scrapbook & Storytelling Album
   ========================================================================== */

:root {
  --bg-cream: #FDF8F0;
  --bg-sand: #F5EBDC;
  --bg-paper: #FFFDF9;
  --navy: #222755;
  --navy-deep: #171B3E;
  --navy-soft: #313870;
  --marigold: #E5A92D;
  --marigold-deep: #C98E17;
  --marigold-soft: #F9E7BE;
  --terracotta: #C4633B;
  --terracotta-dark: #A44D29;
  --terracotta-soft: #F7E1D7;
  --ink: #232433;
  --ink-muted: #505368;
  --border-warm: #E5D6BF;
  --shadow-album: 0 14px 32px rgba(34, 39, 85, 0.11), 0 3px 8px rgba(34, 39, 85, 0.06);
  --shadow-card: 0 10px 26px rgba(34, 39, 85, 0.07);
  --shadow-lift: 0 20px 42px rgba(34, 39, 85, 0.15);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
}

/* Base & Accessibility Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg-cream);
  background-image:
    radial-gradient(rgba(196, 99, 59, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(34, 39, 85, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--terracotta);
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 2000;
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.2rem, var(--max-width));
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin-top: 0;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.lead {
  font-size: 1.16rem;
  line-height: 1.72;
  color: var(--ink-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--terracotta);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2.5px;
  background: var(--marigold);
  border-radius: 99px;
}

.eyebrow--light {
  color: var(--marigold-soft);
}

.eyebrow--light::before {
  background: var(--marigold);
}

/* Top Welcome Bar */
.top-ribbon {
  background: var(--navy);
  color: #F7F1E5;
  font-size: 0.92rem;
  padding: 0.55rem 0;
  border-bottom: 2px solid rgba(229, 169, 45, 0.4);
}

.top-ribbon__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
}

.top-ribbon__address {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0.95;
}

.top-ribbon__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.2rem;
}

.top-ribbon a {
  color: var(--marigold-soft);
  text-decoration: none;
  font-weight: 700;
}

.top-ribbon a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Sticky Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(253, 248, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-warm);
  box-shadow: 0 4px 18px rgba(34, 39, 85, 0.05);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-lockup img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-lockup__name {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--navy);
}

.brand-lockup__sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.primary-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}

.primary-nav a:hover {
  background: var(--bg-sand);
  color: var(--navy);
}

.primary-nav a[aria-current="page"] {
  background: var(--navy);
  color: #FFFDF9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--bg-sand);
  color: var(--navy);
  border: 1.5px solid var(--border-warm);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--terracotta);
  color: #FFFDF9;
  box-shadow: 0 8px 20px rgba(196, 99, 59, 0.28);
}

.btn--primary:hover {
  background: var(--terracotta-dark);
  color: #FFFDF9;
  box-shadow: 0 12px 24px rgba(164, 77, 41, 0.34);
}

.btn--navy {
  background: var(--navy);
  color: #FFFDF9;
  box-shadow: 0 8px 20px rgba(34, 39, 85, 0.22);
}

.btn--navy:hover {
  background: var(--navy-soft);
  color: #FFFDF9;
}

.btn--gold {
  background: var(--marigold);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(229, 169, 45, 0.3);
}

.btn--gold:hover {
  background: #F0B83F;
  color: var(--navy-deep);
}

.btn--outline {
  background: var(--bg-paper);
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #FFFDF9;
}

.btn--outline-light {
  background: transparent;
  color: #FFFDF9;
  border-color: rgba(255, 253, 249, 0.72);
}

.btn--outline-light:hover {
  background: #FFFDF9;
  color: var(--navy);
}

.btn--sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.94rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Wavy Section Dividers */
.wave-divider {
  display: block;
  width: 100%;
  height: 54px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Sections & Surface Alternation */
.section {
  padding: clamp(3.6rem, 6vw, 5.4rem) 0;
  position: relative;
}

.section--sand {
  background-color: var(--bg-sand);
}

.section--paper {
  background-color: var(--bg-paper);
}

.section--navy {
  background-color: var(--navy);
  color: #F7F2E7;
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #FFFDF9;
}

.section--navy .lead,
.section--navy p {
  color: rgba(247, 242, 231, 0.9);
}

.section-header {
  max-width: 760px;
  margin-bottom: clamp(2.1rem, 4vw, 3.1rem);
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header--center .eyebrow {
  justify-content: center;
}

.section-header--center .eyebrow::after {
  content: "";
  width: 24px;
  height: 2.5px;
  background: var(--marigold);
  border-radius: 99px;
}

/* ==========================================================================
   Signature Scrapbook Photo Frames & Polaroid Prints
   ========================================================================== */
.album-frame {
  position: relative;
  background: #FFFFFF;
  padding: 12px 12px 16px;
  border-radius: 6px;
  box-shadow: var(--shadow-album);
  border: 1px solid rgba(229, 214, 191, 0.85);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.album-frame--tall img {
  aspect-ratio: 4 / 4.6;
}

.album-frame--wide img {
  aspect-ratio: 16 / 10;
}

.album-frame__caption {
  padding: 0.78rem 0.45rem 0.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.03rem;
  line-height: 1.38;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}

.album-frame__tag {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
  flex-shrink: 0;
}

.album-frame--tape::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 84px;
  height: 22px;
  background: rgba(247, 223, 164, 0.78);
  border: 1px solid rgba(201, 142, 23, 0.25);
  box-shadow: 0 2px 4px rgba(34, 39, 85, 0.08);
  z-index: 3;
}

.tilt-left {
  transform: rotate(-1.6deg);
}

.tilt-right {
  transform: rotate(1.5deg);
}

.tilt-left:hover,
.tilt-right:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* ==========================================================================
   Hero Collage (Home Page)
   ========================================================================== */
.hero-scrapbook {
  padding: clamp(2.8rem, 5vw, 4.4rem) 0 clamp(3.4rem, 5vw, 4.8rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(229, 169, 45, 0.17), transparent 44%),
    radial-gradient(circle at 12% 85%, rgba(196, 99, 59, 0.09), transparent 40%),
    var(--bg-cream);
  overflow: hidden;
}

.hero-scrapbook__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 4.5vw, 4rem);
  align-items: center;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.85rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 3px 10px rgba(34, 39, 85, 0.05);
}

.hero-pill strong {
  color: var(--terracotta);
}

/* Multi-Photo Hero Collage */
.hero-collage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  padding: 1.2rem 0.5rem;
}

.hero-collage__main {
  width: 78%;
  z-index: 2;
  transform: rotate(-1.2deg);
}

.hero-collage__main img {
  aspect-ratio: 4 / 3.3;
}

.hero-collage__inset-top {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  z-index: 3;
  transform: rotate(3.2deg);
  padding: 9px 9px 11px;
}

.hero-collage__inset-top img {
  aspect-ratio: 4 / 3;
}

.hero-collage__inset-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 47%;
  z-index: 4;
  transform: rotate(-3deg);
  padding: 9px 9px 12px;
}

.hero-collage__inset-bottom img {
  aspect-ratio: 4 / 2.9;
}

.hero-collage__badge {
  position: absolute;
  bottom: 26px;
  right: 12px;
  z-index: 5;
  background: var(--navy);
  color: #FFFDF9;
  border: 3px solid var(--marigold);
  border-radius: 16px;
  padding: 0.8rem 1.05rem;
  box-shadow: 0 12px 26px rgba(23, 27, 62, 0.28);
  text-align: center;
  transform: rotate(2deg);
}

.hero-collage__badge-price {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--marigold);
  line-height: 1.08;
}

.hero-collage__badge-note {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  opacity: 0.95;
}

/* Interior Page Hero */
.page-hero {
  background:
    radial-gradient(circle at 86% 24%, rgba(229, 169, 45, 0.16), transparent 42%),
    var(--bg-sand);
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 clamp(2.8rem, 4.5vw, 3.8rem);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.breadcrumb a {
  text-decoration: none;
  color: var(--terracotta);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Story Two-Column & Feature Grids
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.split-grid--reverse > :first-child {
  order: 2;
}

.photo-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 1.15rem;
  align-items: start;
}

.photo-stack > :nth-child(2) {
  margin-top: 2.6rem;
}

.warm-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 1.8rem;
  display: grid;
  gap: 0.8rem;
}

.warm-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.warm-list__dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--marigold-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Cards */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.45rem;
}

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

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

.suite-card {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.suite-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.suite-card__media {
  position: relative;
  padding: 12px 12px 0;
  background: #FFFFFF;
}

.suite-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: 10px;
}

.suite-card__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: var(--navy);
  color: var(--marigold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(23, 27, 62, 0.24);
}

.suite-card__badge--popular {
  background: var(--terracotta);
  color: #FFFDF9;
}

.suite-card__body {
  padding: 1.4rem 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.suite-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.spec-chip {
  background: var(--bg-sand);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
}

.suite-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-warm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Rate Banner Strip */
.rate-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #2D3470 100%);
  color: #FFFDF9;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
  box-shadow: var(--shadow-album);
  margin-bottom: 2.3rem;
  border: 2px solid rgba(229, 169, 45, 0.45);
}

.rate-banner__price {
  background: rgba(255, 253, 249, 0.1);
  border: 1.5px solid var(--marigold);
  border-radius: 16px;
  padding: 0.95rem 1.35rem;
  text-align: center;
}

.rate-banner__price span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--marigold-soft);
  font-weight: 800;
}

.rate-banner__price strong {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: var(--marigold);
  line-height: 1.1;
}

.rate-banner h3 {
  color: #FFFDF9;
  margin-bottom: 0.35rem;
}

.rate-banner p {
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.9);
}

/* ==========================================================================
   Pets of Royal Heights Spotlight
   ========================================================================== */
.pets-spotlight {
  background: var(--bg-paper);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pets-spotlight::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(229, 169, 45, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.pet-note {
  background: var(--bg-cream);
  border-left: 4px solid var(--marigold);
  padding: 1rem 1.25rem;
  border-radius: 0 12px 12px 0;
  margin: 1.25rem 0 1.45rem;
}

.pet-note strong {
  color: var(--navy);
}

/* ==========================================================================
   Resident Quote Postcards
   ========================================================================== */
.postcards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
}

.postcard {
  background: #FFFDF9;
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: var(--shadow-album);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: linear-gradient(180deg, rgba(245, 235, 220, 0.28) 0%, transparent 90px);
}

.postcard__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1.5px dashed var(--border-warm);
}

.postcard__postmark {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

.postcard__stamp {
  width: 52px;
  height: 58px;
  border: 2px dashed var(--navy);
  background: var(--marigold-soft);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.15;
  text-align: center;
  flex-shrink: 0;
}

.postcard__quote {
  font-family: var(--font-serif);
  font-size: 1.16rem;
  line-height: 1.62;
  color: var(--ink);
  margin: 0 0 1.3rem;
}

.postcard__author {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-warm);
}

.postcard__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.postcard__meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Interactive Photo Album Filter & Lightbox (Clubs & Gatherings)
   ========================================================================== */
.album-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-pill {
  background: var(--bg-cream);
  color: var(--navy);
  border: 1.5px solid var(--border-warm);
  border-radius: 999px;
  padding: 0.52rem 1.05rem;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.filter-pill:hover {
  background: var(--bg-sand);
  border-color: var(--navy);
}

.filter-pill.is-active,
.filter-pill[aria-pressed="true"] {
  background: var(--navy);
  color: #FFFDF9;
  border-color: var(--navy);
}

.album-count {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--terracotta);
  white-space: nowrap;
}

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

.scrapbook-item {
  background: #FFFFFF;
  padding: 11px 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-album);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
  position: relative;
}

.scrapbook-item:nth-child(3n + 1) {
  transform: rotate(-0.85deg);
}

.scrapbook-item:nth-child(3n + 2) {
  transform: rotate(0.75deg);
}

.scrapbook-item:nth-child(3n) {
  transform: rotate(-0.55deg);
}

.scrapbook-item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: var(--shadow-lift);
  z-index: 2;
}

.scrapbook-item[hidden] {
  display: none;
}

.scrapbook-item__photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.scrapbook-item__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.scrapbook-item:hover .scrapbook-item__photo img {
  transform: scale(1.04);
}

.scrapbook-item__zoom {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(34, 39, 85, 0.88);
  color: #FFFDF9;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.scrapbook-item__meta {
  padding: 0.85rem 0.35rem 0.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scrapbook-item__cat {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
}

.scrapbook-item__title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.28;
}

.scrapbook-item__desc {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Bulletin Board (Typical Week) */
.bulletin-board {
  background: var(--bg-paper);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.7rem);
  box-shadow: var(--shadow-card);
}

.bulletin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.bulletin-note {
  background: var(--bg-cream);
  border: 1px solid var(--border-warm);
  border-top: 4px solid var(--marigold);
  border-radius: 12px;
  padding: 1.15rem 1.2rem;
}

.bulletin-note--terra {
  border-top-color: var(--terracotta);
}

.bulletin-note--navy {
  border-top-color: var(--navy);
}

.bulletin-note h3 {
  font-size: 1.18rem;
  margin-bottom: 0.4rem;
}

.bulletin-note p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Safety, Ledger & Neighbourhood Cards
   ========================================================================== */
.ledger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.7rem;
}

.ledger-card {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
}

.ledger-card--highlight {
  border-color: var(--marigold);
  background: linear-gradient(180deg, #FFFDF9 0%, #FDF6E6 100%);
}

.feature-card {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg-sand);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

.distance-card {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  box-shadow: 0 5px 14px rgba(34, 39, 85, 0.05);
}

.distance-card__place {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.distance-card__time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--terracotta);
  background: var(--terracotta-soft);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.distance-card p {
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 0;
}

.family-letter {
  background: var(--bg-paper);
  border: 2px solid var(--marigold);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-album);
  max-width: 920px;
  margin-inline: auto;
}

/* ==========================================================================
   Forms, Family Member Toggle & FAQ Accordion
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr);
  gap: 2.2rem;
  align-items: start;
}

.form-panel {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-album);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  margin-bottom: 1.05rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: #FFFFFF;
  border: 1.5px solid #D5C5AC;
  border-radius: 12px;
  padding: 0.78rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(34, 39, 85, 0.14);
}

/* Toggle Switch */
.toggle-box {
  background: var(--bg-cream);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.toggle-switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #D4C5AE;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  top: 4px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--terracotta);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:focus-visible + .toggle-slider {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.family-extra-fields {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-warm);
}

.form-confirmation {
  background: #F1F8F2;
  border: 2px solid #4E8B5F;
  border-radius: 16px;
  padding: 1.5rem;
  color: #1F4129;
}

.form-confirmation h3 {
  color: #1F4129;
}

/* Info Sidebar Card */
.visit-card {
  background: var(--navy);
  color: #FFFDF9;
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-album);
}

.visit-card h3 {
  color: #FFFDF9;
}

.visit-card a {
  color: var(--marigold-soft);
  font-weight: 700;
}

.visit-card__phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--marigold) !important;
  margin: 0.2rem 0 0.7rem;
}

.visit-card__divider {
  border: 0;
  border-top: 1px solid rgba(255, 253, 249, 0.18);
  margin: 1.25rem 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--bg-paper);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(34, 39, 85, 0.04);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.2rem 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.faq-trigger:hover {
  background: rgba(245, 235, 220, 0.45);
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-sand);
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--terracotta);
  color: #FFFDF9;
}

.faq-panel {
  padding: 0 1.45rem 1.3rem;
  color: var(--ink-muted);
}

.faq-panel[hidden] {
  display: none;
}

/* ==========================================================================
   Invitation CTA Band & Footer
   ========================================================================== */
.invite-card {
  background: linear-gradient(135deg, #222755 0%, #2E346E 100%);
  color: #FFFDF9;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4.5vw, 3.4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.2rem;
  align-items: center;
  box-shadow: var(--shadow-lift);
  border: 2px solid rgba(229, 169, 45, 0.42);
}

.invite-card h2 {
  color: #FFFDF9;
}

.invite-card p {
  color: rgba(255, 253, 249, 0.9);
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 242, 231, 0.88);
  padding: 3.8rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 253, 249, 0.14);
}

.footer-brand img {
  width: 72px;
  height: 72px;
  margin-bottom: 0.9rem;
}

.site-footer h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--marigold-soft);
  margin-bottom: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(247, 242, 231, 0.9);
  text-decoration: none;
  font-size: 0.98rem;
}

.footer-links a:hover {
  color: var(--marigold);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(247, 242, 231, 0.74);
}

/* ==========================================================================
   Modals (Tour Booking Modal & Lightbox Photo Viewer)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 27, 62, 0.76);
  backdrop-filter: blur(5px);
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  overflow-y: auto;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  background: var(--bg-paper);
  border: 2px solid var(--border-warm);
  border-radius: var(--radius-lg);
  width: min(100%, 620px);
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(1.5rem, 3.2vw, 2.3rem);
  position: relative;
  box-shadow: 0 28px 60px rgba(10, 12, 32, 0.45);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-warm);
  background: var(--bg-cream);
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--navy);
  color: #FFFDF9;
}

/* Lightbox */
.lightbox-dialog {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 16px 16px 20px;
  width: min(100%, 860px);
  position: relative;
  box-shadow: 0 30px 70px rgba(8, 10, 26, 0.55);
}

.lightbox-stage {
  position: relative;
  background: #14172F;
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-stage img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  margin-inline: auto;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(34, 39, 85, 0.82);
  color: #FFFDF9;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--terracotta);
}

.lightbox-nav--prev {
  left: 12px;
}

.lightbox-nav--next {
  right: 12px;
}

.lightbox-caption {
  padding: 1rem 0.5rem 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
}

.lightbox-caption h3 {
  margin-bottom: 0.25rem;
}

.lightbox-caption p {
  margin-bottom: 0;
  color: var(--ink-muted);
}

.lightbox-counter {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--terracotta);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1060px) {
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-paper);
    border-bottom: 2px solid var(--border-warm);
    padding: 1rem 1.4rem 1.4rem;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 18px 34px rgba(34, 39, 85, 0.14);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.8rem 1rem;
    border-radius: 12px;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-scrapbook__grid,
  .page-hero__grid,
  .split-grid,
  .pets-spotlight,
  .invite-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-grid--reverse > :first-child {
    order: 0;
  }

  .rate-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .card-grid-4,
  .card-grid-3,
  .postcards-grid,
  .scrapbook-grid,
  .bulletin-grid,
  .distance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .header-actions .btn--header-tour {
    display: none;
  }

  .hero-collage {
    min-height: 390px;
  }

  .hero-collage__main {
    width: 88%;
  }

  .hero-collage__inset-top,
  .hero-collage__inset-bottom {
    width: 48%;
  }

  .hero-collage__badge {
    bottom: 8px;
    right: 4px;
    padding: 0.55rem 0.8rem;
  }

  .card-grid-4,
  .card-grid-3,
  .card-grid-2,
  .postcards-grid,
  .scrapbook-grid,
  .bulletin-grid,
  .ledger-grid,
  .distance-grid,
  .form-grid,
  .footer-grid,
  .photo-stack {
    grid-template-columns: 1fr;
  }

  .photo-stack > :nth-child(2) {
    margin-top: 0;
  }

  .scrapbook-item:nth-child(n) {
    transform: none;
  }
}
