@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #0a6e72;
  --teal-deep: #06555a;
  --pool: #2bb8c4;
  --palm: #2f8f4e;
  --hibiscus: #e05a7a;
  --sun: #e8a83a;
  --ink: #1a2b2c;
  --muted: #4a5f61;
  --foam: #ffffff;
  --sand: #f4fbfb;
  --sky: #eaf7f8;
  --white: #ffffff;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1000px 480px at 8% -5%, rgba(43, 184, 196, 0.16), transparent 55%),
    radial-gradient(800px 420px at 100% 8%, rgba(232, 168, 58, 0.1), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--sand) 45%, var(--sky) 100%);
  min-height: 100vh;
}

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

a {
  color: var(--teal-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 1000;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(10, 110, 114, 0.1);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(6, 85, 90, 0.1);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__brand {
  display: block;
  flex: 0 1 11rem;
}

.site-header__brand img {
  width: 100%;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(10, 110, 114, 0.25);
  background: var(--white);
  border-radius: 0.4rem;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--teal-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
}

.site-nav__list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--pool);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__list a:hover {
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0.35rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn--primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--teal-deep);
  border-color: rgba(10, 110, 114, 0.22);
}

.btn--secondary:hover {
  background: var(--sky);
  color: var(--teal);
  border-color: var(--pool);
}

.btn--lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* Hero — bright brand band + clean full-bleed photo */
.hero {
  display: grid;
  grid-template-rows: auto minmax(42vh, 1fr);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 15% 20%, rgba(43, 184, 196, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(232, 168, 58, 0.18), transparent 50%),
    radial-gradient(ellipse 50% 40% at 70% 80%, rgba(224, 90, 122, 0.08), transparent 45%),
    linear-gradient(165deg, #ffffff 0%, #eef9f9 55%, #e4f4f5 100%);
}

.hero__intro {
  max-width: 72rem;
  width: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.5rem) 1.25rem clamp(1.75rem, 3vh, 2.5rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(26rem, 88vw);
  margin-bottom: 1.35rem;
  animation: fade-up 0.85s var(--ease) both;
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.15;
  max-width: 20ch;
  color: var(--teal-deep);
  animation: fade-up 0.85s var(--ease) 0.08s both;
}

.hero__lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34ch;
  color: var(--muted);
  animation: fade-up 0.85s var(--ease) 0.14s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  animation: fade-up 0.85s var(--ease) 0.2s both;
}

.hero__media {
  position: relative;
  min-height: 42vh;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-rise 1.2s var(--ease) 0.15s both;
}

@keyframes hero-rise {
  from {
    opacity: 0.4;
    transform: scale(1.06) translateY(1.5%);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section__intro {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section__intro--tight {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.section__intro h2,
.section__intro h3,
.book-panel h2,
.not-found h1 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--teal-deep);
  margin: 0 0 0.65rem;
}

.section__intro h2,
.book-panel h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.section__intro h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
}

.section__intro p,
.book-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.section__note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Photos */
.photo-block {
  margin: 0 0 1.25rem;
}

.photo-block img {
  width: 100%;
  border-radius: 0.15rem;
  object-fit: cover;
  max-height: 36rem;
  box-shadow: 0 18px 40px rgba(6, 85, 90, 0.12);
}

.photo-block--wide img {
  max-height: 28rem;
  min-height: 16rem;
}

.photo-block figcaption,
.nearby-item figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.photo-pair .photo-block {
  margin-bottom: 0;
}

.photo-pair img {
  aspect-ratio: 4 / 3;
  max-height: none;
}

/* Stay */
.section--stay {
  background: linear-gradient(135deg, rgba(10, 110, 114, 0.08), rgba(43, 184, 196, 0.1));
  border-radius: 0.5rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  max-width: calc(72rem - 0px);
}

.amenity-list,
.rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.amenity-list li,
.rules-list li {
  padding: 0.85rem 0 0.85rem 1rem;
  border-left: 3px solid var(--pool);
  background: rgba(255, 255, 255, 0.45);
}

.rules-list li {
  border-left-color: var(--sun);
}

/* Tolls */
.section--tolls {
  background: linear-gradient(160deg, rgba(232, 168, 58, 0.1), rgba(10, 110, 114, 0.08));
  border-radius: 0.5rem;
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}

.toll-options {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
}

.toll-option {
  padding: 1rem 1.1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--sun);
}

.toll-option h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.toll-option p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Nearby */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.nearby-item {
  margin: 0;
}

.nearby-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(10, 110, 114, 0.1);
  padding: 0.75rem;
}

.nearby-item:nth-child(1) img,
.nearby-item:nth-child(5) img,
.nearby-item:nth-child(6) img,
.nearby-item:nth-child(7) img {
  object-fit: cover;
  padding: 0;
}

.promo {
  margin-top: 2rem;
  max-width: 40rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background:
    linear-gradient(160deg, rgba(10, 110, 114, 0.1), rgba(232, 168, 58, 0.1)),
    rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--pool);
}

.promo h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.promo p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.promo .btn {
  margin-top: 1.1rem;
}

/* Book */
.section--book {
  padding-top: 2rem;
}

.book-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(10, 110, 114, 0.12), rgba(232, 168, 58, 0.1)),
    rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(10, 110, 114, 0.14);
}

.book-panel__badge {
  width: 6.5rem;
  margin: 0 auto 1.25rem;
}

.book-panel .btn {
  margin-top: 1.25rem;
}

.book-panel__address {
  margin-top: 1.25rem !important;
  font-size: 0.95rem !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(10, 110, 114, 0.12);
  background: linear-gradient(180deg, #0a7a7e 0%, #066066 100%);
  color: rgba(255, 255, 255, 0.92);
  margin-top: 2rem;
}

.site-footer a {
  color: #9fe4e8;
}

.site-footer a:hover {
  color: var(--sun);
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.site-footer img {
  width: 4.5rem;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer__social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  color: #9fe4e8;
  background: rgba(255, 255, 255, 0.08);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.social-icon:hover {
  color: var(--sun);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.social-icon svg {
  display: block;
}

.site-footer__copy {
  margin-top: 1rem !important;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* 404 */
.page-404 .site-header__inner {
  justify-content: space-between;
}

.not-found {
  max-width: 32rem;
  margin: 0 auto;
  padding: 5rem 1.25rem;
  text-align: center;
}

.not-found__badge {
  width: 7rem;
  margin: 0 auto 1.5rem;
}

.not-found p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(10, 110, 114, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0.25rem;
  }

  .site-nav__list a {
    display: block;
    padding: 0.75rem 0.25rem;
    font-size: 1.1rem;
  }

  .site-nav__book {
    width: 100%;
  }

  .photo-pair,
  .nearby-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-rows: auto minmax(36vh, 1fr);
  }

  .hero__intro {
    padding: 1.75rem 1.1rem 1.5rem;
  }

  .hero__logo {
    width: min(20rem, 90vw);
  }

  .section--stay,
  .section--tolls {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
}

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

  .hero__media img,
  .hero__logo,
  .hero h1,
  .hero__lede,
  .hero__actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 861px) {
  .hero__intro {
    padding-top: clamp(2.5rem, 6vh, 4rem);
  }
}
