/* Project page skin (shared). Colours are variables, so each page overrides them with a small inline :root block.
   Palette: the owner's coloured unit layouts (ivory marble, oak floors, charcoal walls, sage planting) with the development's deep green.
   Signature: the arch from the development's mark, used for the hero image, the tower tops and the lift-lobby photo. */
:root {
  --ink: #1D2A22;
  --ink-soft: #2A3A30;
  --ink-line: color-mix(in srgb, var(--paper) 16%, transparent);
  --paper: #F5EFE4;
  --paper-deep: #EBE1CC;
  --paper-line: color-mix(in srgb, var(--ink) 15%, transparent);
  --brass: #C99B63;
  --brass-bright: #E2BE8B;
  --brass-deep: #8B5E2D;
  --ab-green: #3B4D40;
  --ab-green-2: #4C6150;
  --ab-sage: #A9BBA0;
  --ab-oak: #C9A06A;
  --ab-stone: #E3D7BD;
  --ab-cream: #FBF7EE;
  --ab-grey: #6F6C64;
}

/* ---------- Hero ---------- */
.ab-hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; padding-top: 76px; }
.ab-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 520px at 76% 40%, color-mix(in srgb, var(--brass-bright) 18%, transparent), transparent 64%), linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 38%);
}
.ab-hero .breadcrumb { padding-top: 26px; font-size: 12.5px; color: color-mix(in srgb, var(--paper) 62%, transparent); position: relative; }
.ab-hero .breadcrumb a { color: color-mix(in srgb, var(--paper) 86%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.ab-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: end; padding-top: 40px; position: relative; }
.ab-hero-copy { padding-bottom: 70px; }
.ab-eyebrow { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-bright); display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-weight: 600; }
.ab-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--brass); }
.ab-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(42px, 6vw, 82px); line-height: 1; letter-spacing: 0.02em; color: var(--paper); margin: 0 0 24px; }
.ab-hero h1 small { display: block; font-family: var(--font-body); font-weight: 500; font-size: clamp(11px, 1.15vw, 14px); letter-spacing: 0.36em; text-transform: uppercase; color: var(--brass-bright); margin-top: 18px; }
.ab-lede { max-width: 520px; margin: 0; font-size: 17px; line-height: 1.7; color: color-mix(in srgb, var(--paper) 84%, transparent); }
.ab-facts { display: grid; grid-template-columns: 1fr 1fr; max-width: 500px; margin: 34px 0 0; border-top: 1px solid var(--ink-line); }
.ab-facts div { padding: 18px 14px 0 0; }
.ab-facts div:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--ink-line); }
.ab-facts b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--paper); }
.ab-facts span { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-bright); }
.ab-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ab-cta .btn.ghost { color: var(--paper); }
.ab-hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.ab-hero-art.gable::before { border-radius: 0; border: 0; background: var(--brass); inset: -3px -3px 0; clip-path: polygon(50% 0, 100% 17%, 100% 100%, 0 100%, 0 17%); }
.ab-hero-art.gable .ab-arch { border-radius: 0; clip-path: polygon(50% 0, 100% 17%, 100% 100%, 0 100%, 0 17%); position: relative; }
.ab-hero-art.wide { width: min(100%, 560px); }
.ab-hero-art.wide .ab-arch { aspect-ratio: 4 / 3.2; border-radius: 240px 240px 0 0; }
.ab-hero-art::before { content: ""; position: absolute; inset: -14px -14px 0; border: 1px solid color-mix(in srgb, var(--brass-bright) 55%, transparent); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }
.ab-arch { border-radius: 999px 999px 0 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-soft); }
.ab-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-art-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 11px; color: color-mix(in srgb, var(--paper) 78%, transparent); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); margin: 0; }

/* ---------- Sections ---------- */
.ab-section { padding: 88px 0; scroll-margin-top: 70px; }
.ab-section.alt { background: var(--paper-deep); }
.ab-section.dark { background: var(--ink); color: var(--paper); }
.ab-head { max-width: 780px; margin: 0 0 36px; }
.ab-head .ab-eyebrow { color: var(--brass-deep); }
.ab-head .ab-eyebrow::before { background: var(--brass-deep); }
.dark .ab-head .ab-eyebrow { color: var(--brass-bright); }
.dark .ab-head .ab-eyebrow::before { background: var(--brass); }
.ab-head h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: 0.005em; margin: 0 0 14px; color: inherit; }
.ab-head p { margin: 0; font-size: 16.5px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 74%, transparent); }
.dark .ab-head p { color: color-mix(in srgb, var(--paper) 76%, transparent); }
.ab-note { margin: 26px 0 0; font-size: 13px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 62%, transparent); max-width: 760px; }
.dark .ab-note { color: color-mix(in srgb, var(--paper) 62%, transparent); }

/* ---------- Tabs (finder, towers, facilities); every panel stays visible without JS ---------- */
.ab-tablist { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.ab-tab {
  appearance: none; cursor: pointer; font: inherit; text-align: left; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--paper-line); background: var(--ab-cream); color: var(--ink); display: inline-flex; align-items: baseline; gap: 9px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ab-tab b { font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.ab-tab span { font-size: 11.5px; letter-spacing: 0.04em; opacity: 0.7; }
.ab-tab:hover { border-color: var(--brass); }
.ab-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ab-tab[aria-selected="true"] span { opacity: 0.85; color: var(--brass-bright); }
.ab-js .ab-panel[hidden] { display: none; }
.ab-panel + .ab-panel { margin-top: 56px; }
.ab-js .ab-panel + .ab-panel { margin-top: 0; }

/* Layout finder */
.ab-panel-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 44px; align-items: start; }
.ab-plan { background: #fff; border: 1px solid var(--paper-line); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ab-plan a { display: block; }
.ab-plan img { width: auto; max-width: 100%; max-height: 600px; margin: 0 auto; }
.ab-plan figcaption { font-size: 12px; color: color-mix(in srgb, var(--ink) 60%, transparent); text-align: center; line-height: 1.6; }
.ab-plan-links { display: flex; gap: 18px; font-size: 12.5px; }
.ab-plan-links a { color: var(--brass-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ab-detail h3 { font-family: var(--font-display); font-weight: 300; font-size: 34px; line-height: 1.05; margin: 0 0 4px; }
.ab-detail .ab-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; margin: 0 0 18px; }
.ab-price-big { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.1; margin: 0 0 4px; }
.ab-price-sub { font-size: 13px; color: color-mix(in srgb, var(--ink) 62%, transparent); margin: 0 0 22px; }
.ab-dl { margin: 0 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--paper-line); }
.ab-dl dt, .ab-dl dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; line-height: 1.5; }
.ab-dl dt { color: color-mix(in srgb, var(--ink) 60%, transparent); padding-right: 22px; white-space: nowrap; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; align-self: center; }
.ab-dl dd { font-weight: 500; }
.ab-detail .btn { width: 100%; justify-content: center; }

/* Prices */
.ab-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ink-line); border-radius: 20px; background: rgba(255, 255, 255, 0.04); }
.ab-price-table { width: 100%; min-width: 760px; border-collapse: collapse; color: var(--paper); }
.ab-price-table th, .ab-price-table td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--ink-line); font-size: 14px; font-variant-numeric: tabular-nums; vertical-align: middle; }
.ab-price-table th { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-bright); font-weight: 600; }
.ab-price-table tbody tr:last-child td { border-bottom: 0; }
.ab-price-table td:first-child { font-family: var(--font-display); font-size: 20px; white-space: nowrap; }
.ab-price-table .tower { display: inline-block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--brass-bright) 16%, transparent); color: var(--brass-bright); }
.ab-bar { display: block; height: 7px; border-radius: 99px; background: color-mix(in srgb, var(--paper) 14%, transparent); margin-top: 7px; min-width: 120px; }
.ab-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ab-oak), var(--brass-bright)); width: var(--w); }
.ab-price-table small { display: block; font-size: 11.5px; opacity: 0.66; margin-top: 3px; }

/* Tower section */
.ab-stack { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 52px; align-items: start; }
.ab-towers { display: grid; gap: 6px; }
.ab-row { display: grid; gap: 6px; }
.ab-row.two { grid-template-columns: 1fr 1fr; padding: 0 9%; }
.ab-band {
  appearance: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: #fff; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; gap: 3px;
  border-radius: 6px; min-height: 52px; transition: filter 0.2s ease, transform 0.2s ease;
}
.ab-band b { font-family: var(--font-display); font-weight: 400; font-size: 16px; }
.ab-band span { font-size: 11.5px; opacity: 0.86; }
.ab-band:hover { filter: brightness(1.08); }
.ab-band[aria-pressed="true"] { outline: 2px solid var(--brass-bright); outline-offset: 2px; }
.ab-band.upper { background: var(--ab-green-2); min-height: 82px; border-radius: 999px 999px 6px 6px / 46px 46px 6px 6px; align-items: center; text-align: center; padding-top: 22px; }
.ab-band.typical { background: var(--ab-green); min-height: 190px; align-items: center; text-align: center; }
.ab-band.sky { background: var(--ab-sage); color: var(--ink); min-height: 44px; }
.ab-band.podium { background: var(--ab-oak); color: var(--ink); min-height: 66px; }
.ab-band.park { background: var(--ab-grey); min-height: 96px; }
.ab-band.lobby { background: var(--ab-stone); color: var(--ink); min-height: 54px; }
.ab-band-detail article { padding: 28px 30px; background: var(--ab-cream); border: 1px solid var(--paper-line); border-radius: 26px; }
.ab-band-detail h3 { font-family: var(--font-display); font-weight: 300; font-size: 28px; margin: 0 0 12px; }
.ab-band-detail p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.ab-band-detail ul { margin: 0; padding-left: 18px; list-style: disc; font-size: 14.5px; line-height: 1.75; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.ab-js .ab-band-detail article[hidden] { display: none; }
.ab-band-detail article + article { margin-top: 18px; }
.ab-js .ab-band-detail article + article { margin-top: 0; }
.ab-plates { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 52px; }
.ab-plate { margin: 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 18px; }
.ab-plate img { width: 100%; height: auto; }
.ab-plate figcaption { font-size: 13px; line-height: 1.65; color: color-mix(in srgb, var(--ink) 70%, transparent); margin-top: 12px; }
.ab-plate figcaption b { color: var(--ink); }

/* Facilities */
.ab-fac-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 36px; align-items: start; }
.ab-fac-img { margin: 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 14px; }
.ab-fac-img img { width: 100%; height: auto; }
.ab-legend { margin: 0; padding: 0; list-style: none; columns: 1; font-size: 14px; line-height: 1.55; }
.ab-legend li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--paper-line); break-inside: avoid; }
.ab-legend li::before { content: counter(item); counter-increment: item; min-width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11.5px; display: grid; place-items: center; font-weight: 600; flex: none; }
.ab-legend { counter-reset: item; }
.ab-legend li[value]::before { content: attr(value); }
.ab-fac-count { font-family: var(--font-display); font-weight: 300; font-size: 64px; line-height: 1; margin: 0; color: var(--ink); }
.ab-fac-count small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-deep); font-weight: 600; margin-top: 8px; }

/* Inside the home */
.ab-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink-line); }
.ab-spec { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--ink-line); display: flex; gap: 16px; }
.ab-spec i { font-style: normal; font-family: var(--font-display); font-size: 15px; color: var(--brass-bright); min-width: 28px; padding-top: 2px; }
.ab-spec b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 19px; margin-bottom: 5px; color: var(--paper); }
.ab-spec span { font-size: 14px; line-height: 1.65; color: color-mix(in srgb, var(--paper) 74%, transparent); }
.ab-trio { display: grid; grid-template-columns: 0.8fr 1.1fr 1.1fr; gap: 30px; margin-top: 64px; align-items: start; }
.ab-trio figure { margin: 0; }
.ab-trio .ab-arch { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; }
.ab-card { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ink-line); border-radius: 24px; padding: 22px 22px 24px; }
.ab-card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 16px; }
.ab-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; margin: 0 0 8px; color: var(--paper); }
.ab-card p { margin: 0; font-size: 14.5px; line-height: 1.7; color: color-mix(in srgb, var(--paper) 76%, transparent); }
.ab-trio figcaption { font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--paper) 70%, transparent); margin-top: 14px; }
.ab-trio figcaption b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--paper); margin-bottom: 6px; }

/* Location */
.ab-map { margin: 0 0 40px; background: #fff; border: 1px solid var(--paper-line); border-radius: 28px; padding: 16px; }
.ab-map img { width: 100%; height: auto; border-radius: 14px; }
.ab-map figcaption { font-size: 12.5px; color: color-mix(in srgb, var(--ink) 62%, transparent); margin-top: 10px; line-height: 1.6; }
.ab-near { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.ab-near h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--brass); }
.ab-near ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.7; color: color-mix(in srgb, var(--ink) 78%, transparent); }
.ab-near li { padding: 3px 0; }

@media (max-width: 1040px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .ab-hero-copy { padding-bottom: 0; }
  .ab-hero-art { width: min(100%, 380px); }
  .ab-panel-grid, .ab-stack, .ab-fac-grid { grid-template-columns: 1fr; }
  .ab-near { grid-template-columns: repeat(2, 1fr); }
  .ab-specs { grid-template-columns: repeat(2, 1fr); }
  .ab-trio { grid-template-columns: 1fr 1fr; }
  .ab-trio > :first-child { grid-column: 1 / -1; max-width: 340px; }
}
@media (max-width: 640px) {
  .ab-section { padding: 60px 0; }
  .ab-facts div:nth-child(even) { padding-left: 16px; }
  .ab-facts b { font-size: 21px; }
  .ab-plan { padding: 14px; border-radius: 22px; }
  .ab-plates { grid-template-columns: 1fr; }
  .ab-near, .ab-specs, .ab-trio { grid-template-columns: 1fr; }
  .ab-row.two { padding: 0 3%; }
  .ab-tab { padding: 9px 14px; }
  .ab-dl { grid-template-columns: 1fr; }
  .ab-dl dt { border-bottom: 0; padding-bottom: 0; }
  .ab-band-detail article { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .ab-tab, .ab-band { transition: none; } }

/* ---------- Shared additions for the Johor series ---------- */
.ab-gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 12px; }
.ab-gallery a { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--ink-soft); grid-column: span 2; }
.ab-gallery a.w3 { grid-column: span 3; }
.ab-gallery a.w4 { grid-column: span 4; }
.ab-gallery a.h2 { grid-row: span 2; }
.ab-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.ab-gallery a:hover img { transform: scale(1.04); }
.ab-gallery figcaption, .ab-gallery .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; font-size: 11.5px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.ab-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; border-top: 1px solid var(--paper-line); margin: 0 0 40px; }
.ab-route { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--paper-line); }
.ab-route b { display: block; font-family: var(--font-display); font-weight: 300; font-size: 38px; line-height: 1; color: var(--ink); }
.ab-route b small { font-size: 14px; letter-spacing: 0.06em; margin-left: 4px; color: var(--brass-deep); font-family: var(--font-body); font-weight: 600; }
.ab-route span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.ab-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.ab-cards .ab-card h3 { font-size: 22px; }
.ab-cards ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: color-mix(in srgb, var(--paper) 76%, transparent); }
.ab-cards.light .ab-card { background: var(--ab-cream); border-color: var(--paper-line); }
.ab-cards.light .ab-card h3 { color: var(--ink); }
.ab-cards.light .ab-card p, .ab-cards.light ul { color: color-mix(in srgb, var(--ink) 76%, transparent); }
.ab-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.ab-split figure { margin: 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 24px; padding: 14px; }
.ab-split img { width: 100%; height: auto; }
.ab-split figcaption { font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 64%, transparent); margin-top: 10px; }
.ab-phase { display: grid; gap: 14px; }
.ab-phase div { padding: 18px 20px; border: 1px solid var(--paper-line); border-radius: 18px; background: var(--ab-cream); }
.ab-phase b { font-family: var(--font-display); font-weight: 400; font-size: 20px; display: block; margin-bottom: 4px; color: var(--ink); }
.ab-phase span { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 74%, transparent); }
.ab-badge-soldout { display: inline-block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
@media (max-width: 1040px) { .ab-gallery { grid-template-columns: repeat(4, 1fr); } .ab-gallery a, .ab-gallery a.w3, .ab-gallery a.w4 { grid-column: span 2; } .ab-split { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ab-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } .ab-gallery a, .ab-gallery a.w3, .ab-gallery a.w4 { grid-column: span 2; } .ab-gallery a.half { grid-column: span 1; } .ab-route { padding-right: 12px; } .ab-route b { font-size: 32px; } }
