/* Homepage only: compact proportions, real photos, and a quiet coastal backdrop. */
body.home {
  --page-sand: #fff6e7;
  background-color: var(--page-sand);
  background-image: linear-gradient(rgba(255, 246, 231, .94), rgba(255, 246, 231, .94)), url("assets/beach-sand-texture.webp");
  background-size: 512px 512px;
  background-position: center top;
  background-repeat: repeat;
}
.home::before {
  height: clamp(380px, 35vw, 560px);
  background: url("assets/coastal-background-v1.webp") center min(0px, calc(132px - 17vw)) / 100% auto no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.home .site-header .header-inner { max-width: 1140px; padding-block: 8px; gap: 24px; }
.home .site-header .brand { max-width: 280px; }
.home .hero-shell { overflow: hidden; }
.home .hero-shell .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1140px;
  min-height: 0;
  margin: 0 auto;
  padding: max(32px, calc(174px - var(--site-header-height, 72px))) 24px 24px;
  text-align: left;
}
.home .hero-shell .hero-copy { min-width: 0; }
.home .hero-copy > .eyebrow {
  margin: 0 0 8px;
  color: #075a91;
  font-family: Nunito, Arial, sans-serif;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .07em;
}
.home .hero-shell .home-hero h1 {
  margin: 0 0 12px;
  color: #052860;
  font-family: Fredoka, Arial, sans-serif;
  font-size: clamp(2.125rem, 4vw, 3.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-shadow: none;
  transform: none;
}
.home .hero-shell .hero-copy > .hero-description {
  max-width: 46ch;
  margin: 0;
  color: #082c61;
  font-family: Nunito, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}
.home .hero-shell .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 18px 0 0;
}
.home .hero-shell .hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: Nunito, Arial, sans-serif;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.home .hero-shell .hero-actions > .primary { background: #ca4f16; border-color: #ca4f16; color: #fff; }
.home .hero-shell .hero-actions > .primary:hover { background: #ad3e0d; border-color: #ad3e0d; }
.home .hero-shell .hero-actions > .outline-link { background: #fff; border-color: #08749c; color: #052860; }
.home .hero-shell .hero-actions > .outline-link:hover { background: #e8f9ff; }
.home .hero-picture {
  position: relative;
  justify-self: center;
  width: calc(100% - 16px);
  max-width: 360px;
  min-width: 0;
  margin: 0 0 20px;
  border: 4px solid #fff;
  border-radius: 12px;
  outline: 1px solid #4dbedb;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 111, 179, .10);
  transform: none;
}
.home .hero-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 1018;
  object-fit: contain;
  border-radius: 8px;
}
.home .hero-picture .photo-tag {
  position: absolute;
  right: 10px;
  bottom: -14px;
  max-width: calc(100% - 20px);
  padding: 7px 11px;
  border-radius: 5px;
  background: #ffcd3e;
  color: #052860;
  box-shadow: 0 2px 0 #e2a309;
  font-family: Fredoka, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-2deg);
}
.home main { max-width: 1140px; padding: 0 24px; }
.home .home-section { margin: 24px 0 28px; }
.home .section-heading { margin-bottom: 16px; }
.home .section-heading > .eyebrow { margin-bottom: 5px; }
.home .section-heading > p:last-child { margin-top: 6px; }
.home #locations .section-heading h2, .home h2 { font-size: clamp(1.5rem, 2.5vw, 1.875rem); line-height: 1.2; }
.home #locations .section-heading h2 { color: #052860; font-family: Fredoka, Arial, sans-serif; font-weight: 600; }
.home #locations { position: relative; isolation: isolate; margin-bottom: 0; }
/* The continuous beach background needs no extra edge decorations. */
.home #locations::before, .home #locations::after {
  content: none;
}
.home #locations .locations-grid { gap: 16px; }
.home #locations .location-card {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 111, 179, .05);
}
.home #locations .location-photos { display: block; min-width: 0; margin: 12px 0 12px 12px; background: transparent; }
.home #locations .location-photos img:nth-child(n) { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; border-radius: 7px; }
.home #locations .location-content { padding: 14px; }
.home #locations .location-content h3 { margin: 0 0 5px; font-size: 1.375rem; line-height: 1.2; }
.home #locations .location-content .address { margin: 0 0 8px; line-height: 1.4; }
.home #locations .location-actions { justify-content: flex-start; gap: 0 12px; margin-top: auto; }
.home #locations .location-actions > :is(a, button) { min-height: 44px; }
.home #locations .location-actions .outline-link { padding: 9px 12px; font-size: .875rem; border-width: 1px; border-radius: 5px; }
.home #locations + #tickets { margin-top: 24px; }
.home .tickets-section { padding: 16px 0; }
.home .location-tabs { margin-bottom: 12px; }
.home .rentals-section { gap: 24px; }
.home .rental-photo { max-width: 300px; }
.home .group-section { padding: 20px 16px; }
.home .group-copy { max-width: 620px; }

@media (min-width: 901px) and (max-width: 1100px) {
  .home .site-header .header-inner { gap: 16px; }
}
@media (max-width: 900px) {
  .home .site-header .header-inner { gap: 8px; }
}
@media (max-width: 768px) {
  .home::before {
    height: clamp(360px, 60vw, 480px);
    background-color: transparent;
    background-position: center top;
    background-size: max(100%, 570px) auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
  .home .site-header .brand { max-width: 225px; }
  .home .hero-shell .home-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 0 16px 12px; }
  .home .hero-shell .hero-copy { width: 100%; margin: 0; padding: max(36px, calc(72px + 16vw - var(--site-header-height, 61px))) 0 0; }
  .home .hero-copy > .eyebrow { font-size: .8125rem; letter-spacing: .035em; }
  .home .hero-shell .home-hero h1 { font-size: clamp(1.875rem, 7.8vw, 2.25rem); }
  .home .hero-shell .hero-copy > .hero-description { font-size: 1rem; }
  .home .hero-shell .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .home .hero-shell .hero-actions > a { width: 100%; min-height: 48px; padding: 10px; }
  .home .hero-picture { width: 100%; max-width: 260px; margin: 4px auto 24px; }
  .home .hero-picture .photo-tag { font-size: .9375rem; }
  .home main { padding: 0 16px; }
  .home .home-section { margin: 20px 0 24px; }
  .home #locations { margin-bottom: 0; }
}
@media (max-width: 720px) {
  .home #locations .locations-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home #locations .location-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
  .home #locations .location-content { padding: 12px; }
  .home #locations + #tickets { margin-top: 20px; }
  .home .rental-photo { max-width: 260px; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .home #locations .location-card { grid-template-columns: minmax(0, 1fr); }
  .home #locations .location-photos { max-width: 180px; margin: 12px auto 0; }
}
@media (max-width: 359px) {
  .home .hero-shell .hero-actions { grid-template-columns: minmax(0, 1fr); }
  .home #locations .location-card { grid-template-columns: minmax(0, .8fr) minmax(0, 1.65fr); }
  .home #locations .location-content h3 { font-size: 1.25rem; }
}

/* Treasure Island visitors can go straight to tickets or cabana selections. */
.home #locations .location-card-treasure .location-actions {
  gap: 8px;
  flex-wrap: wrap;
}
.home #locations .location-card-treasure .location-actions > .cabana-cta {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 5px;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  font-size: .875rem;
}
.home #locations .location-card-treasure .location-actions > .cabana-cta:hover {
  background: #005b96;
  border-color: #005b96;
  color: #fff;
}
@media (max-width: 540px) {
  .home #locations .location-card-treasure .location-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
  .home #locations .location-card-treasure .location-actions > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
  }
}
