/* The Stay + Amenities pages, restyled after the Abodia "About" templates (v1, v2, v3).
   Layout ideas: giant page word on a full-bleed hero, a ticker of tall photos, a statement + stats + photo collage,
   three mission cards, a dark horizontal journey, a fan of tilted cards, an amenities list that shows a photo on hover,
   and a closing call to action ringed by a photo collage. Colours and fonts are Peacock's own (see peacock.css / webflow.css).
   Behaviour is in scripts/components/abodia-pages.js. Every block is prefixed "ab-". */

:root { --ab-ink: #1c1c1a; --ab-green: #2c3a2e; --ab-cream: #f5efe6; --ab-sage: #777b67; --ab-display: var(--_font-family---secondary-font, "Inter Tight", sans-serif); --ab-body: var(--_font-family---primary-font, Rubik, sans-serif); }

.ab-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ab-body); font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ab-eyebrow i { width: 7px; height: 7px; background: currentColor; }
.ab-h2 { margin: 0; font-family: var(--ab-display); font-size: clamp(34px, 4.6vw, 62px); font-weight: 400; line-height: 1.06; letter-spacing: -.03em; }
.ab-p { margin: 0; font-family: var(--ab-body); font-size: 16px; line-height: 1.65; }
.ab-wrap { max-width: 90rem; margin: 0 auto; padding: 0 1.5rem; }
.ab-head { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; max-width: 52rem; margin: 0 auto 4rem; text-align: center; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .6rem 1.6rem; border-radius: 8px; background: var(--ab-green); color: #fff; font-family: var(--ab-body); font-size: 15px; font-weight: 500; text-decoration: none; transition: background-color .35s, color .35s, transform .35s; }
.ab-btn:hover { background: var(--ab-sage); transform: translateY(-2px); }
.ab-btn.light { background: #fff; color: var(--ab-green); }
.ab-btn.light:hover { background: var(--ab-sage); color: #fff; }

/* reveal on scroll */
[data-ab-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
[data-ab-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-ab-reveal], .ab-static [data-ab-reveal] { opacity: 1; transform: none; }

/* ---------- 1. hero with the giant page word (about-v1) ---------- */
.ab-hero { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 92vh; padding: 7.5rem 2rem 0; overflow: hidden; color: #fff; background: #1c1c1a center / cover no-repeat; }
.ab-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 10, .55), rgba(10, 14, 10, .15) 45%, rgba(10, 14, 10, .45)); }
.ab-hero .ab-hero-tag { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.ab-hero-tag { position: relative; z-index: 2; max-width: 34rem; margin: 0; font-family: var(--ab-display); font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.ab-hero-word { position: relative; z-index: 2; align-self: flex-end; margin: 0 -.02em 0 0; padding-bottom: .05em; font-family: var(--ab-display); font-size: clamp(110px, 24vw, 380px); font-weight: 400; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; color: #fff; overflow: hidden; }
.ab-hero-word span { display: inline-block; transform: translateY(105%); animation: ab-rise 1.3s cubic-bezier(.2, .75, .2, 1) .25s forwards; }
@keyframes ab-rise { to { transform: none; } }


/* ---------- 1b. split hero: text on the left, photo on the right, the page word crosses both (about-v2) ---------- */
.ab-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 94vh; background: #fff; overflow: hidden; }
.ab-split-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1.5rem; padding: 8.5rem 2rem 2rem; color: var(--ab-ink); }
.ab-split-text .ab-hero-tag { color: var(--ab-ink); }
.ab-split-text .ab-p { max-width: 26rem; color: #55584f; }
.ab-split-photo { position: relative; background: #1c1c1a center / cover no-repeat; }
.ab-split-word { position: absolute; left: 1.4rem; bottom: 0; z-index: 3; margin: 0; font-family: var(--ab-display); font-size: clamp(70px, 13.5vw, 230px); font-weight: 400; line-height: .9; letter-spacing: -.045em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; pointer-events: none; overflow: hidden; padding-bottom: .06em; }
.ab-split-word span { display: inline-block; transform: translateY(105%); animation: ab-rise 1.3s cubic-bezier(.2, .75, .2, 1) .25s forwards; }
@media (max-width: 991px) { .ab-split { grid-template-columns: 1fr; } .ab-split-photo { min-height: 46vh; order: -1; } .ab-split-text { padding: 2rem 1.25rem 7rem; } }

/* ---------- 2. ticker of tall photos (about-v3 hero) ---------- */
.ab-tick-head { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 9rem 1.5rem 3rem; text-align: center; background: var(--ab-cream); }
.ab-tick-title { margin: 0; max-width: 58rem; font-family: var(--ab-display); font-size: clamp(38px, 6vw, 88px); font-weight: 400; line-height: 1; letter-spacing: -.035em; color: var(--ab-ink); }
.ab-ticker { overflow: hidden; padding: 0 0 5rem; background: var(--ab-cream); }
.ab-ticker-track { display: flex; gap: 1.1rem; width: max-content; will-change: transform; }   /* slides left as you scroll (scripts/components/abodia-pages.js) */
.ab-ticker img { flex: none; width: clamp(180px, 20vw, 300px); aspect-ratio: 9 / 15; object-fit: cover; border-radius: 6px; }
.ab-ticker img:nth-child(even) { margin-top: 2.6rem; }

/* ---------- 3. statement + stats + collage (about-v1 intro) ---------- */
.ab-intro { padding: 7rem 0; background: #fff; color: var(--ab-ink); }
.ab-intro .ab-h2 { max-width: 62rem; text-align: center; }
.ab-intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; margin-top: 4rem; align-items: stretch; }
.ab-intro-big { width: 100%; height: 100%; min-height: 26rem; object-fit: cover; border-radius: 6px; display: block; }
.ab-intro-side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ab-stat b { display: block; font-family: var(--ab-display); font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.ab-stat > span { display: block; margin-top: .5rem; font-family: var(--ab-body); font-size: 13px; color: #55584f; }
.ab-intro-note { max-width: 22rem; margin-left: auto; text-align: right; color: #55584f; }
.ab-intro-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ab-intro-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; }

/* ---------- 4. three mission cards (about-v3) ---------- */
.ab-cards { padding: 2rem 0 7rem; background: #fff; }
.ab-cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ab-card { display: flex; flex-direction: column; background: var(--ab-cream); border-radius: 8px; overflow: hidden; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.ab-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px rgba(28, 28, 26, .15); }
.ab-card-body { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 2rem 1.75rem; }
.ab-card-icon { width: 46px; height: 46px; color: var(--ab-green); }
.ab-card h3 { margin: 0; font-family: var(--ab-display); font-size: 28px; font-weight: 400; letter-spacing: -.02em; color: var(--ab-ink); }
.ab-card p { margin: 0; font-family: var(--ab-body); font-size: 15px; line-height: 1.6; color: #55584f; }
.ab-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-top: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.ab-card:hover img { transform: scale(1.05); }
.ab-card-media { overflow: hidden; margin-top: auto; }

/* ---------- 5. fan of tilted cards (about-v1 awards) ---------- */
.ab-fan { padding: 7rem 0 9rem; background: var(--ab-cream); color: var(--ab-ink); overflow: hidden; }
.ab-fan-stage { position: relative; height: 28rem; max-width: 90rem; margin: 0 auto; }
.ab-fan-card { position: absolute; left: 50%; top: 2rem; width: 15.5rem; margin-left: -7.75rem; padding: 1.75rem 1.5rem; background: #fff; border-radius: 6px; text-align: center; box-shadow: 0 18px 34px rgba(28, 28, 26, .14); transform-origin: 50% 160%; transition: box-shadow .4s; }
.ab-fan-card:hover { box-shadow: 0 28px 48px rgba(28, 28, 26, .22); z-index: 9; }
.ab-fan-card small { display: block; font-family: var(--ab-body); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ab-sage); }
.ab-fan-card svg { width: 58px; height: 58px; margin: 1.1rem auto; color: var(--ab-green); display: block; }
.ab-fan-card h3 { margin: 0 0 .5rem; font-family: var(--ab-body); font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ab-fan-card p { margin: 0; font-family: var(--ab-body); font-size: 14px; line-height: 1.5; color: #55584f; }

/* ---------- 6. dark horizontal journey (about-v1/v2/v3) ---------- */
.ab-journey { padding: 7rem 0 8rem; background: #1b241d; color: #fff; overflow: hidden; }
.ab-journey .ab-h2, .ab-journey .ab-eyebrow { color: #fff; }
.ab-j-line { position: relative; margin: 5rem 0 0; }
.ab-j-rail { position: absolute; left: 0; right: 0; top: 4.4rem; height: 1px; background: rgba(255, 255, 255, .22); }
.ab-j-fill { position: absolute; left: 0; top: 4.4rem; height: 1px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.ab-j-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.ab-j-step { opacity: .35; transition: opacity .6s; }
.ab-j-step.is-on { opacity: 1; }
.ab-j-num { font-family: var(--ab-display); font-size: clamp(40px, 4.4vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.03em; }
.ab-j-dot { width: 11px; height: 11px; margin: 1.35rem 0 2.2rem; border-radius: 50%; background: #1b241d; border: 2px solid rgba(255, 255, 255, .5); transition: background-color .5s, border-color .5s, transform .5s; }
.ab-j-step.is-on .ab-j-dot { background: #fff; border-color: #fff; transform: scale(1.25); }
.ab-j-step img { width: 100%; max-width: 15rem; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 1.1rem; }
.ab-j-step h3 { margin: 0 0 .5rem; font-family: var(--ab-body); font-size: 17px; font-weight: 500; }
.ab-j-step p { margin: 0; max-width: 15rem; font-family: var(--ab-body); font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .62); }

/* ---------- 7. amenities as a list with a photo that follows the cursor (about-v3 recognition) ---------- */
.ab-list { padding: 4rem 0 7rem; background: #fff; color: var(--ab-ink); }
.ab-rows { border-top: 1px solid rgba(28, 28, 26, .18); }
.ab-row { position: relative; display: grid; grid-template-columns: 5rem 1.2fr 1.4fr 3rem; align-items: center; gap: 1.5rem; padding: 2.1rem .5rem; border-bottom: 1px solid rgba(28, 28, 26, .18); color: inherit; text-decoration: none; transition: padding .45s cubic-bezier(.2, .7, .2, 1), background-color .45s; }
.ab-row:hover { padding-left: 1.5rem; background: var(--ab-cream); }
.ab-row-n { font-family: var(--ab-body); font-size: 14px; color: var(--ab-sage); }
.ab-row-t { font-family: var(--ab-display); font-size: clamp(28px, 3.4vw, 48px); font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.ab-row-d { font-family: var(--ab-body); font-size: 15px; line-height: 1.55; color: #55584f; }
.ab-row-a { font-size: 22px; text-align: right; transition: transform .4s; }
.ab-row:hover .ab-row-a { transform: translateX(6px); }
.ab-peek { position: fixed; left: 0; top: 0; z-index: 50; width: 17rem; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .3s, transform .3s; box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.ab-peek.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ab-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 8. "also included" values grid (about-v2/v3) ---------- */
.ab-values { padding: 7rem 0; background: var(--ab-cream); color: var(--ab-ink); }
.ab-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ab-value { display: flex; flex-direction: column; gap: 1rem; min-height: 15rem; padding: 2rem; background: #fff; border-radius: 8px; transition: transform .5s cubic-bezier(.2, .7, .2, 1), background-color .5s, color .5s; }
.ab-value:hover { transform: translateY(-6px); background: var(--ab-green); color: #fff; }
.ab-value:hover p { color: rgba(255, 255, 255, .75); }
.ab-value svg { width: 40px; height: 40px; }
.ab-value h3 { margin: auto 0 0; font-family: var(--ab-display); font-size: 26px; font-weight: 400; letter-spacing: -.02em; }
.ab-value p { margin: 0; font-family: var(--ab-body); font-size: 15px; line-height: 1.55; color: #55584f; transition: color .5s; }

/* ---------- 9. closing call to action ringed by a collage (about-v2/v3 cta-collage) ---------- */
.ab-cta { position: relative; padding: 9rem 1.5rem; background: var(--ab-green); color: #fff; overflow: hidden; text-align: center; }
.ab-cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 34rem; margin: 0 auto; }
.ab-cta-img { position: absolute; z-index: 1; width: clamp(110px, 14vw, 210px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, .35); transform: rotate(var(--r, 0deg)); }
.ab-cta-img:nth-of-type(1) { left: 6%; top: 12%; --r: -8deg; } .ab-cta-img:nth-of-type(2) { left: 17%; bottom: 8%; --r: 6deg; }
.ab-cta-img:nth-of-type(3) { left: 2%; top: 52%; --r: 4deg; width: clamp(90px, 10vw, 150px); }
.ab-cta-img:nth-of-type(4) { right: 6%; top: 10%; --r: 7deg; } .ab-cta-img:nth-of-type(5) { right: 17%; bottom: 9%; --r: -6deg; }
.ab-cta-img:nth-of-type(6) { right: 2%; top: 50%; --r: -4deg; width: clamp(90px, 10vw, 150px); }

@media (max-width: 991px) {
  .ab-intro-grid { grid-template-columns: 1fr; }
  .ab-cards-row, .ab-values-grid { grid-template-columns: 1fr; }
  .ab-j-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .ab-j-rail, .ab-j-fill { display: none; }
  .ab-j-step { opacity: 1; }
  .ab-row { grid-template-columns: 3rem 1fr 2rem; }
  .ab-row-d { grid-column: 2 / 3; }
  .ab-peek { display: none; }
  .ab-fan-stage { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 1rem; }
  .ab-fan-card { position: static; width: auto; margin: 0; transform: none !important; }
  .ab-cta-img { display: none; }
}
@media (max-width: 767px) { .ab-fan-stage { grid-template-columns: 1fr; } .ab-hero { padding: 6rem 1.25rem 0; min-height: 78vh; } .ab-stats { grid-template-columns: 1fr 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .ab-hero-word span, .ab-split-word span { animation: none; transform: none; } [data-ab-reveal] { opacity: 1; transform: none; } }

/* ---- About page: service-list rows (Abodia Services look) ---- */
.ab-svc-list { padding: 4rem 0 6rem; background: var(--ab-cream); color: var(--ab-ink); }
.ab-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 6rem; padding: 1.8rem 0; border-top: 1px solid rgba(28, 28, 26, .22); border-bottom: 1px solid rgba(28, 28, 26, .22); }
.ab-svc:first-child { margin-top: 0; }
.ab-svc-text { display: flex; flex-direction: column; gap: 1.4rem; }
.ab-svc-text h2 { margin: 0; font-family: var(--ab-display); font-size: clamp(34px, 4.2vw, 58px); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.ab-svc-text p { margin: 0; max-width: 28rem; font-family: var(--ab-body); font-size: 16px; line-height: 1.6; }
.ab-svc-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; max-width: 30rem; margin-top: auto; padding-top: 2rem; }
.ab-svc-thumbs img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; display: block; transition: transform .5s; }
.ab-svc-thumbs img:hover { transform: translateY(-4px); }
.ab-svc-big { width: 100%; aspect-ratio: 7 / 5.6; object-fit: cover; display: block; }
@media (max-width: 800px) {
  .ab-svc { grid-template-columns: 1fr; gap: 1.6rem; margin-top: 3.5rem; }
  .ab-svc-big { order: -1; }
}

/* ---- About page: Abodia Services motion ---- */
.ab-hero-img { position: absolute; inset: -6% 0; background: center / cover no-repeat; will-change: transform; }
.ab-hero[data-ab-intro] .ab-hero-word span { animation: none; transform: none; }
.ab-hero[data-ab-intro] .ab-hero-word { overflow: visible; }
.ab-svc-thumbs { overflow: visible; }
.ab-svc-thumbs a, .ab-svc-thumbs span { display: block; overflow: hidden; }
.ab-svc-thumbs img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.ab-svc-thumbs img:hover { transform: scale(1.12); }
@media (min-width: 861px) {
  .ab-svc { position: sticky; top: 5.5rem; background: var(--ab-cream); }
}
.ab-hero[data-ab-intro]::before { z-index: 1; }
