:root {
  /* Logo Brand Theme */
  --color-primary: #0D1626; /* Deep Navy from logo */
  --color-primary-hover: #15223A;
  --color-primary-light: rgba(185, 138, 59, 0.1); /* Soft Gold from logo */
  
  --color-text-dark: #1A1A1A; /* Charcoal */
  --color-text-light: #666666; /* Gray for paragraphs */
  --color-text-white: #FFFFFF;
  
  --color-bg-white: #FFFFFF;
  --color-bg-sand: #F7F5F0; /* Soft Beige/Sand */
  --color-bg-green: #0D1626; /* Using Navy for large dark sections */
  --color-accent: #B98A3B; /* Gold from logo */
  --color-accent-hover: #A0742E;
  
  --color-border: #E5E5E5;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --section-padding: 3rem 0;
  
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
  
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s ease-in-out;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

body, html {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}

/* Subtle Sand Background Blobs */
body::before, body::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}
body::before {
  width: 800px;
  height: 800px;
  background-color: var(--color-bg-sand);
  top: -100px;
  right: -200px;
  opacity: 0.8;
}
body::after {
  width: 600px;
  height: 600px;
  background-color: var(--color-bg-sand);
  bottom: 10%;
  left: -200px;
  opacity: 0.6;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-weight: 600;
  color: var(--color-text-dark);
}

.display-1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--color-text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}
a.underline-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transition: width 0.3s cubic-bezier(.22,.61,.36,1);
}
a.underline-link:hover::after {
  width: 100%;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-white);
  border: 1px solid var(--color-accent);
}
.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  background-color: var(--color-bg-sand);
}

/* Header */
header {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.5rem 0;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/

.header {
  color: var(--default-color);
  background: var(--color-bg-green);
  padding: 22px 0;
  transition: all 0.35s ease;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 66px;
  margin-right: 10px;
}

.header .logo h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--heading-color);
}

.header .logo h1 span {
  color: var(--accent-color);
}

.header .btn-cta {
display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.6rem;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 36px;
background-color: var(--color-accent);
  color: var(--color-text-white);
  border: 1px solid var(--color-accent);
}

.header .btn-cta:hover {
  transform: translateY(-3px);
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 12px 25px rgba(185, 138, 59, .25);
}

.scrolled .header {
  padding: 14px 0;
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(13, 22, 38, .08);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* ==========================
   Desktop Navigation
========================== */

@media (min-width:1200px) {

  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {

    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 8px;

  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;

  }

  .navmenu a i,
  .navmenu a:focus i {

    font-size: 12px;
    margin-left: 6px;
    transition: .3s;

  }

  .navmenu a::before,
  .navmenu a:focus::before {

    content: "";

    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;

    height: 3px;
    border-radius: 30px;

    background: var(--color-accent);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .35s ease;

  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {

    color: var(--color-accent);

  }

  .navmenu li:hover>a::before,
  .navmenu .active::before {

    transform: scaleX(1);

  }

  /* Dropdown */

  .navmenu .dropdown ul {

    position: absolute;
    top: 130%;
    left: 0;

    margin: 0;
    padding: 14px 0;

    min-width: 230px;

    background: #fff;

    visibility: hidden;
    opacity: 0;

    display: block;

    border-radius: 12px;
    border: 1px solid #ECE7DB;

    box-shadow: 0 25px 60px rgba(13, 22, 38, .12);

    transition: .3s;

    z-index: 99;

  }

  .navmenu .dropdown ul li {

    min-width: 230px;

  }

  .navmenu .dropdown ul a {

    padding: 12px 22px;

    color: var(--nav-dropdown-color);

    font-size: 14px;
    font-weight: 500;
    letter-spacing: .2px;

    text-transform: none;

  }

  .navmenu .dropdown ul a::before {

    display: none;

  }

  .navmenu .dropdown ul a i {

    font-size: 12px;

  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {

    background: var(--color-bg-sand);

    color: var(--accent-color);

    padding-left: 28px;

  }

  .navmenu .dropdown:hover>ul {

    top: 100%;
    visibility: visible;
    opacity: 1;

  }

  .navmenu .dropdown .dropdown ul {

    top: 0;
    left: -90%;

    visibility: hidden;
    opacity: 0;

  }

  .navmenu .dropdown .dropdown:hover>ul {

    top: 0;
    left: -100%;

    visibility: visible;
    opacity: 1;

  }

}

/* ==========================
   Mobile Navigation
========================== */

@media (max-width:1199px) {

  .mobile-nav-toggle {

    color: #fff;

    font-size: 30px;

    line-height: 0;

    margin-right: 10px;

    cursor: pointer;

    transition: .3s;

  }

  .navmenu {

    padding: 0;

    z-index: 9997;

  }

  .navmenu ul {

    display: none;

    list-style: none;

    position: absolute;

    inset: 70px 20px 20px;

    padding: 12px 0;

    margin: 0;

    border-radius: 18px;

    background: #fff;

    border: 1px solid #ECE7DB;

    overflow-y: auto;

    box-shadow: 0 30px 60px rgba(13, 22, 38, .12);

    transition: .3s;

    z-index: 9998;

  }

  .navmenu a,
  .navmenu a:focus {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 22px;

    color: var(--nav-dropdown-color);

    font-family: var(--nav-font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;

    transition: .3s;

  }

  .navmenu a i,
  .navmenu a:focus i {

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    margin-left: 8px;

    font-size: 12px;

    background: var(--color-bg-sand);

    color: var(--accent-color);

    transition: .3s;

  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {

    background: var(--color-accent);
    color: #fff;

  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {

    color: var(--color-accent);

  }

  .navmenu .active i,
  .navmenu .active:focus i {

    background: var(--accent-color);

    color: #fff;

    transform: rotate(180deg);

  }

  .navmenu .dropdown ul {

    position: static;

    display: none;

    margin: 10px 18px;

    padding: 10px 0;

    background: var(--color-bg-sand);

    border: 1px solid #ECE7DB;

    box-shadow: none;

    transition: .4s ease;

  }

  .navmenu .dropdown ul ul {

    background: rgba(13, 22, 38, .04);

  }

  .navmenu .dropdown>.dropdown-active {

    display: block;

  }

  .mobile-nav-active {

    overflow: hidden;

  }

  .mobile-nav-active .mobile-nav-toggle {

    position: absolute;

    top: 20px;
    right: 20px;

    margin-right: 0;

    font-size: 32px;

    color: #fff;

    z-index: 9999;

  }

  .mobile-nav-active .navmenu {

    position: fixed;

    inset: 0;

    overflow: hidden;

    background: rgba(13, 22, 38, .88);

    transition: .3s;

  }

  .mobile-nav-active .navmenu>ul {

    display: block;

  }

}
/* Hero Section Premium Layout (Centered Monumental) */
.hero-inst {
  padding: 5rem 0 5rem 0;
  background-color: var(--color-primary);
  background-image: url('../images/hero-img.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-inst::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 38, 0.85); /* Deep Navy Overlay */
  z-index: 1;
}
.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-premium-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 2rem;
}
.hero-premium-label::before,
.hero-premium-label::after {
  content: '';
  height: 1px;
  width: 40px;
  background-color: var(--color-accent);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-content h1 {
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text-white);
  font-size: 3rem;
}
.hero-content p.text-large {
  font-size: 1.25rem;
  max-width: 700px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-checks {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.hero-checks span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-checks span i { color: var(--color-accent); }
.trust-metrics-hero {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}
.trust-metric {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.trust-metric i {
  color: var(--color-accent);
  font-size: 1.1rem;
}



/* Premium Trust Ribbon */
.trust-ribbon {
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding: 2rem 0;
}
.trust-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-ribbon-item {
  background: transparent;
  padding: 1.5rem;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(.22,.61,.36,1);
  border: 1px solid transparent;
  text-align: center;
  background: var(--color-accent);
}
.trust-ribbon-item i {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 1rem;
  display: block;
  transition: color 0.3s ease;
}
.trust-ribbon-item h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  color: #fff;
}
.trust-ribbon-item p {
  font-size: 0.85rem;
  margin: 0;
  color: #fff;
}
.trust-ribbon-item:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.trust-ribbon-item:hover i {
  color: #fff;
}
.trust-ribbon-item:hover h4 {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 4px;
}

/* Services (Asset Classes) - Editorial Layout */
.section-services { 
  padding: 8rem 0; 
  background-color: var(--color-bg-white); 
}
.editorial-grid {
  display: grid;
  grid-template-columns: 35% 60%;
  gap: 5%;
  align-items: start;
}
.editorial-header {
  position: sticky;
  top: 120px;
}
.editorial-header h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.editorial-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 400px;
}
.editorial-list {
  display: flex;
  flex-direction: column;
}
.editorial-row {
  display: grid;
  grid-template-columns: 80px 1fr 50px;
  align-items: center;
  padding: 3rem 2rem;
  margin: 0 -2rem;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s cubic-bezier(.22,.61,.36,1);
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 8px;
}
.editorial-row:first-child { border-top: 1px solid var(--color-border); }
.editorial-row:hover {
  background-color: var(--color-bg-sand);
  border-bottom-color: transparent;
}
.er-index {
  font-size: 2.25rem;
  color: var(--color-accent);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.er-content h3 { 
  font-size: 1.75rem; 
  margin-bottom: 0.5rem; 
  transition: color 0.3s ease;
}
.er-content p { 
  font-size: 1rem; 
  margin: 0; 
  color: var(--color-text-light);
}
.editorial-row:hover .er-content h3 { color: var(--color-accent); }
.er-arrow {
  font-size: 1.5rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s cubic-bezier(.22,.61,.36,1);
}
.editorial-row:hover .er-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Dark Green Section (Structural Knowledge / Immersive Guides) */
.section-dark-green {
  background-color: var(--color-bg-green);
  padding: 8rem 0;
  color: var(--color-text-white);
}
.dark-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
}
.dark-header h2 { 
  color: var(--color-text-white); 
  font-size: 3rem; 
  line-height: 1.1; 
  margin: 0;
}
.dark-header .eyebrow { 
  color: var(--color-accent); 
  margin-bottom: 1.5rem;
}
.dark-header p { 
  color: rgba(255,255,255,0.7); 
  max-width: 500px; 
  margin: 0;
}
.guides-immersive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.guide-dark-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 3rem;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(.22,.61,.36,1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.guide-dark-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.gdc-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.guide-dark-card h3 { 
  font-size: 1.6rem; 
  margin-bottom: 1rem; 
  color: var(--color-text-white); 
}
.guide-dark-card p { 
  font-size: 1rem; 
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.guide-dark-card ul { 
  list-style: none; 
  padding: 0; 
  margin: 0 0 3rem 0; 
  flex-grow: 1; 
}
.guide-dark-card li { 
  font-size: 0.9rem; 
  color: rgba(255,255,255,0.8); 
  margin-bottom: 0.75rem; 
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
}
.guide-dark-card li::before { 
  content: '<i class="bi bi-arrow-right"></i>'; 
  color: var(--color-accent); 
}
.gdc-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}
.guide-dark-card:hover .gdc-link {
  gap: 1rem;
}

/* Connected Philosophy Timeline */
.section-philosophy { padding: var(--section-padding); background: var(--color-bg-white); text-align: center; }
.section-philosophy .container > h2 { max-width: 600px; margin: 0 auto 4rem auto; }

.philosophy-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 2rem;
}
/* The Horizontal Gold Line */
.philosophy-timeline::before {
  content: '';
  position: absolute;
  top: 40px; /* Aligns with the center of the 80px node */
  left: 10%;
  right: 10%;
  height: 2px;
  background-color: var(--color-border);
  z-index: 0;
}
.philosophy-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.node-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-bg-white);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-primary);
  font-size: 2rem;
  box-shadow: 0 0 0 10px var(--color-bg-white); /* Creates a cutout effect on the line */
}
.philosophy-node h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.philosophy-node p {
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 320px;
}

/* Sand CTA / Stats */
.section-cta { padding: 4rem 0; background-color: var(--color-bg-sand); text-align: center; }
.stats-grid { display: flex; justify-content: center; gap: 6rem; align-items: center; flex-wrap: wrap; }
.stat-item h4 { font-size: 2.5rem; color: var(--color-primary); margin-bottom: 0.25rem; }
.stat-item p { font-size: 0.9rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin: 0; }

/* Latest Articles (Asymmetrical Grid) */
.section-articles { padding: var(--section-padding); background: var(--color-bg-white); }
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 2rem;
}
.article-card {
  background: var(--color-bg-sand);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text-dark);
}
.article-card:hover { 
  transform: translateY(-4px); 
}
.article-content { 
  padding: 2rem; 
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* The Featured Insight Card */
.article-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--color-primary);
  color: var(--color-text-white);
  border: none;
}
.article-card.featured .article-content {
  padding: 4rem;
  justify-content: flex-end;
}
.article-card.featured .article-meta {
  color: var(--color-accent);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.article-card.featured .article-meta span {
  color: var(--color-accent);
}
.article-card.featured h4 {
  font-size: 2.5rem;
  color: var(--color-text-white);
  line-height: 1.1;
  margin: 1.5rem 0;
}
.article-card.featured p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
}

/* Standard Article Meta & Titles */
.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}
.article-meta span {
  color: var(--color-primary);
  font-weight: 700;
}
.article-card:not(.featured) h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent);
}
.article-card:not(.featured) p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Booking / CTA Box */
.booking-box {
  background-color: var(--color-primary);
  border-radius: 8px;
  padding: 4rem;
  color: var(--color-text-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: -8rem; /* Overlap effect */
  position: relative;
  z-index: 10;
}
.booking-box h2 { color: var(--color-text-white); font-size: 2.5rem; }
.booking-box p { color: rgba(255,255,255,0.8); }

/* Footer (Abstract Momentum Waves) */
footer {
  background-color: var(--color-primary);
 background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-text-white);
  padding: 8rem 0 3rem 0; /* Extra padding if overlapping */
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, var(--color-primary) 0%, transparent 60%);
  z-index: 1;
}
footer .container {
  position: relative;
  z-index: 2;
}
.footer-matrix {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  background-color: rgba(185, 138, 59, 0.2); /* Creates the 1px grid borders */
  gap: 1px;
  border: 1px solid rgba(185, 138, 59, 0.2);
  border-radius: 4px;
  margin-bottom: 4rem;
  overflow: hidden;
}
.matrix-cell {
  background-color: var(--color-primary); /* Solid navy */
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.matrix-brand {
  grid-row: span 2;
}
.matrix-brand h2 {
  font-size: 2.25rem;
  color: var(--color-text-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.matrix-brand p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}
.matrix-cell h4 {
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}
.matrix-cell ul { list-style: none; padding: 0; margin: 0; }
.matrix-cell li { margin-bottom: 1rem; }
.matrix-cell a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.matrix-cell a:hover { color: var(--color-text-white); }
.disclaimer-block {
  border-top: 1px solid rgba(185, 138, 59, 0.2);
  padding-top: 2rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  text-align: justify;
}
/* Inner Page Hero */
.inner-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  max-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}
.inner-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.9) 0%, rgba(13, 22, 38, 0.6) 100%);
  z-index: 1;
}
.inner-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}
.inner-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--color-text-white);
  margin: 0;
  max-width: 900px;
  letter-spacing: -0.02em;
}

/* Inner Pages Styling */
.breadcrumbs {
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs a {
  color: var(--color-text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.breadcrumbs a:hover {
  color: var(--color-accent);
}
.breadcrumbs a i {
  margin-right: 0.4rem;
  font-size: 0.9rem;
}
.breadcrumbs span {
  color: var(--color-accent); /* Highlight current page subtly */
}
.content-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; padding-bottom: 6rem; }
@media (min-width: 992px) { .sidebar-layout { grid-template-columns: 2.5fr 1fr; } }
.main-content h1 { font-size: 3.5rem; margin-bottom: 2rem; }
.main-content h2 { font-size: 2rem; margin-top: 3rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1rem; }
.main-content ul { padding-left: 1.5rem; margin-bottom: 2rem; }
.main-content li { margin-bottom: 0.5rem; color: var(--color-text-light); font-size: 1.1rem; }
.main-content strong { color: var(--color-text-dark); }

/* Premium Table Styling */
.main-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  box-shadow: 0 10px 30px rgba(13, 22, 38, 0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.main-content th {
  background-color: var(--color-bg-sand);
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
  text-align: left;
}
.main-content td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  background-color: var(--color-bg-white);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.main-content tbody tr:last-child td {
  border-bottom: none;
}
.main-content tbody tr:hover td {
  background-color: rgba(185, 138, 59, 0.04);
  color: var(--color-primary);
}
.main-content td:first-child {
  font-weight: 600;
  color: var(--color-primary);
  width: 35%;
}

.sidebar .card {
  background: var(--color-bg-sand);
  border-radius: 4px;
  padding: 2rem;
}
.sidebar .card h3 { color: var(--color-primary); font-size: 1.25rem; margin-bottom: 1rem; }
details { border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; }
summary { font-size: 1.2rem; font-weight: 600; cursor: pointer; color: var(--color-text-dark); list-style: none; display: flex; justify-content: space-between; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--color-primary); font-weight: 300; font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { margin-top: 1rem; margin-bottom: 0; }

/* Custom Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}
.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}
.slide-left.active {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s cubic-bezier(.22,.61,.36,1), transform 0.8s cubic-bezier(.22,.61,.36,1);
}
.slide-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Utilities */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(.22,.61,.36,1);
  z-index: 1000;
}
#back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  /* Hero */
  .hero-inst { padding: 6rem 0 6rem 0; }
  .hero-content h1 { font-size: 2.5rem; }
  .trust-metrics-hero { flex-direction: column; gap: 1.5rem; margin-top: 3rem; align-items: center; text-align: center; }
  
  /* Trust Ribbon */
  .trust-ribbon-grid { grid-template-columns: 1fr 1fr; }
  
  /* Editorial Layouts */
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-header { position: relative; top: 0; margin-bottom: 3rem; }
  .editorial-row { grid-template-columns: 60px 1fr 40px; padding: 2rem 1rem; margin: 0; }
  .editorial-row:hover { padding-left: 1rem; padding-right: 1rem; }
  
  /* Guides & CTA */
  .guides-immersive-grid { grid-template-columns: 1fr; }
  .dark-header { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .section-cta h2 { font-size: 2rem; }
  
  /* Philosophy Timeline */
  .philosophy-timeline { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; }
  .philosophy-timeline::before {
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .philosophy-node { display: grid; grid-template-columns: 80px 1fr; column-gap: 2rem; row-gap: 0.5rem; text-align: left; }
  .philosophy-node h3 { margin: 0.5rem 0 0 0; grid-column: 2; grid-row: 1; }
  .philosophy-node p { grid-column: 2; grid-row: 2; max-width: none; margin-top: 0; }
  .node-icon { margin-bottom: 0; grid-column: 1; grid-row: 1 / span 2; }
  
  /* Articles Grid */
  .articles-grid { grid-template-columns: 1fr; }
  .article-card.featured { grid-column: span 1; grid-row: span 1; }
  .article-card.featured h4 { font-size: 2rem; }
  .article-card.featured .article-content { padding: 2.5rem; }
  
  /* Footer */
  .footer-matrix { grid-template-columns: 1fr 1fr; }
  .matrix-brand { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 768px) {
  /* Inner Pages Table */
  .main-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Hero tweaks */
  .hero-checks { flex-direction: column; align-items: center; gap: 1rem; }
  
  /* Trust Ribbon */
  .trust-ribbon-grid { grid-template-columns: 1fr; }
  
  /* Footer */
  .footer-matrix { grid-template-columns: 1fr; gap: 1px; }
  .matrix-brand { grid-column: span 1; grid-row: auto; }
  .booking-box { grid-template-columns: 1fr; padding: 2.5rem; gap: 2rem; }
}
/* Sidebar */

.sidebar{
    position:relative;
}

.assessment-card{
    position:sticky;
    top:130px;
    padding:20px;
    border-radius:22px;
    border:1px solid rgba(201,166,90,1);
    overflow:hidden;
    isolation:isolate;
    box-shadow:
        0 10px 35px rgba(15,23,42,.05),
        inset 0 1px rgba(255,255,255,.9);
    transition:.35s;
}

.assessment-card:hover{
    transform:translateY(-4px);
    box-shadow:
        0 22px 60px rgba(15,23,42,.10);
}

.assessment-card::after{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    right:-180px;
    top:-180px;
    border-radius:50%;
    background:
    radial-gradient(circle,
    rgba(201,166,90,.06),
    transparent 72%);
    z-index:-1;
}


/* Typography */

.assessment-card h3{

    font-size:1.5rem;
    line-height:1.2;
    color:#111827;
    margin-bottom:20px;
    font-weight:700;
}

.assessment-card p{

    color:#5B6472;
    line-height:1.8;
    margin-bottom:28px;
    font-size: 15px;
}

.assessment-card small{

    display:block;
    margin-top:24px;
    color:#7A8594;
    font-size:.88rem;
    line-height:1.7;
}


/* Button */

.assessment-card .btn{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    padding:18px;
    border-radius:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.02em;
    transition:.3s;
}

.assessment-card .btn:hover{

    transform:translateY(-2px);
}

/* Contact Matrix Layout */
.contact-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background-color: var(--color-accent); /* The 1px gap forms a gold border */
    border: 1px solid var(--color-accent);
    margin: 4rem auto 6rem auto;
    max-width: 1200px;
}

.contact-cell {
    background-color: var(--color-primary);
    padding: 3rem 2.5rem;
    color: var(--color-text-white);
    display: flex;
    flex-direction: column;
}

.contact-cell-form {
    grid-column: span 2;
    background-color: var(--color-bg-white);
    color: var(--color-primary);
}

.contact-cell-protocol {
    grid-column: span 1;
    background-color: var(--color-bg-sand);
    color: var(--color-primary);
}

.contact-cell h3 {
    font-size: 1.5rem;
    color: inherit;
    margin-bottom: 0.5rem;
}

.contact-cell .eyebrow {
    margin-bottom: 1.5rem;
}

.contact-cell p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-cell-form p,
.contact-cell-protocol p {
    color: var(--color-text-light);
}

.contact-cell-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    display: block;
}

.contact-protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-protocol-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-protocol-list i {
    margin-right: 0.75rem;
    margin-top: 0.1rem;
}

.contact-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 0;
    padding: 0.75rem 0;
    color: var(--color-primary);
    width: 100%;
    transition: var(--transition-fast);
}

.contact-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: none;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 991px) {
    .contact-matrix {
        grid-template-columns: 1fr;
    }
    .contact-cell-form, .contact-cell-protocol {
        grid-column: span 1;
    }
}

/* Resources Matrix Layout */
.resources-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 4rem auto;
}

.resources-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--color-accent); /* The 1px gap forms a gold border */
    border: 1px solid var(--color-accent);
    margin: 4rem auto 6rem auto;
}

.resources-cell {
    background-color: var(--color-bg-white);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
}

.resources-cell h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
}

.resources-cell p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.resources-cell .text-sm {
    font-size: 0.9rem;
    color: rgba(0,0,0,0.5);
}

.resources-cell .actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
}

.resources-cell-sources {
    grid-column: span 2;
    background-color: var(--color-bg-sand);
}

.resources-cell-sources h3 {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(185, 138, 59, 0.3); /* Soft Gold border */
}

.sources-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    column-count: 2;
    column-gap: 3rem;
}

.sources-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    color: var(--color-text-dark);
    break-inside: avoid;
}

.sources-list i {
    color: var(--color-accent);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.sources-note {
    font-weight: 600;
    color: var(--color-text-light);
    margin: 0;
}

.resources-cell-cta {
    grid-column: span 2;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
}

.resources-cell-cta h3 {
    font-size: 2.25rem;
    color: white;
    margin-bottom: 1rem;
}

.resources-cell-cta p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .resources-matrix {
        grid-template-columns: 1fr;
    }
    .resources-cell-sources, .resources-cell-cta {
        grid-column: span 1;
    }
    .sources-list {
        column-count: 1;
    }
}

/* About Matrix Layout */
.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 3rem auto 4rem auto;
}

.about-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--color-accent);
    border: 1px solid var(--color-accent);
    margin: 0 auto 6rem auto;
    max-width: 1000px;
}

.about-cell {
    background-color: var(--color-bg-white);
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
}

.about-cell-full {
    grid-column: span 2;
}

.about-cell-dark {
    background-color: var(--color-primary);
    color: white;
}

.about-cell-dark p {
    color: rgba(255,255,255,0.7) !important;
}

.about-cell-sand {
    background-color: var(--color-bg-sand);
}

.about-cell-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.about-cell h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.about-cell-dark h3 {
    color: white;
}

.about-cell p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.about-cell-lead {
    font-size: 1.25rem !important;
    color: var(--color-primary) !important;
    font-weight: 500;
}

@media (max-width: 767px) {
    .about-matrix {
        grid-template-columns: 1fr;
    }
    .about-cell-full {
        grid-column: span 1;
    }
}/* Inspired Hero Layout */
.hero-inspired {
  padding: 8rem 0 4rem 0;
  background-color: var(--color-primary);
  background-image: url('../images/hero-img.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: visible;
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: left;
}

.hero-inspired::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 22, 38, 0.7);
  z-index: 1;
}

.hero-container-inspired {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2rem;
}

.hero-left-content {
  flex: 1 1 500px;
  max-width: 700px;
  padding-bottom: 2rem;
}

.hero-left-content h1.text-uppercase {
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-left-content .hero-premium-label {
  margin-bottom: 1.5rem;
}

.hero-left-content p.text-large {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
}

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

.btn-dark-cut, .btn-light-cut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: none;
  border: none;
  text-decoration: none;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.btn-dark-cut {
  background-color: #1a1a1a;
  color: #fff;
}

.btn-dark-cut:hover {
  background-color: #333;
}

.btn-dark-cut::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 15px 15px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.btn-light-cut {
  background-color: #fff;
  color: #1a1a1a;
}

.btn-light-cut:hover {
  background-color: #f0f0f0;
}

.btn-light-cut::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  border-width: 0 15px 15px 0;
  border-style: solid;
  border-color: transparent #1a1a1a transparent transparent;
}


.hero-right-card {
  display: flex;
  max-width: 650px;
  width: 100%;
  flex: 1 1 450px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  overflow: hidden;
  transform: translateY(2rem);
  z-index: 10;
}

.card-half {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-half.white-bg {
  background-color: #ffffff;
  color: var(--color-text-dark);
}

.card-half.sage-bg {
  background-color: var(--color-accent);
  color: var(--color-text-dark);
}

.card-stat {
  font-size: 3.5rem;
  font-weight: 500;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.card-half p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

@media (max-width: 991px) {
  .hero-container-inspired {
    flex-direction: column;
    align-items: center;
  }
  .hero-right-card {
    transform: translateY(0);
    margin-top: 2rem;
  }
  .hero-inspired {
    padding-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  .hero-right-card {
    flex-direction: column;
  }
}
