/* ALEEF Website — shared stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --forest:     #1F3A2E;
  --forest-2:   #2B4A3B;
  --moss:       #5A6E5A;
  --cream:      #F4EFE6;
  --cream-2:    #EBE4D6;
  --bone:       #FBF8F1;
  --gold:       #B8894A;
  --gold-soft:  #D9B884;
  --ink:        #1C1B18;
  --ink-2:      #3B3A36;
  --ink-mute:   #57544C; /* Boosted contrast for WCAG AA 4.5:1 compatibility on cream */
  --rule:       #C8BFA8;
  --rule-dark:  rgba(244, 239, 230, 0.18);
  --terracotta: #A85A3E;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: -0.005em; }
.serif-italic { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 400; }
.mono-num { font-feature-settings: "tnum" 1, "lnum" 1; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ─── Nav ──────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,241,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31,58,46,0.08);
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 5px; padding-bottom: 5px;
}
.site-nav .brand {
  display: inline-flex;
  align-items: center;
  height: 100px;
  width: auto;
}
.site-nav .brand .logo-svg {
  height: 100%;
  width: auto;
}
/* Header brand colors removed to preserve native SVG colors */

.mobile-cta-item { display: none; }
.site-nav .nav-toggle { display: none; }
.site-nav ul {
  display: flex; gap: 26px; list-style: none; margin: 0; padding: 0;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-2);
}
.site-nav ul li { position: relative; }
.site-nav ul a { padding: 8px 0; display: inline-block; position: relative; }
.site-nav ul a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-nav ul a:hover::after,
.site-nav ul li.active > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav ul a:hover,
.site-nav ul li.active > a { color: var(--forest); transition: color 0.25s ease; }

.site-nav ul li.has-sub > .parent-label {
  padding: 8px 14px 8px 0; display: inline-block;
  cursor: default; position: relative;
}
.site-nav ul li.has-sub > .parent-label::after {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 5px; height: 5px; margin-top: -4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg); opacity: 0.5;
  transition: transform 0.25s ease;
}
.site-nav ul li.has-sub:hover > .parent-label::after {
  transform: rotate(225deg) translateY(-2px) translateX(-2px);
}
.site-nav ul li.has-sub:hover > .parent-label,
.site-nav ul li.has-sub.active > .parent-label { color: var(--forest); }
.site-nav ul li.has-sub.active > .parent-label::before {
  content: ''; position: absolute; left: 0; right: 14px; bottom: 0;
  height: 1px; background: var(--gold);
}
.site-nav .sub {
  position: absolute; top: 100%; left: -14px; min-width: 220px;
  background: #fff; border: 1px solid var(--rule);
  padding: 8px 0; display: block;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 40px rgba(31,58,46,0.1);
  z-index: 60;
}
.site-nav ul li:hover .sub {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.site-nav .sub a {
  display: block; padding: 10px 20px; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav .sub a::after { display: none; }
.site-nav .sub a:hover { background: var(--bone); color: var(--forest); }

.cta-btn {
  background: var(--gold); color: var(--forest);
  padding: 10px 18px; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  border: 1px solid var(--forest);
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.cta-btn:hover {
  background: var(--gold-soft);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(184, 137, 74, 0.25);
}
.cta-btn:active {
  transform: translateY(0);
}
.cta-btn.outline {
  background: transparent; color: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.cta-btn.outline:hover {
  background: var(--forest); color: var(--cream);
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 58, 46, 0.15);
}
.cta-btn.outline:active {
  transform: translateY(0);
}
.cta-btn.light {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(244,239,230,0.55);
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.cta-btn.light:hover {
  background: var(--cream); color: var(--forest);
  border-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 239, 230, 0.15);
}
.cta-btn.light:active {
  transform: translateY(0);
}

/* Button overrides in dark context */
.hero .cta-btn,
.band.dark .cta-btn,
.stay-informed-card .cta-btn,
.accent-card .cta-btn {
  border-color: var(--gold-soft);
}
.hero .cta-btn:hover,
.band.dark .cta-btn:hover,
.stay-informed-card .cta-btn:hover,
.accent-card .cta-btn:hover {
  border-color: var(--cream);
}

/* ─── Page header ──────────────────────────────────────────────── */
.page-hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--rule);
  background: var(--bone);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -50px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 74, 0.05);
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: 0px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(31, 58, 46, 0.03);
  pointer-events: none;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(48px, 6vw, 88px); line-height: 1.02;
  margin: 0; max-width: 920px; letter-spacing: -0.01em;
  color: var(--ink);
}
.page-hero .lead {
  margin-top: 20px; max-width: 740px;
  font-size: 20px; color: var(--ink-mute); line-height: 1.55;
}

.page-hero.dark {
  background: var(--forest);
  border-bottom: none;
}
.page-hero.dark h1 {
  color: var(--cream);
}
.page-hero.dark .lead {
  color: rgba(244, 239, 230, 0.85);
}
.page-hero.dark .eyebrow {
  color: var(--gold-soft);
}
.page-hero.dark .eyebrow .dot {
  background: var(--gold-soft);
}
.page-hero.dark::before {
  border-color: rgba(184, 137, 74, 0.15);
}
.page-hero.dark::after {
  border-color: rgba(244, 239, 230, 0.08);
}

/* Eyebrow label */
.eyebrow {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  margin-right: 12px; vertical-align: middle;
}

/* Sections */
section.band { padding: 96px 0; }
section.band.dark { background: var(--forest); color: var(--cream); }
section.band.dark .eyebrow { color: var(--gold-soft); }
section.band.dark .eyebrow .dot { background: var(--gold-soft); }
section.band.bone { background: var(--bone); }
section.band.cream { background: var(--cream); }

.h2 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.05;
  margin: 0 0 18px; letter-spacing: -0.005em;
}
h3, .h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: clamp(22px, 3.2vw, 28px); line-height: 1.15; margin: 0 0 12px;
  color: var(--forest);
}
.section-lead {
  font-size: 19px; color: var(--ink-mute); line-height: 1.55;
  max-width: 65ch; /* Restricted line length for readability */
}

/* Rules */
.hairline { height: 1px; background: var(--rule); width: 100%; }
.hairline-dark { height: 1px; background: var(--rule-dark); width: 100%; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); }

/* Pillars Grid layout */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

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

@media (max-width: 600px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.pillar {
  background: var(--bone); padding: 44px 36px;
  display: flex; flex-direction: column; gap: 20px; min-height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.pillar.dark {
  border-color: rgba(244, 239, 230, 0.12);
}

/* 4 columns layout (Desktop) */
@media (min-width: 901px) {
  .pillar:nth-child(1) {
    border-right: none;
    border-radius: 12px 0 0 12px;
  }
  .pillar:nth-child(2),
  .pillar:nth-child(3) {
    border-right: none;
    border-radius: 0;
  }
  .pillar:nth-child(4) {
    border-radius: 0 12px 12px 0;
  }
}

/* 2 columns layout (Tablet) */
@media (min-width: 601px) and (max-width: 900px) {
  .pillar:nth-child(1) {
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
  }
  .pillar:nth-child(2) {
    border-bottom: none;
    border-radius: 0 12px 0 0;
  }
  .pillar:nth-child(3) {
    border-right: none;
    border-radius: 0 0 0 12px;
  }
  .pillar:nth-child(4) {
    border-radius: 0 0 12px 0;
  }
}

/* 1 column layout (Mobile) */
@media (max-width: 600px) {
  .pillar:nth-child(1) {
    border-bottom: none;
    border-radius: 12px 12px 0 0;
  }
  .pillar:nth-child(2),
  .pillar:nth-child(3) {
    border-bottom: none;
    border-radius: 0;
  }
  .pillar:nth-child(4) {
    border-radius: 0 0 12px 12px;
  }
}
.pillar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar:hover::after {
  width: 100%;
}
.pillar.dark::after {
  background: var(--gold-soft);
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(31, 58, 46, 0.08);
  border-color: rgba(184, 137, 74, 0.15);
}
.pillar .num {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: 64px; line-height: 0.9; color: var(--gold);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.pillar:hover .num {
  transform: scale(1.08) translateY(-2px);
}
.pillar h3 {
  font-family: "Cormorant Garamond", serif; font-weight: 600;
  font-size: 28px; color: var(--forest); margin: 0; line-height: 1.15;
}
.pillar.dark { background: var(--forest); color: var(--cream); }
.pillar.dark .num { color: var(--gold-soft); }
.pillar.dark h3 { color: var(--cream); }
.pillar.dark:hover {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  border-color: rgba(217, 184, 132, 0.15);
}
.pillar-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}
.pillar-row {
  border-top: 1px dashed rgba(184, 137, 74, 0.15);
  padding: 18px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  transition: color 0.3s ease;
}
.pillar-row:last-child {
  padding-bottom: 0;
}
.pillar.dark .pillar-row {
  border-top-color: rgba(244, 239, 230, 0.12);
  color: rgba(244, 239, 230, 0.75);
}
.pillar-row strong {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.pillar.dark .pillar-row strong {
  color: var(--cream);
}
.pillar-row:hover {
  color: var(--ink);
}
.pillar.dark .pillar-row:hover {
  color: var(--cream);
}
.pillar-row:hover strong {
  color: var(--gold);
}
.pillar.dark .pillar-row:hover strong {
  color: var(--gold-soft);
}

/* Footer */
.site-foot {
  background: var(--forest); color: rgba(244,239,230,0.75);
  padding: 72px 0 40px;
}
.site-foot .cols {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}
.site-foot .brand {
  display: inline-flex;
  align-items: center;
  height: 100px;
  width: auto;
  margin-bottom: 24px;
}
.site-foot .brand .logo-svg {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.site-foot .brand:hover .logo-svg {
  opacity: 1;
}
.site-foot h4 {
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); margin: 0 0 16px;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot ul li { padding: 6px 0; font-size: 15px; }
.site-foot ul a { color: rgba(244, 239, 230, 0.7); text-decoration: none; transition: color 0.2s ease; }
.site-foot ul a:hover { color: var(--gold-soft); }
.site-foot ul li:hover .foot-contact-icon { color: var(--cream) !important; transform: scale(1.1); }
.foot-contact-icon { transition: transform 0.2s ease, color 0.2s ease; }
.site-foot .note {
  font-size: 13px; color: rgba(244,239,230,0.5); line-height: 1.6;
  max-width: 380px;
}
.site-foot .legal {
  padding-top: 28px; display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(244,239,230,0.5); letter-spacing: 0.08em;
}
.site-foot .legal a {
  color: rgba(244,239,230,0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-foot .legal a:hover {
  color: var(--gold-soft);
}
@media (max-width: 640px) {
  .site-foot .legal {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
}

/* Hero (homepage) */
.hero {
  position: relative; overflow: hidden;
  background: var(--forest); color: var(--cream);
  padding: 120px 0 140px;
}
.hero .bg-arcs {
  position: absolute; right: -180px; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px; pointer-events: none;
  animation: floatArcs 10s ease-in-out infinite alternate;
}
@keyframes floatArcs {
  from { transform: translateY(-50%) translateX(0px) rotate(0deg); }
  to { transform: translateY(-50%) translateX(-15px) rotate(1deg); }
}

.hero .bg-arcs > div {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%;
  opacity: 0;
}
.hero .bg-arcs .a1 { 
  width: 720px; height: 720px; border: 1px solid rgba(217,184,132,0.22); 
  animation: arcScaleIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero .bg-arcs .a2 { 
  width: 560px; height: 560px; border: 1px solid rgba(217,184,132,0.3); 
  animation: arcScaleIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}
.hero .bg-arcs .a3 { 
  width: 400px; height: 400px; background: rgba(217,184,132,0.08); border: 1px solid rgba(217,184,132,0.4); 
  animation: arcScaleIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero .bg-arcs .a4 { 
  width: 220px; height: 220px; background: var(--gold); 
  animation: arcScaleInSolid 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}
.hero .bg-arcs .a4::after {
  content: 'A';
  font-family: "Cormorant Garamond", serif; font-style: italic;
  color: var(--forest); font-size: 120px; font-weight: 500;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%);
}

@keyframes arcScaleIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes arcScaleInSolid {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  to { opacity: 1; transform: translate(-50%, -55%) scale(1); }
}

/* Staggered entrance for hero text content */
.hero .eyebrow {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif; font-weight: 500;
  font-size: clamp(56px, 8vw, 112px); line-height: 0.98;
  margin: 0; letter-spacing: -0.015em; max-width: 820px;
  position: relative;
  opacity: 0;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}
.hero .sub {
  max-width: 560px; font-size: 19px; line-height: 1.55;
  color: rgba(244,239,230,0.82); margin-top: 24px; position: relative;
  opacity: 0;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}
.hero .ctas {
  margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap;
  position: relative;
  opacity: 0;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page Hero entrance animation */
.page-hero .eyebrow {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.page-hero h1 {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}
.page-hero .lead {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Scroll Animation System */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Tag */
.tag {
  display: inline-block; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid var(--rule);
  color: var(--ink-2); font-weight: 600; border-radius: 999px;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.tag:hover {
  background-color: rgba(184, 137, 74, 0.08);
  border-color: var(--gold);
  color: var(--forest);
}
.dark .tag { border-color: var(--rule-dark); color: var(--gold-soft); }
.dark .tag:hover {
  background-color: rgba(217, 184, 132, 0.12);
  border-color: var(--gold-soft);
  color: var(--cream);
}

/* Button links inline */
.link-more {
  font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700;
  color: var(--forest); display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--gold); padding-bottom: 4px;
  transition: color 0.25s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}
.link-more:hover { 
  color: var(--gold); 
  padding-left: 4px;
  border-bottom-color: var(--gold-soft);
}
.dark .link-more { color: var(--gold-soft); border-bottom-color: var(--gold); transition: color 0.25s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease; }
.dark .link-more:hover { color: var(--cream); padding-left: 4px; border-bottom-color: var(--gold-soft); }

/* Document factsheet row interactive hover styles */
.fs-row {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  margin: 0 -12px;
  border-bottom: 1px dotted var(--rule);
  transition: background-color 0.25s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-bottom-color 0.25s ease;
}
.fs-row:hover {
  background-color: var(--bone);
  padding-left: 18px;
  border-bottom-color: var(--gold);
}

/* Mobile */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; gap: 14px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero { padding: 80px 0 100px; }
  .hero .bg-arcs { right: -300px; opacity: 0.5; }

  /* Mobile Nav */
  .site-nav .container {
    position: relative;
    height: 90px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .site-nav .brand {
    height: 80px;
  }
  .site-nav .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    margin-left: auto;
    margin-right: 20px;
    outline: none;
  }
  .site-nav .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--forest);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }
  .site-nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .desktop-cta { display: none !important; }
  .mobile-cta-item { display: block !important; margin-top: 12px; }

  .site-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    background: rgba(251, 248, 241, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    padding: 20px 32px 32px;
    gap: 12px;
    box-shadow: 0 16px 32px rgba(31, 58, 46, 0.08);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    z-index: 99;
  }
  .site-nav.nav-open ul {
    display: flex;
  }
  .site-nav ul li {
    width: 100%;
  }
  .site-nav ul a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(31, 58, 46, 0.04);
  }
  .site-nav ul a::after {
    display: none;
  }
  .site-nav ul li.has-sub > .parent-label {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(31, 58, 46, 0.04);
    position: relative;
    cursor: pointer;
  }
  .site-nav ul li.has-sub > .parent-label::after {
    right: 8px;
    top: 50%;
  }
  .site-nav .sub {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: rgba(31, 58, 46, 0.03);
    padding: 4px 16px;
    margin-top: 4px;
    border-radius: 6px;
  }
  .site-nav ul li.has-sub.sub-open .sub {
    display: block;
  }
  .site-nav ul li.has-sub.sub-open > .parent-label::after {
    transform: rotate(225deg) translateY(-2px) translateX(-2px);
  }
}

/* Micro-feedback click active states */
.cta-btn:active,
.fs-row:active,
.doc-card:active,
.cause-card:active,
.board-card:active,
.tag:active,
.docs-tab:active {
  transform: scale(0.98);
  transition: transform 0.1s ease;
}

/* Tabular Numerals for clean grid/table numeric alignment */
.mono-num,
.num,
.stat-val,
.fs-row,
.doc-card-meta,
.timeline,
.board-card ul,
.hero .eyebrow {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* Typography Line Measure Limit */
p, .lead {
  max-width: 72ch; /* Comfortable typographic measure */
}

/* Card Visual Depth & Box Shadows */
.doc-card,
.cause-card,
.board-card {
  box-shadow: 0 4px 20px rgba(31, 58, 46, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.doc-card:hover,
.cause-card:hover,
.board-card:hover {
  box-shadow: 0 12px 32px rgba(31, 58, 46, 0.07);
}

/* Highlights Redesign (3-Column Homepage Section) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.highlights-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(31, 58, 46, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.highlights-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(31, 58, 46, 0.07);
  border-color: var(--gold-soft);
}
.highlights-card.accent-card {
  background: linear-gradient(135deg, var(--forest) 0%, #162d22 100%);
  color: var(--cream);
  border-color: transparent;
}
.highlights-card.accent-card:hover {
  border-color: var(--gold);
}

/* Mini Sparkline Watermark Animation */
.nav-sparkline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  opacity: 0.18;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.highlights-card:hover .nav-sparkline {
  opacity: 0.32;
}
.sparkline-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
}
.animate-on-scroll.is-visible .sparkline-path {
  animation: drawSparkline 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes drawSparkline {
  to { stroke-dashoffset: 0; }
}

/* Factsheets Row Redesign */
.fs-row-modern {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  text-decoration: none;
  background: var(--bone);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 12px;
}
.fs-row-modern:last-child {
  margin-bottom: 0;
}
.fs-row-modern:hover {
  background: #fff;
  border-color: var(--gold-soft);
  transform: translateX(6px);
  box-shadow: 0 6px 16px rgba(31, 58, 46, 0.04);
}
.fs-pdf-modern {
  width: 40px;
  height: 40px;
  background: rgba(217, 184, 132, 0.15);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.fs-row-modern:hover .fs-pdf-modern {
  background: var(--forest);
  color: var(--cream);
}
.fs-name-modern {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.fs-row-modern:hover .fs-name-modern {
  color: var(--forest);
}
.fs-meta-modern {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.fs-arrow-icon {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--gold);
}
.fs-row-modern:hover .fs-arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* Background animated circles for Card 3 */
.pulse-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.pulse-circle-1 {
  right: -50px;
  top: -50px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(217, 184, 132, 0.15);
  animation: spinCircle 30s infinite linear;
}
.pulse-circle-2 {
  right: -10px;
  top: -10px;
  width: 130px;
  height: 130px;
  background: rgba(217, 184, 132, 0.08);
  animation: pulseSoft 8s infinite ease-in-out;
}
@keyframes spinCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulseSoft {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 960px) {
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Key Figures Section Grid Layout */
.key-figures-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
}
@media (max-width: 1024px) {
  .key-figures-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}
@media (max-width: 960px) {
  .key-figures-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Key Figures Stats Grid */
.figures-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(31, 58, 46, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: 0 12px 28px rgba(31, 58, 46, 0.06);
}
.stat-item:hover .stat-label {
  color: var(--gold);
}
.stat-number {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-size: 60px;
  color: var(--forest);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* Stay Informed Card */
.stay-informed-card {
  background: linear-gradient(135deg, var(--forest) 0%, #11231a 100%);
  color: var(--cream);
  padding: 60px 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(16, 33, 24, 0.12);
  border: 1px solid rgba(244, 239, 230, 0.06);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stay-informed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(16, 33, 24, 0.18);
}
/* Abstract geometric vector background watermarks */
.stay-informed-card::before {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.04);
  pointer-events: none;
}
.stay-informed-card::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -90px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 132, 0.05);
  pointer-events: none;
}

/* Modern pill-shaped input container */
.mailing-input-container {
  display: flex;
  background: rgba(244, 239, 230, 0.05);
  border: 1px solid rgba(244, 239, 230, 0.12);
  border-radius: 8px;
  padding: 6px 6px 6px 16px;
  align-items: center;
  margin-top: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.mailing-input-container:hover {
  background: rgba(244, 239, 230, 0.08);
  border-color: rgba(244, 239, 230, 0.2);
}
.mailing-input-container:focus-within {
  border-color: var(--gold-soft);
  background: rgba(244, 239, 230, 0.1);
  box-shadow: 0 0 0 4px rgba(217, 184, 132, 0.12);
}
.mailing-input-container input {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 15px;
  width: 100%;
  outline: none;
  font-family: inherit;
}
.mailing-input-container input::placeholder {
  color: rgba(244, 239, 230, 0.35);
}
.mailing-input-container .cta-btn-pill {
  background: var(--gold);
  border: 0;
  border-radius: 6px;
  color: var(--forest);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mailing-input-container .cta-btn-pill:hover {
  background: var(--cream);
  color: var(--forest);
  transform: translateY(-1px);
}
.mailing-input-container .cta-btn-pill:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .figures-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stay-informed-card {
    padding: 44px 32px;
  }
  .mailing-input-container {
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .mailing-input-container input {
    background: rgba(244, 239, 230, 0.05);
    border: 1px solid rgba(244, 239, 230, 0.12);
    padding: 14px 18px;
  }
  .mailing-input-container .cta-btn-pill {
    width: 100%;
    padding: 14px;
  }
}

/* About Page - Mission Cards */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .mission-grid {
    grid-template-columns: 1fr;
  }
}
.mission-card {
  background: var(--bone);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mission-card:hover::after {
  width: 100%;
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 58, 46, 0.04);
  z-index: 2;
}

/* Desktop styles */
@media (min-width: 769px) {
  .mission-card:first-child {
    border-right: none;
    border-radius: 12px 0 0 12px;
  }
  .mission-card:last-child {
    border-radius: 0 12px 12px 0;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .mission-card:first-child {
    border-bottom: none;
    border-radius: 12px 12px 0 0;
  }
  .mission-card:last-child {
    border-radius: 0 0 12px 12px;
  }
}


/* About Page - Board Cards Styles */
.board-card {
  background: #fff; padding: 36px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  border: 1px solid var(--rule);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.board-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.board-card:hover::after {
  width: 100%;
}
.board-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31,58,46,0.08);
  border-color: rgba(184, 137, 74, 0.15);
}
.board-portrait {
  width: 100%; aspect-ratio: 4 / 5;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 64px; color: var(--ink-mute);
  margin-bottom: 8px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
}
.board-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.board-card:hover .board-portrait img {
  transform: scale(1.06);
}
.board-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: var(--forest); font-weight: 600;
  line-height: 1.2;
}
.board-role {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.board-bio {
  font-size: 14px; color: var(--ink-mute); line-height: 1.65;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .board-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Redesigned Heritage Wealth Partners Section */
.hw-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.hw-feature-item {
  border-left: 2px solid rgba(31, 58, 46, 0.15);
  padding: 4px 0 4px 20px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.hw-feature-item:hover {
  border-color: var(--gold);
  transform: translateX(6px);
}
.hw-feature-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 4px;
}
.hw-feature-desc {
  font-size: 15px;
  color: var(--ink-mute);
  line-height: 1.55;
}

.hw-photo-container {
  position: relative;
  padding: 16px;
  max-width: 480px;
  margin: 0 auto;
}
.hw-photo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 1px solid var(--gold);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hw-photo-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--rule);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.hw-photo-container:hover .hw-photo-bg {
  transform: translate(12px, 12px);
}
.hw-photo-container:hover .hw-photo-img {
  transform: translate(-6px, -6px);
  box-shadow: 0 20px 48px rgba(31, 58, 46, 0.12);
}

.about-portfolio-logo-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}
@media (max-width: 768px) {
  .about-portfolio-logo-wrap {
    justify-content: center;
    margin-top: 32px;
  }
}

/* Innovation Page - Timeline and Features styles */
.innov-list {
  position: relative;
  border-top: 1px solid var(--rule);
}
.innov-list::before {
  content: "";
  position: absolute;
  left: 58px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule);
  z-index: 1;
  pointer-events: none;
}
.innov-row {
  display: grid;
  grid-template-columns: 120px 1fr 200px;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
  z-index: 2;
  transition: background-color 0.3s ease, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-bottom-color 0.3s ease;
}
.innov-row:hover {
  background-color: var(--cream);
  padding-left: 20px;
  border-bottom-color: var(--gold);
}
.innov-mark {
  padding-top: 4px;
  position: relative;
  z-index: 3;
}
.innov-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
  background: var(--bone);
  padding: 0 12px;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.innov-row:hover .innov-num {
  transform: scale(1.1) rotate(5deg);
}
.innov-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 10px;
}
.innov-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 36px;
  color: var(--forest);
  line-height: 1.15;
  margin-bottom: 14px;
}
.innov-body p {
  margin: 0;
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 620px;
}
.innov-aside {
  padding-top: 12px;
  text-align: right;
}

/* Innovation Page - Built on Foundations Cards */
.foundation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.foundation-card {
  background: #fff;
  border: 1px solid var(--rule);
  padding: 48px 40px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.foundation-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.foundation-card:hover::after {
  width: 100%;
}
.foundation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  border-color: rgba(184, 137, 74, 0.2);
}
.foundation-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 24px;
}
.foundation-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.foundation-item {
  display: flex;
  gap: 12px;
  align-items: start;
}
.foundation-bullet {
  width: 6px;
  height: 6px;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.foundation-item-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}
.foundation-item-text strong {
  color: var(--forest);
}

@media (max-width: 900px) {
  .foundation-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .foundation-card {
    padding: 32px 24px;
  }
}

@media (max-width: 900px) {
  .innov-row {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }
  .innov-num {
    font-size: 36px;
    padding: 0 4px;
  }
  .innov-list::before {
    left: 28px;
  }
  .innov-title {
    font-size: 28px;
  }
  .innov-aside {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
  }
}

/* Strategy Tabs Segmented Control */
.strat-tabs {
  display: inline-flex;
  background: rgba(31, 58, 46, 0.04);
  border: 1px solid var(--rule);
  padding: 4px;
  margin-top: 40px;
}
.strat-tab {
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.strat-tab:hover {
  color: var(--forest);
}
.strat-tab.active {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 4px 12px rgba(31, 58, 46, 0.06);
}

.page-hero.dark .strat-tabs {
  background: rgba(244, 239, 230, 0.08);
  border-color: rgba(244, 239, 230, 0.15);
}
.page-hero.dark .strat-tab {
  color: rgba(244, 239, 230, 0.65);
}
.page-hero.dark .strat-tab:hover {
  color: var(--cream);
}
.page-hero.dark .strat-tab.active {
  background: var(--cream);
  color: var(--forest);
  box-shadow: 0 4px 12px rgba(16, 33, 24, 0.25);
}


/* Three Building Blocks cards */
.block-card {
  background: var(--bone);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  border: 1px solid transparent;
}
.block-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.block-card:hover::after {
  width: 100%;
}
.block-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  border-color: rgba(184, 137, 74, 0.2);
}
.block-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}
.block-card:hover .block-num {
  transform: scale(1.08) translateX(2px);
}
.block-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--forest);
  line-height: 1.15;
}
.block-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}
.block-card p {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* Risk & Discipline List Items */
.risk-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.risk-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  align-items: start;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.risk-item:last-child {
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}
.risk-item:hover {
  padding-left: 16px;
  background: rgba(244, 239, 230, 0.03);
}
.risk-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 32px;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}
.risk-item:hover .risk-label {
  color: var(--gold);
  transform: scale(1.1);
}
.risk-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--cream);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.risk-item:hover .risk-title {
  color: #fff;
}
.risk-text {
  font-size: 15px;
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.6;
  transition: color 0.3s ease;
}
.risk-item:hover .risk-text {
  color: rgba(244, 239, 230, 0.95);
}

/* Responsible Investing step list */
.ri-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(244, 239, 230, 0.12);
  align-items: start;
  position: relative;
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}
.ri-step:hover {
  padding-left: 16px;
  background: rgba(244, 239, 230, 0.03);
}
.ri-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold-soft);
  font-size: 28px;
  line-height: 1;
  transition: transform 0.3s ease, color 0.3s ease;
}
.ri-step:hover .ri-num {
  transform: scale(1.1);
  color: var(--gold);
}
.ri-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--cream);
  margin-bottom: 4px;
  transition: color 0.3s ease;
}
.ri-step:hover .ri-title {
  color: #fff;
}
.ri-text {
  font-size: 14px;
  color: rgba(244, 239, 230, 0.72);
  line-height: 1.55;
  transition: color 0.3s ease;
}
.ri-step:hover .ri-text {
  color: rgba(244, 239, 230, 0.95);
}

/* Premium Avoid Cards Grid */
.avoid-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.avoid-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease;
}
.avoid-card:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  border-color: rgba(184, 137, 74, 0.18);
}
.avoid-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--rule);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.avoid-card:hover .avoid-icon-wrap {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}
.avoid-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--forest);
  margin-bottom: 12px;
}
.avoid-card-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Responsible Investing Card */
.ri-card {
  background: var(--forest);
  color: var(--cream);
  padding: 48px 40px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.ri-card-circle {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 132, 0.12);
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.ri-card:hover .ri-card-circle {
  transform: scale(1.15) rotate(15deg);
  border-color: rgba(217, 184, 132, 0.25);
}

/* Editorial Testimonial Split Layout */
.quote-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #fff;
  border: 1px solid var(--rule);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}
.quote-split:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  border-color: rgba(184, 137, 74, 0.15);
}
.quote-graphic {
  background: var(--forest);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 48px;
}
.quote-graphic::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 132, 0.08);
  pointer-events: none;
}
.quote-huge-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  line-height: 1;
  color: var(--gold-soft);
  position: relative;
  z-index: 2;
  margin-top: 10px;
}
.quote-stamp {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  font-weight: 700;
  margin-top: -10px;
  position: relative;
  z-index: 2;
}
.quote-content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-body {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  color: var(--forest);
  line-height: 1.45;
  margin: 0 0 24px;
}
.quote-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}
.quote-citation {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  font-style: normal;
}

@media (max-width: 960px) {
  .avoid-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .quote-split {
    grid-template-columns: 1fr;
  }
  .quote-graphic {
    padding: 36px;
  }
  .quote-huge-mark {
    font-size: 100px;
  }
  .quote-content {
    padding: 40px 32px;
  }
  .quote-body {
    font-size: 24px;
  }
}
@media (max-width: 640px) {
  .avoid-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .avoid-card {
    padding: 32px 24px;
  }
}/* Supported Causes Page Styles */
.cause-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
}
.cause-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

/* 2 columns layout (Desktop, min-width: 901px) */
@media (min-width: 901px) {
  .cause-card:nth-child(1) {
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
  }
  .cause-card:nth-child(2) {
    border-bottom: none;
    border-radius: 0 12px 0 0;
  }
  .cause-card:nth-child(3) {
    border-right: none;
    border-radius: 0 0 0 12px;
  }
  .cause-card:nth-child(4) {
    border-radius: 0 0 12px 0;
  }
}

/* 1 column layout (Mobile, max-width: 900px) */
@media (max-width: 900px) {
  .cause-card:nth-child(1) {
    border-bottom: none;
    border-radius: 12px 12px 0 0;
  }
  .cause-card:nth-child(2),
  .cause-card:nth-child(3) {
    border-bottom: none;
    border-radius: 0;
  }
  .cause-card:nth-child(4) {
    border-radius: 0 0 12px 12px;
  }
}
.cause-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  background-color: #fff;
  z-index: 10;
}
.cause-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 8px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.4s ease;
}
.cause-card:hover .cause-mark {
  transform: scale(1.1) rotate(-8deg);
  border-radius: 12px;
}
.cause-env {
  background: #5A7A5A;
}
.cause-zkt {
  background: var(--gold);
  color: var(--forest) !important;
}
.cause-orp {
  background: var(--terracotta);
}
.cause-anm {
  background: var(--forest-2);
}
.cause-svg {
  stroke-width: 1.75;
}
.cause-cat {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.cause-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--forest);
  line-height: 1.15;
}
.cause-card p {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.cause-meta {
  margin-top: auto;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  border-top: 1px dotted var(--rule);
}
.cause-meta a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.cause-meta a:hover {
  color: var(--forest);
}

/* Governance Notice */
.gov-notice {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gov-notice:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 58, 46, 0.03);
}
.gov-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.gov-text {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
}

/* Reusable Default CTA */
.default-cta,
.dividend-cta {
  background: var(--bone);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.default-cta .h2,
.dividend-cta .h2 {
  color: var(--forest);
  margin-top: 18px;
}
.default-cta p,
.dividend-cta p {
  color: var(--ink-2);
  margin: 20px auto 32px;
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
}
.default-cta .cta-btn-wrap,
.dividend-cta .cta-btn-wrap {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.default-cta::after,
.dividend-cta::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 74, 0.08);
  pointer-events: none;
}
.default-cta::before,
.dividend-cta::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 74, 0.05);
  pointer-events: none;
}

@media (max-width: 900px) {
  .cause-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .gov-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
  }
}

/* ==========================================================================
   DOCUMENT VIEWS (Shared across documents pages)
   ========================================================================== */

/* Tabs Control */
.docs-tabs {
  display: inline-flex;
  background: rgba(31, 58, 46, 0.04);
  border: 1px solid var(--rule);
  padding: 4px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.docs-tab {
  padding: 10px 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.docs-tab:hover {
  color: var(--forest);
}
.docs-tab.active {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 4px 12px rgba(31, 58, 46, 0.06);
}

.page-hero.dark .docs-tabs {
  background: rgba(244, 239, 230, 0.08);
  border-color: rgba(244, 239, 230, 0.15);
}
.page-hero.dark .docs-tab {
  color: rgba(244, 239, 230, 0.65);
}
.page-hero.dark .docs-tab:hover {
  color: var(--cream);
}
.page-hero.dark .docs-tab.active {
  background: var(--cream);
  color: var(--forest);
  box-shadow: 0 4px 12px rgba(16, 33, 24, 0.25);
}

@media (max-width: 640px) {
  .docs-tabs {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
  }
  .docs-tab {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }
}


/* Document Grid (Grid Card View) */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.doc-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 250px;
  position: relative;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease;
}
.doc-card:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(31, 58, 46, 0.05);
  border-color: rgba(184, 137, 74, 0.18);
  z-index: 10;
}
.doc-card-icon {
  width: 48px;
  height: 56px;
  background: var(--cream-2);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  margin-bottom: 8px;
  border: 1px solid var(--rule);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.doc-card-icon::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent var(--bone) transparent transparent;
  transition: border-color 0.3s ease;
}
.doc-card:hover .doc-card-icon {
  transform: scale(1.06) translateY(-2px) rotate(2deg);
  background-color: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: 0 8px 16px rgba(31, 58, 46, 0.08);
}
.doc-card:hover .doc-card-icon::before {
  border-color: transparent #fff transparent transparent;
}
.doc-card-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.doc-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--forest);
  line-height: 1.25;
}
.doc-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
  flex-grow: 1;
}
.doc-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px dotted var(--rule);
  margin-top: 8px;
}
.doc-card-meta {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.doc-card-dl {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 700;
  transition: color 0.25s ease, transform 0.25s ease;
}
.doc-card:hover .doc-card-dl {
  color: var(--gold);
  transform: translateX(3px);
}

/* Document List (Row-based list view) */
.doc-list {
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.doc-row {
  display: grid;
  grid-template-columns: 70px 1fr auto auto;
  gap: 28px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
  align-items: center;
  text-decoration: none;
  transition: background-color 0.3s ease, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.doc-row:last-child {
  border-bottom: none;
}
.doc-row:hover {
  background: var(--bone);
  padding-left: 18px;
  box-shadow: inset 3px 0 0 var(--gold);
}
.doc-icon {
  width: 48px;
  height: 56px;
  background: var(--cream-2);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  border: 1px solid var(--rule);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.doc-icon::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  border-style: solid;
  border-width: 0 10px 10px 0;
  border-color: transparent var(--bone) transparent transparent;
  transition: border-color 0.3s ease;
}
.doc-row:hover .doc-icon {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 12px rgba(31,58,46,0.06);
}
.doc-row:hover .doc-icon::before {
  border-color: transparent #fff transparent transparent;
}
.doc-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--forest);
  line-height: 1.25;
}
.doc-sub {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.doc-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-align: right;
}
.doc-dl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 700;
  padding: 8px 14px;
  border: 1px solid var(--forest);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.doc-row:hover .doc-dl {
  background: var(--forest);
  color: var(--cream);
  transform: translateY(-1px);
}
.latest-row {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}
.latest-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

@media (max-width: 960px) {
  .doc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .doc-row {
    grid-template-columns: 50px 1fr;
    gap: 16px;
    padding: 18px 16px;
  }
  .doc-meta, .doc-dl {
    grid-column: 2;
    text-align: left;
    justify-self: start;
  }
}
@media (max-width: 640px) {
  .doc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .doc-card {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */
.contact-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-block.no-border {
  border-bottom: 0;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--forest);
  display: inline-block;
  line-height: 1.15;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
a.contact-value:hover {
  color: var(--gold);
  transform: translateX(4px);
}
.contact-value-italic {
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
}
.contact-value-small {
  font-size: 18px;
  color: var(--ink-2);
}

.contact-form-card {
  background: #fff;
  padding: 48px 44px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(31, 58, 46, 0.03);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 8px;
}
.contact-form .opt {
  color: var(--ink-mute);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.04em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bone);
  border: 1px solid var(--rule);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--ink);
  border-radius: 6px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(184, 137, 74, 0.1);
}
.contact-form input.touched:invalid,
.contact-form select.touched:invalid,
.contact-form textarea.touched:invalid {
  border-color: var(--terracotta);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(168, 90, 62, 0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 900px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .contact-form-card {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC LAYOUT ENHANCEMENTS
   ========================================================================== */

/* Testimonials / Panorama Slider */
.panorama {
  width: 100%;
}
.panorama-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll 60s linear infinite;
  padding: 0 24px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.voice {
  width: 440px;
  flex-shrink: 0;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 32px 32px 28px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.voice:hover {
  transform: translateY(-4px);
  border-color: var(--gold-soft);
  box-shadow: 0 12px 28px rgba(31, 58, 46, 0.05);
}
.voice .mark {
  position: absolute;
  top: 4px;
  left: 22px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 120px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
}
.voice p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 32px 0 18px;
  position: relative;
}
.voice span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.panorama:hover .panorama-track {
  animation-play-state: paused;
}

/* Portfolio Manager Card */
.portfolio-manager-card {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.portfolio-manager-content {
  display: flex;
  gap: 48px;
  align-items: center;
}
.portfolio-manager-img-wrap {
  flex-shrink: 0;
}
.portfolio-manager-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-manager-card:hover .portfolio-manager-logo {
  transform: scale(1.05);
}
.portfolio-manager-text {
  flex: 1;
}

@media (max-width: 768px) {
  .portfolio-manager-content {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .portfolio-manager-card {
    padding: 0;
  }
  .portfolio-manager-logo {
    margin: 0 auto;
  }
}

/* Navigation compact CTA button styles */
.site-nav .cta-btn {
  padding: 8px 16px;
  border-radius: 8px;
}

.grid-about-portfolio {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  gap: 64px;
}
.grid-about-portfolio p {
  max-width: none;
}
@media (max-width: 768px) {
  .grid-about-portfolio {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(31, 58, 46, 0.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--forest);
  margin: 0;
}
.cookie-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}
.cookie-text a:hover {
  text-decoration: underline;
}
.cookie-btns {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-decoration: none;
}
.cookie-btn.accept {
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
}
.cookie-btn.accept:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
}
.cookie-btn.decline {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--rule);
}
.cookie-btn.decline:hover {
  background: var(--bone);
  color: var(--forest);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    padding: 20px;
  }
}

/* Mobile Footer - Centered One Column */
@media (max-width: 600px) {
  .site-foot .cols {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .site-foot .cols > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-foot .brand {
    justify-content: center;
  }
  .site-foot .note {
    margin: 0 auto;
  }
  .site-foot ul li {
    justify-content: center;
    text-align: center;
  }
}


