:root {
  --ink: #111313;
  --charcoal: #252927;
  --paper: #fbfaf6;
  --white: #ffffff;
  --teal: #006d6f;
  --teal-dark: #00484a;
  --terracotta: #b95e3f;
  --mustard: #d8a532;
  --sky: #a9d7df;
  --sage: #6e7f64;
  --line: rgba(17, 19, 19, 0.14);
  --shadow: 0 18px 50px rgba(17, 19, 19, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Source Sans 3', Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17,19,19,var(--hero-darkness,0.84)) 0%, rgba(17,19,19,0.48) 42%, rgba(17,19,19,0.12) 100%), var(--hero-image, url("hero.jpg"));
  background-position: center, var(--hero-position,50% 50%);
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(88px, 14vh, 150px) 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sky);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 6.7rem);
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 2;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(17, 19, 19, 0.55);
  backdrop-filter: blur(14px);
}

.trust-strip span {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 108px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.lead {
  margin: 0;
  color: rgba(17, 19, 19, 0.74);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 0.45fr);
  gap: 30px;
  margin-bottom: 34px;
}

.feature-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.person-card,
.proof-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(17, 19, 19, 0.06);
}

.feature-card p,
.person-card p,
.proof-grid p,
.service-card p,
.project-copy p {
  color: rgba(17, 19, 19, 0.72);
}

.card-mark {
  display: block;
  margin-bottom: 42px;
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 900;
}

.about-band,
.portfolio-band,
.contact-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
}

.about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  background: var(--ink);
  color: var(--white);
}

.about-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.person-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.person-card p {
  color: rgba(255, 255, 255, 0.72);
}

.role {
  margin: 0 0 12px;
  color: var(--sky) !important;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  min-height: 330px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card h3,
.service-card p {
  margin-inline: 20px;
}

.service-card h3 {
  margin-top: 20px;
}

.service-card p {
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.service-visual { display:block; width:100%; height:130px; object-fit:cover; }
.visual-c { background:linear-gradient(135deg,var(--terracotta),var(--mustard)); }
.visual-d { background:linear-gradient(135deg,var(--sage),var(--charcoal)); }
.visual-g { background:var(--teal); }
.visual-h { background:var(--charcoal); }

.portfolio-band {
  background: #f0f2ed;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  min-height: 330px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-image {
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 72, 74, 0.26), rgba(216, 165, 50, 0.2)),
    url("assets/v2/crosswalk-1.jpg") center / cover no-repeat;
}

.project-crosswalk { background-position: 28% 76%; }
.project-cheers { background-position: 58% 42%; }
.project-playtown { background-position: 15% 38%; }
.project-train { background-position: 74% 34%; }

.project-copy {
  padding: 26px;
}

.project-copy p {
  margin: 14px 0;
}

.project-copy a {
  color: var(--teal);
  font-weight: 850;
}

.project-meta {
  margin: 0 0 12px !important;
  color: var(--terracotta) !important;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.government {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.government .button {
  margin-top: 28px;
}

.gov-panel {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.pill-list li {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f5ee;
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  color: var(--white);
  background: var(--charcoal);
}

.contact-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-details a {
  color: var(--sky);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .trust-strip,
  .split,
  .section-heading,
  .about-band,
  .government,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .feature-grid,
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 190px;
  }

  .trust-strip {
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 820px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(17, 19, 19, 0.78) 0%, rgba(17, 19, 19, 0.52) 55%, rgba(17, 19, 19, 0.9) 100%),
      var(--hero-image, url("hero.jpg")) var(--hero-position, 50% 65%) / cover no-repeat;
  }

  .hero-content {
    width: min(100% - 32px, 760px);
    padding-top: 78px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip span:nth-child(2) {
    border-right: 0;
  }

  .feature-grid,
  .service-grid,
  .proof-grid,
  .people-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 220px;
  }

  .site-footer {
    display: grid;
  }
}

/* V2 photography and gallery additions retain the V1 visual system. */
html { scroll-padding-top:90px; }
.people-grid { grid-template-columns:1fr; }
.portrait { width:100%; max-width:260px; height:auto; border-radius:8px; margin-bottom:24px; }
.process-photo { margin:0; max-width:420px; }
.process-photo img,.government-photo img { display:block; max-width:100%; height:auto; border-radius:8px; }
.process-photo figcaption { color:rgba(255,255,255,.76); }
.government-photo { margin:28px 0 0; }
figcaption { margin-top:8px; font-size:.85rem; line-height:1.5; }
.project-card { align-items:start; }
.project-media { display:flex; align-items:center; min-width:0; background:#e6e8e2; }
.project-photo { display:block; width:100%; height:auto; max-height:420px; object-fit:contain; }
.project-credits { padding-left:18px; font-size:.88rem; line-height:1.55; overflow-wrap:anywhere; }
.project-credits li { margin-bottom:8px; }
.collaboration-credit { font-size:.88rem; }
.project-gallery { margin-top:20px; border-top:1px solid var(--line); padding-top:14px; }
summary { cursor:pointer; color:var(--teal); font-weight:750; }
.gallery-grid { display:grid; grid-template-columns:1fr; gap:16px; margin-top:16px; }
.gallery-grid figure { margin:0; }
.gallery-grid img { display:block; width:100%; height:auto; max-height:300px; object-fit:contain; background:#f0f2ed; }
:focus-visible { outline:3px solid var(--mustard); outline-offset:4px; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
@media (max-width:640px) { .process-photo { max-width:100%; } .project-copy { padding:22px; } }

.project-event-photo { margin:24px 0; }
.project-event-photo img { display:block; max-width:100%; height:auto; border-radius:8px; }

/* What We Do: actual project photography in the three introductory cards. */
.feature-photo { display:block; width:100%; height:200px; object-fit:cover; border-radius:8px; margin-bottom:22px; }
@media (max-width:640px) { .feature-photo { height:220px; } }

/* V2.5 working draft: readable, consistent section typography. */
:is(#about, #services, #portfolio, #contact) {
  font-size: 1.0625rem;
  line-height: 1.65;
}
:is(#about, #services, #portfolio, #contact) h2 {
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  line-height: 1.08;
}
:is(#about, #services, #portfolio, #contact) h3 {
  font-size: clamp(1.3rem, 1.5vw, 1.5rem);
  line-height: 1.25;
}
#about .about-copy p:not(.eyebrow),
#contact .contact-copy p:not(.eyebrow) {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.7;
}
#about .person-card p:not(.role),
#services .service-card p,
#portfolio .project-copy p:not(.project-meta):not(.collaboration-credit) {
  font-size: 1.0625rem;
  line-height: 1.65;
}
#about .role, #portfolio .project-meta {
  font-size: .9375rem;
  line-height: 1.5;
  letter-spacing: .035em;
}
#portfolio .project-credits,
#portfolio .collaboration-credit,
#portfolio figcaption {
  font-size: .9375rem;
  line-height: 1.6;
}
#portfolio .project-gallery summary { font-size: 1rem; }
#contact label { font-size: 1rem; }
#contact :is(input, select, textarea) { font-size: 1rem; line-height: 1.5; }
#contact .contact-details a { overflow-wrap: anywhere; }


/* Uniform portfolio previews; full details stay available without JavaScript. */
#portfolio .portfolio-grid { align-items: start; gap: 24px; }
#portfolio .project-card { display: flex; flex-direction: column; min-height: 0; border-radius: 12px; }
#portfolio .project-media { width: 100%; height: 260px; justify-content: center; padding: 12px; }
#portfolio .project-photo { width: 100%; height: 100%; max-height: none; object-fit: contain; }
#portfolio .project-copy { width: 100%; padding: 26px; }
#portfolio .project-copy h3 { min-height: 2.5em; margin-bottom: 12px; }
#portfolio .project-meta { min-height: 1.5em; }
#portfolio .project-preview { min-height: 4.95em; margin: 0 0 20px; }
#portfolio .project-expand { border-top: 1px solid var(--line); padding-top: 16px; }
#portfolio .project-expand > summary { font-size: 1rem; padding: 4px 0; }
#portfolio .collapse-label { display: none; }
#portfolio .project-expand[open] > summary .expand-label { display: none; }
#portfolio .project-expand[open] > summary .collapse-label { display: inline; }
#portfolio .project-expanded-content { padding-top: 8px; }
@media (max-width: 640px) {
  #portfolio .project-media { height: 230px; }
  #portfolio .project-copy { padding: 22px; }
}

/* V3.0: center the two introductory service topics. */
[aria-labelledby="what-title"] .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 800px; margin-inline: auto; }
@media (max-width: 640px) { [aria-labelledby="what-title"] .feature-grid { grid-template-columns: 1fr; } }

/* V3.0: balanced section labels across the page. */
.section .eyebrow {
  font-size: clamp(.9375rem, .9rem + .15vw, 1rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .09em;
  margin-bottom: 14px;
}
.section-heading { flex-direction: column; align-items: flex-start; gap: 0; }

/* V3.0: concise homepage and visible project roles. */
.hero { min-height: 660px; }
.hero-content { padding: 100px 0 88px; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); max-width: 800px; line-height: 1.08; }
.hero .eyebrow { font-size: .9375rem; font-weight: 700; line-height: 1.5; letter-spacing: .06em; max-width: 740px; }
#services .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service-photo { display: block; width: 100%; height: 230px; object-fit: cover; margin-bottom: 22px; border-radius: 8px; }
.service-consultation, .portfolio-intro, .community-closing { font-size: 1.125rem; line-height: 1.65; }
.portfolio-intro { margin: -12px 0 32px; }
.community-band .lead { max-width: 900px; font-size: 1.125rem; }
.community-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.community-layout figure { margin: 0; }
.community-photo { display: block; width: 100%; height: auto; border-radius: 8px; }
.community-layout figcaption { font-size: .9375rem; margin-top: 10px; }
.community-approaches h3 { font-size: 1.5rem; line-height: 1.25; }
.community-approaches p { font-size: 1.0625rem; line-height: 1.65; }
.community-approaches article + article { margin-top: 28px; }
#about .person-card { min-height: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
#about .portrait { margin: 0; }
#about .role { margin: 20px 0 12px; }
#portfolio .project-role { min-height: 3em; margin: 0 0 18px; font-size: .9375rem; line-height: 1.5; color: var(--teal); }
#portfolio .project-role span { font-weight: 700; }
#portfolio .project-preview { min-height: 10em; }
.form-helper { margin: 0; font-size: .9375rem; line-height: 1.5; }
@media (max-width: 640px) {
  .hero { min-height: 650px; }
  .hero-content { padding: 70px 0; }
  #services .service-grid, .community-layout { grid-template-columns: 1fr; }
  .community-layout { gap: 24px; }
  .service-photo { height: 220px; }
  #portfolio .project-preview { min-height: 0; }
}

#portfolio .project-preview { min-height: 8.25em; }

#portfolio .project-copy p.project-role { font-size: .9375rem; line-height: 1.5; min-height: 3em; }
#portfolio .project-copy p.project-role { min-height: 4.5em; }

.section-heading { grid-template-columns: 1fr; gap: 0; }
#about .eyebrow { color: var(--sky); }
#about .about-copy .role { font-size: .9375rem; font-weight: 700; line-height: 1.5; letter-spacing: .035em; }
#about .about-copy h2 { font-size: clamp(2.25rem, 3.8vw, 3.5rem); }
#about .people-grid { justify-items: center; align-content: center; }
#about .portrait { max-width: 320px; }
.hero-content p { text-shadow: 0 1px 3px rgba(0,0,0,.65); }

#about .about-copy p.role { font-size: .9375rem; font-weight: 700; line-height: 1.5; letter-spacing: .035em; }

/* V3.1 refinement: balanced headline and simplified community presentation. */
.hero h1 { font-size: clamp(2.35rem, 5vw, 4.25rem); max-width: 22ch; line-height: 1.1; text-wrap: balance; }
.hero-final-phrase { white-space: nowrap; }
.community-layout { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
.community-layout figcaption { color: rgba(17,19,19,.72); }
#portfolio .project-credits { padding-left: 20px; }
#portfolio .project-credits li { margin-block: 6px; }

/* V3.2: locally hosted typography and restrained craftsmanship refinements. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('assets/fonts/source-sans-3-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
h1, h2, h3 {
  font-family: 'Space Grotesk', Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: normal;
}
p, li, figcaption, label, summary, .button, .site-nav a {
  text-wrap: pretty;
}
.person-name { white-space: nowrap; }
#about .about-copy h2 { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.15; }
#services h3, #portfolio h3 { line-height: 1.3; letter-spacing: -.015em; }
#services .service-card p { max-width: 60ch; }
.section .eyebrow { letter-spacing: .065em; }
#community .community-photo { display: block; width: 100%; height: auto; min-height: 0; max-height: none; transform: none; }
#community .community-layout { align-items: start; }
#community figure { min-height: 0; align-self: start; }
#community figcaption { text-align: center; }
figcaption { text-wrap: pretty; }
input, select, textarea, button { font-family: inherit; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-status { margin: 0; font-size: 1rem; line-height: 1.6; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { border-left: 3px solid var(--terracotta); padding-left: 12px; }
.contact-status[data-state="success"] { border-left: 3px solid var(--teal); padding-left: 12px; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
