:root {
  --green-950: #06180f;
  --green-900: #0b2a1b;
  --green-800: #183c27;
  --green-100: #eaf1e8;
  --gold-700: #8d5f19;
  --gold-600: #b98224;
  --gold-500: #d6a345;
  --gold-100: #fbf0d7;
  --ink: #172118;
  --muted: #5f6d60;
  --paper: #fffdf6;
  --soft: #f6f0e2;
  --line: rgba(11, 42, 27, 0.16);
  --shadow: 0 18px 45px rgba(11, 42, 27, 0.13);
  --radius: 8px;
  --header-height: 76px;
  --footer-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body.slide-mode {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  background: var(--green-900);
  color: white;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: #cdd5ca;
  box-shadow: 0 10px 28px rgba(48, 72, 48, 0.1);
  backdrop-filter: blur(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(214, 163, 69, 0.72), rgba(185, 130, 36, 0.88), rgba(214, 163, 69, 0.72), transparent);
  content: "";
}

.site-header::after {
  bottom: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--green-950);
  white-space: nowrap;
}

.brand img {
  width: 66px;
  height: 66px;
  border: 0;
  background: transparent;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
}

.nav-group {
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.62rem 0.68rem;
  border-radius: var(--radius);
  color: var(--green-950);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 253, 246, 0.42);
  outline: none;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  display: grid;
  min-width: 210px;
  padding: 0.45rem;
  border: 1px solid rgba(214, 163, 69, 0.28);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu a {
  justify-content: flex-start;
  min-height: 38px;
  color: var(--green-900);
  font-size: 0.84rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--green-900);
}

.section-panel {
  position: relative;
  display: grid;
  align-content: center;
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  height: calc(100vh - var(--header-height) - var(--footer-height));
  overflow-y: auto;
  scroll-margin-top: 92px;
  padding: clamp(3rem, 6vw, 5.8rem) max(1rem, calc((100vw - 1180px) / 2));
}

.section-panel[hidden] {
  display: none !important;
}

.section-panel.is-active-slide {
  display: grid;
}

.hero {
  position: relative;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(90deg, rgba(255, 253, 246, 0.98) 0%, rgba(255, 253, 246, 0.9) 42%, rgba(255, 253, 246, 0.28) 100%),
    url("../images/brand/homepage-logo-background.jpg") center right 8% / min(54vw, 580px) no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 163, 69, 0.55), transparent);
  content: "";
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--green-950);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  font-family: "Bodoni 72 Display", Didot, "Baskerville", "Times New Roman", serif;
  font-size: 5.25rem;
  font-weight: 700;
  line-height: 0.95;
  white-space: nowrap;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.motto {
  margin: 1rem 0 0;
  color: var(--green-800);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.hero-copy {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--green-900);
  border-color: rgba(214, 163, 69, 0.55);
  color: white;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--green-950);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 253, 246, 0.84);
  color: var(--green-900);
}

.instagram-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  min-height: 48px;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(214, 163, 69, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.9);
  color: var(--green-950);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(11, 42, 27, 0.09);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.instagram-home-link:hover,
.instagram-home-link:focus-visible {
  background: rgba(234, 241, 232, 0.96);
  border-color: var(--gold-500);
  outline: none;
  transform: translateY(-2px);
}

.instagram-home-link svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: white;
  stroke-width: 1.75;
}

.instagram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 18%, #fa7e1e 34%, transparent 48%),
    radial-gradient(circle at 72% 12%, #833ab4 0 22%, transparent 40%),
    linear-gradient(135deg, #405de6 0%, #5851db 25%, #c13584 52%, #e1306c 72%, #fd1d1d 100%);
  box-shadow: 0 8px 16px rgba(193, 53, 132, 0.2);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(3rem, 8vw, 6rem);
}

.hero-notes span,
.rental-list span,
.partner-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.64rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.88);
  color: var(--green-800);
  font-weight: 800;
}

.intro-band,
.reviews-band,
.faq-band {
  background: var(--soft);
}

.rentals-band {
  background: var(--paper);
  color: var(--ink);
}

.booking-band {
  background:
    linear-gradient(135deg, rgba(214, 163, 69, 0.08), transparent 40%),
    var(--paper);
  color: var(--ink);
}

.rentals-band h2,
.booking-band h2,
.rentals-band .eyebrow,
.booking-band .eyebrow {
  color: var(--green-950);
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.booking-band,
.contact-band,
.reviews-band {
  align-content: start;
}

.section-heading p:not(.eyebrow) {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.booking-band .section-heading p:not(.eyebrow),
.rentals-band .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 4vw, 3rem);
  max-width: 980px;
  color: var(--muted);
  font-size: 1.08rem;
}

.two-column p {
  margin: 0;
}

.services-slide {
  position: relative;
  align-content: space-between;
  row-gap: clamp(0.65rem, 1.6vh, 1rem);
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  scroll-margin-top: 92px;
  padding-top: clamp(0.7rem, 1.6vh, 1.1rem);
  padding-bottom: clamp(1rem, 2vh, 1.4rem);
  background: var(--paper);
}

.services-slide .section-heading {
  gap: 0.55rem;
  margin-bottom: 0;
}

.services-slide h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
}

.services-slide .section-heading p:not(.eyebrow) {
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

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

.services-slide .event-service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}

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

.event-service,
.testimonial {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.event-service {
  display: flex;
  align-items: center;
  min-height: 90px;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.services-slide .event-service {
  min-height: clamp(58px, 7.2vh, 76px);
  padding: clamp(0.68rem, 1.3vw, 0.92rem);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.event-service:nth-child(8n + 1),
.event-service:nth-child(8n + 2),
.event-service:nth-child(8n + 3),
.event-service:nth-child(8n + 4) {
  border-color: rgba(48, 72, 48, 0.22);
  background: #cdd5ca;
}

.event-service:nth-child(8n + 5),
.event-service:nth-child(8n + 6),
.event-service:nth-child(8n + 7),
.event-service:nth-child(8n + 8) {
  border-color: rgba(185, 130, 36, 0.32);
  background: #fbf0d7;
}

.testimonial blockquote,
.testimonial figcaption,
.process p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.event-service:hover {
  border-color: rgba(214, 163, 69, 0.55);
  transform: translateY(-4px);
}

.event-service,
.gallery-tile,
.testimonial {
  transition: transform 220ms ease, border-color 220ms ease;
}

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

.services-slide .process {
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  margin-top: 0;
}

.process div {
  padding: 1.2rem;
  border: 1px solid rgba(214, 163, 69, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--gold-100), var(--green-100));
}

.services-slide .process div {
  padding: clamp(0.78rem, 1.5vw, 1rem);
}

.process strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.services-slide .process strong {
  margin-bottom: 0.35rem;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
}

.services-slide .process p {
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.45;
}

.rental-list,
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.rentals-band .rental-list span {
  border-color: rgba(185, 130, 36, 0.28);
  background: rgba(255, 253, 246, 0.72);
  color: var(--green-900);
}

#gallery {
  align-content: start;
  grid-template-rows: auto minmax(0, 1fr);
  row-gap: clamp(0.75rem, 1.5vw, 1.1rem);
  padding-top: clamp(0.55rem, 1.4vw, 1rem);
  padding-bottom: clamp(0.55rem, 1.4vw, 1rem);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1rem;
  align-items: end;
  margin-bottom: 0;
}

.gallery-heading .section-heading {
  gap: 0.45rem;
  margin-bottom: 0;
}

.gallery-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.gallery-heading .section-heading p:not(.eyebrow) {
  max-width: 760px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.gallery-filter {
  position: relative;
  display: grid;
  justify-self: end;
  width: min(280px, 100%);
  gap: 0.45rem;
}

.gallery-filter label {
  color: var(--gold-700);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-filter select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 3rem 0.7rem 0.9rem;
  border: 1px solid rgba(185, 130, 36, 0.38);
  border-radius: var(--radius);
  appearance: none;
  background:
    linear-gradient(135deg, rgba(214, 163, 69, 0.16), transparent 42%),
    white;
  color: var(--green-900);
  font: 800 0.95rem/1.2 Arial, Helvetica, sans-serif;
  box-shadow: 0 12px 28px rgba(11, 42, 27, 0.08);
}

.gallery-filter::after {
  position: absolute;
  right: 1rem;
  bottom: 1.05rem;
  width: 0;
  height: 0;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  border-top: 10px solid var(--gold-700);
  content: "";
  pointer-events: none;
}

.gallery-filter select:focus {
  outline: 3px solid rgba(214, 163, 69, 0.28);
  outline-offset: 3px;
}

.gallery-grid {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(108px, 14vh);
  grid-auto-flow: dense;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  min-height: 0;
}

.gallery-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #cdd5ca;
  text-align: left;
}

.gallery-tile::before {
  position: absolute;
  inset: 1rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.55);
  content: "";
}

.gallery-tile.real-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  content: "";
}

.gallery-tile.real-photo {
  border: 0;
  cursor: zoom-in;
}

.gallery-tile.real-photo.is-portrait {
  aspect-ratio: 3 / 4;
  grid-row: span 2;
  min-height: 0;
}

.gallery-tile.real-photo.is-portrait img {
  object-fit: contain;
}

.gallery-tile.real-photo.backstage-photo-10.is-portrait {
  aspect-ratio: auto;
  grid-row: span 1;
  min-height: 0;
}

.gallery-tile.real-photo.backstage-photo-10.is-portrait img {
  object-fit: cover;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo {
  background: transparent;
}

.gallery-grid[data-gallery-view="backstage"] {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: minmax(92px, 12vh);
  gap: clamp(0.55rem, 1vw, 0.8rem);
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo {
  min-height: 0;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo.is-portrait {
  min-height: 0;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo.is-portrait img {
  object-fit: cover;
}

.gallery-grid[data-gallery-view="backstage"] .backstage-spacing-3,
.gallery-grid[data-gallery-view="backstage"] .backstage-spacing-4,
.gallery-grid[data-gallery-view="backstage"] .backstage-spacing-5,
.gallery-grid[data-gallery-view="backstage"] .backstage-spacing-6 {
  margin: clamp(0.18rem, 0.55vw, 0.38rem);
}

.gallery-grid[data-gallery-view="backstage"],
.gallery-grid[data-gallery-view="housewarming"] {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.75rem, 1.15vw, 1rem);
  grid-template-columns: none;
  grid-auto-rows: auto;
  overflow-y: auto;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo,
.gallery-grid[data-gallery-view="housewarming"] .gallery-tile.real-photo {
  flex: 1 1 clamp(190px, 22vw, 315px);
  height: auto;
  min-height: 0;
  margin: 0;
  aspect-ratio: auto;
  background: transparent;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo.is-portrait,
.gallery-grid[data-gallery-view="housewarming"] .gallery-tile.real-photo.is-portrait {
  flex-basis: clamp(150px, 16vw, 225px);
  grid-row: auto;
}

.gallery-grid[data-gallery-view="backstage"] .gallery-tile.real-photo img,
.gallery-grid[data-gallery-view="housewarming"] .gallery-tile.real-photo img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-cover {
  cursor: pointer;
  min-width: 0;
  padding: 0;
}

.gallery-cover::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(11, 42, 27, 0.06), rgba(11, 42, 27, 0.56));
  content: "";
}

.gallery-cover span {
  font-size: 1.35rem;
}

.gallery-cover:focus {
  outline: 3px solid rgba(214, 163, 69, 0.5);
  outline-offset: 3px;
}

.gallery-tile.real-photo::before,
.gallery-tile.real-photo figcaption {
  display: none;
}

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

.gallery-tile span,
.gallery-tile figcaption {
  position: relative;
  z-index: 3;
  padding: 0.75rem;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
}

.gallery-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile:hover {
  transform: translateY(-4px);
}

.gallery-grid:not([data-gallery-view="all"]) [data-gallery-category] {
  cursor: grab;
}

.gallery-grid:not([data-gallery-view="all"]) [data-gallery-category]:active {
  cursor: grabbing;
}

.gallery-tile.is-dragging {
  opacity: 0.48;
  transform: scale(0.98);
}

.gallery-tile.is-drop-target {
  outline: 3px solid var(--gold-500);
  outline-offset: 6px;
}

.gallery-tile.is-hidden {
  display: none;
}

.gallery-grid:not([data-gallery-view="all"]) {
  gap: clamp(0.55rem, 1vw, 0.85rem);
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, 12vh);
  align-items: stretch;
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-tile {
  min-height: 0;
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-tile.real-photo.is-portrait {
  min-height: 0;
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-1,
.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-5 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-2,
.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-4,
.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-6 {
  grid-column: span 2;
  grid-row: span 3;
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-3 {
  grid-column: span 2;
  grid-row: span 2;
  margin-top: clamp(1rem, 2vw, 1.8rem);
}

.gallery-grid:not([data-gallery-view="all"]):not([data-gallery-view="backstage"]) .gallery-position-5 {
  margin-top: clamp(0.7rem, 1.5vw, 1.3rem);
}

.gallery-grid[data-gallery-view="housewarming"] .gallery-position-1,
.gallery-grid[data-gallery-view="housewarming"] .gallery-position-2,
.gallery-grid[data-gallery-view="housewarming"] .gallery-position-3,
.gallery-grid[data-gallery-view="housewarming"] .gallery-position-4,
.gallery-grid[data-gallery-view="housewarming"] .gallery-position-5,
.gallery-grid[data-gallery-view="housewarming"] .gallery-position-6 {
  margin-top: 0;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: #cdd5ca;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox img {
  width: auto;
  max-width: min(100%, 1180px);
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.gallery-lightbox img.is-portrait-lightbox {
  max-width: min(86vw, 620px);
  max-height: 90vh;
}

.gallery-lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.94);
  color: var(--green-900);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.gallery-lightbox-close:focus {
  outline: 3px solid rgba(214, 163, 69, 0.72);
  outline-offset: 3px;
}

.gallery-lightbox-arrow {
  position: fixed;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(46px, 6vw, 64px);
  height: clamp(46px, 6vw, 64px);
  padding: 0 0 0.18em;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 253, 246, 0.92);
  color: var(--green-900);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1;
  text-align: center;
  transform: translateY(-50%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.gallery-lightbox-prev {
  left: clamp(0.75rem, 3vw, 2rem);
}

.gallery-lightbox-next {
  right: clamp(0.75rem, 3vw, 2rem);
}

.gallery-lightbox-arrow:focus {
  outline: 3px solid rgba(214, 163, 69, 0.72);
  outline-offset: 3px;
}

.gallery-lightbox-arrow[hidden] {
  display: none;
}

.testimonial {
  display: grid;
  align-content: space-between;
  gap: 1rem;
  min-height: 230px;
  margin: 0;
}

.testimonial blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.45;
}

.testimonial figcaption {
  color: var(--gold-700);
  font-weight: 800;
}

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

.evaluation-card {
  scroll-margin-top: 100px;
  min-height: 190px;
  padding: 1.25rem;
  border: 1px solid rgba(214, 163, 69, 0.28);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}

.evaluation-card span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.evaluation-card p {
  margin: 0;
  color: var(--muted);
}

.partner-strip span {
  background: white;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 880px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.faq-list summary {
  padding: 1rem 1.1rem;
  color: var(--green-900);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  padding: 0 1.1rem 1.1rem;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(185, 130, 36, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 253, 246, 0.54);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  color: var(--green-900);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.82rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-500);
  outline: 3px solid rgba(214, 163, 69, 0.28);
}

.form-note {
  min-height: 1.6rem;
  margin: 0;
  color: var(--muted);
}

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

.university-band {
  background: var(--paper);
}

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

.university-grid article {
  min-height: 180px;
  padding: 1.25rem;
  border: 1px solid rgba(214, 163, 69, 0.28);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.university-grid span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.university-grid p {
  margin: 0;
  color: var(--muted);
}

.contact-grid a,
.contact-grid address {
  min-height: 145px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--green-900);
  font-style: normal;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-700);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: grid;
  justify-items: center;
  min-height: var(--footer-height);
  gap: 0.25rem;
  padding: 0.45rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  text-align: center;
  box-shadow: 0 -10px 28px rgba(48, 72, 48, 0.1);
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(214, 163, 69, 0.72), rgba(185, 130, 36, 0.88), rgba(214, 163, 69, 0.72), transparent);
  content: "";
}

.site-footer img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.2;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.1rem;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 0.52rem;
    font-size: 0.84rem;
  }

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

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

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

@media (min-width: 821px) and (max-height: 780px) {
  .services-slide {
    row-gap: 0.65rem;
    padding-top: 0.55rem;
    padding-bottom: 0.8rem;
  }

  .services-slide .section-heading {
    gap: 0.35rem;
  }

  .services-slide .event-service {
    min-height: 54px;
    padding-block: 0.62rem;
    font-size: 0.98rem;
  }

  .services-slide .process div {
    padding-block: 0.72rem;
  }

}

@media (max-width: 820px) {
  h1 {
    font-size: 3.15rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - var(--header-height) - var(--footer-height));
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    overflow-y: auto;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    min-height: 48px;
    padding: 0.85rem 0.9rem;
    color: var(--green-900);
    font-size: 1rem;
  }

  .nav-group {
    display: grid;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 0.35rem 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-submenu a {
    min-height: 42px;
    color: var(--muted);
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(rgba(255, 253, 246, 0.5), rgba(255, 253, 246, 0.96)),
      url("../images/brand/homepage-logo-background.jpg") center top 5.5rem / min(86vw, 460px) no-repeat;
  }

  .hero-content {
    padding-top: min(42vw, 13rem);
  }

  .two-column,
  .event-service-grid,
  .process,
  .testimonial-grid,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .services-slide .event-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-slide .process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .gallery-filter {
    justify-self: stretch;
  }

  .event-service:nth-child(odd) {
    border-color: rgba(48, 72, 48, 0.22);
    background: #cdd5ca;
  }

  .event-service:nth-child(even) {
    border-color: rgba(185, 130, 36, 0.32);
    background: #fbf0d7;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(105px, 14vh);
  }

  .gallery-grid:not([data-gallery-view="all"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(105px, 14vh);
  }

  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-1,
  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-2,
  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-3,
  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-4,
  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-5,
  .gallery-grid:not([data-gallery-view="all"]) .gallery-position-6 {
    grid-column: span 1;
    margin-top: 0;
  }

  .gallery-tile.large,
  .gallery-tile.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-tile.real-photo.is-portrait {
    grid-row: span 2;
    min-height: 0;
  }

  .form-wide {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --footer-height: 86px;
  }

  h1 {
    font-size: 2.38rem;
  }

  .brand span {
    max-width: 176px;
    white-space: normal;
    line-height: 1.1;
  }

  .section-panel {
    padding-inline: 1rem;
  }

  .site-footer {
    gap: 0.2rem;
    padding-inline: 0.75rem;
  }

  .site-footer img {
    width: 48px;
    height: 48px;
  }

  .site-footer p {
    font-size: 0.76rem;
  }

  .services-slide .event-service-grid,
  .services-slide .process {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-notes {
    display: grid;
  }

  .button,
  .instagram-home-link {
    width: 100%;
  }

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

  .gallery-grid:not([data-gallery-view="all"]) {
    grid-template-columns: 1fr;
  }

  .gallery-tile.real-photo.is-portrait {
    min-height: 0;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
