@import url("https://fonts.googleapis.com/css2?family=Fraunces:wght@300;400;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #eef1f5;
  --bg-2: #d9dfe7;
  --ink: #1c1c1c;
  --muted: #5a5a5a;
  --accent: #44837b;
  --accent-2: #5ebaad;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(18, 24, 32, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}


body {
  margin: 0;
  font-family: "Work Sans", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, #ffffff 0%, var(--bg) 50%, var(--bg-2) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cpath d='M20 110c80-90 200-90 280 0 50 58 80 100 100 190' fill='none' stroke='%2344837b' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M30 230c60-50 150-50 220 10 35 30 58 70 80 130' fill='none' stroke='%2344837b' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='460' height='460' viewBox='0 0 460 460'%3E%3Cpath d='M60 160c100-70 210-50 280 50 40 58 55 95 80 170' fill='none' stroke='%235ebaad' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M30 300c80-40 170-30 230 40 35 36 60 70 80 120' fill='none' stroke='%235ebaad' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position:
    center top,
    left -80px top 10%,
    right -120px bottom 15%;
  background-size:
    auto,
    420px 420px,
    460px 460px;
  background-attachment: scroll;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.topbar {
  background: #fdfaf4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1rem;
  color: var(--muted);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--muted);
}

.nav {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(253, 250, 244, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body {
  padding-top: 118px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(15, 76, 92, 0.1);
}

.nav-cta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 76, 92, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(15, 76, 92, 0.35);
  color: var(--accent);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

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

.hero {
  min-height: 100vh;
  background: linear-gradient(120deg, rgba(15, 76, 92, 0.82), rgba(8, 8, 8, 0.55)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
  position: relative;
}

.hero--video {
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 40%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 90vw);
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.page-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-highlights {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -8vw;
  right: -8vw;
  height: 140px;
  opacity: 0.18;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='140' viewBox='0 0 1400 140'%3E%3Cpath d='M0 80c120-60 240-60 360 0s240 60 360 0 240-60 360 0 240 60 320 10' fill='none' stroke='%238c9099' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M0 120c150-40 300-40 450 0s300 40 450 0 300-40 450 0' fill='none' stroke='%238c9099' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

.section:nth-of-type(2n)::after {
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='140' viewBox='0 0 1400 140'%3E%3Cpath d='M0 70c180-50 360-50 540 0s360 50 540 0 240-50 320-15' fill='none' stroke='%238c9099' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M0 110c160-35 320-35 480 0s320 35 480 0 320-35 440-5' fill='none' stroke='%238c9099' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.section::before {
  content: "";
  position: absolute;
  top: 18%;
  left: -6vw;
  right: -6vw;
  height: 110px;
  opacity: 0.14;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='120' viewBox='0 0 1400 120'%3E%3Cpath d='M0 60c140-40 280-40 420 0s280 40 420 0 280-40 560 5' fill='none' stroke='%238c9099' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

.section > .container::after {
  content: "";
  position: absolute;
  bottom: 14%;
  left: -7vw;
  right: -7vw;
  height: 120px;
  opacity: 0.12;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='120' viewBox='0 0 1400 120'%3E%3Cpath d='M0 70c160-45 320-45 480 0s320 45 480 0 320-45 440-8' fill='none' stroke='%238c9099' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 70vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 76, 92, 0) 0%, rgba(15, 76, 92, 0.4) 50%, rgba(15, 76, 92, 0) 100%);
}

.section + .section::after {
  content: none;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

.section-title.text-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title.text-center p {
  max-width: 640px;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 0;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 480px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.amenity-block:hover,
.floorplan-card:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(18, 24, 32, 0.22);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.amenity-block {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity-block h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
}

.amenity-list {
  display: grid;
  gap: 0.5rem;
  padding-left: 1rem;
}

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.floorplan-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floorplan-card img {
  border-radius: var(--radius-md);
  object-fit: cover;
  max-height: 220px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  border-radius: var(--radius-md);
  height: 220px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.gallery-item {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
}

.floorplan-item {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
}

.floorplan-item:focus-visible {
  outline: 3px solid rgba(15, 76, 92, 0.9);
  border-radius: var(--radius-md);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(15, 76, 92, 0.9);
  border-radius: var(--radius-md);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: 0 22px 60px rgba(18, 24, 32, 0.22);
}

.event-card .gallery-item img {
  height: 240px;
  border-radius: 0;
  box-shadow: none;
}

.event-card__body {
  padding: 1rem 1rem 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.event-card__body h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}

.event-card__tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(68, 131, 123, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
}

.carousel-track img {
  border-radius: var(--radius-md);
  height: 220px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.carousel-track a {
  display: block;
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

@media (max-width: 720px) {
  .carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    justify-self: center;
  }
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.split--balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.stack {
  display: grid;
  gap: 2rem;
  align-items: start;
}


.panel {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel--wide {
  width: 100%;
}

.panel--tour {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.4rem;
}

.panel__body--tour {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.panel__body--tour h2 {
  margin: 0 0 0.85rem;
}

.panel__body--tour p {
  margin: 0 0 1rem;
}

.availability-actions {
  margin-top: auto;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.page-hero .container,
.section {
  animation: reveal 0.8s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .page-hero .container,
  .section {
    animation: none;
  }

  .card,
  .amenity-block,
  .floorplan-card,
  .panel,
  .gallery-grid img {
    transition: none;
  }
}

.photo-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.photo-panel--tour {
  min-height: 220px;
  max-height: 220px;
  margin-bottom: 1.25rem;
  box-shadow: none;
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-splash {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 210px;
  display: grid;
  align-items: end;
}

.photo-splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accent-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.accent-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.accent-copy h3 {
  font-family: "Fraunces", serif;
  margin: 0.4rem 0 0.8rem;
  font-size: 1.5rem;
}

.accent-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.accent-kicker {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-2);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 400;
  padding: 2rem;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: min(560px, 92vw);
  box-shadow: var(--shadow);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-form {
  display: grid;
  gap: 0.8rem;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 0.3rem;
}

.photo-splash-carousel {
  display: grid;
  align-items: stretch;
}

.splash-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.splash-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splash-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.splash-btn[data-splash="prev"] {
  left: 1rem;
}

.splash-btn[data-splash="next"] {
  right: 1rem;
}

.photo-splash-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 10, 0.65) 100%);
  color: #fff;
}

.photo-splash-text h3 {
  margin: 0 0 0.4rem;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

@media (min-width: 900px) {
  .photo-splash {
    min-height: 190px;
  }
}

@media (min-width: 1200px) {
  .photo-splash {
    min-height: 180px;
  }
}

.map-embed {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.footer {
  background: #111815;
  color: #d7d7d7;
  padding: 4rem 0 3rem;
  margin-top: 4rem;
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  text-align: center;
  align-items: stretch;
}

.footer a {
  color: #d7d7d7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-block h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.55rem;
  color: #fff;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.footer-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer-logos {
  display: grid;
  gap: 0.6rem;
  align-items: center;
  justify-items: center;
}

.footer-logos__row {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-logos--compliance img {
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logos--brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logos--compliance img[src$="ada.png"] {
  height: 42px;
}

.footer-logos--compliance img[src$="eho_logo.png"] {
  height: 42px;
}

.footer-mgt-logo {
  height: 42px;
  max-width: 180px;
  object-fit: contain;
  filter: none;
}

.footer-links-inline {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  font-size: 1.05rem;
}

.footer-note {
  max-width: 1380px;
  margin: 0 auto;
  color: #d7d7d7;
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-estream img {
  height: 48px;
  width: auto;
  background: #fff;
  padding: 0.25rem 0.4rem;
}

.footer-estream {
  display: flex;
  justify-content: center;
}

.footer-logos img {
  width: auto;
}

.footer small {
  color: #9b9b9b;
  text-align: center;
}

body.media-lightbox-open {
  overflow: hidden;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 32, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.media-lightbox.open {
  display: flex;
}

.media-lightbox-content {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 85vh;
  background: #0c1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
}

.media-lightbox-content img {
  width: 900px;
  height: 520px;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.media-lightbox-title {
  color: #fff;
  font-size: 1rem;
  margin: 6px 0 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(12, 18, 32, 0.85);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.media-lightbox-nav.prev {
  left: -16px;
}

.media-lightbox-nav.next {
  right: -16px;
}

.media-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #0c1220;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 8, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: min(1000px, 92vw);
  width: 100%;
  position: relative;
  padding: 0 4.5rem;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.lightbox-caption {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.lightbox-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lightbox-controls button {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.lightbox-controls [data-action="prev"] {
  left: -1.5rem;
}

.lightbox-controls [data-action="next"] {
  right: -1.5rem;
}

.lightbox-controls .close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  width: auto;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  pointer-events: auto;
}

.notice {
  font-size: 0.9rem;
  color: var(--muted);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  width: 44px;
  height: 40px;
  position: relative;
  font-size: 0;
}

.mobile-toggle::before,
.mobile-toggle::after,
.mobile-toggle .hamburger-line {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: rgba(15, 76, 92, 0.9);
  border-radius: 2px;
}

.mobile-toggle::before {
  top: 10px;
}

.mobile-toggle .hamburger-line {
  top: 18px;
}

.mobile-toggle::after {
  top: 26px;
}

.page-hero {
  min-height: 60vh;
  padding: 6rem 0 4rem;
  background: linear-gradient(140deg, rgba(15, 76, 92, 0.86), rgba(8, 8, 8, 0.55)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
}

.page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin-bottom: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .nav {
    overflow: visible;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: #fdfaf4;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(18, 24, 32, 0.12);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .nav-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .hero-actions,
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

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

  .media-lightbox-content {
    padding: 12px;
  }

  .media-lightbox-content img {
    width: auto;
    height: auto;
    max-width: 84vw;
    max-height: 72vh;
  }

  .media-lightbox-nav.prev {
    left: -10px;
  }

  .media-lightbox-nav.next {
    right: -10px;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: none;
  }

  .nav {
    top: 0;
  }

  body {
    padding-top: 78px;
  }

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

  .footer-block {
    align-items: center;
  }
}
