@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');

:root {
  --ink: #101a22;
  --navy: #132536;
  --forest: #007f52;
  --forest-deep: #005f3e;
  --brand-green: #00a066;
  --brand-blue: #0676fc;
  --orange: #f76f0b;
  --cream: #f6efe3;
  --sage: #dfeae3;
  --white: #ffffff;
  --muted: #66716f;
  --line: rgba(16, 26, 34, 0.14);
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fffdfa;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--white);
  color: var(--ink);
  padding: .7rem 1rem;
  z-index: 100;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.site-header.inner {
  position: relative;
  background: var(--cream);
  border-color: rgba(16,26,34,.12);
}

.nav-wrap {
  width: min(1180px, calc(100% - 3rem));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  width: 270px;
  height: 60px;
  object-fit: contain;
  padding: 0;
  background: transparent;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { color: white; font-size: .88rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.inner .site-nav a { color: var(--ink); }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--orange); }

.nav-cta {
  border: 1px solid currentColor;
  padding: .7rem 1rem;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 700;
  padding: .5rem;
}

.inner .menu-button { color: var(--ink); }

.hero {
  min-height: 760px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--navy) url('assets/boston-hero.webp') center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,22,27,.92) 0%, rgba(8,22,27,.78) 30%, rgba(8,22,27,.24) 62%, rgba(8,22,27,.08) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(8,22,27,.72), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 11rem 0 7rem;
}

.hero-content > * { animation: heroRise .8s both; }
.hero-content > *:nth-child(2) { animation-delay: .08s; }
.hero-content > *:nth-child(3) { animation-delay: .16s; }
.hero-content > *:nth-child(4) { animation-delay: .24s; }

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.2rem;
  color: var(--orange);
  font-size: clamp(.95rem, 1.25vw, 1.08rem);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }

h1, h2, h3 { margin: 0; line-height: 1.08; }
h1, h2 { font-family: var(--serif); font-weight: 400; }

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 7vw, 6.6rem);
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 610px;
  margin: 1.7rem 0 2.1rem;
  color: rgba(255,255,255,.84);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .8rem 1.35rem;
  background: var(--orange);
  color: white;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { background: #d95308; transform: translateY(-2px); }
.button.secondary { background: transparent; border: 1px solid rgba(255,255,255,.75); }
.button.secondary:hover, .button.secondary:focus-visible { background: rgba(255,255,255,.12); }
.button.dark { background: var(--forest); }

.container { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.section { padding: clamp(5rem, 9vw, 8rem) 0; }
.section.soft { background: var(--cream); }
.section.green { background: var(--forest-deep); color: white; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.mission-vision {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.mission-vision::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  right: -180px;
  border: 1px solid rgba(243,107,22,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23,79,59,.04), 0 0 0 140px rgba(243,107,22,.035);
}

.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; position: relative; border-top: 1px solid var(--line); }
.purpose-block { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem) 0; }
.purpose-block + .purpose-block { padding-left: clamp(2rem, 5vw, 5rem); border-left: 1px solid var(--line); }
.purpose-block h3 { margin: 1rem 0 1.5rem; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; }
.purpose-block p { max-width: 540px; color: var(--muted); font-size: 1.08rem; }

.impact-strip { background: var(--orange); color: white; overflow: hidden; padding: 1rem 0; }
.impact-track { display: flex; width: max-content; gap: 2.4rem; animation: marquee 24s linear infinite; font-family: var(--serif); font-size: 1.35rem; }
.impact-track span::after { content: "✦"; margin-left: 2.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.display { font-size: clamp(2.5rem, 5vw, 4.8rem); letter-spacing: -.035em; }
.intro-copy { margin: 0; color: var(--muted); font-size: 1.08rem; }
.green .intro-copy { color: rgba(255,255,255,.73); }

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.dual-panel { padding: 3rem 3rem 3rem 0; }
.dual-panel + .dual-panel { padding-left: 3rem; border-left: 1px solid var(--line); }
.dual-label { color: var(--orange); font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.dual-panel h3 { margin: .8rem 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
.dual-panel p { color: var(--muted); }
.text-link { display: inline-flex; margin-top: .8rem; color: var(--forest); font-weight: 700; border-bottom: 2px solid var(--orange); }

.service-list { margin-top: 4rem; border-top: 1px solid rgba(255,255,255,.25); }
.service-row {
  display: grid;
  grid-template-columns: 70px minmax(220px, .8fr) 1.2fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  align-items: baseline;
}
.service-number { color: var(--orange); font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 700; letter-spacing: .14em; }
.service-row h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; }
.service-row p { margin: 0; color: rgba(255,255,255,.7); }

.image-story { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 650px; }
.story-image { min-height: 520px; background: url('assets/people-workshop.webp') center / cover no-repeat; }
.story-image { transition: background-size .8s ease; background-size: cover; }
.image-story:hover .story-image { background-size: 108%; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); background: var(--cream); }
.story-copy p { color: var(--muted); font-size: 1.08rem; }

.quote-band { padding: 4rem 0; background: var(--orange); color: white; }
.quote-band p { max-width: 1000px; margin: 0; font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.18; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.audience-card { min-height: 300px; padding: 2rem; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; background: white; }
.audience-card span { color: var(--orange); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.audience-card h3 { margin-top: 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.audience-card p { color: var(--muted); }

.closing { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--navy); color: white; text-align: center; }
.closing h2 { max-width: 880px; margin: 0 auto 2rem; font-size: clamp(2.7rem, 6vw, 5.4rem); }

.page-hero { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--cream); }
.page-hero h1 { color: var(--ink); max-width: 920px; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; }

.prose-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 9vw, 8rem); }
.prose-grid h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.prose p { margin-top: 0; color: var(--muted); }

.detail-stack { border-top: 1px solid var(--line); }
.detail-item { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.detail-item h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
.detail-item ul { columns: 2; margin: 0; padding-left: 1.2rem; color: var(--muted); }
.detail-item li { margin-bottom: .65rem; break-inside: avoid; }

.tabs-shell { margin-top: 3.5rem; }
.tab-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: white;
}
.tab-button {
  min-height: 112px;
  padding: 1.25rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font: 600 .88rem/1.35 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tab-button:last-child { border-right: 0; }
.tab-button:hover { background: var(--cream); transform: translateY(-4px); }
.tab-button[aria-selected="true"] { background: var(--forest); color: white; }
.tab-panel {
  display: none;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 7vw, 7rem);
  min-height: 520px;
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--navy);
  color: white;
}
.tab-panel.active { display: grid; animation: tabIn .45s ease both; }
@keyframes tabIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.tab-panel h2 { font-size: clamp(2.5rem, 5vw, 4.8rem); }
.tab-panel .service-intro { color: rgba(255,255,255,.72); font-size: 1.08rem; }
.tab-panel ul { columns: 2; margin: 0; padding-left: 1.2rem; }
.tab-panel li { margin: 0 0 .8rem; break-inside: avoid; color: rgba(255,255,255,.78); }

.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.offer-card { padding: 2rem; background: white; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.offer-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(16,26,34,.12); }
.offer-card h3 { margin: .8rem 0 1rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.offer-card p { color: var(--muted); }
.offer-meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 700; }

.funding-notice { padding: 1.5rem; background: var(--sage); border-left: 4px solid var(--forest); color: var(--forest-deep); }
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.job-card { border: 1px solid var(--line); background: white; transition: transform .3s ease, box-shadow .3s ease; }
.job-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(16,26,34,.1); }
.job-summary { padding: 2rem; cursor: pointer; list-style: none; }
.job-summary::-webkit-details-marker { display: none; }
.job-summary::after { content: "+"; float: right; color: var(--orange); font-size: 1.7rem; line-height: 1; }
.job-card[open] .job-summary::after { content: "×"; }
.job-status { color: var(--orange); font-size: clamp(.9rem, 1.15vw, 1.02rem); font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.job-summary h2 { margin: .8rem 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 400; }
.job-facts { color: var(--muted); font-size: .9rem; }
.job-details { padding: 0 2rem 2rem; border-top: 1px solid var(--line); }
.job-details h3 { margin-top: 1.6rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.job-details p, .job-details li { color: var(--muted); }

.contact-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; padding: clamp(2rem, 6vw, 5rem); background: var(--forest-deep); color: white; }
.contact-card h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); }
.contact-card p { color: rgba(255,255,255,.72); }
.contact-email { display: inline-block; color: white; font-family: var(--serif); font-size: clamp(1.55rem, 4vw, 3rem); border-bottom: 3px solid var(--orange); overflow-wrap: anywhere; }

.legal-copy { max-width: 880px; }
.legal-copy section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.legal-copy h2 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-note { padding: 1.5rem; background: var(--cream); border-left: 4px solid var(--orange); }

.visual-feature { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.visual-feature.reverse { grid-template-columns: .9fr 1.1fr; }
.visual-feature.reverse .visual-frame { order: 2; }
.visual-frame { position: relative; margin: 0; }
.visual-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--orange); z-index: 0; transition: transform .4s ease; }
.visual-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); transition: transform .55s ease; }
.visual-frame:hover::before { transform: translate(7px, 7px); }
.visual-frame:hover img { transform: translate(-5px, -5px); }
.visual-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.green .visual-copy p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.visual-copy h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }

.framework { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4rem; }
.framework article { padding: 2rem; border: 1px solid rgba(255,255,255,.2); border-right: 0; }
.framework article:last-child { border-right: 1px solid rgba(255,255,255,.2); }
.framework strong { display: block; color: var(--orange); font-size: 2rem; font-family: var(--serif); }
.framework p { color: rgba(255,255,255,.7); }

.site-footer { background: #081b20; color: rgba(255,255,255,.68); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-logo {
  width: 250px;
  height: 55px;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  margin-bottom: 1.4rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: flex-end; }
.footer-links a:hover { color: var(--orange); }
.footer-note { margin: .4rem 0 0; font-size: .9rem; }

@media (max-width: 850px) {
  .nav-wrap { min-height: 78px; }
  .brand { width: 190px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; display: none; inset: 78px 0 auto; padding: 1.5rem; background: var(--forest-deep); flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .inner .site-nav a { color: white; }
  .hero { min-height: 720px; background-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(8,22,27,.94), rgba(8,22,27,.6) 72%, rgba(8,22,27,.25)); }
  .hero-content { padding-bottom: 4rem; }
  .intro-grid, .prose-grid, .detail-item { grid-template-columns: 1fr; gap: 2rem; }
  .dual-grid, .image-story { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-block { padding-right: 0; }
  .purpose-block + .purpose-block { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .dual-panel { padding: 2.5rem 0; }
  .dual-panel + .dual-panel { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row p { grid-column: 2; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 240px; }
  .story-image { min-height: 430px; }
  .framework { grid-template-columns: 1fr 1fr; }
  .framework article:nth-child(2) { border-right: 1px solid rgba(255,255,255,.2); }
  .framework article:nth-child(n+3) { border-top: 0; }
  .detail-item ul { columns: 1; }
  .tab-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .tab-button { min-width: 210px; scroll-snap-align: start; }
  .tab-panel { grid-template-columns: 1fr; min-height: 0; }
  .offers-grid, .jobs-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .visual-feature, .visual-feature.reverse { grid-template-columns: 1fr; }
  .visual-feature.reverse .visual-frame { order: 0; }
}

@media (max-width: 560px) {
  .container, .nav-wrap, .hero-content { width: min(100% - 2rem, 1180px); }
  .brand { width: 160px; }
  .hero { min-height: 760px; background-position: 69% center; }
  .hero::before { background: rgba(7,22,27,.66); }
  .hero-content { padding-top: 8rem; }
  h1 { font-size: 3.05rem; }
  .button { width: 100%; }
  .service-row { grid-template-columns: 1fr; gap: .7rem; }
  .service-row p { grid-column: 1; }
  .framework { grid-template-columns: 1fr; }
  .framework article, .framework article:nth-child(2), .framework article:last-child { border: 1px solid rgba(255,255,255,.2); border-bottom: 0; }
  .framework article:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .tab-panel ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .impact-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
