.site-header a[aria-current="page"] { color: #5d5d5d; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.maldivas-hero { position: relative; isolation: isolate; min-height: 520px; display: grid; place-items: center; background: #383838; color: white; overflow: hidden; padding-block: 80px; }
.maldivas-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; z-index: -2; }
.maldivas-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #22222255, #22222299); }
.maldivas-hero-copy { text-align: center; max-width: 800px; }
.maldivas-hero .eyebrow { font-size: 15px; }
.maldivas-hero h1 { font-size: clamp(64px, 9vw, 126px); font-weight: 500; text-transform: uppercase; letter-spacing: -.04em; margin-top: 14px; line-height: 1.1; }
.maldivas-lead { max-width: 600px; margin: 24px auto 0; font-size: 17px; text-wrap: pretty; }
.maldivas-hero .text-link { align-items: center; min-height: 44px; margin-top: 28px; border-color: #d3d3d3; color: #fff; font-size: clamp(18px, 2vw, 23px); font-weight: 600; line-height: 1.4; }
.maldivas-hero-note { position: absolute; bottom: 38px; padding-inline: 16px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-align: center; }
.story-intro, .opening-grid, .resort-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 64px; }
.story-copy { min-width: 0; }
.story-copy .eyebrow { color: var(--muted); margin-bottom: 18px; }
.story-intro .eyebrow, .resort-section .eyebrow { font-size: 14px; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; }
.story-copy > p + p { margin-top: 18px; }
.story-copy > .story-highlight { padding-top: 20px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 600; color: var(--ink); }
.story-video { min-width: 0; }
.story-video video { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; background: #191919; border-radius: var(--radius); }
.journey-section { background: var(--ink); color: var(--paper); padding-block: var(--section-space); }
.journey-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.journey-card { display: grid; grid-template-columns: 1fr; gap: 26px; align-content: start; min-width: 0; }
.journey-card h2 { font-size: clamp(26px, 2.25vw, 32px); }
.journey-card .story-copy > p:not(.eyebrow), .journey-card .eyebrow { color: #c9c9c9; font-size: 13px; }
.journey-card .eyebrow { font-size: 13px; }
.story-photo { display: block; background: var(--soft); overflow: hidden; border-radius: var(--radius); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.story-photo:hover img { transform: scale(1.025); }
.journey-card .story-photo { aspect-ratio: 1; width: min(80%, 400px); justify-self: center; }
.installation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.installation-grid article { min-width: 0; }
.installation-grid .story-photo { aspect-ratio: 1; }
.installation-grid h3 { font-size: 25px; margin-block: 24px 14px; }
.installation-grid p { font-size: 14px; color: var(--muted); }
.opening-section { padding-block: var(--section-space); background: var(--soft); }
.opening-grid { grid-template-columns: 1.2fr 1fr; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.gallery-photo { display: block; position: relative; min-width: 0; }
.gallery-photo > img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--soft); transition: filter .2s; }
.gallery-photo:hover > img { filter: brightness(.86); }
.photo-expand { display: grid; place-items: center; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: #000000cc; color: #ffffff; font-size: 22px; pointer-events: none; }
.destination-section { padding-block: var(--section-space); border-block: 1px solid var(--line); background: #eeeeee; }
.destination-gallery > .gallery-photo > img { aspect-ratio: 1; }
.grill-carousel { max-width: 880px; margin-inline: auto; padding-inline: 60px; }
.carousel-stage { position: relative; }
.carousel-slides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grill-carousel.is-ready .carousel-slides { display: block; }
.carousel-slide { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); }
.carousel-slide > img { width: 100%; height: 100%; object-fit: cover; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #666666; border-radius: 50%; background: #000000; color: #ffffff; font-size: 24px; }
.carousel-arrow:hover { background: #444444; }
.carousel-previous { left: -60px; }
.carousel-next { right: -60px; }
.carousel-counter { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }
.resort-section { grid-template-columns: 1.3fr 1fr; }
.resort-aerial { width: 100%; border-radius: var(--radius); }
.maldivas-contact { background: #000000; }
.maldivas-contact h2 { max-width: 650px; }
.resort-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; }
.resort-links .text-link { font-size: 13px; }
html:has(.photo-viewer[open]) { overflow: hidden; }
.photo-viewer { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); border: 1px solid #ffffff26; border-radius: 8px; padding: 20px; background: #1a1a1a; color: white; }
.photo-viewer::backdrop { background: #151515eb; }
.viewer-content { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
.viewer-close { align-self: flex-end; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(22,22,22,.88); color: white; box-shadow: 0 6px 24px rgba(0,0,0,.35); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.viewer-close:hover { background: white; color: #111; transform: rotate(90deg); }
.viewer-close:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.viewer-image { display: block; width: 100%; height: min(64vh, 720px); height: min(64dvh, 720px); object-fit: contain; }
.viewer-caption { margin-top: 12px; min-height: 2em; text-align: center; font-size: 13px; line-height: 1.5; color: #d9d9d9; }
.viewer-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; }
.viewer-navigation button { width: 48px; height: 44px; background: #383838; border: 1px solid #6f6f6f; border-radius: 4px; color: white; font-size: 22px; }
.viewer-counter { min-width: 70px; text-align: center; font-size: 13px; }
.viewer-navigation button:hover { background: #4d4d4d; }

@media (max-width: 1100px) {
  .story-intro, .opening-grid, .resort-section { gap: 36px; }
  .journey-grid { gap: 36px; }
  .journey-card { grid-template-columns: 1fr; align-content: start; gap: 24px; }
  .journey-card .story-copy > p:not(.eyebrow) { font-size: 14px; }
  .journey-card h2 { font-size: 32px; }
  .installation-grid { gap: 24px; }
  .photo-grid { gap: 24px 16px; }
}

@media (max-width: 760px) {
  .story-intro, .opening-grid, .resort-section { grid-template-columns: 1fr; gap: 32px; }
  .opening-grid .story-copy { order: -1; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .installation-grid { grid-template-columns: 1fr; gap: 42px; }
  .installation-grid .story-photo { aspect-ratio: 4 / 3; max-height: 480px; }
  .installation-grid .story-photo img { object-position: center 55%; }
  .resort-aerial { aspect-ratio: 3 / 2; object-fit: cover; }
}

@media (max-width: 640px) {
  .maldivas-hero { min-height: 470px; padding-block: 64px; }
  .maldivas-hero h1 { font-size: clamp(48px, 13vw, 80px); }
  .maldivas-lead { font-size: 15px; margin-top: 20px; }
  .maldivas-hero .eyebrow { font-size: 13px; }
  .maldivas-hero-note { font-size: 11px; bottom: 32px; }
  .story-copy > p:not(.eyebrow) { font-size: 14px; }

  .journey-grid { grid-template-columns: 1fr; gap: 46px; }
  .journey-card .story-photo { height: auto; aspect-ratio: 1; width: min(88%, 340px); }
  .journey-card .story-photo img { object-position: center 58%; }
  .journey-card h2 { font-size: 32px; }
  .photo-grid { gap: 24px 12px; }
  .grill-carousel { padding-inline: 0; }
  .carousel-previous { left: 8px; }
  .carousel-next { right: 8px; }
  .photo-expand { right: 8px; bottom: 8px; width: 34px; height: 34px; }
  .photo-viewer { width: calc(100% - 16px); padding: 12px; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .viewer-image { height: 57vh; height: 57dvh; }
  .viewer-content { gap: 12px; }
  .viewer-caption { font-size: 12px; }
}

@media (max-height: 500px) and (orientation: landscape) {
  .photo-viewer { padding: 8px; }
  .viewer-content { gap: 6px; }
  .viewer-image { height: 42vh; }
  .viewer-caption { margin-top: 4px; min-height: 0; }
}
