:root {
  --ink: #0B1F33;
  --ink-2: #132C44;
  --forest: #0B1F33;
  --forest-2: #132C44;
  --sage: #98A2B3;
  --gold: #B08D57;
  --gold-deep: #B08D57;
  --sand: #F7F5F0;
  --cream: #FFFFFF;
  --white: #FFFFFF;
  --muted: #667085;
  --line: #E5E7EB;
  --danger: #a53b33;
  --success: #132C44;
  --shadow: 0 22px 70px rgba(11, 31, 51, 0.13);
  --shadow-soft: 0 12px 38px rgba(11, 31, 51, 0.08);
  --radius: 22px;
  --radius-sm: 13px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.section { padding: 110px 0; }
.section-sm { padding: 76px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-forest { background: var(--forest); color: var(--white); }
.section-sand { background: var(--sand); }
.grid { display: grid; }
.hide { display: none !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-dark .eyebrow, .section-forest .eyebrow { color: #D2B887; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.03;
}
h1 { font-size: clamp(50px, 7vw, 92px); margin-bottom: 24px; }
h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 24px; }
h3 { font-size: 27px; margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.65; color: rgba(255,255,255,.78); max-width: 760px; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.max-copy { max-width: 720px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); transform: translateY(-2px); }
.btn-secondary { border-color: rgba(255,255,255,.38); color: var(--white); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); transform: translateY(-2px); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.inner-header {
  background: rgba(11, 31, 51, .96);
  backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.09);
}
.navbar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 245px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 31px; color: rgba(255,255,255,.83); font-size: 13px; font-weight: 700; }
.nav-links a:not(.btn) { position: relative; padding: 12px 0; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--gold); transition: .25s ease; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-toggle { display: none; width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; }
.nav-toggle span { display: block; width: 19px; height: 1px; background: currentColor; margin: 5px auto; }

.hero {
  min-height: 820px;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11,31,51,.95) 0%, rgba(11,31,51,.72) 52%, rgba(11,31,51,.24) 100%),
    linear-gradient(0deg, rgba(11,31,51,.62), transparent 50%),
    var(--ink);
}
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 25%, rgba(176,141,87,.17), transparent 34%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, rgba(11,31,51,.58)); }
.hero-content { position: relative; z-index: 2; padding: 205px 0 105px; width: min(850px, 76%); }
.hero h1 span { color: #D2B887; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.hero-stats {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 100px;
  width: 310px;
  padding: 29px;
  background: rgba(11,31,51,.78);
  border: 1px solid rgba(255,255,255,.17);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}
.hero-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-stat:last-child { border-bottom: 0; }
.hero-stat strong { font-family: Georgia, serif; font-size: 27px; font-weight: 500; color: var(--gold); }
.hero-stat span { color: rgba(255,255,255,.66); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.scroll-cue { position: absolute; left: 32px; bottom: 34px; z-index: 3; writing-mode: vertical-rl; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }

.intro-grid { grid-template-columns: 1fr 1fr; gap: 82px; align-items: center; }
.intro-copy p { color: var(--muted); font-size: 17px; }
.arch-card {
  min-height: 610px;
  position: relative;
  border-radius: 220px 220px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--ink-2) center/cover;
}
.arch-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(11,31,51,.90)); }
.arch-note { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 32px; color: white; }
.arch-note strong { display: block; font-family: Georgia, serif; font-weight: 500; font-size: 31px; line-height: 1.15; }
.arch-note span { display: block; margin-top: 9px; color: rgba(255,255,255,.71); }

.services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.service-card { min-height: 320px; padding: 31px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.035); transition: .3s ease; }
.service-card:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(176,141,87,.5); }
.service-number { display: flex; justify-content: space-between; align-items: center; color: var(--gold); font-size: 12px; letter-spacing: .14em; }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(176,141,87,.45); }
.service-icon svg { width: 20px; }
.service-card h3 { color: #fff; margin-top: 62px; }
.service-card p { color: rgba(255,255,255,.6); margin-bottom: 0; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; max-width: 790px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 34px; }
.filter-btn { border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 10px 16px; font-size: 12px; font-weight: 800; }
.filter-btn.active, .filter-btn:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }

.property-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.property-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); transition: .3s ease; }
.property-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.property-media { position: relative; height: 290px; overflow: hidden; background: #E5E7EB; }
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.property-card:hover .property-media img { transform: scale(1.055); }
.property-badge { position: absolute; left: 18px; top: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(11,31,51,.88); color: #fff; backdrop-filter: blur(9px); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.property-body { padding: 25px; }
.property-location { color: var(--gold-deep); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.property-card h3 { font-size: 25px; margin: 8px 0 10px; }
.property-card p { color: var(--muted); font-size: 14px; min-height: 68px; }
.property-meta { padding-top: 15px; margin-top: 18px; display: flex; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.property-link { position: absolute; inset: 0; z-index: 2; text-indent: -9999px; }
.loading-card { min-height: 500px; border-radius: var(--radius); background: linear-gradient(100deg, #E5E7EB 30%, #F7F5F0 45%, #E5E7EB 60%); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position-x: -220%; } }
.empty-state { grid-column: 1 / -1; padding: 60px 30px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.mission-grid { grid-template-columns: .82fr 1.18fr; gap: 85px; align-items: start; }
.mission-label { position: sticky; top: 130px; }
.mission-label .quote-mark { display: block; font-family: Georgia, serif; font-size: 120px; height: 75px; line-height: 1; color: rgba(176,141,87,.42); }
.mission-copy { display: grid; gap: 45px; }
.mission-block { padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,.14); }
.mission-block:last-child { border: 0; padding-bottom: 0; }
.mission-block p { color: rgba(255,255,255,.68); font-size: 17px; }

.values-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 45px; }
.value-card { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.58); }
.value-index { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--gold); font-family: Georgia, serif; }
.value-card h3 { font-size: 21px; margin-bottom: 6px; }
.value-card p { color: var(--muted); margin-bottom: 0; font-size: 14px; }

.process-grid { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 45px; }
.process-card { position: relative; padding: 30px 30px 30px 0; border-top: 1px solid rgba(255,255,255,.2); }
.process-card:not(:last-child)::after { content: ""; position: absolute; right: 20px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.process-card small { color: var(--gold); font-weight: 800; letter-spacing: .13em; }
.process-card h3 { color: #fff; margin-top: 34px; font-size: 23px; }
.process-card p { color: rgba(255,255,255,.58); font-size: 14px; }

.testimonial-wrap { grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.testimonial-quote { font-family: Georgia, serif; font-size: clamp(29px, 4vw, 48px); line-height: 1.28; letter-spacing: -.025em; }
.testimonial-author { margin-top: 27px; color: var(--muted); font-size: 13px; }
.testimonial-author strong { color: var(--ink); display: block; font-size: 15px; }
.testimonial-image { height: 470px; border-radius: var(--radius); background: var(--ink-2) center/cover; box-shadow: var(--shadow); }

.cta-panel { position: relative; overflow: hidden; padding: 80px; border-radius: 30px; background: var(--forest); color: #fff; }
.cta-panel::after { content: "V"; position: absolute; right: -20px; bottom: -145px; font-family: Georgia, serif; font-size: 430px; line-height: 1; color: rgba(255,255,255,.035); }
.cta-panel > * { position: relative; z-index: 2; }
.cta-panel h2 { max-width: 800px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }

.contact-grid { grid-template-columns: .86fr 1.14fr; gap: 75px; align-items: start; }
.contact-details { margin-top: 40px; display: grid; gap: 20px; }
.contact-detail { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-detail span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.contact-detail strong { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.form-card { padding: 38px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.form-grid { grid-template-columns: 1fr 1fr; gap: 17px; }
.form-group { display: grid; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 12px; font-weight: 800; color: var(--ink); }
.form-control { width: 100%; min-height: 50px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); border-radius: 10px; padding: 12px 14px; outline: none; transition: .2s ease; }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.14); }
.field-error { color: var(--danger); font-size: 11px; min-height: 16px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: 10px; font-size: 13px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(19,44,68,.10); color: var(--success); }
.form-status.error { background: rgba(165,59,51,.1); color: var(--danger); }

.site-footer { background: #071522; color: #fff; padding: 78px 0 26px; }
.footer-grid { grid-template-columns: 1.4fr .7fr .7fr .9fr; gap: 48px; }
.footer-logo img { width: 245px; }
.footer-copy { color: rgba(255,255,255,.52); max-width: 420px; margin-top: 19px; font-size: 14px; }
.footer-title { color: #D2B887; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 17px; }
.footer-links { display: grid; gap: 11px; color: rgba(255,255,255,.65); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 11px; }

.inner-hero { min-height: 520px; display: flex; align-items: flex-end; padding: 180px 0 75px; position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.inner-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,51,.96), rgba(11,31,51,.52)), var(--page-image, none) center/cover no-repeat; }
.inner-hero-content { position: relative; z-index: 2; max-width: 900px; }
.inner-hero h1 { font-size: clamp(46px, 6vw, 78px); }
.inner-hero p { color: rgba(255,255,255,.68); font-size: 18px; max-width: 700px; }

.property-detail-hero { min-height: 680px; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 20px; }
.detail-badge { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 12px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.property-detail-grid { grid-template-columns: 1.3fr .7fr; gap: 85px; align-items: start; }
.property-detail-copy p { color: var(--muted); font-size: 17px; }
.detail-facts { position: sticky; top: 120px; padding: 30px; border-radius: var(--radius); background: var(--sand); }
.fact { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.fact strong { display: block; margin-top: 4px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; }

/* Admin */
.admin-body { background: #F7F5F0; min-height: 100vh; }
.admin-login-screen { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 15% 10%, #132C44, transparent 36%), #071522; }
.login-card { width: min(100%, 460px); background: #fff; padding: 42px; border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.login-card img { width: 230px; margin: 0 auto 25px; }
.login-card h1 { font-size: 38px; text-align: center; }
.login-card p { text-align: center; color: var(--muted); margin-bottom: 28px; }
.login-card .form-group { margin-bottom: 15px; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 270px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 30px 22px; background: #071522; color: #fff; }
.admin-sidebar img { width: 215px; margin-bottom: 42px; }
.admin-nav { display: grid; gap: 8px; }
.admin-nav button { width: 100%; text-align: left; border: 0; padding: 13px 14px; color: rgba(255,255,255,.63); background: transparent; border-radius: 9px; font-size: 13px; font-weight: 700; }
.admin-nav button.active, .admin-nav button:hover { background: rgba(255,255,255,.09); color: #fff; }
.admin-sidebar-footer { position: absolute; left: 22px; right: 22px; bottom: 25px; }
.admin-main { padding: 38px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 32px; }
.admin-top h1 { font-size: 42px; margin: 0; }
.admin-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 30px rgba(11,31,51,.06); padding: 25px; }
.admin-stats { grid-template-columns: repeat(3, 1fr); gap: 17px; margin-bottom: 24px; }
.stat-card { padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(11,31,51,.06); }
.stat-card span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stat-card strong { display: block; margin-top: 9px; font-family: Georgia, serif; font-size: 39px; font-weight: 500; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 19px; }
.admin-toolbar .form-control { max-width: 320px; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding: 12px; }
.admin-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.table-title { font-weight: 800; }
.table-sub { color: var(--muted); font-size: 11px; }
.status-pill { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: #F7F5F0; color: var(--forest); font-size: 10px; font-weight: 800; }
.action-row { display: flex; gap: 7px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.icon-btn:hover { border-color: var(--forest); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }

.modal-backdrop { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; background: rgba(7,21,34,.72); backdrop-filter: blur(7px); }
.modal-backdrop.show { display: grid; }
.modal { width: min(100%, 880px); max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 22px; padding: 30px; box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
.modal-head h2 { font-size: 35px; margin: 0; }
.close-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 21px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.admin-form-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
.admin-form-grid .wide { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 11px; }
.inquiry-message { max-width: 420px; white-space: normal; color: var(--muted); }
.admin-mobile-top { display: none; }
.toast { position: fixed; z-index: 500; right: 25px; bottom: 25px; max-width: 380px; padding: 14px 18px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; display: grid; align-content: center; justify-items: center; gap: 22px; background: #071522; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: .3s ease; font-size: 18px; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .hero-content { width: 100%; padding-bottom: 280px; }
  .hero-stats { left: 20px; right: 20px; bottom: 70px; width: auto; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stat { display: block; border: 0; border-right: 1px solid rgba(255,255,255,.14); padding: 4px 18px; }
  .hero-stat:last-child { border-right: 0; }
  .hero-stat span { display: block; margin-top: 5px; }
  .intro-grid, .mission-grid, .contact-grid, .testimonial-wrap, .property-detail-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-label, .detail-facts { position: static; }
  .services-grid, .property-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; position: fixed; inset: 0 auto 0 0; z-index: 200; width: 270px; }
  .admin-sidebar.open { display: block; }
  .admin-main { padding-top: 90px; }
  .admin-mobile-top { display: flex; position: fixed; z-index: 190; inset: 0 0 auto; height: 68px; padding: 0 20px; align-items: center; justify-content: space-between; background: #071522; }
  .admin-mobile-top img { width: 190px; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 82px 0; }
  .section-sm { padding: 60px 0; }
  .navbar { height: 76px; }
  .logo img { width: 205px; }
  .hero { min-height: 840px; }
  .hero-content { padding-top: 145px; padding-bottom: 310px; }
  .hero-stats { grid-template-columns: 1fr; padding: 18px 23px; bottom: 45px; }
  .hero-stat { display: flex; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); padding: 10px 0; }
  .hero-stat:last-child { border: 0; }
  .scroll-cue { display: none; }
  .arch-card { min-height: 480px; }
  .services-grid, .property-grid, .values-grid, .process-grid, .form-grid, .admin-form-grid, .admin-stats { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading .btn { margin-top: 20px; }
  .service-card { min-height: 270px; }
  .service-card h3 { margin-top: 38px; }
  .process-card:not(:last-child)::after { display: none; }
  .cta-panel { padding: 46px 27px; }
  .form-card { padding: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; }
  .property-detail-hero { min-height: 600px; }
  .admin-main { padding: 92px 14px 30px; }
  .admin-top { align-items: flex-start; }
  .admin-top h1 { font-size: 34px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-toolbar .form-control { max-width: none; }
  .modal { padding: 22px; }
}

/* ========================================================================== 
   2026 Experience Upgrade — Dynamic hero, portfolio intelligence & motion
   ========================================================================== */
.hero-slider {
  min-height: 860px;
  display: block;
  background: var(--ink);
  isolation: isolate;
}
.hero-slider::before,
.hero-slider::after { pointer-events: none; z-index: 4; }
.hero-slides { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity .8s ease, visibility .8s ease, transform 7s ease;
  background:
    linear-gradient(90deg, rgba(11,31,51,.96) 0%, rgba(11,31,51,.76) 44%, rgba(11,31,51,.30) 100%),
    linear-gradient(0deg, rgba(11,31,51,.72), transparent 55%),
    var(--hero-image) center/cover no-repeat;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 24%, rgba(176,141,87,.20), transparent 30%);
}
.hero-slide.active { opacity: 1; visibility: visible; transform: scale(1); z-index: 2; }
.hero-slide-inner { height: 100%; min-height: 860px; display: flex; align-items: flex-end; }
.hero-slider .hero-content {
  padding: 200px 0 150px;
  width: min(850px, 72%);
  animation: heroContentIn .8s .1s both;
}
.hero-slide:not(.active) .hero-content { animation: none; }
@keyframes heroContentIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-interface {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  pointer-events: none;
}
.hero-interface > * { pointer-events: auto; }
.hero-pagination { display: flex; align-items: center; gap: 7px; }
.hero-dot {
  width: 56px;
  height: 32px;
  position: relative;
  padding: 0;
  border: 0;
  color: rgba(255,255,255,.48);
  background: transparent;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: left;
}
.hero-dot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: rgba(255,255,255,.2);
}
.hero-dot::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .35s ease;
}
.hero-dot.active { color: #fff; }
.hero-dot.active::before { width: 100%; }
.hero-controls { display: flex; align-items: center; gap: 13px; }
.hero-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(11,31,51,.48);
  backdrop-filter: blur(12px);
  color: #fff;
  transition: .25s ease;
}
.hero-control:hover { border-color: var(--gold); background: rgba(19,44,68,.82); transform: translateY(-2px); }
.hero-counter { display: flex; align-items: center; gap: 8px; min-width: 86px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .09em; }
.hero-counter i { width: 27px; height: 1px; background: rgba(255,255,255,.28); }
.hero-progress { position: absolute; z-index: 9; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.08); }
.hero-progress span { display: block; width: 0; height: 100%; background: var(--gold); }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }
.hero-slider .hero-stats { bottom: 126px; }
.hero-slider .scroll-cue { bottom: 84px; }

.portfolio-intelligence { background: #132C44; color: #fff; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.portfolio-intelligence-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); min-height: 146px; align-items: stretch; }
.portfolio-intro,
.portfolio-metric { display: flex; flex-direction: column; justify-content: center; padding: 28px 26px; border-right: 1px solid rgba(255,255,255,.09); }
.portfolio-intro { padding-left: 0; }
.portfolio-intro span,
.portfolio-metric span { color: rgba(255,255,255,.48); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.portfolio-intro strong { margin-top: 7px; max-width: 260px; font-family: Georgia, serif; font-size: 21px; font-weight: 500; line-height: 1.2; }
.portfolio-metric strong { margin-bottom: 7px; color: #D2B887; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 39px); font-weight: 500; line-height: 1; }
.portfolio-intelligence-grid > :last-child { border-right: 0; }

.portfolio-tools { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 13px; }
.portfolio-tools .filter-row { margin-bottom: 0; flex: 1; }
.filter-btn { display: inline-flex; align-items: center; gap: 7px; }
.filter-btn [data-filter-count]:not(:empty) {
  min-width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(11,31,51,.08);
  font-size: 9px;
}
.filter-btn.active [data-filter-count]:not(:empty),
.filter-btn:hover [data-filter-count]:not(:empty) { background: rgba(255,255,255,.14); }
.filter-btn.has-zero { opacity: .42; cursor: default; }
.property-search {
  width: min(100%, 310px);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  transition: .2s ease;
}
.property-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.12); }
.property-search svg { width: 17px; flex: 0 0 17px; color: var(--muted); }
.property-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.property-search input::placeholder { color: #98A2B3; }
.portfolio-result-line { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 23px; color: var(--muted); font-size: 12px; }
.text-action { border: 0; padding: 0; background: transparent; color: var(--gold-deep); font-size: 12px; font-weight: 800; }
.featured-badge { position: absolute; right: 18px; top: 18px; z-index: 1; padding: 8px 11px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.property-view { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--forest); font-size: 12px; font-weight: 800; }
.property-view b { font-size: 15px; transition: transform .25s ease; }
.property-card:hover .property-view b { transform: translate(2px,-2px); }
.property-card:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }

.reveal-item { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--reveal-delay, 0ms) ease, transform .7s var(--reveal-delay, 0ms) ease; }
.reveal-item.revealed { opacity: 1; transform: none; }

.floating-contact {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px 7px 7px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  box-shadow: 0 18px 50px rgba(11,31,51,.24);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: .25s ease;
}
.floating-contact:hover { transform: translateY(-3px); background: var(--forest-2); }
.floating-contact-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 17px; }
.back-to-top {
  position: fixed;
  z-index: 79;
  right: 25px;
  bottom: 84px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .25s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 1024px) {
  .hero-slider, .hero-slide-inner { min-height: 900px; }
  .hero-slider .hero-content { width: 100%; padding-bottom: 300px; }
  .hero-slider .hero-stats { bottom: 92px; }
  .hero-interface { bottom: 27px; }
  .hero-pagination { display: none; }
  .portfolio-intelligence-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-intro { grid-column: 1 / -1; min-height: 105px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); padding-left: 0; }
  .portfolio-tools { flex-direction: column; }
  .property-search { width: 100%; max-width: none; }
}

@media (max-width: 720px) {
  .hero-slider, .hero-slide-inner { min-height: 900px; }
  .hero-slider .hero-content { padding-top: 138px; padding-bottom: 330px; }
  .hero-slider .hero-stats { bottom: 77px; }
  .hero-interface { bottom: 19px; justify-content: flex-end; }
  .hero-controls { width: 100%; justify-content: flex-end; }
  .hero-counter { min-width: 78px; }
  .portfolio-intelligence-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-intro { grid-column: 1 / -1; padding: 24px 0; }
  .portfolio-metric { min-height: 106px; padding: 20px 15px; border-bottom: 1px solid rgba(255,255,255,.09); }
  .portfolio-metric:nth-child(3), .portfolio-metric:nth-child(5) { border-right: 0; }
  .portfolio-tools .filter-row { flex-wrap: nowrap; width: calc(100vw - 28px); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .portfolio-tools .filter-row::-webkit-scrollbar { display: none; }
  .filter-btn { flex: 0 0 auto; }
  .floating-contact { right: 14px; bottom: 14px; padding-right: 8px; }
  .floating-contact > span:last-child { display: none; }
  .back-to-top { right: 15px; bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-item { opacity: 1; transform: none; }
}

/* Admin CMS additions */
.admin-stats { grid-template-columns: repeat(4, 1fr); }
.admin-media-thumb { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.admin-media-thumb img { width: 76px; height: 52px; flex: 0 0 76px; object-fit: cover; border-radius: 8px; background: #E5E7EB; }
.status-pill.status-muted { background: #F7F5F0; color: #667085; }
@media (max-width: 1024px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .admin-stats { grid-template-columns: 1fr; } }

/* Keep the floating conversion CTA out of the hero until the visitor scrolls. */
.floating-contact { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; }
.floating-contact.show { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.floating-contact.show:hover { transform: translateY(-3px); }


/* =========================================================
   Vertusma client-approved brand system — August 2026
   Core: Deep Navy #0B1F33 + White #FFFFFF + Heritage Gold #B08D57
   ========================================================= */
:root {
  --body: #30343B;
  --muted-2: #98A2B3;
  --footer: #071522;
  --footer-copy: #B8C0CA;
  --gold-soft: #D2B887;
  --gold-hover: #967440;
}

body { color: var(--body); background: var(--white); }
::selection { background: var(--gold); color: var(--white); }
.section-sand { background: #F7F5F0; }
.section-dark { background: #0B1F33; }
.section-forest { background: #132C44; }

/* Navy headings on light surfaces; white headings remain on dark brand sections. */
.section:not(.section-dark):not(.section-forest) h1,
.section:not(.section-dark):not(.section-forest) h2,
.section:not(.section-dark):not(.section-forest) h3,
.section:not(.section-dark):not(.section-forest) h4,
.property-card h3,
.admin-main h1, .admin-main h2, .admin-main h3,
.login-card h1, .login-card h2, .login-card h3 { color: #0B1F33; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-forest h1, .section-forest h2, .section-forest h3, .section-forest h4,
.hero h1, .inner-hero h1 { color: #FFFFFF; }
.text-muted, .intro-copy p, .property-card p, .property-meta, .property-detail-copy p { color: #667085; }

/* Buttons: primary = navy; premium = heritage gold. */
.btn-primary { background: #0B1F33; color: #FFFFFF; border-color: #0B1F33; }
.btn-primary:hover { background: #132C44; border-color: #132C44; color: #FFFFFF; transform: translateY(-2px); }
.btn-premium { background: #B08D57; color: #FFFFFF; border-color: #B08D57; }
.btn-premium:hover { background: #967440; border-color: #967440; color: #FFFFFF; transform: translateY(-2px); }
.btn-outline { border-color: #E5E7EB; color: #0B1F33; background: transparent; }
.btn-outline:hover { border-color: #0B1F33; color: #0B1F33; background: #F7F5F0; }

/* Navigation */
.site-header.scrolled, .site-header.inner-header { background: rgba(11,31,51,.97); }
.nav-links a:not(.btn)::after { background: #B08D57; }

/* Hero + premium dark surfaces */
.hero-slide::before { background: radial-gradient(circle at 76% 24%, rgba(176,141,87,.20), transparent 30%); }
.hero-stats { background: rgba(11,31,51,.80); }
.hero-stat strong, .portfolio-metric strong { color: #D2B887; }
.portfolio-intelligence { background: #132C44; }
.service-card:hover { border-color: rgba(176,141,87,.55); }
.service-icon { border-color: rgba(176,141,87,.48); }
.cta-panel { background: #0B1F33; }

/* Property cards */
.property-card { border: 1px solid #E5E7EB; background: #FFFFFF; box-shadow: 0 12px 38px rgba(11,31,51,.07); }
.property-card:hover { box-shadow: 0 22px 70px rgba(11,31,51,.13); }
.property-card h3 { color: #0B1F33; }
.property-location, .text-action { color: #B08D57; }
.property-badge { background: rgba(11,31,51,.90); color: #FFFFFF; }
.featured-badge { background: #B08D57; color: #FFFFFF; }
.property-view { color: #0B1F33; }
.filter-btn { border-color: #E5E7EB; color: #667085; }
.filter-btn.active, .filter-btn:hover { background: #0B1F33; border-color: #0B1F33; color: #FFFFFF; }
.property-search { border-color: #E5E7EB; background: #FFFFFF; }
.property-search:focus-within, .form-control:focus { border-color: #B08D57; box-shadow: 0 0 0 3px rgba(176,141,87,.12); }

/* Forms */
.form-control { border-color: #E5E7EB; background: #FFFFFF; color: #30343B; }
.form-control::placeholder { color: #98A2B3; }
label { color: #30343B; }

/* Footer */
.site-footer { background: #071522; color: #FFFFFF; }
.footer-title { color: #FFFFFF; }
.footer-links { color: #B8C0CA; }
.footer-links a { color: #D2B887; }
.footer-links a:hover { color: #FFFFFF; }
.footer-copy, .site-footer p { color: #B8C0CA; }
.footer-bottom { color: #98A2B3; border-top-color: rgba(255,255,255,.10); }

/* Admin/CMS follows the same brand language. */
.admin-body { background: #F7F5F0; }
.admin-login-screen { background: radial-gradient(circle at 15% 10%, #132C44, transparent 36%), #071522; }
.admin-sidebar, .admin-mobile-top { background: #071522; }
.admin-nav button.active, .admin-nav button:hover { background: #132C44; }
.admin-card, .stat-card, .login-card, .modal { background: #FFFFFF; }
.status-pill { background: #F7F5F0; color: #0B1F33; }

/* Utility / floating actions */
.floating-contact { background: #0B1F33; color: #FFFFFF; box-shadow: 0 18px 50px rgba(11,31,51,.24); }
.floating-contact:hover { background: #132C44; }
.floating-contact-icon { background: #B08D57; color: #FFFFFF; }
.back-to-top { color: #0B1F33; border-color: #E5E7EB; }

/* =========================================================
   Dynamic CMS theme overrides
   Values are controlled from Admin > Branding & Theme.
   ========================================================= */
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); }
.section-forest { background: var(--ink-2); }
.section:not(.section-dark):not(.section-forest) h1,
.section:not(.section-dark):not(.section-forest) h2,
.section:not(.section-dark):not(.section-forest) h3,
.section:not(.section-dark):not(.section-forest) h4,
.property-card h3,
.admin-main h1, .admin-main h2, .admin-main h3,
.login-card h1, .login-card h2, .login-card h3 { color: var(--ink); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4,
.section-forest h1, .section-forest h2, .section-forest h3, .section-forest h4,
.hero h1, .inner-hero h1 { color: var(--white); }
.text-muted, .intro-copy p, .property-card p, .property-meta, .property-detail-copy p { color: var(--muted); }
.btn-primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.btn-premium { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--sand); }
.site-header.scrolled, .site-header.inner-header { background: color-mix(in srgb, var(--ink) 97%, transparent); }
.nav-links a:not(.btn)::after { background: var(--gold); }
.hero-stat strong, .portfolio-metric strong { color: var(--gold-soft); }
.portfolio-intelligence { background: var(--ink-2); }
.cta-panel { background: var(--ink); }
.property-card { border-color: var(--line); background: var(--white); }
.property-card h3, .property-view { color: var(--ink); }
.property-location, .text-action, .property-price { color: var(--gold); }
.property-price { font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 600; margin: -4px 0 10px; }
.property-badge { background: color-mix(in srgb, var(--ink) 90%, transparent); color: var(--white); }
.featured-badge { background: var(--gold); color: var(--white); }
.filter-btn { border-color: var(--line); color: var(--muted); }
.filter-btn.active, .filter-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.property-search, .form-control { border-color: var(--line); background: var(--white); color: var(--body); }
.form-control::placeholder { color: var(--muted-2); }
.form-control:focus, .property-search:focus-within { border-color: var(--gold); }
.site-footer { background: var(--footer); color: var(--white); }
.footer-title { color: var(--white); }
.footer-links, .footer-copy, .site-footer p { color: var(--footer-copy); }
.footer-links a { color: var(--gold-soft); }
.floating-contact { background: var(--ink); color: var(--white); }
.floating-contact:hover { background: var(--ink-2); }
.floating-contact-icon { background: var(--gold); color: var(--white); }

/* CMS-created homepage sections */
.custom-section-grid { grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); gap: 64px; align-items: center; }
.custom-section-copy { max-width: 720px; }
.custom-section-copy p { color: var(--muted); font-size: 17px; }
.section-dark .custom-section-copy p, .section-forest .custom-section-copy p { color: rgba(255,255,255,.74); }
.custom-section-image img { width: 100%; min-height: 380px; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.custom-section-copy .btn { margin-top: 14px; }

/* Expanded admin CMS */
.admin-card + .admin-card { margin-top: 22px; }
.cms-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cms-form-grid .wide { grid-column: 1 / -1; }
.cms-section-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.cms-section-heading h3 { margin-bottom: 5px; }
.cms-save-bar { position: sticky; bottom: 18px; z-index: 20; margin-top: 24px; padding: 14px 16px; display: flex; justify-content: flex-end; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--white) 94%, transparent); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); }
.repeater-list { display: grid; gap: 12px; }
.repeater-row { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(180px, 1.3fr) auto; gap: 10px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--sand); }
.repeater-row.repeater-wide { grid-template-columns: minmax(180px,.65fr) minmax(240px,1.35fr) auto; }
.repeater-actions { display: flex; gap: 6px; align-items: center; }
.repeater-actions button { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.repeater-actions button:hover { border-color: var(--gold); }
.upload-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.upload-control { position: relative; overflow: hidden; }
.upload-control input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.image-preview { width: 120px; height: 78px; object-fit: cover; border: 1px solid var(--line); border-radius: 10px; background: var(--sand); }
.admin-help { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.color-field { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; }
.color-field input[type=color] { width: 54px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 3px; }
.cms-badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: var(--sand); color: var(--ink); font-size: 11px; font-weight: 800; }

@media (max-width: 900px) {
  .custom-section-grid, .cms-form-grid { grid-template-columns: 1fr; }
  .cms-form-grid .wide { grid-column: auto; }
  .repeater-row, .repeater-row.repeater-wide { grid-template-columns: 1fr; }
  .repeater-actions { justify-content: flex-end; }
}
.custom-page-grid { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr); gap: 64px; align-items: start; }
.custom-page-aside:empty { display: none; }
.custom-page-cta { padding: 32px; position: sticky; top: 110px; }
.custom-page-cta h3 { color: var(--white); font-size: 30px; }
.admin-sidebar { overflow-y: auto; }
.admin-sidebar-footer { position: static; margin-top: 22px; }
@media(max-width:900px){.custom-page-grid{grid-template-columns:1fr}.custom-page-cta{position:static}}
.btn-premium:hover { background: color-mix(in srgb, var(--gold) 84%, black); border-color: color-mix(in srgb, var(--gold) 84%, black); color: var(--white); }
.admin-body { background: var(--sand); }
.admin-login-screen { background: radial-gradient(circle at 15% 10%, var(--ink-2), transparent 36%), var(--footer); }
.admin-sidebar, .admin-mobile-top { background: var(--footer); }
.admin-nav button.active, .admin-nav button:hover { background: var(--ink-2); }
.admin-card, .stat-card, .login-card, .modal { background: var(--white); }
.status-pill { background: var(--sand); color: var(--ink); }


/* Diverse people + media showcase ----------------------------------------- */
.inclusive-media-section{background:var(--sand)}
.inclusive-media-heading{align-items:end}
.inclusive-media-description{max-width:520px;color:var(--muted);font-size:1rem;line-height:1.75;margin:0}
.inclusive-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.experience-media-card{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 18px 48px rgba(11,31,51,.08);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.experience-media-card:hover{transform:translateY(-5px);box-shadow:0 24px 62px rgba(11,31,51,.13);border-color:color-mix(in srgb,var(--gold) 42%,var(--line))}
.experience-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--ink)}
.experience-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
.experience-media-card:hover .experience-media img{transform:scale(1.035)}
.experience-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(7,21,34,.45));pointer-events:none}
.media-play{position:absolute;left:20px;bottom:18px;z-index:2;border:0;border-radius:999px;background:rgba(255,255,255,.95);color:var(--ink);min-height:48px;padding:8px 16px 8px 10px;display:flex;align-items:center;gap:10px;cursor:pointer;box-shadow:0 12px 28px rgba(0,0,0,.18);font:inherit;font-weight:700}
.media-play span{width:32px;height:32px;border-radius:50%;background:var(--gold);color:#fff;display:grid;place-items:center;font-size:.76rem;padding-left:2px}
.media-play small{font-size:.76rem;letter-spacing:.02em}
.media-play:hover{background:var(--ink);color:#fff}
.experience-media-body{padding:24px 24px 26px}
.experience-media-body>span{display:inline-flex;color:var(--gold);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:11px}
.experience-media-body h3{margin:0 0 10px;color:var(--ink);font-size:1.28rem}
.experience-media-body p{margin:0;color:var(--muted);line-height:1.7}
.media-modal{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.media-modal.show{opacity:1;visibility:visible}
.media-modal-backdrop{position:absolute;inset:0;background:rgba(4,14,24,.82);backdrop-filter:blur(8px)}
.media-modal-dialog{position:relative;z-index:2;width:min(980px,100%);background:var(--ink);border:1px solid rgba(210,184,135,.28);border-radius:22px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.48)}
.media-modal-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;color:#fff}
.media-modal-top .eyebrow{color:var(--gold-soft);margin-bottom:4px}
.media-modal-top h3{margin:0;color:#fff;font-size:1.35rem}
.media-modal-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;font-size:1.6rem;cursor:pointer}
.media-modal video{display:block;width:100%;max-height:72vh;background:#000}
.media-modal-open{overflow:hidden}
@media(max-width:980px){.inclusive-media-grid{grid-template-columns:1fr 1fr}.inclusive-media-description{max-width:none}}
@media(max-width:680px){.inclusive-media-grid{grid-template-columns:1fr}.inclusive-media-heading{align-items:start}.media-play small{display:none}.media-play{padding-right:10px}.media-modal{padding:12px}.media-modal-top{padding:16px}.media-modal video{max-height:62vh}}


/* ---------------------------------------------------------------------------
   SEO additions: hero headings, breadcrumbs, footer NAP, HTML sitemap
   (the hero/about/testimonial image fallbacks above no longer download a
   hidden 2200px photo on every visit, which helps mobile PageSpeed)
--------------------------------------------------------------------------- */
.hero .hero-heading { font-size: clamp(50px, 7vw, 92px); margin-bottom: 24px; color: var(--white); }
.hero .hero-heading span { color: #D2B887; }

.breadcrumbs { margin-bottom: 22px; font-size: 13px; letter-spacing: .02em; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { color: rgba(255,255,255,.72); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.4); }
.breadcrumbs a { color: #D2B887; text-decoration: none; }
.breadcrumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #FFFFFF; }
.page-hero { min-height: 460px; }

.footer-seo { margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; font-size: 13px; }
.footer-nap { font-style: normal; color: #B8C0CA; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-nap strong { color: #FFFFFF; font-weight: 600; }
.footer-nap i { font-style: normal; color: rgba(255,255,255,.3); }
.footer-nap a, .footer-sitemap a { color: #D2B887; }
.footer-sitemap { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-sitemap a:hover, .footer-nap a:hover { color: #FFFFFF; }
.footer-seo + .footer-bottom { margin-top: 24px; }

.sitemap-heading { font-size: clamp(26px, 3vw, 34px); margin: 36px 0 14px; }
.sitemap-heading:first-child { margin-top: 0; }
.sitemap-list { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 9px; }
.sitemap-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sitemap-list a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer-seo { flex-direction: column; }
  .page-hero { min-height: 400px; }
}
