/* Rubicon Landscape Group: site styles, v2
   Layout concept: photography-led editorial pages; deep forest bands alternate with
   sunlit mist sections; content sits in layered cards that lift and fade in. */

:root {
  /* Greens, from deep forest to morning mist (anchored on the logo green #327e3e) */
  --forest-950: #0c2213;
  --forest-900: #12301b;
  --forest-800: #1a4223;
  --forest-700: #1e4d28;
  --green-700: #286632;
  --green: #327e3e;
  --green-500: #4a9556;
  --sage-400: #8fb98f;
  --sage-300: #b5d3b0;
  --sage-200: #d6e8d1;
  --mist-100: #eaf3e6;
  --mist-50: #f5f9f3;
  --white: #ffffff;
  --blue: #004875;          /* Programs Blue: community and programs only */
  --blue-900: #00314f;

  /* Text */
  --ink: #1d2420;
  --ink-body: #1d2420;      /* Ink: body text */
  --ink-muted: #5a5f63;     /* Ink Muted */
  --on-dark-soft: #d3e6cf;
  --line: #dbe6d8;

  /* Gradients */
  --grad-forest: linear-gradient(150deg, #1e4d28 0%, #12301b 55%, #0c2213 100%);
  --grad-leaf: linear-gradient(135deg, #3f8f4b 0%, #327e3e 45%, #1e4d28 100%);
  --grad-mist: linear-gradient(180deg, #f5f9f3 0%, #eaf3e6 100%);
  --grad-dawn: linear-gradient(180deg, #ffffff 0%, #f1f7ee 100%);

  /* Shadows: soft, layered, green-tinted */
  --shadow-sm: 0 1px 2px rgba(18, 48, 27, .06), 0 2px 6px rgba(18, 48, 27, .05);
  --shadow: 0 2px 4px rgba(18, 48, 27, .05), 0 10px 24px rgba(18, 48, 27, .08);
  --shadow-lg: 0 4px 8px rgba(18, 48, 27, .06), 0 24px 56px rgba(18, 48, 27, .16);

  /* Type: Brother 1816 (Adobe Fonts), then Source Sans 3, then Arial, for headlines and text, per the 2026-27 type system */
  --font-head: "brother-1816", "Source Sans 3", Arial, sans-serif;
  --font-body: "brother-1816", "Source Sans 3", Arial, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 80px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink-body); font: 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sage-300); color: var(--forest-900); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.015em; text-wrap: balance; }
/* 2026-27 digital type scale: Display 56px Bold (page heroes), H1 40px Bold (section headings), H2 28px Semibold, H3 20px Semibold */
h1 { font-size: clamp(2.6rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
h1 em, h2 em { font-style: normal; font-weight: 300; color: inherit; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 40em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--mist { background: var(--grad-mist); }
.section--dawn { background: var(--grad-dawn); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.1rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--grad-leaf); color: #fff; box-shadow: 0 6px 18px rgba(50, 126, 62, .32); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(50, 126, 62, .4); }
.btn--light { background: #fff; color: var(--forest-700); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn--light:hover { color: var(--forest-700); transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--ghost { border-color: var(--sage-300); color: var(--forest-700); background: #fff; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green); }
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(4px); }

/* Header: transparent over a photo hero, solid once scrolled */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.3) blur(10px); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.brand-light { display: none; }
.has-hero .site-header .brand-dark { display: none; }
.has-hero .site-header .brand-light { display: block; }
.has-hero .site-header .nav a, .has-hero .site-header .header-phone { color: #fff; }
.has-hero .site-header .menu-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.has-hero .site-header .menu-toggle span, .has-hero .site-header .menu-toggle span::before, .has-hero .site-header .menu-toggle span::after { background: #fff; }
.has-hero.is-scrolled .site-header { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: var(--shadow-sm); }
.has-hero.is-scrolled .site-header .brand-dark { display: block; }
.has-hero.is-scrolled .site-header .brand-light { display: none; }
.has-hero.is-scrolled .site-header .nav a, .has-hero.is-scrolled .site-header .header-phone { color: var(--ink); }
.has-hero.is-scrolled .site-header .menu-toggle { background: #fff; border-color: var(--line); }
.has-hero.is-scrolled .site-header .menu-toggle span, .has-hero.is-scrolled .site-header .menu-toggle span::before, .has-hero.is-scrolled .site-header .menu-toggle span::after { background: var(--ink); }

.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { width: 210px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 10px 12px; white-space: nowrap; color: var(--ink); font: 600 .98rem/1.2 var(--font-body); text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-actions .btn { min-height: 46px; padding: 11px 22px; white-space: nowrap; }
@media (max-width: 1360px) { .header-phone { display: none; } .nav a { padding-inline: 10px; } }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; content: ""; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 1140px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { width: 176px; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; padding: 12px var(--gutter) 24px; box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; }
  .nav a, .has-hero .site-header .nav a { color: var(--ink); padding: 16px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* Dropdown menus: hover or click on desktop, expandable sections on mobile.
   Every link is plain HTML, so search engines can follow each one. */
.has-menu { position: relative; }
.nav-trigger { position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; background: none; cursor: pointer; white-space: nowrap; color: var(--ink); font: 600 .98rem/1.2 var(--font-body); }
.nav-trigger svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav-trigger::after { content: ""; position: absolute; left: 14px; right: 30px; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-trigger[aria-current="page"]::after, .has-menu.is-open > .nav-trigger::after { transform: scaleX(1); }
.has-menu.is-open > .nav-trigger svg { transform: rotate(180deg); }
.has-hero .site-header .nav-trigger { color: #fff; }
.has-hero.is-scrolled .site-header .nav-trigger { color: var(--ink); }
.menu-panel { position: absolute; top: 100%; left: -16px; width: 440px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.menu-panel::before { content: ""; position: absolute; inset: 14px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); z-index: -1; }
.has-menu.is-open > .menu-panel { opacity: 1; visibility: visible; transform: none; }
.menu-panel--right { left: auto; right: -16px; width: 370px; }
@media (hover: hover) and (min-width: 961px) {
  .has-menu:hover > .menu-panel { opacity: 1; visibility: visible; transform: none; }
  .has-menu:hover > .nav-trigger svg { transform: rotate(180deg); }
}
.menu-list { list-style: none; margin: 0; padding: 10px; display: grid !important; gap: 2px; }
.nav .menu-list a, .has-hero .site-header .nav .menu-list a, .has-hero.is-scrolled .site-header .nav .menu-list a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--ink); white-space: normal; border: 0; font-size: 1rem; }
.nav .menu-list a::after { display: none; }
.nav .menu-list a:hover, .nav .menu-list a:focus-visible { background: var(--mist-100); }
.menu-list .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist-100); color: var(--green); }
.menu-list a:hover .mi { background: var(--green); color: #fff; }
.menu-list .mi svg { width: 22px; height: 22px; }
.menu-list strong { display: block; font: 700 .98rem/1.25 var(--font-head); }
.menu-list small { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.35; color: var(--ink-muted); }
.nav .menu-cta, .has-hero .site-header .nav .menu-cta { display: flex; flex-direction: column; gap: 2px; margin: 0 10px 10px; padding: 14px 16px; border-radius: 12px; background: var(--grad-forest); color: #fff; text-decoration: none; white-space: normal; border: 0; }
.nav .menu-cta::after { display: none; }
.menu-cta strong { font: 700 .95rem/1.2 var(--font-head); }
.menu-cta span { font-size: .88rem; color: var(--sage-300); }
.menu-cta span::after { content: " \2192"; }
@media (max-width: 960px) {
  .nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-trigger, .has-hero .site-header .nav-trigger { width: 100%; justify-content: space-between; color: var(--ink); padding: 16px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-trigger::after { display: none; }
  .nav-trigger svg { width: 20px; height: 20px; }
  .menu-panel { position: static; width: auto; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .menu-panel::before { display: none; }
  .has-menu.is-open > .menu-panel { display: block; }
  .menu-list { padding: 6px 0; }
  .nav .menu-list a, .has-hero .site-header .nav .menu-list a { padding: 10px 6px; font-size: 1rem; }
  .menu-list small { display: none; }
  .nav .menu-cta, .has-hero .site-header .nav .menu-cta { margin: 4px 0 12px; }
}

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; min-height: min(92vh, 900px); display: flex; align-items: flex-end; background: var(--forest-900); }
.hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; animation: slowPush 18s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,34,19,.92) 0%, rgba(12,34,19,.72) 38%, rgba(12,34,19,.18) 72%, rgba(12,34,19,.05) 100%), linear-gradient(0deg, rgba(12,34,19,.85) 0%, rgba(12,34,19,0) 45%); }
.hero-inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: end; padding-block: calc(var(--header-h) + 64px) clamp(56px, 8vw, 104px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 22px; }
.hero h1 em { color: var(--sage-300); }
.hero-photo--lyon img { object-position: 50% 75%; }
.hero-tagline { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: .01em; color: var(--sage-300); margin: -6px 0 18px; }
.hero .lead { color: var(--on-dark-soft); margin-bottom: 34px; max-width: 34em; }
.hero .eyebrow { color: var(--sage-300); }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }

/* Floating inspection card */
.report { justify-self: end; width: min(100%, 360px); color: var(--ink); background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35); padding: 22px 22px 18px; backdrop-filter: blur(10px); animation: rise 1s .35s var(--ease) both, float 7s 1.4s ease-in-out infinite; }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.report-head strong { font: 700 1rem/1.2 var(--font-head); }
.report-head span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--mist-100); padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.report ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.report li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .92rem; line-height: 1.35; }
.report li i { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-leaf); display: grid; place-items: center; }
.report li i svg { width: 14px; height: 14px; color: #fff; }
.report li small { display: block; color: var(--ink-muted); font-size: .8rem; }
.report-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--ink-muted); }
@media (max-width: 960px) { .hero { min-height: 0; } .hero-inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 56px); } .report { justify-self: start; } }
@media (max-width: 560px) { .report { display: none; } }

/* Inner page hero */
.page-hero { min-height: min(70vh, 660px); }
.page-hero .hero-inner { grid-template-columns: 1fr; }
.page-hero h1 { max-width: 17ch; font-size: clamp(2.4rem, 4.6vw, 3.5rem); }
@media (max-width: 760px) {
  /* Phones: text spans the full width, so darken the whole photo behind it */
  .hero::before { background: linear-gradient(0deg, rgba(12,34,19,.94) 0%, rgba(12,34,19,.8) 55%, rgba(12,34,19,.45) 100%); }
}
.crumbs { font-size: .9rem; color: var(--on-dark-soft); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Trust ribbon */
.ribbon { background: var(--forest-950); color: var(--on-dark-soft); }
.ribbon-inner { display: flex; align-items: center; gap: 28px; padding-block: 20px; }
.ribbon-label { flex: none; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-400); }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee-track span { white-space: nowrap; font: 600 1.05rem/1.2 var(--font-head); color: #fff; display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-400); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (max-width: 700px) { .ribbon-label { display: none; } }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.collage { position: relative; min-height: 540px; }
.collage figure { margin: 0; position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { left: 0; top: 0; width: 74%; height: 66%; }
.collage .c2 { right: 0; bottom: 0; width: 58%; height: 52%; border: 8px solid #fff; }
.collage .badge { position: absolute; left: 4%; bottom: 6%; z-index: 2; background: var(--grad-leaf); color: #fff; border-radius: var(--radius-lg); padding: 18px 22px; box-shadow: var(--shadow-lg); max-width: 210px; }
.collage .badge strong { display: block; font: 700 2.6rem/1 var(--font-head); }
.collage .badge span { font-size: .88rem; color: var(--on-dark-soft); line-height: 1.35; display: block; margin-top: 4px; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.counter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; box-shadow: var(--shadow-sm); }
.counter strong { display: block; font: 700 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-head); color: var(--green); letter-spacing: -.02em; }
.counter span { display: block; margin-top: 6px; font-size: .88rem; color: var(--ink-muted); line-height: 1.35; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; } .collage { min-height: 420px; } }
@media (max-width: 520px) { .counters { grid-template-columns: 1fr; } .collage { min-height: 340px; } }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; text-decoration: none; box-shadow: var(--shadow); min-height: 300px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.tile-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,34,19,.92) 0%, rgba(12,34,19,.4) 55%, rgba(12,34,19,.05) 100%); }
.tile-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.tile-photo:hover img { transform: scale(1.06); }
.tile-photo h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.tile-photo p { margin: 0 0 12px; color: var(--on-dark-soft); font-size: .98rem; max-width: 34em; }
.tile-photo .link-arrow { color: #fff; }
.tile-tag { position: absolute; top: 20px; left: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.b-feature { grid-column: span 7; grid-row: span 2; }
.b-feature h3 { font-size: clamp(1.5rem, 2.4vw, 1.75rem); }
.b-5 { grid-column: span 5; }
.b-4 { grid-column: span 4; }
.b-12 { grid-column: span 12; min-height: 220px; }
.b-6 { grid-column: span 6; min-height: 340px; }
.tile-green { grid-column: span 4; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); padding: 28px; background: var(--grad-forest); color: #fff; box-shadow: var(--shadow); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile-green::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/botanical-frame-dark.webp") center / cover; opacity: .35; }
.tile-green:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: #fff; }
.tile-green h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.tile-green p { color: var(--on-dark-soft); font-size: .98rem; margin: 0 0 12px; }
.tile-green .link-arrow { color: var(--sage-300); }
.icon-chip { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); margin-bottom: auto; }
.icon-chip svg { width: 26px; height: 26px; color: var(--sage-300); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } .b-feature, .b-5, .b-4, .b-6, .b-12, .tile-green { grid-column: span 2; grid-row: auto; } .b-feature { min-height: 440px; } .b-6 { min-height: 300px; } }
@media (min-width: 621px) and (max-width: 980px) { .b-4, .b-6, .tile-green { grid-column: span 1; } .b-12 { grid-column: span 2; } }

/* Botanical backgrounds */
.botanical-light { background: linear-gradient(rgba(239,245,234,.4), rgba(239,245,234,.4)), url("../img/botanical-frame-light.webp") center / cover no-repeat, #eff5ea; }
.botanical-corners { background: linear-gradient(rgba(239,245,234,.3), rgba(239,245,234,.3)), url("../img/botanical-corners-light.webp") center / cover no-repeat, #eff5ea; }
/* Keep botanical wallpaper from touching across two adjacent sections */
:is(.botanical-light, .botanical-corners, .botanical-diagonal) + .forest::before { display: none; }
.forest + :is(.botanical-light, .botanical-corners, .botanical-diagonal) { background: #eff5ea; }
:is(.forest, .botanical-light, .botanical-corners, .botanical-diagonal) + .cta-final { background: linear-gradient(rgba(18,48,27,.66), rgba(12,34,19,.82)), var(--forest-900); }
.botanical-diagonal { background: linear-gradient(rgba(239,245,234,.3), rgba(239,245,234,.3)), url("../img/botanical-diagonal-light.webp") center / cover no-repeat, #eff5ea; }

/* Who we serve */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serve-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px; background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-decoration: none; color: var(--ink-body); backdrop-filter: blur(4px); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s; }
.serve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: #fff; color: var(--ink-body); }
.ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-leaf); box-shadow: 0 8px 18px rgba(50,126,62,.3); margin-bottom: 8px; }
.ic svg { width: 26px; height: 26px; color: #fff; }
.serve-card h3 { margin: 0; font-size: 1.25rem; }
.serve-card p { margin: 0; font-size: .97rem; }
.serve-card .link-arrow { margin-top: auto; padding-top: 10px; }
@media (max-width: 960px) { .serve-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .serve-grid { grid-template-columns: 1fr; } }

/* Dark forest band */
.forest { background: var(--grad-forest); color: var(--on-dark-soft); position: relative; overflow: hidden; isolation: isolate; }
.forest::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/botanical-frame-dark.webp") center / cover; opacity: .16; }
.forest h2, .forest h3 { color: #fff; }
.forest .eyebrow { color: var(--sage-300); }
.forest .section-head p, .forest p { color: var(--on-dark-soft); }

/* Process */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px; background: linear-gradient(var(--sage-400), rgba(143,185,143,.15)); }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding: 16px 0; }
.steps li::before { content: counter(step, decimal-leading-zero); position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--font-head); color: #fff; background: var(--grad-leaf); box-shadow: 0 0 0 6px rgba(143,185,143,.14), 0 8px 18px rgba(0,0,0,.25); }
.steps h3 { margin: 6px 0 4px; font-size: 1.22rem; }
.steps p { margin: 0; font-size: .98rem; }
.process-photo { position: relative; margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.4); aspect-ratio: 16 / 11; }
.process-photo img { width: 100%; height: 100%; object-fit: cover; }
.process-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(255,255,255,.95); color: var(--ink-body); border-radius: var(--radius); padding: 14px 16px; font-size: .9rem; line-height: 1.45; box-shadow: var(--shadow); }
.process-photo figcaption strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; } .process-photo { aspect-ratio: 4 / 3; } }

/* Partnership timeline, drawn to scale from 1995 to 2026 */
.partners { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.timeline { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px 30px 24px; box-shadow: var(--shadow); }
.timeline h3 { font-size: 1.15rem; margin-bottom: 4px; }
.timeline > p { font-size: .9rem; color: var(--ink-muted); margin-bottom: 18px; }
.tl-row { display: grid; grid-template-columns: minmax(140px, 36%) 1fr; gap: 16px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); }
.tl-row:first-of-type { border-top: 0; }
.tl-name { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.tl-name small { display: block; font-weight: 400; color: var(--ink-muted); font-size: .8rem; }
.tl-track { position: relative; height: 28px; background: var(--mist-100); border-radius: 999px; overflow: hidden; }
.tl-bar { position: absolute; top: 0; bottom: 0; right: 0; left: calc((var(--start) - 1995) / 31 * 100%); background: var(--grad-leaf); border-radius: 999px; display: flex; align-items: center; padding-left: 12px; color: #fff; font-size: .78rem; font-weight: 700; white-space: nowrap; transform-origin: right; transition: transform 1.4s var(--ease) .2s; }
.js .reveal .tl-bar { transform: scaleX(0); }
.js .reveal.is-in .tl-bar { transform: scaleX(1); }
.tl-axis { display: grid; grid-template-columns: minmax(140px, 36%) 1fr; gap: 16px; margin-top: 10px; font-size: .76rem; color: var(--ink-muted); }
.tl-axis div { display: flex; justify-content: space-between; }
.record { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.record div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.record strong { display: block; font: 700 2.3rem/1 var(--font-head); color: var(--green); }
.record span { display: block; margin-top: 8px; font-size: .9rem; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 900px) { .partners { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tl-row, .tl-axis { grid-template-columns: 1fr; } .tl-axis > span { display: none; } .record { grid-template-columns: 1fr; } }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,34,19,.9) 0%, rgba(12,34,19,.15) 60%, rgba(12,34,19,0) 100%); }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: #fff; }
.project:hover img { transform: scale(1.07); }
.project small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-300); }
.project h3 { color: #fff; margin: 4px 0 0; font-size: 1.25rem; }
@media (max-width: 960px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } .project { aspect-ratio: 4 / 3; } }

/* People */
.quote-block { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow); margin-bottom: 28px; }
.quote-block img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--mist-100), var(--shadow); }
.quote-block blockquote { margin: 0; font: 600 clamp(1.25rem, 2.2vw, 1.65rem)/1.4 var(--font-head); color: var(--ink); }
.quote-block blockquote::before { content: "\201C"; display: block; font-size: 3.4rem; line-height: .6; color: var(--sage-400); margin-bottom: 8px; }
.quote-block cite { display: block; margin-top: 16px; font: 400 .95rem/1.4 var(--font-body); color: var(--ink-muted); font-style: normal; }
.quote-block cite b { color: var(--ink); }
@media (max-width: 640px) { .quote-block { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.member { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member img { width: 92px; height: 92px; border-radius: 18px; object-fit: cover; object-position: 50% 20%; }
.member h3 { margin: 0 0 2px; font-size: 1.1rem; }
.member p { margin: 0; font-size: .88rem; color: var(--ink-muted); line-height: 1.4; }
.member p.bio { margin-top: 6px; color: var(--ink); }
.member-initials { width: 92px; height: 92px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 1.6rem/1 var(--font-head); letter-spacing: .04em; }
.team-group { font-size: 1.05rem; color: var(--green); margin: 36px 0 16px; }
.team-group:first-of-type { margin-top: 8px; }
.member .tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.member .tags span { font-size: .7rem; font-weight: 700; color: var(--green-700); background: var(--mist-100); border-radius: 999px; padding: 3px 8px; }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; } }

/* Resources */
.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink-body); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.article:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sage-300); color: var(--ink-body); }
.article small { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.article h3 { margin: 0; font-size: 1.22rem; }
.article p { margin: 0; font-size: .95rem; }
.article .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .articles { grid-template-columns: 1fr; } }

/* Community: the one place Programs Blue leads */
.community { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%); color: #dbe8f1; }
.community-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.community h2 { color: #fff; }
.community p { color: #dbe8f1; }
.community .eyebrow { color: #a9cbe3; }
.community figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.35); background: var(--blue-900); }
.community figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.community figcaption { color: #c6dbea; font-size: .85rem; padding: 12px 16px; }
@media (max-width: 900px) { .community-inner { grid-template-columns: 1fr; } }

/* Final call to action */
.cta-final { position: relative; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(rgba(18,48,27,.66), rgba(12,34,19,.82)), url("../img/botanical-frame-dark.webp") center / cover, var(--forest-900); padding-block: clamp(88px, 12vw, 160px); }
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.5rem); max-width: 16ch; margin-inline: auto; }
.cta-final p { color: var(--on-dark-soft); max-width: 36em; margin: 0 auto 34px; font-size: 1.15rem; }
.cta-final .btn-row { justify-content: center; }

/* Inner page building blocks */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--grad-leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: 0 3px 8px rgba(50,126,62,.3); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mini { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mini:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 1rem/1 var(--font-head); margin-bottom: 14px; box-shadow: 0 6px 14px rgba(50,126,62,.28); }
.mini h3 { font-size: 1.12rem; margin-bottom: 6px; }
.mini p { margin: 0; font-size: .95rem; }
.forest .mini { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.mini.svc p + p { margin-top: 10px; font-size: .92rem; }
.mini.svc b { color: var(--green); }
.mini.svc .benefit a { white-space: nowrap; font-weight: 700; }
/* Expandable "What's included" list inside a service card */
.mini.svc { display: flex; flex-direction: column; }
.incl { margin-top: auto; padding-top: 14px; }
.incl summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--green); }
.incl summary::-webkit-details-marker { display: none; }
.incl summary::after { content: "+"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mist-100); font-size: .95rem; line-height: 1; transition: transform .25s var(--ease); }
.incl[open] summary::after { transform: rotate(45deg); }
.incl ul { margin: 10px 0 0; padding: 12px 0 0 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .9rem; }
.incl li::marker { color: var(--green); }
/* Outcome cards with an icon */
.outcome .oc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(50,126,62,.25); }
.outcome .oc-ic svg { width: 26px; height: 26px; }
/* Principles row on a forest band */
.principles { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.principles > p { margin: 0; font-weight: 700; color: var(--sage-300); }
.principles .badges { margin: 0; }
.principles .badges span { font-size: .85rem; padding: 7px 14px; }
/* Routine or one-time option cards */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 4px 0 24px; }
.opt { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.opt-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); background: var(--mist-100); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.opt h3 { font-size: 1.02rem; margin: 0 0 4px; }
.opt p { margin: 0; font-size: .92rem; }
@media (max-width: 560px) { .options { grid-template-columns: 1fr; } }
div.serve-card { cursor: default; }
.cred-logos img.cred-qwel { height: 84px; }
/* Soil layer diagram (conversions page) */
.layers { max-width: 860px; margin: 0 auto; display: grid; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.layer { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; padding: 20px 26px; color: #fff; }
.layer-name { font: 700 1.02rem/1.25 var(--font-head); }
.layer-job { font-size: .95rem; line-height: 1.45; }
.layer--plants { background: linear-gradient(90deg, #4A9556, #327E3E); }
.layer--mulch { background: #6B4A2F; }
.layer--card { background: #A9875E; color: #1D2420; }
.layer--compost { background: #3B2A1E; }
.layer--soil { background: #7A5B44; }
@media (max-width: 640px) { .layer { grid-template-columns: 1fr; gap: 4px; padding: 16px 18px; } }
.tbc { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; background: #fff4d6; border: 1px dashed #d9a400; border-radius: 999px; padding: 3px 10px; }
/* Partner logo row */
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); max-width: 980px; margin: 0 auto; }
.partner-logos img { height: 64px; width: auto; }
.partner-logos img[src*="qwel"] { height: 80px; }
.partner-logos img[src*="nalp"] { height: 84px; }
@media (max-width: 560px) { .partner-logos { gap: 22px 28px; padding: 22px; } .partner-logos img { height: 46px; } .partner-logos img[src*="qwel"], .partner-logos img[src*="nalp"] { height: 60px; } }
.cred-logos img.cred-clca { height: 64px; }
/* Linked mini cards */
a.mini-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
a.mini-link .link-arrow { margin-top: auto; padding-top: 12px; }
a.mini-link:hover { border-color: var(--sage-300); color: var(--ink); }
/* Water savings list and calculator */
.save-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.save-list li { padding: 14px 16px 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 12px; font-size: .97rem; }
.save-list b { color: var(--green); }
.save-list + p { margin-top: 18px; }
.split.savings { align-items: start; }
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 26px; display: grid; gap: 16px; }
.calc-head { display: flex; justify-content: space-between; align-items: center; }
.calc-head strong { font: 700 1.2rem/1.2 var(--font-head); }
.calc-head span { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--mist-100); padding: 4px 9px; border-radius: 999px; }
.calc-field { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-weight: 600; font-size: .93rem; }
.calc-field > input[type="range"], .calc-field > .calc-money { grid-column: 1 / -1; }
.calc-field output { font: 700 1rem/1 var(--font-head); color: var(--green); }
.calc-money { position: relative; }
.calc-money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-weight: 700; }
.calc-money input { width: 100%; padding: 12px 14px 12px 28px; border: 1px solid var(--line); border-radius: 12px; font: 600 1rem/1.2 var(--font-body); color: var(--ink); background: var(--mist-100); }
.calc-money input:focus { outline: 2px solid var(--green); outline-offset: 1px; background: #fff; }
.calc input[type="range"] { width: 100%; accent-color: var(--green); height: 28px; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; border-radius: 16px; background: var(--grad-forest); color: #fff; text-align: center; }
.calc-results strong { display: block; font: 700 1.45rem/1.1 var(--font-head); color: #fff; }
.calc-results span { font-size: .78rem; color: var(--sage-300); }
.calc-note { margin: 0; font-size: .82rem; color: var(--ink-muted); }
.calc .btn { justify-self: start; }
@media (max-width: 420px) { .calc { padding: 20px; } .calc-results strong { font-size: 1.2rem; } }
.cred-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin: 4px 0 24px; }
.cred-logos img { height: 48px; width: auto; }
.cred-logos img.cred-nalp { height: 76px; }
.forest .link-arrow { color: var(--sage-300); }
@media (max-width: 1060px) { .card-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) { .card-grid, .card-grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid, .card-grid--5 { grid-template-columns: 1fr; } }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.stat strong { display: block; font: 700 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-head); color: var(--green); }
.stat span { display: block; margin-top: 8px; font-size: .92rem; color: var(--ink-muted); line-height: 1.4; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--forest-700); background-image: var(--grad-forest); color: #fff; font: 700 .88rem/1.3 var(--font-body); letter-spacing: .02em; }
tbody tr:nth-child(even) td { background: var(--mist-50); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; color: var(--ink); }
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--sage-300); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 64px 20px 24px; position: relative; font: 700 1.08rem/1.35 var(--font-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--mist-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23327e3e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 22px; }
.faq details > div p:last-child { margin: 0; }
.fine { font-size: .86rem; color: var(--ink-muted); }
.todo { background: #fff4c2; color: #5a4a00; padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--mist-100); transition: background .4s; }
.progress span.is-on { background: var(--grad-leaf); }
.step-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; }
legend, label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1.5px solid #c9d6c6; border-radius: var(--radius); background: var(--mist-50); font: 400 1rem/1.4 var(--font-body); color: var(--ink); transition: border-color .2s, background-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(50,126,62,.15); }
textarea { min-height: 120px; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; padding: 14px 16px; border: 1.5px solid #c9d6c6; border-radius: var(--radius); font-weight: 600; color: var(--ink); cursor: pointer; background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.choice span:hover { border-color: var(--sage-400); transform: translateY(-1px); }
.choice input:checked + span { border-color: var(--green); background: var(--mist-100); box-shadow: inset 0 0 0 1px var(--green); }
.choice input:focus-visible + span { outline: 3px solid var(--green-500); outline-offset: 2px; }
.error { display: none; color: #a4262c; font-size: .9rem; margin-top: 8px; font-weight: 600; }
.has-error .error { display: block; }
.has-error input, .has-error select { border-color: #a4262c; }
.form-step[hidden] { display: none; }
/* Form additions: hints, chips, wide choice, upload, thank-you steps */
legend .hint, label .hint { font-weight: 500; font-size: .82rem; color: var(--ink-muted); margin-left: 6px; letter-spacing: 0; text-transform: none; }
.hint-line { margin: 6px 0 0; font-size: .82rem; color: var(--ink-muted); }
.hint-line[hidden] { display: none; }
.choice--wide { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid #c9d6c6; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.chip span:hover { border-color: var(--sage-400); }
.chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--green-500); outline-offset: 2px; }
fieldset.has-error .chips + .error { display: block; }
.upload { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px dashed #b9cbb5; border-radius: var(--radius); background: var(--mist-100); color: var(--ink); font-weight: 600; font-size: .93rem; cursor: pointer; }
.upload:hover { border-color: var(--green); }
.upload svg { width: 24px; height: 24px; flex: none; color: var(--green); }
#files { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thanks-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.thanks-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.thanks-steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; }
.form-step { animation: rise .5s var(--ease) both; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.aside-card { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); }
.aside-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aside-card .pad { padding: 26px; }
.aside-card h2 { font-size: 1.5rem; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.aside-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.aside-list b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-leaf); color: #fff; font-family: var(--font-head); box-shadow: 0 6px 14px rgba(50,126,62,.28); }
.aside-list p { margin: 0; }

/* Footer */
.site-footer { background: var(--forest-950); color: #b9c9bb; font-size: .95rem; padding-top: 80px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(143,185,143,.5), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e2ece3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { width: 230px; margin-bottom: 18px; }
.tagline { font: 300 1.5rem/1.25 var(--font-head); color: #fff; margin-bottom: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badges span { border: 1px solid rgba(143,185,143,.35); border-radius: 999px; padding: 5px 11px; font-size: .78rem; color: #dbe8dc; background: rgba(255,255,255,.03); }
.footer-base { margin-top: 56px; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .84rem; color: #95a898; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 960px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(18,48,27,.08); }
  .mobile-bar .btn { min-height: 48px; padding: 10px; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* Chat */
.chat-launch { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 20px 12px 12px; border-radius: 999px; border: 0; cursor: pointer; background: var(--grad-forest); color: #fff; font: 700 1rem/1 var(--font-body); box-shadow: 0 14px 34px rgba(12,34,19,.35); transition: transform .25s var(--ease); }
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch i { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.chat-launch svg { width: 16px; height: 16px; }
.chat-panel { position: fixed; right: 22px; bottom: 90px; z-index: 70; width: min(370px, calc(100vw - 32px)); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: rise .35s var(--ease) both; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; background: var(--grad-forest); color: #fff; }
.chat-head strong { font-family: var(--font-head); display: block; }
.chat-head small { color: var(--on-dark-soft); }
.chat-head button { background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.chat-body { padding: 18px; font-size: .95rem; }
.chat-msg { background: var(--mist-100); border-radius: 14px 14px 14px 4px; padding: 12px 14px; margin-bottom: 14px; }
.chat-quick { display: grid; gap: 8px; }
.chat-quick a { display: block; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; transition: border-color .2s, background-color .2s; }
.chat-quick a:hover { border-color: var(--green); background: var(--mist-50); }
.chat-note { font-size: .78rem; color: var(--ink-muted); margin-top: 12px; }
@media (max-width: 960px) { .chat-launch { display: none; } .chat-panel { bottom: 84px; right: 16px; } }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slowPush { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > :nth-child(2) { transition-delay: .08s; }
.js .stagger.is-in > :nth-child(3) { transition-delay: .16s; }
.js .stagger.is-in > :nth-child(4) { transition-delay: .24s; }
.js .stagger.is-in > :nth-child(5) { transition-delay: .32s; }
.js .stagger.is-in > :nth-child(6) { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js .reveal .tl-bar { transform: none; }
}

.proto-note { background: #fff7d6; color: #5a4a00; font-size: .82rem; text-align: center; padding: 6px 12px; }
.has-hero .proto-note { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
@media (max-width: 960px) { .has-hero .proto-note { display: none; } }

/* ===== About page ===== */
/* Stat cards that float up over the bottom edge of the hero */
.about-stats { position: relative; z-index: 2; margin-top: -64px; padding-bottom: 8px; }
.about-stats .stat { box-shadow: var(--shadow-lg); border: 0; position: relative; overflow: hidden; }
.about-stats .stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-leaf); }
@media (max-width: 960px) { .about-stats { margin-top: 32px; } }

/* Credential chips on light grounds */
.cred-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.cred-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font: 600 .82rem/1.2 var(--font-body); color: var(--forest-700); }
.cred-chips span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* Milestone timeline: a center line with year medallions and shadowed cards */
.milestones { list-style: none; margin: 8px 0 0; padding: 0; position: relative; display: grid; gap: 26px; }
.milestones::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-1px); background: linear-gradient(var(--sage-400), rgba(143,185,143,.2)); }
.milestones li { position: relative; display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; }
.ms-year { grid-column: 2; justify-self: center; position: relative; z-index: 1; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 1.2rem/1 var(--font-head); box-shadow: 0 0 0 8px rgba(143,185,143,.18), var(--shadow); }
.ms-card { grid-column: 3; grid-row: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ms-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.milestones li:nth-child(even) .ms-card { grid-column: 1; text-align: right; }
.ms-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.ms-card p { margin: 0; font-size: .96rem; color: var(--ink-muted); }
@media (max-width: 760px) {
  .milestones::before { left: 30px; }
  .milestones li { grid-template-columns: 60px 1fr; gap: 16px; }
  .ms-year { grid-column: 1; width: 60px; height: 60px; font-size: .95rem; box-shadow: 0 0 0 6px rgba(143,185,143,.18), var(--shadow-sm); }
  .ms-card, .milestones li:nth-child(even) .ms-card { grid-column: 2; text-align: left; }
}

/* Career path cards on dark green */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 40px rgba(0,0,0,.28); backdrop-filter: blur(4px); transition: transform .35s var(--ease), background-color .35s var(--ease); }
.path-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.11); }
.path-initials { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 1.05rem/1 var(--font-head); letter-spacing: .04em; box-shadow: 0 0 0 5px rgba(181,211,176,.18), 0 10px 22px rgba(0,0,0,.3); }
.path-card h3 { margin: 6px 0 0; font-size: 1.2rem; }
.path-card p { margin: 0; font-size: .95rem; }
.path-route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.path-route span { padding: 4px 10px; border-radius: 999px; font: 600 .76rem/1.2 var(--font-body); letter-spacing: .02em; color: var(--forest-900); background: var(--sage-300); }
.path-route span:first-child { background: rgba(255,255,255,.14); color: var(--on-dark-soft); }
.path-route span + span::before { content: "\2192"; margin-right: 6px; color: var(--forest-700); }
@media (max-width: 1060px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-grid { grid-template-columns: 1fr; } }

/* Pull quote on dark green */
.pull-quote { margin: 44px auto 0; max-width: 820px; text-align: center; padding: 34px 36px 30px; border-radius: var(--radius-xl); background: rgba(255,255,255,.96); box-shadow: 0 30px 60px rgba(0,0,0,.35); position: relative; }
.pull-quote::before { content: "\201C"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 2.6rem/1.4 var(--font-head); box-shadow: var(--shadow); }
.pull-quote blockquote { margin: 10px 0 0; font: 600 clamp(1.35rem, 2.6vw, 1.9rem)/1.35 var(--font-head); color: var(--ink); }
.pull-quote figcaption { margin-top: 14px; font-size: .95rem; color: var(--ink-muted); }
.pull-quote figcaption b { color: var(--ink); }

/* Rubicon Programs section: light ground, Programs Blue as the accent only */
.programs { background: linear-gradient(180deg, #f6f9fc 0%, #ecf3f9 100%); }
.programs .eyebrow { color: var(--blue); }
.programs .eyebrow::before { background: var(--blue); }
.programs h2 em { color: var(--blue); }
.programs-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.programs-head figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,72,117,.16); }
.programs-head figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.programs-head figcaption { padding: 12px 18px; font-size: .88rem; color: var(--ink-muted); }
.btn--programs { background: #fff; color: var(--blue); border-color: rgba(0,72,117,.35); box-shadow: var(--shadow-sm); }
.btn--programs:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; overflow: hidden; background: #fff; border: 1px solid #dbe7f0; border-radius: var(--radius-lg); padding: 28px 24px 24px; box-shadow: 0 14px 34px rgba(0,72,117,.08); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pillar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), #3d7fa8); }
.pillar:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0,72,117,.14); }
.pillar-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #e6f0f7; color: var(--blue); margin-bottom: 14px; }
.pillar-ic svg { width: 26px; height: 26px; }
.pillar h3 { margin: 0 0 6px; font-size: 1.2rem; }
.pillar p { margin: 0; font-size: .95rem; color: var(--ink-muted); }
@media (max-width: 960px) { .programs-head { grid-template-columns: 1fr; } .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* How we help each other: green and blue side by side, kept light */
.bridge { display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; gap: 0; }
.bridge-card { position: relative; overflow: hidden; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px 30px 26px; box-shadow: var(--shadow); }
.bridge-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.bridge-card--green::before { background: var(--grad-leaf); }
.bridge-card--blue { border-color: #dbe7f0; box-shadow: 0 14px 34px rgba(0,72,117,.1); }
.bridge-card--blue::before { background: linear-gradient(90deg, #3d7fa8, var(--blue)); }
.bridge-label { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; font: 700 .78rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.bridge-card--green .bridge-label { background: var(--mist-100); color: var(--forest-700); }
.bridge-card--blue .bridge-label { background: #e6f0f7; color: var(--blue); }
.bridge-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bridge-card li { position: relative; padding-left: 26px; font-size: .97rem; line-height: 1.5; }
.bridge-card li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 10px; border-radius: 50%; }
.bridge-card--green li::before { background: var(--green); box-shadow: 0 0 0 4px rgba(50,126,62,.14); }
.bridge-card--blue li::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(0,72,117,.12); }
.bridge-card--green b { color: var(--forest-700); }
.bridge-card--blue b { color: var(--blue); }
.bridge-link { display: grid; place-items: center; }
.bridge-link span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); box-shadow: 0 0 0 7px #fff, 0 12px 26px rgba(0,0,0,.16); }
.bridge-link svg { width: 26px; height: 26px; }
.bridge-result { position: relative; overflow: hidden; max-width: 820px; margin: 36px auto 0; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px 32px 26px; box-shadow: var(--shadow); }
.bridge-result::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.bridge-result h3 { margin: 0 0 8px; font-size: 1.3rem; }
.bridge-result p { margin: 0; color: var(--ink-muted); }
@media (max-width: 900px) { .bridge { grid-template-columns: 1fr; gap: 14px; } .bridge-link span { transform: rotate(90deg); } }

/* Compact milestone timeline (replaces the tall alternating layout above) */
.milestones { grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 4px; }
.milestones::before { left: 4%; right: 4%; top: 21px; bottom: auto; width: auto; height: 2px; transform: none; background: linear-gradient(90deg, rgba(143,185,143,.3), var(--sage-400), rgba(143,185,143,.3)); }
.milestones li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ms-year { width: auto; height: 42px; padding: 0 16px; border-radius: 999px; font-size: .95rem; box-shadow: 0 0 0 5px rgba(143,185,143,.16), var(--shadow-sm); }
.ms-card, .milestones li:nth-child(even) .ms-card { width: 100%; flex: 1; text-align: left; padding: 16px 16px 14px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ms-card h3 { font-size: .98rem; line-height: 1.25; margin-bottom: 4px; }
.ms-card p { font-size: .85rem; line-height: 1.45; }
@media (max-width: 1100px) { .milestones { grid-template-columns: repeat(3, 1fr); row-gap: 22px; } .milestones::before { display: none; } }
@media (max-width: 760px) {
  .milestones { grid-template-columns: 1fr; gap: 10px; }
  .milestones li { flex-direction: row; align-items: flex-start; gap: 12px; }
  .ms-year { flex: none; width: 64px; padding: 0; height: 34px; font-size: .85rem; margin-top: 4px; }
  .ms-card, .milestones li:nth-child(even) .ms-card { padding: 12px 14px; }
}

/* Community (home page): light ground with Programs Blue as an accent, matching the About page */
.community { background: linear-gradient(180deg, #f6f9fc 0%, #ecf3f9 100%); color: var(--ink-body); }
.community h2 { color: var(--ink); }
.community h2 em { color: var(--blue); }
.community p { color: var(--ink-body); }
.community .eyebrow { color: var(--blue); }
.community figure { background: #fff; box-shadow: 0 30px 60px rgba(0,72,117,.16); }
.community figcaption { color: var(--ink-muted); }
.community .btn--glass { background: #fff; color: var(--blue); border-color: rgba(0,72,117,.35); box-shadow: var(--shadow-sm); }
.community .btn--glass:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Pull quote on a light ground (About page philosophy line) */
.pull-quote--light { box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-top: 64px; }
.pull-quote--light::before { background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); }
.bridge-card--blue .bridge-label { white-space: normal; }

/* Done Together cards (About page) */
.together-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.together-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.together-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.together-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.together-card--text::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.together-card--text .t-body { padding-top: 32px; }
.t-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.t-date { margin: 0; font: 700 .76rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.together-card h3 { margin: 0; font-size: 1.2rem; }
.together-card .t-body > p:not(.t-date):not(.t-chips) { margin: 0; font-size: .96rem; color: var(--ink-muted); }
.t-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 10px; }
.t-chips span { padding: 4px 10px; border-radius: 999px; font: 600 .75rem/1.2 var(--font-body); background: var(--mist-100); color: var(--forest-700); }
.t-chips .t-blue { background: #e6f0f7; color: var(--blue); }
@media (max-width: 960px) { .together-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .together-grid { grid-template-columns: 1fr; } }

/* ===== Projects page ===== */
.proj-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.proj-nav .wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 14px; }
.proj-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 600 .9rem/1.2 var(--font-body); color: var(--forest-700); text-decoration: none; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s, border-color .2s; }
.proj-nav a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proj-card { scroll-margin-top: calc(var(--header-h) + 80px); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.proj-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-card:target { outline: 3px solid var(--green-500); outline-offset: 4px; }
.proj-media { position: relative; }
.proj-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proj-since { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--grad-leaf); color: #fff; font: 700 .8rem/1.2 var(--font-head); box-shadow: var(--shadow-sm); }
.proj-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.proj-tag { margin: 0; font: 700 .74rem/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.proj-card h3 { margin: 0; font-size: 1.2rem; }
.proj-body > p:not(.proj-tag) { margin: 0; font-size: .96rem; color: var(--ink-muted); }
.proj-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 12px; }
.proj-cta { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; background: var(--green); color: #fff; font: 700 .86rem/1.2 var(--font-body); text-decoration: none; box-shadow: var(--shadow-sm); transition: background-color .2s, transform .2s; }
.proj-cta:hover { background: var(--forest-700); color: #fff; transform: translateY(-1px); }
@media (max-width: 960px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } .proj-nav { top: 68px; } }

/* Timeline rows and client names that link to Projects */
a.tl-row { color: inherit; text-decoration: none; border-radius: var(--radius); transition: background-color .2s; }
a.tl-row:hover { background: var(--mist-50); }
a.tl-row:hover .tl-name { color: var(--green); }
a.tl-row .tl-name::after { content: " \2192"; color: var(--green); opacity: 0; transition: opacity .2s; }
a.tl-row:hover .tl-name::after { opacity: 1; }
.marquee-track a { color: inherit; text-decoration: none; }
.marquee-track a:hover { color: var(--sage-300); }
@media (max-width: 600px) { .proj-nav .wrap { flex-wrap: nowrap; overflow-x: auto; padding-block: 10px; scrollbar-width: none; } .proj-nav .wrap::-webkit-scrollbar { display: none; } .proj-nav a { flex: none; font-size: .84rem; padding: 7px 13px; } }
.section-cta { margin-top: 36px; display: flex; justify-content: center; }

/* Rubicon Programs page: Programs Blue leads as a light accent on white and soft blue-white grounds,
   with Landscape Green marking where Rubicon Landscape Group ties in. No large dark blue blocks. */
.rp-page { --rp-soft: #f2f7fb; --rp-line: #d6e5f0; --rp-mid: #3d7fa8; }
.rp-page .eyebrow { color: var(--blue); }
.rp-page h1 em, .rp-page h2 em { color: var(--blue); }
.crumbs--dark { color: var(--ink-muted); }
.crumbs--dark a { color: var(--blue); }
.rp-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background: radial-gradient(1200px 500px at 85% 10%, #dcebf6 0%, rgba(220,235,246,0) 60%), linear-gradient(180deg, #f7fbfe 0%, #eaf3fa 100%); border-bottom: 1px solid var(--rp-line); }
.rp-hero::after { content: ""; position: absolute; inset: 0; background: url("../img/botanical-corners-light.webp") center / cover; opacity: .35; pointer-events: none; }
.rp-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rp-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 16ch; }
.rp-hero-photo { margin: 0; position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: 0 34px 70px rgba(0,72,117,.22); border: 6px solid #fff; transform: rotate(1.2deg); }
.rp-hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rp-hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .84rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.rp-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); }
.rp-btn { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 8px 20px rgba(0,72,117,.25); }
.rp-btn:hover { background: #005d97; color: #fff; transform: translateY(-2px); }
.rp-btn-outline { background: #fff; color: var(--blue); border-color: rgba(0,72,117,.35); }
.rp-btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.rp-stats { background: #fff; border-bottom: 1px solid var(--rp-line); }
.rp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.rp-stats-grid > div { padding: 30px 24px; border-left: 1px solid var(--rp-line); }
.rp-stats-grid > div:first-child { border-left: 0; }
.rp-stats-grid strong { display: block; font: 700 clamp(2rem, 3.6vw, 2.8rem)/1 var(--font-head); color: var(--blue); }
.rp-stats-grid span { display: block; margin-top: 8px; font-size: .95rem; color: var(--ink); }
.rp-section { background: #fff; }
.rp-soft { background: linear-gradient(180deg, var(--rp-soft) 0%, #eaf2f9 100%); }
.rp-mission { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rp-quote { font: 600 clamp(1.2rem, 2vw, 1.45rem)/1.45 var(--font-head); color: var(--blue); border-left: 4px solid var(--blue); padding: 4px 0 4px 20px; margin: 8px 0 22px; }
.rp-values { display: grid; gap: 14px; }
.rp-value { display: grid; grid-template-columns: 54px 1fr; gap: 4px 16px; padding: 20px 22px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--radius-lg); box-shadow: 0 12px 30px rgba(0,72,117,.07); }
.rp-value span { grid-row: span 2; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #e6f0f7; color: var(--blue); font: 700 1rem/1 var(--font-head); }
.rp-value h3 { margin: 4px 0 2px; font-size: 1.15rem; color: var(--blue); }
.rp-value p { margin: 0; font-size: .95rem; }
.rp-pillars .pillar p { color: var(--ink); }
.rp-places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rp-place { position: relative; padding: 22px; background: var(--rp-soft); border: 1px solid var(--rp-line); border-radius: var(--radius-lg); }
.rp-place::before { content: ""; position: absolute; left: 22px; top: 0; width: 40px; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue); }
.rp-place h3 { font-size: 1.08rem; margin: 6px 0 6px; }
.rp-place p { margin: 0; font-size: .93rem; }
.rp-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); text-decoration: none; }
.rp-link::after { content: "\2192"; transition: transform .25s var(--ease); }
.rp-link:hover { color: var(--blue); }
.rp-link:hover::after { transform: translateX(4px); }
.rp-bridge { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 18px; align-items: center; max-width: 1040px; margin: 0 auto; }
.rp-side { position: relative; overflow: hidden; padding: 28px; background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rp-side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; }
.rp-side--green::before { background: linear-gradient(90deg, var(--green), #4A9556); }
.rp-side--blue::before { background: linear-gradient(90deg, var(--rp-mid), var(--blue)); }
.rp-side--blue { border-color: var(--rp-line); }
.rp-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.rp-side--green .rp-tag { background: var(--mist-100); color: var(--green); }
.rp-side--blue .rp-tag { background: #e6f0f7; color: var(--blue); }
.rp-side h3 { font-size: 1.25rem; }
.rp-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rp-side li { position: relative; padding-left: 22px; font-size: .97rem; }
.rp-side li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; }
.rp-side--green li::before { background: var(--green); }
.rp-side--blue li::before { background: var(--blue); }
.rp-arrow { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); box-shadow: 0 12px 26px rgba(0,72,117,.25); }
.rp-arrow svg { width: 28px; height: 28px; }
.rp-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-bottom: clamp(44px, 6vw, 72px); }
.rp-story--flip { grid-template-columns: 1.2fr .8fr; }
.rp-story--flip figure { order: 2; }
.rp-story figure { margin: 0; border-radius: var(--radius-xl); overflow: hidden; box-shadow: 0 26px 56px rgba(0,72,117,.16); }
.rp-story figure img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.rp-story h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 14px; }
.rp-chip { display: inline-block; margin: 0 6px 6px 0; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #e6f0f7; color: var(--blue); }
.rp-chip--green { background: var(--mist-100); color: var(--green); }
.rp-voice { margin: 18px 0 0; padding: 16px 20px; border-radius: var(--radius); background: var(--rp-soft); border-left: 4px solid var(--green); font: 600 1.05rem/1.45 var(--font-head); color: var(--ink); }
.rp-voice cite, .rp-voices cite { display: block; margin-top: 8px; font: 500 .88rem/1.3 var(--font-body); font-style: normal; color: var(--ink-muted); }
.rp-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rp-voices blockquote { position: relative; margin: 0; padding: 34px 26px 26px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--radius-lg); box-shadow: 0 14px 34px rgba(0,72,117,.08); font: 600 1.06rem/1.5 var(--font-head); color: var(--ink); }
.rp-voices blockquote::before { content: "\201C"; position: absolute; top: -6px; left: 22px; font: 700 4rem/1 var(--font-head); color: var(--blue); opacity: .25; }
.rp-ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rp-way { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.rp-way h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.rp-way p { margin: 0; font-size: .93rem; }
.rp-way-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e6f0f7; color: var(--blue); }
.rp-way-ic--green { background: var(--mist-100); color: var(--green); }
.rp-way-ic svg { width: 24px; height: 24px; }
.rp-cta { padding: 0 0 clamp(64px, 8vw, 104px); background: #fff; }
.rp-cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: linear-gradient(135deg, #f2f7fb 0%, #e3eef7 100%); border: 1px solid var(--rp-line); box-shadow: 0 26px 60px rgba(0,72,117,.12); }
.rp-cta-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.rp-cta-actions { display: grid; gap: 12px; justify-items: start; }
@media (max-width: 960px) {
  .rp-hero-inner, .rp-mission, .rp-story, .rp-story--flip, .rp-cta-card { grid-template-columns: 1fr; }
  .rp-story--flip figure { order: 0; }
  .rp-hero-photo { max-width: 420px; transform: none; }
  .rp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .rp-stats-grid > div:nth-child(3) { border-left: 0; }
  .rp-stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--rp-line); }
  .rp-places, .rp-voices, .rp-ways { grid-template-columns: 1fr 1fr; }
  .rp-bridge { grid-template-columns: 1fr; }
  .rp-arrow { margin: 0 auto; transform: rotate(90deg); }
}
@media (max-width: 600px) { .rp-places, .rp-voices, .rp-ways { grid-template-columns: 1fr; } }

/* Team profile pages */
.pf-hero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 84px) 0; background: linear-gradient(180deg, #f7faf6 0%, var(--mist-100) 100%); border-bottom: 1px solid var(--line); }
.pf-hero::after { content: ""; position: absolute; inset: 0; background: url("../img/botanical-corners-light.webp") center / cover; opacity: .4; pointer-events: none; }
.pf-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pf-photo { margin: 0; position: relative; border-radius: var(--radius-xl); overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 30px 60px rgba(18,48,27,.18); aspect-ratio: 1 / 1; }
.pf-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad-leaf); }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.pf-initials { width: 100%; height: 100%; display: grid; place-items: center; background: var(--grad-leaf); color: #fff; font: 700 5rem/1 var(--font-head); letter-spacing: .04em; }
.pf-initials--sm { width: 56px; height: 56px; border-radius: 14px; font-size: 1.1rem; }
.pf-crumbs { margin-bottom: 14px; }
.crumbs--dark a { color: var(--green); }
.rp-page .crumbs--dark a { color: var(--blue); }
.pf-hero h1 { margin-bottom: 6px; }
.pf-title { font: 600 clamp(1.15rem, 2vw, 1.4rem)/1.3 var(--font-head); color: var(--green); margin: 0 0 14px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tags span { font-size: .78rem; font-weight: 700; color: var(--green-700); background: #fff; border: 1px solid var(--sage-300); border-radius: 999px; padding: 5px 12px; }
.pf-stats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); max-width: 640px; }
.pf-stats div { padding: 16px 18px; border-left: 1px solid var(--line); }
.pf-stats div:first-child { border-left: 0; }
.pf-stats strong { display: block; font: 700 1.5rem/1.1 var(--font-head); color: var(--green); }
.pf-stats span { display: block; margin-top: 4px; font-size: .84rem; color: var(--ink); line-height: 1.35; }
.pf-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pf-main { max-width: 720px; }
.pf-main p { font-size: 1.06rem; line-height: 1.7; }
.pf-h { font-size: 1.35rem; margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--mist-100); }
.pf-h:first-child { margin-top: 0; }
.pf-note { font-size: .9rem !important; padding: 10px 14px; border: 1px dashed #d9a400; background: #fff8e6; border-radius: 10px; color: #6b4a00; }
.pf-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.pf-card { position: relative; overflow: hidden; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.pf-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-leaf); }
.pf-card h2 { font-size: 1.3rem; }
.pf-card .btn { width: 100%; margin-top: 4px; }
.pf-phone { margin: 14px 0 0; font-size: .93rem; text-align: center; }
.pf-card--soft { background: var(--mist-100); box-shadow: none; }
.pf-card--soft::before { display: none; }
.pf-card--soft h3 { font-size: 1.05rem; }
.pf-card--soft p { font-size: .93rem; }
.pf-mates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pf-mate { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.pf-mate:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.pf-mate img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: 50% 20%; }
.pf-mate strong { display: block; font: 700 1rem/1.2 var(--font-head); }
.pf-mate small { display: block; margin-top: 2px; font-size: .82rem; color: var(--ink-muted); line-height: 1.3; }
/* Team grid cards that open a profile */
a.member { text-decoration: none; color: var(--ink); }
a.member:hover { color: var(--ink); }
a.member .member-more { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--green); }
a.member .member-more::after { content: " \2192"; }
@media (max-width: 960px) {
  .pf-hero-inner, .pf-body { grid-template-columns: 1fr; }
  .pf-photo { max-width: 300px; }
  .pf-aside { position: static; }
  .pf-mates { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .pf-stats { grid-template-columns: 1fr; } .pf-stats div { border-left: 0; border-top: 1px solid var(--line); } .pf-stats div:first-child { border-top: 0; } .pf-mates { grid-template-columns: 1fr; } }
