/* ==========================================================
   Prima Altiora, Wakad — landing page styles
   Palette: navy + gold (from the project's launch creative)
   Hidden/animated states are only ever applied by index.js, so
   with JS off everything is visible.
========================================================== */
:root {
  --navy: #0d1b3e;
  --navy-2: #16295a;
  --gold: #b58b2a;
  --gold-l: #d4a94a;
  --ivory: #faf7f0;
  --paper: #ffffff;
  --ink: #1b2238;
  --muted: #5b6479;
  --line: #e7e0cf;
  --ok: #1f7a4d;
  --err: #b3261e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 62, .12);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory);
  line-height: 1.6; font-size: 16px; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-label {
  display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 10px;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--muted); }
.section-head.center { text-align: center; margin-inline: auto; }
.gold-rule { display: block; width: 64px; height: 3px; background: var(--gold); margin: 14px 0 0; }
.center .gold-rule { margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 10000; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, color .2s, border-color .2s;
  min-height: 46px;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover:not(:disabled) { background: #9c7620; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: var(--navy-2); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-wa { background: #1faa59; color: #fff; }
.btn-wa:hover { background: #178a47; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 2px; }

/* ---------- Progress bar / shimmer ---------- */
.page-loader-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-l)); z-index: 9999; transition: width .25s ease, opacity .4s ease; }
.page-loader-bar.is-done { opacity: 0; }
img.img-loading { background: linear-gradient(100deg, #ece6d6 30%, #f7f3e8 50%, #ece6d6 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
img.img-loaded { animation: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(13, 27, 62, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(212,169,74,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: .14em; }
.brand-sub { font-size: .62rem; letter-spacing: .3em; color: var(--gold-l); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: #e9edf8; text-decoration: none; font-size: .9rem; font-weight: 500; }
.main-nav a:hover { color: var(--gold-l); }
.main-nav .btn { padding: 9px 20px; min-height: 40px; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; padding: 0; color: #fff; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: #fff; margin: auto; position: relative; content: ""; transition: transform .2s; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-stage { position: relative; min-height: 700px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-slide.is-active .hero-bg { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.slide-1 .hero-bg { background:
  radial-gradient(900px 500px at 78% 8%, rgba(212,169,74,.28), transparent 60%),
  linear-gradient(160deg, #0d1b3e 0%, #16295a 55%, #0a1330 100%); }
.slide-2 .hero-bg { background:
  radial-gradient(800px 500px at 20% 90%, rgba(212,169,74,.22), transparent 60%),
  linear-gradient(200deg, #16295a 0%, #0d1b3e 60%, #08102a 100%); }
.slide-3 .hero-bg { background:
  radial-gradient(900px 520px at 60% 0%, rgba(255,255,255,.10), transparent 60%),
  linear-gradient(150deg, #0a1330 0%, #14264f 50%, #0d1b3e 100%); }
.hero-skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; opacity: .5; background: url("../img/skyline.svg") repeat-x bottom left / auto 100%; }
.hero-copy-wrap { position: relative; height: 100%; display: flex; align-items: center; }
.hero-copy { max-width: 600px; padding: 56px 0 120px; }
.hero-copy h1, .hero-copy h2 { color: #fff; }
.hero-copy h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-l); letter-spacing: .24em; font-size: .78rem; font-weight: 600; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-l); }
.hero-copy p.lead { font-size: 1.1rem; color: #d5dcf0; max-width: 520px; }
.hero-price { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-l); font-weight: 700; margin-bottom: 6px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-dotlist { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.hero-dotlist li { border: 1px solid rgba(212,169,74,.5); color: #f3e6c3; border-radius: 999px; padding: 5px 14px; font-size: .85rem; }

.hero-overlay { position: absolute; inset: 0 0 86px 0; pointer-events: none; z-index: 5; }
.hero-overlay .container { height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.hero-form-card { pointer-events: auto; width: 380px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 22px 24px 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 4px solid var(--gold); }
.hero-form-card h2 { font-size: 1.55rem; margin-bottom: 4px; }
.hero-form-card .sub { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 6; pointer-events: none; }
.hero-controls .container { display: flex; align-items: center; gap: 12px; }
.hero-arrow { pointer-events: auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(13,27,62,.4); color: #fff; cursor: pointer; font-size: 1.1rem; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); }
.hero-dots { pointer-events: auto; display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.4); cursor: pointer; }
.hero-dot.is-active { background: var(--gold-l); width: 28px; border-radius: 6px; }

.hero-facts { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; background: rgba(6, 12, 32, .82); border-top: 1px solid rgba(212,169,74,.35); }
.hero-facts ul { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; }
.hero-facts li { padding: 2px 8px; border-right: 1px solid rgba(255,255,255,.12); }
.hero-facts li:last-child { border-right: 0; }
.hero-facts strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold-l); line-height: 1.1; }
.hero-facts span { font-size: .78rem; color: #c9d2ea; letter-spacing: .04em; }

/* ---------- Forms ---------- */
.enq-form { display: grid; gap: 10px; }
.field { display: grid; gap: 4px; }
.field label { font-size: .8rem; font-weight: 600; color: var(--navy); }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid #d6cfbd; border-radius: 10px;
  font: 400 1rem var(--sans); color: var(--ink); background: #fff;
}
.field input[readonly] { background: #f4f1e8; color: var(--muted); }
.field input:focus, .field select:focus { border-color: var(--gold); outline: 3px solid rgba(181,139,42,.25); }
.field .is-invalid { border-color: var(--err); }
.field-error { display: none; color: var(--err); font-size: .8rem; }
.field-error.active { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .74rem; color: var(--muted); margin: 2px 0 0; }
.success-message { display: none; text-align: center; padding: 28px 12px; }
.success-message.active { display: block; }
.success-message .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 12px; font-size: 1.6rem; }
.success-message h3 { margin-bottom: 4px; }

/* ---------- Overview ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.figure picture, .figure { display: block; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.figure figcaption { font-size: .78rem; color: var(--muted); margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .88rem; font-weight: 500; color: var(--navy); }
.chip::before { content: "\25C6"; color: var(--gold); margin-right: 8px; font-size: .6rem; vertical-align: middle; }

/* ---------- Homes ---------- */
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy .section-head p { color: #c9d2ea; }
.bg-white { background: #fff; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(13,27,62,.06); display: flex; flex-direction: column; color: var(--ink); }
.card-plan { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 10px; }
.card-plan img { width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card h3 { margin: 0; color: var(--navy); }
.price { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--gold); }
.price small { font-family: var(--sans); font-size: .72rem; color: var(--muted); font-weight: 500; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 0; font-size: .9rem; }
.spec dt { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.spec dd { margin: 0 0 4px; font-weight: 600; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.card-actions .btn { flex: 1 1 140px; padding: 11px 16px; }
.view-link { font-size: .84rem; color: var(--gold); font-weight: 600; text-decoration: none; }
.view-link:hover { text-decoration: underline; }

/* ---------- Highlights ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: rgba(255,255,255,.06); border: 1px solid rgba(212,169,74,.3); border-radius: var(--radius); padding: 24px 20px; }
.feature svg { width: 40px; height: 40px; stroke: var(--gold-l); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.feature .k { font-size: .78rem; color: #c9d2ea; letter-spacing: .08em; text-transform: uppercase; }
.feature .v { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: #fff; line-height: 1.2; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.amenity { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 10px 18px; }
.amenity svg { width: 54px; height: 54px; stroke: var(--navy-2); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 10px; }
.amenity span { font-weight: 600; font-size: .92rem; color: var(--navy); }
.amenity-more { text-align: center; margin-top: 22px; color: var(--muted); }

/* ---------- Location ---------- */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.loc-list { display: grid; gap: 14px; }
.loc-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 18px; }
.loc-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.loc-card p, .loc-card ul { margin: 0; font-size: .92rem; color: var(--muted); }
.loc-card ul { padding-left: 18px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: #e9e4d3; display: flex; flex-direction: column; }
.map-wrap iframe { border: 0; width: 100%; flex: 1; min-height: 380px; }
.map-wrap .map-bar { padding: 12px 16px; background: #fff; display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .85rem; }
.fineprint { font-size: .78rem; color: var(--muted); margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--gold); line-height: 1; flex: none; }
.faq[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ---------- CTA + Footer ---------- */
.cta-box { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: center; }
.cta-box h2 { color: #fff; }
.cta-box p { color: #cfd7ee; }
.cta-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--gold); }
.contact-lines { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.contact-lines a { color: var(--gold-l); font-weight: 600; text-decoration: none; }

.site-footer { background: #08102a; color: #b9c2dc; padding: 48px 0 110px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.footer-logo img { width: 210px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.site-footer a { color: #e6ebf8; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; font-size: .76rem; color: #8f9bc0; line-height: 1.6; }

/* ---------- Sticky mobile bar, back to top ---------- */
.sticky-bar { display: none; }
.back-to-top { position: fixed; right: 16px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 800; box-shadow: var(--shadow); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(6,12,32,.7); display: none; place-items: center; z-index: 2000; padding: 16px; }
.modal-overlay.open { display: grid; }
.modal { background: #fff; border-radius: 16px; width: min(460px, 100%); max-height: 94vh; overflow: auto; padding: 28px 24px 24px; position: relative; border-top: 5px solid var(--gold); }
.modal h2 { font-size: 1.8rem; margin-right: 34px; }
.modal .sub { color: var(--muted); font-size: .92rem; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 1.7rem; cursor: pointer; color: var(--muted); }

/* ---------- Scroll reveal (classes added by index.js only) ---------- */
.reveal-up, .reveal-in, .reveal-scale, .reveal-left { transition: opacity .7s ease, transform .7s ease; }
.reveal-up { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 0; }
.reveal-scale { opacity: 0; transform: scale(.96); }
.reveal-left { opacity: 0; transform: translateX(-28px); }
.reveal-up.is-visible, .reveal-in.is-visible, .reveal-scale.is-visible, .reveal-left.is-visible { opacity: 1; transform: none; }

/* ---------- Thank-you page ---------- */
.thanks { min-height: 78vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.thanks .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .cta-box { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; display: none; border-bottom: 1px solid rgba(212,169,74,.3); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav .btn { margin-top: 12px; text-align: center; }
  .hero-stage { min-height: 560px; }
  .hero-overlay { position: static; inset: auto; pointer-events: auto; background: var(--navy); padding: 0 0 28px; }
  .hero-overlay .container { justify-content: center; }
  .hero-form-card { width: 100%; max-width: 460px; }
  .hero-copy { padding: 44px 0 150px; }
  .hero-controls { bottom: 84px; }
  .hero-facts { position: relative; }
  .hero { display: flex; flex-direction: column; }
  .hero-facts { order: 2; }
  .hero-facts ul { grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
  .hero-facts li:nth-child(2n) { border-right: 0; }
  .split, .loc-grid, .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .brand-sub { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .hero-stage { min-height: 520px; }
  .sticky-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 850; background: var(--navy); border-top: 2px solid var(--gold); }
  .sticky-bar a { color: #fff; text-decoration: none; text-align: center; padding: 12px 4px; font-weight: 600; font-size: .85rem; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 56px; justify-content: center; }
  .sticky-bar a.wa { background: #1faa59; }
  .sticky-bar a.enq { background: var(--gold); }
  .sticky-bar svg { width: 20px; height: 20px; }
  .back-to-top { bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.field-row.meta { grid-template-columns: 1fr; }
.cta-form .form-note, .modal .form-note, .hero-form-card .form-note { color: var(--muted); }
.cta-form .success-message p { color: var(--muted); }

/* ---------- Hero photo ---------- */
.hero-bg { background-color: #0a1330; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-img.pos-2 { object-position: 12% 50%; transform: scale(1.12); transform-origin: 12% 50%; }
.hero-img.pos-3 { object-position: 92% 50%; transform: scale(1.12); transform-origin: 92% 50%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,16,42,.82) 0%, rgba(8,16,42,.5) 40%, rgba(8,16,42,.08) 100%),
  linear-gradient(0deg, rgba(8,16,42,.7) 0%, rgba(8,16,42,0) 30%); }
.hero-skyline { display: none; }
.hero-slide.slide-1 .hero-img.img-loading, .hero-img.img-loading { background: #0a1330; animation: none; }
@media (max-width: 960px) {
  .hero-shade { background: linear-gradient(180deg, rgba(8,16,42,.55) 0%, rgba(8,16,42,.78) 60%, rgba(8,16,42,.92) 100%); }
  .hero-img { object-position: 38% 50%; }
}

/* ---------- Sticky bar buttons ---------- */
.sticky-bar button { border: 0; color: #fff; font: 600 .85rem var(--sans); cursor: pointer; padding: 12px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; }
.sticky-bar button.wa { background: #1faa59; }
.sticky-bar button.enq { background: var(--gold); }
.sticky-bar button svg { width: 20px; height: 20px; }

/* ---------- Blog: page hero, breadcrumb, article ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 44px 0 46px; border-bottom: 3px solid var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 900px; margin-bottom: 10px; }
.page-hero .hero-sub, .page-hero .meta { color: #cfd7ee; max-width: 760px; margin: 0; font-size: 1rem; }
.page-hero .meta { font-size: .88rem; color: #b9c2dc; }
.breadcrumb { margin-bottom: 18px; font-size: .84rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "\203A"; margin-right: 6px; color: var(--gold-l); }
.breadcrumb a { color: #d7def2; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-l); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-l); }
.prose { max-width: 780px; }
.prose-wide { max-width: 1000px; }
.article .lead { font-size: 1.18rem; color: var(--navy); font-weight: 500; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.prose p, .prose li { font-size: 1.04rem; }
.prose ul { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: #8a6516; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 420px; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: #f4efe0; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.table-wrap tr:last-child td { border-bottom: 0; }
.article-cta { grid-template-columns: 1fr auto; margin: 2em 0; padding: 26px 28px; gap: 20px; }
.article-cta h3 { color: #fff; margin: 0 0 6px; }
.article-cta p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sources { margin-top: 2.2em; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: .88rem; color: var(--muted); }
.sources h3 { font-size: 1.1rem; margin-bottom: 6px; }
.sources ul { margin: 0 0 8px; padding-left: 18px; }
.sources li { font-size: .88rem; }
.sources p { margin: 0; font-size: .8rem; }
.keep-reading h2 { margin-bottom: 18px; }

/* ---------- Blog: cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 12px; padding: 20px 20px 16px; text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card h3 { margin: 0; font-size: 1.25rem; }
.cat-card p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.post-card h3, .post-card h2 { font-size: 1.28rem; margin: 0; line-height: 1.2; }
.post-card h3 a, .post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.post-cat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.hub-links { margin: 40px 0 8px; }
.hub-links .chips { margin: 10px 0 0; }
.hub-links .chip { text-decoration: none; display: inline-block; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; color: #b9c2dc; }
.footer-links a:hover { color: var(--gold-l); }
.footer-grid { grid-template-columns: 1.1fr 1fr 1fr; }
.loc-card a { color: #8a6516; font-weight: 600; }

@media (max-width: 960px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .article-cta { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cat-grid, .post-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 32px 0 34px; }
}

.takeaways { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 20px 6px; margin: 0 0 1.6em; }
.takeaways h2 { font-size: 1.15rem; margin: 0 0 8px; font-family: var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.takeaways li { font-size: 1rem; }
.prose .faq { margin-bottom: 10px; }
.prose .faq summary { font-size: 1rem; }

.post-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .post-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .post-grid.three { grid-template-columns: 1fr; } }

/* ---------- Blog images ---------- */
.post-card { padding: 0; overflow: hidden; gap: 0; }
.post-thumb { display: block; background: #0d1b3e; }
.post-thumb img, .cat-thumb img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; display: block; transition: transform .35s; }
.post-card:hover .post-thumb img, .cat-card:hover .cat-thumb img { transform: scale(1.03); }
.post-thumb, .cat-thumb { overflow: hidden; }
.post-body { padding: 16px 22px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-card { padding: 0; overflow: hidden; border-top-width: 1px; }
.cat-thumb { display: block; background: #0d1b3e; border-bottom: 3px solid var(--gold); }
.cat-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 20px 16px; flex: 1; }
.cat-body p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1; }
.cat-body h3 { margin: 0; font-size: 1.25rem; }
.article-cover { margin: 0 0 1.6em; }
.article-cover img, .article-fig img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.article-fig { margin: 1.4em 0 1.8em; }
.article-fig figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; }
