/* ============================================================
   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(60px, 7vw, 100px) 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(32px, 4.4vw, 56px); }

.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: 58vh; padding: 168px 0 72px; }
.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(40px, 5vw, 68px) 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 p a { text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.person p a:hover { color: var(--forest); }
.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(60px, 7vw, 100px) 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(52px, 6vw, 80px) 0 36px; }
.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); }

/* Menu collapses to the burger at 860px and below (was 1100px, 14 Oct 2026), so laptops at 125% scaling and half-screen windows keep the full menu */
@media (max-width: 860px) {
  .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; }
}
@media (max-width: 1100px) {
  .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: 48px; }
.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 .arrow { transition: transform 0.3s var(--ease); }
.biz:hover .arrow { transform: translateX(5px); }
.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; } }

/* ---------- Portfolio: divisions and pipeline ---------- */
.div-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.div-col { display: grid; gap: 16px; }
.div-head { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin: 0; padding-top: 14px; border-top: 2px solid var(--gold); display: flex; align-items: baseline; gap: 10px; }
.div-num { color: var(--gold-deep); font-size: 0.78rem; }
.div-col .biz-logo { height: 130px; padding: 22px; }
.div-col .biz-logo img { max-width: min(78%, 240px); max-height: 80px; }
.div-col .biz-body { padding: 20px 22px 22px; }
.div-col .biz-body h4 { font-size: 1.12rem; margin: 0 0 6px; }
.pipe-card { border: 1.5px dashed rgba(35, 35, 35, 0.26); background: transparent; padding: 18px 22px 20px; min-height: 112px; }
.pipe-tag { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px; }
.pipe-sector { font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--body-grey); margin: 0 0 4px; line-height: 1.3; }
.pipe-meta { font-family: 'Barlow', sans-serif; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caption); margin: 0; }
.div-key { margin-top: 36px; max-width: none; font-size: 0.92rem; color: var(--caption); display: flex; flex-wrap: wrap; gap: 10px 32px; }
.key-item { display: inline-flex; align-items: flex-start; gap: 10px; }
.key-solid, .key-dotted { margin-top: 4px; }
.key-solid, .key-dotted { display: inline-block; width: 22px; height: 14px; flex: none; }
.key-solid { background: var(--paper); border: 1px solid var(--hairline); }
.key-dotted { border: 1.5px dashed rgba(35, 35, 35, 0.32); }
@media (max-width: 1179px) { .div-board { grid-template-columns: 1fr 1fr; gap: 44px 24px; } }
@media (max-width: 640px) { .div-board { grid-template-columns: 1fr; gap: 36px; } }

/* 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; }

/* ============================================================
   October 2026 layer: line icons, LinkedIn, photography and depth
   ============================================================ */

/* ---------- Fine-line icons ---------- */
.ico { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Header LinkedIn: icon only on desktop, labelled row at the foot of the mobile menu */
nav.primary a.nav-li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 2px; color: rgba(248, 248, 248, 0.82); }
nav.primary a.nav-li::after { display: none; }
nav.primary a.nav-li .ico { width: 21px; height: 21px; transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
nav.primary a.nav-li:hover { color: var(--gold-bright); }
nav.primary a.nav-li:hover .ico { transform: translateY(-1px); }
nav.primary a.nav-li .nav-li-label { display: none; }
@media (max-width: 860px) {
  nav.primary a.nav-li { margin-top: 14px; padding-top: 28px; border-top: 1px solid var(--hairline-dark); font-size: 1.05rem; letter-spacing: 0.14em; width: min(72vw, 320px); justify-content: center; }
  nav.primary a.nav-li .nav-li-label { display: inline; }
  nav.primary a.nav-li .ico { width: 24px; height: 24px; }
}

/* Footer: every link carries a line icon */
footer ul li a { display: inline-flex; align-items: center; gap: 12px; }
footer .ico { color: var(--sage); transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
footer ul a:hover .ico { color: var(--gold-bright); transform: translateX(2px); }
footer .foot-li { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
footer .foot-li a { display: inline-flex; align-items: center; gap: 10px; }

/* People page bio links */
.person .links a { display: inline-flex; align-items: center; gap: 9px; }
.person .links .ico { width: 17px; height: 17px; color: var(--gold-deep); }

/* ---------- Photography ---------- */
/* Washed photo behind a hero or band. Sits under the grid lines and watermark. */
.hero-photo { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.34; display: block; transform-origin: center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(37, 63, 28, 0.94) 0%, rgba(37, 63, 28, 0.78) 42%, rgba(37, 63, 28, 0.42) 100%); }
.hero-photo.soft img { opacity: 0.26; }
.quote-band .hero-photo img { opacity: 0.22; }
.quote-band .hero-photo::after { background: linear-gradient(90deg, rgba(30, 63, 13, 0.96) 0%, rgba(30, 63, 13, 0.82) 50%, rgba(30, 63, 13, 0.55) 100%); }
.hero .container, .quote-band .container { position: relative; z-index: 2; }
.hero-watermark { z-index: 1; }
@media (min-width: 921px) {
  .hero-photo img { animation: slowZoom 36s ease-in-out infinite alternate; }
  @keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
}

/* Texture tile under a dark section (velvet from Drury Lane, gilt from the Palladium) */
.tex { position: relative; }
.tex::before { content: ""; position: absolute; inset: 0; background: url('/assets/img/texture-velvet-450.webp') center / 450px repeat; opacity: 0.075; mix-blend-mode: luminosity; pointer-events: none; }
.tex.gilt::before { background-image: url('/assets/img/texture-gilt-450.webp'); opacity: 0.06; }
.tex > .container { position: relative; z-index: 1; }

/* Two-up photo panels (home) and the single photo strip (platform) */
.photo-band { padding: 0; background: var(--forest-deep); color: var(--cream); overflow: hidden; }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; }
.photo-panel { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(360px, 42vw, 560px); text-decoration: none; color: var(--cream); background: var(--forest-deep); }
.photo-panel .ph-wrap { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; will-change: transform; }
.photo-panel .ph-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.62; transition: transform 1.4s var(--ease), opacity 0.6s var(--ease); display: block; }
.photo-panel:hover .ph-wrap img { transform: scale(1.045); opacity: 0.74; }
.photo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 47, 16, 0.05) 0%, rgba(26, 47, 16, 0.25) 50%, rgba(26, 47, 16, 0.88) 100%); pointer-events: none; }
.photo-panel + .photo-panel { border-left: 1px solid var(--hairline-dark); }
.photo-panel .cap { position: relative; z-index: 2; padding: clamp(28px, 4vw, 56px); }
.photo-panel .cap .k { font-family: 'Barlow', sans-serif; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-bright); display: flex; align-items: center; gap: 12px; }
.photo-panel .cap .k::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.photo-panel .cap h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--cream); margin: 14px 0 10px; }
.photo-panel .cap p { color: rgba(247, 246, 241, 0.86); max-width: 42ch; font-size: 1rem; }
.photo-panel .cap .text-link { margin-top: 18px; color: var(--gold-bright); border-color: var(--gold); }
.photo-panel .cap .arrow { transition: transform 0.3s var(--ease); }
.photo-panel:hover .cap .arrow { transform: translateX(5px); }
.photo-strip { position: relative; min-height: clamp(300px, 34vw, 440px); display: flex; align-items: flex-end; overflow: hidden; }
.photo-strip .ph-wrap { position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; will-change: transform; }
.photo-strip .ph-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0.55; display: block; }
.photo-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 47, 16, 0.2) 0%, rgba(26, 47, 16, 0.1) 40%, rgba(26, 47, 16, 0.9) 100%); pointer-events: none; }
.photo-strip .cap { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px) 0; font-family: 'Barlow', sans-serif; font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); }
.photo-strip .cap strong { color: var(--cream); font-weight: 600; }
@media (max-width: 760px) {
  .photo-duo { grid-template-columns: 1fr; }
  .photo-panel + .photo-panel { border-left: none; border-top: 1px solid var(--hairline-dark); }
  .photo-panel { min-height: 300px; }
}

/* Photo band at the top of a business card (home and portfolio boards) */
.biz-photo { position: relative; height: 120px; overflow: hidden; background: var(--forest-deep); border-bottom: 1px solid var(--hairline); }
.biz-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: transform 1.2s var(--ease); display: block; }
.biz:hover .biz-photo img { transform: scale(1.05); }
.biz { grid-template-rows: auto auto 1fr; }

/* News index: a thumbnail beside each item */
.news-item { grid-template-columns: minmax(0, 2fr) 180px minmax(0, 7fr); }
.news-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--forest-deep); border: 1px solid var(--hairline); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.news-item:hover .news-thumb img { transform: scale(1.04); }
@media (max-width: 920px) { .news-item { grid-template-columns: 1fr; gap: 14px; } .news-thumb { max-width: 320px; } }

/* Article hero: slightly taller to give the photo room */
.hero.short.has-photo { min-height: 68vh; }

/* Depth: a faint gold hairline between a dark band and the cream page */
.dark + section:not(.dark), .quote-band + section:not(.dark) { box-shadow: inset 0 1px 0 rgba(200, 168, 87, 0.28); }

/* Parallax: JS moves .ph-wrap on desktop only; nothing moves when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .ph-wrap { transform: none !important; }
  .hero-photo img { animation: none !important; }
}
@media (max-width: 860px) { nav.primary a.nav-li { order: 10; } }
/* Header: keep the LinkedIn icon from crowding the wordmark on 1100 to 1400px screens */
.nav-bar { gap: 24px; }
.brand { flex: none; }
@media (max-width: 1400px) and (min-width: 1101px) { nav.primary { gap: 22px; } nav.primary a.nav-li { padding-left: 0; padding-right: 0; } }
@media (max-width: 1200px) and (min-width: 1101px) { nav.primary a.nav-li { display: none; } }

/* Post-review: stronger caption band on the plant room strip; lift the Excell article hero */
.photo-strip::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0.2) 0%, rgba(26, 47, 16, 0.15) 40%, rgba(26, 47, 16, 0.96) 100%); }
.photo-strip .cap { color: rgba(247, 246, 241, 0.86); }
.hero-photo.lift img { opacity: 0.46; }

/* ---------- Peek images (Oct 2026 review): the photo lives away from the text and feathers into the solid colour ---------- */
.hero-photo { display: none; }
.peek { position: absolute; right: 0; bottom: 0; width: 58%; height: 78%; z-index: 0; pointer-events: none; overflow: hidden; }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.82; display: block;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 45%, transparent 100%), linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 45%, transparent 100%), linear-gradient(to top, #000 0%, #000 40%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.has-peek .container { position: relative; z-index: 2; }
.has-peek .hero-watermark { display: none; }
.hero.has-peek .display, .hero.has-peek .lede { max-width: min(60%, 640px); }
.hero.has-peek .lede { max-width: 46ch; }
.quote-band.has-peek .serif-quote { max-width: 24ch; }
@media (min-width: 921px) { .peek img { animation: slowZoom 36s ease-in-out infinite alternate; } }
@media (max-width: 920px) {
  .hero.has-peek { padding-bottom: 44vw; }
  .hero.has-peek .display, .hero.has-peek .lede { max-width: none; }
  .peek { width: 100%; height: 48vw; }
  .peek img { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 35%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
  .quote-band.has-peek { padding-bottom: 46vw; }
}
/* Light quote band: cream page colour, forest text, used where dark bands would otherwise run three in a row */
.quote-band.light { background: var(--cream); color: var(--forest); }
.quote-band.light .serif-quote { color: var(--forest); }
.quote-band.light .attribution { color: var(--gold-deep); }
.quote-band.light .peek img { opacity: 0.9; }
@media (prefers-reduced-motion: reduce) { .peek img { animation: none !important; } }
.quote-band.light .peek { width: 52%; height: 86%; }

/* ---------- Peer review round 2: photos at full strength, peek clear of the text column ---------- */
.peek { width: 46%; height: 64%; }
.peek img { opacity: 1;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%), linear-gradient(to top, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%), linear-gradient(to top, #000 0%, #000 50%, transparent 100%); }
.hero.has-peek .display { max-width: min(50%, 600px); }
.hero.has-peek .lede { max-width: min(46%, 46ch); }
.quote-band.has-peek .serif-quote { max-width: 30ch; }
.quote-band.has-peek .peek { width: 40%; height: 100%; }
.quote-band.light .peek { width: 46%; height: 100%; }
.quote-band.light .peek img { opacity: 1;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 60%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, #000 60%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add; }
.photo-panel .ph-wrap img { opacity: 0.9; }
.photo-panel::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0) 0%, rgba(26, 47, 16, 0.1) 45%, rgba(26, 47, 16, 0.92) 100%); }
.photo-strip .ph-wrap img { opacity: 0.95; }
.photo-strip::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0) 0%, rgba(26, 47, 16, 0) 50%, rgba(26, 47, 16, 0.96) 100%); }
.biz-photo img { opacity: 1; }
@media (max-width: 920px) {
  .peek, .quote-band.has-peek .peek, .quote-band.light .peek { width: 100%; height: 46vw; }
  .peek img, .quote-band.light .peek img { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; }
  .hero.has-peek .display, .hero.has-peek .lede { max-width: none; }
  .hero.has-peek { padding-bottom: 46vw; }
  .quote-band.has-peek, .quote-band.light.has-peek { padding-bottom: 48vw; }
  .photo-panel { min-height: 0; }
  .photo-panel .ph-wrap { position: relative; inset: auto; top: auto; bottom: auto; height: 56vw; }
  .photo-panel { display: block; }
  .photo-panel::after { display: none; }
  .photo-panel .cap { padding: 22px 20px 30px; background: var(--forest-deep); }
}
/* Peer review round 3: headline measure, duo scrim, mobile band gap */
@media (min-width: 1180px) { .hero.has-peek .display { max-width: 600px; } .hero.has-peek .lede { max-width: 52%; } }
.photo-panel::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0) 0%, rgba(26, 47, 16, 0) 42%, rgba(26, 47, 16, 0.86) 72%, rgba(26, 47, 16, 0.96) 100%); }
.photo-strip::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0) 0%, rgba(26, 47, 16, 0) 45%, rgba(26, 47, 16, 0.98) 100%); }
@media (max-width: 920px) { .quote-band.has-peek, .quote-band.light.has-peek { padding-bottom: 54vw; } }
/* Peer review round 4: hero column on the page grid, Excell headline, duo scrim higher */
.hero .container, .quote-band .container { width: 100%; }
@media (min-width: 1180px) { .hero.has-peek .display { max-width: 640px; font-size: clamp(2.8rem, 5.6vw, 4.4rem); } }
.photo-panel::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0) 0%, rgba(26, 47, 16, 0) 24%, rgba(26, 47, 16, 0.86) 52%, rgba(26, 47, 16, 0.97) 100%); }
/* Ferdie 21:28: no textures, no plant-room strip; peek runs almost the full height of its section */
.tex::before { display: none; }
.peek { height: 94%; }
.peek img { -webkit-mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%), linear-gradient(to top, #000 0%, #000 72%, transparent 100%); mask-image: linear-gradient(to left, #000 0%, #000 55%, transparent 100%), linear-gradient(to top, #000 0%, #000 72%, transparent 100%); }
@media (max-width: 920px) { .peek { height: 46vw; } .peek img { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 40%, transparent 100%); -webkit-mask-composite: source-over; mask-composite: add; } }
/* Phone: let the display headline wrap naturally instead of the desktop line break */
@media (max-width: 600px) { .display br.desk { display: none; } }
/* Phone hero: less dead space above the eyebrow, first button in view */
@media (max-width: 600px) {
  .hero { min-height: 0; padding: 112px 0 56px; }
  .hero.short { min-height: 0; padding: 112px 0 48px; }
  .hero .lede { margin: 20px 0 28px; font-size: 1.08rem; }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-meta { margin-top: 36px; padding-top: 24px; }
}
@media (max-width: 600px) { .hero.short.has-peek { padding-bottom: 50vw; } }

/* Board (Oct 2026) */
.board-photo { width: 140px; height: 140px; border-color: var(--hairline); }
.board-strip { display: flex; gap: 32px; margin: 0.4em 0 1.6em; }
.board-strip figure { margin: 0; text-align: center; }
.board-strip img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; background: #EFEFEF; border: 1px solid var(--hairline); margin: 0 auto 8px; }
.board-strip figcaption { font-family: 'Barlow', sans-serif; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--caption); }

/* Quote with a round headshot beside it (board announcements) */
.article-body blockquote.with-photo { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.article-body blockquote.with-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #EFEFEF; border: 1px solid var(--hairline); margin-top: 4px; }
@media (max-width: 600px) { .article-body blockquote.with-photo { grid-template-columns: 64px 1fr; gap: 14px; } .article-body blockquote.with-photo img { width: 64px; height: 64px; } }
/* Founder portraits: cap the width so they never dominate at tablet and narrow desktop widths */
.person .portrait { max-width: 360px; }
@media (max-width: 1100px) { .person .portrait { max-width: 300px; } .portrait img { aspect-ratio: 4 / 4.6; } }

/* Partner logos on the platform page (13 Oct 2026): prominence */
.logo-groups.two .logo-group { padding: 34px 0; }
.logo-groups.two .logo-strip .logo-mask { height: 58px; }
.logo-groups.two .logo-group .eyebrow { margin-bottom: 24px; }
@media (max-width: 600px) { .logo-groups.two .logo-strip .logo-mask { height: 44px; } }

/* Group partner wordmarks (13 Oct 2026): equal cap height, shared baseline.
   --k = render height / cap height, --b = baseline offset / cap height, measured per mark. */
.logo-strip.baseline { --cap: 28px; align-items: flex-end; gap: 28px 64px; padding: 34px 0; }
.logo-strip.baseline .logo-mask { height: calc(var(--cap) * var(--k)); margin-bottom: calc(var(--cap) * var(--b) * -1); }
@media (max-width: 600px) {
  .logo-strip.baseline { --cap: 26px; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px 24px; padding: 28px 0; }
  .logo-strip.baseline .logo-mask { height: calc(var(--cap) * var(--k)); justify-self: start; }
}

/* Board section with Chair (14 Oct 2026) */
.nowrap { white-space: nowrap; }

/* Board: Chair across the top, NEDs below, links inside cards (14 Oct 2026) */
#board .board-grid > .cell { display: flex; flex-direction: column; }
#board .board-grid > .cell .card-link { margin-top: auto; padding-top: 18px; }
#board .board-grid > .cell.chair-card { grid-column: 1 / -1; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
#board .chair-card .board-photo { width: 200px; height: 200px; margin: 0; }
#board .chair-card .h-card { font-size: clamp(1.6rem, 2.4vw, 2rem); }
#board .chair-card p { max-width: 72ch; }
@media (max-width: 600px) {
  #board .board-grid > .cell.chair-card { grid-template-columns: 1fr; gap: 20px; }
  #board .chair-card .board-photo { width: 150px; height: 150px; }
}
/* Partner logos sit in boxes matching the stats below */
.logo-groups.two { gap: 1px; background: var(--hairline-dark); }
.logo-groups.two .logo-group, .logo-groups.two .logo-group + .logo-group { background: var(--forest-canvas); padding: 34px 36px; border: none; }
#board .card-link .text-link { white-space: nowrap; }
.logo-groups.two .logo-mask[aria-label="FourLeaf Capital"] { margin-left: -7px; }
@media (max-width: 600px) { .logo-groups.two .logo-mask[aria-label="FourLeaf Capital"] { margin-left: -5px; } }
.tint + .tint { padding-top: 0; }
#backing .backing-grid > .cell { display: flex; flex-direction: column; align-items: flex-start; }
#backing .backing-grid > .cell .card-link { margin-top: auto; padding-top: 18px; }
#backing .card-link .text-link { white-space: nowrap; }
section[id] { scroll-margin-top: 96px; }

/* Header between 861 and 1100px (14 Oct 2026): full menu stays visible with shorter labels */
nav.primary .nav-short { display: none; }
@media (max-width: 1200px) and (min-width: 861px) {
  nav.primary .nav-long { display: none; }
  nav.primary .nav-short { display: inline; }
  nav.primary a.nav-li { display: none; }
}
@media (max-width: 1100px) and (min-width: 861px) {
  nav.primary { gap: 18px; }
  nav.primary a { font-size: 0.86rem; }
  nav.primary a.btn { padding: 10px 16px; }
}

/* Next page prompt (14 Oct 2026): every page ends with a clear way on to the next one */
.next-page { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 4px; align-items: center; margin-top: 36px; padding: 20px 0 6px; min-height: 56px; border-top: 1px solid var(--hairline); color: var(--forest); text-decoration: none; }
.next-page .np-eyebrow { grid-column: 1 / -1; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-deep); }
.next-page .np-title { grid-column: 1; grid-row: 2; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; }
.next-page .np-desc { grid-column: 1; grid-row: 3; font-size: 1.02rem; color: var(--caption); }
.next-page .arrow { grid-column: 2; grid-row: 2 / span 2; font-size: 1.25rem; transition: transform 0.3s var(--ease); }
.next-page:hover .np-title, .next-page:focus-visible .np-title { color: var(--gold-deep); }
.next-page:hover .arrow { transform: translateX(4px); }
.dark .next-page, .cta-band .next-page { color: var(--cream); border-top-color: var(--hairline-dark); }
.dark .next-page .np-eyebrow, .cta-band .next-page .np-eyebrow { color: var(--gold-bright); }
.dark .next-page .np-desc, .cta-band .next-page .np-desc { color: rgba(248, 248, 248, 0.72); }
.dark .next-page:hover .np-title, .cta-band .next-page:hover .np-title { color: var(--gold-bright); }
.next-band { padding: clamp(36px, 4.4vw, 56px) 0; border-top: 1px solid var(--hairline); }
.next-band .next-page { margin-top: 0; border-top: none; padding-top: 0; max-width: 640px; }
.np-more { margin-top: 18px; }
/* Quote headshots on phones: smaller circle so the quote keeps a readable line length */
@media (max-width: 600px) { .article-body blockquote.with-photo { grid-template-columns: 52px 1fr; gap: 12px; } .article-body blockquote.with-photo img { width: 52px; height: 52px; } }

/* Copy cuts (15 Oct 2026): two links side by side; hairline between consecutive dark blocks */
.link-row { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.dark + .dark, .dark + .photo-band { box-shadow: inset 0 1px 0 rgba(200, 168, 87, 0.28); }
.quote-band.light.tinted { background: #EDEEE6; }
.biz-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
div.biz:hover { transform: none; border-color: var(--hairline); }
div.biz:hover .arrow, div.biz:hover .biz-photo img { transform: none; }
div.biz .text-link:hover .arrow { transform: translateX(5px); }

/* Three businesses in the photo band (Haulaway, Oct 2026) */
.photo-duo.photo-trio { grid-template-columns: 1fr 1fr 1fr; }
.photo-trio .photo-panel { min-height: clamp(380px, 36vw, 520px); }
.photo-trio .photo-panel .cap { padding: clamp(24px, 3vw, 44px); width: 100%; }
.photo-trio .photo-panel .cap h3 { font-size: clamp(1.4rem, 2.1vw, 2rem); }
.photo-trio .photo-panel .cap p:not(.k) { min-height: 4.8em; }
.photo-trio .photo-panel .cap .k { letter-spacing: 0.2em; font-size: 0.7rem; gap: 10px; max-width: none; white-space: nowrap; }
.photo-trio .photo-panel .cap .k::before { width: 20px; flex: none; }
/* slightly different wash on the middle panel; captions stay on the dark lower third */
.photo-trio .photo-panel:nth-child(2) .ph-wrap img { opacity: 0.72; }
.photo-trio .ph-haulaway img { object-position: 58% 70%; }
@media (max-width: 1200px) and (min-width: 901px) { .photo-trio .photo-panel .cap .k .k-place { display: none; } .photo-trio .photo-panel .cap p:not(.k) { font-size: 0.95rem; min-height: 6.4em; } }
@media (max-width: 900px) { .photo-duo.photo-trio { grid-template-columns: 1fr; } .photo-trio .photo-panel + .photo-panel { border-left: none; border-top: 1px solid var(--hairline-dark); } .photo-trio .photo-panel { min-height: 320px; } .photo-trio .photo-panel .cap p:not(.k) { min-height: 0; } }
/* wide logos (Haulaway lockup) capped by height, not width */

.photo-trio .photo-panel:nth-child(3)::after { background: linear-gradient(180deg, rgba(26, 47, 16, 0.10) 0%, rgba(26, 47, 16, 0.45) 38%, rgba(26, 47, 16, 0.92) 62%, rgba(26, 47, 16, 0.96) 100%); }
.biz-photo img.ph-right { object-position: 65% 50%; }

/* OpCo logos: one letter height across every business (cap or ascender height = --L).
   --lf on each img is the share of the image height taken by its letterforms. Insignia size is ignored. */
.biz-logo { container-type: inline-size; --L: min(40px, 8.4cqi); }
.div-col .biz-logo { --L: min(34px, 8.4cqi); padding: 22px 16px; }
.biz-logo img[style*="--lf"], .div-col .biz-logo img[style*="--lf"] { height: calc(var(--L) / var(--lf)); width: auto; max-width: none; max-height: none; }
