/* Bode Global Properties Limited — live stylesheet
   Palette from brand flyer. Custom CSS, not Bootstrap/Extendify. */

:root {
  --navy: #000D1E;
  --navy-2: #071528;
  --gold: #B78025;
  --gold-soft: #d4a44a;
  --white: #FFFFFF;
  --charcoal: #1A1C1F;
  --cream: #F6F3EC;
  --muted: #4a4e55;
  --rule: rgba(183, 128, 37, 0.45);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --display: "Cinzel", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  --measure: 70ch;
  --wrap: 1120px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-soft); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.85rem 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--white);
  min-width: 0;
}
.brand:hover { color: var(--white); }
.brand img {
  height: 72px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
}
.wordmark-main {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.16em;
  line-height: 1.15;
  text-transform: uppercase;
}
.wordmark-sub {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.wordmark-sub::before,
.wordmark-sub::after {
  content: "";
  display: block;
  height: 1px;
  width: 1.15rem;
  background: var(--gold);
  flex-shrink: 0;
}
.wordmark-tagline {
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-transform: none;
  line-height: 1.25;
  margin-top: 0.28rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  align-items: center;
}
.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Layout */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.4rem;
}
.prose { max-width: var(--measure); }
.prose p, .prose li, .prose h1, .prose h2, .prose h3 { max-width: var(--measure); }

.section {
  padding: 4rem 0;
}
.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
.section-navy h1,
.section-navy h2,
.section-navy h3,
.page-hero h1 {
  color: var(--white);
}
.lede, p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.section-navy .muted { color: rgba(255,255,255,0.72); }

.tagline {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.gold-rule {
  width: 4.5rem;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0 0 1.4rem;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 0.75rem;
  font-family: var(--display);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 600;
}
.section-kicker::before,
.section-kicker::after {
  content: "";
  height: 1px;
  background: var(--gold);
  flex: 1;
  opacity: 0.7;
}
.section-kicker.left::before { flex: 0 0 2.2rem; }
.section-kicker.left::after { display: none; }
.section-navy .section-kicker::before,
.section-navy .section-kicker::after { background: var(--gold); }

.section-intro {
  max-width: var(--measure);
  margin: 0 auto 2.4rem;
  text-align: center;
}
.section-intro.left { margin-left: 0; text-align: left; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.btn:hover {
  background: var(--gold-soft);
  color: var(--navy);
  border-color: var(--gold-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero */
.hero {
  background:
    linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, var(--gold), transparent 80%);
  opacity: 0.85;
}
.hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: linear-gradient(180deg, transparent 20%, var(--gold));
  opacity: 0.85;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 4.2rem 0 4.4rem;
}
.hero-copy {
  max-width: 46rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  color: var(--white);
  margin: 0 0 1.1rem;
  max-width: 22ch;
  font-weight: 600;
}
.hero .lead {
  max-width: var(--measure);
  font-size: 1.08rem;
  color: rgba(255,255,255,0.88);
}
.hero-close {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  margin: 1.15rem 0 0;
  max-width: var(--measure);
  line-height: 1.4;
}
.hero-photo {
  position: relative;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 18%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 16px 8px var(--navy);
}
.hero-photo figcaption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.65rem;
  letter-spacing: 0.04em;
}

/* Audience cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2rem;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(183,128,37,0.28);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.4rem 1.45rem;
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,13,30,0.08);
  color: inherit;
}
.card h3 {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.55rem;
}
.card p {
  margin: 0;
  color: var(--charcoal);
  font-size: 0.98rem;
}
.card .more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2.4rem;
  margin-top: 0.5rem;
}
.svc {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.95rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 0.35rem 0;
}
a.svc:hover { color: inherit; }
.svc .icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc .icon svg {
  width: 42px;
  height: 42px;
  fill: var(--gold);
  stroke: none;
}
.svc h3 {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.28rem;
}
.svc p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--charcoal);
}
.section-navy .svc p { color: rgba(255,255,255,0.88); }
.caveat {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.section-navy .caveat { color: rgba(255,255,255,0.65); }

/* Inner page hero */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.8rem 0 2.6rem;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--gold);
  opacity: 0.85;
}
.page-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  margin-bottom: 0.65rem;
  max-width: 22ch;
}
.page-hero .lead {
  max-width: var(--measure);
  color: rgba(255,255,255,0.86);
  margin: 0;
}
.page-hero:has(.page-photo) .wrap {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr);
  gap: 2rem;
  align-items: center;
}
.page-photo {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.page-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.page-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 16px 8px var(--navy);
}

/* About */
.bio {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.6rem;
  align-items: start;
}
.bio figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: visible;
}
.bio img {
  width: 100%;
  object-fit: cover;
  object-position: center 15%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  display: block;
}
.bio figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 14px 6px var(--white);
}
.bio-copy p { max-width: var(--measure); }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.photo-grid figure {
  margin: 0;
}
.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.photo-grid figcaption {
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
  margin-top: 0.65rem;
}

/* Service sections */
.service-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(183,128,37,0.22);
  max-width: 820px;
}
.service-block:last-of-type { border-bottom: 0; }
.service-block .icon svg {
  width: 44px;
  height: 44px;
  fill: var(--gold);
}
.service-block h2 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.4rem;
}
.service-block .blurb {
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.65rem;
  margin: 0 0 0.95rem;
  align-items: start;
}
.contact-list svg { width: 1.25rem; height: 1.25rem; fill: var(--gold); margin-top: 0.2rem; }
.form-note {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1rem;
  margin: 0 0 1.15rem;
  color: var(--charcoal);
  max-width: var(--measure);
}
.contact-form {
  display: grid;
  gap: 0.85rem;
}
.contact-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #cfc8ba;
  background: #fafafa;
  color: var(--charcoal);
  width: 100%;
  max-width: 36rem;
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form button {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  width: max-content;
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
}
.contact-form button:hover {
  background: var(--gold-soft);
  color: var(--navy);
  border-color: var(--gold-soft);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  background: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}
.contact-primary-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.contact-primary-ctas .btn {
  font-size: 1rem;
  padding: 0.9rem 1.4rem;
}
.contact-list a {
  font-weight: 700;
  font-size: 1.08rem;
}
.form-success {
  border-left-color: #2d6a3e;
  background: #eef6f0;
}
.form-error {
  border-left-color: #8b2e2e;
  background: #f8eeee;
}

.faq {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  max-width: 820px;
}
.faq details {
  border: 1px solid rgba(183,128,37,0.3);
  padding: 0.85rem 1.05rem;
  background: var(--white);
}
.faq summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq p { margin: 0.6rem 0 0; max-width: var(--measure); }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.cta-band p {
  max-width: var(--measure);
  margin: 0 auto 1.4rem;
  color: rgba(255,255,255,0.85);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.4rem 1.4rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid var(--rule);
}
.site-footer strong {
  font-family: var(--display);
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.site-footer p { margin: 0.45rem auto; }
.site-footer .legal { line-height: 1.6; color: rgba(255,255,255,0.82); }
.site-footer .disclaimer {
  max-width: var(--measure);
  margin: 1rem auto 0.85rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}
.site-footer a { color: var(--gold); }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.15rem;
  margin: 0.9rem 0 0.4rem;
}
.site-footer nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
}
.site-footer nav a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .hero-grid,
  .bio,
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero:has(.page-photo) .wrap { grid-template-columns: 1fr; }
  .page-photo img { height: 200px; }
  .hero h1 { max-width: none; }
  .hero-photo img { max-height: 420px; aspect-ratio: 4 / 3; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 200px; }
  .brand img { height: 58px; }
  .hero::before, .hero::after, .page-hero::after { width: 6px; }
}
@media (max-width: 720px) {
  .cards-4 { grid-template-columns: 1fr; }

  .wrap {
    padding-left: max(1.75rem, env(safe-area-inset-left, 0px) + 1.15rem);
    padding-right: max(1.75rem, env(safe-area-inset-right, 0px) + 1.15rem);
  }
  .header-inner, .site-footer {
    padding-left: max(1.75rem, env(safe-area-inset-left, 0px) + 1.15rem);
    padding-right: max(1.75rem, env(safe-area-inset-right, 0px) + 1.15rem);
  }
  .hero::before, .hero::after, .page-hero::after { width: 4px; }
}
@media (max-width: 560px) {
  .wordmark-main { font-size: 0.82rem; letter-spacing: 0.1em; }
  .wordmark-tagline { font-size: 0.78rem; }
  .hero-grid { padding: 2.6rem 0 2.8rem; }
  .hero-close { font-size: 1.12rem; }

  .wrap, .header-inner, .site-footer {
    padding-left: max(1.9rem, env(safe-area-inset-left, 0px) + 1.25rem);
    padding-right: max(1.9rem, env(safe-area-inset-right, 0px) + 1.25rem);
  }
}

/* Polish pack: before/after, partner cards, process photo */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
  max-width: 820px;
}
.ba-grid figure { margin: 0; }
.ba-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.ba-grid figcaption {
  font-family: var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
  margin-top: 0.65rem;
}
.ba-note {
  max-width: var(--measure);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  margin: 1.5rem 0;
  max-width: 820px;
}
.partner-grid article {
  background: var(--white);
  border: 1px solid rgba(183,128,37,0.28);
  border-top: 3px solid var(--gold);
  padding: 1.4rem 1.3rem 1.3rem;
}
.partner-grid h3 {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.55rem;
}
.partner-grid p { margin: 0; font-size: 0.98rem; }
.page-photo.process-photo img {
  object-fit: contain;
  background: var(--navy);
  height: 280px;
}
.bio figcaption {
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.78rem;
  margin-top: 0.65rem;
}
@media (max-width: 900px) {
  .ba-grid, .partner-grid { grid-template-columns: 1fr; }
  .ba-grid img { height: 200px; }
}
