/* =========================================================================
   Coldwell Banker Avelon Realty — site styles
   Built to the Coldwell Banker South India Brand Guidelines (Feb 2026)
   ========================================================================= */

/* ---- Brand fonts ---------------------------------------------------------
   Bauziet (primary) and Geometos (subheads/stats) are licensed fonts.
   ⚠ Website use needs a WEB licence for each — confirm before going live.
   Add more Bauziet weights (Light/Medium) here when the licensed files arrive. */
@font-face { font-family: "Bauziet"; src: url("../fonts/Bauziet-Regular.woff2") format("woff2"), url("../fonts/Bauziet-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geometos"; src: url("../fonts/Geometos.woff2") format("woff2"), url("../fonts/Geometos.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  /* Brand palette (guideline p.6) */
  --cb-blue: #012169;
  --midnight: #0A1730;
  --slate: #1B3C55;
  --smoky: #58718D;
  --mist: #BECAD7;
  --tide: #B8CFEA;
  --glacier: #DAE1E8;
  --icy: #F0F5FB;
  --bright: #1F69FF;
  --celestial: #418FDE;
  --white: #FFFFFF;
  --ink: #0F1724;
  --body: #3B4554;
  --line: #E3E9F0;

  /* Typography (guideline p.7–9) */
  --f-display: "Bauziet", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-label: "Geometos", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Adobe Garamond Pro", "EB Garamond", Garamond, Georgia, serif;

  /* Scale — restrained, editorial */
  --fs-h1: clamp(38px, 4.6vw, 64px);
  --fs-h2: clamp(28px, 3vw, 42px);
  --fs-h3: clamp(20px, 1.6vw, 24px);
  --fs-lede: clamp(16.5px, 1.2vw, 18.5px);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 7.5vw, 112px);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(10,23,48,.04), 0 12px 32px -12px rgba(10,23,48,.18);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 84px;

  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---- Reset & base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--f-body); font-weight: 300; font-size: 16.5px; line-height: 1.7;
  color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; color: var(--midnight); letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
strong { font-weight: 500; color: var(--ink); }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
h1 .serif, h2 .serif { font-size: 1.06em; }
:focus-visible { outline: 2px solid var(--celestial); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section-sm { padding: clamp(48px, 5vw, 72px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-family: var(--f-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--smoky);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: var(--tide); }

.h1 { font-size: var(--fs-h1); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.lede { font-size: var(--fs-lede); line-height: 1.7; max-width: 58ch; }
.muted { color: var(--smoky); }

.on-dark { color: rgba(255,255,255,.76); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: var(--white); }
.on-dark .serif { color: var(--tide); }
.on-dark .form-card, .on-dark .form-card h3 { color: var(--midnight); }
.on-dark .form-card { color: var(--body); }
h1 + .lede, h2 + .lede, h2 + p { margin-top: 18px; }

/* Grainy gradients — the "Textures" direction (guideline p.12) */
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: var(--grain); opacity: .08; mix-blend-mode: overlay; }
.bg-midnight { background: var(--midnight); }
.bg-gradient {
  background:
    radial-gradient(110% 90% at 88% 0%, rgba(65,143,222,.24), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(88,113,141,.45), transparent 60%),
    linear-gradient(160deg, #1B3C55 0%, #0E2547 45%, #0A1730 100%);
}
.bg-icy { background: var(--icy); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-label); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 10.5px; }
.btn-primary { background: var(--cb-blue); color: var(--white); }
.btn-primary:hover { background: var(--midnight); }
.btn-light { background: var(--white); color: var(--cb-blue); }
.btn-light:hover { background: var(--icy); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--cb-blue); border-color: var(--white); }
.btn-line { border-color: var(--mist); color: var(--cb-blue); background: var(--white); }
.btn-line:hover { border-color: var(--cb-blue); }
.btn-block { width: 100%; }
.btn-wa { background: #1F7A4D; color: #fff; }
.btn-wa:hover { background: #17603C; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cb-blue);
  font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.text-link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }
.on-dark .text-link { color: var(--white); }

/* ---- Top bar + header --------------------------------------------------- */
.topbar { background: var(--midnight); color: rgba(255,255,255,.72); font-size: 13px; position: relative; z-index: 51; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .icon { width: 15px; height: 15px; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 26px; align-items: center; }
.topbar .tb-tag { font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(10,23,48,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; background: none; border: 0;
  font-family: var(--f-body); font-size: 14.5px; font-weight: 400; color: var(--midnight); position: relative;
}
.nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--cb-blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--cb-blue); }
.nav-link .icon { width: 14px; height: 14px; }
.nav-cta { margin-left: 14px; }

.mega { position: relative; height: 100%; display: flex; }
.mega-panel {
  position: absolute; top: 100%; left: 50%; width: 720px; transform: translate(-50%, 8px);
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(10,23,48,.35);
  padding: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega:hover .mega-panel, .mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-panel a { display: block; }
.mega-panel figure { margin: 0 0 10px; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--glacier); }
.mega-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-panel a:hover img { transform: scale(1.05); }
.mega-panel span { font-size: 14px; font-weight: 400; color: var(--midnight); line-height: 1.35; display: block; }
.mega-panel a:hover span { color: var(--cb-blue); }
.mega-panel .mega-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; color: var(--cb-blue); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--midnight); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; } .menu-toggle span:nth-child(2) { top: 21px; } .menu-toggle span:nth-child(3) { top: 27px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; background: var(--white);
  padding: 16px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-size: 20px; color: var(--midnight); }
.mobile-nav a.sub { font-family: var(--f-body); font-size: 15.5px; padding-left: 16px; color: var(--body); }
.mobile-nav .btn { margin-top: 24px; font-family: var(--f-label); }
.mobile-nav .mn-contact { margin-top: 24px; font-size: 15px; display: grid; gap: 6px; }
.mobile-nav .mn-contact a { border: 0; padding: 0; font-family: var(--f-body); font-size: 15px; color: var(--cb-blue); }

/* ---- Home hero ---------------------------------------------------------- */
.hero { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,23,48,.84) 0%, rgba(10,23,48,.45) 55%, rgba(10,23,48,.15) 100%), linear-gradient(0deg, rgba(10,23,48,.75) 0%, rgba(10,23,48,0) 45%);
}
.hero-inner { width: 100%; padding-top: 96px; padding-bottom: 56px; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 .serif { color: var(--tide); }
.hero .eyebrow { color: var(--tide); }
.hero-sub { max-width: 50ch; margin-top: 20px; font-size: var(--fs-lede); color: rgba(255,255,255,.86); }

.search-bar {
  margin-top: 36px; display: grid; grid-template-columns: 1fr 1.25fr 1.1fr auto; max-width: 940px;
  background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); overflow: hidden;
}
.search-bar label { display: block; padding: 14px 22px; border-right: 1px solid var(--line); color: var(--midnight); }
.search-bar .lbl { display: block; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--smoky); margin-bottom: 2px; }
.search-bar select { width: 100%; border: 0; background: transparent; font-size: 15.5px; font-weight: 400; color: var(--midnight); appearance: none; padding: 2px 20px 2px 0; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%2358718D' stroke-width='1.4'><path d='M1 1l4.5 4.5L10 1'/></svg>"); background-repeat: no-repeat; background-position: right center; }
.search-bar select:focus { outline: none; }
.search-bar button { border: 0; background: var(--cb-blue); color: var(--white); padding: 0 30px; display: flex; align-items: center; gap: 10px; font-family: var(--f-label); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; transition: background .3s; }
.search-bar button:hover { background: var(--midnight); }

/* Trust strip under hero */
.trust { border-bottom: 1px solid var(--line); background: var(--white); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 22px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item .icon { width: 30px; height: 30px; color: var(--cb-blue); stroke-width: 1.2; }
.trust-item strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 15.5px; color: var(--midnight); line-height: 1.3; }
.trust-item span { font-size: 13.5px; color: var(--smoky); line-height: 1.4; }

/* ---- Page hero (inner pages) ------------------------------------------- */
.page-hero { position: relative; color: var(--white); isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0 clamp(48px, 6vw, 80px); }
.page-hero .ph-media { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,23,48,.9) 0%, rgba(10,23,48,.6) 60%, rgba(10,23,48,.35) 100%); }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero h1 .serif { color: var(--tide); }
.page-hero .lede { color: rgba(255,255,255,.84); margin-top: 18px; }
.page-hero.compact { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; margin-bottom: 22px; color: rgba(255,255,255,.7); }
.crumbs a:hover { color: var(--white); }
.crumbs .sep { opacity: .5; }
.crumbs.dark { color: var(--smoky); }
.crumbs.dark a:hover { color: var(--cb-blue); }

/* ---- Section heads ------------------------------------------------------ */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head .lede { margin: 14px 0 0; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* ---- Split / about ------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy .text-link, .split-copy .btn { margin-top: 12px; }
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--glacier); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.collage { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.collage .photo:nth-child(1) { grid-row: span 2; aspect-ratio: 3/4.2; }
.collage .photo:nth-child(2) { aspect-ratio: 1; }
.collage .photo:nth-child(3) { aspect-ratio: 1; }
.badge-card { position: absolute; left: -24px; bottom: 32px; background: var(--midnight); color: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.badge-card .num { font-family: var(--f-display); font-size: 40px; line-height: 1; }
.badge-card .cap { margin-top: 8px; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); }

.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 18px; height: 18px; color: var(--celestial); margin-top: 4px; }
.on-dark .ticks li { color: rgba(255,255,255,.86); }

/* ---- Stats -------------------------------------------------------------- */
.stats { padding: clamp(44px, 5vw, 64px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 4px 28px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--f-display); font-size: clamp(34px, 3.4vw, 48px); color: var(--white); line-height: 1; }
.stat .cap { margin-top: 12px; font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); line-height: 1.6; }

/* ---- Category tiles ----------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-tile { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3/3.7; color: var(--white); display: flex; align-items: flex-end; background: var(--slate); isolation: isolate; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,23,48,.9) 0%, rgba(10,23,48,.2) 55%, rgba(10,23,48,0) 100%); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile .body { padding: 22px; width: 100%; }
.cat-tile h3 { color: var(--white); font-size: 20px; }
.cat-tile .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22); font-size: 13px; color: rgba(255,255,255,.8); }
.cat-tile .meta .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cat-tile:hover .meta .icon { transform: translateX(4px); }

/* ---- Property cards ----------------------------------------------------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prop-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.prop-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--glacier); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.04); }
.prop-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 2px; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; background: rgba(255,255,255,.95); color: var(--cb-blue); }
.tag.dark { background: var(--cb-blue); color: var(--white); }
.tag.sample { position: absolute; left: 12px; bottom: 12px; background: rgba(10,23,48,.7); color: var(--tide); }
.fav { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--midnight); display: grid; place-items: center; transition: color .2s, transform .2s; }
.fav .icon { width: 18px; height: 18px; }
.fav:hover { transform: scale(1.06); }
.fav.on { color: #C2334D; }
.fav.on .icon { fill: currentColor; }
.prop-photos { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 2px; background: rgba(10,23,48,.7); color: var(--white); font-size: 12px; }
.prop-photos .icon { width: 14px; height: 14px; }
.prop-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prop-loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--smoky); }
.prop-loc .icon { width: 15px; height: 15px; }
.prop-title { margin: 8px 0 14px; font-size: 19px; line-height: 1.3; }
.prop-title a:hover { color: var(--cb-blue); }
.prop-facts { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--body); }
.prop-facts span { display: inline-flex; align-items: center; gap: 7px; }
.prop-facts .icon { width: 16px; height: 16px; color: var(--celestial); }
.prop-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--f-display); font-size: 21px; color: var(--midnight); line-height: 1.1; }
.price small { display: block; font-family: var(--f-body); font-size: 11.5px; color: var(--smoky); letter-spacing: .02em; margin-bottom: 3px; }
.prop-foot .text-link { border: 0; padding: 0; }

/* List view */
.prop-grid.list { grid-template-columns: 1fr; }
.prop-grid.list .prop-card { flex-direction: row; }
.prop-grid.list .prop-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 240px; }
.prop-grid.list .prop-body { padding: 26px 30px; }
.prop-grid.list .prop-desc { display: block; }
.prop-desc { display: none; font-size: 14.5px; margin: -4px 0 14px; color: var(--body); }

/* ---- Listings page ------------------------------------------------------ */
.listing-shell { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: start; }
.listing-shell.no-filters { grid-template-columns: minmax(0, 1fr); }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.cat-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 14px; color: var(--midnight); transition: all .2s; }
.cat-tab .count { font-size: 12px; color: var(--smoky); }
.cat-tab:hover { border-color: var(--mist); }
.cat-tab.active { background: var(--cb-blue); border-color: var(--cb-blue); color: var(--white); }
.cat-tab.active .count { color: var(--tide); }

.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 17px; display: flex; gap: 10px; align-items: center; }
.filters-head h2 .icon { width: 18px; height: 18px; color: var(--cb-blue); }
.link-btn { background: none; border: 0; padding: 0; font-size: 13px; color: var(--cb-blue); text-decoration: underline; text-underline-offset: 3px; }
.fgroup { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup > .flabel { display: block; font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--smoky); margin-bottom: 12px; }
.search-input { position: relative; }
.search-input .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--smoky); }
.search-input input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px 0 38px; font-size: 14.5px; background: var(--icy); }
.search-input input:focus { outline: none; border-color: var(--celestial); background: var(--white); }
.checks-list { display: grid; gap: 9px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.check input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--mist); border-radius: 3px; margin: 0; display: grid; place-items: center; transition: all .15s; flex: none; }
.check input:checked { background: var(--cb-blue); border-color: var(--cb-blue); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 1.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check .n { margin-left: auto; font-size: 12px; color: var(--smoky); }
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 30px 0 12px; font-size: 14px; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%2358718D' stroke-width='1.4'><path d='M1 1l4.5 4.5L10 1'/></svg>") no-repeat right 12px center; appearance: none; color: var(--ink); cursor: pointer; }
.select:focus { outline: none; border-color: var(--celestial); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-opt { height: 36px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 14px; color: var(--ink); transition: all .15s; }
.chip-opt.on { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.filters-foot, .filters-backdrop { display: none; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.result-count { font-size: 15px; color: var(--ink); }
.result-count strong { font-family: var(--f-display); font-weight: 400; font-size: 20px; color: var(--midnight); }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.toolbar .select { width: auto; min-width: 190px; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { width: 42px; height: 40px; border: 0; background: var(--white); color: var(--smoky); display: grid; place-items: center; }
.view-toggle button.on { background: var(--icy); color: var(--cb-blue); }
.view-toggle .icon { width: 18px; height: 18px; }
.icon-btn.filter-open { display: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.active-chips:empty { display: none; }
.active-chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--icy); border: 1px solid var(--glacier); font-size: 13px; color: var(--midnight); }
.active-chip button { width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--smoky); }
.active-chip button:hover { background: var(--glacier); color: var(--midnight); }
.active-chip .icon { width: 13px; height: 13px; }
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--mist); border-radius: var(--radius); background: var(--icy); }
.empty h3 { margin-bottom: 8px; }
.empty .btns { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--icy); border-left: 2px solid var(--celestial); font-size: 13.5px; color: var(--body); margin-top: 32px; }
.notice .icon { width: 18px; height: 18px; color: var(--cb-blue); margin-top: 2px; }

/* Category intro strip */
.cat-intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.cat-intro > div { background: var(--white); padding: 22px 24px; display: flex; gap: 14px; }
.cat-intro .icon { width: 26px; height: 26px; color: var(--cb-blue); stroke-width: 1.3; flex: none; }
.cat-intro strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 16px; color: var(--midnight); margin-bottom: 4px; }
.cat-intro p { margin: 0; font-size: 14px; line-height: 1.55; }

/* ---- Property detail ---------------------------------------------------- */
.pd-top { padding: 28px 0 0; }
.pd-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin: 18px 0 24px; }
.pd-head h1 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 10px; }
.pd-head .prop-loc { font-size: 15px; }
.pd-price { text-align: right; }
.pd-price .price { font-size: clamp(26px, 2.6vw, 34px); }
.pd-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: 13.5px; color: var(--midnight); transition: border-color .2s; }
.icon-btn:hover { border-color: var(--mist); }
.icon-btn .icon { width: 17px; height: 17px; }
.icon-btn.on { color: #C2334D; } .icon-btn.on .icon { fill: currentColor; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 8px; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery button { padding: 0; border: 0; overflow: hidden; background: var(--glacier); position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(.92); }
.gallery .all { position: absolute; right: 16px; bottom: 16px; z-index: 2; }
.gallery.n1 { grid-template-columns: 1fr; grid-template-rows: 460px; }
.gallery.n2, .gallery.n3 { grid-template-columns: 2fr 1fr; }
.gallery.n2 button:nth-child(2) { grid-row: span 2; }

.facts-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); margin: 28px 0 0; }
.fact { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact .icon { width: 26px; height: 26px; color: var(--cb-blue); stroke-width: 1.3; }
.fact small { display: block; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--smoky); }
.fact strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 16.5px; color: var(--midnight); line-height: 1.3; margin-top: 2px; }

.pd-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; padding: 40px 0 var(--section); }
.pd-layout > aside { align-self: stretch; }
.pd-block { padding: 32px 0; border-top: 1px solid var(--line); }
.pd-block:first-child { border-top: 0; padding-top: 0; }
.pd-block > h2 { font-size: 24px; margin-bottom: 18px; }
.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.highlights li { display: flex; gap: 10px; }
.highlights .icon { width: 18px; height: 18px; color: var(--celestial); margin-top: 4px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 400; color: var(--smoky); }
.spec-table td { color: var(--ink); font-weight: 400; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amenity { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14.5px; color: var(--ink); }
.amenity .icon { width: 20px; height: 20px; color: var(--cb-blue); }
.map-frame { width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--glacier); filter: grayscale(.25) contrast(1.05); }
.dd-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dd-box div { padding: 18px; background: var(--icy); border-radius: var(--radius); }
.dd-box .icon { width: 24px; height: 24px; color: var(--cb-blue); margin-bottom: 10px; }
.dd-box strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 15.5px; color: var(--midnight); margin-bottom: 4px; }
.dd-box p { margin: 0; font-size: 13.5px; line-height: 1.55; }

.enquire-card { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.enquire-card .ec-head { padding: 22px 24px; background: var(--midnight); color: var(--white); display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--cb-blue); display: grid; place-items: center; flex: none; border: 1px solid rgba(255,255,255,.2); }
.avatar { background: none; border: 0; overflow: hidden; border-radius: 4px; } .avatar img { width: 52px; height: 52px; }
.enquire-card .ec-head strong { display: block; font-family: var(--f-display); font-weight: 400; color: var(--white); font-size: 17px; }
.enquire-card .ec-head span { font-size: 13px; color: var(--tide); }
.enquire-card .ec-body { padding: 22px 24px 24px; }
.ec-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.ec-ref { font-size: 12.5px; color: var(--smoky); margin: 14px 0 0; text-align: center; }

/* ---- Forms -------------------------------------------------------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 400; color: var(--body); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 14px; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; padding-right: 34px; background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none' stroke='%2358718D' stroke-width='1.4'><path d='M1 1l4.5 4.5L10 1'/></svg>") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--celestial); box-shadow: 0 0 0 3px rgba(65,143,222,.15); }
.field.err input { border-color: #C0392B; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.consent { font-size: 12.5px; line-height: 1.55; color: var(--smoky); margin: 4px 0 18px; }
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 44px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.55); }
.form-card h3 { font-size: 24px; margin-bottom: 4px; }
.form-card .sub { font-size: 14.5px; color: var(--smoky); margin-bottom: 24px; }
.form-done { display: none; text-align: center; padding: 28px 0; }
.form-done .icon { width: 44px; height: 44px; color: var(--cb-blue); margin: 0 auto 14px; stroke-width: 1.2; }
.sent form { display: none; }
.sent .form-done { display: block; }

/* ---- Expertise list ----------------------------------------------------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.exp-item { background: var(--midnight); padding: 32px 30px; transition: background .4s var(--ease); }
.exp-item:hover { background: #0F2142; }
.exp-item .icon { width: 30px; height: 30px; color: var(--celestial); stroke-width: 1.2; margin-bottom: 22px; }
.exp-item h3 { font-size: 19px; margin-bottom: 10px; }
.exp-item p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.66); }

/* ---- Regions ------------------------------------------------------------ */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.region { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); display: flex; align-items: flex-end; background: var(--slate); isolation: isolate; }
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.region::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,23,48,.88) 0%, rgba(10,23,48,.1) 62%); }
.region:hover img { transform: scale(1.05); }
.region .body { padding: 18px 20px; }
.region .num { position: absolute; top: 14px; right: 16px; font-family: var(--f-serif); font-style: italic; font-size: 17px; color: rgba(255,255,255,.75); }
.region h3 { font-family: var(--f-label); font-weight: 400; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--white); line-height: 1.4; }
.region p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.76); }
.region.lg { grid-column: span 2; grid-row: span 2; }
.region.lg h3 { font-family: var(--f-display); font-size: 30px; letter-spacing: 0; text-transform: none; }
.region.lg p { font-size: 15px; }
.region.wide { grid-column: span 2; }

/* ---- Editorial band ----------------------------------------------------- */
.editorial { position: relative; color: var(--white); overflow: hidden; isolation: isolate; padding: clamp(80px, 10vw, 140px) 0; }
.editorial .bg { position: absolute; inset: -8% 0; z-index: -2; }
.editorial .bg img { width: 100%; height: 100%; object-fit: cover; }
.editorial::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,23,48,.92) 0%, rgba(10,23,48,.72) 50%, rgba(10,23,48,.4) 100%); }
.formula { font-family: var(--f-display); font-size: clamp(30px, 3.8vw, 54px); line-height: 1.12; color: var(--white); margin: 0; }
.formula .serif { color: var(--tide); }
.formula .caps { text-transform: uppercase; letter-spacing: .02em; }
.formula .small-caps { font-size: .52em; letter-spacing: .1em; text-transform: uppercase; display: block; margin: 22px 0 6px; color: rgba(255,255,255,.85); }
.formula .op { color: var(--celestial); }
.editorial .note { margin-top: 28px; max-width: 50ch; color: rgba(255,255,255,.8); }

/* ---- Process ------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; position: relative; transition: border-color .3s, box-shadow .3s; }
.step:hover { border-color: transparent; box-shadow: var(--shadow); }
.step .n { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--celestial); }
.step h3 { font-size: 19px; margin: 14px 0 8px; }
.step p { margin: 0; font-size: 14.5px; }

/* ---- Feature cards (why / values) -------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.feature .icon { width: 30px; height: 30px; color: var(--cb-blue); stroke-width: 1.2; margin-bottom: 18px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { margin: 0; font-size: 15px; }
.on-dark .feature .icon { color: var(--celestial); }
.on-dark .feature p { color: rgba(255,255,255,.68); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.help-card { margin-top: 28px; padding: 24px; background: var(--icy); border-radius: var(--radius); }
.help-card h3 { font-size: 19px; margin-bottom: 6px; }
.help-card p { font-size: 14.5px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-size: 17.5px; color: var(--midnight); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cb-blue); }
.pm { flex: 0 0 30px; height: 30px; border: 1px solid var(--mist); border-radius: 50%; position: relative; transition: background .25s, border-color .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--cb-blue); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .25s; }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--cb-blue); border-color: var(--cb-blue); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: var(--white); }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 50px 22px 0; font-size: 15.5px; }
.faq .ans p { margin: 0; }

/* ---- Contact band ------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon { width: 22px; height: 22px; color: var(--celestial); margin-top: 3px; }
.contact-list small { display: block; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); margin-bottom: 4px; }
.contact-list .v { color: var(--white); font-size: 16px; line-height: 1.55; }
.contact-list a.v:hover { color: var(--tide); }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--white); }
.contact-card .icon { width: 28px; height: 28px; color: var(--cb-blue); stroke-width: 1.3; margin-bottom: 16px; }
.contact-card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14.5px; margin: 0; }
.contact-card a { color: var(--cb-blue); }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 22ch; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: #070F21; color: rgba(255,255,255,.62); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 14.5px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand img { height: 48px; width: auto; }
.foot-brand p { margin-top: 22px; max-width: 32ch; font-family: var(--f-serif); font-style: italic; font-size: 18px; line-height: 1.45; color: rgba(255,255,255,.8); }
.site-footer h4 { font-family: var(--f-label); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--tide); }
.foot-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.foot-bottom .legal { display: flex; gap: 20px; }
.foot-note { margin: 14px 0 0; font-size: 12px; color: rgba(255,255,255,.4); }

/* ---- Floating contact, lightbox ---------------------------------------- */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-cta a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0 12px 28px -10px rgba(1,33,105,.6); transition: transform .25s var(--ease); }
.float-cta a:hover { transform: translateY(-3px); }
.float-cta .wa { background: #1F7A4D; }
.float-cta .call { background: var(--cb-blue); }
.float-cta .icon { width: 22px; height: 22px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(7,15,33,.96); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 2px; }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.16); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 24px; top: 24px; }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--midnight); color: var(--white); padding: 12px 20px; border-radius: var(--radius); font-size: 14px; opacity: 0; transition: all .3s var(--ease); z-index: 110; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- Reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta-desk { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .listing-shell { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); z-index: 90; border-radius: 0; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--ease); top: 0; display: flex; flex-direction: column; }
  .filters.open { transform: none; }
  .filters.open + .filters-backdrop { display: block; }
  .filters-backdrop { display: none; position: fixed; inset: 0; z-index: 89; background: rgba(7,15,33,.55); }
  .filters-foot { display: flex; gap: 10px; position: sticky; bottom: 0; background: var(--white); padding: 14px 20px; border-top: 1px solid var(--line); margin-top: auto; }
  .icon-btn.filter-open { display: inline-flex; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .pd-layout { grid-template-columns: 1fr 340px; gap: 32px; }
}
@media (max-width: 960px) {
  .topbar .tb-tag, .topbar .tb-email { display: none; }
  .split, .split.wide-left, .faq-grid, .contact-grid, .pd-layout { grid-template-columns: 1fr; }
  .faq-aside, .enquire-card { position: static; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item { padding: 18px 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .region.lg { grid-row: span 1; }
  .steps, .exp-grid, .features { grid-template-columns: 1fr 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar label:nth-child(2) { border-right: 0; }
  .search-bar label:nth-child(3) { border-top: 1px solid var(--line); }
  .search-bar button { border-top: 1px solid var(--line); justify-content: center; padding: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 150px; }
  .gallery button:first-child { grid-column: span 2; grid-row: span 1; }
  .gallery button:nth-child(n+4) { display: none; }
  .cat-intro { grid-template-columns: 1fr; }
  .dd-box { grid-template-columns: 1fr; }
  .badge-card { left: 12px; bottom: 12px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .topbar { display: none; }
  .brand img { height: 36px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 72px; padding-bottom: 40px; }
  .search-bar { grid-template-columns: 1fr; }
  .search-bar label { border-right: 0; border-top: 1px solid var(--line); }
  .search-bar label:first-child { border-top: 0; }
  .trust .wrap { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
  .cat-grid, .prop-grid, .region-grid, .steps, .exp-grid, .features, .row2, .highlights, .spec-grid, .contact-cards, .foot-top { grid-template-columns: 1fr; }
  .cat-tile { aspect-ratio: 4/3; }
  .region-grid { grid-auto-rows: 200px; }
  .region.lg, .region.wide { grid-column: auto; }
  .prop-grid.list .prop-card { flex-direction: column; }
  .prop-grid.list .prop-media { min-height: 0; aspect-ratio: 4/3; }
  .sec-head { grid-template-columns: 1fr; }
  .pd-head { grid-template-columns: 1fr; }
  .pd-price { text-align: left; }
  .pd-actions { justify-content: flex-start; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .toolbar .select { min-width: 0; }
  .faq .ans { padding-right: 0; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .collage { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   v3 additions — hero search, phone picker, popup, price focus, map
   ========================================================================= */

/* ---- Hero search: full container width with Buy / Lease / Sell tabs --- */
.hero h1 { max-width: 19ch; }
.search-panel { margin-top: 36px; width: 100%; }
.search-tabs { display: inline-flex; background: rgba(10,23,48,.55); backdrop-filter: blur(6px); border-radius: var(--radius) var(--radius) 0 0; padding: 4px 4px 0; }
.search-tabs button { border: 0; background: transparent; color: rgba(255,255,255,.8); padding: 11px 22px; font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; border-radius: var(--radius) var(--radius) 0 0; transition: background .2s, color .2s; }
.search-tabs button.on { background: var(--white); color: var(--cb-blue); }
.search-panel .search-bar { margin-top: 0; max-width: none; grid-template-columns: 1.2fr 1.2fr 1fr 190px; border-top-left-radius: 0; }
.search-bar label { padding: 16px 24px; }
.search-bar button { justify-content: center; }
.search-panel.is-sell .search-bar label:nth-child(3) { opacity: .45; pointer-events: none; }
.popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.popular a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.popular a:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.hero::before {
  background: linear-gradient(90deg, rgba(10,23,48,.86) 0%, rgba(10,23,48,.55) 50%, rgba(10,23,48,.2) 100%), linear-gradient(0deg, rgba(10,23,48,.8) 0%, rgba(10,23,48,0) 50%);
}

/* ---- Placeholder-style form fields ------------------------------------- */
.field input::placeholder, .field textarea::placeholder { color: #8695A8; opacity: 1; }
.field select.is-placeholder { color: #8695A8; }
.field select option { color: var(--ink); }
.phone { position: relative; display: flex; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--celestial); box-shadow: 0 0 0 3px rgba(65,143,222,.15); }
.field .phone input[type=tel] { border: 0; box-shadow: none; flex: 1; min-width: 0; padding-left: 12px; }
.field.err .phone { border-color: #C0392B; }
.cc-btn { display: inline-flex; align-items: center; gap: 7px; padding: 0 10px 0 12px; border: 0; border-right: 1px solid var(--line); background: var(--icy); border-radius: var(--radius) 0 0 var(--radius); font-size: 14.5px; font-weight: 400; color: var(--ink); flex: none; }
.cc-btn img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cc-btn .icon { width: 14px; height: 14px; color: var(--smoky); transition: transform .2s; }
.phone.open .cc-btn .icon { transform: rotate(180deg); }
.cc-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: min(300px, 86vw); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -18px rgba(10,23,48,.4); display: none; }
.phone.open .cc-menu { display: block; }
.cc-search { position: relative; padding: 8px; border-bottom: 1px solid var(--line); }
.cc-search .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--smoky); }
.field .cc-search input { height: 38px; padding-left: 32px; font-size: 14px; background: var(--icy); }
.cc-menu ul { list-style: none; margin: 0; padding: 6px 0; max-height: 240px; overflow-y: auto; }
.cc-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; font-size: 14px; color: var(--ink); cursor: pointer; }
.cc-menu li:hover, .cc-menu li:focus, .cc-menu li[aria-selected=true] { background: var(--icy); outline: none; }
.cc-menu li img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cc-menu li em { margin-left: auto; font-style: normal; color: var(--smoky); }

/* ---- "What happens next" (replaces repeated contact details) ---------- */
.next-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.next-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.next-steps .n { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--tide); }
.next-steps strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 17px; color: var(--white); margin-bottom: 2px; }
.next-steps span { font-size: 14.5px; color: rgba(255,255,255,.7); }
.assure { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.assure span { display: inline-flex; align-items: center; gap: 8px; }
.assure .icon { width: 17px; height: 17px; color: var(--celestial); }

/* ---- Lead popup -------------------------------------------------------- */
.lead-pop { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(7,15,33,.62); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.lead-pop.show { opacity: 1; }
.lead-pop[hidden] { display: none; }
.lp-card { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); border-radius: 6px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); transform: translateY(16px) scale(.98); transition: transform .35s var(--ease); }
.lead-pop.show .lp-card { transform: none; }
.lp-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--midnight); }
.lp-close:hover { background: var(--icy); }
.lp-close .icon { width: 18px; height: 18px; }
.lp-media { position: relative; min-height: 100%; isolation: isolate; color: var(--white); display: flex; align-items: flex-end; }
.lp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lp-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,23,48,.85), rgba(10,23,48,0) 60%); }
.lp-media-cap { padding: 26px; }
.lp-media-cap .eyebrow { color: var(--tide); margin-bottom: 8px; }
.lp-media-cap p { margin: 0; font-family: var(--f-display); font-size: 18px; line-height: 1.35; }
.lp-body { padding: 36px 34px 28px; }
.lp-body h2 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.lp-sub { font-size: 14.5px; color: var(--body); margin-bottom: 20px; }
.lp-body .consent { margin-bottom: 14px; }
.lp-trust { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 12.5px; color: var(--smoky); }
.lp-trust .icon { width: 15px; height: 15px; color: var(--cb-blue); }
.lp-body.sent .lp-sub, .lp-body.sent .lp-trust { display: none; }

/* ---- Property page: price focus + alignment ---------------------------- */
.pd-head { grid-template-columns: 1fr auto; align-items: end; }
.pd-actions { margin-top: 0; }
.gallery { grid-template-rows: 220px 220px; }
.facts-bar { grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(120px, 1fr)); margin-top: 20px; }
.fact.fact-price { background: var(--cb-blue); color: var(--white); border-radius: var(--radius) 0 0 var(--radius); padding: 18px 24px; }
.fact.fact-price .icon { color: var(--tide); }
.fact.fact-price small { color: var(--tide); }
.fact.fact-price strong { color: var(--white); font-size: 26px; line-height: 1.1; margin-top: 4px; }
.fact.fact-price strong span { font-size: .55em; }
.fact.fact-price + .fact { border-left: 0; }
.pd-main { padding: 40px 0 var(--section); }
.pd-main .pd-layout { padding: 0; }
.ec-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 0 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.ec-price small { font-size: 12.5px; color: var(--smoky); }
.ec-price strong { font-family: var(--f-display); font-weight: 400; font-size: 24px; color: var(--midnight); }
.ec-price strong span { font-size: .6em; }

/* ---- Location map ------------------------------------------------------ */
.loc-wrap { display: grid; grid-template-columns: 1fr 300px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.loc-map { height: 400px; background: var(--glacier); z-index: 0; }
.loc-panel { padding: 22px 22px 20px; background: var(--white); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.loc-panel h3 { font-size: 18px; margin-bottom: 4px; }
.loc-panel .muted { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.nearby { list-style: none; margin: 0 0 16px; padding: 0; }
.nearby li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.nearby .icon { width: 18px; height: 18px; color: var(--cb-blue); }
.nearby em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--smoky); white-space: nowrap; }
.loc-panel .btns { margin-top: auto; display: grid; gap: 8px; }
.loc-note { font-size: 12px; color: var(--smoky); margin: 10px 0 0; }
.map-pin { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--cb-blue); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgba(1,33,105,.7); border: 3px solid #fff; }
.map-pin svg { transform: rotate(45deg); width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.6; }
.map-label { background: var(--midnight); color: #fff; border: 0; border-radius: 3px; padding: 5px 10px; font-family: var(--f-body); font-size: 12.5px; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.map-label::before { display: none; }
.leaflet-container { font-family: var(--f-body); }
.leaflet-control-zoom a { color: var(--midnight) !important; }
.leaflet-control-attribution { font-size: 10px; }

@media (max-width: 960px) {
  .search-panel .search-bar { grid-template-columns: 1fr 1fr; }
  .loc-wrap { grid-template-columns: 1fr; }
  .loc-panel { border-left: 0; border-top: 1px solid var(--line); }
  .lp-card { grid-template-columns: 1fr; }
  .lp-media { min-height: 160px; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .fact.fact-price { grid-column: 1 / -1; border-radius: var(--radius) var(--radius) 0 0; }
  .fact:nth-child(even) { border-left: 0; }
}
@media (max-width: 640px) {
  .search-panel .search-bar { grid-template-columns: 1fr; }
  .search-tabs { display: flex; }
  .search-tabs button { flex: 1; padding: 11px 8px; }
  .popular { display: none; }
  .lp-media { display: none; }
  .lp-body { padding: 28px 22px 22px; }
  .lead-pop { align-items: end; padding: 0; }
  .lp-card { border-radius: 10px 10px 0 0; max-height: 92vh; }
  .facts-bar { grid-template-columns: 1fr 1fr; }
  .fact { border-top: 1px solid var(--line); }
  .loc-map { height: 300px; }
  .gallery { grid-template-rows: 260px 130px; }
}
/* Map tiles softened toward the brand palette */
.loc-map .leaflet-tile-pane { filter: grayscale(.85) sepia(.12) hue-rotate(180deg) saturate(1.6) brightness(1.04) contrast(.92); }
.gallery { grid-template-rows: 200px 200px; }
.facts-bar { grid-template-columns: minmax(210px, 1.3fr) repeat(auto-fit, minmax(110px, 1fr)); }
.fact { padding: 16px 18px; }
@media (max-width: 960px) { .facts-bar { grid-template-columns: 1fr 1fr; } }

/* =========================================================================
   v4 — hero slider, motion system, mobile refinements
   ========================================================================= */

/* ---- Hero slider ------------------------------------------------------- */
.hero-slider { flex-direction: column; justify-content: flex-end; align-items: stretch; min-height: min(92vh, 880px); }
.hero-slider .hero-media { background: var(--midnight); }
.hs-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); animation: none; }
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1.0); } }
/* Stronger, even left-side scrim so the copy is always readable on any slide */
.hero-slider::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7,15,33,.9) 0%, rgba(7,15,33,.72) 38%, rgba(7,15,33,.25) 70%, rgba(7,15,33,.1) 100%),
    linear-gradient(0deg, rgba(7,15,33,.85) 0%, rgba(7,15,33,0) 42%),
    linear-gradient(180deg, rgba(7,15,33,.35) 0%, rgba(7,15,33,0) 22%);
}
.hero-slider .hero-media { z-index: -1; }
.hero-slider::before { z-index: 0; }
.hero-slider > .wrap, .hero-slider .hs-nav { position: relative; z-index: 1; }
.hero-slider .hero-inner { padding-bottom: 28px; }
.hero h1, .hero-sub, .hero .eyebrow { text-shadow: 0 2px 24px rgba(0,0,0,.28); }

.hs-nav { border-top: 1px solid rgba(255,255,255,.14); }
.hs-nav .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.hs-dot { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: baseline; text-align: left; padding: 18px 0 22px; border: 0; background: none; color: rgba(255,255,255,.55); transition: color .3s; }
.hs-dot:hover, .hs-dot.is-active { color: var(--white); }
.hs-bar { position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: transparent; overflow: hidden; }
.hs-bar i { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hs-dot.is-active .hs-bar i { animation: hsprog var(--hs-dur, 6.5s) linear forwards; }
.hero-slider.paused .hs-dot.is-active .hs-bar i { animation-play-state: paused; }
@keyframes hsprog { to { transform: scaleX(1); } }
.hs-num { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .18em; }
.hs-lab { font-family: var(--f-display); font-size: 15px; line-height: 1.3; }
.hs-lab small { display: block; font-family: var(--f-body); font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* Hero copy entrance */
.hero-inner > * { opacity: 0; transform: translateY(18px); animation: heroIn .9s var(--ease) forwards; }
.hero-inner > :nth-child(1) { animation-delay: .15s; }
.hero-inner > :nth-child(2) { animation-delay: .28s; }
.hero-inner > :nth-child(3) { animation-delay: .42s; }
.hero-inner > :nth-child(4) { animation-delay: .56s; }
.hero-inner > :nth-child(5) { animation-delay: .7s; }
.hs-nav { opacity: 0; animation: heroIn 1s var(--ease) .85s forwards; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.page-hero .wrap > * { opacity: 0; transform: translateY(16px); animation: heroIn .85s var(--ease) forwards; }
.page-hero .wrap > :nth-child(2) { animation-delay: .1s; } .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
.page-hero .wrap > :nth-child(4) { animation-delay: .3s; } .page-hero .wrap > :nth-child(5) { animation-delay: .4s; }
.page-hero .ph-media img { transform: scale(1.06); animation: phZoom 10s var(--ease) forwards; }
@keyframes phZoom { to { transform: scale(1); } }

/* ---- Motion system ----------------------------------------------------- */
/* Section eyebrows draw their rule in */
.reveal .eyebrow::before, .eyebrow.reveal::before { width: 0; transition: width .9s var(--ease) .25s; }
.reveal.in .eyebrow::before, .eyebrow.reveal.in::before { width: 28px; }
/* Photos unmask and settle */
.photo.reveal, .reveal .photo { clip-path: inset(6% 6% 6% 6% round 4px); transition: clip-path 1.2s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.photo.reveal.in, .reveal.in .photo { clip-path: inset(0 0 0 0 round 4px); }
.photo.reveal img, .reveal .photo img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.photo.reveal.in img, .reveal.in .photo img { transform: scale(1); }
/* Staggered children (set by JS) */
.stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > .prop-card:hover { transform: translateY(-3px); }
/* Lazy images fade in once loaded */
img[loading=lazy] { opacity: 0; transition: opacity .7s var(--ease); }
img[loading=lazy].loaded { opacity: 1; }
/* Gentle lift on buttons */
.btn { transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(1,33,105,.7); }
.cat-tile .body, .region .body { transition: transform .5s var(--ease); }
.cat-tile:hover .body, .region:hover .body { transform: translateY(-4px); }
/* Header hides on scroll down, returns on scroll up */
.site-header { transition: box-shadow .3s var(--ease), transform .35s var(--ease); }
.site-header.hide { transform: translateY(-100%); }
/* Count-up numbers keep width steady */
.stat .num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .hs-nav, .page-hero .wrap > *, .stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .photo.reveal, .reveal .photo { clip-path: none; }
  img[loading=lazy] { opacity: 1; }
  .hs-slide { transition: none; }
}

/* ---- Mobile refinements ------------------------------------------------ */
.m-bar { display: none; }
@media (max-width: 960px) {
  .hs-nav .wrap { gap: 0 16px; }
  .hs-lab small { display: none; }
  /* Sticky price + actions bar on property pages */
  body[data-page=properties] .m-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10,23,48,.45); transform: translateY(110%); transition: transform .35s var(--ease); }
  body[data-page=properties] .m-bar.show { transform: none; }
  .m-bar .mb-price { flex: 1; min-width: 0; line-height: 1.15; }
  .m-bar .mb-price small { display: block; font-size: 11px; color: var(--smoky); }
  .m-bar .mb-price strong { font-family: var(--f-display); font-weight: 400; font-size: 19px; color: var(--midnight); white-space: nowrap; }
  .m-bar .mb-price strong span { font-size: .6em; }
  .m-bar a { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; border: 1px solid var(--line); color: var(--cb-blue); flex: none; }
  .m-bar a.wa { background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
  .m-bar a .icon { width: 20px; height: 20px; }
  .m-bar .btn { height: 44px; padding: 0 16px; flex: none; }
  body.has-mbar .float-cta { display: none; }
  body.has-mbar { padding-bottom: 72px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .hero-slider { min-height: 0; }
  .hero-slider .hero-inner { padding-top: 56px; padding-bottom: 20px; }
  .hero-slider::before { background: linear-gradient(180deg, rgba(7,15,33,.55) 0%, rgba(7,15,33,.7) 45%, rgba(7,15,33,.92) 100%); }
  .hero-sub { font-size: 15.5px; margin-top: 14px; }
  .search-panel { margin-top: 24px; }
  .search-panel .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar label { padding: 12px 14px; border-top: 0 !important; }
  .search-bar label:nth-child(1) { border-right: 1px solid var(--line); }
  .search-bar label:nth-child(3) { display: none; }
  .search-bar select { font-size: 14.5px; }
  .search-bar button { grid-column: 1 / -1; padding: 15px; border-top: 1px solid var(--line); }
  .hs-nav .wrap { grid-template-columns: repeat(4, 1fr); gap: 0 8px; }
  .hs-dot { padding: 14px 0 16px; grid-template-columns: 1fr; }
  .hs-lab { display: none; }
  .hs-num { font-size: 10px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0; border-top: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-item .icon { width: 26px; height: 26px; }
  .trust-item strong { font-size: 14.5px; }
  .trust-item span { font-size: 12.5px; }
  /* Swipeable rows instead of long stacks */
  .m-scroll { display: grid !important; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none !important; gap: 14px !important; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .m-scroll::-webkit-scrollbar { display: none; }
  .m-scroll > * { scroll-snap-align: start; }
  .m-scroll.cat-intro { grid-auto-columns: 78%; background: none; border: 0; overflow-x: auto; }
  .m-scroll.cat-intro > div { border: 1px solid var(--line); border-radius: var(--radius); }
  .m-hint { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
  .m-hint i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); transition: background .3s, width .3s; }
  .m-hint i.on { width: 18px; border-radius: 3px; background: var(--cb-blue); }
  .region-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .region.lg { grid-column: span 2; grid-row: span 2; }
  .region.wide { grid-column: span 2; }
  .region h3 { font-size: 11px; }
  .region p { display: none; }
  .region.lg p { display: block; font-size: 13.5px; }
  .region.lg h3 { font-size: 24px; }
  .cat-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter); scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex: none; height: 38px; font-size: 13.5px; }
  .steps { gap: 10px; }
  .step { padding: 20px 20px 22px; }
  .step h3 { margin-top: 8px; }
  .exp-item { padding: 24px 22px; }
  .exp-item .icon { margin-bottom: 14px; }
  .features { gap: 28px; }
  .float-cta { right: 14px; bottom: 14px; gap: 8px; }
  .float-cta a { width: 46px; height: 46px; }
  .editorial { padding: 72px 0; }
  .formula { font-size: 28px; }
  .contact-grid { gap: 32px; }
  .form-card { padding: 24px 20px; }
  .next-steps li { padding: 14px 0; }
  .faq summary { font-size: 16px; padding: 18px 0; }
  .foot-top { gap: 28px; }
  .page-hero { padding: 48px 0 40px; }
  .pd-head h1 { font-size: 26px; }
  .toolbar-right { width: 100%; }
  .toolbar .select { flex: 1; }
}
.m-hint { display: none; }
@media (max-width: 640px) { .m-hint { display: flex; } }
/* Hero fills exactly the visible screen under the top bar + header */
.hero-slider { min-height: max(620px, calc(100svh - 122px)); }
.hero-slider .hero-inner { padding-top: 64px; }
@media (max-width: 640px) { .hero-slider { min-height: calc(100svh - 68px); } }

/* =========================================================================
   v5 — cleaner hero: two-line intro, lighter scrim, minimal slide lines
   ========================================================================= */
.hero-sub { max-width: 640px; }
.hero-slider .hero-inner { padding-bottom: 88px; }
@media (min-width: 641px) {
  .hero-slider::before {
    background:
      linear-gradient(90deg, rgba(7,15,33,.78) 0%, rgba(7,15,33,.52) 34%, rgba(7,15,33,.12) 62%, rgba(7,15,33,0) 100%),
      linear-gradient(0deg, rgba(7,15,33,.5) 0%, rgba(7,15,33,0) 32%);
  }
}
.hero h1, .hero-sub, .hero .eyebrow { text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 4px 28px rgba(0,0,0,.35); }

/* Minimal slide indicator: four short lines, bottom-right */
.hs-dots { position: absolute; z-index: 2; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: 40px; display: flex; gap: 8px; opacity: 0; animation: heroIn 1s var(--ease) .9s forwards; }
.hs-dots .hs-dot { width: 36px; height: 22px; padding: 0; display: flex; align-items: center; }
.hs-dots .hs-bar { position: relative; top: auto; display: block; width: 100%; height: 2px; background: rgba(255,255,255,.35); border-radius: 2px; }
.hs-dots .hs-dot:hover .hs-bar { background: rgba(255,255,255,.6); }
@media (max-width: 640px) {
  .hero-slider .hero-inner { padding-bottom: 64px; }
  .hs-dots { bottom: 26px; left: var(--gutter); right: auto; }
  .hs-dots .hs-dot { width: 28px; }
}
@media (prefers-reduced-motion: reduce) { .hs-dots { opacity: 1; animation: none; } }
@media (max-width: 640px) {
  .hero-slider::before { background: linear-gradient(180deg, rgba(7,15,33,.15) 0%, rgba(7,15,33,.3) 30%, rgba(7,15,33,.78) 62%, rgba(7,15,33,.92) 100%); }
  .hs-slide img { object-position: center 35% !important; }
}

/* =========================================================================
   v6 — hero search depth, custom dropdowns
   ========================================================================= */
.search-panel .search-bar {
  overflow: visible; position: relative;
  border-radius: 0 6px 6px 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 2px 6px rgba(7,15,33,.12), 0 28px 70px -22px rgba(7,15,33,.7);
}
.search-panel .search-bar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(1,33,105,.06); }
.search-bar label { position: relative; cursor: pointer; transition: background .25s var(--ease); }
.search-bar label:first-child { border-bottom-left-radius: 6px; }
.search-bar label:hover { background: #F7FAFE; }
.search-bar label.dd-open, .search-bar label:focus-within { background: var(--icy); }
.search-bar label::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--cb-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.search-bar label.dd-open::after { transform: scaleX(1); }
.search-bar button[type=submit] { border-radius: 0 6px 6px 0; background: linear-gradient(180deg, #0A2C80 0%, var(--cb-blue) 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.search-bar button[type=submit]:hover { background: var(--midnight); }
.dd-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; }
.dd-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 2px 0 0; border: 0; background: none; text-align: left; font-family: var(--f-display); font-size: 16px; color: var(--midnight); }
.dd-btn::before { content: ""; position: absolute; inset: 0; }
.dd-btn .icon { width: 15px; height: 15px; color: var(--smoky); transition: transform .3s var(--ease); flex: none; }
.dd-open .dd-btn .icon { transform: rotate(180deg); color: var(--cb-blue); }
.dd-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-menu {
  position: absolute; z-index: 40; top: calc(100% + 10px); left: 8px; min-width: calc(100% - 16px); width: max-content; max-width: 340px;
  max-height: 330px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 2px 6px rgba(7,15,33,.08), 0 30px 60px -20px rgba(7,15,33,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top left;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.dd-open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 5px; font-size: 14.5px; color: var(--ink); cursor: pointer; transition: background .15s; }
.dd-menu li .icon { width: 17px; height: 17px; color: var(--celestial); }
.dd-menu li:hover, .dd-menu li:focus { background: var(--icy); outline: none; }
.dd-menu li[aria-selected=true] { color: var(--cb-blue); font-weight: 400; background: #EAF1FB; }
.dd-menu li .dd-check { margin-left: auto; color: var(--cb-blue); opacity: 0; }
.dd-menu li[aria-selected=true] .dd-check { opacity: 1; }
.search-tabs { box-shadow: 0 -10px 30px -18px rgba(0,0,0,.5); }
/* Listings filter panel: a little lift */
.filters { box-shadow: var(--shadow); }
@media (max-width: 640px) {
  .dd-btn { font-size: 14.5px; }
  .dd-menu { left: 0; min-width: 100%; max-width: calc(100vw - 2 * var(--gutter)); }
  .search-bar label:nth-child(2) .dd-menu { left: auto; right: 0; transform-origin: top right; }
  .search-panel .search-bar { border-radius: 0 0 6px 6px; }
  .search-bar button[type=submit] { border-radius: 0 0 6px 6px; }
}

/* =========================================================================
   v7 — blog, articles, legal pages
   ========================================================================= */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
#home-posts.post-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.pc-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--glacier); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.05); }
.pc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; color: var(--smoky); margin-bottom: 12px; }
.pc-meta .tag { background: var(--icy); height: 22px; font-size: 9px; }
.post-card h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--cb-blue); }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.post-card p { font-size: 14.5px; line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .text-link { margin-top: auto; align-self: flex-start; border: 0; padding: 0; position: relative; z-index: 1; }
.post-card.featured { display: grid; grid-template-columns: 1.25fr 1fr; margin-bottom: 24px; }
.post-card.featured .pc-media { aspect-ratio: auto; min-height: 380px; }
.post-card.featured .pc-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post-card.featured h3 { font-size: clamp(24px, 2.4vw, 32px); }
.post-card.featured p { -webkit-line-clamp: 4; font-size: 16px; }

/* Article */
.post-hero { padding: 28px 0 0; }
.post-hero-inner { max-width: 900px; }
.post-hero .tag { margin-top: 6px; }
.post-title { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; margin: 16px 0 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--smoky); }
.post-meta span { display: inline-flex; align-items: center; gap: 8px; }
.post-meta .icon { width: 16px; height: 16px; color: var(--celestial); }
.post-cover { margin: 32px 0 0; aspect-ratio: 21 / 9; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; padding-top: 48px; padding-bottom: var(--section); }
.prose { max-width: 720px; font-size: 17.5px; line-height: 1.8; color: #2C3542; }
.prose .lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.65; color: var(--midnight); margin-bottom: 1.4em; }
.prose h2 { font-size: clamp(22px, 2vw, 27px); margin: 1.8em 0 .6em; scroll-margin-top: 110px; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 10px; height: 1.5px; background: var(--celestial); }
.prose strong { color: var(--midnight); }
.prose a { color: var(--cb-blue); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid var(--cb-blue); font-family: var(--f-serif); font-style: italic; font-size: 24px; line-height: 1.45; color: var(--midnight); }
.post-share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--smoky); }
.post-share span { margin-right: 6px; }
.post-share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cb-blue); text-decoration: none; transition: background .2s, border-color .2s; }
.post-share a:hover { background: var(--icy); border-color: var(--mist); }
.post-share .icon { width: 17px; height: 17px; }
.post-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--white); }
.toc .flabel { display: block; font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--smoky); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 2px; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; line-height: 1.45; color: var(--body); transition: color .2s; }
.toc ol:not(.plain) a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-serif); font-style: italic; color: var(--celestial); }
.toc a:hover, .toc a.active { color: var(--cb-blue); }
.aside-cta { border-radius: var(--radius); padding: 24px; }
.aside-cta .eyebrow { margin-bottom: 10px; }
.aside-cta h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.aside-cta p { font-size: 14px; }
.legal-hero { color: var(--white); }
.legal-hero::before { display: none; }
.legal-layout { padding-top: 56px; }

@media (max-width: 1140px) { #home-posts.post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .pc-media { min-height: 0; aspect-ratio: 16 / 9; }
  .post-layout { grid-template-columns: 1fr; padding-top: 32px; }
  .post-aside { position: static; }
  .post-aside .toc { display: none; }
  .legal-layout .post-aside .toc:first-child { display: block; order: -1; }
  .legal-layout .post-aside { order: -1; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-cover { aspect-ratio: 4 / 3; margin-top: 22px; }
  .prose { font-size: 16.5px; }
  .prose blockquote { font-size: 20px; }
  .post-title { font-size: 28px; }
}
/* Dropdown triggers must not inherit the Search button styling */
.search-bar label .dd-btn { background: none; color: var(--midnight); padding: 2px 0 0; height: auto; border: 0; border-radius: 0; box-shadow: none; font-family: var(--f-display); font-size: 16px; letter-spacing: 0; text-transform: none; justify-content: space-between; grid-column: auto; }
.search-bar label .dd-btn:hover { background: none; }
@media (max-width: 640px) { .search-bar label .dd-btn { font-size: 14.5px; padding: 2px 0 0; border-top: 0; } }
@media (max-width: 640px) {
  .pd-head { grid-template-columns: 1fr; gap: 14px; }
  .pd-actions { justify-content: flex-start; }
}

/* =========================================================================
   v8 — simple hero search (no tabs)
   ========================================================================= */
.search-panel .search-bar { border-radius: 6px; }
.search-bar label:first-child { border-radius: 6px 0 0 6px; }
.search-all { margin: 16px 0 0; font-size: 14px; }
.search-all a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.search-all a:hover { color: #fff; border-color: #fff; }
.search-all .icon { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .search-panel .search-bar { border-radius: 6px; }
  .search-bar label:first-child { border-radius: 6px 0 0 0; }
  .search-all { font-size: 13.5px; }
}

/* =========================================================================
   v8 — Our Presence: location explorer (list + large photo)
   ========================================================================= */
.presence { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.pr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); align-self: center; width: 100%; }
.pr-item { position: relative; display: grid; grid-template-columns: 40px 1fr auto 18px; align-items: center; gap: 12px; padding: 17px 12px 17px 6px; border-bottom: 1px solid var(--line); color: var(--midnight); transition: padding .35s var(--ease), background .35s var(--ease), color .25s; }
.pr-item::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--cb-blue); transform: scaleY(0); transition: transform .35s var(--ease); }
.pr-num { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--mist); transition: color .25s; }
.pr-name { font-family: var(--f-display); font-size: 18.5px; line-height: 1.3; }
.pr-count { font-size: 12.5px; color: var(--smoky); white-space: nowrap; }
.pr-item .icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); color: var(--cb-blue); }
.pr-item.is-active { padding-left: 18px; background: linear-gradient(90deg, var(--icy), rgba(240,245,251,0)); color: var(--cb-blue); }
.pr-item.is-active::before { transform: scaleY(1); }
.pr-item.is-active .pr-num { color: var(--cb-blue); }
.pr-item.is-active .icon { opacity: 1; transform: none; }
.pr-stage { position: relative; min-height: 540px; border-radius: 6px; overflow: hidden; background: var(--slate); box-shadow: var(--shadow); isolation: isolate; }
.pr-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); }
.pr-slide.is-active { opacity: 1; z-index: 1; }
.pr-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out, opacity .7s var(--ease); }
.pr-slide.is-active img { transform: scale(1); }
.pr-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,15,33,.86) 0%, rgba(7,15,33,.35) 38%, rgba(7,15,33,0) 62%); }
.pr-slide figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 36px); display: grid; gap: 8px; max-width: 560px; color: var(--white); }
.pr-cap-num { font-family: var(--f-label); font-size: 10.5px; letter-spacing: .2em; color: var(--tide); }
.pr-slide figcaption strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; color: var(--white); }
.pr-slide figcaption > span:not(.pr-cap-num) { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.84); }
.pr-slide figcaption .btn { justify-self: start; margin-top: 8px; }
.pr-slide figcaption > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pr-slide.is-active figcaption > * { opacity: 1; transform: none; }
.pr-slide.is-active figcaption > :nth-child(2) { transition-delay: .06s; } .pr-slide.is-active figcaption > :nth-child(3) { transition-delay: .12s; } .pr-slide.is-active figcaption > :nth-child(4) { transition-delay: .18s; }
@media (max-width: 960px) {
  .presence { grid-template-columns: 1fr; gap: 18px; }
  .pr-stage { order: -1; min-height: 0; aspect-ratio: 4 / 3.2; }
  .pr-item { padding: 14px 10px 14px 4px; grid-template-columns: 34px 1fr auto 16px; }
  .pr-item.is-active { padding-left: 14px; }
  .pr-name { font-size: 16.5px; }
}
@media (max-width: 640px) {
  .pr-stage { aspect-ratio: 4 / 4.2; }
  .pr-slide figcaption { padding: 20px; }
  .pr-slide figcaption > span:not(.pr-cap-num) { font-size: 14px; }
  .pr-count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pr-slide, .pr-slide img, .pr-slide figcaption > * { transition: none; transform: none; } }

/* ---- Consent tick-box (mandatory) -------------------------------------- */
.consent-field { margin: 4px 0 18px; }
.consent-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-check .cbox { width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--mist); border-radius: 4px; background: var(--white); display: grid; place-items: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.consent-check .cbox .icon { width: 14px; height: 14px; color: #fff; stroke-width: 2.4; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.consent-check input:checked + .cbox { background: var(--cb-blue); border-color: var(--cb-blue); }
.consent-check input:checked + .cbox .icon { opacity: 1; transform: none; }
.consent-check input:focus-visible + .cbox { box-shadow: 0 0 0 3px rgba(65,143,222,.3); }
.consent-check .ctext { font-size: 13px; line-height: 1.55; color: var(--body); }
.consent-check .ctext a { color: var(--cb-blue); text-decoration: underline; text-underline-offset: 2px; }
.consent-err { display: none; margin: 8px 0 0 34px; font-size: 12.5px; color: #C0392B; }
.consent-field.err .cbox { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.consent-field.err .consent-err { display: block; }
form.needs-consent button[type=submit] { opacity: .55; }
form.needs-consent button[type=submit]:hover { transform: none; box-shadow: none; }
.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* =========================================================================
   v9 — Palace-led hero: photo on the right, text on clean deep blue
   ========================================================================= */
.hero2 { position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: radial-gradient(90% 120% at 0% 100%, rgba(65,143,222,.16), transparent 55%), linear-gradient(160deg, #0E2547 0%, #0A1730 60%); }
.h2-media { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1; }
.h2-media .hs-slide img { object-fit: cover; }
/* Blend the photo into the blue on its left edge, and gently at the bottom for the search bar */
.h2-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #0A1730 0%, rgba(10,23,48,.82) 12%, rgba(10,23,48,.35) 30%, rgba(10,23,48,0) 50%),
              linear-gradient(0deg, rgba(10,23,48,.75) 0%, rgba(10,23,48,0) 28%); }
.hs-cap { position: absolute; z-index: 3; top: 26px; right: 28px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(10,23,48,.45); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px);
  font-family: var(--f-label); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.92); }
.hs-cap::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tide); }
.hero2 .hs-dots { position: absolute; z-index: 3; right: 28px; left: auto; top: 66px; bottom: auto; opacity: 1; animation: none; }
.h2-inner { position: relative; z-index: 1; min-height: clamp(600px, calc(100svh - 122px), 820px); display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 56px; }
.h2-inner .eyebrow { color: var(--tide); }
.h2-inner h1 { color: var(--white); max-width: 13.5ch; }
.h2-inner h1 .serif { color: var(--tide); }
.h2-inner .hero-sub { max-width: 34em; color: rgba(255,255,255,.82); }
.hero2 h1, .hero2 .hero-sub, .hero2 .eyebrow { text-shadow: none; }
.hero2 .search-panel { margin-top: 34px; }
@media (max-width: 1140px) { .h2-media { width: 58%; } }
@media (max-width: 960px) {
  /* Phones & tablets: photo first, then the words, then the search */
  .hero2 { display: flex; flex-direction: column; }
  .h2-media { position: relative; width: 100%; aspect-ratio: 4 / 3; z-index: 0; }
  .h2-media::after { background: linear-gradient(0deg, #0A1730 0%, rgba(10,23,48,.35) 22%, rgba(10,23,48,0) 45%); }
  .hs-cap { top: auto; bottom: 18px; left: var(--gutter); right: auto; font-size: 9px; padding: 6px 12px; }
  .hero2 .hs-dots { top: auto; bottom: 20px; right: var(--gutter); }
  .h2-inner { min-height: 0; padding-top: 6px; padding-bottom: 32px; }
  .h2-inner h1 { max-width: none; }
}
@media (max-width: 640px) {
  .h2-media { aspect-ratio: 5 / 4; }
  .hero2 .hs-dots .hs-dot { width: 22px; }
  .h2-inner .eyebrow { font-size: 9px; letter-spacing: .12em; gap: 0; white-space: nowrap; margin-bottom: 12px; }
  .h2-inner .eyebrow::before { display: none; }
  .h2-inner h1 { font-size: 30px; line-height: 1.12; }
  .h2-inner .hero-sub { font-size: 15px; margin-top: 10px; }
  .hero2 .search-panel { margin-top: 20px; }
}

/* ---- Our Presence: Mysore + two hill regions ---------------------------- */
.regions { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 620px; }
.rg-card { position: relative; overflow: hidden; border-radius: 8px; isolation: isolate; color: var(--white); display: flex; align-items: flex-end; background: var(--slate); }
.rg-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.rg-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,15,33,.9) 0%, rgba(7,15,33,.45) 45%, rgba(7,15,33,.05) 75%); }
.rg-card:hover > img { transform: scale(1.04); }
.rg-main { grid-row: span 2; }
.rg-body { padding: clamp(20px, 2.6vw, 34px); width: 100%; }
.rg-tag { display: inline-block; font-family: var(--f-label); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); margin-bottom: 8px; }
.rg-card h3 { color: var(--white); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.rg-main h3 { font-size: clamp(34px, 3.6vw, 52px); }
.rg-card p { margin: 10px 0 0; max-width: 44ch; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.84); }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rg-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; font-size: 13px; color: var(--white); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.rg-chip:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.6); }
.rg-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.5); font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.rg-cta .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.rg-cta:hover .icon { transform: translateX(4px); }
@media (max-width: 960px) {
  .regions { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; min-height: 0; gap: 12px; }
  .rg-main { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .rg-card:not(.rg-main) { min-height: 300px; }
}
@media (max-width: 640px) {
  .rg-main { min-height: 470px; }
  .rg-card:not(.rg-main) { min-height: 250px; }
  .rg-card:not(.rg-main) .rg-body { padding: 16px; }
  .rg-card:not(.rg-main) h3 { font-size: 20px; }
  .rg-card:not(.rg-main) p { display: none; }
  .rg-card:not(.rg-main) .rg-tag { font-size: 9px; letter-spacing: .14em; }
  .rg-card:not(.rg-main) .rg-cta { margin-top: 10px; font-size: 10px; letter-spacing: .1em; }
  .rg-chip { height: 30px; font-size: 12.5px; padding: 0 11px; }
  .rg-main p { font-size: 14px; }
}

/* ---- One-line consent ---------------------------------------------------- */
.consent-field { margin: 2px 0 16px; }
.consent-check { grid-template-columns: 20px 1fr; gap: 10px; align-items: center; }
.consent-check .cbox { width: 20px; height: 20px; margin-top: 0; }
.consent-check .ctext { font-size: 13.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.consent-err { margin: 6px 0 0 30px; }
@media (max-width: 360px) { .consent-check .ctext { font-size: 12.5px; } }

/* ---- Compact popup (no scrolling) --------------------------------------- */
.lp-card { grid-template-columns: .85fr 1.15fr; width: min(820px, 100%); max-height: none; }
.lp-body { padding: 30px 30px 24px; }
.lp-body .eyebrow { margin-bottom: 10px; }
.lp-body h2 { font-size: 22px; margin-bottom: 8px; }
.lp-sub { font-size: 14px; margin-bottom: 16px; }
.lp-body .field { margin-bottom: 12px; }
.lp-body .field input { height: 44px; }
.lp-body .consent-field { margin: 4px 0 14px; }
@media (max-width: 640px) {
  .lp-card { max-height: none; overflow: visible; }
  .lp-body { padding: 24px 20px calc(18px + env(safe-area-inset-bottom)); }
  .lp-body h2 { font-size: 20px; padding-right: 36px; }
  .lp-close { top: 10px; right: 10px; }
}

/* ---- Mobile: swipe rows for Expertise / How we work / feature lists ------ */
@media (max-width: 640px) {
  .exp-grid.m-scroll { background: none; border: 0; grid-auto-columns: 78%; }
  .exp-grid.m-scroll > .exp-item { border: 1px solid rgba(255,255,255,.14); border-radius: 8px; min-height: 100%; }
  .steps.m-scroll { grid-auto-columns: 74%; }
  .steps.m-scroll > .step { min-height: 100%; }
  .features.m-scroll { grid-auto-columns: 74%; }
  .features.m-scroll > .feature { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; }
  .on-dark .features.m-scroll > .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
  .bg-icy .features.m-scroll > .feature { background: var(--white); }
  .exp-grid.m-scroll + .m-hint i, .on-dark .m-hint i { background: rgba(255,255,255,.3); }
  .exp-grid.m-scroll + .m-hint i.on, .on-dark .m-hint i.on { background: var(--white); }
}
/* hero2 refinement: text never runs over the palace */
@media (min-width: 961px) {
  .h2-media { width: 54%; }
  .h2-media::after { background: linear-gradient(90deg, #0A1730 0%, rgba(10,23,48,.7) 10%, rgba(10,23,48,.2) 24%, rgba(10,23,48,0) 40%), linear-gradient(0deg, rgba(10,23,48,.7) 0%, rgba(10,23,48,0) 26%); }
  .h2-inner h1 { max-width: 11.5ch; }
  .h2-inner .hero-sub { max-width: 30em; }
  .h2-inner .eyebrow, .h2-inner h1, .h2-inner .hero-sub { max-width: min(46%, 560px); }
  .h2-inner h1 { max-width: min(46%, 11.5ch); }
}
@media (min-width: 961px) and (max-width: 1140px) { .h2-media { width: 50%; } }
/* consent: keep the tick-box and text on one line (beats the generic .field label rule) */
.field .consent-check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; margin: 0; font-size: inherit; color: inherit; }
@media (max-width: 640px) { .rg-card:not(.rg-main) .rg-sfx { display: none; } .rg-card:not(.rg-main) .rg-cta { white-space: nowrap; } }
@media (max-width: 960px) { .lp-card { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .lp-card { width: 100%; } }

/* =========================================================================
   v10 — Centred palace hero + floating search card
   ========================================================================= */
.hero3 { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center;
  min-height: clamp(580px, calc(100svh - 122px), 860px); display: flex; align-items: center; justify-content: center; background: var(--midnight); }
.h3-media { position: absolute; inset: 0; z-index: -1; }
.h3-media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 38%, rgba(7,15,33,.5) 0%, rgba(7,15,33,0) 70%),
              linear-gradient(180deg, rgba(7,15,33,.55) 0%, rgba(7,15,33,.25) 38%, rgba(7,15,33,.1) 62%, rgba(7,15,33,.55) 100%); }
.h3-inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 150px; display: flex; flex-direction: column; align-items: center; }
.h3-inner .eyebrow { color: var(--tide); justify-content: center; }
.h3-inner .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h3-title { color: var(--white); font-size: clamp(44px, 6.6vw, 98px); line-height: .98; letter-spacing: -.025em; max-width: 12ch; margin: 0 auto; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.h3-title .serif { display: block; color: var(--white); font-size: 1.04em; letter-spacing: -.01em; }
.h3-inner .hero-sub { max-width: 40em; margin: 20px auto 0; color: rgba(255,255,255,.88); text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.h3-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; height: 46px; padding: 0 24px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--white); transition: background .25s, color .25s, border-color .25s; }
.h3-pill .icon { width: 15px; height: 15px; transform: rotate(-45deg); transition: transform .3s var(--ease); }
.h3-pill:hover { background: var(--white); color: var(--cb-blue); border-color: var(--white); }
.h3-pill:hover .icon { transform: rotate(0); }
.hero3 .hs-cap { top: 24px; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); right: auto; bottom: auto; }
.hero3 .hs-dots { position: absolute; z-index: 3; top: 34px; bottom: auto; left: auto; right: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); opacity: 1; animation: none; }

/* Floating search card */
.h3-search-wrap { position: relative; z-index: 5; margin-top: -104px; }
.search-card { max-width: 1060px; margin: 0 auto; background: var(--white); border-radius: 14px; padding: 18px 18px 14px;
  box-shadow: 0 2px 8px rgba(7,15,33,.08), 0 34px 80px -30px rgba(7,15,33,.5); }
.search-card .search-bar { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 14px; background: none; box-shadow: none; border-radius: 0; overflow: visible; max-width: none; margin: 0; }
.search-card .search-bar::after { display: none; }
.search-card .search-bar label { display: grid; gap: 7px; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0; text-align: left; }
.search-card .search-bar label::after { display: none; }
.search-card .search-bar .lbl { font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; color: var(--midnight); margin: 0; }
.search-card .search-bar label .dd-btn { height: 50px; padding: 0 14px; background: var(--icy); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.search-card .search-bar label .dd-btn:hover { background: #E9F0FA; border-color: var(--mist); }
.search-card .search-bar label.dd-open .dd-btn { background: var(--white); border-color: var(--celestial); box-shadow: 0 0 0 3px rgba(65,143,222,.15); }
.search-card .dd-menu { top: calc(100% + 8px); left: 0; min-width: 100%; }
.search-card .search-bar button[type=submit] { align-self: end; height: 50px; padding: 0 28px; border-radius: 8px; border: 0; gap: 10px; background: var(--cb-blue); box-shadow: none; }
.search-card .search-bar button[type=submit]:hover { background: var(--midnight); }
.quick-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); text-align: left; }
.quick-chips > span { font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoky); margin-right: 4px; }
.quick-chips a { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; color: var(--midnight); transition: border-color .2s, background .2s, color .2s; }
.quick-chips a:hover { border-color: var(--cb-blue); background: var(--icy); color: var(--cb-blue); }
.quick-chips .qc-all { margin-left: auto; border: 0; padding: 0; gap: 6px; color: var(--cb-blue); font-weight: 400; }
.quick-chips .qc-all:hover { background: none; }
.quick-chips .qc-all .icon { width: 14px; height: 14px; }
.h3-search-wrap + .trust { margin-top: 26px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .search-card .search-bar { grid-template-columns: 1fr 1fr; }
  .search-card .search-bar label:nth-child(3) { display: grid !important; }
  .search-card .search-bar button[type=submit] { grid-column: auto; }
}
@media (max-width: 640px) {
  .hero3 { min-height: 0; align-items: flex-start; }
  .h3-media::after { background: linear-gradient(180deg, rgba(7,15,33,.65) 0%, rgba(7,15,33,.35) 45%, rgba(7,15,33,.1) 70%, rgba(7,15,33,.45) 100%); }
  .h3-media .hs-slide img { object-position: center 75% !important; }
  .h3-inner { padding-top: 54px; padding-bottom: 210px; }
  .h3-inner .eyebrow { font-size: 9px; letter-spacing: .12em; gap: 8px; white-space: nowrap; margin-bottom: 14px; }
  .h3-inner .eyebrow::before, .h3-inner .eyebrow::after { width: 14px; }
  .h3-title { font-size: 40px; line-height: 1.02; }
  .h3-inner .hero-sub { font-size: 14.5px; margin-top: 14px; }
  .h3-pill { margin-top: 20px; height: 42px; padding: 0 18px; font-size: 10px; }
  .hero3 .hs-cap { display: none; }
  .hero3 .hs-dots { top: auto; bottom: 92px; left: 50%; right: auto; transform: translateX(-50%); }
  .h3-search-wrap { margin-top: -78px; }
  .search-card { padding: 14px; border-radius: 12px; }
  .search-card .search-bar { gap: 10px; }
  .search-card .search-bar label:nth-child(3) { display: none !important; }
  .search-card .search-bar label .dd-btn { height: 46px; font-size: 14px; padding: 0 12px; }
  .search-card .search-bar button[type=submit] { grid-column: 1 / -1; height: 48px; justify-content: center; border-top: 0; padding: 0; }
  .quick-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .quick-chips::-webkit-scrollbar { display: none; }
  .quick-chips a { flex: none; height: 30px; font-size: 13px; }
  .quick-chips .qc-all { display: none; }
  .h3-search-wrap + .trust { margin-top: 18px; }
}
@media (min-width: 641px) {
  .h3-title { max-width: 15ch; font-size: clamp(44px, 6vw, 92px); }
  .h3-inner { padding-top: 40px; padding-bottom: 170px; justify-content: flex-start; }
  .hero3 { align-items: flex-start; }
}
/* daylight slides get a deeper shade behind the centred words */
.hero3 .hs-slide.bright::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(55% 48% at 50% 30%, rgba(7,15,33,.55) 0%, rgba(7,15,33,0) 75%), linear-gradient(180deg, rgba(7,15,33,.35) 0%, rgba(7,15,33,0) 55%); }

/* =========================================================================
   v11 — single palace image, calmer headline, full-width search card
   ========================================================================= */
.h3-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 14s var(--ease) forwards; }
.hero3 { min-height: clamp(660px, calc(100svh - 80px), 940px); }
.h3-title { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; max-width: 18ch; }
.h3-inner .eyebrow { margin-bottom: 16px; }
.h3-inner .hero-sub { font-size: clamp(15px, 1.1vw, 17px); max-width: 36em; margin-top: 16px; }
.h3-pill { margin-top: 24px; height: 44px; }
.search-card { max-width: none; }
@media (min-width: 641px) {
  .h3-title { max-width: 18ch; font-size: clamp(36px, 4.4vw, 66px); }
  .h3-inner { padding-top: 72px; padding-bottom: 260px; }
}
@media (max-width: 640px) {
  .hero3 { min-height: 0; }
  .h3-media > img { object-position: center 78% !important; }
  .h3-title { font-size: 31px; line-height: 1.08; }
  .h3-inner { padding-top: 48px; padding-bottom: 250px; }
  .h3-inner .hero-sub { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .h3-media > img { animation: none; transform: none; } }

/* v12 — hero without eyebrow/button: headline + one line of copy on the night sky */
@media (min-width: 641px) {
  .h3-inner { padding-top: 88px; padding-bottom: 300px; }
  .h3-title { font-size: clamp(40px, 5vw, 74px); line-height: 1.04; max-width: 17ch; }
  .h3-inner .hero-sub { font-size: clamp(15.5px, 1.15vw, 18px); max-width: 38em; margin-top: 18px; line-height: 1.6; }
}
@media (max-width: 640px) {
  .h3-inner { padding-top: 44px; padding-bottom: 270px; }
  .h3-title { font-size: 33px; line-height: 1.08; }
  .h3-inner .hero-sub { font-size: 14px; line-height: 1.55; margin-top: 12px; max-width: 30em; }
}

/* v13 — hero text left-aligned to the logo / content edge */
.hero3 { text-align: left; justify-content: flex-start; }
.h3-inner { align-items: flex-start; }
.h3-title, .h3-inner .hero-sub { margin-left: 0; margin-right: 0; }
.h3-media::after { background: radial-gradient(60% 60% at 18% 30%, rgba(7,15,33,.55) 0%, rgba(7,15,33,0) 70%),
                   linear-gradient(180deg, rgba(7,15,33,.55) 0%, rgba(7,15,33,.25) 38%, rgba(7,15,33,.1) 62%, rgba(7,15,33,.55) 100%); }
@media (min-width: 641px) {
  .h3-title { max-width: 13ch; }
  .h3-inner .hero-sub { max-width: 32em; }
}
@media (max-width: 640px) {
  .h3-media::after { background: linear-gradient(180deg, rgba(7,15,33,.65) 0%, rgba(7,15,33,.35) 45%, rgba(7,15,33,.1) 70%, rgba(7,15,33,.45) 100%); }
}
@media (min-width: 641px) { .h3-title { max-width: 17ch; } }

/* ---- About: values (4), focus cards, who-we-work-with chips ------------- */
.features-4 { grid-template-columns: repeat(4, 1fr); }
.focus-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.focus-card { border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; background: var(--white); }
.focus-card h3 { font-size: 22px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.focus-card h3 small { font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoky); }
.focus-card .ticks { margin: 8px 0 12px; }
.focus-card .ticks li span b { font-weight: 500; color: var(--midnight); }
.focus-table th { width: 46%; color: var(--midnight); font-weight: 400; }
.focus-table td { color: var(--body); }
.who-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.who-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; color: var(--midnight); }
.center-note { text-align: center; margin: 22px 0 0; color: var(--smoky); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .features-4 { grid-template-columns: 1fr 1fr; } .focus-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .focus-card { padding: 20px; }
  .focus-table th, .focus-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .focus-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .who-chips span { height: 34px; font-size: 13px; padding: 0 13px; }
}

/* Estate / Kodagu legal note on property pages */
.legal-note { margin: 0 0 28px; padding: 16px 18px; border-left: 3px solid var(--celestial, #1F69FF); background: var(--icy, #F2F6FC); font-size: 14px; line-height: 1.6; color: var(--body); border-radius: 0 6px 6px 0; }
.legal-note b { color: var(--midnight); font-weight: 500; }

/* ---- Photo tiles: categories (6) & presence (4) ------------------------- */
.ptile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ptile-grid.ptile-4 { grid-template-columns: repeat(4, 1fr); }
.ptile { position: relative; display: block; aspect-ratio: 1.58; overflow: hidden; border-radius: 4px; background: var(--midnight); color: #fff; text-decoration: none; isolation: isolate; }
.ptile-4 .ptile { aspect-ratio: 1.18; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.ptile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,33,105,.38), rgba(1,15,50,.62)); transition: background .4s ease; }
.ptile:hover img { transform: scale(1.05); }
.ptile:hover::before { background: linear-gradient(180deg, rgba(1,33,105,.5), rgba(1,15,50,.75)); }
.ptile-body { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 8px; }
.ptile-title { font-family: var(--f-label); font-size: 21px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.ptile-sub { font-size: 14px; opacity: .9; }
.ptile-count { font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.ptile:focus-visible { outline: 3px solid var(--celestial); outline-offset: 3px; }
@media (max-width: 1140px) { .ptile-title { font-size: 17px; } .ptile-grid.ptile-4 { grid-template-columns: repeat(2, 1fr); } .ptile-4 .ptile { aspect-ratio: 1.58; } }
@media (max-width: 960px) { .ptile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .ptile-grid, .ptile-grid.ptile-4 { gap: 8px; }
  .ptile, .ptile-4 .ptile { aspect-ratio: 1; }
  .ptile-body { padding: 10px; gap: 5px; }
  .ptile-title { font-size: 13.5px; letter-spacing: .04em; }
  .ptile-sub { font-size: 11.5px; line-height: 1.35; }
  .ptile-count { display: none; }
}

/* Presence tiles: area names on each image */
.ptile-areas { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; max-width: 92%; }
.ptile-areas span { font-size: 12px; line-height: 1; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(2px); white-space: nowrap; }
.ptile-4 .ptile { aspect-ratio: 1; }
.ptile-4 .ptile::before { background: linear-gradient(180deg, rgba(1,33,105,.45), rgba(1,15,50,.72)); }
@media (max-width: 1140px) { .ptile-4 .ptile { aspect-ratio: 1.3; } }
@media (max-width: 640px) {
  .ptile-grid.ptile-4 { grid-template-columns: 1fr; gap: 10px; }
  .ptile-4 .ptile { aspect-ratio: 1.45; }
  .ptile-4 .ptile-title { font-size: 17px; }
  .ptile-4 .ptile-sub { font-size: 13px; }
  .ptile-areas span { font-size: 11.5px; padding: 5px 8px; }
}

/* Presence: 8 separate location tiles (overrides the area-label version) */
.ptile-4 .ptile { aspect-ratio: 1.3; }
@media (max-width: 1140px) { .ptile-grid.ptile-4 { grid-template-columns: repeat(4, 1fr); } .ptile-4 .ptile { aspect-ratio: 1.05; } }
@media (max-width: 960px) { .ptile-grid.ptile-4 { grid-template-columns: repeat(2, 1fr); } .ptile-4 .ptile { aspect-ratio: 1.4; } }
@media (max-width: 640px) {
  .ptile-grid.ptile-4 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ptile-4 .ptile { aspect-ratio: 1; }
  .ptile-4 .ptile-title { font-size: 13.5px; }
  .ptile-4 .ptile-sub { font-size: 11.5px; }
}

/* ---- Wider layout & tighter section spacing ------------------------------ */
:root {
  --wrap: 1440px;
  --gutter: clamp(20px, 3.2vw, 48px);
  --section: clamp(48px, 5.2vw, 80px);
}
.section-sm { padding: clamp(40px, 4vw, 56px) 0; }
.sec-head { margin-bottom: clamp(26px, 2.8vw, 40px); }
@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .section-sm { padding: 36px 0; }
  .sec-head { margin-bottom: 22px; }
}

/* ---- Brand header: CB blue bar, open (box-free) white logo -------------- */
.topbar { background: #00163F; }
.site-header { background: var(--cb-blue); border-bottom: 0; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,10,40,.7); }
.brand img { height: 48px; }
.nav-link { color: rgba(255,255,255,.92); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 0 13px; }
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link::after { background: var(--white); bottom: 22px; left: 13px; right: 13px; height: 1.5px; }
.nav-cta.btn-light { color: var(--cb-blue); }
.nav-cta.btn-light:hover { background: var(--icy, #EEF3FB); }
.menu-toggle { background: transparent; border-color: rgba(255,255,255,.35); }
.menu-toggle span { background: var(--white); }
@media (max-width: 1140px) { .brand img { height: 42px; } }
@media (max-width: 640px) { .brand img { height: 38px; } }
.mobile-nav a.btn-primary { color: var(--white); }

/* =========================================================================
   v14 — Full-screen hero (CB España style): moving Mysore background,
   transparent header on home, centred title + glass search bar
   ========================================================================= */
body[data-page="home"] .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; transition: background .35s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease); }
body[data-page="home"] .site-header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,12,40,.55), rgba(0,12,40,0)); transition: opacity .35s; }
body[data-page="home"] .site-header.scrolled { background: var(--cb-blue); box-shadow: 0 10px 30px -18px rgba(0,10,40,.7); }
body[data-page="home"] .site-header.scrolled::before { opacity: 0; }
body[data-page="home"].menu-open .site-header { background: var(--cb-blue); }

.hero4 { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; color: var(--white); text-align: center; overflow: hidden; background: #050B1C; }
.h4-media { position: absolute; inset: 0; z-index: -1; }
.h4-media::after { content: ""; position: absolute; inset: 0; z-index: 3; background: radial-gradient(ellipse at 50% 45%, rgba(0,14,45,.32) 0%, rgba(0,14,45,.42) 70%), linear-gradient(180deg, rgba(0,12,40,.30) 0%, rgba(0,12,40,.05) 45%, rgba(0,12,40,.40) 100%); }
.h4-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.h4-slide.on { opacity: 1; }
.h4-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transform: scale(1.02); }
.h4-slide.on img { animation: h4zoom 9s linear forwards; }
@keyframes h4zoom { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.2%, -1%, 0); } }
.h4-video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.h4-video.ready { opacity: 1; }

.h4-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--header-h) + 24px); padding-bottom: 96px; }
.h4-title { color: var(--white); font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.02em; max-width: 16ch; margin: 0 auto; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.h4-title .serif { display: block; color: var(--white); font-size: 1.04em; letter-spacing: -.01em; }
.h4-sub { margin: 18px auto 0; max-width: 36em; color: rgba(255,255,255,.9); font-size: clamp(15px, 1.25vw, 18px); text-shadow: 0 1px 14px rgba(0,0,0,.45); }

/* Glass search bar */
.search-glass { width: 100%; max-width: 980px; margin: 38px auto 0; }
.search-glass .search-bar { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 0; align-items: stretch; max-width: none; margin: 0; padding: 6px; overflow: visible;
  background: rgba(8,22,60,.38); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.28); border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.search-glass .search-bar::after { display: none; }
.search-glass .search-bar label { display: grid; gap: 3px; align-content: center; padding: 10px 18px !important; text-align: left; border: 0 !important; border-radius: 6px; background: transparent !important; position: relative; }
.search-glass .search-bar label + label::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: rgba(255,255,255,.25); }
.search-glass .search-bar label::after { display: none; }
.search-glass .search-bar label:hover, .search-glass .search-bar label.dd-open { background: rgba(255,255,255,.10) !important; }
.search-glass .search-bar .lbl { font-family: var(--f-label); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 0; }
.search-glass .search-bar label .dd-btn { height: auto; padding: 2px 0 0; background: none; border: 0; box-shadow: none; color: var(--white); font-size: 15.5px; }
.search-glass .search-bar label .dd-btn .icon { color: rgba(255,255,255,.75); }
.search-glass .dd-menu { top: calc(100% + 10px); left: 0; min-width: 100%; text-align: left; }
.search-glass .search-bar button[type=submit] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: auto; min-height: 54px; padding: 0 28px; border: 0; border-radius: 7px; background: var(--white); color: var(--cb-blue); font-family: var(--f-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; box-shadow: none; }
.search-glass .search-bar button[type=submit] .icon { width: 17px; height: 17px; }
.search-glass .search-bar button[type=submit]:hover { background: var(--icy); }

.h4-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 20px; font-size: 13.5px; }
.h4-chips a { color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.h4-chips a:hover { color: var(--white); border-color: var(--white); }

.h4-down { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); animation: h4bob 2.2s ease-in-out infinite; }
.h4-down .icon { width: 30px; height: 30px; }
@keyframes h4bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (prefers-reduced-motion: reduce) { .h4-slide.on img, .h4-down { animation: none; } }

@media (max-width: 960px) {
  .search-glass .search-bar { grid-template-columns: 1fr 1fr; gap: 4px; }
  .search-glass .search-bar label:nth-child(3)::before { display: none; }
  .search-glass .search-bar button[type=submit] { grid-column: auto; }
}
@media (max-width: 640px) {
  .hero4 { min-height: 92svh; }
  .h4-inner { padding-bottom: 72px; }
  .h4-title { font-size: clamp(28px, 8.6vw, 40px); max-width: none; }
  .h4-sub { font-size: 14.5px; margin-top: 12px; }
  .search-glass { margin-top: 26px; }
  .search-glass .search-bar { grid-template-columns: 1fr 1fr; }
  .search-glass .search-bar label { padding: 9px 12px !important; }
  .search-glass .search-bar label:nth-child(3) { display: none; }
  .search-glass .search-bar button[type=submit] { grid-column: 1 / -1; min-height: 48px; margin-top: 4px; }
  .search-glass .search-bar label .dd-btn { font-size: 14.5px; }
  .search-glass .search-bar label:nth-child(2) .dd-menu { left: auto; right: 0; }
  .h4-chips { gap: 6px 14px; font-size: 12.5px; }
  .h4-down { display: none; }
}

/* Hero v14b: day palace slide, smaller title, mobile slider for "What we do" */
.h4-day img { object-position: center 55%; }
.h4-title { font-size: clamp(34px, 4.4vw, 66px); }
@media (max-width: 640px) {
  .h4-title { font-size: clamp(25px, 7.4vw, 34px); }
  .ptile-slider.m-scroll { grid-auto-columns: 72%; }
  .ptile-slider .ptile { aspect-ratio: 1.15; }
  .ptile-slider .ptile-title { font-size: 16px; }
  .ptile-slider .ptile-sub { font-size: 12.5px; }
  .ptile-slider .ptile-count { display: inline-block; }
}
.h4-day::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(0,14,45,.55), rgba(0,14,45,.18) 100%); }
.h4-sub { text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.5); font-weight: 400; }
.h4-chips a { text-shadow: 0 1px 3px rgba(0,0,0,.6); }

/* Mobile hero: content sits low so the palace above stays visible */
@media (max-width: 640px) {
  .hero4 { align-items: flex-end; min-height: 100svh; }
  .h4-inner { padding-top: 0; padding-bottom: 28px; }
  .h4-media::after { background: linear-gradient(180deg, rgba(0,12,40,.35) 0%, rgba(0,12,40,0) 22%, rgba(0,12,40,0) 38%, rgba(0,12,40,.55) 62%, rgba(0,12,40,.85) 100%); }
  .h4-day::after { background: none; }
}

/* Mobile hero v3: photo on top (fully visible), content below on CB blue — no overlap */
@media (max-width: 640px) {
  .hero4 { display: block; min-height: 0; background: var(--cb-blue); }
  .h4-media { position: relative; inset: auto; height: 50svh; min-height: 330px; max-height: 460px; z-index: 0; }
  .h4-media::after { background: linear-gradient(180deg, rgba(0,12,40,.45) 0%, rgba(0,12,40,0) 30%, rgba(0,12,40,0) 75%, rgba(1,33,105,.9) 100%); }
  .h4-night { display: none; }
  .h4-slide img { object-position: center 60%; }
  .h4-inner { padding: 6px var(--gutter) 30px; background: var(--cb-blue); margin-top: -1px; }
  .h4-title { text-shadow: none; }
  .h4-sub { text-shadow: none; color: rgba(255,255,255,.82); }
  .search-glass { margin-top: 22px; }
  .search-glass .search-bar { background: rgba(255,255,255,.08); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: rgba(255,255,255,.22); box-shadow: none; }
  .h4-chips a { text-shadow: none; }
}

/* ---- "Let us guide you to…" cards (CB reference style) ------------------- */
.guide-head { text-align: center; margin-bottom: clamp(28px, 3vw, 44px); }
.guide-title { font-family: var(--f-label); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .06em; text-transform: uppercase; color: var(--smoky); margin: 0; }
.guide-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px auto 0; max-width: 520px; color: #DCE3EE; }
.guide-rule::before, .guide-rule::after { content: ""; flex: 1; height: 1px; background: #E3E8F0; }
.guide-rule svg { width: 30px; height: 30px; fill: currentColor; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gcard { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; background: var(--cb-blue); }
.gcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,33,105,0) 35%, rgba(1,33,105,.55) 65%, rgba(1,33,105,.94) 100%); transition: background .45s ease; }
.gcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 26px 30px; display: flex; flex-direction: column; }
.gcard-title { font-family: var(--f-label); font-size: clamp(17px, 1.55vw, 23px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.2; }
.gcard-text { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.92); border-top: 1px solid transparent; transition: max-height .45s ease, opacity .35s ease, margin .45s ease, padding .45s ease, border-color .45s ease; }
.gcard:hover img, .gcard:focus-visible img { transform: scale(1.06); }
.gcard:hover::before, .gcard:focus-visible::before { background: linear-gradient(180deg, rgba(1,33,105,.05) 20%, rgba(1,33,105,.65) 55%, rgba(1,33,105,.96) 100%); }
.gcard:hover .gcard-text, .gcard:focus-visible .gcard-text { max-height: 120px; opacity: 1; margin-top: 16px; padding-top: 16px; border-top-color: rgba(255,255,255,.75); }
.gcard:focus-visible { outline: 3px solid var(--celestial); outline-offset: 3px; }
@media (hover: none) { .gcard .gcard-text { max-height: 140px; opacity: 1; margin-top: 12px; padding-top: 12px; border-top-color: rgba(255,255,255,.6); } }
@media (max-width: 1140px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } .gcard { aspect-ratio: 4 / 3.6; } }
@media (max-width: 640px) {
  .guide-grid.m-scroll { grid-auto-columns: 78%; }
  .gcard { aspect-ratio: 3 / 3.9; }
  .gcard-body { padding: 20px 20px 22px; }
  .gcard-title { font-size: 17px; }
  .gcard-text { font-size: 13.5px; }
}

/* Guide section: fonts aligned with the rest of the site */
.guide-head .eyebrow { justify-content: center; }
.guide-head .h2 { margin: 0; }
.guide-rule { margin-top: 16px; max-width: 360px; }
.guide-rule svg { width: 22px; height: 22px; }
.gcard-title { font-family: var(--f-label); font-size: clamp(15px, 1.25vw, 18px); letter-spacing: .08em; line-height: 1.3; }
.gcard-text { font-family: var(--f-body); font-weight: 300; font-size: 14.5px; }
@media (max-width: 640px) { .gcard-title { font-size: 15px; } .gcard-text { font-size: 13.5px; } }

/* =========================================================================
   Affiliate Partner page
   ========================================================================= */
.sec-note { max-width: 34em; margin: 0; color: var(--body); }
.pp-hero { position: relative; isolation: isolate; color: var(--white); padding: clamp(60px, 8vw, 120px) 0 clamp(48px, 6vw, 90px); min-height: 560px; display: flex; align-items: flex-end; }
.pp-hero-media { position: absolute; inset: 0; z-index: -2; }
.pp-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.pp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,14,45,.55) 0%, rgba(0,14,45,.15) 70%), linear-gradient(0deg, rgba(0,14,45,.35), rgba(0,14,45,0) 50%); }
.pp-hero-card { max-width: 760px; padding: clamp(28px, 3.4vw, 48px); border-radius: 14px; background: rgba(1,22,70,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.pp-hero-card .crumbs, .pp-hero-card .crumbs a { color: rgba(255,255,255,.7); }
.pp-hero-card .eyebrow { color: var(--tide); }
.pp-hero-card .h1 { color: var(--white); font-size: clamp(32px, 3.6vw, 52px); }
.pp-hero-card .h1 .serif { color: var(--white); }
.pp-hero-card .lede { color: rgba(255,255,255,.88); margin-top: 16px; }
.pp-hero-foot { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.pp-motto { font-family: var(--f-serif); font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .12em; text-transform: uppercase; color: var(--white); }

.pp-ticker { background: var(--cb-blue); color: var(--white); overflow: hidden; white-space: nowrap; padding: 14px 0; }
.pp-track { display: inline-flex; gap: 0; animation: ppTick 38s linear infinite; }
.pp-track span { font-family: var(--f-display); font-size: 16px; padding: 0 26px; position: relative; }
.pp-track span::after { content: "•"; position: absolute; right: -4px; color: var(--tide); }
@keyframes ppTick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pp-track { animation: none; } }

.pb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pb-item { display: flex; gap: 18px; padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .3s, box-shadow .3s, transform .3s; }
.pb-item:hover { border-color: var(--mist, #C9D6E8); box-shadow: 0 18px 40px -26px rgba(1,33,105,.45); transform: translateY(-2px); }
.pb-n { font-family: var(--f-label); font-size: 13px; letter-spacing: .1em; color: var(--celestial); padding-top: 6px; flex: none; }
.pb-item h3 { font-size: 20px; margin: 0 0 8px; }
.pb-item p { margin: 0; font-size: 15px; }

.steps-4 { grid-template-columns: repeat(4, 1fr); }

.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pm-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; min-height: 440px; display: flex; align-items: flex-end; color: var(--white); }
.pm-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pm-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(1,33,105,0) 30%, rgba(1,33,105,.85) 100%); }
.pm-card:hover img { transform: scale(1.04); }
.pm-body { padding: clamp(24px, 3vw, 40px); max-width: 520px; }
.pm-body h3 { color: var(--white); font-size: clamp(24px, 2.2vw, 32px); margin: 0 0 10px; }
.pm-body p { color: rgba(255,255,255,.9); margin: 0 0 20px; }

@media (max-width: 1140px) { .pb-grid { grid-template-columns: 1fr 1fr; } .steps-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) { .pm-grid { grid-template-columns: 1fr; } .pm-card { min-height: 360px; } }
@media (max-width: 640px) {
  .pp-hero { min-height: 0; padding: 200px 0 0; }
  .pp-hero-card { border-radius: 12px 12px 0 0; margin: 0 calc(var(--gutter) * -1); background: var(--cb-blue); backdrop-filter: none; border: 0; }
  .pp-hero-foot { gap: 16px; }
  .pb-grid { grid-template-columns: 1fr; gap: 10px; }
  .pb-item { padding: 20px; }
  .pm-card { min-height: 320px; }
  .pp-track span { font-size: 14px; padding: 0 18px; }
}

/* Nav: one more link — keep it on one line */
@media (min-width: 1141px) and (max-width: 1320px) { .nav-link { padding: 0 9px; letter-spacing: .05em; } .nav-cta { margin-left: 8px; } }
@media (max-width: 640px) {
  .pp-hero { padding-top: 230px; background: var(--cb-blue); }
  .pp-hero-media { bottom: auto; height: 250px; }
  .pp-hero-media img { object-position: 70% 65%; }
  .pp-hero::after { bottom: auto; height: 250px; background: linear-gradient(180deg, rgba(0,14,45,.35), rgba(0,14,45,0) 40%); }
  .pp-motto { font-size: 16px; }
}
.nav-link { white-space: nowrap; }
@media (min-width: 1141px) and (max-width: 1320px) { .nav-link { padding: 0 7px; font-size: 12px; letter-spacing: .04em; } .brand img { height: 40px; } .site-header .wrap { gap: 16px; } }

/* ---- Affiliate hero v2 (desktop): full-bleed photo, content on a left fade, no box ---- */
@media (min-width: 641px) {
  .pp-hero { min-height: min(86vh, 760px); align-items: center; padding: calc(var(--header-h) * .4) 0 clamp(70px, 7vw, 110px); }
  .pp-hero-media img { object-position: 75% 45%; }
  .pp-hero::after { background: linear-gradient(90deg, rgba(1,22,70,.94) 0%, rgba(1,22,70,.82) 34%, rgba(1,22,70,.35) 62%, rgba(1,22,70,.05) 85%), linear-gradient(0deg, rgba(1,22,70,.45), rgba(1,22,70,0) 35%); }
  .pp-hero-card { max-width: 640px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .pp-hero-card .h1 { font-size: clamp(36px, 4vw, 58px); line-height: 1.04; }
  .pp-hero-card .h1 .serif { display: block; }
  .pp-hero-card .lede { max-width: 34em; }
  .pp-hero-foot { border-top: 0; padding-top: 0; margin-top: 30px; }
  .pp-motto { display: inline-flex; align-items: center; gap: 14px; font-size: 18px; color: rgba(255,255,255,.9); }
  .pp-motto::before { content: ""; width: 36px; height: 1px; background: rgba(255,255,255,.6); }
  .pp-hero .pp-stats { display: flex; gap: clamp(24px, 3vw, 48px); margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); }
}
.pp-stats { display: none; }
.pp-stats div { display: grid; gap: 4px; }
.pp-stats strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); color: var(--white); line-height: 1; }
.pp-stats span { font-size: 13px; color: rgba(255,255,255,.72); }

/* Bracket-corner button (CB reference) */
.btn-bracket { position: relative; }
.btn-bracket::before, .btn-bracket::after { content: ""; position: absolute; width: 14px; height: 14px; border-color: rgba(255,255,255,.85); border-style: solid; pointer-events: none; transition: transform .3s var(--ease); }
.btn-bracket::before { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.btn-bracket::after { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }
.btn-bracket:hover::before { transform: translate(-3px, -3px); }
.btn-bracket:hover::after { transform: translate(3px, 3px); }

/* Homepage closing CTA band (above footer) */
.cta-final { position: relative; isolation: isolate; overflow: hidden; color: var(--white); text-align: center; padding: clamp(72px, 9vw, 130px) 0; background: var(--cb-blue); }
.cta-final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; mix-blend-mode: luminosity; }
.cta-final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 40%, rgba(1,33,105,.55), rgba(1,22,70,.92) 75%); }
.cta-final .h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 52px); max-width: 18ch; margin: 0 auto; }
.cta-final .h2 .serif { display: block; color: var(--white); }
.cta-final p { max-width: 40em; margin: 18px auto 0; color: rgba(255,255,255,.86); }
.cta-final .btns { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 36px; }
.bg-icy .assure { color: var(--body); }
@media (max-width: 640px) { .cta-final .btns { gap: 22px; } }
.cta-final img { opacity: .2; }
.cta-final .h2 { max-width: 24ch; }
.cta-final p { text-shadow: 0 1px 10px rgba(0,10,40,.6); }

/* Affiliate hero v3: text left, application form right */
.pp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.pp-form { scroll-margin-top: calc(var(--header-h) + 20px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); }
.pp-hero-foot { margin-top: 26px; }
@media (min-width: 641px) {
  .pp-hero { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(56px, 6vw, 90px); }
  .pp-hero::after { background: linear-gradient(90deg, rgba(1,22,70,.94) 0%, rgba(1,22,70,.85) 45%, rgba(1,22,70,.55) 70%, rgba(1,22,70,.35) 100%), linear-gradient(0deg, rgba(1,22,70,.45), rgba(1,22,70,0) 35%); }
  .pp-hero .pp-stats { margin-top: 32px; }
}
@media (max-width: 960px) { .pp-hero-grid { grid-template-columns: 1fr; } .pp-form { max-width: 560px; } }
@media (max-width: 640px) {
  .pp-hero { padding-bottom: 0; }
  .pp-hero-grid { gap: 0; }
  .pp-form { margin: 0 calc(var(--gutter) * -1); border-radius: 0; box-shadow: none; max-width: none; }
}

/* =========================================================================
   v15 — White header with blue logo (CB brand: blue on white).
   Home page only: transparent over the hero photo with the white logo,
   turning white with the blue logo once scrolled or when the menu opens.
   ========================================================================= */
.brand { position: relative; }
.brand img.logo-on-dark { display: none; }
.site-header { background: var(--white); border-bottom: 1px solid rgba(1,33,105,.10); }
.site-header.scrolled { box-shadow: 0 10px 28px -20px rgba(1,33,105,.45); }
.nav-link { color: var(--cb-blue); }
.nav-link:hover, .nav-link.active { color: var(--cb-blue); }
.nav-link::after { background: var(--cb-blue); }
.nav-cta.btn-primary { color: var(--white); }
.menu-toggle { background: transparent; border-color: rgba(1,33,105,.25); }
.menu-toggle span { background: var(--cb-blue); }

body[data-page="home"] .site-header { border-bottom-color: transparent; }
body[data-page="home"] .site-header.scrolled,
body[data-page="home"].menu-open .site-header { background: var(--white); border-bottom-color: rgba(1,33,105,.10); }
body[data-page="home"] .site-header:not(.scrolled) .brand img.logo-on-light { display: none; }
body[data-page="home"] .site-header:not(.scrolled) .brand img.logo-on-dark { display: block; }
body[data-page="home"] .site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,.95); }
body[data-page="home"] .site-header:not(.scrolled) .nav-link::after { background: var(--white); }
body[data-page="home"] .site-header:not(.scrolled) .nav-cta { background: var(--white); border-color: var(--white); color: var(--cb-blue); }
body[data-page="home"] .site-header:not(.scrolled) .menu-toggle { border-color: rgba(255,255,255,.4); }
body[data-page="home"] .site-header:not(.scrolled) .menu-toggle span { background: var(--white); }
/* menu open at the top of the home page: solid white header, blue logo */
body[data-page="home"].menu-open .site-header .brand img.logo-on-light { display: block; }
body[data-page="home"].menu-open .site-header .brand img.logo-on-dark { display: none; }
body[data-page="home"].menu-open .site-header .menu-toggle { border-color: rgba(1,33,105,.25); }
body[data-page="home"].menu-open .site-header .menu-toggle span { background: var(--cb-blue); }
body[data-page="home"].menu-open .site-header::before { opacity: 0; }

/* =========================================================================
   v15 — Hero content plan: "Guiding you home" · Mysore | Kodagu ·
   Discover exceptional properties · property type + search only.
   Carousel: palace / estate / backwaters / palace, alternating zoom in & out.
   ========================================================================= */
.h4-places { margin: 18px 0 0; font-family: var(--f-label); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .28em; text-transform: uppercase; color: var(--white); text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.5); }
.h4-places span { opacity: .6; margin: 0 .5em; }
.h4-sub { margin-top: 8px; }
.h4-title { max-width: none; }
.search-one { max-width: 560px; }
.search-one .search-bar { grid-template-columns: 1fr auto; }
.h4-slide:nth-child(even).on img { animation-name: h4zoomout; }
@keyframes h4zoomout { from { transform: scale(1.14) translate3d(-1.2%, -1%, 0); } to { transform: scale(1.02) translate3d(0,0,0); } }
.h4-estate img, .h4-water img { object-position: center 50%; }

@media (max-width: 960px) {
  .search-one .search-bar { grid-template-columns: 1fr auto; }
}

/* =========================================================================
   v16 — refined hero + smaller logo
   ========================================================================= */
/* Header logo: lighter footprint */
.brand img { height: 36px; }
@media (min-width: 1141px) and (max-width: 1320px) { .brand img { height: 32px; } }
@media (max-width: 1140px) { .brand img { height: 32px; } }
@media (max-width: 640px) { .brand img { height: 28px; } }

/* Desktop hero: title in the upper third, details + search grouped low */
.hero4 { align-items: stretch; }
.h4-inner { min-height: 100vh; min-height: 100svh; justify-content: flex-start; padding-top: calc(var(--header-h) + 15vh); padding-bottom: 118px; }
.h4-title { font-family: var(--f-display); font-weight: 300; font-size: clamp(40px, 5vw, 78px); letter-spacing: -.015em; line-height: 1.02; }
.h4-places { margin-top: auto; }
.h4-sub { font-family: var(--f-body); font-weight: 300; font-size: clamp(15px, 1.15vw, 17.5px); letter-spacing: .02em; margin-top: 10px; }
.search-one { margin-top: 26px; }
@media (max-height: 700px) and (min-width: 641px) { .h4-inner { padding-top: calc(var(--header-h) + 9vh); padding-bottom: 96px; } }

/* Mobile hero: photo first, a Midnight shade, then the content */
@media (max-width: 640px) {
  body[data-page="home"] .site-header,
  body[data-page="home"] .site-header:not(.scrolled) { background: var(--white); border-bottom-color: rgba(1,33,105,.10); }
  body[data-page="home"] .site-header::before { display: none; }
  body[data-page="home"] .site-header:not(.scrolled) .brand img.logo-on-light { display: block; }
  body[data-page="home"] .site-header:not(.scrolled) .brand img.logo-on-dark { display: none; }
  body[data-page="home"] .site-header:not(.scrolled) .menu-toggle { border-color: rgba(1,33,105,.25); }
  body[data-page="home"] .site-header:not(.scrolled) .menu-toggle span { background: var(--cb-blue); }

  .hero4 { display: block; min-height: 0; padding-top: var(--header-h); background: var(--midnight); }
  .h4-media { position: relative; inset: auto; height: 52svh; min-height: 320px; max-height: 470px; z-index: 0; overflow: hidden; }
  .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,0) 0%, rgba(10,23,48,0) 42%, rgba(10,23,48,.6) 74%, var(--midnight) 99%); }
  .h4-day::after { background: none; }
  .h4-inner { min-height: 0; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter) 34px; margin-top: -64px; position: relative; z-index: 2; background: none; }
  .h4-title { font-size: clamp(32px, 9.4vw, 40px); text-shadow: 0 2px 18px rgba(10,23,48,.6); color: var(--white); }
  .h4-places { margin-top: 16px; font-size: 13px; letter-spacing: .3em; color: var(--white); text-shadow: none; }
  .h4-places span { color: var(--tide); opacity: .7; }
  .h4-sub { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,.78); text-shadow: none; }
  .search-one { width: 100%; max-width: none; margin-top: 22px; }
  .search-one .search-bar { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(190,202,215,.25); border-radius: 10px; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .search-one .search-bar label { padding: 9px 12px !important; }
  .search-one .search-bar button[type=submit] { grid-column: auto; min-height: 48px; margin: 0; background: var(--white); color: var(--cb-blue); }
  .h4-down { display: none; }
}

/* =========================================================================
   v17 — hero polish: regular-weight title, starred place line,
   serif accent, premium white search bar; solid shade edge on mobile
   ========================================================================= */
.h4-title { font-weight: 400; letter-spacing: -.02em; font-size: clamp(44px, 5.2vw, 82px); }
.h4-inner { padding-top: calc(var(--header-h) + 9vh); padding-bottom: 104px; }
.h4-lower { margin-top: auto; display: flex; flex-direction: column; align-items: center; width: 100%; }
.h4-lower .h4-places { margin: 0; }

/* MYSORE ★ KODAGU between fine rules */
.h4-places { display: inline-flex; align-items: center; gap: 16px; font-size: clamp(12.5px, .95vw, 14.5px); letter-spacing: .34em; }
.h4-places span { opacity: 1; margin: 0; color: var(--white); }
.h4-places::before, .h4-places::after { content: ""; width: clamp(36px, 4vw, 64px); height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.75)); }
.h4-places::after { transform: scaleX(-1); }
.h4-star { width: 13px; height: 13px; fill: var(--tide); flex: none; margin-right: .34em; }

/* Discover exceptional properties */
.h4-sub { margin-top: 14px; font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 30px); letter-spacing: -.005em; color: var(--white); }
.h4-sub .serif { font-size: 1.12em; color: var(--tide); padding: 0 .04em; }

/* Premium search bar */
.search-glass.search-lux { max-width: 640px; margin-top: 28px; }
.search-glass.search-lux .search-bar { grid-template-columns: auto 1fr auto; align-items: center; padding: 8px; background: var(--white); border: 0; border-radius: 8px; box-shadow: 0 24px 60px -24px rgba(5,14,40,.75); backdrop-filter: none; -webkit-backdrop-filter: none; }
.search-lux .sl-icon { width: 48px; height: 48px; margin-left: 4px; display: grid; place-items: center; border-radius: 50%; background: var(--icy); color: var(--cb-blue); }
.search-lux .sl-icon .icon { width: 20px; height: 20px; }
.search-glass.search-lux .search-bar label { padding: 8px 16px !important; }
.search-glass.search-lux .search-bar label::before { display: none; }
.search-glass.search-lux .search-bar label:hover, .search-glass.search-lux .search-bar label.dd-open { background: var(--icy) !important; }
.search-glass.search-lux .search-bar .lbl { color: var(--smoky); }
.search-glass.search-lux .search-bar label .dd-btn { color: var(--cb-blue); font-size: 17px; font-family: var(--f-display); }
.search-glass.search-lux .search-bar label .dd-btn .icon { color: var(--cb-blue); }
.search-glass.search-lux .search-bar button[type=submit] { min-height: 58px; padding: 0 30px; gap: 12px; border-radius: 6px; background: var(--cb-blue); color: var(--white); }
.search-glass.search-lux .search-bar button[type=submit]:hover { background: var(--midnight); }
.search-glass.search-lux .search-bar button[type=submit] .icon { transition: transform .25s var(--ease); }
.search-glass.search-lux .search-bar button[type=submit]:hover .icon { transform: translateX(3px); }
@media (max-height: 700px) and (min-width: 641px) { .h4-inner { padding-top: calc(var(--header-h) + 6vh); padding-bottom: 90px; } }

@media (max-width: 640px) {
  /* shade reaches solid Midnight before the photo's edge — no stray line */
  .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,0) 0%, rgba(10,23,48,0) 40%, rgba(10,23,48,.65) 70%, var(--midnight) 90%, var(--midnight) 100%); }
  .h4-media { height: 440px; max-height: 56svh; min-height: 340px; }
  .h4-inner { padding-top: 0; padding-bottom: 36px; margin-top: -70px; }
  .h4-title { font-size: clamp(34px, 10vw, 42px); }
  .h4-lower { margin-top: 18px; }
  .h4-places { gap: 12px; font-size: 12px; letter-spacing: .3em; }
  .h4-places::before, .h4-places::after { width: 28px; }
  .h4-star { width: 11px; height: 11px; }
  .h4-sub { margin-top: 10px; font-size: 21px; color: var(--white); }
  .search-glass.search-lux { margin-top: 22px; }
  .search-glass.search-lux .search-bar { grid-template-columns: auto 1fr; gap: 6px; padding: 6px; border-radius: 8px; background: var(--white); border: 0; }
  .search-lux .sl-icon { width: 42px; height: 42px; margin-left: 2px; }
  .search-glass.search-lux .search-bar label { padding: 8px 10px !important; border: 0 !important; }
  .search-glass.search-lux .search-bar button[type=submit] { grid-column: 1 / -1; min-height: 50px; background: var(--cb-blue); color: var(--white); }
}


/* =========================================================================
   v18 — brand type audit, clearer photos (light black layer), search depth
   Brand type: Bauziet headlines · Geometos uppercase subheads & stats ·
   Roboto body · Adobe Garamond (EB Garamond) italic accents only
   ========================================================================= */
/* Stats & numbers → Geometos */
.badge-card .num, .stat .num, .pp-stats strong { font-family: var(--f-label); letter-spacing: .04em; }
.stat .num { font-size: clamp(28px, 2.8vw, 40px); }
.badge-card .num { font-size: 32px; }
.pp-stats strong { font-size: clamp(20px, 1.8vw, 26px); }
.region .num, .step .n, .next-steps .n, .pr-num { font-family: var(--f-label); font-style: normal; letter-spacing: .08em; }
.step .n { font-size: 16px; }
.region .num, .pr-num { font-size: 13px; }

/* Hero type: Bauziet title, Geometos place line, Bauziet sub + Garamond accent */
.h4-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 4.8vw, 74px); letter-spacing: -.01em; line-height: 1.04; }
.h4-sub { font-family: var(--f-display); font-weight: 400; }

/* Photos: light black layer only — keeps the images clear */
.h4-media::after { background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.06) 22%, rgba(0,0,0,.04) 50%, rgba(0,0,0,.34) 100%); }
.h4-day::after { background: radial-gradient(ellipse 70% 55% at 50% 30%, rgba(0,0,0,.14), rgba(0,0,0,0) 70%); }
body[data-page="home"] .site-header::before { background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,0)); }
.h4-title { text-shadow: 0 2px 24px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.25); }
.h4-places, .h4-sub { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 16px rgba(0,0,0,.35); }
.h4-tea img { object-position: center 70%; }
.h4-estate img { object-position: 35% 50%; }

/* Search: glass frame around a white bar — layered depth, even spacing */
.search-glass.search-lux { max-width: 660px; margin-top: 30px; padding: 7px; border-radius: 14px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.38);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 34px 70px -26px rgba(0,0,0,.6), 0 10px 24px -14px rgba(0,0,0,.35); }
.search-glass.search-lux .search-bar { grid-template-columns: auto 1fr auto; gap: 0; padding: 9px; border-radius: 9px; background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(1,33,105,.06), 0 1px 2px rgba(0,0,0,.06); }
.search-lux .sl-icon { width: 50px; height: 50px; margin: 0 6px 0 4px; background: var(--icy); box-shadow: inset 0 0 0 1px rgba(1,33,105,.08); }
.search-glass.search-lux .search-bar label { padding: 9px 22px 9px 18px !important; margin-right: 10px; border-left: 1px solid var(--line) !important; border-radius: 0 6px 6px 0; }
.search-glass.search-lux .search-bar .lbl { font-size: 10px; letter-spacing: .2em; }
.search-glass.search-lux .search-bar label .dd-btn { padding-top: 4px; font-size: 17.5px; }
.search-glass.search-lux .search-bar button[type=submit] { min-height: 60px; padding: 0 34px; border-radius: 7px; font-size: 11.5px; letter-spacing: .2em;
  box-shadow: 0 10px 22px -10px rgba(1,33,105,.75), inset 0 1px 0 rgba(255,255,255,.12); transition: background .25s, box-shadow .25s, transform .25s; }
.search-glass.search-lux .search-bar button[type=submit]:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(1,33,105,.85); }
.search-glass.search-lux:focus-within { border-color: rgba(255,255,255,.6); }

@media (max-width: 640px) {
  /* clear photo, light black layer; only the bottom edge melts into the content colour */
  .h4-media::after { background: linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 58%, rgba(10,23,48,.7) 82%, var(--midnight) 94%, var(--midnight) 100%); }
  .h4-day::after { background: none; }
  .h4-title { font-size: clamp(32px, 9.4vw, 40px); }
  .search-glass.search-lux { padding: 6px; border-radius: 13px; margin-top: 24px; background: rgba(255,255,255,.10); border-color: rgba(190,202,215,.3); }
  .search-glass.search-lux .search-bar { grid-template-columns: auto 1fr; gap: 8px; padding: 8px; }
  .search-lux .sl-icon { width: 44px; height: 44px; margin: 0 2px 0 2px; }
  .search-glass.search-lux .search-bar label { padding: 7px 10px 7px 14px !important; margin-right: 0; }
  .search-glass.search-lux .search-bar button[type=submit] { grid-column: 1 / -1; min-height: 52px; }
}
/* v18b — legibility glow behind the lower text group only; calmer title size */
.h4-title { font-size: clamp(40px, 4.2vw, 64px); letter-spacing: 0; }
.h4-lower { position: relative; }
.h4-lower::before { content: ""; position: absolute; left: 50%; top: -40px; width: min(900px, 110%); height: calc(100% + 80px); transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,0,0,.42), rgba(0,0,0,.18) 55%, rgba(0,0,0,0) 75%); }
.h4-places { font-size: clamp(13px, 1vw, 15px); }
.h4-places::before, .h4-places::after { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9)); }
@media (max-width: 640px) { .h4-lower::before { display: none; } }
.h4-lower::before { background: radial-gradient(ellipse 50% 50% at 50% 46%, rgba(0,0,0,.5), rgba(0,0,0,.24) 55%, rgba(0,0,0,0) 78%); }
.h4-places span { text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 14px rgba(0,0,0,.6); }
@media (max-width: 640px) { .h4-title { font-size: clamp(28px, 8.6vw, 36px); white-space: nowrap; } }

/* v19 — palace slide is bright/busy: a slightly deeper black layer on that photo only,
   heavier toward the lower half where "Mysore ★ Kodagu" and the search sit */
@media (min-width: 641px) {
  .h4-day::after { background:
      linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.14) 40%, rgba(0,0,0,.42) 68%, rgba(0,0,0,.52) 100%); }
}
@media (min-width: 641px) {
  .h4-day::after { background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.16) 38%, rgba(0,0,0,.50) 62%, rgba(0,0,0,.58) 100%); }
  /* Mysore ★ Kodagu in a frosted pill — readable on every photo */
  .h4-places { padding: 10px 24px; gap: 14px; border-radius: 999px; background: rgba(0,0,0,.30); border: 1px solid rgba(255,255,255,.30);
    backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%); box-shadow: 0 12px 30px -16px rgba(0,0,0,.6); }
  .h4-places::before, .h4-places::after { width: 22px; }
  .h4-sub { margin-top: 18px; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 2px 22px rgba(0,0,0,.55); }
}

/* =========================================================================
   v20 — Search: one clean white bar (CB style) — field left, button flush right.
   No frame, no icon bubble; a single soft shadow for depth.
   ========================================================================= */
.search-glass.search-lux { max-width: 620px; margin-top: 30px; padding: 0; border: 0; border-radius: 4px; background: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 22px 50px -18px rgba(0,0,0,.55), 0 4px 14px -6px rgba(0,0,0,.25); }
.search-glass.search-lux .search-bar { display: grid; grid-template-columns: 1fr auto; align-items: stretch; gap: 0; padding: 0; border-radius: 4px; overflow: visible; background: var(--white); box-shadow: none; }
.search-glass.search-lux .search-bar label { margin: 0; padding: 14px 26px !important; border: 0 !important; border-radius: 4px 0 0 4px; text-align: left; }
.search-glass.search-lux .search-bar label:hover, .search-glass.search-lux .search-bar label.dd-open { background: var(--icy) !important; }
.search-glass.search-lux .search-bar .lbl { font-size: 10px; letter-spacing: .2em; color: var(--smoky); }
.search-glass.search-lux .search-bar label .dd-btn { padding-top: 5px; font-family: var(--f-display); font-size: 18px; color: var(--cb-blue); }
.search-glass.search-lux .search-bar button[type=submit] { min-height: 70px; margin: 0; padding: 0 38px; gap: 12px; border-radius: 0 4px 4px 0; box-shadow: none;
  background: var(--cb-blue); color: var(--white); font-size: 12px; letter-spacing: .2em; transform: none; }
.search-glass.search-lux .search-bar button[type=submit]:hover { background: var(--midnight); transform: none; box-shadow: none; }
.search-glass.search-lux .dd-menu { top: calc(100% + 6px); left: 0; min-width: 100%; }
@media (max-width: 640px) {
  .search-glass.search-lux { margin-top: 22px; box-shadow: 0 16px 36px -18px rgba(0,0,0,.7); background: none; border: 0; padding: 0; }
  .search-glass.search-lux .search-bar { grid-template-columns: 1fr; padding: 0; }
  .search-glass.search-lux .search-bar label { padding: 12px 18px !important; border-radius: 4px 4px 0 0; }
  .search-glass.search-lux .search-bar button[type=submit] { grid-column: auto; min-height: 54px; border-radius: 0 0 4px 4px; }
}

/* =========================================================================
   v20 — Our presence: Mysore (wide, with its local areas) + Kodagu,
   KRS – Kabini – Bandipur, Ooty – Wayanad
   ========================================================================= */
.presence-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 12px; }
.presence-grid .ptile { aspect-ratio: auto; height: clamp(320px, 28vw, 420px); }
.presence-grid .ptile::before { background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(5,12,30,.62)); }
.ptile-hub .ptile-link { position: absolute; inset: 0; z-index: 1; }
.ptile-hub .ptile-body { pointer-events: none; z-index: 2; }
.ptile-hub:hover img { transform: scale(1.05); }
.ptile-hub .ptile-title { font-size: clamp(24px, 2.2vw, 32px); }
.ptile-hub .ptile-areas { pointer-events: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; max-width: 520px; }
.ptile-hub .ptile-areas a { color: var(--white); font-size: 13px; line-height: 1; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; transition: background .2s, color .2s; }
.ptile-hub .ptile-areas a:hover { background: var(--white); color: var(--cb-blue); }
@media (max-width: 1140px) {
  .presence-grid { grid-template-columns: repeat(3, 1fr); }
  .presence-grid .ptile-hub { grid-column: 1 / -1; height: 340px; }
  .presence-grid .ptile { height: 260px; }
}
@media (max-width: 640px) {
  .presence-grid { grid-template-columns: 1fr; gap: 10px; }
  .presence-grid .ptile, .presence-grid .ptile-hub { height: 190px; }
  .presence-grid .ptile-hub { height: 300px; }
  .presence-grid .ptile-title { font-size: 18px; }
  .presence-grid .ptile-sub { font-size: 13px; }
  .ptile-hub .ptile-areas { gap: 6px; }
  .ptile-hub .ptile-areas a { font-size: 12px; padding: 7px 10px; }
}
/* hero search sits low in the hero: open the list upward so it is never cut off */
.search-glass.search-lux .dd-menu { top: auto; bottom: calc(100% + 8px); box-shadow: 0 -18px 40px -16px rgba(0,0,0,.45); }

/* v21 — "Coldwell Banker Mysore" kicker inside the hero H1 (visible keyword line) */
.h4-kicker { display: block; margin: 0 auto 14px; font-family: var(--f-label); font-weight: 400; font-size: clamp(11.5px, .9vw, 13.5px); letter-spacing: .32em; text-transform: uppercase; line-height: 1.4; color: rgba(255,255,255,.92); text-shadow: 0 1px 3px rgba(0,0,0,.5); }
@media (max-width: 640px) { .h4-kicker { font-size: 11px; letter-spacing: .26em; margin-bottom: 8px; white-space: normal; } }

/* v22 — popup: client's Kodagu estate photo; keep a slim photo band on phones */
.lp-media img { object-position: 40% center; }
@media (max-width: 640px) {
  .lp-media { display: flex; min-height: 132px; }
  .lp-media-cap { padding: 16px 20px; }
  .lp-media-cap p { font-size: 15px; }
  .lp-card { max-height: 94vh; }
}

/* v22 — About: Our team (5 portrait frames; drop an <img> into .team-photo to fill) */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.team-card { text-align: center; }
.team-photo { position: relative; margin: 0 0 16px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: linear-gradient(160deg, var(--icy), var(--glacier)); box-shadow: inset 0 0 0 1px rgba(1,33,105,.08); }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo:has(img) .team-ph { display: none; }
.team-ph { position: absolute; inset: 0; display: grid; place-items: end center; }
.team-ph svg { width: 70%; fill: none; stroke: var(--mist); stroke-width: 1.6; margin-bottom: -2px; }
.team-ph svg circle, .team-ph svg path { fill: rgba(190,202,215,.35); }
.team-name { font-family: var(--f-display); font-size: 18px; color: var(--midnight); margin: 0 0 4px; }
.team-role { margin: 0; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoky); line-height: 1.5; }
@media (max-width: 1140px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-card:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .team-name { font-size: 16px; }
  .team-role { font-size: 9.5px; letter-spacing: .12em; }
}

/* v23 — shorter main menu: Home · About ▾ · Properties ▾ (incl. NRI) · Insights · Contact */
.mega-panel { width: 820px; }
.mega-panel .mega-tile-all { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px; border-radius: var(--radius); background: var(--cb-blue); color: var(--white); aspect-ratio: auto; min-height: 100%; }
.mega-panel .mega-tile-all span { color: var(--white); font-family: var(--f-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.mega-panel .mega-tile-all .icon { width: 20px; height: 20px; }
.mega-panel .mega-tile-all:hover { background: var(--midnight); }
.mega-panel .mega-tile-all:hover span { color: var(--white); }
.drop .drop-panel { position: absolute; top: 100%; left: 50%; min-width: 280px; transform: translate(-50%, 8px); background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -24px rgba(10,23,48,.35); padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; z-index: 5; }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-panel a { display: block; padding: 12px 14px; border-radius: var(--radius); }
.drop-panel a:hover { background: var(--icy); }
.drop-panel strong { display: block; font-family: var(--f-display); font-weight: 400; font-size: 15.5px; color: var(--midnight); }
.drop-panel small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--smoky); }
.nav-link { padding: 0 15px; }
.nav-link::after { left: 15px; right: 15px; }

/* v23 — property map is now Google Maps (iframe from the admin's map link) */
iframe.loc-map { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; }
@media (max-width: 960px) { iframe.loc-map { min-height: 320px; } }
/* custom dropdowns: the real <select> only stores the value — it can never open its own list */
.dd-native { display: none !important; }

/* =========================================================================
   v24 — roomier side margins sitewide + highlighted NRI Services in the menu
   ========================================================================= */
:root { --gutter: clamp(24px, 6vw, 96px); }
@media (max-width: 640px) { :root { --gutter: 22px; } }

/* NRI Services: outlined pill with a globe — stands out without shouting */
.nav-link.nav-nri { gap: 7px; margin: 0 6px; padding: 0 14px; height: 36px; align-self: center; border-radius: 999px; border: 1px solid rgba(1,33,105,.28); background: var(--icy); color: var(--cb-blue); }
.nav-link.nav-nri .icon { width: 15px; height: 15px; color: var(--celestial); }
.nav-link.nav-nri::after { display: none; }
.nav-link.nav-nri:hover, .nav-link.nav-nri.active { background: var(--cb-blue); border-color: var(--cb-blue); color: var(--white); }
.nav-link.nav-nri:hover .icon, .nav-link.nav-nri.active .icon { color: var(--white); }
body[data-page="home"] .site-header:not(.scrolled) .nav-link.nav-nri { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); color: var(--white); backdrop-filter: blur(6px); }
body[data-page="home"] .site-header:not(.scrolled) .nav-link.nav-nri .icon { color: var(--white); }
body[data-page="home"] .site-header:not(.scrolled) .nav-link.nav-nri:hover { background: var(--white); color: var(--cb-blue); }
body[data-page="home"] .site-header:not(.scrolled) .nav-link.nav-nri:hover .icon { color: var(--cb-blue); }
@media (max-width: 640px) { body[data-page="home"] .site-header .nav-link.nav-nri { background: var(--icy); } }

/* keep 7 items + Enquire on one line on smaller laptops */
.nav-link { padding: 0 13px; }
.nav-link::after { left: 13px; right: 13px; }
@media (min-width: 1141px) and (max-width: 1360px) {
  .nav-link { padding: 0 9px; font-size: 12px; letter-spacing: .05em; }
  .nav-link::after { left: 9px; right: 9px; }
  .nav-link.nav-nri { padding: 0 11px; margin: 0 3px; }
  .site-header .wrap { gap: 14px; }
  .site-header .wrap { padding-left: clamp(20px, 3vw, 40px); padding-right: clamp(20px, 3vw, 40px); }
}

/* mobile menu: NRI as a highlighted card */
.mobile-nav a.mn-nri { display: flex; align-items: center; gap: 14px; margin: 10px 0 4px; padding: 14px 16px; border: 1px solid rgba(1,33,105,.18); border-radius: 8px; background: var(--icy); color: var(--cb-blue); }
.mobile-nav a.mn-nri .icon { width: 26px; height: 26px; color: var(--celestial); flex: none; }
.mobile-nav a.mn-nri small { display: block; margin-top: 3px; font-family: var(--f-body); font-size: 13px; color: var(--smoky); }

/* v25 — NRI Services highlighted inside the Properties menu (not in the top bar) */
.mega-panel a.mega-nri { position: relative; padding: 8px 8px 10px; margin: -8px -8px -10px; border-radius: 6px; background: var(--icy); box-shadow: inset 0 0 0 1px rgba(1,33,105,.16); }
.mega-panel a.mega-nri figure { position: relative; }
.mega-panel a.mega-nri figure em { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: var(--cb-blue); color: var(--white);
  font-style: normal; font-family: var(--f-label); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 6px 14px -6px rgba(1,33,105,.6); }
.mega-panel a.mega-nri figure em .icon { width: 12px; height: 12px; }
.mega-panel a.mega-nri > span { color: var(--cb-blue); font-weight: 500; }
.mega-panel a.mega-nri small { display: block; margin-top: 2px; font-size: 12px; color: var(--smoky); line-height: 1.35; }
.mega-panel a.mega-nri:hover { box-shadow: inset 0 0 0 1px var(--cb-blue); }

/* mobile: highlighted row inside the Properties list */
.mobile-nav a.sub.mn-nri { margin: 8px 0 6px; padding: 12px 14px; font-size: 15.5px; }
.mobile-nav a.mn-nri span { font-family: var(--f-display); color: var(--cb-blue); }
.mobile-nav a.mn-nri .icon { width: 22px; height: 22px; }

/* v26 — About block photo: portrait Chamundeshwari Temple */
.about-cb-photo { aspect-ratio: 4 / 5; max-height: 640px; width: 100%; justify-self: end; }
.about-cb-photo img { object-position: 50% 40%; }
@media (max-width: 960px) { .about-cb-photo { aspect-ratio: 4 / 3.6; max-height: none; } .about-cb-photo img { object-position: 50% 45%; } }

/* =========================================================================
   v27 — "Coldwell Banker in Mysore": image left with offset frame + 1906 badge,
   short copy right. Mobile: wide photo banner, then two short lines.
   ========================================================================= */
.about-cb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.about-cb-media { position: relative; margin: 0 0 24px 24px; aspect-ratio: 4 / 4.4; max-height: 560px; }
.about-cb-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(10,23,48,.45); }
.about-cb-frame { position: absolute; z-index: 0; inset: 24px 24px -24px -24px; border: 1px solid rgba(1,33,105,.35); border-radius: 4px; }
.about-cb-badge { position: absolute; z-index: 2; right: -28px; bottom: 36px; display: flex; flex-direction: column-reverse; gap: 6px; padding: 18px 22px; background: var(--cb-blue); color: var(--white); border-radius: 4px; box-shadow: 0 18px 40px -18px rgba(1,33,105,.8); }
.about-cb-badge strong { font-family: var(--f-label); font-weight: 400; font-size: 30px; letter-spacing: .06em; line-height: 1; }
.about-cb-badge span { font-family: var(--f-label); font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--tide); line-height: 1.5; }
.about-cb-copy { max-width: 520px; }
.about-cb-copy .h2 { margin-bottom: 18px; }
.about-cb-copy .lede { color: var(--midnight); margin-bottom: 12px; }
.about-cb-copy p { margin-bottom: 26px; }
@media (max-width: 960px) {
  .about-cb-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-cb-media { aspect-ratio: 16 / 10; max-height: none; margin: 0 16px 16px 0; }
  .about-cb-frame { inset: 16px -16px -16px 16px; }
  .about-cb-badge { right: 16px; bottom: -14px; }
  .about-cb-copy { max-width: none; }
}
@media (max-width: 640px) {
  .about-cb.section { padding: 36px 0 40px; }
  .about-cb-grid { gap: 30px; }
  .about-cb-media { aspect-ratio: 16 / 11; margin: 0 10px 10px 0; }
  .about-cb-media img { object-position: 50% 42%; }
  .about-cb-frame { inset: 10px -10px -10px 10px; }
  .about-cb-badge { right: 12px; bottom: -12px; padding: 10px 14px; gap: 3px; }
  .about-cb-badge strong { font-size: 20px; }
  .about-cb-badge span { font-size: 8.5px; letter-spacing: .16em; }
  .about-cb-badge span br { display: none; }
  .about-cb-copy .h2 { margin-bottom: 12px; }
  .about-cb-copy .lede { font-size: 16px; line-height: 1.55; }
  .about-cb-copy p { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
  .about-cb-copy .btn { width: 100%; justify-content: center; }
}

/* narrower side margins on phones */
@media (max-width: 640px) { :root { --gutter: 16px; } }
.about-cb-badge strong { color: var(--white); }

/* v28 — Responsive hardening (all devices) */
html, body { overflow-x: clip; }
.listing-shell > *, .about-cb-grid > *, .pd-layout > * { min-width: 0; }
@media (max-width: 960px) { .listing-shell, .about-cb-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) {
  .toolbar .select { min-width: 0; }
  .about-cb .btn { white-space: normal; text-align: center; justify-content: center; }
}
/* Property facts bar: tablet landscape / small laptops: price on its own row, 3 facts per row */
@media (min-width: 961px) and (max-width: 1200px) {
  .facts-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fact.fact-price { grid-column: 1 / -1; border-radius: var(--radius) var(--radius) 0 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact.fact-price + .fact, .fact:nth-child(3n+2) { border-left: 0; }
}

/* v29 — Homepage header on phones: see-through over the photo at the top, white once scrolled (same as desktop) */
@media (max-width: 640px) {
  body[data-page="home"] .site-header:not(.scrolled) { background: transparent; border-bottom-color: transparent; }
  body[data-page="home"].menu-open .site-header { background: var(--white); }
  body[data-page="home"] .site-header::before { display: block; }
  body[data-page="home"] .site-header.scrolled::before, body[data-page="home"].menu-open .site-header::before { opacity: 0; }
  body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .brand img.logo-on-light { display: none; }
  body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .brand img.logo-on-dark { display: block; }
  body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .menu-toggle { border-color: rgba(255,255,255,.45); }
  body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .menu-toggle span { background: var(--white); }
  .hero4 { padding-top: 0; }
  .h4-media { height: calc(52svh + var(--header-h)); max-height: calc(470px + var(--header-h)); }
}

/* v30 — Enquiry sending state, error note, spam trap */
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form[data-enquiry] button.is-sending { opacity: .7; cursor: progress; }
form[data-enquiry] button.is-sending .icon-arrow { animation: sendPulse .9s ease-in-out infinite; }
@keyframes sendPulse { 50% { transform: translateX(4px); opacity: .4; } }
.form-err { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid #b3261e; background: #fdf1f0; color: #7a1c16; font-size: 13.5px; line-height: 1.5; border-radius: 3px; }
.form-err a { color: inherit; font-weight: 500; text-decoration: underline; }

/* v31 — Thank-you page */
.ty-hero { min-height: min(78vh, 720px); display: flex; align-items: center; padding: clamp(72px, 9vw, 120px) 0; text-align: center; }
.ty-hero::before { background: linear-gradient(180deg, rgba(10,23,48,.78) 0%, rgba(10,23,48,.72) 55%, rgba(10,23,48,.9) 100%); }
.ty-inner { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.ty-check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); margin-bottom: 22px; animation: tyPop .7s cubic-bezier(.2,.9,.3,1.3) both; }
.ty-check .icon { width: 38px; height: 38px; color: var(--white); stroke-width: 1.4; }
@keyframes tyPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ty-hero .eyebrow::before { display: none; }
.ty-hero .lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.ty-btns { justify-content: center; margin-top: 30px; }
.ty-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.ty-steps li { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.ty-num { display: block; font-family: var(--f-label); font-size: 13px; letter-spacing: .2em; color: var(--celestial); margin-bottom: 14px; }
.ty-steps h3 { font-family: var(--f-display); font-weight: 400; font-size: 19px; color: var(--midnight); margin: 0 0 8px; }
.ty-steps p { margin: 0; color: var(--body); font-size: 15px; line-height: 1.65; }
.ty-more { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ty-more .h3 { margin: 6px 0 0; }
@media (max-width: 860px) { .ty-steps { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ty-hero { min-height: 0; padding: 56px 0 60px; }
  .ty-btns .btn { width: 100%; justify-content: center; }
  .ty-more .btns, .ty-more .btn { width: 100%; justify-content: center; }
}
.ty-hero .eyebrow { color: rgba(255,255,255,.85); }

/* v32 — Homepage CTAs that open the enquiry popup */
button[data-enquire] { cursor: pointer; }
button[data-enquire]:not(.btn):not(.text-link) { font: inherit; }
button.btn-ghost { background: transparent; }
.h4-alt { margin: 16px 0 0; font-size: 14px; color: rgba(255,255,255,.82); font-weight: 300; }
.h4-alt button { background: none; border: 0; padding: 0; color: var(--white); font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.5); display: inline-flex; align-items: center; gap: 6px; transition: border-color .2s, gap .2s; }
.h4-alt button:hover { border-color: var(--white); gap: 10px; }
.h4-alt .icon { width: 14px; height: 14px; }
.about-cb-btns { margin-top: 26px; gap: 12px; }
.sec-head-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-strip { margin-top: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px) clamp(22px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; background: var(--white); border: 1px solid rgba(1,33,105,.12); border-left: 3px solid var(--cb-blue); border-radius: var(--radius); box-shadow: 0 18px 40px -30px rgba(1,33,105,.45); }
.bg-icy .cta-strip { background: var(--white); }
.section:not(.bg-icy) .cta-strip { background: var(--icy); border-color: rgba(1,33,105,.10); border-left-color: var(--cb-blue); box-shadow: none; }
.cta-strip-copy { min-width: 0; }
.cta-strip .eyebrow { margin-bottom: 8px; }
.cta-strip-title { margin: 0; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.3; color: var(--midnight); }
.cta-strip-text { margin: 6px 0 0; color: var(--body); font-size: 15px; line-height: 1.6; max-width: 560px; }
.cta-strip-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cta-strip-btns .icon:not(.icon-arrow) { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .cta-strip { flex-direction: column; align-items: stretch; }
  .cta-strip-btns .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 640px) {
  .sec-head-actions { width: 100%; justify-content: space-between; }
  .about-cb-btns .btn { flex: 1 1 100%; justify-content: center; }
  .h4-alt { text-align: center; font-size: 13.5px; }
  .cta-strip-btns { flex-direction: column; }
  .cta-strip-btns .btn { width: 100%; }
}

/* v33 — Concierge lines: slim editorial CTAs (hairline · star · serif question · underlined link) */
.cta-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin: clamp(30px, 3.4vw, 46px) 0 0; text-align: center; }
.cta-line::before, .cta-line::after { content: ""; flex: 1 1 40px; max-width: 160px; height: 1px; background: linear-gradient(90deg, rgba(1,33,105,0), rgba(1,33,105,.28)); }
.cta-line::after { background: linear-gradient(90deg, rgba(1,33,105,.28), rgba(1,33,105,0)); }
.cta-line-star { width: 12px; height: 12px; fill: var(--celestial); flex: none; }
.cta-line-q { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.35; color: var(--midnight); }
button.text-link { background: none; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; padding: 0 0 4px; cursor: pointer; }
.cta-line-btn { white-space: nowrap; }
.text-link-star { gap: 7px; }
.text-link-star .cta-line-star { width: 10px; height: 10px; }
.sec-head-actions { gap: 22px; }
@media (max-width: 640px) {
  .cta-line { flex-direction: column; gap: 10px; margin-top: 26px; }
  .cta-line::before, .cta-line::after { display: none; }
  .cta-line-q { font-size: 18px; max-width: 30ch; }
  .sec-head-actions { justify-content: flex-start; gap: 18px 24px; }
}
.about-cb-btns { align-items: center; gap: 14px 28px; }
@media (max-width: 640px) { .about-cb-btns .text-link { flex: 0 0 auto; margin: 4px auto 0; } }

/* v34 — Brand + hero refinements; presence tiles all the same size */
.brand img, body .site-header .brand img { height: 42px; width: auto; transition: none; transform: none; }
@media (min-width: 1141px) and (max-width: 1320px) { .brand img, body .site-header .brand img { height: 38px; } }
@media (max-width: 1140px) { .brand img, body .site-header .brand img { height: 36px; } }
@media (max-width: 640px) { .brand img, body .site-header .brand img { height: 32px; } }
.h4-title { text-transform: uppercase; letter-spacing: .02em; font-size: clamp(36px, 4.3vw, 66px); }
.h4-title .h4-kicker { letter-spacing: .28em; }
@media (max-width: 640px) { .h4-title { font-size: clamp(28px, 8.4vw, 36px); letter-spacing: .015em; } }
.h4-places::before, .h4-places::after { display: none !important; }
.team-brand { font-family: var(--f-display); font-style: normal; font-size: .62em; letter-spacing: 0; color: var(--slate); white-space: nowrap; }

.presence-even { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.presence-even .ptile { height: clamp(340px, 29vw, 430px); aspect-ratio: auto; }
.presence-even .ptile-body { padding: 24px 20px; gap: 12px; }
.presence-even .ptile-title { font-size: clamp(19px, 1.5vw, 23px); }
.presence-even .ptile-sub { max-width: 24ch; font-size: 14.5px; line-height: 1.55; opacity: .95; }
@media (max-width: 1140px) { .presence-even { grid-template-columns: repeat(2, minmax(0, 1fr)); } .presence-even .ptile { height: 300px; } }
@media (max-width: 640px) {
  .presence-even { grid-template-columns: 1fr; gap: 10px; }
  .presence-even .ptile { height: 210px; }
  .presence-even .ptile-title { font-size: 19px; }
  .presence-even .ptile-sub { font-size: 13.5px; max-width: 30ch; }
}
@media (max-width: 640px) { .h4-kicker .kick-sep { display: none; } .h4-kicker .kick-2 { display: block; margin-top: 4px; } }

/* v35 — Phone hero search: clean corners, clear edge on the dark hero, no floating buttons over it */
@media (max-width: 640px) {
  .search-lux .search-bar { border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.22), 0 18px 40px -20px rgba(0,0,0,.8); }
  .search-lux label { border-radius: 0; }
  .search-lux button[type=submit] { border-radius: 0; border-top: 1px solid rgba(1,33,105,.12); }
  .float-cta { transition: opacity .3s var(--ease), transform .3s var(--ease); }
  body.hero-search-visible .float-cta { opacity: 0; transform: translateY(16px); pointer-events: none; }
}

/* v36 — Hero search without the bright blue: white bar + inset Midnight button (phones: one row, round arrow) */
.search-glass.search-lux .search-bar { align-items: center; padding: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 24px 50px -26px rgba(0,0,0,.85); }
.search-glass.search-lux .search-bar label { border-radius: 0 !important; }
.search-glass.search-lux .search-bar button[type=submit] { align-self: stretch; margin: 8px; min-height: 54px; padding: 0 30px; border-radius: 4px; border: 0; background: var(--midnight); color: var(--white); box-shadow: none; }
.search-glass.search-lux .search-bar button[type=submit]:hover { background: #050c1c; transform: none; box-shadow: none; }
@media (max-width: 640px) {
  .search-glass.search-lux .search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; border-radius: 8px; }
  .search-glass.search-lux .search-bar label { grid-column: 1; padding: 12px 6px 12px 18px !important; }
  .search-glass.search-lux .search-bar label .dd-btn { font-size: 17px; }
  .search-glass.search-lux .search-bar button[type=submit] { grid-column: 2; grid-row: 1; width: 52px; height: 52px; min-height: 0; margin: 0 10px 0 4px; padding: 0; border-radius: 50%; border-top: 0; align-self: center; justify-content: center; }
  .search-glass.search-lux .search-bar button[type=submit] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search-glass.search-lux .search-bar button[type=submit] .icon { width: 20px; height: 20px; margin: 0; }
}
.search-glass.search-lux .search-bar { overflow: visible; }
.search-glass.search-lux .search-bar label { border-radius: 6px 0 0 6px !important; }
@media (max-width: 640px) { .search-glass.search-lux .search-bar label { border-radius: 8px 0 0 8px !important; } }

/* v37 — Round Midnight arrow button on every screen size */
.search-glass.search-lux .search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.search-glass.search-lux .search-bar button[type=submit] { grid-column: 2; grid-row: 1; width: 58px; height: 58px; min-height: 0; margin: 0 12px 0 6px; padding: 0; border-radius: 50%; align-self: center; justify-content: center; transition: background .25s var(--ease), transform .25s var(--ease); }
.search-glass.search-lux .search-bar button[type=submit]:hover { background: #050c1c; transform: scale(1.05); }
.search-glass.search-lux .search-bar button[type=submit] span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search-glass.search-lux .search-bar button[type=submit] .icon { width: 22px; height: 22px; margin: 0; }
@media (max-width: 640px) { .search-glass.search-lux .search-bar button[type=submit] { width: 52px; height: 52px; margin: 0 10px 0 4px; } .search-glass.search-lux .search-bar button[type=submit] .icon { width: 20px; height: 20px; } }

/* v38 — Presence tiles: readable caption anchored at the bottom over a deep shade */
.presence-even .ptile::before { background: linear-gradient(180deg, rgba(10,23,48,.05) 0%, rgba(10,23,48,.18) 35%, rgba(10,23,48,.72) 68%, rgba(10,23,48,.94) 100%); }
.presence-even .ptile:hover::before { background: linear-gradient(180deg, rgba(10,23,48,.0) 0%, rgba(10,23,48,.12) 35%, rgba(10,23,48,.70) 68%, rgba(10,23,48,.94) 100%); }
.presence-even .ptile-body { justify-content: flex-end; align-items: flex-start; text-align: left; padding: 26px 24px 26px; gap: 0; }
.presence-even .ptile-title { font-size: clamp(18px, 1.4vw, 22px); letter-spacing: .08em; line-height: 1.25; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.presence-even .ptile-title::after { content: ""; display: block; width: 34px; height: 2px; margin: 12px 0 12px; background: var(--celestial); }
.presence-even .ptile-sub { max-width: 30ch; font-family: var(--f-body); font-weight: 400; font-size: 15px; line-height: 1.55; color: #fff; opacity: 1; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
@media (max-width: 1140px) { .presence-even .ptile { height: 320px; } }
@media (max-width: 640px) {
  .presence-even .ptile { height: 230px; }
  .presence-even .ptile-body { padding: 20px 18px; }
  .presence-even .ptile-title { font-size: 18px; }
  .presence-even .ptile-title::after { width: 28px; margin: 10px 0; }
  .presence-even .ptile-sub { font-size: 14px; max-width: none; }
}

/* v39 — Presence tiles: clear, vivid photo on top; shade only behind the caption */
.presence-even .ptile::before, .presence-even .ptile:hover::before { background: linear-gradient(180deg, rgba(10,23,48,0) 0%, rgba(10,23,48,0) 45%, rgba(10,23,48,.55) 66%, rgba(10,23,48,.9) 100%); }
.presence-even .ptile img { filter: saturate(1.15) contrast(1.06) brightness(1.04); }
@media (max-width: 640px) { .presence-even .ptile::before, .presence-even .ptile:hover::before { background: linear-gradient(180deg, rgba(10,23,48,0) 0%, rgba(10,23,48,0) 38%, rgba(10,23,48,.6) 64%, rgba(10,23,48,.92) 100%); } }

/* v40 — Category tiles: same layout, readable text (focused shade behind the words, clearer photos) */
#what-we-do .ptile::before { background:
  radial-gradient(ellipse 70% 55% at 50% 48%, rgba(10,23,48,.62) 0%, rgba(10,23,48,.38) 55%, rgba(10,23,48,0) 100%),
  linear-gradient(180deg, rgba(10,23,48,.22), rgba(10,23,48,.38)); }
#what-we-do .ptile:hover::before { background:
  radial-gradient(ellipse 70% 55% at 50% 48%, rgba(10,23,48,.66) 0%, rgba(10,23,48,.4) 55%, rgba(10,23,48,0) 100%),
  linear-gradient(180deg, rgba(10,23,48,.18), rgba(10,23,48,.34)); }
#what-we-do .ptile img { filter: saturate(1.12) contrast(1.06) brightness(1.02); }
#what-we-do .ptile-title { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
#what-we-do .ptile-sub { font-weight: 400; font-size: 15px; opacity: 1; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.65); }
#what-we-do .ptile-count { background: rgba(10,23,48,.45); border-color: rgba(255,255,255,.75); color: #fff; }
@media (max-width: 640px) { #what-we-do .ptile-sub { font-size: 13.5px; } }

/* v41 — Hero brand line hidden on screen but kept in the H1 for search engines and screen readers */
.h4-title .h4-kicker { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* v42 — Phone hero like the CB reference: full-screen photo, light shade, outlined field, full-width search */
.sb-search-ic { display: none !important; }
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { display: flex !important; align-items: stretch !important; min-height: 100vh !important; min-height: 100svh !important; padding: 0 !important; background: #0A1730 !important; }
  body[data-page="home"] .hero4 .h4-media { position: absolute !important; inset: 0 !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,.42) 0%, rgba(10,23,48,.14) 24%, rgba(10,23,48,.22) 58%, rgba(10,23,48,.5) 100%) !important; }
  body[data-page="home"] .hero4 .h4-slide img { object-position: center 60% !important; }
  body[data-page="home"] .hero4 .h4-inner { width: 100%; min-height: 100svh; display: flex !important; flex-direction: column; justify-content: center; align-items: stretch; padding: calc(var(--header-h) + 20px) 18px 84px !important; }
  body[data-page="home"] .hero4 .h4-title { font-size: clamp(30px, 9vw, 38px) !important; letter-spacing: .05em !important; line-height: 1.05; text-shadow: 0 2px 16px rgba(0,0,0,.45) !important; margin: 0 auto; }
  body[data-page="home"] .hero4 .h4-lower { margin: 0 !important; padding: 0 !important; width: 100%; display: flex; flex-direction: column; align-items: stretch; background: none !important; }
  body[data-page="home"] .hero4 .h4-lower::before, body[data-page="home"] .hero4 .h4-lower::after { display: none !important; }
  body[data-page="home"] .hero4 .h4-places { align-self: center; margin: 14px 0 34px !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; font-size: 13px !important; letter-spacing: .32em !important; text-shadow: 0 1px 8px rgba(0,0,0,.55) !important; }
  body[data-page="home"] .hero4 .h4-sub { display: none !important; }

  body[data-page="home"] .search-glass.search-lux { width: 100%; max-width: none; margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label { grid-column: 1 !important; grid-row: 1 !important; display: flex !important; align-items: center; height: 54px; margin: 0 !important; padding: 0 16px !important; border: 1px solid rgba(255,255,255,.85) !important; border-radius: 0 !important; background: rgba(10,23,48,.18) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label:hover, body[data-page="home"] .search-glass.search-lux .search-bar label.dd-open { background: rgba(10,23,48,.32) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar .lbl { display: none !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn { width: 100%; padding: 0 !important; color: #fff !important; font-family: var(--f-label) !important; font-size: 13px !important; letter-spacing: .16em; text-transform: uppercase; justify-content: space-between; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn .icon { color: #fff !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { grid-column: 1 !important; grid-row: 2 !important; width: 100% !important; height: 54px !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important; background: var(--cb-blue) !important; color: #fff; gap: 12px; justify-content: center; font-family: var(--f-label); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transform: none !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] span { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; white-space: nowrap; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .sb-search-ic { display: inline-block !important; width: 20px !important; height: 20px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .sb-arrow-ic { display: none !important; }
  body[data-page="home"] .hero4 .h4-alt { margin-top: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
  body[data-page="home"] .hero4 .h4-down { display: grid !important; bottom: 14px; }

  /* Logo + menu on phones: bigger lockup, plain menu icon */
  .brand img, body .site-header .brand img { height: 36px !important; }
  .menu-toggle { border: 0 !important; background: transparent !important; width: 40px; }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-title { font-size: clamp(25px, 7.7vw, 34px) !important; letter-spacing: .03em !important; white-space: nowrap; }
  body[data-page="home"] .search-glass.search-lux .search-bar label > * { width: 100%; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn { height: 52px !important; display: flex !important; align-items: center !important; line-height: 1 !important; }
}
@media (max-width: 640px) { body[data-page="home"] .search-glass.search-lux .search-bar label .dd-val { padding-top: 3px; } }
@media (max-width: 640px) {
  body[data-page="home"] .search-glass.search-lux .dd-menu { top: calc(100% + 6px) !important; bottom: auto !important; left: -1px !important; right: -1px !important; min-width: 0 !important; transform-origin: top center !important; z-index: 30; max-height: 52vh; overflow-y: auto; }
}
@media (max-width: 640px) {
  body[data-page="home"] .search-glass.search-lux .search-bar label { position: relative; z-index: 2; }
  body[data-page="home"] .search-glass.search-lux .search-bar label.dd-open { z-index: 40; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { position: relative; z-index: 1; }
  body[data-page="home"] .search-glass.search-lux .dd-menu { background: #fff !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: 0 20px 44px -16px rgba(0,0,0,.55) !important; }
}

/* v43 — Phone hero: shorter (content-height instead of full screen) */
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { min-height: 0 !important; }
  body[data-page="home"] .hero4 .h4-inner { min-height: 0 !important; padding: calc(var(--header-h) + 64px) 18px 72px !important; }
  body[data-page="home"] .hero4 .h4-places { margin: 12px 0 26px !important; }
  body[data-page="home"] .hero4 .h4-alt { margin-top: 16px; }
  body[data-page="home"] .hero4 .h4-down { bottom: 10px; }
  body[data-page="home"] .hero4 .h4-down .icon { width: 24px; height: 24px; }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { height: auto !important; max-height: none !important; align-items: flex-start !important; }
  body[data-page="home"] .hero4 .h4-inner { flex: 0 0 auto; margin: 0 !important; }
}
/* v44 — Phone hero: in between (about 78% of the screen), content centred */
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { min-height: 78vh !important; min-height: 78svh !important; align-items: stretch !important; }
  body[data-page="home"] .hero4 .h4-inner { min-height: 78vh !important; min-height: 78svh !important; justify-content: center !important; padding: calc(var(--header-h) + 28px) 18px 64px !important; }
}

/* v45 — Lighter "GUIDING YOU HOME" (same size): Roboto regular instead of heavy Bauziet */
.hero4 .h4-title, body[data-page="home"] .hero4 .h4-title { font-family: var(--f-body) !important; font-weight: 400 !important; letter-spacing: .04em !important; text-shadow: 0 2px 18px rgba(0,0,0,.5) !important; }

/* v46 — "Discover exceptional properties": back on phones, lighter weight like the heading */
.hero4 .h4-sub { font-family: var(--f-body) !important; font-weight: 400 !important; letter-spacing: .01em; text-shadow: 0 1px 12px rgba(0,0,0,.55) !important; }
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-sub { display: block !important; margin: -16px 0 24px !important; font-size: 17px !important; color: #fff; text-align: center; }
}

/* v47 — Phone hero: content sits low, over the road, so the palace stays clear */
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-inner { justify-content: flex-end !important; padding: calc(var(--header-h) + 20px) 18px 46px !important; }
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,.40) 0%, rgba(10,23,48,.06) 22%, rgba(10,23,48,.06) 42%, rgba(10,23,48,.42) 66%, rgba(10,23,48,.66) 100%) !important; }
  body[data-page="home"] .hero4 .h4-slide img { object-position: center 30% !important; }
  body[data-page="home"] .hero4 .h4-down { display: none !important; }
}
@media (max-width: 640px) { body[data-page="home"] .hero4 .h4-day img { object-position: center 8% !important; } }
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-inner { padding-bottom: 26px !important; }
  body[data-page="home"] .hero4 .h4-places { margin: 8px 0 14px !important; }
  body[data-page="home"] .hero4 .h4-sub { margin: -6px 0 16px !important; font-size: 16px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar { gap: 10px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label, body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { height: 50px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn { height: 48px !important; }
  body[data-page="home"] .hero4 .h4-alt { margin-top: 12px !important; }
  body[data-page="home"] .hero4 .h4-slide.on img { animation: none !important; transform: none !important; }
}
/* v48 — Phone hero: light shade behind the content area so the text reads clearly; palace top stays bright */
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,.38) 0%, rgba(10,23,48,.04) 20%, rgba(10,23,48,.08) 38%, rgba(10,23,48,.5) 56%, rgba(10,23,48,.72) 78%, rgba(10,23,48,.82) 100%) !important; }
  body[data-page="home"] .hero4 .h4-title, body[data-page="home"] .hero4 .h4-places, body[data-page="home"] .hero4 .h4-sub, body[data-page="home"] .hero4 .h4-alt { text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.45) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label { background: rgba(10,23,48,.35) !important; }
}

/* v49 — Desktop/tablet hero matches the phone design: content low over the road, light shade,
   no pill, outlined field + blue SEARCH button with icon */
@media (min-width: 641px) {
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(10,23,48,.36) 0%, rgba(10,23,48,.04) 20%, rgba(10,23,48,.06) 42%, rgba(10,23,48,.46) 64%, rgba(10,23,48,.74) 86%, rgba(10,23,48,.82) 100%) !important; }
  body[data-page="home"] .hero4 .h4-inner { justify-content: flex-end !important; padding-top: calc(var(--header-h) + 24px) !important; padding-bottom: clamp(54px, 7vh, 84px) !important; min-height: 100vh; min-height: 100svh; }
  body[data-page="home"] .hero4 .h4-title { margin-top: auto !important; font-size: clamp(40px, 4.2vw, 64px) !important; }
  body[data-page="home"] .hero4 .h4-lower { margin-top: 0 !important; padding: 0 !important; background: none !important; width: 100%; display: flex; flex-direction: column; align-items: center; }
  body[data-page="home"] .hero4 .h4-lower::before, body[data-page="home"] .hero4 .h4-lower::after { display: none !important; }
  body[data-page="home"] .hero4 .h4-places { margin: 14px 0 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  body[data-page="home"] .hero4 .h4-sub { margin: 12px 0 0 !important; }
  body[data-page="home"] .hero4 .h4-title, body[data-page="home"] .hero4 .h4-places, body[data-page="home"] .hero4 .h4-sub, body[data-page="home"] .hero4 .h4-alt { text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 16px rgba(0,0,0,.45) !important; }

  body[data-page="home"] .search-glass.search-lux { width: 100%; max-width: 680px !important; margin: 26px auto 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; gap: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label { grid-column: 1 !important; grid-row: 1 !important; display: flex !important; align-items: center; height: 58px; margin: 0 !important; padding: 0 20px !important; border: 1px solid rgba(255,255,255,.85) !important; border-right: 0 !important; border-radius: 0 !important; background: rgba(10,23,48,.35) !important; position: relative; z-index: 2; }
  body[data-page="home"] .search-glass.search-lux .search-bar label:hover, body[data-page="home"] .search-glass.search-lux .search-bar label.dd-open { background: rgba(10,23,48,.5) !important; z-index: 40; }
  body[data-page="home"] .search-glass.search-lux .search-bar label > * { width: 100%; }
  body[data-page="home"] .search-glass.search-lux .search-bar .lbl { display: none !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn { height: 56px !important; display: flex !important; align-items: center !important; justify-content: space-between; padding: 0 !important; color: #fff !important; font-family: var(--f-label) !important; font-size: 13px !important; letter-spacing: .16em; text-transform: uppercase; line-height: 1 !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-val { padding-top: 3px; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn .icon { color: #fff !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { grid-column: 2 !important; grid-row: 1 !important; width: auto !important; height: 58px !important; margin: 0 !important; padding: 0 38px !important; border-radius: 0 !important; background: var(--cb-blue) !important; color: #fff; gap: 12px; justify-content: center; font-family: var(--f-label); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transform: none !important; position: relative; z-index: 1; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit]:hover { background: #011a55 !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] span { position: static !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; white-space: nowrap; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .sb-search-ic { display: inline-block !important; width: 19px !important; height: 19px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .sb-arrow-ic { display: none !important; }
  body[data-page="home"] .search-glass.search-lux .dd-menu { top: auto !important; bottom: calc(100% + 8px) !important; left: -1px !important; right: 0 !important; min-width: 0 !important; background: #fff !important; backdrop-filter: none !important; z-index: 30; }
  body[data-page="home"] .hero4 .h4-alt { margin-top: 16px; }
  body[data-page="home"] .hero4 .h4-down { bottom: 14px; }
}

/* v50 — Phone hero per mockup: full palace photo on top fading into a deep navy band with the content */
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { display: block !important; min-height: 0 !important; padding: var(--header-h) 0 0 !important; background: linear-gradient(180deg, #0B1F4B 0%, #0A1D45 55%, #0A1838 100%) !important; }
  body[data-page="home"] .site-header:not(.scrolled) { background: #0B1F4B !important; border-bottom: 1px solid rgba(255,255,255,.55) !important; }
  body[data-page="home"] .site-header::before { display: none !important; }
  body[data-page="home"] .hero4 .h4-media { position: relative !important; inset: auto !important; display: block; width: 100%; height: auto !important; aspect-ratio: 3 / 2.15; min-height: 0 !important; max-height: none !important; overflow: hidden; }
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(11,31,75,0) 0%, rgba(11,31,75,0) 55%, rgba(11,31,75,.55) 78%, #0B1F4B 100%) !important; }
  body[data-page="home"] .hero4 .h4-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40% !important; animation: none !important; transform: none !important; }
  body[data-page="home"] .hero4 .h4-day img { object-position: center 45% !important; }
  body[data-page="home"] .hero4 .h4-inner { min-height: 0 !important; display: flex !important; flex-direction: column; align-items: stretch; justify-content: flex-start !important; margin-top: -46px !important; padding: 0 18px 30px !important; position: relative; z-index: 2; }
  body[data-page="home"] .hero4 .h4-title { font-family: var(--f-label) !important; font-weight: 400 !important; font-size: clamp(26px, 8.2vw, 34px) !important; letter-spacing: .04em !important; text-align: center; margin: 0 auto !important; text-shadow: 0 2px 14px rgba(0,0,0,.35) !important; }
  body[data-page="home"] .hero4 .h4-title::after { content: ""; display: block; width: 74px; height: 2px; margin: 20px auto 0; background: rgba(255,255,255,.9); }
  body[data-page="home"] .hero4 .h4-places { margin: 22px 0 10px !important; align-self: center; display: inline-flex !important; align-items: center; gap: 0 !important; font-size: clamp(17px, 5.4vw, 22px) !important; letter-spacing: .3em !important; text-shadow: none !important; }
  body[data-page="home"] .hero4 .h4-places .h4-star { display: none !important; }
  body[data-page="home"] .hero4 .h4-places span + span { margin-left: .9em !important; padding-left: .9em; border-left: 1.5px solid rgba(255,255,255,.85); line-height: 1.6; }
  body[data-page="home"] .hero4 .h4-sub { margin: 0 0 30px !important; font-size: clamp(17px, 5.2vw, 21px) !important; font-weight: 400 !important; text-transform: capitalize; text-shadow: none !important; }
  body[data-page="home"] .hero4 .h4-sub em { font-family: inherit !important; font-style: normal !important; color: inherit !important; font-size: inherit !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar { gap: 16px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label { height: 52px !important; background: transparent !important; border: 1.5px solid rgba(255,255,255,.9) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar label .dd-btn { font-size: 14.5px !important; letter-spacing: .08em; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { height: 54px !important; background: #0B3AA8 !important; font-size: 15px !important; letter-spacing: .1em; }
  body[data-page="home"] .hero4 .h4-alt { display: none !important; }
  body[data-page="home"] .hero4 .h4-down { display: grid !important; position: relative !important; left: auto !important; bottom: auto !important; transform: none !important; margin: 18px auto 0; animation: none; }
  body[data-page="home"] .hero4 .h4-down .icon { width: 30px !important; height: 30px !important; }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-media { aspect-ratio: 1.72 / 1 !important; }
  body[data-page="home"] .hero4 .h4-day img { object-position: center 60% !important; }
  body[data-page="home"] .hero4 .h4-inner { margin-top: -30px !important; }
  body[data-page="home"] .hero4 .h4-title { font-size: clamp(22px, 7vw, 30px) !important; letter-spacing: .03em !important; }
  body[data-page="home"] .hero4 .h4-places span:last-of-type { margin-left: .9em !important; padding-left: .9em; border-left: 1.5px solid rgba(255,255,255,.85); line-height: 1.5; }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-media { aspect-ratio: 1.5 / 1 !important; }
  body[data-page="home"] .hero4 .h4-day img { object-position: center 55% !important; }
  body[data-page="home"] .hero4 .h4-down { margin-top: 10px !important; }
}

/* v51 — Phone hero: full photo first (behind a transparent header), content below it, lighter fade,
   header back to transparent → white with blue logo on scroll, white Search button */
@media (max-width: 640px) {
  body[data-page="home"] .site-header:not(.scrolled) { background: transparent !important; border-bottom: 0 !important; }
  body[data-page="home"] .site-header:not(.scrolled)::before { display: block !important; opacity: 1; background: linear-gradient(180deg, rgba(5,14,35,.55), rgba(5,14,35,0)) !important; }
  body[data-page="home"] .site-header.scrolled { background: #fff !important; border-bottom: 1px solid rgba(1,33,105,.10) !important; }
  body[data-page="home"] .site-header.scrolled::before { display: none !important; }
  body[data-page="home"] .hero4 { padding-top: 0 !important; }
  body[data-page="home"] .hero4 .h4-media { aspect-ratio: auto !important; height: calc(var(--header-h) + 58vw) !important; }
  body[data-page="home"] .hero4 .h4-slide img, body[data-page="home"] .hero4 .h4-day img { object-position: center 100% !important; }
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg, rgba(11,31,75,0) 0%, rgba(11,31,75,0) 84%, rgba(11,31,75,.55) 96%, #0B1F4B 100%) !important; }
  body[data-page="home"] .hero4 .h4-inner { margin-top: 0 !important; padding-top: 26px !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { background: #fff !important; color: #0B1F4B !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit]:hover { background: var(--icy) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .icon { color: #0B1F4B !important; }
}

/* v52 — Hero type follows the site system (all screens):
   headline = Bauziet (like every section heading), labels = Geometos, line = Roboto + Garamond italic accent */
.hero4 .h4-title, body[data-page="home"] .hero4 .h4-title { font-family: var(--f-display) !important; font-weight: 400 !important; text-transform: uppercase; letter-spacing: .03em !important; line-height: 1.08 !important; }
@media (min-width: 641px) { body[data-page="home"] .hero4 .h4-title { font-size: clamp(36px, 3.7vw, 56px) !important; } }
.hero4 .h4-places, body[data-page="home"] .hero4 .h4-places { font-family: var(--f-label) !important; }
.hero4 .h4-sub, body[data-page="home"] .hero4 .h4-sub { font-family: var(--f-body) !important; font-weight: 300 !important; letter-spacing: .01em !important; text-transform: none !important; }
.hero4 .h4-sub em, body[data-page="home"] .hero4 .h4-sub em { font-family: var(--f-serif) !important; font-style: italic !important; font-weight: 400 !important; font-size: 1.12em !important; color: #fff !important; letter-spacing: 0 !important; }
@media (max-width: 640px) {
  body[data-page="home"] .hero4 .h4-title { font-size: clamp(23px, 7.2vw, 30px) !important; }
  body[data-page="home"] .hero4 .h4-places { font-size: clamp(15px, 4.6vw, 19px) !important; margin: 20px 0 8px !important; }
  body[data-page="home"] .hero4 .h4-sub { font-size: clamp(16px, 4.9vw, 19px) !important; margin: 2px 0 26px !important; }

  /* Photo starts below the logo/menu so nothing is cut off */
  body[data-page="home"] .hero4 { padding-top: var(--header-h) !important; }
  body[data-page="home"] .hero4 .h4-media { height: auto !important; aspect-ratio: 1.72 / 1 !important; }
  body[data-page="home"] .hero4 .h4-slide img, body[data-page="home"] .hero4 .h4-day img { object-position: center 60% !important; }
  body[data-page="home"] .site-header:not(.scrolled)::before { display: none !important; }
}
@media (min-width: 641px) {
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] { background: #fff !important; color: #0B1F4B !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit]:hover { background: var(--icy) !important; }
  body[data-page="home"] .search-glass.search-lux .search-bar button[type=submit] .icon { color: #0B1F4B !important; }
}

/* v53 — Phone hero polish: white header + blue logo always, smooth photo-to-navy blend,
   premium search card (white card, soft field with label, Midnight button) */
@media (max-width: 640px) {
  /* header: white with blue logo from the start */
  body[data-page="home"] .site-header, body[data-page="home"] .site-header:not(.scrolled) { background: #fff !important; border-bottom: 1px solid rgba(1,33,105,.08) !important; box-shadow: 0 6px 20px -16px rgba(10,23,48,.35) !important; }
  body[data-page="home"] .site-header::before, body[data-page="home"] .site-header:not(.scrolled)::before { display: none !important; }
  body[data-page="home"] .site-header .brand img.logo-on-light, body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .brand img.logo-on-light { display: block !important; }
  body[data-page="home"] .site-header .brand img.logo-on-dark, body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .brand img.logo-on-dark { display: none !important; }
  body[data-page="home"] .site-header .menu-toggle span, body[data-page="home"]:not(.menu-open) .site-header:not(.scrolled) .menu-toggle span { background: var(--cb-blue) !important; }

  /* smooth blend from the photo into the navy section */
  body[data-page="home"] .hero4 { background: #0A1730 !important; }
  body[data-page="home"] .hero4 .h4-media { aspect-ratio: 1.6 / 1 !important; }
  body[data-page="home"] .hero4 .h4-media::after { background: linear-gradient(180deg,
      rgba(10,23,48,0) 0%, rgba(10,23,48,0) 46%, rgba(10,23,48,.08) 58%, rgba(10,23,48,.22) 68%,
      rgba(10,23,48,.44) 78%, rgba(10,23,48,.7) 88%, rgba(10,23,48,.9) 95%, #0A1730 100%) !important; }
  body[data-page="home"] .hero4 .h4-inner { margin-top: -22px !important; padding: 0 18px 28px !important; }

}
@media (max-width: 640px) {
  body[data-page="home"] .hero4 { overflow: visible !important; z-index: 5; }
  body[data-page="home"] .search-glass.search-lux .dd-menu { max-height: none !important; overflow: visible !important; }
}

/* v55 — Headline back to the lighter weight the client approved (Roboto Regular, same size) */
.hero4 .h4-title, body[data-page="home"] .hero4 .h4-title { font-family: var(--f-body) !important; font-weight: 400 !important; letter-spacing: .04em !important; }

/* v56 — Slide 2 (palace + Dasara elephant): keep the elephant and palace both in frame */
body[data-page="home"] .hero4 .h4-elephant img { object-position: 72% 70% !important; }
@media (max-width: 640px) { body[data-page="home"] .hero4 .h4-elephant img { object-position: 78% 60% !important; } }

/* v59 — Homepage hero uses the About page hero (.page-hero): same shade, eyebrow, title, serif line
   and spacing. Extras: photo slider behind, white search card, a little more height so the photo shows. */
body[data-page="home"] .site-header { position: sticky !important; }
.hero5 .h4-media { position: absolute !important; inset: 0 !important; z-index: -2 !important; overflow: hidden;
  height: auto !important; min-height: 0 !important; max-height: none !important; aspect-ratio: auto !important; }
.hero5 .h4-media::before, .hero5 .h4-media::after, .hero5 .h4-slide::after { display: none !important; }
.hero5 .h4-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center center !important; }
.hero5::before { background: linear-gradient(90deg, rgba(10,23,48,.82) 0%, rgba(10,23,48,.5) 60%, rgba(10,23,48,.22) 100%); }
.hero5 { padding-bottom: clamp(72px, 8vw, 128px); min-height: min(calc(100svh - var(--header-h)), 680px); display: flex; align-items: center; }
.hero5 .h5-inner { width: 100%; }
.h5-search { margin-top: clamp(28px, 3.2vw, 40px); max-width: 620px; display: flex; align-items: center; gap: 8px;
  background: var(--white); border-radius: 14px; padding: 8px 8px 8px 0; box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
.h5-field { position: relative; flex: 1; min-width: 0; display: block; border-right: 1px solid var(--line); }
.h5-field select { -webkit-appearance: none; appearance: none; width: 100%; height: 56px; border: 0; background: transparent; cursor: pointer;
  padding: 0 48px 0 28px; font: 500 17px/1 var(--f-display); color: var(--midnight); outline: none; }
.h5-field select:focus-visible { box-shadow: inset 0 0 0 2px var(--cb-blue); border-radius: 10px; }
.h5-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 32px;
  border: 0; border-radius: 10px; background: var(--cb-blue); color: var(--white); font: 500 17px/1 var(--f-display); cursor: pointer; transition: background .25s var(--ease); }
.h5-btn:hover { background: var(--midnight); }
.h5-btn svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .hero5 { min-height: 0; padding: 72px 0 128px; }
  .hero5::before { background: linear-gradient(90deg, rgba(10,23,48,.78) 0%, rgba(10,23,48,.55) 60%, rgba(10,23,48,.35) 100%); }
  .h5-search { padding: 6px 6px 6px 0; border-radius: 12px; }
  .h5-field select { height: 52px; padding: 0 40px 0 18px; font-size: 16px; }
  .h5-btn { height: 52px; padding: 0 20px; font-size: 16px; }
}

/* v60 — Homepage hero: a little taller, text + search sit lower so the photo shows at the top,
   "Coldwell Banker Avelon Realty" line in white */
.hero5 .eyebrow { color: var(--white) !important; }
.hero5 { min-height: min(calc(100svh - var(--header-h)), 740px); align-items: flex-end; padding-top: 140px; padding-bottom: clamp(64px, 6vw, 96px); }
@media (max-width: 640px) {
  .hero5 { min-height: 540px; padding: 150px 0 56px; }
}

/* v61 — Homepage hero: title block top-left over the sky, search card near the bottom (slightly raised),
   soft shade at the top so the white text reads clearly */
.hero5 { align-items: stretch; padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(96px, 9vw, 140px); }
.hero5 .h5-inner { display: flex; flex-direction: column; align-items: flex-start; }
.hero5 .h5-search { margin-top: auto; width: 100%; }
.hero5 .h5-title { margin-bottom: 32px; }
.hero5::before { background:
  linear-gradient(180deg, rgba(10,23,48,.55) 0%, rgba(10,23,48,.18) 42%, rgba(10,23,48,.12) 70%, rgba(10,23,48,.4) 100%),
  linear-gradient(90deg, rgba(10,23,48,.55) 0%, rgba(10,23,48,.2) 60%, rgba(10,23,48,0) 100%); }
.hero5 .h5-title, .hero5 .eyebrow { text-shadow: 0 2px 18px rgba(5,14,35,.45); }
@media (max-width: 640px) {
  .hero5 { min-height: 560px; padding: 36px 0 72px; }
}

/* v62 — Phone: hero leaves room so the next section peeks in (invites scrolling).
   Desktop: eyebrow, heading, smaller subheading and search centred in the middle. */
@media (max-width: 640px) {
  .hero5 { min-height: 0; height: clamp(470px, calc(100svh - var(--header-h) - 110px), 560px); padding: 32px 0 56px; }
  .hero5 .h5-title { margin-bottom: 20px; }
}
@media (min-width: 641px) {
  .hero5 { align-items: center; padding: clamp(56px, 6vw, 88px) 0; }
  .hero5 .h5-inner { align-items: center; text-align: center; }
  .hero5 .eyebrow { justify-content: center; }
  .hero5 .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
  .hero5 .h5-title { max-width: none; margin-bottom: 0; }
  .hero5 .h5-title .serif { display: block; font-size: .5em; line-height: 1.3; margin-top: 14px; color: #DCE7F5; }
  .hero5 .h5-search { margin: clamp(32px, 3.4vw, 44px) auto 0; }
  .hero5::before { background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(10,23,48,.62) 0%, rgba(10,23,48,.3) 65%, rgba(10,23,48,.12) 100%),
    linear-gradient(180deg, rgba(10,23,48,.25) 0%, rgba(10,23,48,0) 40%, rgba(10,23,48,.3) 100%); }
}

/* v63 — Phone: slide the palace-elephant photo left so the elephant's face and the palace both show */
@media (max-width: 640px) { .hero5 .h4-slide.h4-elephant img { object-position: 84% center !important; } }
@media (max-width: 640px) {
  .hero5 { padding-bottom: 22px !important; }
  .hero5 .h5-title .serif { display: block; }
}
@media (max-width: 380px) { .hero5 .h5-title { font-size: 34px; } .hero5 .h5-title .serif { font-size: 34px; } }

/* v64 — Homepage search card: the icon dropdown list (same as before) instead of the plain phone list */
.hero5 { overflow: visible; z-index: 5; }
.h5-field { cursor: pointer; border-radius: 10px 0 0 10px; transition: background .2s var(--ease); }
.h5-field:hover, .h5-field.dd-open { background: #F5F8FD; }
.h5-field .dd-btn { position: relative; height: 56px; padding: 0 20px 0 28px; font: 500 17px/1 var(--f-display); color: var(--midnight); }
.h5-field .dd-btn .icon { width: 18px; height: 18px; color: var(--midnight); }
.h5-field .dd-menu { top: calc(100% + 14px); left: 0; min-width: 100%; max-width: min(360px, calc(100vw - 2 * var(--gutter))); text-align: left; }
@media (min-width: 641px) { .hero5 .h5-field .dd-menu { text-align: left; } }
@media (max-width: 640px) {
  .h5-field .dd-btn { height: 52px; padding: 0 14px 0 18px; font-size: 16px; }
  .h5-field .dd-menu { width: calc(100vw - 2 * var(--gutter)); max-width: none; max-height: 340px; }
}
.h5-field .dd-menu { top: auto; bottom: calc(100% + 12px); transform-origin: bottom left; transform: translateY(6px) scale(.98); }
.h5-field.dd-open .dd-menu { transform: none; }

/* v65 — Homepage hero: "MYSORE ★ KODAGU" line under the subheading (white, letter-spaced, brand label font) */
.hero5 .h5-places { display: inline-flex; align-items: center; gap: 14px; margin: 18px 0 0; font-family: var(--f-label); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--white); text-shadow: 0 2px 14px rgba(5,14,35,.5); }
.hero5 .h5-places span:last-child { margin-right: -.32em; }
.hero5 .h5-star { width: 12px; height: 12px; fill: var(--tide); flex: none; }
@media (max-width: 640px) {
  .hero5 .h5-places { margin-top: 14px; font-size: 12px; gap: 12px; }
  .hero5 .h5-title { margin-bottom: 0; }
}

/* v66 — "MYSORE | KODAGU": no star, thin divider, a little larger and lower, more breathing room */
.hero5 .h5-places { margin-top: 30px; gap: 20px; font-size: 14px; letter-spacing: .36em; }
.hero5 .h5-places span:last-child { margin-right: -.36em; }
.hero5 .h5-sep { display: block; width: 1px; height: 16px; background: rgba(255,255,255,.75); }
@media (max-width: 640px) { .hero5 .h5-places { margin-top: 22px; font-size: 13px; gap: 16px; letter-spacing: .32em; } }
@media (min-width: 641px) { .hero5 .h5-search { margin-top: 48px; } }

/* v67 — No decorative stars outside the logo. CTA lines are highlighted with fine rules instead:
   desktop keeps the rules either side; phone gets a short rule above, and the question stays on one line */
@media (max-width: 640px) {
  .cta-line { gap: 8px; }
  .cta-line::before { display: block; content: ""; flex: none; width: 36px; height: 1px; max-width: none; margin-bottom: 6px; background: rgba(1,33,105,.35); }
  .cta-line-q { white-space: nowrap; max-width: none; font-size: clamp(13.5px, 4.15vw, 18px); letter-spacing: -.005em; }
}

/* Why Mysuru: reasons list */
.why-points h3 { font-family: var(--f-display); font-size: 18px; font-weight: 700; color: var(--midnight); margin: 22px 0 6px; }
.why-points p { margin: 0; }
.why-tagline { margin-top: 26px; font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--cb-blue); }
span.rg-chip { cursor: default; }
span.rg-chip:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.focus-table th { font-weight: 600; color: var(--midnight); }

/* Partner page: hero buttons, matching the other page heroes */
.page-hero .ph-btns { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
#apply { scroll-margin-top: var(--header-h); }

/* =====================================================================
   Single blog post: centred title, three columns (about | article | recent)
   ===================================================================== */
.post3-head { text-align: center; padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.post3-head .wrap { max-width: 900px; }
.post3-crumbs { justify-content: center; margin-bottom: 22px; }
.post3-title { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.12; color: var(--midnight); margin: 0 auto 20px; max-width: 22ch; }
.post3-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-family: var(--f-label); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--smoky); }
.post3-meta > * + *::before { content: "·"; margin: 0 10px; color: var(--mist); }
.post3-meta a { color: var(--cb-blue); }

.post3-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 240px; gap: 0; align-items: start; padding-bottom: var(--section); max-width: 1320px; }
.post3-left { padding-right: 36px; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 34px; }
.post3-main { padding: 0 clamp(32px, 4vw, 56px); border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: 100%; }
.post3-right { padding-left: 36px; display: grid; gap: 34px; }
.post3-main .prose { max-width: none; }
.post3-cover { margin: 0 0 36px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
.post3-cover img { width: 100%; height: 100%; object-fit: cover; }

.bp-block { display: grid; gap: 14px; }
.bp-title { font-family: var(--f-display); font-size: 16px; font-weight: 400; color: var(--midnight); margin: 0 0 4px; }
.bp-label { font-family: var(--f-label); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--midnight); margin: 0; }
.bp-about-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.bp-about-text { font-size: 13.5px; line-height: 1.65; color: var(--body); margin: 0; }
.bp-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--cb-blue); }
.bp-link .icon { width: 14px; height: 14px; }
.bp-social { display: flex; gap: 8px; }
.bp-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cb-blue); transition: background .2s, border-color .2s; }
.bp-social a:hover { background: var(--icy); border-color: var(--mist); }
.bp-social .icon { width: 15px; height: 15px; }
.post3-left .toc { padding: 0; border: 0; background: none; }
.post3-left .toc a { font-size: 13px; padding: 6px 0; }

.bp-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.bp-recent li { display: grid; gap: 8px; }
.bp-cat { justify-self: start; font-size: 12px; color: var(--smoky); padding-bottom: 3px; border-bottom: 1px solid var(--mist); }
.bp-recent a { font-family: var(--f-display); font-size: 15px; line-height: 1.4; color: var(--midnight); transition: color .2s; }
.bp-recent a:hover { color: var(--cb-blue); }
.bp-archive { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bp-archive a { font-size: 13.5px; color: var(--body); }
.bp-archive a:hover { color: var(--cb-blue); }
.post3-right .aside-cta h3 { font-size: 17px; }

.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 44px; }
.bp-share a { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-label); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--midnight); transition: color .2s; }
.bp-share a:hover { color: var(--cb-blue); }
.bp-share .icon { width: 15px; height: 15px; color: var(--cb-blue); }
.bp-author { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start; margin-top: 36px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bp-author img { width: 88px; height: 88px; border-radius: 50%; }
.bp-author h4 { font-family: var(--f-display); font-size: 17px; font-weight: 400; color: var(--midnight); margin: 0 0 8px; }
.bp-author p { font-size: 14px; line-height: 1.65; margin: 0; }
.bp-author a { color: var(--cb-blue); text-decoration: underline; text-underline-offset: 3px; }
.bp-related { margin-top: 44px; }
.bp-related .bp-title { margin-bottom: 20px; }
.bp-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bp-rel { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--icy); }
.bp-rel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bp-rel:hover img { transform: scale(1.05); }
.bp-rel span { position: absolute; left: 10%; right: 10%; bottom: 0; background: var(--white); padding: 14px 16px 12px; text-align: center; font-family: var(--f-label); font-size: 10px; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; color: var(--midnight); }

@media (max-width: 1140px) {
  .post3-layout { grid-template-columns: minmax(0, 1fr) 240px; }
  .post3-left { display: none; }
  .post3-main { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .post3-layout { grid-template-columns: minmax(0, 1fr); }
  .post3-main { padding: 0; border: 0; }
  .post3-right { padding: 44px 0 0; margin-top: 44px; border-top: 1px solid var(--line); }
  .post3-cover { margin: 0 calc(var(--gutter) * -1) 28px; border-radius: 0; }
  .bp-rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .post3-meta { gap: 8px 16px; }
  .post3-meta > * + *::before { content: none; }
}
