/* ============================================================
   GLOBA 3 ADVISORY — DESIGN SYSTEM
   ============================================================ */

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

/* ============================================================
   VARIABLES
   ============================================================ */

:root {
  --black:           #0f0f0e;
  --charcoal:        #1c1b19;
  --charcoal-mid:    #252420;
  --warm-white:      #f7f4ef;
  --ivory:           #ede9e2;
  --sand:            #cec7bc;
  --stone:           #a8a29a;
  --muted:           #7a746e;

  --accent:          #3d4a35;
  --accent-light:    #5a6b50;

  --text-dark:       #1c1b19;
  --text-mid:        #4a4744;
  --text-light:      #7a746e;
  --text-on-dark:    #f0ede8;
  --text-on-dark-2:  #a09a94;

  --border:          #dedad3;
  --border-dark:     #2c2b28;

  --font-serif:      'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:       'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:           72px;
  --container:       1200px;
  --container-sm:    820px;

  --t: 0.22s ease;
}

/* ============================================================
   RESET
   ============================================================ */

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--warm-white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.display {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1, .h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 3.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2, .h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h3, .h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

p {
  font-size: 1.1rem;
  line-height: 1.72;
  color: var(--text-mid);
}

p.lead {
  font-size: 1.225rem;
  font-size: 1.1875rem;
  line-height: 1.65;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
}

.label-accent { color: var(--accent-light); }
.label-on-dark { color: var(--stone); }

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  min-width: 0;
}

.container-sm {
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 7.25rem 0; }
section.sm { padding: 4.75rem 0; }
section.xs { padding: 3.25rem 0; }

/* Fine-tune padding for the homepage "How We Work" section (bg-ivory + borders) */
section.bg-ivory.border-t.border-b {
  padding-bottom: 5rem; /* slightly tighter gap to next section */
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.split-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.split-header .split-title { flex: 1; min-width: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(28, 27, 25, 0.97);
  border-bottom-color: var(--border-dark);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  width: 110px;
  line-height: 0;
}

.nav-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: rgba(240, 237, 232, 0.65);
  transition: color var(--t);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-on-dark);
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  background: var(--warm-white);
  color: var(--charcoal);
  border: 1px solid rgba(15, 15, 14, 0.08);
  transition: background var(--t), color var(--t), border-color var(--t);
  margin-left: 0.5rem;
}

.nav-cta:hover,
.nav.scrolled .nav-cta:hover,
.nav.scrolled .nav-cta {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: rgba(15, 15, 14, 0.16);
}

/* Ensure header CTA keeps dark text on light background, even when active */
.nav .nav-cta,
.nav .nav-cta:hover,
.nav .nav-cta:focus,
.nav .nav-cta.active {
  color: var(--charcoal);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform var(--t), opacity var(--t);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--charcoal);
  z-index: 99;
  padding: 3rem 2rem;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-on-dark);
  opacity: 0.8;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: opacity var(--t);
}

.nav-mobile .nav-link:hover { opacity: 1; }
.nav-mobile .nav-link:last-child { border-bottom: none; }

/* ============================================================
   HERO — HOME
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--charcoal);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero.hero--home {
  min-height: 72vh;
  background-image:
    linear-gradient(to right,
      rgba(17, 16, 14, 0.90) 0%,
      rgba(17, 16, 14, 0.80) 32%,
      rgba(17, 16, 14, 0.42) 60%,
      rgba(17, 16, 14, 0.10) 100%),
    url('../img/hero-institutional-architecture.jpg');
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 40%, rgba(206, 199, 188, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero.hero--home::after {
  display: none;
}

.hero-inner { padding: 6rem 0; position: relative; z-index: 1; }

.hero-headline {
  font-family: var(--font-serif);
  color: var(--text-on-dark);
  max-width: 860px;
  margin: 1.25rem 0 2rem;
  width: 100%;
}

.hero.hero--home .hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-on-dark-2);
  max-width: 580px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================================
   HERO — INNER PAGES
   ============================================================ */

.hero-page {
  background: var(--charcoal);
  padding-top: var(--nav-h);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-page::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(206, 199, 188, 0.16) 0%, transparent 60%);
  pointer-events: none;
}

.hero-page-inner {
  padding-top: 5rem;
  position: relative;
  z-index: 1;
}

.hero-page-headline {
  font-size: clamp(2.125rem, 3.5vw, 3.25rem);
  line-height: 1.12;
  color: var(--text-on-dark);
  max-width: 780px;
  margin: 1.25rem 0 1.75rem;
}

.hero-page-sub {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-on-dark-2);
  max-width: 640px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.8125rem 1.875rem;
  border: 1px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--warm-white);
  color: var(--charcoal);
  border-color: var(--warm-white);
}
.btn-primary:hover { background: var(--ivory); border-color: var(--ivory); }

.btn-outline {
  background: transparent;
  color: rgba(240, 237, 232, 0.85);
  border-color: rgba(240, 237, 232, 0.3);
}
.btn-outline:hover { border-color: rgba(240, 237, 232, 0.6); color: var(--text-on-dark); }

.btn-dark {
  background: var(--charcoal);
  color: var(--warm-white);
  border-color: var(--charcoal);
}
.btn-dark:hover { background: var(--black); border-color: var(--black); }

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--sand); }

/* ============================================================
   SECTION HEADER COMPONENTS
   ============================================================ */

.section-header { margin-bottom: 3.5rem; }
.section-header .label { margin-bottom: 1rem; }

.section-heading { margin-top: 0.25rem; }
.section-sub {
  margin-top: 1rem;
  max-width: 600px;
  font-size: 1.0625rem;
  color: var(--text-mid);
}

/* ============================================================
   CARDS — LIGHT
   ============================================================ */

 .cards-3 {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.375rem;
}

.card {
  padding: 2.125rem 1.875rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
  transition: border-color var(--t);
}

.card:hover { border-color: var(--sand); }

.card-num {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-bottom: 1rem;
  display: block;
}

.card-cat {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
}

.card-body {
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--text-mid);
}

/* ============================================================
   CARDS — DARK
   ============================================================ */

.card-dark {
  padding: 2.125rem 1.875rem;
  border: 1px solid var(--border-dark);
  background: rgba(37, 36, 32, 0.32);
  transition: background var(--t), border-color var(--t);
}

.card-dark:hover {
  background: rgba(44, 43, 39, 0.4);
  border-color: rgba(168, 162, 154, 0.18);
}

.card-dark .card-title { color: var(--text-on-dark); }
.card-dark .card-body { color: var(--text-on-dark-2); }

/* ============================================================
   APPROACH BLOCKS
   ============================================================ */

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
}

.approach-block {
  padding: 2.5rem 2.25rem;
  border-right: 1px solid var(--border);
}
.approach-block:last-child { border-right: none; }

.approach-num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--stone);
  margin-bottom: 1rem;
  display: block;
}

.approach-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.625rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.875rem;
}

.approach-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-mid);
}

/* Homepage "How We Work" spacing rhythm */
section.bg-ivory.border-t.border-b .approach-grid {
  margin-top: 0.75rem;   /* breathing room below heading */
  margin-bottom: 3rem;   /* clear separation from image band */
}

/* ============================================================
   PERSPECTIVE BAND
   ============================================================ */

.perspective-band {
  background: linear-gradient(135deg, var(--ivory), var(--warm-white));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.perspective-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
  padding: 5.5rem 0;
}

.perspective-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.42;
}

.perspective-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

/* ============================================================
   MANDATE / CASE STUDY CARDS
   ============================================================ */

.mandate {
  border: 1px solid var(--border);
  background: var(--warm-white);
  padding: 3rem 3rem 2.75rem;
  margin-bottom: 1.375rem;
}

.mandate-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.mandate-tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(90, 107, 80, 0.35);
}

.mandate-title {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.15vw, 1.875rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.mandate-overview {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 2.25rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border);
}

.mandate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.mandate-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: block;
  margin-bottom: 0.75rem;
}

.mandate-section-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.mandate-stakeholders {
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   CAPABILITY DETAIL SECTIONS
   ============================================================ */

.capability {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.capability:last-child { border-bottom: none; }

.capability-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.capability-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--stone);
  display: block;
  margin-bottom: 1rem;
}

.capability-title { font-size: clamp(1.25rem, 1.75vw, 1.625rem); }

.capability-body {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.8125rem;
  color: var(--text-mid);
  padding: 0.3125rem 0.8125rem;
  border: 1px solid var(--border);
  letter-spacing: 0.01em;
}

/* ============================================================
   WHO WE ADVISE DETAIL SECTIONS
   ============================================================ */

.advise-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.advise-section:last-child { border-bottom: none; }

.advise-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
}

.needs-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 0.875rem;
  margin-top: 1.75rem;
}

.needs-list li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-mid);
  padding: 0.3rem 0 0.3rem 1.25rem;
  position: relative;
}

.needs-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--stone);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.625fr;
  gap: 6rem;
  align-items: start;
}

.info-block { margin-top: 2.5rem; }
.info-block:first-child { margin-top: 0; }

.info-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 0.5rem;
}

.info-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.info-text a { color: var(--text-dark); transition: color var(--t); }
.info-text a:hover { color: var(--accent); }

.form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.8125rem 1rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--t);
  outline: none;
  line-height: 1.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--charcoal); }

.form-textarea { resize: vertical; min-height: 150px; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a746e' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */

.cta-dark {
  background: radial-gradient(ellipse at 0 0, #2a2622 0%, #1f1e1b 55%, #181714 100%);
}

.cta-ivory {
  background: var(--ivory);
  border-top: 1px solid var(--border);
}

.cta-inner { max-width: 640px; }

.cta-dark .cta-title { color: var(--text-on-dark); }
.cta-title { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.cta-dark .cta-sub { color: var(--text-on-dark-2); margin: 1rem 0 2.5rem; font-size: 1rem; }

.cta-ivory .cta-title { color: var(--text-dark); }
.cta-ivory .cta-sub { color: var(--text-mid); margin: 1rem 0 2.5rem; font-size: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #111110;
  border-top: 1px solid var(--border-dark);
  padding: 5rem 0 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 2rem;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(160, 154, 148, 0.7);
  max-width: 300px;
}

.footer-col-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
  display: block;
}

.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-link {
  font-size: 0.875rem;
  color: rgba(160, 154, 148, 0.7);
  transition: color var(--t);
}

.footer-link:hover { color: var(--text-on-dark); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(122, 116, 110, 0.6);
}

.footer-legal { display: flex; gap: 1.5rem; }

.footer-legal a {
  font-size: 0.85rem;
  color: rgba(122, 116, 110, 0.6);
  transition: color var(--t);
}
.footer-legal a:hover { color: var(--stone); }

/* ============================================================
   UTILITY
   ============================================================ */

.bg-warm   { background: var(--warm-white); }
.bg-ivory  { background: var(--ivory); }
.bg-dark   { background: linear-gradient(180deg, #252421 0%, #1c1b19 80%); }
.bg-black  { background: var(--black); }

.border-t  { border-top: 1px solid var(--border); }
.border-b  { border-bottom: 1px solid var(--border); }

.divider {
  width: 36px;
  height: 1px;
  background: var(--sand);
  margin: 2rem 0;
}

.divider-accent { background: var(--accent); }

.note {
  padding: 1.75rem 2rem;
  border-left: 3px solid var(--accent);
  background: var(--ivory);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.note p {
  font-size: 0.9375rem;
  color: var(--text-mid);
}

.form-success {
  display: none;
  padding: 1.5rem;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  font-size: 0.9375rem;
  color: var(--text-mid);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-content {
  max-width: 760px;
}

.legal-section {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  margin-bottom: 0.875rem;
}

.legal-section p,
.legal-section li {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-mid);
}

.legal-section p + p,
.legal-section ul {
  margin-top: 0.875rem;
}

.legal-section ul {
  list-style: disc;
  padding-left: 1.25rem;
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */

.fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .mandate-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
  section.sm { padding: 3rem 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .display { font-size: clamp(2.2rem, 4.5vw, 3.25rem); }

  .hero-inner { padding: 4rem 0; }
  .hero-page-inner { padding-top: 3rem; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }

  .cards-3,
  .cards-2 { grid-template-columns: 1fr; }

  .split-header { flex-direction: column; align-items: flex-start; margin-bottom: 2.5rem; }

  .approach-grid { grid-template-columns: 1fr; border: none; gap: 0; }
  .approach-block { border-right: none; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); border-top: 1px solid var(--border); margin-bottom: -1px; }

  .perspective-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  .capability-inner,
  .advise-inner { grid-template-columns: 1fr; gap: 2rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .form-row { grid-template-columns: 1fr; }

  .mandate { padding: 2rem 1.5rem; }
  .mandate-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; max-width: 340px; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 1.25rem; }
  .mandate { padding: 1.75rem 1.25rem; }
}

/* ============================================================
   IMAGERY SYSTEM
   ============================================================ */

/* Base image panel — all image blocks share this */
.img-panel {
  position: relative;
  overflow: hidden;
  background: var(--ivory);
}

.ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(145deg, #f5f1ea 0%, #e4dbcd 52%, #d0c6b6 100%);
}

/* Architectural grid linework — suggests blueprint / infrastructure */
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 190, 175, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 190, 175, 0.036) 1px, transparent 1px);
  background-size: 76px 76px;
  background-position: center center;
}

/* Radial depth vignette */
.ph::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, rgba(247, 244, 239, 0.0) 0%, rgba(222, 213, 200, 0.7) 85%);
}

/* Real image inside panel (activated when .ph is removed) */
.img-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Overlay variants */
.img-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.img-overlay-left   { background: linear-gradient(to left,  transparent 0%, rgba(28, 27, 25, 0.52) 100%); }
.img-overlay-bottom { background: linear-gradient(to top,   rgba(34, 31, 28, 0.36) 0%, transparent 52%); }
.img-overlay-dim    { background: rgba(20, 19, 17, 0.18); }

/* Slot label — shows filename target for production handoff */
.img-slot {
  position: absolute;
  bottom: 1.125rem;
  left: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(160, 154, 148, 0.28);
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* ———— HERO SPLIT ——————————————————————————————— */

.hero.hero-split {
  display: block;
  padding-top: 0;
  min-height: 0;
}

.hero.hero-split::after { display: none; }

.hero-split-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 72vh;
  min-height: 480px;
  max-height: 720px;
}

.hero-split-content {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 2.75rem) 4rem 2.75rem;
  padding-left: max(2rem, calc((100vw - var(--container)) / 2 + 2rem));
  padding-right: 3.5rem;
  background: linear-gradient(135deg, #232220 0%, #1e1d1a 60%, #1a1917 100%);
  position: relative;
  min-width: 0;
}

.hero-split-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 35%, rgba(206, 199, 188, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.hero-split-content > div {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Home hero: text sits directly on the global image/gradient, not in a dark box */
.hero.hero--home .hero-split-content {
  background: transparent;
}

.hero.hero--home .hero-split-content::after {
  display: none;
}

.hero-split-image { position: relative; }

.hero.hero-split .hero-headline { max-width: none; }
.hero.hero-split .hero-sub      { max-width: none; }

.hero-split-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ———— WIDE IMAGE BAND ————————————————————————— */

.img-band {
  height: 50vh;
  min-height: 300px;
  max-height: 520px;
}

.img-band-tall {
  height: 60vh;
  min-height: 360px;
  max-height: 600px;
}

/* Perspective hero: embedded operating-structure visual */
.hero-page.hero-page--perspective {
  position: relative;
  background: var(--charcoal);
  overflow: hidden;
}

/* Who We Advise hero: split layout with institutional image on the right */
.hero-page.hero-page--advise {
  padding: 0;
  min-height: 0;
}

.advise-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 44vh;
}

.advise-hero-content {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3.25rem) 4rem 3.25rem;
  padding-left: max(2rem, calc((100vw - var(--container)) / 2 + 2rem));
  padding-right: 3.5rem;
  background: var(--charcoal);
  position: relative;
}

.advise-hero-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 78% 40%, rgba(206, 199, 188, 0.2) 0%, transparent 62%);
  pointer-events: none;
}

.advise-hero-content > div {
  position: relative;
  z-index: 1;
  width: 100%;
}

.advise-hero-image {
  position: relative;
  min-height: 44vh;
}

/* Soft mineral highlight into the right side of the hero */
.hero-page.hero-page--perspective::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 76% 40%, rgba(206, 199, 188, 0.28) 0%, transparent 62%);
  pointer-events: none;
}

/* Quiet structural lines on the right side of the hero (soft vertical, minimal horizontal) */
.hero-page.hero-page--perspective::after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 22%;
  left: 52%;
  right: -4%;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(214, 207, 196, 0.3), rgba(214, 207, 196, 0.05)),
    linear-gradient(to right,
      rgba(214, 207, 196, 0.0) 0%,
      rgba(214, 207, 196, 0.16) 25%,
      rgba(214, 207, 196, 0.16) 75%,
      rgba(214, 207, 196, 0.0) 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 1px 100%, 72% 1px;
  background-position: 60% 0, 3% 60%;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .hero-page.hero-page--perspective::after {
    left: 46%;
    right: -8%;
    top: 20%;
    bottom: 24%;
    background-position: 64% 0, 8% 62%;
    background-size: 1px 100%, 42% 1px;
    opacity: 0.5;
  }
}

/* ———— MANDATE IMAGE ——————————————————————————— */

.mandate-image {
  position: relative;
  aspect-ratio: 21 / 6;
  min-height: 140px;
  margin-bottom: 2.25rem;
}

/* ———— CONTACT HERO SPLIT ————————————————————— */

.hero-page.contact-split {
  padding: 0;
  min-height: 0;
}

.hero-page.contact-split::after { display: none; }

.contact-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 44vh;
}

.contact-split-content {
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 4rem) 4rem 4rem;
  padding-left: max(2rem, calc((100vw - var(--container)) / 2 + 2rem));
  padding-right: 3.5rem;
  background: var(--charcoal);
  position: relative;
}

.contact-split-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(61, 74, 53, 0.11) 0%, transparent 60%);
  pointer-events: none;
}

.contact-split-content > div {
  position: relative;
  z-index: 1;
  width: 100%;
}

.contact-split-image { position: relative; min-height: 44vh; }

/* ———— IMAGERY RESPONSIVE ————————————————————— */

@media (max-width: 768px) {
  .hero-split-grid,
  .contact-split-grid,
  .advise-hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-split-content {
    padding: calc(var(--nav-h) + 2.5rem) 1.25rem 3rem;
  }

  .hero-split-image,
  .advise-hero-image {
    height: 56vw;
    min-height: 220px;
    max-height: 340px;
  }

  .contact-split-content {
    padding: calc(var(--nav-h) + 2.5rem) 1.25rem 3rem;
  }

  .contact-split-image {
    height: 50vw;
    min-height: 200px;
    max-height: 300px;
  }

  .img-band,
  .img-band-tall {
    height: 48vw;
    min-height: 200px;
    max-height: 320px;
  }

  .mandate-image {
    aspect-ratio: 16 / 6;
  }
}

/* ============================================================
   LEADERSHIP BIOS
   ============================================================ */

.leader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.leader-name {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 1.8vw, 1.625rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.leader-role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  display: block;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.leader p {
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-mid);
}

.leader-photo {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ivory);
  margin-bottom: 1.5rem;
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   PERSPECTIVE — STATEMENT BLOCK
   ============================================================ */

.statement-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.75vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.22;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .leader-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
}
.founder-name { font-size: 1.05rem; font-weight: 500; }
