/* ==========================================================================
   Home, 2026 "Homepage v2" design (1 Dec 2026). Loaded on the front page in
   place of home.css. Markup: template-parts/home-v2.php.
   Ink #23282E on paper #F4F1E9; Jost for text, Cormorant for display.
   ========================================================================== */

body.home-v2 { background: #F4F1E9; }
body.home-v2 .intro { background: #23282E; }

.hv2 {
  --ink: #23282E; --ink-soft: #4A4F55; --paper: #F4F1E9; --paper-dim: #D9D5CC;
  --grey: #6B6E72; --body: #55585C; --line: rgba(35, 40, 46, .15);
  --sans: 'Jost', 'Cabin', system-ui, sans-serif;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --pad: clamp(20px, 4vw, 56px);
  font-family: var(--sans); color: var(--ink); background: var(--paper);
  overflow-x: clip;
}
.hv2 a { color: inherit; }
.hv2 img { display: block; max-width: 100%; }
/* :where() keeps this reset weaker than every rule below it. */
.hv2 :where(p, h1, h2, h3, dl, dd, figure) { margin: 0; }

.hv2-eyebrow {
  font-family: var(--sans); font-weight: 400; font-size: 11.5px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey);
}

/* Buttons */
.hv2-btn {
  display: inline-flex; align-items: center; gap: 14px; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 11.5px; line-height: 1;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 15px 26px; border: 1px solid var(--ink); border-radius: 0;
  background: transparent; color: var(--ink);
}
.hv2 a.hv2-btn { color: var(--ink); }
.hv2-btn:hover, .hv2-btn:focus-visible, .hv2 a.hv2-btn:hover { background: var(--ink); color: var(--paper); }
.hv2-btn--fill, .hv2 a.hv2-btn--fill { background: var(--ink); color: var(--paper); }
.hv2-btn--fill:hover, .hv2-btn--fill:focus-visible, .hv2 a.hv2-btn--fill:hover { background: var(--ink-soft); border-color: var(--ink-soft); color: var(--paper); }
.hv2-btn--small { font-size: 11px; padding: 13px 24px; gap: 12px; }
.hv2-btn--send { letter-spacing: 3px; padding: 16px 36px; }
.hv2-btn--toggle { padding: 16px 30px; }
.hv2-btn--toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.hv2-caret {
  display: block; width: 7px; height: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s;
}
.hv2-btn--toggle[aria-expanded="true"] .hv2-caret { transform: translateY(2px) rotate(-135deg); }

/* Prev / Next */
.hv2-pager { display: flex; align-items: center; gap: 26px; font-family: var(--sans); font-size: 11px; letter-spacing: 3px; }
.hv2-pager button {
  display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer;
  background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: uppercase;
}
.hv2-pager button:hover { opacity: .7; }
.hv2-pager__rule { width: 1px; height: 18px; background: currentColor; opacity: .4; }
.hv2-pager--light { color: var(--paper); }
.hv2-pager--dark { color: var(--ink); }
.hv2-chev { display: block; width: 8px; height: 8px; transform: rotate(45deg); }
.hv2-chev--l { border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.hv2-chev--r { border-right: 1px solid currentColor; border-top: 1px solid currentColor; }

/* --- Hero ----------------------------------------------------------------- */

.hv2-hero {
  position: relative; height: 100vh; min-height: 760px; color: #fff;
  background-color: #1c2630; background-position: center 18%; background-size: cover; background-repeat: no-repeat;
}
.hv2-hero__copy {
  position: absolute; left: 0; right: 0; top: 55%; transform: translateY(-50%);
  text-align: center; z-index: 2; padding: 0 24px;
}
.hv2-hero__clock { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 2vw, 27px); margin-bottom: 16px; opacity: .92; }
.hv2-hero__kicker { font-weight: 500; font-size: 13px; letter-spacing: 6px; text-transform: uppercase; margin-bottom: 24px; opacity: .95; }
.hv2-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(52px, 7.5vw, 100px); line-height: 1.02; margin-bottom: 26px; color: #fff; }
.hv2-hero__lede { font-weight: 300; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; max-width: 540px; margin: 0 auto; opacity: .92; }
.hv2-hero__facts { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 50px; }
.hv2-hero__facts > div { padding: 0 36px; }
.hv2-hero__facts > div + div { border-left: 1px solid rgba(255, 255, 255, .28); }
.hv2-hero__facts dt { font-weight: 500; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; opacity: .72; margin-bottom: 9px; }
.hv2-hero__facts dd { font-family: var(--serif); font-size: 24px; line-height: 1; }
.hv2-hero__facts dd.is-text { font-size: 21px; }
.hv2-hero__cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3;
  padding: 6px 18px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
}
.hv2 a.hv2-hero__cue { color: #fff; }
.hv2-hero__cue span { display: block; font-family: var(--serif); font-weight: 300; font-size: 46px; line-height: 1; transform: rotate(90deg); }

/* --- Welcome -------------------------------------------------------------- */

.hv2-welcome { text-align: center; padding: clamp(100px, 12vw, 160px) var(--pad); }
.hv2-welcome__inner { max-width: 1240px; margin: 0 auto; }
.hv2-welcome .hv2-eyebrow { margin-bottom: 30px; }
.hv2-welcome__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(42px, 5vw, 70px); line-height: 1.08; margin: 0 auto 40px; color: var(--ink); }
.hv2-rule { width: 56px; height: 1px; background: var(--ink); opacity: .35; margin: 0 auto 40px; }
.hv2-welcome__body { font-weight: 300; font-size: 18px; line-height: 1.9; color: var(--body); margin: 0 auto 22px; max-width: 1180px; text-wrap: pretty; }
.hv2-welcome__body + .hv2-welcome__by { margin: 48px 0 0; }

/* --- Beach slider --------------------------------------------------------- */

.hv2-beach { padding: 0 var(--pad); }
.hv2-beach__frame { position: relative; max-width: 1600px; margin: 0 auto; height: clamp(360px, 58vw, 740px); overflow: hidden; color: var(--paper); background: var(--paper-dim); }
.hv2-beach__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hv2-beach__slide.is-on { opacity: 1; }
.hv2-beach__slide img { width: 100%; height: 100%; object-fit: cover; }
.hv2-beach__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 27, 30, 0) 55%, rgba(24, 27, 30, .6) 100%); pointer-events: none; }
.hv2-beach__bar {
  position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 36px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.hv2-beach__count { font-size: 10px; letter-spacing: 2.5px; opacity: .85; margin-bottom: 6px; }
.hv2-beach__cap { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; line-height: 1.4; }

/* --- Amenities ------------------------------------------------------------ */

.hv2-am {
  max-width: 1600px; margin: 0 auto; padding: clamp(90px, 11vw, 140px) clamp(20px, 4vw, 64px);
  display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 820px);
  justify-content: space-between; gap: clamp(40px, 6vw, 110px); align-items: start;
}
.hv2-am__rail { position: sticky; top: clamp(90px, 14vh, 140px); }
.hv2-am__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; margin: 0 0 clamp(32px, 3.5vw, 48px); color: var(--ink); text-wrap: pretty; }
.hv2-am__jump { border-top: 1px solid var(--line); }
.hv2-am__jump a { display: flex; align-items: center; gap: 18px; padding: 16px 0; color: #A5A8AB; transition: color .4s; }
.hv2-am__jump a img { width: 24px; height: 24px; object-fit: contain; flex: none; opacity: .45; transition: opacity .4s; }
.hv2-am__jump a span { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 30px); line-height: 1.1; }
.hv2-am__jump a.is-on, .hv2-am__jump a:hover { color: var(--ink); }
.hv2-am__jump a.is-on img, .hv2-am__jump a:hover img { opacity: 1; }

.hv2-am__list { display: flex; flex-direction: column; gap: clamp(80px, 10vw, 140px); }
.hv2-am__item { scroll-margin-top: 110px; }
.hv2-am__fig { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-dim); }
.hv2-am__fig img { width: 100%; height: 100%; object-fit: cover; }
.hv2-am__fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 27, 30, 0) 70%, rgba(24, 27, 30, .5) 100%); }
.hv2-am__fig figcaption { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--paper); }
.hv2-am__head { display: flex; align-items: center; gap: 18px; margin: 34px 0 18px; font-weight: 400; }
.hv2-am__head img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.hv2-am__head span { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 38px); line-height: 1.1; color: var(--ink); }
.hv2-am__body { font-weight: 300; font-size: 17px; line-height: 1.85; color: var(--body); max-width: 600px; }
.hv2-am__body + .hv2-am__body { margin-top: 18px; }
.hv2-am__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 600px; }
.hv2-am__facts dt { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 6px; }
.hv2-am__facts dd { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--ink); }
.hv2-am__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* --- Cards ---------------------------------------------------------------- */

.hv2-cards { padding: clamp(80px, 10vw, 120px) 0; }
.hv2-cards__head { text-align: center; margin: 0 auto 44px; padding: 0 24px; }
.hv2-cards__head .hv2-eyebrow { margin-bottom: 18px; }
.hv2-cards__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; color: var(--ink); }
.hv2-cards__track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad) 6px; scroll-padding-left: var(--pad); scroll-behavior: smooth;
}
.hv2-cards__track::-webkit-scrollbar { display: none; }
.hv2-card { display: block; flex: 0 0 max(270px, calc((100vw - var(--pad) - 96px) / 4)); scroll-snap-align: start; color: var(--ink); }
.hv2-card__pic { position: relative; display: block; aspect-ratio: 5 / 7; overflow: hidden; background: var(--paper-dim); }
.hv2-card__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease; }
.hv2-card:hover .hv2-card__pic img { transform: scale(1.05); }
.hv2-card__pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 27, 30, 0) 65%, rgba(24, 27, 30, .55) 100%); pointer-events: none; }
.hv2-card__cap { position: absolute; left: 24px; bottom: 22px; z-index: 1; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--paper); }
.hv2-card__label { display: block; margin: 26px 0 10px; }
.hv2-card__line { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.25; color: var(--ink); }
.hv2-cards__pager { justify-content: center; margin-top: 36px; }

/* --- Share your day ------------------------------------------------------- */

.hv2-share { background: #E9E6DF; padding: clamp(64px, 8vw, 96px) var(--pad); scroll-margin-top: 80px; }
.hv2-share__head { max-width: 760px; margin: 0 auto; text-align: center; }
.hv2-share__head .hv2-eyebrow { margin-bottom: 16px; }
.hv2-share__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; margin: 0 0 30px; color: var(--ink); }
.hv2-share__tabs { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hv2-share__note { max-width: 760px; margin: 40px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--ink); }
.hv2-share__note.is-error { font-family: var(--sans); font-style: normal; font-size: 15px; color: #8a2f1f; }
.hv2-share__form { max-width: 760px; margin: 36px auto 0; padding: clamp(28px, 4vw, 48px); background: var(--paper); display: grid; gap: 28px; text-align: left; position: relative; }
.hv2-share__form[hidden] { display: none; }
.hv2-flabel { display: block; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); margin-bottom: 12px; padding: 0; }
.hv2-share__form label { display: block; margin: 0; }
.hv2-share__form input[type="text"], .hv2-share__form input[type="email"], .hv2-share__form textarea {
  width: 100%; background: #fff; border: 0; border-radius: 0; padding: 14px 16px;
  font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); outline: none;
}
.hv2-share__form input:focus-visible, .hv2-share__form textarea:focus-visible { outline: 1px solid var(--ink); }
.hv2-share__form textarea { resize: vertical; }
.hv2-share__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.hv2-share__pick { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hv2-share__pick label.hv2-btn { display: inline-flex; position: relative; }
.hv2-share__pick input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.hv2-share__pick label.hv2-btn > span { font-size: 15px; line-height: 1; font-weight: 300; }
.hv2-share__hint { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey); }
.hv2-share__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 18px; }
.hv2-share__thumbs[hidden] { display: none; }
.hv2-share__thumbs span { display: block; aspect-ratio: 1 / 1; background-size: cover; background-position: center; background-color: var(--paper-dim); }
.hv2-check { display: flex !important; gap: 14px; align-items: flex-start; cursor: pointer; }
.hv2-check input { flex: none; appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 3px 0 0; border: 1px solid var(--ink); border-radius: 0; background: transparent; cursor: pointer; position: relative; }
.hv2-check input:checked { background: var(--ink); }
.hv2-check input:checked::after { content: ''; position: absolute; left: 5px; top: 1.5px; width: 4px; height: 8px; border-right: 1.5px solid var(--paper); border-bottom: 1.5px solid var(--paper); transform: rotate(45deg); }
.hv2-check span { font-weight: 300; font-size: 13px; line-height: 1.7; color: var(--body); }
.hv2-stars { border: 0; padding: 0; margin: 0; min-width: 0; }
.hv2-stars__row { display: inline-flex; flex-direction: row-reverse; gap: 10px; }
.hv2-stars__row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hv2-stars__row label { cursor: pointer; font-size: 22px; line-height: 1; color: rgba(35, 40, 46, .25); }
.hv2-stars__row input:checked ~ label, .hv2-stars__row label:hover, .hv2-stars__row label:hover ~ label { color: var(--ink); }
.hv2-stars__row input:focus-visible + label { outline: 1px solid var(--ink); outline-offset: 3px; }

/* --- Big image ------------------------------------------------------------ */

.hv2-big { height: clamp(420px, 70vh, 760px); background-color: var(--paper-dim); background-position: center 40%; background-size: cover; background-repeat: no-repeat; }

/* --- Narrow screens ------------------------------------------------------- */

@media (max-width: 900px) {
  .hv2-hero { min-height: 680px; }
  .hv2-hero__copy { top: 54%; }
  .hv2-hero__kicker { font-size: 11px; letter-spacing: 4px; }
  .hv2-hero__facts { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 0; max-width: 360px; margin-inline: auto; }
  .hv2-hero__facts > div { padding: 0 12px; }
  .hv2-hero__facts > div:nth-child(odd) { border-left: 0; }
  .hv2-hero__facts dd, .hv2-hero__facts dd.is-text { font-size: 19px; line-height: 1.2; }
  .hv2-welcome__body { font-size: 16.5px; }
  .hv2-am { grid-template-columns: minmax(0, 1fr); }
  .hv2-am__rail { position: static; }
  .hv2-am__jump { display: none; }
  .hv2-am__title { margin-bottom: 0; }
  .hv2-am__body { font-size: 16px; }
  .hv2-beach__bar { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv2-beach__slide, .hv2-card__pic img { transition: none; }
  .hv2-cards__track { scroll-behavior: auto; }
}
