/* Location / suburb pages (group "loc"). Accent comes from --loc, set per page from lib/site.js centre.color. */
:root { --loc: #44697d; }
.loc-tint { background: color-mix(in srgb, var(--loc) 9%, #fff); }

/* hero */
.loc-hero h1 { margin-bottom: .25em; }
.loc-hero h1 .hl { color: var(--loc); }
.loc-hero .loc-sub { font: 600 clamp(1rem, 1.4vw, 1.12rem)/1.35 var(--f-body); color: var(--loc); letter-spacing: .01em; margin: 0 0 14px; }
.loc-hero .lede { margin: 0 0 18px; }
.loc-hero .answer { max-width: 60ch; }
.loc-hero .btns { margin-top: 22px; }
.loc-hero .btn--ghost svg { width: 18px; height: 18px; }
.loc-hero .hero-chip { left: -4%; bottom: 6%; }
.loc-hero .hero-chip .badge { background: color-mix(in srgb, var(--loc) 16%, #fff); }
.loc .answer { background: color-mix(in srgb, var(--loc) 9%, #fff); border-color: color-mix(in srgb, var(--loc) 38%, transparent); }
.loc .answer strong:first-child { color: var(--loc); }
.loc .eyebrow { color: color-mix(in srgb, var(--loc) 70%, var(--ink)); }
@media (max-width: 860px) { .loc-hero .media { order: -1; width: 100%; margin-inline: auto; } .loc-hero .hero-chip { left: 0; bottom: 2%; } }

/* long copy */
.loc-copy p { margin: 0 0 1em; }
.loc-copy > :last-child { margin-bottom: 0; }
.loc-cols { columns: 2 340px; column-gap: clamp(28px, 5vw, 64px); }
.loc-cols p { break-inside: avoid; }
.loc-lead { font-size: 1.12rem; color: var(--ink); }

/* numbered cards */
.loc-nums { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 44px); }
.loc-num { padding: 28px 26px 30px; position: relative; }
.loc-num .n { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 54% 46% 52% 48% / 48% 56% 44% 52%; background: var(--loc); color: #fff; font: 500 1.55rem/1 var(--f-head); transform: rotate(-6deg); transition: transform .5s var(--spring); }
.loc-num:nth-child(3n+2) .n { background: var(--coral); transform: rotate(5deg); }
.loc-num:nth-child(3n) .n { background: var(--ink); }
.loc-num:hover .n { transform: rotate(0) scale(1.1); }
.loc-num h3 { font-size: 1.3rem; margin-bottom: .45em; }
.loc-num p { font-size: .99rem; margin: 0 0 .8em; }
.loc-num p:last-child { margin: 0; }
.loc-num--plain .n { display: none; }
@media (max-width: 1000px) { .loc-nums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .loc-nums { grid-template-columns: 1fr; } }

/* rooms */
.loc-rooms { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 44px); align-items: start; }
.loc-room .img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.loc-room .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.loc-room:hover .img img { transform: scale(1.06); }
.loc-room .card-body { position: relative; padding-top: 30px; }
.loc-room .n { position: absolute; top: -27px; left: 22px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--loc); color: #fff; font: 500 1.5rem/1 var(--f-head); border: 4px solid #fff; }
.loc-room:nth-child(2) .n { background: var(--coral); }
.loc-room:nth-child(3) .n { background: var(--ink); }
.loc-room h3 { font-size: 1.3rem; }
.loc-room p { font-size: .98rem; }
.loc-room .tag { left: auto; right: 14px; }
@media (max-width: 1000px) { .loc-rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .loc-rooms { grid-template-columns: 1fr; } }

/* approach list */
.loc-approach { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.loc-approach li { background: #fff; border-radius: 18px; padding: 16px 18px 16px 56px; position: relative; font-weight: 600; color: var(--ink); box-shadow: 0 10px 24px -20px rgba(68, 105, 125, .6); }
.loc-approach li svg { position: absolute; left: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; color: var(--loc); }
@media (max-width: 520px) { .loc-approach { grid-template-columns: 1fr; } }

/* info card */
.loc-card { overflow: hidden; }
.loc-card-top { background: var(--loc); color: #fff; padding: 22px 26px 20px; position: relative; }
.loc-card-top .eyebrow { color: rgba(255, 255, 255, .8); margin-bottom: 8px; }
.loc-card-top .h3 { font: 500 1.6rem/1.15 var(--f-head); color: #fff; margin: 0; }
.loc-card-top .tag { position: static; display: inline-block; margin-top: 10px; }
.loc-card ul { list-style: none; padding: 22px 26px 4px; margin: 0; }
.loc-card li { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; line-height: 1.45; }
.loc-card li svg { width: 20px; height: 20px; color: var(--loc); flex: none; margin-top: 2px; }
.loc-card li a { color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.loc-card li a:hover { color: var(--loc); }
.loc-card li small { display: block; color: var(--ink-soft); font-size: .86rem; }
.loc-card .btns { padding: 6px 26px 26px; gap: 10px; }

/* nearest centre */
.loc-nearest { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.loc-nearest .card:hover { transform: none; }
@media (max-width: 900px) { .loc-nearest { grid-template-columns: 1fr; } }

/* inclusions */
.loc-incl { list-style: none; padding: 0; margin: clamp(24px, 3vw, 36px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.loc-incl li { flex: 0 0 calc((100% - 56px) / 5); background: #fff; border-radius: 22px; padding: 22px 14px 20px; text-align: center; box-shadow: 0 12px 28px -22px rgba(68, 105, 125, .6); transition: transform .45s var(--spring); }
.loc-incl li:hover { transform: translateY(-5px) rotate(-1.5deg); }
.loc-incl li:nth-child(even):hover { transform: translateY(-5px) rotate(1.5deg); }
.loc-incl svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--loc); }
.loc-incl li:nth-child(3n+2) svg { color: var(--coral); }
.loc-incl h3 { font: 600 .96rem/1.3 var(--f-body); margin: 0; color: var(--ink); }
@media (max-width: 1000px) { .loc-incl li { flex-basis: calc((100% - 28px) / 3); } }
@media (max-width: 560px) { .loc-incl { gap: 10px; } .loc-incl li { flex-basis: calc((100% - 10px) / 2); padding: 18px 10px; } }

/* find strip */
.loc-find { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; background: var(--loc); color: #fff; border-radius: 40px; padding: 26px clamp(22px, 4vw, 44px); margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.loc-find + .loc-find { margin-top: 14px; background: var(--mist); color: var(--ink); }
.loc-find + .loc-find a, .loc-find + .loc-find b { color: var(--ink); }
.loc-find svg { width: 34px; height: 34px; flex: none; }
.loc-find p { margin: 0; }
.loc-find .h3 { font: 500 1.35rem/1.2 var(--f-head); }
.loc-find a { color: #fff; text-decoration: none; }
.loc-find a:hover { text-decoration: underline; }
.loc-find b { color: #fff; }
.loc-find small { display: block; font-weight: 700; opacity: .8; }

/* NQS exceeding */
.loc-nqs { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.loc-nqs-badge { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto; border-radius: 50%; background: conic-gradient(var(--loc) 0 14.28%, var(--coral) 0 28.57%, var(--sun) 0 42.85%, var(--mint) 0 57.14%, var(--ink) 0 71.42%, #ebb2ab 0 85.71%, #9eb1b3 0); display: grid; place-items: center; animation: spin 60s linear infinite; }
.loc-nqs-badge > div { width: 74%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; text-align: center; animation: spin 60s linear infinite reverse; box-shadow: var(--shadow); }
.loc-nqs-badge b { display: block; font: 500 clamp(3rem, 7vw, 4.6rem)/1 var(--f-head); color: var(--loc); }
.loc-nqs-badge span { display: block; font: 600 clamp(1.4rem, 2.4vw, 1.9rem)/1 var(--f-hand); color: var(--ink); }
.loc-nqs-badge small { display: block; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.loc-nqs h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.loc-qa { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.loc-qa li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 10px 24px -20px rgba(68, 105, 125, .6); }
.loc-qa .q { font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.loc-qa .t { font-weight: 700; color: var(--ink); line-height: 1.3; }
.loc-qa em { font-style: normal; font-weight: 600; font-size: .82rem; background: var(--mint-2); color: #4f6259; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 860px) { .loc-nqs { grid-template-columns: 1fr; } .loc-nqs-badge { max-width: 260px; } }
@media (max-width: 520px) { .loc-qa li { grid-template-columns: 1fr auto; } .loc-qa .q { grid-column: 1 / -1; } }

/* instagram */
.loc-ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
@media (max-width: 700px) { .loc-ig-grid { grid-template-columns: 1fr 1fr; } }
.loc-ig .btns { justify-content: center; margin-top: 26px; }

/* reviews grid */
.loc-reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: 32px; }
@media (max-width: 760px) { .loc-reviews { grid-template-columns: 1fr; } }

/* areas */
.loc-areas { margin-top: 14px; justify-content: flex-start; }
.center .loc-areas, .loc-areas--center { justify-content: center; }
.loc-areas a { display: inline-flex; gap: 8px; align-items: center; }
.loc-areas svg { width: 16px; height: 16px; color: var(--loc); }
.loc-areas a:hover svg { color: #fff; }

/* Norwest: coming soon */
.loc-tape-wrap { overflow: hidden; padding: 6px 0; }
.loc-tape { position: relative; z-index: 3; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--sun) 0 18px, #5a5758 18px 36px); padding: 8px 0; transform: rotate(-1.2deg); margin: 0 -20px; width: calc(100% + 40px); }
.loc-tape-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.loc-tape span { background: #5a5758; color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; padding: 4px 12px; border-radius: 4px; white-space: nowrap; }
.loc-build { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.loc-build figure { margin: 0; background: #fff; padding: 10px 10px 12px; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(var(--r, -1.5deg)); transition: transform .5s var(--spring); }
.loc-build figure:nth-child(3n+2) { --r: 1.4deg; }
.loc-build figure:nth-child(3n) { --r: -.6deg; }
.loc-build figure:hover { transform: rotate(0) scale(1.04); z-index: 2; position: relative; }
.loc-build img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 3px; }
.loc-build figcaption { font: 600 1.15rem/1.15 var(--f-hand); color: var(--ink); text-align: center; margin-top: 8px; }
@media (max-width: 900px) { .loc-build { grid-template-columns: repeat(2, 1fr); } }
.loc-soon { position: absolute; z-index: 4; right: -2%; top: 4%; width: 130px; height: 130px; border-radius: 50%; background: var(--coral-deep); color: #fff; display: grid; place-items: center; text-align: center; font: 600 1.45rem/1 var(--f-hand); transform: rotate(10deg); box-shadow: var(--shadow-lg); animation: wobble 3s ease-in-out infinite; }
.loc-soon small { display: block; font: 600 .7rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 600px) { .loc-soon { width: 104px; height: 104px; font-size: 1.2rem; right: 2%; } }
@media (prefers-reduced-motion: reduce) { .loc-tape-track, .loc-nqs-badge, .loc-nqs-badge > div { animation: none; } }
.loc-num .n svg { width: 26px; height: 26px; }
.loc-num-photo { position: relative; min-height: 260px; }
.loc-num-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-num-photo:hover { transform: rotate(.6deg); }

/* click-to-play YouTube walk-through */
.yt { position: relative; max-width: 960px; margin: 36px auto 0; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #1b1f22; }
.yt-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.yt-play:hover img { transform: scale(1.04); }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 32px rgba(0, 0, 0, .32); transition: transform .5s var(--spring), background .3s; }
.yt-btn svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { transform: scale(1.1); background: var(--coral-deep); }
.yt-play:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.yt-label { position: absolute; left: 18px; bottom: 16px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 999px; }
.yt iframe, .yt video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
@media (max-width: 600px) { .yt { border-radius: var(--r-md); } .yt-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .yt-btn svg { width: 26px; height: 26px; } .yt-label { display: none; } }

/* centre photo gallery */
.loc-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.loc-gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-md); position: relative; }
.loc-gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.loc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.loc-gallery figure:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .loc-gallery { grid-template-columns: repeat(2, 1fr); } .loc-gallery figure:nth-child(5) { grid-column: span 2; } }

/* Bondi pro photo gallery (masonry) + lightbox */
.pro-gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(110px, 11.5vw, 175px); grid-auto-flow: row dense; gap: 10px; }
.pg-item { display: block; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; position: relative; background: var(--mist-2); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--ease); }
.pg-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.18)); opacity: 0; transition: opacity .4s; }
.pg-item:hover img, .pg-item:focus-visible img { transform: scale(1.06); }
.pg-item:hover::after { opacity: 1; }
.pg-big { grid-column: span 3; grid-row: span 2; }
.pg-med { grid-column: span 2; grid-row: span 2; }
.pg-wide { grid-column: span 2; }
.pg-tall { grid-row: span 2; }
@media (max-width: 1000px) {
  .pro-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 17vw, 170px); }
  .pg-big { grid-column: span 2; }
}
@media (max-width: 640px) {
  .pro-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 8px; }
  .pg-big, .pg-med { grid-column: span 2; }
  .pg-big { grid-row: span 2; }
  .pg-med { grid-row: span 2; }
}
.pg-note { text-align: center; color: var(--ink-soft); font-size: .9rem; margin: 10px 0 0; }
.lb:not([open]) { display: none; }
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 20, .92); display: grid; place-items: center; padding: 56px 12px; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; }
.lb::backdrop { background: transparent; }
.lb img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #eee; font-size: .9rem; padding: 0 60px; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb .lb-close { top: 12px; right: 12px; } .lb .lb-prev { left: 12px; top: 50%; } .lb .lb-next { right: 12px; top: 50%; }
.lb .lb-count { position: absolute; top: 22px; left: 0; right: 0; text-align: center; color: #ccc; font-size: .85rem; }
