/* ============================================================
   EverGrowth Group  |  ever-growth.com
   Design system: architectural + typographic
   Palette: Forest #1E3F0D · Leaf #60941F · Charcoal #232323
            Cream #F8F8F8 · Body Grey #6F6F6F · Tagline Grey #9B9B9B
   Type: Barlow (display) · PT Sans (body) · Source Serif 4 (quotes)
   ============================================================ */

:root {
  --forest: #1E3F0D;
  --forest-canvas: #253F1C;
  --forest-deep: #1A2F10;
  --leaf: #60941F;
  --leaf-bright: #7AB534;
  --olive: #506A43;
  --sage: #A8B5A2;
  --gold: #C8A857;
  --gold-bright: #DCC07A;
  --gold-deep: #7D6420;
  --caption: #6C6C64;
  --ink: #232323;
  --cream: #F7F6F1;
  --paper: #FFFFFF;
  --body-grey: #585854;
  --tag-grey: #9B9B9B;
  --hairline: rgba(35, 35, 35, 0.14);
  --hairline-dark: rgba(247, 246, 241, 0.18);
  --max: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'PT Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--forest); color: #fff; }

.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, .lede, .serif-quote { text-wrap: balance; }
p:not(.lede), .cell p, .step p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: 'Barlow', sans-serif; font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.display {
  font-size: clamp(2.8rem, 6.4vw, 5.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.display .accent { color: var(--gold-bright); }
.h-section { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.018em; font-weight: 700; color: var(--forest); }
.h-card { font-size: 1.38rem; font-weight: 700; color: var(--forest); }

.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); flex: none; transition: width 0.8s var(--ease); }
.reveal:not(.visible) .eyebrow::before, .eyebrow.reveal:not(.visible)::before { width: 8px; }
.dark .eyebrow, .hero .eyebrow, .quote-band .eyebrow { color: var(--gold-bright); }
.dark .eyebrow::before, .hero .eyebrow::before, .quote-band .eyebrow::before { background: var(--gold); }

.lede { font-size: clamp(1.15rem, 1.8vw, 1.34rem); line-height: 1.55; color: var(--body-grey); max-width: 46ch; }
.dark .lede, .hero .lede { color: rgba(247, 246, 241, 0.93); }

p { color: var(--body-grey); max-width: 62ch; }
.dark p, .hero p:not(.eyebrow) { color: rgba(247, 246, 241, 0.9); }
footer p { color: rgba(248, 248, 248, 0.85); }
strong { color: var(--ink); }
.dark strong, .hero strong { color: var(--cream); }

.serif-quote {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--cream);
  max-width: 26ch;
}

/* ---------- Sections ---------- */
section { padding: clamp(84px, 10vw, 136px) 0; position: relative; }
.dark { background: linear-gradient(165deg, #2B4A21 0%, var(--forest-canvas) 45%, #1F3816 100%); color: var(--cream); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.dark .h-section, .dark .h-card { color: var(--cream); }
.tint { background: #EDEEE6; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }

.rule-top { border-top: 1px solid var(--hairline); }
.dark .rule-top { border-top: 1px solid var(--hairline-dark); }

/* ---------- Header ---------- */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
header.scrolled { background: rgba(30, 56, 20, 0.985); box-shadow: 0 1px 0 var(--hairline-dark); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 26px; width: auto; }
nav.primary { display: flex; align-items: center; gap: 30px; white-space: nowrap; }
nav.primary a {
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(248, 248, 248, 0.92); text-decoration: none;
  padding: 6px 0; position: relative;
}
nav.primary a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
nav.primary a:hover::after, nav.primary a.active::after { width: 100%; }
nav.primary a.active { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 18px 32px; text-decoration: none; border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #1C2A10; }
.btn-primary:hover { background: var(--gold-bright); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: #2A5713; }
.btn-ghost { border-color: rgba(247, 246, 241, 0.45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-ghost-dark { border-color: rgba(35, 35, 35, 0.35); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--forest); color: var(--forest); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; }

.text-link {
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  color: var(--forest); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 2px solid var(--gold); padding-bottom: 4px;
}
.dark .text-link { color: var(--gold-bright); border-color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: linear-gradient(168deg, #2B4A21 0%, var(--forest-canvas) 48%, var(--forest-deep) 100%); color: var(--cream);
  padding: 160px 0 110px; overflow: hidden; position: relative;
}
.hero.short { min-height: 64vh; padding: 180px 0 90px; }
.hero-watermark {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: min(62vw, 760px); opacity: 0.05; pointer-events: none; user-select: none;
  animation: wmDrift 30s ease-in-out infinite;
}
@keyframes wmDrift {
  0%, 100% { transform: translateY(-50%) scale(1) rotate(0deg); }
  50% { transform: translateY(-53%) scale(1.04) rotate(-1.2deg); }
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(248,248,248,0.045) 1px, transparent 1px);
  background-size: 25% 100%;
}
.hero .container { position: relative; z-index: 2; }
.hero .lede { margin: 30px 0 44px; }

.hero-meta {
  display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap;
  margin-top: clamp(48px, 7vw, 84px); padding-top: 34px;
  border-top: 1px solid var(--hairline-dark);
}
.hero-meta div { font-family: 'Barlow', sans-serif; }
.hero-meta .k { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.hero-meta .v { font-size: 1.06rem; font-weight: 600; color: var(--cream); letter-spacing: 0.02em; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.split.center { align-items: center; }
.split .body-col p + p { margin-top: 1.2em; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.dark .grid { background: var(--hairline-dark); border-color: var(--hairline-dark); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.cell {
  background: var(--cream); padding: clamp(28px, 3.4vw, 46px);
  position: relative; transition: background 0.35s var(--ease);
}
.tint .cell { background: #EDEEE6; }
.dark .cell { background: rgba(26, 47, 16, 0.45); }
.cell .num {
  font-family: 'Barlow', sans-serif; font-size: 0.95rem;
  letter-spacing: 0.22em; color: var(--gold-deep); display: block; margin-bottom: 22px; font-weight: 700;
}
.dark .cell .num { color: var(--gold); }
.cell h3 { margin-bottom: 14px; }
.cell p { font-size: 0.99rem; }
.cell::after {
  content: ""; position: absolute; left: 0; top: 0; width: 0; height: 3px;
  background: var(--gold); transition: width 0.45s var(--ease);
}
.cell:hover::after { width: 100%; }

/* ---------- Stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline-dark); border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); }
.stat { background: var(--forest-canvas); padding: 44px 36px; }
.stat .n { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--cream); line-height: 1; }
.stat .n em { font-style: normal; color: var(--gold-bright); }
.stat .l { font-size: 0.86rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-top: 14px; font-family: 'Barlow', sans-serif; }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 110px 1fr; gap: clamp(20px, 4vw, 56px);
  padding: 42px 0; border-top: 1px solid var(--hairline); counter-increment: step;
}
.step:last-child { border-bottom: 1px solid var(--hairline); }
.step .step-num {
  font-family: 'Barlow', sans-serif; font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.8rem); color: var(--gold); line-height: 1;
}
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { font-size: 1rem; }
.step .meta { font-family: 'Barlow', sans-serif; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--caption); margin-top: 14px; }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--hairline); }
.acc-item { border-bottom: 1px solid var(--hairline); }
.acc-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px; font-family: 'Barlow', sans-serif; font-weight: 600;
  font-size: 1.18rem; color: var(--ink);
}
.acc-q .icon { flex: none; width: 30px; height: 30px; border: 1px solid var(--hairline); border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 1.2rem; color: var(--forest); transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }
.acc-item.open .icon { transform: rotate(45deg); background: var(--forest); color: #fff; border-color: var(--forest); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.acc-a p { padding: 0 4px 28px; font-size: 1rem; max-width: 70ch; }

/* ---------- People ---------- */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--hairline); }
.portrait { position: relative; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: top center; filter: grayscale(100%) contrast(1.04); background: #E5E5E0; }
.portrait::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--gold); }
.portrait-mono {
  width: 100%; aspect-ratio: 4 / 4.6; background: linear-gradient(165deg, #2B4A21, var(--forest-deep));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.portrait-mono span { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: clamp(3.4rem, 7vw, 5.4rem); color: rgba(248, 248, 248, 0.92); letter-spacing: 0.04em; }
.portrait-mono img.wm { position: absolute; right: -22%; bottom: -22%; width: 75%; opacity: 0.1; filter: none; }
.person .role { font-family: 'Barlow', sans-serif; font-size: 0.92rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px; }
.person .role strong { font-weight: 700; color: var(--forest); font-size: 1.05rem; }
.person h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 22px; }
.person p + p { margin-top: 1.1em; }
.person .links { margin-top: 26px; display: flex; gap: 22px; }
.person .links a { font-family: 'Barlow', sans-serif; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--forest); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* Board cards */
.board-card h3 { display: flex; align-items: baseline; gap: 14px; }
.board-card .tag { font-family: 'Barlow', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tag-grey); }

/* ---------- Quote band ---------- */
.quote-band { background: var(--forest); color: var(--cream); padding: clamp(84px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.quote-band .hero-watermark { opacity: 0.07; }
.quote-band blockquote { border-left: 3px solid var(--gold); padding-left: clamp(22px, 3vw, 40px); }
.quote-band .attribution { margin-top: 34px; font-family: 'Barlow', sans-serif; font-size: 0.85rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-bright); padding-left: clamp(25px, 3vw, 43px); }

/* ---------- Portfolio feature ---------- */
.portfolio-feature { background: var(--paper); border: 1px solid var(--hairline); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.pf-media { background: var(--paper); border-right: 1px solid var(--hairline); display: grid; place-items: center; padding: clamp(24px, 3vw, 44px); position: relative; overflow: hidden; }
.pf-media img.logo { width: min(96%, 460px); height: auto; position: relative; z-index: 2; }
.pf-media img.wm { position: absolute; right: -18%; bottom: -18%; width: 70%; height: auto; opacity: 0.06; }
@media (max-width: 920px) { .pf-media { border-right: none; border-bottom: 1px solid var(--hairline); } }
.pf-body { padding: clamp(32px, 5vw, 64px); }
.pf-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 10px 0 18px; }
.pf-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--hairline); }
.pf-facts .k { font-family: 'Barlow', sans-serif; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--caption); margin-bottom: 6px; }
.pf-facts .v { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(165deg, #2B4A21 0%, var(--forest-canvas) 50%, var(--forest-deep) 100%); color: var(--cream); text-align: left; position: relative; overflow: hidden; }
.cta-band .display { max-width: 18ch; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 26px; }
form label { display: block; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
form input, form select, form textarea {
  width: 100%; padding: 15px 16px; font-family: 'PT Sans', sans-serif; font-size: 1rem;
  border: 1px solid rgba(35, 35, 35, 0.25); border-radius: var(--radius);
  background: var(--paper); color: var(--ink); transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 168, 87, 0.22); }
form textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }

/* ---------- Footer ---------- */
footer { background: var(--forest-deep); color: var(--cream); padding: clamp(64px, 8vw, 96px) 0 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 80px); padding-bottom: 56px; border-bottom: 1px solid var(--hairline-dark); }
footer .brand img { height: 24px; margin-bottom: 20px; }
footer .strap { font-family: 'Barlow', sans-serif; font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage); }
footer h4 { font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px; font-weight: 700; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 12px; }
footer ul a { color: rgba(248, 248, 248, 0.92); text-decoration: none; font-size: 0.98rem; transition: color 0.25s; }
footer ul a:hover { color: var(--gold-bright); }
.foot-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; font-size: 0.85rem; color: var(--sage); }
.foot-base a { color: var(--sage); text-decoration: none; }
.foot-base a:hover { color: var(--gold-bright); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal .icon-badge { transform: scale(0.82); transition: transform 0.65s var(--ease) 0.18s, border-color 0.35s var(--ease), color 0.35s var(--ease); }
.reveal.visible .icon-badge { transform: scale(1); }
/* Mobile: quicker, shorter reveal with no stagger, so text is in place as it scrolls into view */
@media (max-width: 920px) {
  .reveal { transform: translateY(12px); transition-duration: 0.4s; }
  .reveal.d1, .reveal.d2, .reveal.d3 { transition-delay: 0s; }
  .reveal .icon-badge { transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease); }
  .eyebrow::before { transition-duration: 0.4s; }
}

/* ---------- Mobile nav ---------- */
.nav-toggle { display: none; align-items: center; gap: 12px; background: none; border: none; cursor: pointer; z-index: 120; padding: 8px; color: var(--cream); }
.nav-toggle-label { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-toggle .bars span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: transform 0.35s var(--ease), opacity 0.35s var(--ease); }
body.menu-open .nav-toggle .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  nav.primary {
    position: fixed; inset: 0; background: var(--forest-deep);
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  body.menu-open nav.primary { transform: none; }
  nav.primary a { font-size: 1.5rem; }
  nav.primary .btn { margin-top: 12px; }

  .split, .cta-inner, .person, .portfolio-feature { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .portrait img, .portrait-mono { aspect-ratio: 4 / 3.4; }
  .hero { min-height: 78vh; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
  .pf-facts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility ---------- */
.mt-40 { margin-top: 40px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.measure { max-width: 62ch; }
.center-head { text-align: left; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff; padding: 12px 18px; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Icon badges ---------- */
.icon-badge {
  width: 68px; height: 68px; border: 1px solid var(--hairline); border-radius: var(--radius);
  display: grid; place-items: center; margin-bottom: 24px;
  color: var(--gold-deep); background: var(--paper);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.icon-badge svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge img { width: 34px; height: auto; }
.icon-badge .logo-mask.mark { height: 38px; width: 38px; }
.dark .icon-badge { border-color: var(--hairline-dark); color: var(--gold-bright); background: rgba(247, 246, 241, 0.05); }
.cell:hover .icon-badge { border-color: var(--gold); transform: translateY(-3px); }
.contact-icon { display: inline-flex; vertical-align: -5px; margin-right: 10px; color: var(--gold-deep); }
.contact-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- Intro veil ---------- */
#intro-veil {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: linear-gradient(168deg, #2B4A21 0%, var(--forest-canvas) 48%, var(--forest-deep) 100%);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}
#intro-veil .veil-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
#intro-veil img.g { width: clamp(64px, 9vw, 96px); opacity: 0; transform: scale(0.86); animation: veilG 0.9s var(--ease) forwards; }
#intro-veil img.w { width: clamp(180px, 26vw, 300px); opacity: 0; transform: translateY(10px); animation: veilW 0.8s var(--ease) 0.35s forwards; }
#intro-veil .veil-rule { width: 0; height: 2px; background: var(--gold); animation: veilR 0.9s var(--ease) 0.5s forwards; }
@keyframes veilG { to { opacity: 1; transform: scale(1); } }
@keyframes veilW { to { opacity: 1; transform: none; } }
@keyframes veilR { to { width: clamp(120px, 18vw, 220px); } }
#intro-veil.done { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Guide box ---------- */
.guide-box { background: var(--paper); border: 1px solid var(--hairline); border-top: 3px solid var(--gold); padding: clamp(28px, 4vw, 48px); }
.guide-box ul { list-style: none; margin: 22px 0 6px; }
.guide-box ul li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--body-grey); font-size: 1rem; }
.guide-box ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(0.9); }

/* ---------- Follow band ---------- */
.follow-band { border-top: 1px solid var(--hairline-dark); }
.li-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }

.tick-list { list-style: none; margin-top: 28px; }
.tick-list li { padding-left: 32px; position: relative; margin-bottom: 14px; color: rgba(247, 246, 241, 0.9); font-size: 1.02rem; max-width: 52ch; }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) scale(0.9); }
.guide-box .small-print { margin-top: 16px; font-size: 0.85rem; color: var(--caption); }

/* Business listing (Sep 2026) */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--hairline); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.biz:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.biz-logo { display: grid; place-items: center; padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--hairline); height: 200px; }
.biz-logo img { width: auto; height: auto; max-width: min(80%, 300px); max-height: 130px; }
.biz-body { padding: 24px 28px 28px; }
.biz-body h3 { font-size: 1.25rem; margin: 0 0 6px; }
.biz-meta { font-family: 'Barlow', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--caption); margin: 0 0 18px; }
@media (max-width: 920px) { .biz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .biz-grid { grid-template-columns: 1fr; } }

/* Partner logo strip (Sep 2026): every mark in one brand tone */
.logo-strip { display:flex; flex-wrap:wrap; align-items:center; gap: 28px 56px; padding: 30px 0; border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); color: var(--sage); }
.logo-mask { display:inline-block; height: 30px; background: currentColor; -webkit-mask: var(--logo) no-repeat center / contain; mask: var(--logo) no-repeat center / contain; }
@media (max-width: 600px) { .logo-strip { gap: 20px 32px; } .logo-strip .logo-mask { height: 24px; } }

.logo-groups { display:grid; grid-template-columns: 1fr 1fr 2fr; gap: 0 40px; border-top: 1px solid var(--hairline-dark); border-bottom: 1px solid var(--hairline-dark); }
.logo-group { padding: 26px 0; }
.logo-groups .logo-group + .logo-group { border-left: 1px solid var(--hairline-dark); padding-left: 40px; }
.logo-group .eyebrow { margin-bottom: 18px; }
.logo-group .logo-strip { border: none; padding: 0; }
.logo-strip.on-light { color: var(--forest); border-color: var(--hairline); }
.board-photo { width: 112px; height: 112px; background: #F0EFEA; border-radius: 50%; object-fit: cover; display:block; margin-bottom: 18px; border: 2px solid var(--hairline-dark); }
.partner-logo { height: 40px; display:flex; align-items:center; margin-bottom: 22px; color: var(--sage); }
.partner-logo .logo-mask { height: 30px; }
@media (max-width: 920px) { .logo-groups { grid-template-columns: 1fr; } .logo-groups .logo-group + .logo-group { border-left: none; border-top: 1px solid var(--hairline-dark); padding-left: 0; } }
.logo-group.wide .logo-mask { height: 24px; }
.logo-group.wide .logo-strip { gap: 20px 36px; }

/* ---- News, articles and legal pages ---- */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); }
.news-item { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 7fr); gap: 24px 48px; padding: 36px 0; border-bottom: 1px solid var(--hairline); }
.news-item .news-date { font-family: 'Barlow', sans-serif; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--caption); padding-top: 6px; }
.news-item h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; color: var(--forest); margin-bottom: 12px; }
.news-item h2 a { color: inherit; text-decoration: none; }
.news-item h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-item p { max-width: 64ch; margin-bottom: 16px; }
.article-body { max-width: 70ch; }
.article-body p { margin-bottom: 1.1em; }
.article-body h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--forest); margin: 1.8em 0 0.6em; }
.article-body h3 { font-size: 1.15rem; color: var(--charcoal, #232323); margin: 1.4em 0 0.4em; }
.article-body ul { margin: 0 0 1.1em 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); }
.article-body blockquote p { font-family: 'Source Serif 4', Georgia, serif; font-style: italic; font-size: 1.12rem; line-height: 1.6; color: var(--forest); margin-bottom: 0.6em; }
.article-body blockquote cite { font-style: normal; font-family: 'Barlow', sans-serif; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--caption); }
.article-body .boilerplate { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--hairline); font-size: 0.95rem; }
.article-meta { font-family: 'Barlow', sans-serif; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; }
@media (max-width: 720px) { .news-item { grid-template-columns: 1fr; gap: 8px; } }

/* Light guide box inside a dark section: restore dark text */
.dark .guide-box, .dark .guide-box p { color: var(--body-grey); }
.dark .guide-box .h-card, .dark .guide-box h3 { color: var(--forest); }
.dark .guide-box .small-print { color: var(--caption); }
.dark .guide-box a:not(.btn) { color: var(--forest); }

/* Header CTA: dark text on gold (nav link colour was overriding it) and proper button padding */
nav.primary a.btn { color: #1C2A10; padding: 10px 18px; }
nav.primary a.btn::after { display: none; }
nav.primary a.btn:hover { color: #1C2A10; }

/* Two partner groups side by side (equity and debt), stacked on smaller screens */
.logo-groups.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 920px) { .logo-groups.two { grid-template-columns: 1fr; } }

/* Share row at the foot of news articles: plain links, no third-party scripts */
.share-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px 14px; margin-top:44px; padding-top:28px; border-top:1px solid var(--hairline); }
.share-label { font-family:'Barlow', sans-serif; font-weight:600; font-size:0.78rem; letter-spacing:0.22em; text-transform:uppercase; color:var(--caption); margin-right:6px; }
.btn-small { padding:11px 18px; font-size:0.8rem; gap:8px; line-height:1.2; }
button.btn-ghost, button.btn-ghost-dark { background: transparent; }
