/* Blog, blog posts, Testimonials, Gallery and Careers (13 Nov 2026): built by _dev/pages_layout.py,
   on top of home.css + projects.css (hero, navy band, cards). Light type: Montserrat 300-400, wide tracking. */

[data-filter-list] > [hidden] { display: none !important; }

/* ---------- shorter hero for inner pages ---------- */
.ab-rhero--short { height: clamp(440px, 64vh, 640px); }
.ab-rhero--post { height: clamp(460px, 70vh, 700px); }
.ab-rhero--post .ab-rhero__title { font-size: clamp(26px, 2.8vw, 42px); max-width: 820px; }
.ab-rhero--post .ab-rhero__type { opacity: .9; }
.ab-label--light { color: rgba(255, 255, 255, .7); }

/* ---------- article cards ---------- */
.ab-blog { position: relative; padding: 96px 0; background: #fff; }
.ab-blog--more { background: var(--ab-mist); }
.ab-blog__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.ab-blog .ab-title, .ab-quotes .ab-title, .ab-review .ab-title, .ab-pod .ab-title, .ab-up .ab-title { font-weight: 300; letter-spacing: 0; line-height: 1.2; }
.ab-post-feature, .ab-post-grid { margin: 0; padding: 0; list-style: none; }
.ab-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.ab-post-card a { display: flex; flex-direction: column; height: 100%; color: inherit !important; text-decoration: none; }
.ab-post-card__img { display: block; overflow: hidden; background: var(--ab-mist); }
.ab-post-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ab-ease); }
.ab-post-card a:hover img, .ab-post-card a:focus-visible img { transform: scale(1.04); }
.ab-post-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 22px; }
.ab-post-card__meta { font-size: 10.5px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-navy); }
.ab-post-card__title { margin-top: 12px; font-size: 19px; font-weight: 300; line-height: 1.4; color: var(--ab-black); }
.ab-post-card__ex { margin-top: 12px; font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ab-grey-2); }
.ab-post-card__go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 20px; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-black); }
.ab-post-card__go svg { width: 18px; height: 18px; transition: transform .3s var(--ab-ease); }
.ab-post-card a:hover .ab-post-card__go svg, .ab-post-card a:focus-visible .ab-post-card__go svg { transform: translateX(4px); }
.ab-post-card a:hover .ab-post-card__title { color: var(--ab-navy); }
/* the latest article, large */
.ab-post-card--big a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 56px; align-items: center; }
.ab-post-card--big .ab-post-card__body { padding-top: 0; }
.ab-post-card--big .ab-post-card__title { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; }
.ab-post-card--big .ab-post-card__ex { font-size: 15.5px; }
.ab-post-card--big .ab-post-card__go { margin-top: 28px; padding-top: 0; }
.ab-blog__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 88px 0 40px; padding-top: 32px; border-top: 1px solid var(--ab-grey-5); }
.ab-blog__count { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-grey-2); }

/* filter chips */
.ab-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-chipbtn { min-height: 40px; padding: 0 18px; border: 1px solid var(--ab-grey-5); border-radius: 0; background: #fff; color: var(--ab-grey-1); font: 400 11px/1 var(--ab-font); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.ab-chipbtn:hover { border-color: var(--ab-black); color: var(--ab-black); }
.ab-chipbtn[aria-pressed="true"] { background: var(--ab-black); border-color: var(--ab-black); color: #fff; }
.ab-chipbtn:focus-visible { outline: 2px solid var(--ab-navy); outline-offset: 2px; }

/* ---------- navy video band (podcast, video reviews, clips) ---------- */
.ab-pod { padding: 96px 0; text-align: left; }
.ab-pod__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.ab-pod__intro { max-width: 440px; margin: 0; font-size: 15px; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.ab-vid-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; margin: 0; padding: 0; list-style: none; }
.ab-vid-tile a { display: flex; flex-direction: column; color: #fff !important; text-decoration: none; }
.ab-vid-tile__img { position: relative; display: block; overflow: hidden; background: #061533; }
.ab-vid-tile__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: .88; transition: transform .8s var(--ab-ease), opacity .3s; }
.ab-vid-tile__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; transition: background .3s, color .3s, transform .3s var(--ab-ease); }
.ab-vid-tile__play svg { margin-left: 3px; }
.ab-vid-tile a:hover img, .ab-vid-tile a:focus-visible img { transform: scale(1.04); opacity: 1; }
.ab-vid-tile a:hover .ab-vid-tile__play, .ab-vid-tile a:focus-visible .ab-vid-tile__play { background: #fff; color: #000; transform: scale(1.06); }
.ab-vid-tile__title { margin-top: 16px; font-size: 17px; font-weight: 300; line-height: 1.4; }
.ab-vid-tile__sub { margin-top: 6px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* video pop-up */
.ab-vid { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.ab-vid[open] { display: grid; place-items: center; }
.ab-vid::backdrop { background: rgba(5, 10, 22, .94); }
.ab-vid__frame { width: min(1120px, calc(100vw - 48px), calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.ab-vid__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- blog post ---------- */
.ab-post { padding: 72px 0 96px; background: #fff; }
.ab-post__grid { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 300px); justify-content: space-between; gap: 64px; }
.ab-post__crumbs { display: flex; gap: 10px; margin: 0 0 36px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-grey-3); }
.ab-post__crumbs a { color: var(--ab-grey-2) !important; text-decoration: none; }
.ab-post__crumbs a:hover { color: var(--ab-navy) !important; }
.ab-post__body { font-size: 17px; font-weight: 300; line-height: 1.85; color: var(--ab-grey-1); }
.ab-post__body p, .ab-post__body ul, .ab-post__body ol { margin: 0 0 1.25em; }
.ab-post__body h2 { margin: 2em 0 .7em; font-size: clamp(21px, 1.8vw, 26px); font-weight: 300; line-height: 1.35; letter-spacing: 0; color: var(--ab-black); }
.ab-post__body h2:first-of-type { margin-top: 0; }
.ab-post__body b { font-weight: 500; color: var(--ab-black); }
.ab-post__body ul, .ab-post__body ol { padding-left: 1.2em; }
.ab-post__body li { margin-bottom: .5em; padding-left: .2em; }
.ab-post__body li::marker { color: var(--ab-navy); }
.ab-post__body a { color: var(--ab-navy) !important; text-decoration: underline; text-underline-offset: 3px; }
.ab-post__body table { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font-size: 15px; }
.ab-post__body td, .ab-post__body th { padding: 10px 12px; border: 1px solid var(--ab-grey-5); text-align: left; }
.ab-post__side { position: relative; }
.ab-post__box { position: sticky; top: 120px; padding: 32px 28px; background: var(--ab-mist); border-top: 2px solid var(--ab-navy); }
.ab-post__box p { margin: 0 0 16px; font-size: 14px; font-weight: 300; line-height: 1.7; color: var(--ab-grey-1); }
.ab-post__box .ab-label { margin-bottom: 14px; font-weight: 400; }
.ab-post__box .ab-post__boxtitle { font-size: 21px; line-height: 1.35; color: var(--ab-black); }
.ab-post__box .ab-btn { width: 100%; margin-top: 8px; font-weight: 400; }
.ab-post__link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-black) !important; text-decoration: none; }
.ab-post__link svg { width: 18px; height: 18px; transition: transform .3s var(--ab-ease); }
.ab-post__link:hover { color: var(--ab-navy) !important; }
.ab-post__link:hover svg { transform: translateX(4px); }
.ab-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--ab-grey-5); }
.ab-postnav a { display: flex; flex-direction: column; gap: 8px; font-size: 17px; font-weight: 300; line-height: 1.4; color: var(--ab-black) !important; text-decoration: none; }
.ab-postnav a span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-navy); }
.ab-postnav a:hover { color: var(--ab-navy) !important; }
.ab-postnav__next { grid-column: 2; text-align: right; }

/* ---------- testimonials ---------- */
.ab-quotes { padding: 96px 0; background: #fff; }
.ab-quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.ab-quote { position: relative; display: flex; flex-direction: column; padding: 44px 40px 36px; background: var(--ab-mist); border-top: 2px solid var(--ab-navy); }
.ab-quote__mark { position: absolute; top: 8px; right: 28px; font-size: 96px; font-weight: 300; line-height: 1; color: rgba(11, 54, 130, .14); }
.ab-quote blockquote { margin: 0; padding: 0; border: 0; background: none; text-align: left; }
.ab-quote blockquote::before, .ab-quote blockquote::after { content: none !important; display: none !important; }
.ab-quote blockquote p { margin: 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; font-style: normal; line-height: 1.65; color: var(--ab-black); }
.ab-quote__who { display: flex; flex-direction: column; gap: 4px; margin: auto 0 0; padding-top: 28px; font-size: 14px; font-weight: 400; letter-spacing: .06em; color: var(--ab-black); }
.ab-quote__who span { font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-grey-3); }

/* review / application form */
.ab-review { padding: 96px 0; background: var(--ab-mist); }
.ab-review__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-review .ab-intro { margin: 24px 0 0; max-width: 420px; font-weight: 300; }
.ab-form { display: flex; flex-direction: column; gap: 20px; padding: 40px; background: #fff; }
.ab-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ab-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-grey-1); }
.ab-form label span { letter-spacing: .06em; text-transform: none; color: var(--ab-grey-3); }
.ab-form input, .ab-form select, .ab-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--ab-grey-5); border-radius: 0; background: #fff; color: var(--ab-black); font: 300 16px/1.5 var(--ab-font); letter-spacing: 0; text-transform: none; transition: border-color .2s; }
.ab-form textarea { resize: vertical; }
.ab-form input:focus, .ab-form select:focus, .ab-form textarea:focus { outline: none; border-color: var(--ab-navy); box-shadow: 0 0 0 1px var(--ab-navy); }
.ab-form .ab-btn { align-self: flex-start; font-weight: 400; cursor: pointer; }
.ab-form .wpcf7-response-output { margin: 0; font-size: 14px; font-weight: 300; }
.ab-form .wpcf7-response-output:empty { display: none; }

/* ---------- gallery ---------- */
.ab-pics { columns: 3; column-gap: 20px; margin: 0; padding: 0; list-style: none; }
.ab-pic { break-inside: avoid; margin: 0 0 20px; }
.ab-pic a { display: block; overflow: hidden; background: var(--ab-mist); }
.ab-pic img { display: block; width: 100%; height: auto; transition: transform .8s var(--ab-ease); }
.ab-pic a:hover img, .ab-pic a:focus-visible img { transform: scale(1.04); }
.ab-lb[open] { grid-template-columns: 1fr; }
.ab-lb .ab-gal__img { max-width: calc(100vw - 176px - 40px) !important; }
.ab-lb__count { position: absolute; left: 0; right: 0; bottom: 18px; margin: 0; text-align: center; font-size: 12px; font-weight: 300; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }

/* ---------- smaller screens ---------- */
@media (max-width: 1024px) {
  .ab-blog, .ab-pod, .ab-quotes, .ab-review { padding: 72px 0; }
  .ab-post-grid, .ab-vid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-post-card--big a { grid-template-columns: 1fr; gap: 24px; }
  .ab-post__grid { grid-template-columns: 1fr; }
  .ab-post__box { position: static; }
  .ab-review__grid { grid-template-columns: 1fr; }
  .ab-pics { columns: 2; }
}
@media (max-width: 767px) {
  .ab-blog, .ab-pod, .ab-quotes, .ab-review { padding: 56px 0; }
  .ab-blog__top, .ab-pod__top { margin-bottom: 32px; }
  .ab-post-grid, .ab-vid-grid, .ab-quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .ab-quote-grid { gap: 16px; }
  .ab-quote { padding: 36px 24px 28px; }
  .ab-blog__bar { margin-top: 56px; }
  .ab-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .ab-chipbtn { flex: 0 0 auto; }
  .ab-post { padding: 48px 0 64px; }
  .ab-post__body { font-size: 16px; }
  .ab-postnav { grid-template-columns: 1fr; }
  .ab-postnav__next { grid-column: 1; text-align: left; }
  .ab-form { padding: 24px 20px; }
  .ab-form__row { grid-template-columns: 1fr; }
  .ab-form .ab-btn { align-self: stretch; }
  .ab-pics { columns: 2; column-gap: 10px; }
  .ab-pic { margin-bottom: 10px; }
  .ab-lb .ab-gal__img { max-width: calc(100vw - 32px - 24px) !important; }
  .ab-vid__frame { width: calc(100vw - 24px); }
}
.ab-gl__intro a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact, legal, thank you, 404 (13 Nov 2026, _dev/launch_layout.py) ---------- */
.ab-btn--ghost { background: transparent; color: var(--ab-black) !important; border-color: var(--ab-black); }
.ab-btn svg { margin-right: 10px; }
.ab-form__title { margin: 0 0 4px; font-size: 22px; font-weight: 300; color: var(--ab-black); }
.ab-form__sel { display: block; letter-spacing: 0; text-transform: none; }
.ab-form select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 16px center; }
#enquire { scroll-margin-top: 110px; }
.ab-cinfo__list { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ab-grey-5); }
.ab-cinfo__list li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--ab-grey-5); font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--ab-black); }
.ab-cinfo__list address { font-style: normal; }
.ab-cinfo__list a { color: var(--ab-black) !important; text-decoration: none; }
.ab-cinfo__list a:hover { color: var(--ab-navy) !important; }
.ab-cinfo__list .ab-post__link { margin-top: 4px; }
.ab-cinfo__k { font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-navy); }
.ab-cinfo__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ab-cinfo__btns .ab-btn { font-weight: 400; }

/* legal pages: contents list beside the text */
.ab-rhero--legal { height: clamp(360px, 48vh, 480px); }
.ab-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.ab-toc li { counter-increment: toc; border-top: 1px solid var(--ab-grey-5); }
.ab-toc li a { display: flex; gap: 12px; padding: 10px 0; font-size: 13.5px; font-weight: 300; line-height: 1.45; color: var(--ab-grey-1) !important; text-decoration: none; }
.ab-toc li a::before { content: counter(toc, decimal-leading-zero); flex: 0 0 22px; font-size: 11px; letter-spacing: .1em; color: var(--ab-navy); padding-top: 2px; }
.ab-toc li a:hover { color: var(--ab-navy) !important; }
.ab-toc .ab-toc__more { margin: 18px 0 0; font-size: 13px; }
.ab-toc .ab-toc__more a { color: var(--ab-navy) !important; }
.ab-legal .ab-post__body h2 { scroll-margin-top: 110px; }
.ab-legal .ab-post__box { max-height: calc(100vh - 160px); overflow-y: auto; }

/* thank you and 404 */
.ab-note { padding: clamp(170px, 24vh, 240px) 0 clamp(72px, 10vh, 120px); }
.ab-note__type { margin: 0 0 18px; font-size: min(150px, calc(80vw / (var(--len, 5) + .6))); font-weight: 200; line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.ab-note .ab-label { color: rgba(255, 255, 255, .7); }
.ab-note__title { max-width: 760px; margin: 0; font-size: clamp(28px, 3.4vw, 46px); font-weight: 300; line-height: 1.2; color: #fff; }
.ab-note__text { max-width: 560px; margin: 18px 0 0; font-size: 16px; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .82); }
@media (max-width: 767px) {
  .ab-cinfo__btns .ab-btn { flex: 1 1 100%; }
  .ab-legal .ab-post__grid { display: flex; flex-direction: column; gap: 32px; }
  .ab-legal .ab-post__side { order: -1; }
  .ab-legal .ab-post__box { max-height: none; }
  .ab-note { padding-top: 120px; }
}
@media (max-height: 500px) and (orientation: landscape) { .ab-note { padding-top: 100px; } }

/* 13 Nov 2026: a little taller, so the title sits clear of the menu */
.ab-rhero--short { height: clamp(520px, 78vh, 780px); }
.ab-rhero--legal { height: clamp(440px, 60vh, 580px); }
@media (max-width: 767px) { .ab-rhero--short { height: clamp(480px, 78svh, 680px); } .ab-rhero--legal { height: clamp(400px, 62svh, 520px); } }

/* ================= Project pages: Elite, Mary (13 Nov 2026) ================= */
.ab-pp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.ab-pp-top .ab-intro { margin: 0; max-width: 420px; }
.ab-pp-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-black) !important; text-decoration: none; white-space: nowrap; }
.ab-pp-link svg { transition: transform .3s var(--ab-ease); }
.ab-pp-link:hover svg, .ab-pp-link:focus-visible svg { transform: translateX(4px); }
.ab-pp-link--light { color: #fff !important; }
.ab-pp-small { margin: 22px 0 0; max-width: 760px; font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--ab-grey-2); }

/* overview */
.ab-pp-ov { padding: clamp(72px, 9vw, 120px) 0; background: #fff; text-align: left; }
.ab-pp-ov__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ab-pp-ov__p { margin: 22px 0 0; max-width: 620px; font-size: 17px; font-weight: 300; line-height: 1.8; color: var(--ab-grey-1); }
.ab-pp-ov__p + .ab-pp-ov__p { margin-top: 16px; }
.ab-pp-facts { margin: 6px 0 0; border-top: 1px solid var(--ab-grey-5); }
.ab-pp-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--ab-grey-5); }
.ab-pp-facts dt { font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-grey-2); padding-top: 3px; }
.ab-pp-facts dd { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.5; color: var(--ab-black); }

/* gallery */
.ab-pp-g { padding: clamp(72px, 9vw, 120px) 0; background: var(--ab-mist); text-align: left; }
.ab-pp-g__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ab-pp-g__item--wide { grid-column: span 2; grid-row: span 2; }
.ab-pp-g__item a { position: relative; display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; color: #fff; text-decoration: none; }
.ab-pp-g__item--wide a { aspect-ratio: auto; min-height: 100%; }
.ab-pp-g__item img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .8s var(--ab-ease); }
.ab-pp-g__item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.ab-pp-g__cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.ab-pp-g__item a:hover img, .ab-pp-g__item a:focus-visible img { transform: scale(1.04); }

/* amenities (navy band) */
.ab-pp-am { text-align: left; }
.ab-pp-am__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.ab-pp-am__grid li { display: flex; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15px; font-weight: 300; line-height: 1.5; color: #fff; }
.ab-pp-am__n { flex: 0 0 auto; font-size: 11px; letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.ab-pp-am__note { margin: 26px 0 0; font-size: 13px; font-weight: 300; letter-spacing: .02em; line-height: 1.7; color: rgba(255, 255, 255, .78); }

/* homes and plans */
.ab-pp-plan { padding: clamp(72px, 9vw, 120px) 0; background: #fff; text-align: left; }
.ab-pp-table { overflow-x: auto; margin: 0 0 40px; }
.ab-pp-table table { width: 100%; min-width: 560px; border-collapse: collapse; }
.ab-pp-table th, .ab-pp-table td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--ab-grey-5); text-align: left; font-size: 16px; font-weight: 300; color: var(--ab-black); }
.ab-pp-table thead th { font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-grey-2); border-bottom-color: var(--ab-black); }
.ab-pp-table tbody th { font-weight: 400; }
.ab-pp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.ab-pp-plans a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--ab-grey-5); color: var(--ab-black); text-decoration: none; transition: border-color .3s; }
.ab-pp-plans__img { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; background: var(--ab-mist); overflow: hidden; }
.ab-pp-plans__img img { max-width: 100%; max-height: 100%; width: auto !important; height: auto !important; object-fit: contain; transition: transform .6s var(--ab-ease); }
.ab-pp-plans__cap { padding: 14px 16px; font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.ab-pp-plans a:hover, .ab-pp-plans a:focus-visible { border-color: var(--ab-black); }
.ab-pp-plans a:hover img { transform: scale(1.03); }

/* specifications */
.ab-pp-spec { padding: clamp(72px, 9vw, 120px) 0; background: var(--ab-mist); text-align: left; }
.ab-pp-spec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-pp-spec__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; border-top: 1px solid #d6d6d6; }
.ab-pp-spec__list > div { padding: 18px 0; border-bottom: 1px solid #d6d6d6; }
.ab-pp-spec__list dt { margin-bottom: 6px; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-navy); }
.ab-pp-spec__list dd { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ab-grey-1); }

/* location */
.ab-pp-loc { padding: clamp(72px, 9vw, 120px) 0; background: #fff; text-align: left; }
.ab-pp-near { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ab-pp-near h3 { margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ab-black); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-black); }
.ab-pp-near ul { margin: 0; padding: 0; list-style: none; }
.ab-pp-near li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ab-grey-5); font-size: 15px; font-weight: 300; line-height: 1.4; color: var(--ab-grey-1); }
.ab-pp-near li span:last-child { flex: 0 0 auto; color: var(--ab-black); }
.ab-pp-addr { margin: 0; max-width: 640px; font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--ab-grey-1); }

/* more ongoing projects */
.ab-pp-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }

@media (max-width: 1024px) {
  .ab-pp-ov__grid, .ab-pp-spec__grid { grid-template-columns: 1fr; }
  .ab-pp-g__grid, .ab-pp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-pp-am__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-pp-near { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
@media (max-width: 767px) {
  .ab-pp-top { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .ab-pp-ov__p { font-size: 16px; }
  .ab-pp-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .ab-pp-g__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ab-pp-g__item--wide { grid-column: span 2; grid-row: auto; }
  .ab-pp-g__item--wide a { aspect-ratio: 4 / 3; }
  .ab-pp-g__cap { left: 12px; right: 12px; bottom: 10px; font-size: 10px; letter-spacing: .14em; }
  .ab-pp-plans, .ab-pp-am__grid, .ab-pp-spec__list, .ab-pp-near, .ab-pp-more__grid { grid-template-columns: 1fr; }
}

/* ---- Elite page, sections modelled on the old microsite (13 Nov 2026) ---- */
.ab-pp-pill { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 36px 0 0; padding: 0; list-style: none; }
.ab-pp-pill li { padding: 22px 22px 24px; background: var(--ab-navy); color: #fff; }
.ab-pp-pill h3 { margin: 0 0 8px; font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.ab-pp-pill p { margin: 0; font-size: 14px; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .82); }

.ab-pp-story { padding: clamp(72px, 9vw, 120px) 0; background: var(--ab-black); color: #fff; text-align: left; }
.ab-pp-story__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-pp-story__fig { margin: 0; }
.ab-pp-story__fig a { display: block; overflow: hidden; }
.ab-pp-story__fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ab-ease); }
.ab-pp-story__fig a:hover img { transform: scale(1.03); }
.ab-pp-story__fig figcaption { margin-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ab-pp-story__num { margin: 0 0 18px; font-size: clamp(56px, 7vw, 104px); font-weight: 200; line-height: 1; letter-spacing: .04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.ab-pp-story .ab-title, .ab-pp-story .ab-kicker { color: #fff; }
.ab-pp-story .ab-pp-ov__p { color: rgba(255, 255, 255, .8); }

.ab-pp-hl { padding: clamp(72px, 9vw, 120px) 0; background: #fff; text-align: left; }
.ab-pp-hl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ab-grey-5); border-left: 1px solid var(--ab-grey-5); }
.ab-pp-hl__grid li { padding: 34px 30px 36px; border-right: 1px solid var(--ab-grey-5); border-bottom: 1px solid var(--ab-grey-5); transition: background-color .3s var(--ab-ease); }
.ab-pp-hl__grid li:hover { background: var(--ab-mist); }
.ab-pp-hl__grid svg { display: block; margin-bottom: 22px; color: var(--ab-navy); }
.ab-pp-hl__grid h3 { margin: 0 0 8px; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-black); }
.ab-pp-hl__grid p { margin: 0; font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ab-grey-1); }

.ab-pp-am__what { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

.ab-pp-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 56px; padding: 0; list-style: none; }
.ab-pp-res__card { display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--ab-grey-5); border-top: 2px solid var(--ab-navy); background: #fff; }
.ab-pp-res__name { margin: 0; font-size: 24px; font-weight: 300; letter-spacing: .04em; color: var(--ab-black); }
.ab-pp-res__floors { margin: 6px 0 22px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ab-grey-2); }
.ab-pp-res__area { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; padding: 16px 0; border-top: 1px solid var(--ab-grey-5); border-bottom: 1px solid var(--ab-grey-5); }
.ab-pp-res__area dt { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-grey-2); }
.ab-pp-res__area dd { margin: 4px 0 0; font-size: 18px; font-weight: 300; color: var(--ab-black); }
.ab-pp-res__area dd span { font-size: 11px; letter-spacing: .1em; color: var(--ab-grey-2); }
.ab-pp-res__list { flex: 1; margin: 0 0 24px; padding: 0; list-style: none; }
.ab-pp-res__list li { position: relative; padding: 7px 0 7px 18px; font-size: 15px; font-weight: 300; line-height: 1.5; color: var(--ab-grey-1); }
.ab-pp-res__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 1px; background: var(--ab-navy); }

@media (max-width: 1024px) {
  .ab-pp-story__grid { grid-template-columns: 1fr; }
  .ab-pp-hl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-pp-res { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ab-pp-pill, .ab-pp-hl__grid, .ab-pp-res { grid-template-columns: 1fr; }
  .ab-pp-hl__grid li { padding: 26px 22px 28px; }
}

/* ================= Archid Elite colour scheme (from elite.archidbuilders.com, 13 Nov 2026) =================
   Deep navy #0b263b / #091824, gold #bd8e38, sand panels. Scoped to the Elite page only. */
.ab-theme-elite {
  --el-navy: #0b263b; --el-deep: #091824; --el-line: rgba(189, 142, 56, .28);
  --el-gold: #bd8e38; --el-gold-light: #d6b06b; --el-gold-text: #8a6420; /* text on light panels: 4.9:1 on white */
  --el-sand: #f4eee4; --el-sand-2: #ebe1d0;
  --ab-navy: var(--el-gold-text); --ab-mist: var(--el-sand);
}
.ab-theme-elite .ab-dim { background: linear-gradient(var(--el-gold), var(--el-gold)) left center / 100% 2px no-repeat,
  linear-gradient(var(--el-gold), var(--el-gold)) left center / 2px 100% no-repeat, linear-gradient(var(--el-gold), var(--el-gold)) right center / 2px 100% no-repeat; }
.ab-theme-elite .ab-head--dark .ab-label { color: var(--el-gold-light); }

/* buttons: gold */
.ab-theme-elite .ab-btn:not(.ab-btn--light) { background: var(--el-gold); border-color: var(--el-gold); color: #fff !important; }
.ab-theme-elite .ab-btn:not(.ab-btn--light):hover, .ab-theme-elite .ab-btn:not(.ab-btn--light):focus-visible { background: #a77a2c; border-color: #a77a2c; color: #fff !important; }
.ab-theme-elite .ab-btn--light { border-color: var(--el-gold-light); }
.ab-theme-elite .ab-btn--light:hover, .ab-theme-elite .ab-btn--light:focus-visible { background: var(--el-gold); border-color: var(--el-gold); color: #fff !important; }

/* hero: a navy wash over the photo, gold figures */
.ab-theme-elite .ab-rhero { background: var(--el-deep); }
.ab-theme-elite .ab-rhero::after { background: linear-gradient(90deg, rgba(9, 24, 36, .78) 0%, rgba(9, 24, 36, .4) 42%, rgba(9, 24, 36, 0) 75%),
  linear-gradient(rgba(9, 24, 36, .5) 0, rgba(9, 24, 36, 0) 24%, rgba(9, 24, 36, 0) 58%, rgba(9, 24, 36, .7) 100%); }
.ab-theme-elite .ab-rhero__n { color: var(--el-gold-light); }
.ab-theme-elite .ab-rhero__type { -webkit-text-stroke-color: var(--el-gold-light); }

/* the project: sand, with navy cards */
.ab-theme-elite .ab-pp-ov { background: var(--el-sand); }
.ab-theme-elite .ab-pp-facts, .ab-theme-elite .ab-pp-facts > div { border-color: var(--el-sand-2); }
.ab-theme-elite .ab-pp-facts dt { color: var(--el-gold-text); }
.ab-theme-elite .ab-pp-pill li { background: var(--el-navy); border-top: 2px solid var(--el-gold); }
.ab-theme-elite .ab-pp-pill h3 { color: var(--el-gold-light); }

/* the magic: deep navy, gold numerals */
.ab-theme-elite .ab-pp-story { background: var(--el-deep); }
.ab-theme-elite .ab-pp-story__num { -webkit-text-stroke-color: var(--el-gold); }

/* signature features: navy tiles, gold icons */
.ab-theme-elite .ab-pp-hl { background: var(--el-navy); }
.ab-theme-elite .ab-pp-hl .ab-label { color: var(--el-gold-light); }
.ab-theme-elite .ab-pp-hl .ab-title { color: #fff; }
.ab-theme-elite .ab-pp-hl__grid, .ab-theme-elite .ab-pp-hl__grid li { border-color: var(--el-line); }
.ab-theme-elite .ab-pp-hl__grid li:hover { background: rgba(255, 255, 255, .04); }
.ab-theme-elite .ab-pp-hl__grid svg { color: var(--el-gold); }
.ab-theme-elite .ab-pp-hl__grid h3 { color: #fff; }
.ab-theme-elite .ab-pp-hl__grid p { color: rgba(255, 255, 255, .72); }

/* navy bands (amenities, more projects) and the closing call */
.ab-theme-elite .ab-soon { background: radial-gradient(120% 90% at 85% 0%, #17405e 0%, rgba(23, 64, 94, 0) 60%), linear-gradient(160deg, var(--el-navy) 0%, var(--el-deep) 100%); }
.ab-theme-elite .ab-pp-am__grid, .ab-theme-elite .ab-pp-am__grid li { border-color: var(--el-line); }
.ab-theme-elite .ab-pp-am__n, .ab-theme-elite .ab-pp-am__what { color: var(--el-gold-light); }
.ab-theme-elite .ab-going-card a { border-color: var(--el-line); }
.ab-theme-elite .ab-going-card a:hover, .ab-theme-elite .ab-going-card a:focus-visible { border-color: var(--el-gold); }
.ab-theme-elite .ab-rcta { background: var(--el-deep); border-top: 1px solid var(--el-line); }

/* residences and plans */
.ab-theme-elite .ab-pp-res__card { border-top-color: var(--el-gold); }
.ab-theme-elite .ab-pp-res__list li::before { background: var(--el-gold); }
.ab-theme-elite .ab-pp-plans a:hover, .ab-theme-elite .ab-pp-plans a:focus-visible { border-color: var(--el-gold); }

/* specifications on sand */
.ab-theme-elite .ab-pp-spec__list, .ab-theme-elite .ab-pp-spec__list > div { border-color: #ddd0bb; }
.ab-theme-elite .ab-pp-near h3 { border-bottom-color: var(--el-gold); }
.ab-theme-elite .ab-rhero__n { color: #e8cd96; }
@media (max-width: 767px) {
  .ab-theme-elite .ab-rhero::after { background: linear-gradient(rgba(9, 24, 36, .55) 0, rgba(9, 24, 36, .35) 30%, rgba(9, 24, 36, .72) 62%, rgba(9, 24, 36, .9) 100%); }
}

/* ---- Picture pop-up, 14 Nov 2026: no white mat, the picture fills the space, caption under it ---- */
.ab-lb .ab-gal__stage { padding: 56px 88px 104px; }
.ab-lb .ab-gal__frame { padding: 0; background: transparent; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.ab-lb .ab-gal__img { max-width: calc(100vw - 176px) !important; max-height: calc(100vh - 160px) !important; }
.ab-lb__cap { position: absolute; left: 88px; right: 88px; bottom: 48px; margin: 0; text-align: center; font-size: 12px; font-weight: 400; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.ab-lb__cap:empty { display: none; }
@media (max-width: 767px) {
  .ab-lb .ab-gal__stage { padding: 76px 12px 112px; }
  .ab-lb .ab-gal__img { max-width: calc(100vw - 24px) !important; max-height: calc(100svh - 200px) !important; }
  .ab-lb__cap { left: 16px; right: 16px; bottom: 50px; font-size: 11px; letter-spacing: .12em; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .ab-lb .ab-gal__stage { padding: 12px 72px 56px; }
  .ab-lb .ab-gal__img { max-height: calc(100vh - 72px) !important; max-width: calc(100vw - 144px) !important; }
  .ab-lb__cap { bottom: 30px; } .ab-lb__count { bottom: 8px; }
}

/* ---- Elite colour tweaks, 14 Nov 2026: richer gold, microsite tan, one navy, gold name in the hero ---- */
.ab-theme-elite {
  --el-gold: #b98630; --el-gold-light: #d9b36b; --el-gold-text: #855e1c;
  --el-navy: #0a1f31; --el-sand: #efe4d1; --el-sand-2: #e0cfb2;
}
.ab-theme-elite .ab-pp-story, .ab-theme-elite .ab-pp-hl, .ab-theme-elite .ab-rcta { background: var(--el-navy); }
.ab-theme-elite .ab-pp-story + .ab-pp-hl { border-top: 1px solid var(--el-line); }
.ab-theme-elite .ab-soon { background: var(--el-navy); }
.ab-theme-elite .ab-pp-g, .ab-theme-elite .ab-pp-spec { background: var(--el-sand); }
.ab-theme-elite .ab-pp-plans__img { background: #f7f1e7; }
.ab-theme-elite .ab-rhero__title { color: var(--el-gold-light); }
.ab-theme-elite .ab-lb::backdrop { background: rgba(6, 17, 27, .96); }
.ab-theme-elite .ab-gal__close:hover, .ab-theme-elite .ab-gal__close:focus-visible { background: var(--el-gold); border-color: var(--el-gold); color: #fff; }
.ab-pp-res__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; }
/* 404 and thank-you (14 Nov 2026): the band's own !important padding pulled the big word up under the header */
.ab-soon.ab-note, .ab-note { padding-top: clamp(170px, 24vh, 240px) !important; }
@media (max-width: 1024px) { .ab-soon.ab-note, .ab-note { padding-top: 150px !important; } }
@media (max-width: 767px) { .ab-soon.ab-note, .ab-note { padding-top: 120px !important; } }
@media (max-height: 500px) and (orientation: landscape) { .ab-soon.ab-note, .ab-note { padding-top: 110px !important; } }

/* ---- Residence cards, 14 Nov 2026: carpet, built-up and super built-up as rows; layout tag; flat numbers ---- */
.ab-pp-res__tag { margin: 0 0 6px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-navy); }
.ab-pp-res__floors { text-transform: none; letter-spacing: .04em; font-size: 13px; line-height: 1.5; }
.ab-pp-res__area { grid-template-columns: 1fr; gap: 0; padding: 4px 0; }
.ab-pp-res__area > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; }
.ab-pp-res__area > div + div { border-top: 1px solid var(--ab-grey-5); }
.ab-pp-res__area dd { margin: 0; white-space: nowrap; }
.ab-pp-res--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ab-pp-res--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-pp-res--four .ab-pp-res__card { padding: 26px 22px 24px; }
@media (max-width: 1279px) { .ab-pp-res--four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .ab-pp-res--four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .ab-pp-res--two, .ab-pp-res--four { grid-template-columns: 1fr; } }
.ab-pp-addr + .ab-pp-near { margin-top: 32px; }
.ab-pp-near li span:only-child { flex: 1; }

/* ================= Archid Mary colour scheme (from the Mary brochure, 14 Nov 2026) =================
   Royal steel blue #214c6f / #183a57, brighter blue #2c639a, pale blue-grey #e2eaf2 panels. Scoped to the Mary page only. */
.ab-theme-mary {
  --mr-blue: #214c6f; --mr-deep: #183a57; --mr-bright: #2c639a; --mr-ice: #a8c5e3; --mr-line: rgba(168, 197, 227, .3);
  --mr-pale: #e2eaf2; --mr-pale-2: #c9d7e6; --mr-text: #23578a; /* text on pale panels: 6.5:1 on white */
  --ab-navy: var(--mr-text); --ab-mist: var(--mr-pale);
}
.ab-theme-mary .ab-dim { background: linear-gradient(var(--mr-ice), var(--mr-ice)) left center / 100% 2px no-repeat,
  linear-gradient(var(--mr-ice), var(--mr-ice)) left center / 2px 100% no-repeat, linear-gradient(var(--mr-ice), var(--mr-ice)) right center / 2px 100% no-repeat; }
.ab-theme-mary .ab-head--dark .ab-label { color: var(--mr-ice); }
.ab-theme-mary .ab-btn:not(.ab-btn--light) { background: var(--mr-bright); border-color: var(--mr-bright); color: #fff !important; }
.ab-theme-mary .ab-btn:not(.ab-btn--light):hover, .ab-theme-mary .ab-btn:not(.ab-btn--light):focus-visible { background: var(--mr-deep); border-color: var(--mr-deep); color: #fff !important; }
.ab-theme-mary .ab-btn--light { border-color: var(--mr-ice); }
.ab-theme-mary .ab-btn--light:hover, .ab-theme-mary .ab-btn--light:focus-visible { background: var(--mr-bright); border-color: var(--mr-bright); color: #fff !important; }
.ab-theme-mary .ab-btn--white { background: #fff; border-color: #fff; color: var(--mr-deep) !important; }
.ab-theme-mary .ab-btn--white:hover, .ab-theme-mary .ab-btn--white:focus-visible { background: var(--mr-ice); border-color: var(--mr-ice); color: var(--mr-deep) !important; }

.ab-theme-mary .ab-rhero { background: var(--mr-deep); }
.ab-theme-mary .ab-rhero::after { background: linear-gradient(90deg, rgba(20, 48, 74, .8) 0%, rgba(20, 48, 74, .42) 42%, rgba(20, 48, 74, 0) 75%),
  linear-gradient(rgba(20, 48, 74, .5) 0, rgba(20, 48, 74, 0) 24%, rgba(20, 48, 74, 0) 58%, rgba(20, 48, 74, .72) 100%); }
.ab-theme-mary .ab-rhero__n, .ab-theme-mary .ab-rhero__title { color: #cfe0f2; }
.ab-theme-mary .ab-rhero__type { -webkit-text-stroke-color: var(--mr-ice); }

.ab-theme-mary .ab-pp-ov, .ab-theme-mary .ab-pp-g, .ab-theme-mary .ab-pp-spec { background: var(--mr-pale); }
.ab-theme-mary .ab-pp-facts, .ab-theme-mary .ab-pp-facts > div, .ab-theme-mary .ab-pp-spec__list, .ab-theme-mary .ab-pp-spec__list > div { border-color: var(--mr-pale-2); }
.ab-theme-mary .ab-pp-facts dt { color: var(--mr-text); }
.ab-theme-mary .ab-pp-pill li { background: var(--mr-blue); border-top: 2px solid var(--mr-ice); }
.ab-theme-mary .ab-pp-pill h3 { color: #cfe0f2; }

.ab-theme-mary .ab-pp-story, .ab-theme-mary .ab-pp-hl, .ab-theme-mary .ab-rcta, .ab-theme-mary .ab-soon { background: var(--mr-blue); }
.ab-theme-mary .ab-pp-story { background: var(--mr-deep); }
.ab-theme-mary .ab-pp-story__num { -webkit-text-stroke-color: var(--mr-ice); }
.ab-theme-mary .ab-pp-hl .ab-label { color: var(--mr-ice); }
.ab-theme-mary .ab-pp-hl .ab-title, .ab-theme-mary .ab-pp-hl__grid h3 { color: #fff; }
.ab-theme-mary .ab-pp-hl__grid, .ab-theme-mary .ab-pp-hl__grid li, .ab-theme-mary .ab-pp-am__grid, .ab-theme-mary .ab-pp-am__grid li { border-color: var(--mr-line); }
.ab-theme-mary .ab-pp-hl__grid li:hover { background: rgba(255, 255, 255, .05); }
.ab-theme-mary .ab-pp-hl__grid svg, .ab-theme-mary .ab-pp-am__n, .ab-theme-mary .ab-pp-am__what { color: var(--mr-ice); }
.ab-theme-mary .ab-pp-hl__grid p { color: rgba(255, 255, 255, .76); }
.ab-theme-mary .ab-going-card a { border-color: var(--mr-line); }
.ab-theme-mary .ab-going-card a:hover, .ab-theme-mary .ab-going-card a:focus-visible { border-color: var(--mr-ice); }
.ab-theme-mary .ab-rcta { background: var(--mr-deep); border-top: 1px solid var(--mr-line); }

.ab-theme-mary .ab-pp-res__card { border-top-color: var(--mr-bright); }
.ab-theme-mary .ab-pp-res__list li::before { background: var(--mr-bright); }
.ab-theme-mary .ab-pp-plans a:hover, .ab-theme-mary .ab-pp-plans a:focus-visible { border-color: var(--mr-bright); }
.ab-theme-mary .ab-pp-plans__img { background: #f3f6fa; }
.ab-theme-mary .ab-pp-near h3 { border-bottom-color: var(--mr-bright); }
.ab-theme-mary .ab-lb::backdrop { background: rgba(14, 34, 54, .96); }
.ab-theme-mary .ab-gal__close:hover, .ab-theme-mary .ab-gal__close:focus-visible { background: var(--mr-bright); border-color: var(--mr-bright); color: #fff; }
@media (max-width: 767px) {
  .ab-theme-mary .ab-rhero::after { background: linear-gradient(rgba(20, 48, 74, .55) 0, rgba(20, 48, 74, .35) 30%, rgba(20, 48, 74, .74) 62%, rgba(20, 48, 74, .92) 100%); }
}

/* ---------- Form dropdowns (assets/pages.js builds them from each <select>) ---------- */
.ab-dd { position: relative; display: block; letter-spacing: 0; text-transform: none; }
.ab-dd__native { position: absolute !important; inset: auto 0 0 0; width: 100% !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; }
.ab-dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; margin: 0; padding: 12px 16px 12px 14px;
  border: 1px solid var(--ab-grey-5) !important; border-radius: 0 !important; background: #fff !important; color: var(--ab-black) !important; box-shadow: none;
  font: 300 16px/1.5 var(--ab-font) !important; letter-spacing: 0 !important; text-transform: none !important; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ab-dd__btn:hover { border-color: var(--ab-grey-3) !important; }
.ab-dd__btn:focus { outline: none; }
.ab-dd__btn:focus-visible, .ab-dd.is-open .ab-dd__btn { border-color: var(--ab-navy) !important; box-shadow: 0 0 0 1px var(--ab-navy); }
.ab-dd .ab-dd__val { color: var(--ab-black) !important; }
.ab-dd .ab-dd__btn.is-placeholder .ab-dd__val { color: var(--ab-grey-3) !important; }
.ab-dd__val { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ab-dd__btn svg { flex: none; color: var(--ab-black); transition: transform .25s ease; }
.ab-dd.is-open .ab-dd__btn svg { transform: rotate(180deg); }
.ab-dd:has(select[aria-invalid="true"]) .ab-dd__btn { border-color: #b3261e !important; }
.ab-dd__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 300px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--ab-grey-5); box-shadow: 0 18px 40px rgba(0, 0, 0, .08); animation: ab-dd-in .16s ease-out; }
.ab-dd.is-up .ab-dd__list { top: auto; bottom: calc(100% + 6px); }
@keyframes ab-dd-in { from { opacity: 0; transform: translateY(-4px); } }
.ab-dd__opt { position: relative; margin: 0; padding: 11px 16px 11px 20px; font: 300 15px/1.45 var(--ab-font); letter-spacing: .01em; color: var(--ab-black); cursor: pointer; }
.ab-dd__opt::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: var(--ab-navy); transform: scaleY(0); transition: transform .15s; }
.ab-dd__opt.is-empty { color: var(--ab-grey-3); }
.ab-dd__opt.is-active { background: var(--ab-mist, #f4f6fa); }
.ab-dd__opt[aria-selected="true"] { color: var(--ab-navy); }
.ab-dd__opt[aria-selected="true"]::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .ab-dd__list { animation: none; } .ab-dd__btn svg { transition: none; } }

/* ---------- Book a site visit ---------- */
.ab-form input[type="date"] { appearance: none; -webkit-appearance: none; display: flex; align-items: center; }
.ab-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.ab-form input[type="date"]:invalid, .ab-form input[type="date"]:not(:focus)[value=""] { color: var(--ab-black); }
.ab-form__note { margin: -8px 0 0; font-size: 13px; font-weight: 300; color: var(--ab-grey-3); }
.ab-book__steps { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ab-grey-5); }
.ab-book__steps li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ab-grey-5); font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--ab-grey-1); }
.ab-book__steps b { display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ab-navy); }
.ab-book__n { flex: none; width: 28px; font-size: 13px; font-weight: 300; letter-spacing: .1em; color: var(--ab-grey-3); line-height: 1.9; }
.ab-cinfo__list li a + a { margin-top: 2px; }
