/* ==========================================================================
   Yards Developer — By Chahal's
   Black & gold premium real estate theme. Mobile-first.
   ========================================================================== */

:root {
  --ink: #13271f;
  --ink-rgb: 19, 39, 31;
  --ink-deep: #0d1b15;
  --ink-2: #19322a;
  --ink-3: #234338;
  --ink-line: rgba(227, 194, 120, .16);
  --gold: #c9a14a;
  --gold-light: #e6c87e;
  --gold-deep: #9a772b;
  --gold-metal: linear-gradient(135deg, #ecd28c 0%, #c9a14a 48%, #a9832f 100%);
  --ivory: #f6f5ef;
  --paper: #ffffff;
  --text: #18231e;
  --muted: #5d6a63;
  --line: #e4e4da;
  --on-dark: #f2f4ef;
  --on-dark-muted: #aebcb4;
  --wa: #1fa855;
  --danger: #b3261e;
  --success: #1f7a45;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 16, 8, .05), 0 12px 32px -12px rgba(20, 16, 8, .18);
  --shadow-lg: 0 30px 60px -24px rgba(20, 16, 8, .35);
  --header-h: 72px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text);
  background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.ico { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-light); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn-gold { background: var(--gold-metal); color: #1a1408; box-shadow: 0 8px 22px -10px rgba(201, 161, 74, .8); }
.btn-gold:hover { box-shadow: 0 12px 26px -10px rgba(201, 161, 74, .95); }
.btn-outline { border-color: var(--gold-deep); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.btn-ghost { border-color: rgba(230, 200, 126, .45); color: var(--on-dark); background: rgba(var(--ink-rgb), .25); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188f47; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--gold-deep); cursor: pointer; text-decoration: none; }
.link-btn:hover { color: var(--ink); }
.link-btn .ico { transition: transform .2s; }
.link-btn:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(var(--ink-rgb), .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink-line); color: var(--on-dark); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); flex: none; }
.brand-mark { width: 52px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 1.45rem; letter-spacing: .14em; text-transform: uppercase; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-sub { font-family: var(--display); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-light); margin-top: 5px; }
.brand-sub em { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: .02em; font-size: .9rem; color: var(--on-dark-muted); margin-left: 4px; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav ul a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--on-dark); border-radius: 8px; position: relative; }
.main-nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.main-nav ul a:hover::after, .main-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav ul a[aria-current="page"] { color: var(--gold-light); }
.nav-mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--gold-light); font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--ink-line); background: transparent; color: var(--gold-light); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1060px) { .header-phone span { display: none; } }
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand-mark { width: 44px; }
  .brand-name { font-size: 1.25rem; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); padding: 24px var(--gutter) 40px;
    display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { font-family: var(--serif); font-size: 1.9rem; padding: 14px 0; border-bottom: 1px solid var(--ink-line); border-radius: 0; }
  .main-nav ul a::after { display: none; }
  .nav-mobile-cta .btn { min-height: 54px; }
  .nav-mobile-cta { display: grid; gap: 12px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Media + placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--ink-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(201, 161, 74, .22), transparent 55%),
    linear-gradient(160deg, var(--ink-3) 0%, var(--ink) 70%);
  color: rgba(230, 200, 126, .55);
  display: flex; align-items: flex-end; justify-content: center;
}
.media--ph::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(230, 200, 126, .035) 0 1px, transparent 1px 48px); }
.ph-art { width: 86%; height: 82%; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--ink); min-height: min(88vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg.media--ph .ph-art { width: 70%; height: 78%; margin-left: auto; margin-right: 2%; opacity: .7; }
.hero-bg img { object-position: 70% 30%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--ink-rgb), .94) 0%, rgba(var(--ink-rgb), .82) 38%, rgba(var(--ink-rgb), .25) 68%, rgba(var(--ink-rgb), .05) 100%), linear-gradient(0deg, rgba(var(--ink-rgb), .75), transparent 35%); }
@media (max-width: 900px) {
  /* Mobile: photo as a banner on top, text on dark below (keeps text readable) */
  .hero { display: block; min-height: 0; }
  .hero-bg:not(.media--ph) { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .hero-bg:not(.media--ph) img { object-position: 58% 35%; }
  .hero-bg:not(.media--ph)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--ink-rgb), 0) 55%, var(--ink) 100%); }
  .hero-bg:not(.media--ph) ~ .hero-shade { display: none; }
  .hero-bg:not(.media--ph) ~ .hero-inner { padding-top: 8px; }
}
.hero-inner { padding-top: 72px; padding-bottom: 56px; }
.hero-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 17ch; margin-bottom: 20px; }
.hero-title span { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--on-dark-muted); max-width: 56ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero-search {
  display: grid; gap: 12px; background: rgba(22, 20, 15, .82); border: 1px solid var(--ink-line);
  border-radius: var(--radius); padding: 16px; max-width: 900px; backdrop-filter: blur(8px);
}
.hs-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.hs-field select { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--ink); color: var(--on-dark); border: 1px solid var(--ink-line); border-radius: var(--radius-sm); }
.hero-search .btn { align-self: end; }
@media (min-width: 720px) { .hero-search { grid-template-columns: repeat(3, 1fr) auto; padding: 18px 20px; } }
@media (max-width: 600px) { .hero-cta .btn { flex: 1 1 100%; } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.trust-grid > div { display: flex; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--ink-line); }
.trust-grid > div:last-child { border-bottom: 0; }
.trust-grid .ico { width: 28px; height: 28px; color: var(--gold); }
.trust-grid p { margin: 0; display: flex; flex-direction: column; line-height: 1.35; }
.trust-grid strong { font-size: .95rem; }
.trust-grid span { color: var(--on-dark-muted); font-size: .85rem; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: 1fr 1fr; column-gap: 32px; } .trust-grid > div:nth-last-child(2) { border-bottom: 0; } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } .trust-grid > div { border-bottom: 0; padding: 26px 0; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0 72px; }
.section--alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.demo-note { font-size: .88rem !important; color: var(--muted); margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.demo-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--on-dark); background: var(--ink); min-height: 340px; box-shadow: var(--shadow); isolation: isolate; }
.cat-media { position: absolute; inset: 0; z-index: -2; }
.cat-media img { transition: transform .6s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--ink-rgb), .92) 0%, rgba(var(--ink-rgb), .35) 55%, rgba(var(--ink-rgb), .05) 100%); }
.cat-media.media--ph .ph-art { height: 62%; width: 80%; margin-bottom: 30%; }
.cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.cat-body h3 { font-size: 1.9rem; margin-bottom: 6px; }
.cat-body p { color: var(--on-dark-muted); font-size: .92rem; margin-bottom: 14px; }
.cat-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--gold-light); text-decoration: none; letter-spacing: .02em; }
.cat-link .ico { transition: transform .2s; }
.cat-card:hover .cat-link .ico, .cat-link:hover .ico { transform: translateX(4px); }
.section:not(.section--dark) .path-card .cat-link { color: var(--gold-deep); }

/* ---------- Property cards ---------- */
.prop-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .prop-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .prop-grid { grid-template-columns: repeat(4, 1fr); } .prop-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.prop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.prop-card-img { position: relative; aspect-ratio: 4 / 3; }
.card-media { position: absolute; inset: 0; }
.prop-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(var(--ink-rgb), .78); color: var(--on-dark); backdrop-filter: blur(4px); }
.badge-gold { background: var(--gold-metal); color: #1a1408; }
.badge-demo { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--ink); border: 1px dashed var(--gold-deep); }
.prop-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.prop-loc { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.prop-loc .ico { color: var(--gold-deep); width: 1em; height: 1em; }
.prop-title { font-size: 1.45rem; margin-bottom: 12px; }
.prop-specs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--text); }
.prop-specs li { display: inline-flex; align-items: center; gap: 6px; }
.prop-specs .ico { color: var(--gold-deep); }
.prop-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.prop-price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin: 0; color: var(--ink); line-height: 1; }
.prop-price small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 500; margin-left: 3px; }
.prop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.prop-actions .btn { padding-left: 10px; padding-right: 10px; }

/* Property dialog */
.prop-dialog { width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.prop-dialog::backdrop { background: rgba(8, 7, 5, .75); backdrop-filter: blur(3px); }
.prop-dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(var(--ink-rgb), .8); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.prop-detail { display: grid; }
.prop-detail-img .media { position: relative; inset: auto; aspect-ratio: 4 / 3; }
.prop-detail-info { padding: 24px; }
.prop-detail-info h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prop-price-lg { font-size: 2rem; margin: 6px 0 16px; }
.prop-detail-info .prop-actions { grid-template-columns: 1fr; }
@media (min-width: 800px) {
  .prop-detail { grid-template-columns: 1.1fr 1fr; }
  .prop-detail-img .media { height: 100%; aspect-ratio: auto; min-height: 460px; }
  .prop-detail-info { padding: 36px; }
  .prop-detail-info .prop-actions { grid-template-columns: 1fr 1fr; }
}

.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg); }
.section--dark .ticks li::before { border-color: var(--gold); }

/* ---------- Paths (buyers/sellers) ---------- */
.paths { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .paths { grid-template-columns: repeat(4, 1fr); } }
.path-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.path-card p { color: var(--muted); flex: 1; }
.path-ico { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--gold-light); margin-bottom: 18px; }
.path-ico .ico { width: 24px; height: 24px; }

/* ---------- Split layout ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split-img { border-radius: var(--radius); aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--rev .split-media { order: 2; }
}
.split-text p { font-size: 1.04rem; }
.loc-list { display: grid; gap: 20px; margin-top: 28px; }
.loc-list > div { padding: 22px; border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--ink-2); }
.loc-list h3 { color: var(--gold-light); }
@media (min-width: 600px) { .loc-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Why / services ---------- */
.why-grid, .service-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid, .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); } .service-grid { grid-template-columns: repeat(3, 1fr); } }
.why, .service { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why > .ico, .service > .ico { width: 30px; height: 30px; color: var(--gold-deep); margin-bottom: 18px; }
.why p, .service p { color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 28px; border-top: 2px solid var(--gold); background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); }
.step-n { display: block; font-family: var(--display); font-size: 1.1rem; color: var(--gold-deep); letter-spacing: .12em; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Mission / approach (about) ---------- */
.mission { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.mission .eyebrow { justify-content: center; }
.mission .eyebrow::before { display: none; }
.mission blockquote { margin: 0; }
.mission blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.3; color: var(--on-dark); }
.approach-grid { display: grid; gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.approach-grid > div { background: var(--ink); padding: 28px; }
.approach-grid h3 { color: var(--gold-light); }
.approach-grid p { margin: 0; }
@media (min-width: 640px) { .approach-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .approach-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--ink); color: var(--on-dark); padding: 72px 0 64px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(201, 161, 74, .22), transparent 60%), repeating-linear-gradient(90deg, rgba(230, 200, 126, .035) 0 1px, transparent 1px 64px); }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 340px; height: 260px; z-index: -1; background: url("../images/logo-mark-240.png") no-repeat center / contain; opacity: .08; }
.page-hero h1 { max-width: 18ch; }
.page-hero-lead { color: var(--on-dark-muted); font-size: 1.1rem; max-width: 60ch; margin: 0; }
.page-hero--404 { padding: 110px 0; }
.page-hero--404 .btn-row { margin-top: 28px; }
@media (min-width: 900px) { .page-hero { padding: 104px 0 92px; } }

/* ---------- Filters ---------- */
.filters { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); margin-top: -76px; position: relative; }
.f-field { min-width: 0; }
.f-field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.f-field select { width: 100%; }
.f-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; }
.f-actions .btn { flex: 1; }
@media (min-width: 1000px) { .filters { grid-template-columns: repeat(5, 1fr) auto; align-items: end; padding: 22px; } .f-actions { grid-column: auto; } .f-actions .btn { flex: none; } }
.results-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 28px 0 22px; align-items: center; }
.results-bar p { margin: 0; }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.empty > .ico { width: 40px; height: 40px; color: var(--gold-deep); margin: 0 auto 16px; }
.empty p { color: var(--muted); max-width: 52ch; margin: 0 auto 20px; }

/* ---------- Forms ---------- */
input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #d8cfba; border-radius: var(--radius-sm);
  background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239a772b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.hs-field select { background-repeat: no-repeat; background-position: right 14px center; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23e6c87e' stroke-width='1.6'/%3E%3C/svg%3E"); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 161, 74, .22); }
.enquiry-form { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .enquiry-form { grid-template-columns: 1fr 1fr; } }
.enquiry-form .field-full, .enquiry-form .form-alert, .enquiry-form .form-ref { grid-column: 1 / -1; }
.field { min-width: 0; border: 0; padding: 0; margin: 0; }
.field > label, .field > legend { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.input-prefix { display: flex; }
.input-prefix span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #d8cfba; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--ivory); font-weight: 600; color: var(--muted); }
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.field-error { margin: 6px 0 0; font-size: .84rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error .input-prefix span { border-color: var(--danger); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #d8cfba; border-radius: 999px; font-size: .9rem; font-weight: 600; background: #fff; transition: all .2s; }
.pill input:checked + span { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-deep); flex: none; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-or { margin: 0; font-size: .88rem; color: var(--muted); }
.form-or a { color: var(--gold-deep); font-weight: 700; }
.form-alert { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; }
.form-alert--success { background: #e8f4ec; color: var(--success); border: 1px solid #b9dcc5; }
.form-alert--error { background: #fbeceb; color: var(--danger); border: 1px solid #efc2bf; }
.form-ref { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; background: var(--ivory); border-radius: var(--radius-sm); font-size: .9rem; }
.form-ref .ico { color: var(--gold-deep); }
.enquiry-form button[disabled] { opacity: .7; cursor: progress; }

.enquiry-section { background: linear-gradient(180deg, var(--ivory), var(--paper)); }
.enquiry-wrap { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .enquiry-wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.enquiry-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.contact-quick { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.contact-quick a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.contact-quick .ico { color: var(--gold-deep); }
.enquiry-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .enquiry-card { padding: 34px; } }
.enquiry-card > h2 { font-size: 2rem; }
.privacy-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.privacy-note .ico { color: var(--gold-deep); margin-top: 2px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 360px 1fr; gap: 40px; } .contact-cards { position: sticky; top: calc(var(--header-h) + 20px); } }
.contact-cards { display: grid; gap: 12px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s; }
a.c-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.c-card > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-card strong { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.c-card a { text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.c-card .small-link { font-size: .88rem; color: var(--gold-deep); margin-top: 6px; }
.c-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: flex; align-items: center; justify-content: center; flex: none; }
.c-card--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.c-card--wa strong { color: rgba(255, 255, 255, .8); }
.c-card--wa .c-ico { background: rgba(255, 255, 255, .16); color: #fff; }
.c-card--wa span span { font-weight: 700; font-size: 1.05rem; }
.break { overflow-wrap: anywhere; font-weight: 600; }
.map-section { line-height: 0; background: var(--ink); }
.map-section iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--on-dark); padding: 64px 0; border-top: 1px solid var(--ink-line); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 140% at 0% 50%, rgba(201, 161, 74, .18), transparent 60%); }
.cta-band-inner { position: relative; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--on-dark-muted); margin: 0; }
@media (min-width: 960px) { .cta-band-inner { grid-template-columns: 1fr auto; gap: 48px; } }
@media (max-width: 600px) { .cta-band .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: var(--on-dark-muted); padding-top: 72px; font-size: .94rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr .8fr .8fr 1.3fr; } }
.brand--footer .brand-mark { width: 60px; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-light); margin: 18px 0 8px; }
.footer-h { font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact address { font-style: normal; display: grid; gap: 14px; }
.footer-contact p { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); margin-top: 4px; }
.footer-contact a { padding: 0; overflow-wrap: anywhere; }
.social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 18px 0 0; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-top: 24px; padding-bottom: 100px; font-size: .84rem; display: grid; gap: 6px; }
.footer-bottom p { margin: 0; }
.footer-disclaimer { color: #847b69; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 32px; } }

/* ---------- Floating contact buttons ---------- */
.float-cta { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float-cta a { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .5); transition: transform .2s; }
.float-cta a:hover { transform: scale(1.06); }
.float-cta .ico { width: 28px; height: 28px; }
.float-wa { background: var(--wa); color: #fff; }
.float-call { background: var(--gold-metal); color: #1a1408; }
@media (min-width: 900px) { .float-call { display: none !important; } }

/* ---------- Fixes ---------- */
@media (max-width: 900px) {
  /* backdrop-filter would trap the fixed mobile menu inside the header */
  .site-header { backdrop-filter: none; background: var(--ink); }
  .float-cta a { width: 52px; height: 52px; }
  .float-cta .ico { width: 25px; height: 25px; }
}
.field > label.check { display: flex; font-weight: 500; font-size: .88rem; margin: 0; }
