/* ============================================
   HAVENROCK HOLDINGS — INDEXINVEST STYLE THEME
   Clean • Modern • Corporate • White Background
   ============================================ */

:root {
  /* COLOR SYSTEM — OPTION 4 (Black • Bronze • Linen) */
  --color-primary: #111111;        /* Ultra Deep Black */
  --color-accent: #B08D57;         /* Bronze */
  --color-text-main: #1A1A1A;      /* Deep Charcoal Black */
  --color-text-muted: #7A7368;     /* Muted Warm Taupe */
  --color-text-inverse: #FFFFFF;   /* For use with dark backgrounds */
  --color-bg: #FFFFFF;             /* Clean White */
  --color-bg-alt: #F9F5EF;         /* Linen */
  --color-border: #D6D1C8;         /* Soft Warm Gray */
  --color-authority: #1a2332;
  --color-footer: #0F172A;
  --color-text-primary: #475569;

  /* TYPOGRAPHY */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* SHADOWS + RADIUS */
  --shadow-card: 0 10px 22px rgba(0,0,0,0.06);
  --shadow-soft: 0 14px 32px rgba(0,0,0,0.08);
  --radius-card: 14px;
  --radius-xl: 24px;
  --radius-round: 999px;

  /* WIDTH */
  --max-width: 1200px;
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--text-primary);
}

p {
  color: #64748b;
}

/* p {
  color: var(--text-muted);
} */

.section {
    width: 100%;
    padding: 7.5rem 0;
}

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

/* BACKGROUND */
.section-surface {
  background: var(--color-bg-alt);
  padding: 5.5rem 0;
}

.section-surface-white {
  background: #ffffff;
  padding: 5.5rem 0;
}

.section-texture {
  background:
    linear-gradient(
      rgba(255,255,255,0.96),
      rgba(255,255,255,0.96)
    ),
    url("/public/images/texture-concrete-concrete-background-texture-concrete-concrete-background-smooth-concrete-wall-171793755.jpg");
  background-size: cover;
  background-position: center;
}

.section-dark {
  /* background: #0f172a; */
  background: #1a2332;
  color: var(--color-text-inverse);/* #ffffff;*/
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255,255,255,0.8);
}

.section-authority {
  padding: 7rem 0;
}

.authority-header {
  max-width: 720px;
  margin-bottom: 4.5rem;
}

.authority-title {
  font-size: 2.2rem;
  line-height: 1.25;
  font-weight: 600;
  margin-top: 0.6rem;
}

.section-dark .section-kicker {
  color: rgba(255,255,255,0.6);
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.authority-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  color: #ffffff;
}

.authority-item p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 420px;
}

/* Responsive */
@media (max-width: 1024px) {
  .authority-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .authority-title {
    font-size: 1.9rem;
  }
}


.section-image-soft {
  background:
    linear-gradient(
      rgba(255,255,255,0.92),
      rgba(255,255,255,0.92)
    ),
    url("/public/images/abstract-architecture.jpg");
  background-size: cover;
  background-position: center;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

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

.page-shell {
  /* max-width: var(--max-width);
  margin: 0 auto;
  padding: 0rem 1.4rem 4rem; */
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2.5rem;
}

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

.section-kicker {
  font-size: 1.0rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.page-title {
  /* font-family: var(--font-serif); */
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 720px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.section-intro-how-we-work {
    margin-left: 2rem;
}

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

header {
  background: var(--color-primary);
  padding: 1.2rem 0;
  position: relative;
  z-index: 5;
}

.top-bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #085076;/*white;*/
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.logo-text-main {
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 0.85rem;
  letter-spacing: 0.14em;
}

.logo-text-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.16em;
}

/* Logo lockup (works on dark headers too) */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff; /* change if header is light */
}

.site-logo img {
  display: block;
  height: 20%;
  width: 20%;
  object-fit: contain;
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo__name {
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-logo__sub {
  margin-top: 0.18rem;
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Optional: slightly smaller on mobile */
@media (max-width: 520px) {
  .site-logo img {
    width: 36px;
    height: 36px;
  }
  .site-logo__name {
    font-size: 1.0rem;
  }
  .site-logo__sub {
    font-size: 0.72rem;
  }
}

nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-cta {
  background: var(--color-accent);
  border: none;
  color: #fff;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  border-radius: var(--radius-round);
  cursor: pointer;
  transition: 0.2s;
}

.nav-cta:hover {
  background: #0089b4;
}

/* MOBILE NAV ----------------------------- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: white;
  transition: 0.2s ease;
}

.mobile-nav {
  display: none;
  background: var(--color-primary);
  padding: 1rem;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
}

/* ============================================
   HERO — SPLIT LAYOUT (H2)
   ============================================ */
   /* ======================================================
   HERO — FULL-WIDTH VIDEO BACKGROUND (H1 LAYOUT)
   Centered-Left Content • Clean • IndexInvest Style
====================================================== */

/* Background Video */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Light Overlay for Readability */
.hero-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.78) 35%,
    rgba(255,255,255,0.45) 60%,
    rgba(255,255,255,0.1) 100%
  );
  z-index: -1;
}

/* TEXT BLOCK (Left-Aligned, Vertical Centering) */
.hero-content-centered {
  position: relative;
  max-width: 640px;
  padding: 2rem 0;
}

.hero-content-centered .hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.hero-content-centered .hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.18;
}

.hero-content-centered .hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

/* HERO BUTTONS */

/* Responsive Adjustments */
@media (max-width: 960px) {
  .hero-fullwidth {
    height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-content-centered {
    padding: 3rem 0;
  }

  /* .hero-bg-video {
    height: 100%;
  } */
}

@media (max-width: 600px) {
  .hero-content-centered .hero-title {
    font-size: 2rem;
  }

  .hero-content-centered .hero-subtitle {
    font-size: 1rem;
  }

  .hero-overlay-light {
    background: rgba(255,255,255,0.92);
  }
}


.btn-primary {
  background: var(--color-accent);
  border: none;
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary:hover {
  background: #0089b4;
}

.btn-secondary {
  border: 1px solid var(--color-border);
  background: white;
  padding: 0.82rem 1.6rem;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-text-main);
  transition: 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
}

/* ============================================
   CARDS & PANELS
   ============================================ */

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.cta-panel {
  background: var(--color-accent);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: 0 20px 35px rgba(0,166,214,0.35);
}

/* ===========================
   HERO
=========================== */
.hero-fullwidth {
  position: relative;
  width: 100vw;
  height: 80vh;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 0; /* ✅ critical */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-title {
  font-size: 2.6rem;
  margin: 16px 0;
}

.hero-subtitle {
  max-width: 640px;
  opacity: 0.9;
  color: white;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   HOME SECTIONS
=========================== */
/* .home {
  max-width: 880px;
  margin: 0 auto;
} */

.home-section {
  margin-top: 88px;
}

.home-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.home-section p {
  max-width: 720px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.who-we-are-section {
  margin-top: 24px;
}

.who-we-are-section p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

/* Metrics */
.metrics-editorial {
  margin-top: 24px;
}

.metrics-editorial p {
  margin-bottom: 10px;
}

.metrics-footnote {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Image */
.home-image {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
}

.home-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .home-section {
    margin-top: 64px;
  }

  .home-section h2 {
    font-size: 1.4rem;
  }
}

.about {
  max-width: 880px;
  margin: 0 auto;
}

.about-hero {
  margin-top: 2.5rem;
}

/* .about-hero p {
  color: var(--color-text-muted);
} */

.about-section {
  margin-top: 72px;
}

.about-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.about-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.about-image {
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Leadership */
.leadership-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: start;
}

.leadership-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.leadership-text h3 {
  margin-bottom: 12px;
}

.leadership-quote {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--color-border);
  font-style: italic;
  color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 768px) {
  .about-section {
    margin-top: 56px;
  }

  .about-section h2 {
    font-size: 1.4rem;
  }

  .leadership-block {
    grid-template-columns: 1fr;
  }

  .leadership-image {
    max-width: 260px;
  }
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */

/* ============================================
   PORTFOLIO SECTION
============================================ */

.portfolio-section {
  margin-top: 2.5rem;
}

.portfolio-section .section-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  margin-bottom: 1.8rem;
}

/* FOOTER */

.portfolio {
  max-width: 880px;
  margin: 0 auto;
}

.portfolio-section {
  margin-top: 88px;
}

.portfolio-section h2 {
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.portfolio-meta {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.portfolio-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.portfolio-image {
  display: block;
  margin-top: 32px;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Subtle hover (desktop only) */
@media (hover: hover) {
  .portfolio-image:hover {
    transform: translateY(-2px);
  }
}

/* Mobile spacing */
@media (max-width: 768px) {
  .portfolio-section {
    margin-top: 64px;
  }

  .portfolio-section h2 {
    font-size: 1.45rem;
  }
}

/* STRATEGY */

.strategy {
  max-width: 880px;
  margin: 0 auto;
}

.strategy-section {
  margin-top: 72px;
}

.strategy-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.strategy-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.strategy-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}


.strategy-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .strategy-image {
    width: 100%;
  }
}

/* Mobile spacing */
@media (max-width: 768px) {
  .strategy-section {
    margin-top: 56px;
  }

  .strategy-section h2 {
    font-size: 1.4rem;
  }
}

/* ACQUISITIONS */

.acquisitions {
  max-width: 880px;
  margin: 0 auto;
}

.acq-section {
  margin-top: 72px;
}

.acq-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.acq-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.acq-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.acq-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .acq-image {
    width: 100%;
  }
}

/* Mobile spacing refinement */
@media (max-width: 768px) {
  .acq-section {
    margin-top: 56px;
  }

  .acq-section h2 {
    font-size: 1.4rem;
  }
}

/* ============================================
   FOOTER — LOCATION BLOCK
============================================ */

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-location strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

/* Mobile */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.4rem;
    align-items: flex-start;
  }
}

/* ============================================
   FOOTER — ABOUT INDEX INVESTMENT GROUP
============================================ */

.footer-about {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
  /* margin-top: 0.6rem; */
  max-width: 80%;
  margin: 0.6rem 5rem;
}

.footer-about strong {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* Spacing adjustments for mobile */
@media (max-width: 600px) {
  .footer-about {
    margin-top: 0.2rem;
  }
}

/* ============================================
   FOOTER — TWO COLUMN INLINE LAYOUT
============================================ */

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-col {
  flex: 1;
}

/* LOCATION BLOCK */
.footer-location {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-location strong {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ABOUT BLOCK INLINE */
.footer-about-inline {
  max-width: 420px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.footer-about-inline strong {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

/* MOBILE STACKING */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Footer affiliate link */
.footer-about-inline a {
  color: #B08D57;               /* Havenrock gold */
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-about-inline a:hover {
  border-bottom-color: #B08D57;
  color: #9c7742;               /* slightly darker gold on hover */
}

/* ============================================
   SNAPSHOT / METRICS CARD
   ============================================ */

.hero-metrics-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-card);
  max-width: 960px;
  margin: 2.5rem auto 0;
}

.metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.metrics-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
}

.metrics-pill {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-round);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: #f0fbff;
}

/* Grid of metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.metric-item {
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.15rem;
}

.metric-caption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Footnote under grid */
.metric-footnote {
  margin-top: 1.2rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* Responsive layout for metrics */
@media (max-width: 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-metrics-card {
    padding: 1.4rem 1.2rem;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FORMS
   ============================================ */

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

input, select, textarea {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  color: var(--color-text-main);
}

textarea {
  min-height: 150px;
}

/* ============================================
   CONTACT FORM — HAVENROCK CORPORATE STYLE
============================================ */

form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.6rem; /* row, column */
  margin-top: 1.2rem;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: white;
  color: var(--color-text-main);
  transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 166, 214, 0.15);
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
  border-radius: 12px;
}

/* Submit Button Area */
.form-submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form-submit button {
  width: fit-content;
  padding: 0.85rem 2rem;
}

/* Footnote */
.form-footnote {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

/* RESPONSIVE */
@media (max-width: 780px) {
  form {
    grid-template-columns: 1fr;
  }
}

/* Card styling improvements for this section */

/* CONTACT PAGE */

.contact {
  max-width: 880px;
  margin: 0 auto;
}

.contact-hero {
  margin-top: 2.5rem;
}

.contact-section {
  margin-top: 72px;
}

.contact-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-section p {
  max-width: 720px;
  color: var(--color-text-muted);
}

.contact-meta {
  margin-top: 16px;
  font-size: 0.95rem;
}

.contact-meta a {
  color: var(--color-primary);
  text-decoration: none;
}

/* FORM */
.contact-form {
  max-width: 720px;
  margin-top: 32px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-row label {
  font-weight: 500;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.form-row textarea {
  resize: vertical;
}

.form-footnote {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 24px 0;
}

.form-submit {
  margin-top: 16px;
}

.contact-disclaimer {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Mobile refinements */
@media (max-width: 768px) {
  .contact-section {
    margin-top: 56px;
  }

  .contact-section h2 {
    font-size: 1.4rem;
  }
}

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

footer {
  background: var(--color-primary);
  padding: 2rem 0;
  color: rgba(255,255,255,0.85);
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: auto;
  padding: 0 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  color: rgba(255,255,255,0.65);
  font-size: 0.98rem;
}

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

@media (max-width: 480px) {
  .page-title,
  .hero-title {
    font-size: 2rem;
  }
}

/* ============================================
   DETAIL PAGE — UNIFORM GALLERY CARD
============================================ */

.detail-gallery-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  margin-top: 1rem;
}

.detail-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.detail-gallery-row img {
  width: 100%;
  height: 220px;              /* forces uniform height */
  object-fit: cover;           /* keeps clean visuals */
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
}

/* =====================================================
   DETAIL PAGE — FULL-WIDTH VERTICAL PHOTO CARDS
===================================================== */

.detail-gallery-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.detail-photo-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 0.75rem;
  box-shadow: var(--shadow-card);
}

.detail-photo-card img {
  width: 100%;
  height: 300px;         /* uniform height */
  object-fit: cover;     /* clean, professional scaling */
  border-radius: var(--radius-card);
}

@media (max-width: 900px) {
  .detail-gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .detail-gallery-row {
    grid-template-columns: 1fr;
  }

  .detail-gallery-row img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .detail-photo-card img {
    height: 220px;
  }
}

/* ============================================
   MOBILE NAV TOGGLE (REQUIRED)
============================================ */

@media (max-width: 768px) {

  /* Hide desktop nav */
  nav {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

}

/* ===============================
   PORTFOLIO SNAPSHOT — CARD
================================ */

.snapshot-card {
  max-width: 820px;
  margin: 32px auto 0;
  padding: 28px 32px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

/* Each metric row */
.snapshot-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  padding: 16px 0;
  align-items: start;
}

/* Divider between rows */
.snapshot-row + .snapshot-row {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Left label */
.snapshot-label {
  font-weight: 600;
  color: #0f172a; /* deep slate / navy */
  font-size: 0.95rem;
}

/* Right value */
.snapshot-value {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footnote under card */
.metrics-footnote {
  max-width: 820px;
  margin: 14px auto 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* ===============================
   MOBILE ADJUSTMENTS
================================ */

@media (max-width: 640px) {
  .snapshot-card {
    padding: 22px 20px;
  }

  .snapshot-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .snapshot-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #334155;
  }
}

.portfolio-image {
  margin-top: 40px;
  border-radius: 18px;
  overflow: hidden;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .portfolio-image {
    width: 100%;
  }
}




.general-section {
  margin-top: 64px;
}

.general-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.general-section p {
  max-width: 720px;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}




.content-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0rem;
}

.content-split-reverse {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0rem;
}

.content-split h2 {
  margin-bottom: 1.25rem;
}

.content-split p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.content-split p:last-of-type {
  margin-bottom: 0;
}

.content-split-reverse-home {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 0rem;
}

.section-fullbleed {
  width: 100%;
  background-color: #1a2332; /* your darker authority color */
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 0;
}

.content-text h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.content-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--color-text-primary);
}

.content-text ul {
  padding-left: 1.2rem;
}

.content-text li {
  margin-bottom: 0.6rem;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* Mobile stack */
/* @media (max-width: 768px) {
  .content-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
} */

/* Mobile stack */
/* @media (max-width: 768px) {
  .content-split-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
} */

/* ===============================
   MOBILE STACKING FIX
   =============================== */

@media (max-width: 768px) {
  .content-split,
  .content-split-reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    flex-direction: column;
  }

  /* Ensure text always comes first */
  .content-text {
    order: 1;
  }

  .content-image {
    order: 2;
  }
}




/* =========================
   FOOTER — BASE
========================= */

.site-footer {
  font-family: inherit;
}

/* =========================
   TOP FOOTER (LIGHT)
========================= */

.footer-top {
  background: #f1f5f9;
  padding: 64px 24px;
}

.footer-top-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
}

.footer-cta h3,
.footer-offices h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: black;
}

.footer-cta p {
  color: #475569;
  margin-bottom: 20px;
}

.footer-cta ul {
  color: #475569;
  margin-bottom: 20px;
}

.footer-cta-btn {
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid #0f172a;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-cta-btn:hover {
  background: #0f172a;
  color: #ffffff;
}

.footer-divider {
  width: 2px;
  height: 80%;
  /* background: #0f172a; */
  background: var(--color-primary);
  opacity: 0.25;
}

.footer-offices ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-offices li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: black;
}

/* =========================
   BOTTOM FOOTER (DARK)
========================= */

.footer-bottom {
  background: #000000;
  color: var(--color-text-inverse);
  padding: 64px 24px;
}

/* .footer-bottom-inner {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
} */

.footer-bottom-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footer-about {
    max-width: 100%;
    text-align: left;
  }

  .footer-about p {
    max-width: 32rem;      /* key fix */
    line-height: 1.6;
  }
}

.footer-bottom h4 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .footer-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .footer-about p {
    max-width: 38rem;   /* was ~32rem */
  }
}

@media (max-width: 768px) {
  .footer-about p {
    font-size: 0.95rem;
    opacity: 0.9;
  }
}


.footer-about p {
  /* color: #cbd5f5; */
  color: var(--color-text-inverse);
  line-height: 1.7;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-inverse);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  color: #B08D57; /* Havenrock gold */
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-affiliation {
  margin-top: 16px;
  font-size: 1.1rem;
  color: #cbd5f5;
}

.footer-affiliation a {
  color: #B08D57; /* Havenrock gold */
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.footer-affiliation a:hover {
  text-decoration: underline;
}


.pic-detail {
    font-size: .8rem;
}

.pic-detail-ul {
  list-style-type: none;
  font-size: .8rem;
}


.two-column-links {
  column-count: 2;
  column-gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.two-column-links li {
  break-inside: avoid;
  margin-bottom: 8px;
}

/* Institutional Strength Section */
.institutional-strength {
  /* background: #f5f5f5; */
  padding: 80px 0;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}

.strength-item {
  text-align: left;
}

.strength-icon {
  color: #0f172a; /* adjust to Havenrock navy if needed */
  margin-bottom: 20px;
}

.strength-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.strength-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  /* color: #475569; */
  color: #7A7368;
  max-width: 90%;
}

/* Responsive */
@media (max-width: 900px) {
  .strength-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* What We Provide */
.what-we-provide {
  padding: 90px 0;
  background: #ffffff;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 56px;
}

.section-title-exec-framework {
    margin-left: 2rem;
}

.provide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.provide-card {
  padding: 36px 32px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.provide-icon {
  margin-bottom: 20px;
  color: #0f172a; /* Havenrock navy */
}

.provide-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.provide-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
  .provide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .provide-grid {
    grid-template-columns: 1fr;
  }
}

/* How We Work */
.how-we-work {
  padding: 90px 0;
  background: #f8fafc; /* subtle contrast from white */
}

.section-intro {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 64px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}

.work-grid-why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.work-item {
  text-align: left;
}

.work-icon {
  color: #0f172a; /* Havenrock navy */
  margin-bottom: 18px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

work-icon img,
work-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.work-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.work-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* Responsive */
@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* Investment Focus */
.investment-focus {
  padding: 90px 0;
  background: #ffffff;
}

.focus-intro {
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 40px;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.asset-item {
  padding: 1.75rem 1.6rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #0f172a;
  line-height: 1.45;
}

.asset-item {
  position: relative;
}

.asset-item::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 3px;
  height: 2.2rem;
  background: rgba(15, 23, 42, 0.2);
}

.asset-item span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0;
}

/* Subtle emphasis on hover (desktop only) */
@media (hover: hover) {
  .asset-item:hover {
    border-color: rgba(176, 141, 87, 0.35); /* bronze hint */
  }
}

.focus-subhead {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 28px;
}

.focus-criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 760px;
}

.focus-criteria li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.focus-criteria li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0f172a;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .asset-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================
   FULL-WIDTH SECTION SYSTEM (INSTITUTIONAL)
====================================================== */

.section {
  width: 100%;
  padding: 6.5rem 0;
}

.section-transition {
    width: 100%;
    padding: 2.5rem 0;
}

/* Full-width background colors */
.section-white {
  background: #ffffff;
}

.section-linen {
  background: var(--color-bg-alt);
  /* background: #fafaf9; */
  background: #f5f5f5;
}

.section-dark {
  background: #0f172a;
  color: #ffffff;
}

/* Typography adjustments on dark */
.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255,255,255,0.78);
}

/* Constrained content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrower {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.investment-mandate {
  padding: 7rem 0;
}

.mandate-intro {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 2.2rem;
}
.mandate-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  max-width: 520px;        /* tighter, institutional */
}

.mandate-list li {
  margin-bottom: 1.25rem;
}

.mandate-list strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: #111;
}

.mandate-sub {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #6b7280;          /* muted, professional */
  line-height: 1.4;
}


.mandate-footer {
  font-size: 0.95rem;
  color: #64748b;
}


@media (max-width: 768px) {
  .footer-bottom {
    padding: 2rem 1.25rem;
  }

  .footer-bottom-inner {
    display: block;
    width: 100%;
  }

  /* Center the ABOUT block as a unit */
  .footer-about-inner {
    max-width: 38rem;
    margin: 0 auto;        /* ✅ THIS centers it */
    text-align: left;     /* readable paragraphs */
  }

  /* Center headings to match links */
  .footer-about h4,
  .footer-links h4 {
    text-align: center;
  }

  /* Center the LINKS section */
  .footer-links {
    margin-top: 2.5rem;
    text-align: center;
  }

  /* Ensure paragraphs are not constrained */
  .footer-about p {
    max-width: none;
    line-height: 1.6;
  }
}

