/* ============================================================
   RESOLVE ADVISORY — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@300;400;500&display=swap');

/* ── Variables ── */
:root {
  --cream:        #F3EDE6;
  --cream-mid:    #EAE0D6;
  --cream-dark:   #E0D5C8;
  --charcoal:     #1A1A24;
  --text:         #1C1C28;
  --gold:         #B8916A;
  --divider:      rgba(28,28,40,0.1);
  --warm-white:   #FDFAF7;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;
  --nav-h:        68px;
  --max-w:        1200px;
  --pad-x:        clamp(28px, 6vw, 80px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
p, li, h1, h2, h3, h4, a, button {
  overflow-wrap: break-word;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  gap: 40px;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav--dark  { color: var(--warm-white); }
.nav--light { color: var(--text); background: var(--cream); border-bottom: 1px solid var(--divider); }

.nav__wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-right: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.nav__links a:hover { opacity: 0.55; }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: 1px solid currentColor;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav--dark  .nav__cta:hover { background: var(--warm-white); color: var(--charcoal); }
.nav--light .nav__cta { background: var(--charcoal); color: var(--warm-white); border-color: var(--charcoal); }
.nav--light .nav__cta:hover { background: transparent; color: var(--text); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  color: inherit;
  padding: 6px;
  margin-left: auto;
}
.nav__hamburger span { display: block; width: 22px; height: 1px; background: currentColor; }

/* ── Mobile nav ── */
@media (max-width: 840px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--cream);
    color: var(--text);
    padding: 28px var(--pad-x) 44px;
    gap: 22px;
    border-bottom: 1px solid var(--divider);
    z-index: 199;
  }
  .nav.open .nav__cta {
    display: inline-flex;
    width: fit-content;
    color: var(--text);
    border-color: var(--text);
    background: transparent;
    margin-top: 8px;
  }
}

/* ── Page offset ── */
.page { padding-top: var(--nav-h); }
.page--hero { padding-top: 0; }

/* ── Rule ── */
.rule {
  width: 42px; height: 1px;
  background: var(--gold);
  margin: 20px 0;
  flex-shrink: 0;
}
.rule--light { background: rgba(253,250,247,0.4); }

/* ── Section label ── */
.label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Typography ── */
.h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.08;
}
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 400;
  line-height: 1.2;
}
.h4 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  line-height: 1.25;
}
.body-text {
  font-size: clamp(15px, 1.05vw, 16px);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(28,28,40,0.92);
}
.body-text p + p { margin-top: 1.1em; }
.body-text--light {
  color: rgba(253,250,247,0.82);
}
.tagline {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28,28,40,0.68);
}
.tagline--gold {
  color: var(--gold);
  letter-spacing: 0.2em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.22s;
  border: none;
}
.btn--dark  { background: var(--charcoal); color: var(--warm-white); }
.btn--dark:hover { background: #2d2d3e; }
.btn--outline { background: transparent; border: 1px solid var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--cream); }
.btn--outline-light { background: transparent; border: 1px solid rgba(253,250,247,0.6); color: var(--warm-white); }
.btn--outline-light:hover { background: var(--warm-white); color: var(--charcoal); }
.btn--hero-light { background: var(--warm-white); border: 1px solid var(--warm-white); color: var(--charcoal); }
.btn--hero-light:hover { background: var(--warm-white); color: var(--charcoal); opacity: 0.86; }
.btn--text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); background: none; border: none; padding: 0;
  height: auto; font-weight: 400;
  transition: gap 0.2s;
}
.btn--text-link:hover { gap: 10px; }

/* ── Image Placeholder ── */
.img-ph {
  width: 100%; height: 100%;
  min-height: 420px;
  background: #D5CABF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.img-ph span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28,28,40,0.56);
  max-width: 150px;
  line-height: 1.8;
}

.site-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.site-image--top { object-position: center top; }
.site-image--right { object-position: center right; }
.site-image--left { object-position: center left; }

/* ── Split Layouts ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
}
.split--40-60 { grid-template-columns: 40fr 60fr; }
.split--60-40 { grid-template-columns: 60fr 40fr; }
.split__text {
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split__img { position: relative; overflow: hidden; }
.split__img .img-ph { min-height: 560px; }

/* ── Section Wrapper ── */
.section {
  padding: clamp(70px, 9vw, 110px) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section--full { max-width: none; padding-left: 0; padding-right: 0; }
.section--dark { background: var(--charcoal); color: var(--warm-white); max-width: none; }
.section--mid  { background: var(--cream-mid); max-width: none; }

/* ── Three-column grid ── */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
}
.cols-3 .col {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--divider);
}
.cols-3 .col:first-child { padding-left: 0; }
.cols-3 .col:last-child  { border-right: none; padding-right: 0; }

/* ── Numbered items ── */
.numbered-item {
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  gap: 0 48px;
  padding: 56px 0;
  border-top: 1px solid var(--divider);
  align-items: start;
}
.numbered-item__num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.numbered-item__num-rule {
  width: 24px; height: 1px;
  background: var(--gold);
  margin-top: 8px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--cream-mid);
  padding: clamp(64px, 8vw, 96px) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner__text {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.2;
  max-width: 580px;
  font-style: italic;
}

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(253,250,247,0.86);
  padding: 64px var(--pad-x) 32px;
}
.footer__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px repeat(3,1fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand {}
.footer__wordmark {
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--warm-white);
  margin-bottom: 14px;
  display: block;
}
.footer__tagline {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(253,250,247,0.62);
  max-width: 180px;
}
.footer__col-head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253,250,247,0.56);
  margin-bottom: 18px;
  display: block;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__links a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(253,250,247,0.78);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--warm-white); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(253,250,247,0.09);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(253,250,247,0.52);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .split, .split--40-60, .split--60-40 {
    grid-template-columns: 1fr;
  }
  .split__img { min-height: 340px; }
  .split__img .img-ph { min-height: 340px; }
  .cols-3 { grid-template-columns: 1fr; }
  .cols-3 .col { border-right: none; border-bottom: 1px solid var(--divider); padding-right: 0; padding-left: 0; }
  .cols-3 .col:last-child { border-bottom: none; }
  .numbered-item { grid-template-columns: 50px 1fr; }
  .numbered-item > *:last-child { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  :root { --pad-x: clamp(22px, 6vw, 28px); }
  .h1 { font-size: clamp(40px, 12vw, 52px); }
  .h2 { font-size: clamp(34px, 10vw, 44px); }
  .btn { width: 100%; justify-content: center; text-align: center; }
  .nav__wordmark { font-size: 18px; letter-spacing: 0.22em; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .numbered-item { grid-template-columns: 1fr; }
  .numbered-item > *:last-child { grid-column: auto; }
  .numbered-item__num { font-size: 36px; }
}
