:root {
  --ink: #2b241f;
  --paper: #f8f2eb;
  --cream: #fffaf4;
  --moss: #617158;
  --rose: #b98575;
  --gold: #c39a5f;
  --line: rgba(43, 36, 31, 0.18);
  --shadow: rgba(18, 14, 10, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: linear-gradient(rgba(21, 17, 14, 0.62), rgba(21, 17, 14, 0));
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.9rem);
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 8px 28px var(--shadow);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(0.6rem, 1.6vw, 1.55rem);
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.social-link {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  background: rgba(255, 250, 244, 0.1);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
  backdrop-filter: blur(10px);
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 250, 244, 0.22);
  border-color: rgba(255, 255, 255, 0.9);
}

.split-hero {
  flex: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #16120f;
}

.hero-panel {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  text-decoration: none;
  isolation: isolate;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-panel::before {
  z-index: -2;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  transition: transform 900ms ease, filter 900ms ease;
}

.hero-panel::after {
  z-index: -1;
  background:
    linear-gradient(rgba(18, 13, 10, 0.12), rgba(18, 13, 10, 0.76)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.34));
  transition: background 350ms ease;
}

.hero-panel:hover::before,
.hero-panel:focus-visible::before {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.hero-panel:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -8px;
}

.photography-panel {
  --hero-image: url("../images/photography-hero-web.jpg");
}

.events-panel {
  --hero-image: url("../images/event-rentals-hero-web.jpg");
}

.panel-content {
  width: min(88%, 34rem);
  padding: 7rem 1.5rem clamp(3rem, 8vh, 6rem);
  transform: translateY(0);
  transition: transform 350ms ease;
}

.hero-panel:hover .panel-content,
.hero-panel:focus-visible .panel-content {
  transform: translateY(-0.35rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: 0.95;
  text-shadow: 0 14px 42px var(--shadow);
}

.hero-copy {
  max-width: 27rem;
  margin: 1.15rem auto 1.8rem;
  font-size: clamp(0.98rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.split-divider {
  position: fixed;
  z-index: 10;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.32);
  pointer-events: none;
}

.placeholder-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 7rem clamp(1.25rem, 5vw, 4rem) 4rem;
  background:
    linear-gradient(rgba(248, 242, 235, 0.91), rgba(248, 242, 235, 0.96)),
    var(--page-image) center / cover;
}

.placeholder-card {
  width: min(100%, 48rem);
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background: rgba(255, 250, 244, 0.84);
  box-shadow: 0 24px 70px rgba(43, 36, 31, 0.12);
}

.placeholder-card h1 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.placeholder-card p {
  max-width: 38rem;
  margin: 0 0 1.4rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--moss);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--rose);
}

.events-body .site-header {
  position: absolute;
}

.photography-body .site-header {
  position: absolute;
}

.photography-page {
  min-height: 100svh;
  background: var(--cream);
}

.photo-hero {
  min-height: 68svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8rem clamp(1.25rem, 5vw, 4rem) clamp(3.5rem, 8vw, 6rem);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(18, 13, 10, 0.12), rgba(18, 13, 10, 0.76)),
    url("../images/photography-hero-web.jpg") center / cover;
}

.photo-hero-content {
  width: min(100%, 52rem);
}

.photo-hero h1,
.photo-section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.photo-hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 10vw, 8rem);
  line-height: 0.93;
  text-shadow: 0 14px 42px var(--shadow);
}

.photo-hero p:not(.eyebrow) {
  max-width: 44rem;
  margin: 1.2rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.photo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.photo-cta {
  min-width: min(100%, 15rem);
  text-decoration: none;
}

.photo-cta.secondary {
  background: rgba(18, 13, 10, 0.18);
}

.photo-gallery-section {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.photo-section-heading {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.photo-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
}

.photo-section-heading p:not(.section-kicker) {
  max-width: 42rem;
  margin: 0;
  color: rgba(43, 36, 31, 0.75);
  font-size: 1rem;
  line-height: 1.7;
}

.photo-masonry {
  column-count: 4;
  column-gap: 1rem;
}

.photo-tile {
  width: 100%;
  display: block;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #1f1a16;
  cursor: pointer;
  break-inside: avoid;
  box-shadow: 0 14px 34px rgba(43, 36, 31, 0.1);
}

.photo-tile img {
  width: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 1;
  transition: transform 500ms ease, filter 500ms ease, opacity 260ms ease;
}

.photo-tile img.is-fading {
  opacity: 0;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.035);
  filter: contrast(1.03) saturate(1.04);
}

.photo-tile:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.client-gallery-section {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 5.5rem);
}

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

.client-gallery-card {
  position: relative;
  min-height: clamp(18rem, 34vw, 28rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  background: #1f1a16;
  box-shadow: 0 18px 50px rgba(43, 36, 31, 0.12);
  isolation: isolate;
}

.client-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(18, 13, 10, 0.02), rgba(18, 13, 10, 0.72));
}

.client-gallery-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 600ms ease, filter 600ms ease;
}

.client-gallery-card:hover img,
.client-gallery-card:focus-visible img {
  transform: scale(1.045);
  filter: contrast(1.04) saturate(1.04);
}

.client-gallery-card:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.client-gallery-label {
  display: block;
  padding: clamp(1.25rem, 3vw, 2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.96;
  text-shadow: 0 12px 36px var(--shadow);
}

.rentals-page {
  min-height: 100svh;
  background: var(--paper);
}

.rentals-hero {
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 8rem clamp(1.25rem, 5vw, 4rem) clamp(3rem, 7vw, 5rem);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(18, 13, 10, 0.18), rgba(18, 13, 10, 0.72)),
    url("../images/event-rentals-hero-web.jpg") center / cover;
}

.rentals-hero-content {
  width: min(100%, 48rem);
}

.rentals-hero h1,
.backdrop-section h2,
.rentals-aside h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.rentals-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 0.95;
  text-shadow: 0 14px 42px var(--shadow);
}

.rentals-hero p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.2rem auto 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.rentals-showcase {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rentals-aside {
  align-self: start;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--line);
}

.rentals-aside h2,
.backdrop-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.rentals-aside p,
.section-intro {
  margin: 1rem 0 0;
  color: rgba(43, 36, 31, 0.76);
  font-size: 1rem;
  line-height: 1.7;
}

.rental-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.rental-list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.rental-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

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

.backdrop-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 18px 50px rgba(43, 36, 31, 0.08);
}

.backdrop-card img {
  width: 100%;
  aspect-ratio: 1.4;
  display: block;
  object-fit: cover;
}

.backdrop-button {
  width: 100%;
  min-height: 3.15rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.backdrop-button:hover,
.backdrop-button:focus-visible {
  background: var(--moss);
  color: #fff;
}

.rental-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  color: #fff;
  background: linear-gradient(90deg, #3d4b30, #6e5c32);
  font-family: Georgia, "Times New Roman", serif;
}

.phone-link {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.qr-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.qr-contact img {
  width: 6rem;
  height: 6rem;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.7);
  background: #fff;
  object-fit: cover;
}

.image-dialog {
  width: min(92vw, 900px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.image-dialog::backdrop {
  background: rgba(18, 13, 10, 0.74);
}

.image-dialog h2 {
  margin: 0;
  padding: 1rem 3.5rem 1rem 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
}

.dialog-image {
  width: 100%;
  max-height: 74svh;
  display: block;
  object-fit: contain;
  background: #120d0a;
}

.dialog-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    display: block;
    padding: 1rem 1.25rem 0.75rem;
  }

  .site-nav {
    width: 100%;
    margin-top: 0.85rem;
    padding-bottom: 0.35rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 0.68rem;
    line-height: 1;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .social-link {
    width: 1.85rem;
    height: 1.85rem;
  }

  .split-hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 50svh;
  }

  .panel-content {
    padding-top: 8.75rem;
    padding-bottom: 2.5rem;
  }

  .hero-title {
    font-size: clamp(2.65rem, 13vw, 5rem);
  }

  .split-divider {
    display: none;
  }

  .photo-hero {
    min-height: 58svh;
    padding-top: 8.75rem;
  }

  .photo-section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .photo-masonry {
    column-count: 2;
  }

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

  .rentals-hero {
    min-height: 52svh;
    padding-top: 8.75rem;
  }

  .rentals-showcase {
    grid-template-columns: 1fr;
  }

  .rentals-aside {
    padding-left: 0;
    border-left: 0;
  }

  .rental-contact {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .site-nav {
    margin-top: 0.8rem;
  }

  .site-nav a:not(.social-link) {
    letter-spacing: 0.15em;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.24em;
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .panel-cta {
    width: min(100%, 18rem);
    padding-inline: 0.9rem;
  }

  .photo-hero {
    min-height: 54svh;
    padding-bottom: 3rem;
  }

  .photo-hero h1 {
    font-size: clamp(3.2rem, 16vw, 5.25rem);
  }

  .photo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .photo-masonry {
    column-count: 1;
  }

  .rentals-hero {
    min-height: 46svh;
    padding-bottom: 2.75rem;
  }

  .rentals-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

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

  .qr-contact {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
