/* Ocean Breeze Villa: home page film hero + restaurant, surf and "closest to the sea" sections. Built by Revmonic. */

/* ================= film hero ================= */
.hero--film { background: #08264d; min-height: max(680px, 100svh); isolation: isolate; }
.hf__media { position: absolute; inset: 0; z-index: -2; overflow: clip; background: #08264d; }
.hf__media picture { position: absolute; inset: 0; display: block; }
.hf__poster, .hf__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hf__poster { transform: none; }
.hf__video { opacity: 0; transition: opacity 1.4s ease; }
.hf__video.is-on { opacity: 1; }
.hf__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 38, 77, 0.62) 0%, rgba(8, 38, 77, 0) 24%),
    linear-gradient(0deg, rgba(8, 38, 77, 0.9) 0%, rgba(8, 38, 77, 0.58) 34%, rgba(8, 38, 77, 0) 68%),
    linear-gradient(90deg, rgba(8, 38, 77, 0.5) 0%, rgba(8, 38, 77, 0) 62%);
}
.hero--film .hero__grid { display: block; padding-top: clamp(104px, 14vh, 160px); padding-bottom: clamp(140px, 27vh, 260px); }
.hero--film .hero__copy { max-width: 900px; }
.hero--film .eyebrow { background: var(--sun); color: var(--ink); padding: 7px 14px; border-radius: 999px; }
.hero--film .eyebrow:after { display: none; }
.hero--film h1 { color: #fff; font-size: clamp(2.8rem, min(1rem + 6.6vw, 14vh), 7.6rem); line-height: 0.95; text-shadow: 0 2px 34px rgba(8, 38, 77, 0.5); margin: 22px 0 22px; }
.hero--film h1 mark { color: var(--deep); }
.hero--film h1 mark em { color: var(--deep); }
.hero--film h1 mark:before { inset: 10% -0.14em -0.02em -0.16em !important; transform: rotate(-1.4deg) scaleX(1) !important; transition: none !important; animation: hf-swipe 0.9s var(--ease) 1.1s both; }
@keyframes hf-swipe { from { transform: rotate(-1.4deg) scaleX(0); } to { transform: rotate(-1.4deg) scaleX(1); } }
.hero--film .lead { color: rgba(255, 255, 255, 0.94); max-width: 40ch; text-shadow: 0 1px 18px rgba(8, 38, 77, 0.5); }
.hero--film .text-link { color: #fff; background-image: linear-gradient(var(--sun), var(--sun)); }
.hero--film .hero__ctas { margin-top: 14px; }
.hf__tags { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hf__tags a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--wobble-s); border: var(--line) solid var(--ink);
  background: var(--card); color: var(--ink); font-weight: 700; font-size: 0.86rem; box-shadow: var(--hard-s); transition: transform 0.4s var(--bounce), box-shadow 0.3s;
}
.hf__tags li:nth-child(1) a { transform: rotate(-2deg); }
.hf__tags li:nth-child(2) a { transform: rotate(1.4deg); background: var(--foam); }
.hf__tags li:nth-child(3) a { transform: rotate(-1deg); background: var(--sun); }
.hf__tags a:hover { transform: rotate(0) translateY(-3px); box-shadow: 5px 6px 0 var(--ink); }
.hero--film .hero__proof { margin-top: 18px; }
.hero--film .hero__proof .score-chip { transform: none; background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.4); box-shadow: none; color: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--film .hero__proof .score-chip:last-child { background: rgba(255, 255, 255, 0.14); }
.hero--film .hero__proof .score-chip strong { color: #fff; }
.hero--film .hero__proof .score-chip b { background: var(--sun); color: var(--ink); }
.hero--film .hero__scroll { color: #fff; }

/* header sits on the photo: white until the page scrolls */
html:has(.hero--film) .hdr:not(.is-scrolled) .brand__name,
html:has(.hero--film) .hdr:not(.is-scrolled) .brand__name small,
html:has(.hero--film) .hdr:not(.is-scrolled) .nav a,
html:has(.hero--film) .hdr:not(.is-scrolled) .menu-btn { color: #fff; }
html:has(.hero--film) .hdr:not(.is-scrolled) .brand__name { text-shadow: 0 1px 14px rgba(8, 38, 77, 0.5); }
html:has(.hero--film) .hdr:not(.is-scrolled) .nav a { text-shadow: 0 1px 12px rgba(8, 38, 77, 0.55); }
html:has(.hero--film).has-sheet .hdr .brand__name, html:has(.hero--film).has-sheet .hdr .menu-btn { color: var(--ink); text-shadow: none; }

@media (max-width: 899px) {
  .hero--film { min-height: max(640px, 100svh); }
  .hero--film .hero__grid { padding-top: 104px; padding-bottom: clamp(120px, 20vh, 190px); }
  .hero--film h1 { font-size: clamp(2.7rem, 1rem + 11vw, 4.6rem); }
}
@media (max-height: 780px) and (min-width: 900px) { .hero--film .hero__proof { display: none; } }
@media (max-width: 420px) { .hf__tags a { min-height: 36px; padding: 0 12px; font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) { .hero--film h1 mark:before { animation: none; } }
@media (max-width: 1180px) and (min-width: 900px) { .nav { gap: 20px !important; } .nav a { font-size: 0.9rem; } }

/* ================= shared photo frames ================= */
.v2-ph { margin: 0; position: relative; border: var(--line) solid var(--ink); border-radius: var(--r-m); overflow: hidden; background: var(--card); box-shadow: var(--hard); }
.v2-ph img { display: block; width: 100%; height: auto; }
.v2-ph figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-family: var(--f-hand); font-size: 1.15rem; line-height: 1.1; box-shadow: var(--hard-s); }
.v2-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.v2-note { margin: 10px 0 0; font-size: 0.82rem; opacity: 0.7; }

/* ================= restaurant ================= */
.v2-eat { overflow: clip; padding-block: clamp(64px, 7vw, 120px); }
.v2-eat__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.v2-eat__media { position: relative; padding-bottom: 18%; }
.v2-eat .v2-ph { border-color: var(--sun); box-shadow: 6px 6px 0 var(--sky); background: var(--deep); }
.v2-eat .v2-ph--l { width: 90%; transform: rotate(-1.2deg); }
.v2-eat .v2-ph--s { position: absolute; right: 0; bottom: 0; width: 38%; transform: rotate(3deg); }
.v2-eat h2 { font-size: var(--t-d1); color: #fff; margin: 18px 0 20px; }
.v2-eat h2 em { color: var(--sun); }
.v2-eat .lead { color: var(--on-dark-soft); }
.v2-menu { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-menu li { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.26); font-weight: 650; font-size: 0.9rem; color: #fff; }
.v2-eat .text-link { color: #fff; }
@media (min-width: 900px) { .v2-eat__grid { grid-template-columns: 1.15fr 1fr; } }

/* ================= surf ================= */
.v2-surf { overflow: clip; background: linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%); padding-block: clamp(64px, 7vw, 120px); }
.v2-surf__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.v2-surf h2 { font-size: var(--t-d1); margin: 18px 0 20px; }
.v2-quotes { display: grid; gap: 14px; margin-top: 26px; }
.v2-quote { margin: 0; padding: 16px 20px; background: var(--card); border: var(--line) solid var(--ink); border-radius: var(--wobble-s); box-shadow: var(--hard-s); transform: rotate(-0.8deg); max-width: 460px; }
.v2-quote--b { transform: rotate(0.9deg); margin-left: clamp(0px, 4vw, 36px); background: var(--foam); }
.v2-quote p { margin: 0; font-family: var(--f-display); font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.v2-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.v2-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 26px; }
.v2-facts div { display: grid; gap: 2px; }
.v2-facts b { font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--navy); font-weight: 600; }
.v2-facts span { font-size: 0.82rem; color: var(--ink-soft); }
.v2-surf__media { position: relative; padding-bottom: 22%; }
.v2-surf .v2-ph--l { width: 92%; transform: rotate(1.2deg); }
.v2-surf .v2-ph--a { position: absolute; left: -2%; bottom: 0; width: 30%; transform: rotate(-4deg); }
.v2-surf .v2-ph--b { position: absolute; right: 0; bottom: 4%; width: 30%; transform: rotate(3deg); }
@media (min-width: 900px) { .v2-surf__grid { grid-template-columns: 1fr 1.15fr; } }
@media (max-width: 899px) { .v2-surf__media { order: -1; } }

/* ================= rooms: closest to the sea ================= */
.v2-edge { display: grid; gap: clamp(20px, 3vw, 36px); align-items: center; margin: clamp(8px, 2vw, 24px) 0 clamp(36px, 5vw, 64px); padding-inline: var(--gutter); max-width: var(--max); margin-inline: auto; }
.v2-edge .v2-ph--e1 { transform: rotate(-1.4deg); }
.v2-edge .v2-ph--e2 { transform: rotate(1.6deg); }
.v2-edge__big { font-family: var(--f-display); font-size: var(--t-d2); line-height: 1; color: var(--deep); margin: 0 0 14px; text-wrap: balance; }
.v2-edge__big em { font-style: italic; color: var(--ocean); }
.v2-edge__copy p:not(.v2-edge__big) { color: var(--ink-soft); max-width: 44ch; margin: 0 0 20px; line-height: 1.6; }
@media (min-width: 900px) { .v2-edge { grid-template-columns: 0.9fr 1.1fr 0.8fr; } }
@media (max-width: 899px) { .v2-edge .v2-ph--e1 { width: min(78%, 380px); } .v2-edge .v2-ph--e2 { width: min(64%, 300px); margin-left: auto; } }

/* keep the two strip photos from getting too tall */
.v2-edge .v2-ph--e1 img, .v2-edge .v2-ph--e2 img { aspect-ratio: 3 / 4; object-fit: cover; }
.v2-eat .v2-ph--s figcaption { font-size: 1rem; }
@media (max-width: 899px) { .v2-eat .v2-ph--s figcaption { display: none; } }

/* calmer hero: lower wave strip, text a bit lower */
.hero--film .hero__waves { --wh: clamp(110px, 17vh, 190px) !important; }
.hero--film .hero__grid { padding-bottom: clamp(110px, 20vh, 200px); }

/* welcome pass (30 Nov 2026): waves sunk to a thin crest at the bottom edge, fewer things on the photo, calm mobile layout */
.hero--film .hero__waves { --wh: clamp(84px, 11vh, 130px) !important; transform: translateY(34%); }
.hero--film .hero__scroll { display: none; }
.hero--film .hero__grid { padding-bottom: clamp(70px, 12vh, 130px); }
.hero--film .hero__copy { max-width: 760px; }
.hf__shade {
  background:
    linear-gradient(180deg, rgba(8, 38, 77, 0.5) 0%, rgba(8, 38, 77, 0) 22%),
    linear-gradient(0deg, rgba(8, 38, 77, 0.78) 0%, rgba(8, 38, 77, 0.4) 30%, rgba(8, 38, 77, 0) 60%),
    linear-gradient(90deg, rgba(8, 38, 77, 0.42) 0%, rgba(8, 38, 77, 0) 58%);
}
.hero--film h1 { font-size: clamp(2.6rem, min(1rem + 5.4vw, 12vh), 6.4rem); margin: 18px 0 18px; }
@media (min-width: 900px) { .hdr .nav a:nth-child(5), .hdr .nav a:nth-child(6) { display: none; } }
@media (max-width: 899px) {
  .hero--film { min-height: 100svh; }
  .hero--film .hero__grid { padding-top: 96px; padding-bottom: clamp(84px, 14vh, 120px); }
  .hero--film .hero__copy { max-width: 100%; }
  .hero--film h1 { font-size: clamp(2.5rem, 0.8rem + 10.5vw, 4rem); line-height: 1; }
  .hero--film .lead { font-size: 1.02rem; max-width: 30ch; }
  .hero--film .hero__ctas { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero--film .btn--sun { min-height: 52px; }
  .hero--film .hero__waves { --wh: clamp(64px, 9vh, 96px) !important; transform: translateY(40%); }
  .hf__shade { background: linear-gradient(180deg, rgba(8,38,77,.5) 0%, rgba(8,38,77,0) 22%), linear-gradient(0deg, rgba(8,38,77,.85) 0%, rgba(8,38,77,.5) 45%, rgba(8,38,77,.1) 75%); }
}

/* audit pass (30 Nov 2026, ui-ux-pro-max checklist): readable menu button, 44px tap targets, no tiny text */
html:has(.hero--film) .hdr:not(.is-scrolled) .menu-btn, html:has(.hero--film).has-sheet .hdr .menu-btn { color: var(--ink) !important; text-shadow: none !important; }
.dots button { position: relative; }
.dots button:after { content: ""; position: absolute; inset: -18px -9px; }
.stepper button, [data-step] { min-width: 44px; min-height: 44px; }
.ftr a:not(.brand), .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.ftr li { margin-block: 0; }
.brand__name small { font-size: 0.7rem; }
@media (max-width: 899px) { .hero--film .hero__ctas .text-link { padding-block: 10px; background-position: 0 calc(100% - 8px); } }

/* restaurant: three dish photos */
.v2-dishes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 38px}
.v2-dishes figure{margin:0}
.v2-dishes img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:14px}
.v2-dishes figcaption{margin-top:8px;font-size:.82rem;line-height:1.3;opacity:.85}

/* first stat card: keep its inner padding like the other three */
.stats .stat:first-child{padding-left:20px!important}
