/* Keystone Investment Property Consulting - Custom Site Styles */

:root {
  --navy: #0B1F3A;
  --navy-light: #1a3358;
  --gold: #B8893A;
  --gold-light: #d4a557;
  --cream: #F5F2EC;
  --white: #FFFFFF;
  --text: #1a1a1a;
  --text-muted: #5A5A5A;
  --border: #E5DFD3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.4rem, 2.6vw, 2.05rem); }
h2 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h3 { font-size: clamp(1rem, 1.3vw, 1.15rem); }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* HEADER */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  width: 58px;
  height: 31px;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.14em;
  line-height: 1;
}
.logo-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  font-weight: 500;
}
nav.main-nav { display: flex; gap: 1.75rem; align-items: baseline; }
nav.main-nav a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
nav.main-nav a.nav-stacked {
  white-space: nowrap;
  text-align: center;
  line-height: 1.25;
  padding-left: 0.18em;
}
nav.main-nav a:hover { color: var(--gold); }
nav.main-nav a.active { color: var(--gold); }
.btn-cta {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.btn-cta:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 0.85rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  display: inline-block;
  transition: all 0.2s;
  font-family: inherit;
  cursor: pointer;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* HERO */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-eyebrow::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  margin-bottom: 1.25rem;
  max-width: 820px;
  font-weight: 400;
  line-height: 1.2;
}
.hero-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  max-width: 820px;
  line-height: 1.4;
  font-weight: 400;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.hero-location {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-location::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}

/* SECTION GENERAL */
.section {
  padding: 3rem 2rem;
}
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.section-narrow {
  max-width: 760px;
  margin: 0 auto;
}
.section-header-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.section-header-centered .section-eyebrow {
  padding-left: 0.3em;
}
.section-header-centered .section-lede {
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  font-size: 0.68rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
}
.section-title {
  margin-bottom: 1.25rem;
}
.section-lede {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  line-height: 1.7;
}
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy .section-lede { color: rgba(255,255,255,0.7); }
.bg-navy .section-eyebrow { color: var(--gold); }

/* WHO WE HELP CARDS */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.who-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  position: relative;
}
.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}
.capability .card-icon {
  margin-bottom: 0.5rem;
}
.who-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11,31,58,0.08);
}
.who-card-eyebrow {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}
.who-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.who-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* PROBLEM SECTION */
.problem-section {
  background: var(--cream);
  color: var(--navy);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
}
.problem-section .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 6rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 1rem;
  font-style: italic;
  display: block;
}
.problem-section h2 {
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  max-width: 760px;
  margin: 0 auto 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.problem-section p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}
.problem-section .btn-cta {
  display: inline-block;
  margin-top: 0.5rem;
}
.gold-divider {
  width: 56px;
  height: 2.5px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* WHAT WE BRING */
.bring-section .section-narrow p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.bring-section .section-narrow p.lede {
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
}
.callout {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
}
.callout p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.45;
}

/* SERVICES CAPABILITY GRID */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.capability {
  text-align: left;
}
.capability-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.capability h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.capability p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* PROOF / CASE STUDY */
.proof-section {
  background: var(--cream);
  padding: 3.5rem 2rem;
}
.proof-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.proof-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 2.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.proof-body {
  text-align: left;
  background: var(--white);
  padding: 2.25rem 2.5rem;
  border-left: 3px solid var(--gold);
}
.proof-body p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.7;
}
.proof-body p:last-child { margin-bottom: 0; }
.proof-disclaimer {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  margin-top: 2rem !important;
}
.proof-quote {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.5;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* FINAL CTA */
.final-cta {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 2rem;
  text-align: center;
}
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  max-width: 820px;
  margin: 0 auto 1.25rem;
}
.final-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* JUMP NAV (Who We Work With page) */
.investor-jumpnav {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.jumpnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.investor-jumpnav .section-eyebrow {
  margin-bottom: 1.25rem;
}
.jumpnav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.jumpnav-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.jumpnav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1rem 0.6rem;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--gold);
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  min-height: 64px;
}
.jumpnav-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  border-bottom-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11,31,58,0.12);
}
.jumpnav-link:hover .jumpnav-text {
  color: var(--white);
}
.jumpnav-link:active {
  transform: translateY(0);
}
.jumpnav-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
  color: var(--navy);
}
@media (max-width: 900px) {
  .jumpnav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .jumpnav-text { font-size: 0.72rem; }
}
@media (max-width: 540px) {
  .jumpnav-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Smooth scroll offset so sticky header doesn't cover the section title */
.investor-type, .engagement {
  scroll-margin-top: 100px;
}

/* INVESTOR TYPE LIST (Who We Work With page) */
.investor-types {
  margin-top: 4rem;
}
.investor-type {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.investor-type:last-child { border-bottom: 1px solid var(--border); }
.investor-type h3 {
  font-size: 1.6rem;
}
.investor-type-label {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
}
.investor-type-body p {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.investor-type-body .meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-style: italic;
}

/* HELP WITH LIST */
.help-with {
  margin-top: 5rem;
}
.help-with h3 {
  margin-bottom: 1.5rem;
}
.help-with p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.help-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem 2rem;
  list-style: none;
}
.help-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text);
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border);
}
.help-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ABOUT PAGE */
.about-intro p {
  font-size: 1rem;
  margin-bottom: 1.15rem;
  line-height: 1.75;
}
.about-intro {
  padding-bottom: 2.5rem;
}
.founder-section {
  background: var(--cream);
  padding: 4rem 2rem 4.5rem;
  margin-top: -1rem;
}
.founder-section .section-narrow p {
  font-size: 1rem;
  margin-bottom: 1.15rem;
  line-height: 1.75;
}
.founder-section .section-eyebrow {
  text-align: center;
}
.founder-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}
.founder-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 3rem;
}

/* SERVICES PAGE */
.engagement {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.engagement:last-of-type { border-bottom: 1px solid var(--border); }
.engagement-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.engagement-head h3 {
  font-size: 1.7rem;
  margin: 0;
}
.engagement-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 500;
}
.engagement-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}
.engagement-body p {
  margin-bottom: 1.25rem;
  color: var(--text);
}
.engagement-includes {
  margin-top: 1.25rem;
  background: var(--cream);
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--gold);
}
.engagement-includes h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--navy);
  margin-bottom: 1rem;
  font-weight: 600;
}
.engagement-includes ul { list-style: none; }
.engagement-includes li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.engagement-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* PROCESS STEPS */
.process-track-title {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 4rem 0 0.5rem;
  font-weight: 600;
}
.process-track-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-style: italic;
}
.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.process-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
}
.process-step h3 { margin-bottom: 0.75rem; }
.process-step p { color: var(--text); }

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
.contact-item h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.contact-item p {
  font-size: 1.4rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.booking-section {
  background: var(--cream);
  padding: 3rem 2rem 4rem;
  margin-top: 0;
}
.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.booking-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.booking-card h3 { margin-bottom: 0.5rem; }
.booking-card .price {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
}
.booking-card p {
  flex-grow: 1;
}
.booking-card .btn-outline {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 5rem 2rem 3rem;
  font-size: 0.7rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 380px;
}
.footer-col h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 2.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-bottom p { margin-bottom: 1rem; }

/* PAGE INTRO BANNER */
.page-intro {
  background: var(--navy);
  color: var(--white);
  padding: 3rem 2rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-intro .section-eyebrow {
  color: var(--gold);
  padding-left: 0.3em;
  text-align: center;
  width: 100%;
}
.page-intro h1 {
  color: var(--white);
  margin: 0 auto 1rem;
  text-align: center;
  width: 100%;
}
.page-intro p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .header-inner { gap: 1rem; }
  .investor-type { grid-template-columns: 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .process-step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .process-step-num { font-size: 2.2rem; }
  .section { padding: 4rem 1.5rem; }
  .hero { padding: 2.25rem 1.5rem 3rem; }
}

/* ============================================ */
/* MOBILE NAV (hamburger menu)                  */
/* ============================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}

@media (max-width: 900px) {
  /* Show hamburger; keep CTA visible but smaller */
  .nav-toggle { display: flex; }
  .header-inner { gap: 0.75rem; padding: 0 1.25rem; }
  .header-inner > .btn-cta {
    padding: 0.6rem 0.9rem;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }
  .logo-text { font-size: 1.25rem; }
  .logo-tagline { font-size: 0.5rem; }
  .logo-mark { width: 44px; height: 24px; }

  /* Hide desktop nav by default on mobile */
  nav.main-nav { display: none; }

  /* When body has .nav-open, show dropdown menu */
  body.nav-open nav.main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1.1rem;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 99;
  }
  body.nav-open nav.main-nav a {
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    color: var(--white);
    padding: 0.3rem 0;
    width: 100%;
  }
  body.nav-open nav.main-nav a.nav-stacked {
    white-space: normal;
    text-align: left;
    padding-left: 0;
  }
  /* On mobile, hide the line break inside .nav-stacked items so the two
     words render on one line.  A literal space sits before each <br> in the
     HTML, so collapsing the break leaves the words properly spaced. */
  body.nav-open nav.main-nav a.nav-stacked br {
    display: none;
  }

  /* Hamburger → X transformation when open */
  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (max-width: 400px) {
  /* Extra-tight phones */
  .header-inner > .btn-cta {
    display: none; /* hide CTA entirely on tiny screens — user can use hamburger */
  }
}

/* ============================================ */
/* HERO ARCH WATERMARK                          */
/* ============================================ */
.hero-arch {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 720px;
  height: auto;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-arch {
    right: -20%;
    width: 90%;
    opacity: 0.06;
  }
}

@media (max-width: 540px) {
  .hero-arch {
    right: -30%;
    top: 80%;
    width: 130%;
    opacity: 0.05;
  }
}

/* Floating Schedule a Call CTA (mobile only) */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 1.1rem;
  right: 1.1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 1000;
  letter-spacing: 0.02em;
}
.floating-cta:hover { background: var(--gold-light); color: var(--navy); }
@media (max-width: 900px) {
  .floating-cta { display: inline-block; }
}

/* Visual case study box */
.case-study-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 2.5rem 2rem;
  margin: 2rem auto 1.5rem;
  max-width: 700px;
  text-align: center;
}
.case-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}
.case-num { text-align: center; }
.case-num-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.case-num-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.case-arrow {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
}
.case-saved {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.case-body {
  text-align: left;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.case-body p { margin-bottom: 0.85rem; }
@media (max-width: 600px) {
  .case-numbers { flex-direction: column; gap: 1rem; }
  .case-arrow { transform: rotate(90deg); }
  .case-num-value { font-size: 2rem; }
}

/* === MOBILE FIXES === */
@media (max-width: 700px) {
  /* Keep "Listen · Analyze · Advise" on a single line */
  .hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    gap: 0.6rem;
    white-space: nowrap;
    justify-content: flex-start;
  }
  .hero-eyebrow::before {
    width: 20px;
  }

  /* Center + wrap-safe CTA on cream pull quote section */
  .problem-section .btn-cta {
    white-space: normal;
    line-height: 1.3;
    max-width: 90vw;
    text-align: center;
    padding: 0.85rem 1.1rem;
    letter-spacing: 0.12em;
    font-size: 0.65rem;
  }
}

/* Label above each case study */
.case-label {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}
.case-label:first-of-type { margin-top: 1.5rem; }

/* Allow the larger portfolio numbers to scale down responsively */
.case-num-value {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
}

/* Page intro tagline (italic gold under H1) */
.page-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0.5rem auto 1rem;
  max-width: 580px;
}

/* Exit/outcome callout for case-study-box */
.case-exit {
  margin-top: 1.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(184, 137, 58, 0.25);
  text-align: center;
}
.case-exit-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.case-exit-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Spacing between case-study boxes on the dedicated page */
.case-study-box + .case-study-box {
  margin-top: 1.5rem;
}

/* === DESKTOP NAV BREATHING ROOM ===
   With 7 nav items + CTA, original spacing was tight.
   Tighter letter-spacing + slightly larger gap gives more
   visual breathing room between items. */
@media (min-width: 901px) {
  nav.main-nav {
    gap: 2.6rem;
  }
  nav.main-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.13em;
  }
  /* Slightly tighter CTA so nav has more room */
  .header-inner > .btn-cta {
    padding: 0.75rem 1.2rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }
}

/* Slightly larger screens (1100px+): a bit more letter-spacing back + more gap */
@media (min-width: 1100px) {
  nav.main-nav {
    gap: 3rem;
  }
  nav.main-nav a {
    letter-spacing: 0.15em;
  }
}

/* Big screens (1300px+): generous spacing */
@media (min-width: 1300px) {
  nav.main-nav {
    gap: 3.5rem;
  }
}

/* 3-column case-numbers for cases with a Sold price */
.case-numbers.case-numbers-3 {
  gap: 1.2rem;
}
.case-numbers.case-numbers-3 .case-num-value {
  font-size: clamp(1.2rem, 3vw, 1.95rem);
}
/* Sold column: navy value, gold label (subtle differentiation, easy on the eye) */
.case-num-sold .case-num-label {
  color: var(--gold);
}
.case-num-sold .case-num-value {
  color: var(--navy);
  font-weight: 600;
}

/* Mobile: 3 numbers stack vertically with rotated arrows */
@media (max-width: 700px) {
  .case-numbers.case-numbers-3 {
    flex-direction: column;
    gap: 0.7rem;
  }
  .case-numbers.case-numbers-3 .case-arrow {
    transform: rotate(90deg);
    font-size: 1.2rem;
  }
  .case-numbers.case-numbers-3 .case-num-value {
    font-size: 1.7rem;
  }
}


/* === Collapsible case-study panels ===================================
   <details class="case-study-box"> with <summary class="case-summary">
   wrapping the numbers + saved pill + expand hint.  The body collapses
   by default; the chevron rotates 180° when expanded.
   ======================================================================= */

/* Reset native <details> styling */
details.case-study-box { display: block; }
details.case-study-box > summary {
  list-style: none;
  cursor: pointer;
  outline: none;
  display: block;
}
details.case-study-box > summary::-webkit-details-marker { display: none; }
details.case-study-box > summary::marker { display: none; content: ""; }

/* Focus ring on keyboard nav for accessibility */
details.case-study-box > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Subtle hover treatment so the box reads as clickable */
details.case-study-box { transition: box-shadow 0.2s ease, transform 0.2s ease; }
details.case-study-box:hover {
  box-shadow: 0 6px 18px rgba(11, 31, 58, 0.08);
}

/* Center every part of the closed summary */
details.case-study-box > summary { text-align: center; }
.case-summary .case-numbers { justify-content: center; }
.case-summary .case-saved { display: inline-block; margin-left: auto; margin-right: auto; margin-bottom: 0.5rem; }

/* The expand-hint styled as a proper button — centered under the navy pill */
.case-expand-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0.65rem auto 0;
  padding: 0.6rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  background: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: 999px;
  box-shadow:
    0 2px 6px rgba(11, 31, 58, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.05s ease;
}
.case-expand-hint::after {
  content: "\25BE"; /* down chevron */
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--gold);
}

/* Hover & press states for the Details button (react when the user hovers
   anywhere on the summary, not just the button itself) */
details.case-study-box > summary:hover .case-expand-hint {
  background: var(--navy);
  color: #FFFFFF;
  box-shadow:
    0 4px 10px rgba(11, 31, 58, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
details.case-study-box > summary:hover .case-expand-hint::after {
  color: var(--gold);
}
details.case-study-box > summary:active .case-expand-hint {
  transform: translateY(1px);
  box-shadow: 0 1px 3px rgba(11, 31, 58, 0.18);
}

/* Rotate chevron when open */
details[open] .case-expand-hint::after {
  transform: rotate(180deg);
}

/* Swap hint text on open */
.case-expand-hint .hint-hide { display: none; }
details[open] .case-expand-hint .hint-show { display: none; }
details[open] .case-expand-hint .hint-hide { display: inline; }

/* When the body is revealed, give it a subtle top border separation */
details.case-study-box > .case-body {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(184, 137, 58, 0.25);
}

/* Quiet "a handful — more on request" note under the case list */
.more-note {
  text-align: center;
  margin-top: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* "Honest read" framing paragraph in the case-studies intro */
.page-intro .intro-honest {
  max-width: 640px;
  margin: 1.25rem auto 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text);
  text-align: left;
}

/* Text-style value for non-dollar case-num cells (turnaround case) */
.case-num-value-soft {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  white-space: nowrap;
}
/* Floor cell: heavier weight, upright, slightly larger — visually anchors as the outcome */
.case-num-sold .case-num-value-soft {
  color: var(--navy);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.1rem, 2.6vw, 1.55rem);
  letter-spacing: -0.005em;
  margin-top: 0.05em;
}
