/* Focused ALL BLUE updates, October 2026. */
.water-grid { display: flex; gap: 6px; overflow: visible; }
.water-grid .water-card {
  position: relative; flex: 1 1 0; min-width: 0; width: auto; height: clamp(330px, 43vw, 560px);
  margin: 0; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #0b2939;
  text-align: left; transition: flex-grow .85s cubic-bezier(.22,.68,.2,1); transition-delay: 0s !important;
}
.water-grid .water-card.is-active { flex-grow: var(--water-grow, 2); }
.water-grid .water-image { display: block; height: 100%; width: 100%; }
.water-grid .water-image img { width: 100%; height: 100%; object-fit: cover; transform: none; }
.water-grid .water-card::after {
  content: ''; position: absolute; inset: 35% 0 0; pointer-events: none;
  background: linear-gradient(0deg, #031722b8, transparent); opacity: 0;
  transition: opacity .75s ease;
}
.water-name {
  position: absolute; left: 12px; right: 12px; bottom: 28px; z-index: 1;
  font-size: clamp(20px, 2.5vw, 34px); font-weight: 550; text-align: center; color: white;
  opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .85s cubic-bezier(.22,.68,.2,1);
}
.water-card.is-active .water-name { opacity: 1; transform: translateY(0); }
.water-grid:not(.is-interactive) .water-name { opacity: 1; transform: none; }
.water-card.is-active::after { opacity: 1; }
.water-grid .water-card:focus-visible { outline-offset: 4px; }

.catch-scene { --catch-height: clamp(330px, 38vw, 480px); height: auto; }
.catch-scene .catch-sticky,
html[data-motion="on"] .catch-scene .catch-sticky {
  position: relative; top: auto; height: auto; min-height: 0; padding: 65px 0 55px;
}
.catch-scene .catch-heading { display: flex; align-items: center; }
.catch-scene .catch-window { overflow-x: auto; scroll-snap-type: none; }
/* Match the food strip: native bidirectional swipe and momentum alongside autoplay. */
html[data-motion="on"] .catch-scene .catch-window { overflow-x: auto; overflow-y: hidden; touch-action: auto; scroll-snap-type: none; }
.catch-scene .catch-track { display: flex; width: max-content; gap: 22px; padding: 0 max(56px,calc((100vw - 1200px)/2)); }
.catch-group { display: flex; flex: none; gap: 22px; }
.catch-scene .catch-photo { width: calc(var(--catch-height) * var(--photo-ratio, .75)); flex: none; }
.catch-scene .catch-photo img { width: 100%; height: var(--catch-height); object-fit: cover; object-position: center; border-radius: 18px; }
.catch-scene .catch-photo figcaption { padding-top: 14px; }
.catch-duplicate { display: none; }
html[data-motion="on"] .catch-duplicate { display: flex; }
html[data-motion="on"] .catch-track { animation: catch-glide var(--catch-duration, 220s) linear infinite; }
@keyframes catch-glide { to { transform: translate3d(calc(-1 * var(--catch-travel)),0,0); } }
.catch-window.is-offscreen .catch-track,
.catch-window.is-page-hidden .catch-track { animation-play-state: paused; }
.catch-scene .catch-window.is-manual,
html[data-motion="off"] .catch-scene .catch-window { overflow-x: auto; touch-action: pan-x pan-y; }
.catch-window.is-manual .catch-track { animation: none; transform: none; }
.catch-window.is-manual .catch-duplicate { display: none; }
.catch-pause-active { color: #8cf5ec; }
.ice-card .feature-photo { object-fit: cover; object-position: 50% 65%; }
.power-card .feature-photo { object-fit: cover; }

/* Fare and marina sections follow the normal page flow. */
.pricing { padding-top: 65px; padding-bottom: 45px; }
.pricing .price-card, .pricing .service-card {
  transition: opacity .8s ease, transform 1.15s cubic-bezier(.16,1,.3,1);
}
html[data-motion="on"] .pricing .trip-entry { opacity: 0; transform: translateY(65px); transition-delay: var(--trip-delay, 0ms); }
html[data-motion="on"] .pricing .trip-entry.is-inview { opacity: 1; transform: translateY(0); }
html[data-motion="off"] .pricing .trip-entry { opacity: 1; transform: none; transition: none; }
html[data-motion="off"] .water-grid .water-card,
html[data-motion="off"] .water-name,
html[data-motion="off"] .water-card::after { transition: none; }

@media (max-width: 760px) {
  .water-grid { display: flex; gap: 4px; margin-right: 0; padding-bottom: 0; }
  .water-grid .water-card { height: 340px; border-radius: 6px; }
  .water-grid .water-card.is-active { flex-grow: var(--water-grow, 2); }
  .water-name { font-size: 17px; bottom: 22px; left: 8px; right: 8px; line-height: 1.4; }
  .catch-scene { --catch-height: clamp(320px, 106vw, 440px); }
  .catch-scene .catch-sticky, html[data-motion="on"] .catch-scene .catch-sticky { padding: 45px 0 35px; }
  .catch-scene .catch-heading { gap: 10px; flex-wrap: wrap; }
  .catch-scene .catch-heading h2 { font-size: 34px; }
  .catch-heading .strip-controls { gap: 6px; }
  .catch-heading .strip-controls button { min-width: 36px; width: 36px; min-height: 36px; height: 36px; }
  .catch-scene .catch-track { padding: 0 22px; gap: 16px; }
  .catch-group { gap: 16px; }
  .catch-scene .catch-photo { max-width: none; }
  .pricing { padding-top: 55px; padding-bottom: 40px; }
}

/* 米米丸: a wider canvas, square landscapes and automatic photographic strips. */
:root { --page-max: 1600px; --page-gutter: clamp(22px, 3vw, 72px); --nav-height: 78px; }
.section-wrap, .hero-content { width: min(var(--page-max), calc(100% - 2 * var(--page-gutter))); }
.water-grid .water-card { height: var(--water-height, 30vw); }
.catch-scene { --catch-height: clamp(440px, calc(100svh - 235px), 680px); }
.catch-scene .catch-track { padding: 0 max(var(--page-gutter),calc((100vw - var(--page-max))/2)); }
.food-window.section-wrap { width: 100%; border-radius: 0; }
.food-track { padding-left: var(--page-gutter); }
.food-group img { height: clamp(360px, 32vw, 520px); width: auto; object-fit: cover; }
html[data-motion="on"] .food-track { animation-duration: var(--food-duration, 65s); }
.food-window:hover .food-track, .food-window:focus-within .food-track { animation-play-state: running; }
.food-window.is-offscreen .food-track, .food-window.is-page-hidden .food-track { animation-play-state: paused; }

.vessel-transition { position: relative; isolation: isolate; background: #071c29; }
.vessel-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 45px; padding: 85px 0 65px; }
.vessel-eyebrow { color: #a4c7d3; font-size: 14px; margin-bottom: 24px; letter-spacing: .12em; }
.vessel-heading h2 span { color: #83afba; }
.vessel-facts { display: flex; flex-wrap: wrap; gap: 12px; max-width: 480px; padding-bottom: 8px; }
.vessel-facts p { width: 100%; font-size: clamp(27px, 3vw, 46px); font-weight: 550; margin-bottom: 10px; letter-spacing: -.035em; }
.vessel-facts span { font-size: 14px; color: #b2d6dc; border: 1px solid #6b9b9d70; padding: 8px 14px; border-radius: 30px; }
.vessel-film { position: sticky; top: var(--nav-height); height: calc(100svh - var(--nav-height)); min-height: 360px; overflow: hidden; z-index: 1; background: #051d28; }
.vessel-poster { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
#vessel-player { position: absolute; inset: 0; }
iframe#vessel-player {
  inset: auto; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100%, calc((100svh - var(--nav-height)) * 16 / 9));
  height: max(100%, calc(100vw * 9 / 16)); max-width: none; border: 0;
  opacity: 0; transition: opacity .6s;
}
.vessel-film.has-video iframe#vessel-player { opacity: 1; }
.vessel-film-caption { position: absolute; left: var(--page-gutter); right: var(--page-gutter); bottom: 25px; display: flex; justify-content: space-between; gap: 15px; align-items: center; font-size: 13px; color: #fff; z-index: 2; }
.vessel-film-caption span, .vessel-film-caption a { padding: 8px 12px; border-radius: 5px; background: #03151ec7; }
.vessel-film-caption a { text-decoration: underline; text-underline-offset: 3px; }
.vessel-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; display: grid; place-content: center; width: 80px; height: 80px; border-radius: 50%; background: #06172270; color: #fff; box-shadow: 0 8px 35px #03172230; }
.vessel-play > span:first-child { font-size: 32px; line-height: 1; margin-left: 5px; }
.vessel-film:not(.has-video) iframe#vessel-player { pointer-events: none; }
.vessel-transition .equipment { position: relative; z-index: 2; margin-top: 40svh; background: #f5f8fa; box-shadow: 0 -18px 65px #03172245; }

/* White fares contrast with the original blue marina; food joins the dark sections. */
.pricing { background: #fff; }
.pricing .price-card, .pricing .charter-price { background: #fff; border-color: #dce4e8; color: #12394b; }
.pricing .price-card > p, .pricing .price-card h3 small { color: #607582; }
.pricing .price-note, .pricing .charter-price .price-note { color: #607582; }
.pricing .section-heading p { color: #607582; }
.pricing .photo-service::after { background: linear-gradient(90deg,#0c151be0,#18222980 70%,#18222930),linear-gradient(0deg,#0b141acc,transparent 70%); }
.pricing .photo-service p, .pricing .photo-service .service-price > span { color: #e1e9ed; }
.taste { background: #061722; color: #f6f9fb; }
.taste h2 span { color: #93adbc; }
.taste .section-heading p { color: #b0c5d0; }
.taste .food-group figure { background: #0e2c3c; }
@media (max-width: 760px) {
  :root { --nav-height: 68px; --page-gutter: 22px; }
  .water-grid { overflow-x: auto; gap: 12px; padding: 5px 0; scroll-snap-type: x proximity; }
  .water-grid .water-card { height: var(--water-height, 75vw); flex: 0 0 var(--water-height, 75vw); scroll-snap-align: start; transition: flex-basis .85s cubic-bezier(.22,.68,.2,1); }
  .water-grid .water-card.is-active { flex: 0 0 calc(var(--water-height, 75vw) * var(--water-ratio, 1.5)); }
  .water-name { font-size: 20px; bottom: 20px; }
  .catch-scene { --catch-height: clamp(400px, 130vw, 600px); }
  .catch-scene .catch-track { padding: 0 var(--page-gutter); }
  .food-group img { height: clamp(320px, 100vw, 420px); }
  .vessel-heading { display: block; padding: 55px 0 40px; }
  .vessel-heading h2 { font-size: 42px; }
  .vessel-facts { margin-top: 32px; gap: 8px; }
  .vessel-facts span { font-size: 12px; padding: 7px 11px; }
  .vessel-film-caption { flex-direction: column; align-items: flex-start; font-size: 11px; bottom: 18px; gap: 7px; }
  .vessel-film { width: 100%; height: auto; min-height: 200px; aspect-ratio: 4 / 3; }
  .vessel-poster { position: absolute; inset: 0; }
  iframe#vessel-player { inset: auto; top: 50%; left: 50%; width: calc(100% * 64 / 45); height: 100%; max-width: none; transform: translate(-50%, -50%); }
  .vessel-film-caption { left: auto; right: 12px; bottom: 10px; font-size: 10px; }
  .vessel-film-caption > span, .vessel-film.has-video .vessel-film-caption { display: none; }
  .vessel-transition .equipment { margin-top: 0; }
}

.vessel-video-status { position: absolute; top: calc(50% + 55px); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 8px; color: #fff; background: #061722cf; font-size: 13px; text-align: center; z-index: 3; }
.vessel-video-status[hidden], .vessel-play[hidden] { display: none; }

/* Gallery spacing follows the landscape and equipment sections. */
:root {
  --gallery-section-space: 100px;
  --gallery-heading-gap: 55px;
}
.catch-scene .catch-sticky,
html[data-motion="on"] .catch-scene .catch-sticky,
.taste {
  padding: var(--gallery-section-space) 0;
}
.catch-scene .catch-heading,
.taste .section-heading {
  margin-bottom: var(--gallery-heading-gap);
}
.catch-scene .catch-heading h2,
.taste h2 {
  font-size: clamp(38px, 5.6vw, 80px);
  line-height: 1.18;
}
@media (max-width: 760px) {
  :root {
    --gallery-section-space: 65px;
    --gallery-heading-gap: 35px;
  }
}

/* Landscape cards expand horizontally without the old hover lift. */
.water-grid { align-items: stretch; }
.water-grid .water-card,
.water-grid .water-card:hover,
.water-grid .water-card.is-active {
  transform: none;
}

/* Frame the lower half of the supplied marina photo without resampling it. */
.marina-panorama > .marina-user-photo {
  position: absolute;
  inset: auto 0 0;
  width: 100%; height: 200%;
  object-fit: cover; object-position: 50% 100%;
  transform: none; will-change: auto;
}

.brand-logo { display: block; width: 44px; height: 44px; flex: none; object-fit: contain; }
footer .brand-logo { width: 36px; height: 36px; }
@media (max-width:760px) { .header .brand-logo { width: 38px; height: 38px; } footer .brand-logo { width: 32px; height: 32px; } }
