.home-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-backdrop { position: absolute; z-index: 0; inset: 0; min-height: 100%; background-color: var(--navy); }
.hero-backdrop { --photo-fallback: var(--navy); }
.hero-backdrop::after { border: 0; background: rgb(6 43 66 / 67%); }
.home-hero-grid { min-height: 34rem; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: 2.5rem; }
.home-hero-copy { position: relative; z-index: 2; padding-block: 1.5rem; }
.home-hero-copy > * { animation: hero-copy-enter .55s ease-out both; }
.home-hero-copy > :nth-child(2) { animation-delay: .08s; }
.home-hero-copy > :nth-child(3) { animation-delay: .16s; }
.home-hero-copy > :nth-child(4) { animation-delay: .24s; }
.home-hero .eyebrow { color: var(--yellow); }
.home-hero h1 { max-width: 650px; margin-bottom: 1.25rem; color: var(--white); font-family: var(--sans); font-size: clamp(3.2rem, 6.2vw, 6.4rem); font-weight: 850; letter-spacing: -.055em; line-height: .96; text-transform: uppercase; }
.home-hero h1 em { display: block; margin-top: .55rem; color: var(--yellow); font-family: var(--serif); font-size: .57em; font-weight: 400; letter-spacing: -.02em; line-height: 1.15; text-transform: none; }
.home-hero-copy .lead { max-width: 34rem; margin-bottom: 1.6rem; color: #e0eaf0; font-size: 1.02rem; }
.home-hero .button--outline { border-color: #d6e5ec; color: var(--white); }
.home-hero .button--outline:hover { border-color: var(--yellow); color: var(--navy); background: var(--yellow); }
.home-hero .button-row { gap: .65rem; }
.hero-visual { position: relative; min-height: 30rem; }
.hero-main { --photo-fallback: #0b5670; position: absolute; inset: 0 5% 7% 0; min-height: auto; background-color: #0b5670; border: .6rem solid rgb(255 255 255 / 92%); transform: rotate(-2deg); }
.hero-main::after { border: 0; }
.hero-small { --photo-fallback: #087c8b; position: absolute; right: 0; bottom: 0; width: 38%; height: 40%; min-height: auto; border: .45rem solid var(--navy); background-color: #087c8b; transform: rotate(4deg); }
.hero-postcard { --photo-fallback: #d3e7e8; position: absolute; top: 18%; right: -3%; width: 33%; height: 31%; min-height: auto; border: .45rem solid var(--white); background-color: #d3e7e8; transform: rotate(5deg); }
.hero-postcard .photo-caption { right: 0; bottom: auto; left: 0; width: 100%; max-width: 100%; color: var(--navy); background: var(--white); text-align: center; }
.hero-note { position: absolute; top: 1rem; right: 0; padding: .55rem .8rem; color: var(--navy); background: var(--yellow); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-hero .photo-caption { bottom: 1rem; color: var(--white); background: rgb(6 43 66 / 82%); }
.intro-ribbon { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; color: var(--white); background: var(--navy); }
.ribbon-item { min-height: 6rem; display: flex; align-items: center; gap: .9rem; padding: 1rem clamp(.8rem, 2vw, 1.6rem); border-right: 1px solid rgb(255 255 255 / 17%); }
.ribbon-item:last-child { border-right: 0; }
.ribbon-icon { width: 2.7rem; height: 2.7rem; display: grid; flex: 0 0 auto; place-items: center; border: 1px solid var(--yellow); border-radius: 50%; color: var(--yellow); font-size: 1.1rem; }
.ribbon-item strong { display: block; color: var(--white); font-family: var(--serif); font-size: 1rem; font-weight: 600; line-height: 1.2; }
.ribbon-item span:last-child { color: #c4d2da; font-size: .72rem; line-height: 1.35; }
.home-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.home-section--cream { background: #f4f1e8; }
.home-section-head { display: grid; grid-template-columns: .65fr 1fr; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.home-section-head h2 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: clamp(2.1rem, 3.7vw, 3.4rem); font-weight: 850; letter-spacing: -.045em; line-height: 1; text-transform: uppercase; }
.home-section-head p { max-width: 34rem; margin: 0; }
.home-section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -.8rem; color: #aa7c00; }
.home-destinations { grid-template-columns: repeat(3, 1fr); }
.home-destinations .destination-card { border: 0; }
.home-destinations .photo-frame { min-height: 15rem; }
.home-destinations .card-body { padding: 1rem 1.1rem 1.3rem; }
.home-destinations .card-body h3 { color: var(--navy); font-family: var(--sans); font-size: 1.25rem; font-weight: 750; letter-spacing: -.02em; }
.home-destinations .text-link { font-size: .8rem; }
.home-packages { color: var(--white); background: var(--navy); }
.home-packages .home-section-head h2 { color: var(--white); }
.home-packages .home-section-head p { color: #c4d2da; }
.home-packages .eyebrow { color: var(--yellow); }
.idea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.idea-card { overflow: hidden; color: var(--ink); background: var(--white); }
.idea-card .photo-frame { min-height: 13rem; }
.idea-card-copy { padding: 1.05rem; }
.idea-card-copy .tag { margin-bottom: .65rem; border-color: #e1e6e5; }
.idea-card-copy h3 { margin-bottom: .45rem; color: var(--navy); font-family: var(--sans); font-size: 1.2rem; font-weight: 750; }
.idea-card-copy p { margin-bottom: .85rem; font-size: .83rem; }
.idea-card-copy .text-link { font-size: .8rem; }
.home-about { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.home-about-visual { position: relative; min-height: 29rem; }
.home-about-image { position: absolute; inset: 0 12% 9% 0; min-height: auto; }
.photo-about-small { position: absolute; right: 0; bottom: 0; width: 43%; height: 43%; min-height: auto; border: .5rem solid #f4f1e8; }
.photo-about-map { position: absolute; top: 1.2rem; right: -1rem; width: 32%; height: 30%; min-height: auto; border: .4rem solid #f4f1e8; }
.home-about-copy h2 { color: var(--navy); font-family: var(--sans); font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 850; text-transform: uppercase; }
.home-about-link { margin-top: 1.5rem; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; margin-top: 1.8rem; }
.benefit { display: grid; grid-template-columns: 2.8rem 1fr; gap: .8rem; align-items: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.benefit-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid #d5ba62; border-radius: 50%; color: #987000; }
.benefit h3 { margin: 0 0 .25rem; color: var(--navy); font-family: var(--sans); font-size: .92rem; font-weight: 750; letter-spacing: 0; }
.benefit p { margin: 0; font-size: .8rem; line-height: 1.45; }
.home-plan { position: relative; overflow: hidden; color: var(--white); background: var(--teal); }
.home-plan-inner { min-height: 21rem; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 2rem; padding-block: 3rem; }
.home-plan-copy { position: relative; z-index: 1; }
.home-plan-copy .eyebrow { color: var(--yellow); }
.home-plan-copy h2 { color: var(--white); font-family: var(--sans); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 850; line-height: 1; text-transform: uppercase; }
.home-plan-copy p { color: #e2f0f0; }
.plan-steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgb(255 255 255 / 30%); background: var(--navy); }
.plan-step { min-height: 10rem; padding: 1.25rem; border-right: 1px solid rgb(255 255 255 / 20%); }
.plan-step:last-child { border-right: 0; }
.plan-step span { color: var(--yellow); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.plan-step h3 { margin: .8rem 0 .45rem; color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 750; }
.plan-step p { margin: 0; color: #c4d2da; font-size: .8rem; }
.home-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.home-final-cta h2 { margin: 0; color: var(--navy); font-family: var(--sans); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
@keyframes hero-copy-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .home-hero-copy > * { animation: none; } }
@media (max-width: 900px) {
  .home-hero-grid { min-height: 31rem; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero-visual { min-height: 25rem; }
  .ribbon-item { gap: .6rem; padding-inline: .8rem; }
  .ribbon-icon { width: 2.2rem; height: 2.2rem; }
  .idea-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .home-hero-grid { grid-template-columns: 1fr; padding-block: 2.5rem; }
  .home-hero-copy { padding: 0; }
  .home-hero h1 { max-width: 12ch; font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero-visual { min-height: 19rem; }
  .hero-main { inset: 0 10% 8% 0; }
  .hero-small { width: 36%; height: 38%; }
  .hero-postcard { top: 7%; right: 1%; width: 32%; height: 29%; }
  .intro-ribbon { grid-template-columns: repeat(2, 1fr); }
  .ribbon-item:nth-child(2) { border-right: 0; }
  .ribbon-item:nth-child(-n + 2) { border-bottom: 1px solid rgb(255 255 255 / 17%); }
  .home-section-head { grid-template-columns: 1fr; gap: .75rem; }
  .home-section-head .eyebrow { grid-column: auto; margin-bottom: 0; }
  .home-destinations { grid-template-columns: 1fr; }
  .home-destinations .photo-frame { min-height: 13rem; }
  .home-about { grid-template-columns: 1fr; }
  .home-about-visual { min-height: 21rem; }
  .home-about-image { inset: 0 12% 8% 0; }
  .photo-about-map { right: 0; }
  .home-plan-inner { grid-template-columns: 1fr; }
  .plan-steps { grid-template-columns: 1fr; }
  .plan-step { min-height: auto; border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .plan-step:last-child { border-bottom: 0; }
  .home-final-cta { align-items: stretch; flex-direction: column; }
}
@media (max-width: 460px) {
  .home-hero .button-row { align-items: stretch; flex-direction: column; }
  .home-hero .button-row .button { width: 100%; }
  .idea-grid { grid-template-columns: 1fr; }
  .idea-card .photo-frame { min-height: 12rem; }
  .benefit-grid { grid-template-columns: 1fr; }
}
body[data-page="home"] .hero-main { animation: collage-main-in .65s .08s ease-out both; }
body[data-page="home"] .hero-small { animation: collage-small-in .55s .28s ease-out both; }
body[data-page="home"] .hero-postcard { animation: collage-postcard-in .55s .4s ease-out both; }
body[data-page="home"] .hero-main,
body[data-page="home"] .hero-small,
body[data-page="home"] .hero-postcard { transition: transform .25s ease; }
body[data-page="home"] .hero-visual:hover .hero-main { transform: rotate(-1deg) translateY(-2px); }
body[data-page="home"] .hero-visual:hover .hero-small { transform: rotate(2deg) translateY(-4px); }
body[data-page="home"] .hero-visual:hover .hero-postcard { transform: rotate(3deg) translateY(-3px); }
body[data-page="home"] .hero-note { animation: hero-note-in .45s .55s ease-out both; }
body[data-page="home"] .home-hero .button:hover span:last-child { transform: translateX(4px) rotate(-35deg); }
body[data-page="home"] .ribbon-item { transition: background-color .2s ease, padding-left .2s ease; }
body[data-page="home"] .ribbon-item:hover { padding-left: 1.8rem; background: var(--navy-light); }
body[data-page="home"] .home-destinations .card-body h3 { width: fit-content; }
body[data-page="home"] .home-destinations .card-body h3::after { display: block; width: 0; height: 2px; margin-top: .25rem; background: var(--yellow); content: ""; transition: width .22s ease; }
body[data-page="home"] .home-destinations .destination-card:hover h3::after,
body[data-page="home"] .home-destinations .destination-card:focus-within h3::after { width: 100%; }
@keyframes collage-main-in { from { opacity: 0; clip-path: inset(8% 0 0 8%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes collage-small-in { from { opacity: 0; clip-path: inset(0 0 12% 12%); } to { opacity: 1; clip-path: inset(0); } }
@keyframes collage-postcard-in { from { opacity: 0; clip-path: inset(10% 10% 0 0); } to { opacity: 1; clip-path: inset(0); } }
@keyframes hero-note-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-main,
  body[data-page="home"] .hero-small,
  body[data-page="home"] .hero-postcard,
  body[data-page="home"] .hero-note { animation: none; }
}
/* Full-viewport cinematic hero */
.home-hero--slider { min-height: calc(100svh - var(--hero-header-height, 126px)); display: flex; flex-direction: column; isolation: isolate; }
.home-hero--slider .hero-slides, .home-hero--slider .hero-slide, .hero-shade { position: absolute; inset: 0; }
.home-hero--slider .hero-slides { z-index: -3; background: #062b42; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease-in-out; overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 65% center; transform: scale(1.04); }
.hero-slide:is(.is-active, .is-leaving) img { animation: hero-film-drift 10s linear both; }
.hero-slide:nth-child(even):is(.is-active, .is-leaving) img { animation-name: hero-film-drift-reverse; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(2 19 29 / 89%) 0%, rgb(3 24 35 / 68%) 35%, rgb(3 24 35 / 15%) 72%), linear-gradient(0deg, rgb(2 19 29 / 75%), transparent 35%); }
.home-hero--slider .home-hero-grid { flex: 1; width: min(1400px, calc(100% - var(--gutter) * 2)); min-height: 0; display: flex; align-items: center; padding-block: clamp(3rem, 7vh, 6rem); }
.home-hero--slider .home-hero-copy { width: min(100%, 650px); padding: 0; }
.home-hero--slider h1 { font-size: clamp(3.1rem, 6vw, 6.2rem); }
.home-hero--slider .lead { max-width: 31rem; text-shadow: 0 1px 8px rgb(0 0 0 / 30%); }
.hero-slider-bottom { width: min(1400px, calc(100% - var(--gutter) * 2)); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-block: 0 2rem; }
.hero-location { display: grid; gap: .2rem; }
.hero-location-kicker { color: var(--yellow); font-size: .63rem; text-transform: uppercase; letter-spacing: .2em; }
.hero-location strong { color: white; font: 400 1.65rem var(--serif); }
.hero-location > span:last-child { color: #d9e5e9; font-size: .76rem; }
.hero-slider-controls, .hero-dots { display: flex; align-items: center; gap: .8rem; }
.hero-slider-controls button { cursor: pointer; color: white; background: transparent; border: 0; }
.hero-slider-controls .hero-arrow { width: 2.75rem; height: 2.75rem; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; font-size: 1.15rem; transition: background .2s; }
.hero-arrow:hover { background: rgb(255 255 255 / 15%); }
.hero-dot { display: grid; gap: .6rem; min-width: 2.5rem; min-height: 2.75rem; padding: .3rem 0; font-size: .7rem; opacity: .6; }
.hero-dot i { display: block; width: 100%; height: 2px; background: rgb(255 255 255 / 40%); }
.hero-dot[aria-pressed="true"] { opacity: 1; color: var(--yellow); }
.hero-dot[aria-pressed="true"] i { background: var(--yellow); }
.is-paused .hero-slide img { animation-play-state: paused; }
@keyframes hero-film-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.14) translateX(-1.5%); } }
@keyframes hero-film-drift-reverse { from { transform: scale(1.13) translateX(-1%); } to { transform: scale(1.04) translateX(0); } }
@media (min-width: 1600px) { .home-hero--slider .home-hero-copy { width: 660px; } }
@media (max-width: 680px) {
 .home-hero--slider { min-height: calc(100svh - var(--hero-header-height, 112px)); }
 .home-hero--slider .home-hero-grid { padding-block: 3rem 2rem; }
 .home-hero--slider h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
 .home-hero--slider .lead { font-size: .9rem; line-height: 1.65; }
 .hero-shade { background: linear-gradient(90deg, rgb(2 19 29 / 85%), rgb(2 19 29 / 35%)), linear-gradient(0deg, rgb(2 19 29 / 85%), transparent 70%); }
 .hero-slider-bottom { flex-direction: column; align-items: flex-start; gap: 1.3rem; padding-bottom: 1.5rem; }
 .hero-slider-controls { width: 100%; justify-content: space-between; gap: .4rem; }
 .hero-dots { flex: 1; justify-content: space-evenly; }
 .hero-location > span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero-slide.is-active img { animation: none; transform: none; } }

/* Match section frames to their generated image compositions. */
.home-destinations .photo-frame { min-height: 0; aspect-ratio: 4 / 3; }
.home-packages .idea-card .photo-frame { min-height: 0; aspect-ratio: 5 / 4; }
.home-about-visual { min-height: 0; aspect-ratio: 5 / 6; }
.home-about-image { inset: 0 12% auto 0; min-height: 0; aspect-ratio: 4 / 5; }
.photo-about-small { height: auto; min-height: 0; aspect-ratio: 1; }
.photo-about-map { height: auto; min-height: 0; aspect-ratio: 1; }
