:root {
  --background: #edf2ec;
  --foreground: #0c1511;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --ink: #0c1511;
  --forest: #0f2a21;
  --evergreen: #0b3329;
  --moss: #6d8740;
  --sage: #b9c8ad;
  --signal: #d7ef4f;
  --muted: #65736b;
  --line: rgba(15, 42, 33, 0.14);
  --glass-line: rgba(255, 255, 255, 0.5);
  --shadow: 0 14px 38px rgba(12, 21, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(109, 135, 64, 0.38), transparent 34%),
    linear-gradient(135deg, #f8faf6 0%, #edf2ec 38%, #d9e3d6 100%);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 100vh;
  overflow: hidden;
}

.section-shell {
  margin: 0 auto;
  max-width: 1160px;
  padding: 10px 18px;
  width: 100%;
}

.floating-panel {
  background: var(--panel);
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(244, 248, 242, 0.93);
  border-bottom: 1px solid rgba(15, 42, 33, 0.12);
  display: flex;
  gap: clamp(18px, 4vw, 52px);
  justify-content: space-between;
  left: 0;
  padding: 8px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  min-width: max-content;
}

.brand span {
  align-items: center;
  aspect-ratio: 1;
  background: var(--forest);
  border-radius: 10px;
  color: var(--signal);
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 950;
  justify-content: center;
  width: 34px;
}

.brand strong {
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}

nav {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

nav a {
  border: 1px solid rgba(15, 42, 33, 0.14);
  border-radius: 999px;
  color: #1f2d27;
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  font-weight: 950;
  letter-spacing: -0.01em;
  min-width: 110px;
  padding: 10px 18px;
  text-align: center;
}

nav a:hover {
  background: rgba(15, 42, 33, 0.08);
  color: var(--ink);
}

.nav-contact {
  background: var(--forest);
  color: #ffffff;
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.92fr) minmax(160px, 0.25fr);
  padding-top: 8px;
}

.hero-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(241, 246, 239, 0.72)),
    var(--panel);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 158px;
  padding: clamp(16px, 2.2vw, 24px);
}

.hero-photo {
  background: var(--forest);
  min-height: 158px;
  position: relative;
}

.hero-photo img,
.contact-photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.photo-caption {
  background: linear-gradient(180deg, transparent, rgba(12, 21, 17, 0.88));
  bottom: 0;
  color: #ffffff;
  display: grid;
  gap: 4px;
  left: 0;
  padding: 38px 12px 12px;
  position: absolute;
  right: 0;
}

.photo-caption span,
.work-meta span,
.reference-list small,
footer,
.contact-list span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.photo-caption span {
  color: #dce7dc;
}

.photo-caption strong {
  font-size: 0.76rem;
  line-height: 1.18;
}

.eyebrow {
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 7px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink);
  font-size: clamp(1.65rem, 3.15vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin-bottom: 9px;
  max-width: 610px;
}

h2 {
  color: var(--ink);
  font-size: clamp(1.34rem, 2.2vw, 2.35rem);
  letter-spacing: -0.026em;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.hero-text {
  color: #3d4d44;
  font-size: clamp(0.84rem, 1vw, 0.94rem);
  line-height: 1.35;
  margin-bottom: 12px;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.button {
  align-items: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 950;
  justify-content: center;
  min-height: 36px;
  padding: 8px 16px;
}

.button.primary {
  background: var(--forest);
  color: #ffffff;
}

.button.primary:hover,
.nav-contact:hover {
  background: #1d4a38;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.66);
  color: var(--forest);
}

.button.secondary:hover {
  background: #ffffff;
}

.dashboard-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.56fr) minmax(240px, 0.46fr);
  padding-top: 0;
}

.metrics-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  background: rgba(255, 255, 255, 0.74);
  min-height: 88px;
  padding: 13px;
}

.metric strong {
  color: var(--forest);
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 8px;
}

.metric span {
  color: #3a4b42;
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.22;
}

.metric-visual-card {
  background: rgba(255, 255, 255, 0.82);
  padding: 15px;
}

.metric-visual-card h2 {
  font-size: clamp(1.05rem, 1.45vw, 1.42rem);
  line-height: 1.03;
  margin-bottom: 12px;
}

.bar-list {
  display: grid;
  gap: 9px;
}

.bar-row {
  display: grid;
  gap: 5px;
}

.bar-row div {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.bar-row span {
  color: #4a5c52;
  font-size: 0.68rem;
  font-weight: 900;
}

.bar-row strong {
  color: var(--forest);
  font-size: 0.78rem;
  white-space: nowrap;
}

.bar-row i {
  background: rgba(15, 42, 33, 0.13);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.bar-row i::after {
  background: linear-gradient(90deg, var(--forest), var(--moss), var(--signal));
  border-radius: inherit;
  content: "";
  display: block;
  height: 100%;
  width: var(--value);
}

.entity-card {
  background: linear-gradient(145deg, var(--forest), var(--evergreen));
  color: #ffffff;
  padding: 17px;
}

.entity-card .eyebrow {
  color: var(--signal);
}

.entity-card h2 {
  color: #ffffff;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem);
  line-height: 1.06;
  margin-bottom: 13px;
}

.entity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.entity-list span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  padding: 7px 9px;
}

.built-section {
  display: grid;
  gap: 10px;
}

.built-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.built-card {
  background: rgba(255, 255, 255, 0.86);
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.built-card:hover {
  border-color: rgba(15, 42, 33, 0.24);
  box-shadow: 0 14px 34px rgba(12, 21, 17, 0.16);
  transform: translateY(-2px);
}

.built-media {
  aspect-ratio: 16 / 8;
  background: rgba(15, 42, 33, 0.06);
  overflow: hidden;
}

.built-media img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  width: 100%;
}

.built-copy {
  display: grid;
  padding: 10px 12px 11px;
}

.built-copy .eyebrow {
  font-size: 0.58rem;
  margin-bottom: 5px;
}

.built-copy h3 {
  font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.built-copy .text-link {
  font-size: 0.72rem;
  margin-top: 8px;
}

.carousel-section {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 0.25fr 1fr;
}

.carousel-heading h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.9rem);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  max-width: 760px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.carousel-window {
  background: rgba(255, 255, 255, 0.62);
  padding: 9px;
}

.carousel-track {
  animation: carousel-scroll 34s linear infinite;
  display: flex;
  gap: 10px;
  width: max-content;
}

.carousel-window:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 14px;
  flex: 0 0 235px;
  height: 180px;
  overflow: hidden;
  position: relative;
}

.carousel-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.earth-card img {
  object-fit: cover;
}

.carousel-caption {
  background: linear-gradient(180deg, transparent, rgba(12, 21, 17, 0.84));
  bottom: 0;
  color: #ffffff;
  display: grid;
  gap: 3px;
  left: 0;
  padding: 42px 12px 12px;
  position: absolute;
  right: 0;
}

.carousel-caption span {
  color: #d9e4d9;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
}

.carousel-caption strong {
  font-size: 0.88rem;
  line-height: 1.08;
}

@keyframes carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 5px));
  }
}

.split-intro {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.72fr 1fr;
}

.split-intro .floating-panel {
  padding: 18px;
}

.prose-card p,
.proof-copy p {
  color: #3a4b42;
  font-size: 0.92rem;
  line-height: 1.48;
  margin-bottom: 0;
}

.work-grid,
.service-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card,
.service-card {
  background: rgba(255, 255, 255, 0.76);
  padding: 17px;
}

.work-meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.work-meta strong {
  color: var(--moss);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.work-card h3,
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.work-card p,
.service-card p {
  color: #415249;
  font-size: 0.82rem;
  line-height: 1.4;
}

ul {
  display: grid;
  gap: 7px;
  list-style: none;
  margin: 11px 0 0;
  padding: 0;
}

li {
  color: #273730;
  font-size: 0.78rem;
  line-height: 1.35;
  padding-left: 16px;
  position: relative;
}

li::before {
  background: var(--moss);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.5em;
  width: 6px;
}

.text-link {
  color: var(--forest);
  display: inline-flex;
  font-weight: 950;
  margin-top: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.services-band {
  background: rgba(15, 42, 33, 0.05);
  border-block: 1px solid rgba(15, 42, 33, 0.1);
  margin-top: 10px;
}

.proof-section {
  background:
    linear-gradient(115deg, rgba(109, 135, 64, 0.8), rgba(15, 42, 33, 0.98) 48%),
    var(--forest);
  color: #ffffff;
  margin-top: 10px;
}

.proof-grid {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  padding-block: 34px;
}

.proof-copy .eyebrow {
  color: var(--signal);
}

.proof-copy h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.proof-copy p {
  color: #d8e3d8;
}

.reference-list {
  display: grid;
  gap: 9px;
}

.reference-list a {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  display: grid;
  gap: 4px;
  padding: 13px 14px;
}

.reference-list a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.reference-list span {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 950;
}

.reference-list small {
  color: #c8d6ce;
}

.contact-section {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
}

.contact-photo {
  min-height: 230px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.8);
  padding: clamp(20px, 3vw, 32px);
}

.contact-card h2 {
  margin-bottom: 16px;
}

.contact-list {
  display: grid;
  gap: 8px;
}

.contact-list div {
  background: rgba(15, 42, 33, 0.05);
  border: 1px solid rgba(15, 42, 33, 0.09);
  border-radius: 12px;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
}

.contact-list strong,
.contact-list a {
  color: var(--ink);
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

footer {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 16px 18px;
}

@media (max-width: 1020px) {
  .dashboard-grid,
  .carousel-section,
  .split-intro,
  .proof-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr 220px;
  }

  .metrics-grid,
  .built-list,
  .work-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  nav {
    justify-content: stretch;
    width: 100%;
  }

  nav a {
    flex: 1;
    font-size: 0.92rem;
    min-width: 0;
    padding: 9px 8px;
  }

  .section-shell {
    padding: 10px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
    padding: 22px;
  }

  .hero-photo {
    min-height: 240px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .metrics-grid,
  .built-list,
  .work-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card {
    flex-basis: 218px;
    height: 168px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel-track {
    animation: none;
  }
}


/* v7 refinements */
.site-header {
  padding-block: 10px;
}

nav a {
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  min-width: 118px;
  padding: 11px 20px;
}

.hero {
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.42fr);
  padding-top: 10px;
}

.hero-panel {
  min-height: 174px;
}

.hero-photo-card {
  background: rgba(255,255,255,0.82);
  display: grid;
  overflow: hidden;
}

.hero-portrait {
  height: 185px;
  object-fit: cover;
  object-position: center 34%;
  width: 100%;
}

.hero-bio {
  display: grid;
  gap: 7px;
  padding: 12px 14px 14px;
}

.hero-bio p {
  color: #304139;
  font-size: 0.76rem;
  line-height: 1.38;
  margin: 0;
}

.hero-bio .bio-thread {
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.3;
}

.dashboard-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding-bottom: 6px;
}

.metrics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
  min-height: 76px;
  padding: 11px 13px;
}

.entity-strip {
  align-items: center;
  background: linear-gradient(135deg, var(--forest), var(--evergreen));
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px;
}

.entity-strip h2 {
  color: #fff;
  font-size: clamp(1.02rem, 1.4vw, 1.42rem);
  margin: 0;
  white-space: nowrap;
}

.entity-logo-list {
  align-items: center;
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.entity-logo-list a {
  align-items: center;
  background: #fffdf8;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 10px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.entity-logo-list a:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.entity-logo-list img {
  height: 30px;
  max-width: 200px;
  object-fit: contain;
  width: auto;
}

.metric-visual-card {
  padding: 14px;
}

.metric-visual-card h2 {
  margin-bottom: 10px;
}

.logic-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logic-metric {
  background: rgba(15,42,33,0.045);
  border: 1px solid rgba(15,42,33,0.08);
  border-radius: 13px;
  display: grid;
  gap: 6px;
  padding: 11px;
}

.logic-metric span {
  color: #4b5b52;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.logic-metric strong {
  color: var(--forest);
  font-size: clamp(1.05rem, 1.6vw, 1.48rem);
  letter-spacing: -0.04em;
  line-height: .95;
}

.logic-metric i {
  background: rgba(15,42,33,0.12);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.logic-metric i::after {
  background: linear-gradient(90deg, var(--forest), var(--evergreen), var(--moss));
  border-radius: inherit;
  content: "";
  display: block;
  height: 100%;
  width: var(--value);
}

.logic-metric small {
  color: #526258;
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1.25;
}

.built-section {
  gap: 8px;
  padding-top: 2px;
}

.built-heading h2 {
  font-size: clamp(1.22rem, 1.7vw, 1.85rem);
}

.built-list {
  gap: 8px;
}

.built-card {
  border-radius: 13px;
}

.built-media {
  aspect-ratio: 16 / 6.4;
}

.built-copy {
  padding: 8px 10px 9px;
}

.built-copy h3 {
  font-size: 0.9rem;
}

.built-copy .text-link,
.built-copy .eyebrow {
  font-size: 0.56rem;
}

.carousel-section {
  display: grid;
  gap: 6px;
  grid-template-columns: 1fr;
  padding-top: 6px;
}

.carousel-heading p {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.carousel-window {
  padding: 8px;
  width: 100%;
}

.carousel-track {
  animation-duration: 70s;
  gap: 9px;
}

.carousel-card {
  flex-basis: 255px;
  height: 192px;
}

.person-card img {
  object-fit: cover;
  object-position: center;
}

.person-card img[src*="brick-home"] {
  object-position: center 37%;
}

.person-card img[src*="subway-motion"] {
  object-position: center 42%;
}

.person-card img[src*="portrait-city"] {
  object-position: center 22%;
}

.person-card img[src*="conference-display"] {
  object-position: center 40%;
}

.split-intro {
  padding-top: 6px;
}

.proof-copy h2 {
  line-height: 1.02;
}

.contact-list .linkedin-button {
  align-items: center;
  background: var(--forest);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 950;
  justify-content: center;
  margin-top: 2px;
  padding: 10px 16px;
  text-decoration: none;
  width: fit-content;
}

.contact-list .linkedin-button:hover {
  background: #1d4a38;
}

.resume-body {
  background: linear-gradient(135deg, #f8faf6, #edf2ec);
}

.resume-main {
  overflow: visible;
}

.resume-shell {
  background: rgba(255,255,255,.9);
  margin: 24px auto 42px;
  max-width: 980px;
  padding: clamp(22px, 4vw, 48px);
}

.resume-top {
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.resume-top h1 {
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  margin-bottom: 8px;
  max-width: none;
}

.resume-top p,
.resume-section p {
  color: #34443c;
  line-height: 1.5;
}

.resume-section {
  border-bottom: 1px solid rgba(15,42,33,.08);
  padding: 18px 0;
}

.resume-section:last-child {
  border-bottom: 0;
}

.resume-section h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-tags span {
  background: rgba(15,42,33,.07);
  border: 1px solid rgba(15,42,33,.1);
  border-radius: 999px;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.resume-role {
  border-top: 1px solid rgba(15,42,33,.08);
  padding: 15px 0;
}

.resume-role:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.resume-role h3,
.resume-education h3 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.resume-role p,
.resume-education p {
  color: var(--moss);
  font-size: .82rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.resume-role li {
  font-size: .86rem;
}

@media (max-width: 1020px) {
  .hero,
  .dashboard-grid,
  .carousel-section,
  .split-intro,
  .proof-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .entity-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .entity-logo-list {
    justify-content: flex-start;
  }

  .logic-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .metrics-grid,
  .logic-metrics,
  .built-list,
  .work-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    height: 240px;
  }

  .carousel-card {
    flex-basis: 232px;
    height: 176px;
  }

  .entity-logo-list img {
    max-width: 178px;
  }
}


/* v8 updates */
.hero-dashboard {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
  padding-top: 10px;
}

.hero-left-stack {
  display: grid;
  gap: 12px;
}

.hero-title-compact {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 0.97;
  max-width: 720px;
}

.metrics-grid-compact {
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrics-grid-compact .metric {
  min-height: 92px;
  padding: 12px 14px;
}

.metrics-grid-compact .metric strong {
  font-size: clamp(1.65rem, 2.2vw, 2.15rem);
  margin-bottom: 6px;
}

.metrics-grid-compact .metric span {
  font-size: 0.76rem;
  line-height: 1.18;
}

.hero-photo-card {
  align-self: start;
  margin-top: 10px;
}

.hero-portrait-wrap {
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(237,242,236,.92));
  display: flex;
  justify-content: center;
  padding: 14px 14px 0;
}

.hero-portrait {
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  height: 210px;
  object-fit: contain;
  object-position: center top;
  width: 100%;
}

.hero-bio-shifted {
  padding-top: 14px;
}

.hero-bio p {
  font-size: 0.82rem;
  line-height: 1.4;
}

.bio-thread {
  margin-top: 2px;
}

.institution-section-shell {
  display: grid;
  gap: 10px;
  padding-top: 0;
}

.interactive-entity {
  align-items: stretch;
  gap: 18px;
  overflow: hidden;
  padding: 14px 16px;
  transition: transform 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.interactive-entity .entity-strip-copy {
  min-width: 240px;
}

.interactive-entity .entity-logo-list {
  gap: 10px;
  justify-content: flex-start;
}

.interactive-entity .entity-logo-list a {
  min-height: 48px;
  padding: 9px 14px;
}

.interactive-entity .entity-logo-list img {
  height: 34px;
  max-width: 190px;
}

.interactive-entity.is-active,
.interactive-entity:hover {
  box-shadow: 0 20px 50px rgba(6, 22, 17, 0.32), inset 0 0 0 1px rgba(215,239,79,0.12);
  padding: 18px 18px;
  transform: translateY(-2px) scale(1.01);
}

.interactive-entity.is-active .entity-logo-list a,
.interactive-entity:hover .entity-logo-list a {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  transform: translateY(-1px) scale(1.03);
}

.interactive-entity.is-active .entity-logo-list img,
.interactive-entity:hover .entity-logo-list img {
  height: 38px;
}

.logic-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.built-copy h3 {
  font-size: clamp(1.02rem, 1.5vw, 1.28rem);
}

.built-button {
  align-items: center;
  background: var(--forest);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 950;
  justify-content: center;
  margin-top: 10px;
  min-height: 32px;
  padding: 7px 12px;
  text-decoration: none;
  width: fit-content;
}

.built-card:hover .built-button {
  background: #1d4a38;
}

.carousel-track {
  animation-duration: 60s;
}

.split-intro {
  display: none;
}

.resume-top h1 {
  font-size: clamp(1.7rem, 3.8vw, 3rem);
}

.resume-section ul {
  margin-top: 8px;
}

.resume-section li {
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .metrics-grid-compact,
  .logic-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interactive-entity {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .metrics-grid-compact,
  .logic-metrics {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    height: 240px;
  }

  .interactive-entity .entity-logo-list a {
    width: 100%;
    justify-content: center;
  }
}


/* v9 image visibility updates */
.featured-card {
  flex-basis: 340px;
  height: 214px;
}

.featured-subway img {
  object-fit: cover;
  object-position: center 32%;
}

.featured-subway .carousel-caption {
  padding-top: 54px;
}

.resume-top-grid {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 180px;
}

.resume-top-copy p {
  margin-bottom: 0;
}

.resume-top-photo {
  background: rgba(15,42,33,.04);
  border: 1px solid rgba(15,42,33,.08);
  border-radius: 16px;
  overflow: hidden;
}

.resume-top-photo img {
  aspect-ratio: 1 / 1;
  display: block;
  height: auto;
  object-fit: cover;
  object-position: center 25%;
  width: 100%;
}

@media (max-width: 720px) {
  .featured-card {
    flex-basis: 280px;
    height: 190px;
  }

  .resume-top-grid {
    grid-template-columns: 1fr;
  }

  .resume-top-photo {
    max-width: 220px;
  }
}


/* v10 bio and hover refinements */
.hero-bio-button-wrap {
  background: rgba(255, 255, 255, 0.82);
  display: flex;
  justify-content: flex-start;
  padding: 12px 14px 0;
}

.bio-page-button {
  font-size: 0.84rem;
  min-height: 34px;
  padding: 7px 15px;
  width: fit-content;
}

.interactive-entity.is-active,
.interactive-entity:hover {
  box-shadow: 0 30px 78px rgba(6, 22, 17, 0.38), inset 0 0 0 1px rgba(215, 239, 79, 0.22);
  padding: 28px 24px;
  transform: translateY(-6px) scale(1.045);
}

.interactive-entity.is-active .entity-logo-list,
.interactive-entity:hover .entity-logo-list {
  gap: 16px;
}

.interactive-entity.is-active .entity-logo-list a,
.interactive-entity:hover .entity-logo-list a {
  min-height: 72px;
  padding: 15px 22px;
  transform: translateY(-2px) scale(1.08);
}

.interactive-entity.is-active .entity-logo-list img,
.interactive-entity:hover .entity-logo-list img {
  height: 52px;
  max-width: 260px;
}

.resume-top h1 {
  font-size: clamp(1.25rem, 2.35vw, 2rem) !important;
  line-height: 1.06;
}

.bio-body {
  background: linear-gradient(135deg, #f8faf6, #edf2ec);
}

.bio-main {
  overflow: visible;
}

.bio-shell {
  background: rgba(255, 255, 255, 0.9);
  margin: 24px auto 42px;
  max-width: 980px;
  padding: clamp(22px, 4vw, 44px);
}

.bio-top-grid {
  align-items: start;
  display: grid;
  gap: clamp(18px, 3vw, 34px);
  grid-template-columns: 260px minmax(0, 1fr);
}

.bio-page-photo {
  background: rgba(15, 42, 33, 0.04);
  border: 1px solid rgba(15, 42, 33, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.bio-page-photo img {
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center 25%;
  width: 100%;
}

.bio-copy h1 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  margin-bottom: 12px;
  max-width: none;
}

.bio-copy p {
  color: #304139;
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.54;
  margin-bottom: 12px;
}

.education-logo-row {
  border-top: 1px solid rgba(15, 42, 33, 0.09);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
}

.education-logo-row img {
  background: #ffffff;
  border: 1px solid rgba(15, 42, 33, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(12, 21, 17, 0.08);
  height: 74px;
  object-fit: contain;
  padding: 8px 12px;
  width: auto;
}

@media (max-width: 720px) {
  .bio-top-grid {
    grid-template-columns: 1fr;
  }

  .bio-page-photo {
    max-width: 260px;
  }

  .education-logo-row img {
    height: auto;
    max-width: 100%;
    width: 100%;
  }

  .interactive-entity.is-active,
  .interactive-entity:hover {
    transform: translateY(-3px) scale(1.01);
  }
}


/* v11 bio-home cleanup and smoother institution expansion */
.hero-dashboard {
  align-items: start;
  gap: 10px;
  padding-bottom: 4px;
}

.hero-photo-card {
  margin-top: 0;
}

.hero-bio-button-wrap {
  justify-content: center;
  padding: 14px;
}

.bio-page-button {
  background: rgba(255,255,255,0.72);
  border-color: var(--forest);
  color: var(--forest);
  min-width: 150px;
}

.institution-section-shell {
  margin-top: -4px;
  padding-top: 0;
}

.interactive-entity {
  max-height: 148px;
  transition:
    max-height 420ms cubic-bezier(.2,.8,.2,1),
    padding 320ms ease,
    box-shadow 320ms ease,
    background 320ms ease;
  will-change: max-height, padding;
}

.interactive-entity .entity-logo-list {
  align-content: flex-start;
  max-height: 74px;
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(.2,.8,.2,1), gap 320ms ease;
}

.interactive-entity .entity-logo-list a {
  transition: min-height 320ms ease, padding 320ms ease, transform 320ms ease, box-shadow 320ms ease;
}

.interactive-entity.is-active,
.interactive-entity:hover {
  max-height: 360px;
  padding: 30px 26px;
  transform: translateY(-2px);
}

.interactive-entity.is-active .entity-logo-list,
.interactive-entity:hover .entity-logo-list {
  max-height: 245px;
}

.interactive-entity.is-active .entity-logo-list a,
.interactive-entity:hover .entity-logo-list a {
  min-height: 78px;
  padding: 17px 24px;
  transform: translateY(-1px);
}

.interactive-entity.is-active .entity-logo-list img,
.interactive-entity:hover .entity-logo-list img {
  height: 56px;
  max-width: 280px;
}

.education-logo-row {
  align-items: center;
  gap: 16px;
}

.education-logo-row img {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 70px;
  max-width: min(100%, 470px);
  object-fit: contain;
  padding: 0;
}

.education-logo-row img[src*="fitchburg"] {
  height: 62px;
}

@media (max-width: 1100px) {
  .interactive-entity {
    max-height: 250px;
  }

  .interactive-entity.is-active,
  .interactive-entity:hover {
    max-height: 520px;
  }

  .interactive-entity .entity-logo-list,
  .interactive-entity.is-active .entity-logo-list,
  .interactive-entity:hover .entity-logo-list {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .education-logo-row img,
  .education-logo-row img[src*="fitchburg"] {
    height: auto;
    width: 100%;
  }
}


/* v12 institution-facing section redesign */
.institution-section-shell {
  gap: 12px;
  padding-top: 8px;
}

.institution-wall {
  --institution-glow: rgba(215, 239, 79, 0.22);
  background:
    radial-gradient(circle at 8% 0%, rgba(215, 239, 79, 0.15), transparent 32%),
    radial-gradient(circle at 96% 18%, rgba(185, 200, 173, 0.16), transparent 30%),
    linear-gradient(135deg, #061812 0%, #0a2f25 48%, #123f32 100%);
  border: 1px solid rgba(215, 239, 79, 0.18);
  color: #ffffff;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(230px, 0.32fr) minmax(0, 1fr);
  isolation: isolate;
  overflow: visible;
  padding: clamp(18px, 2.4vw, 28px);
  position: relative;
  transform: translateY(0) scale(1);
  transition:
    box-shadow 360ms cubic-bezier(.2,.8,.2,1),
    transform 360ms cubic-bezier(.2,.8,.2,1),
    border-color 360ms ease,
    background 360ms ease;
}

.institution-wall::before {
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.18), transparent);
  content: "";
  inset: -40% auto -40% -32%;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  transform: rotate(8deg);
  transition: left 520ms cubic-bezier(.2,.8,.2,1), opacity 360ms ease;
  width: 42%;
  z-index: -1;
}

.institution-wall:hover,
.institution-wall:focus-within {
  border-color: rgba(215, 239, 79, 0.36);
  box-shadow:
    0 22px 70px rgba(6, 24, 18, 0.35),
    0 0 0 1px rgba(215, 239, 79, 0.08) inset,
    0 0 42px rgba(215, 239, 79, 0.08);
  transform: translateY(-2px) scale(1.006);
}

.institution-wall:hover::before,
.institution-wall:focus-within::before {
  left: 92%;
  opacity: 0.66;
}

.institution-wall-copy {
  align-self: center;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.institution-wall-copy .eyebrow {
  color: var(--signal);
  margin: 0;
}

.institution-wall-copy h2 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.1vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
}

.institution-wall-copy p:not(.eyebrow) {
  color: rgba(244, 250, 240, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 0;
  max-width: 340px;
}

.institution-logo-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.institution-tile {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 244, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.74) inset;
  display: flex;
  justify-content: center;
  min-height: 82px;
  overflow: hidden;
  padding: 14px 16px;
  position: relative;
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    min-height 260ms ease,
    background 260ms ease;
}

.institution-tile::after {
  background: linear-gradient(90deg, transparent, rgba(215, 239, 79, 0.18), transparent);
  content: "";
  inset: auto 16px 8px 16px;
  height: 3px;
  opacity: 0;
  position: absolute;
  transition: opacity 260ms ease;
}

.institution-tile img {
  display: block;
  filter: contrast(1.08) saturate(1.04);
  height: auto;
  max-height: 50px;
  max-width: 92%;
  object-fit: contain;
  transition: max-height 260ms ease, transform 260ms ease;
  width: auto;
}

.institution-tile.priority {
  min-height: 92px;
}

.institution-tile.priority img {
  max-height: 60px;
}

.institution-tile.wide {
  grid-column: span 2;
}

.institution-wall:hover .institution-tile,
.institution-wall:focus-within .institution-tile {
  min-height: 96px;
}

.institution-wall:hover .institution-tile.priority,
.institution-wall:focus-within .institution-tile.priority {
  min-height: 108px;
}

.institution-tile:hover,
.institution-tile:focus-visible {
  border-color: rgba(215, 239, 79, 0.72);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(215, 239, 79, 0.2) inset;
  transform: translateY(-5px) scale(1.025);
}

.institution-tile:hover::after,
.institution-tile:focus-visible::after {
  opacity: 1;
}

.institution-tile:hover img,
.institution-tile:focus-visible img {
  max-height: 66px;
  transform: scale(1.035);
}

.metric-visual-card {
  margin-top: 0;
}

@media (max-width: 1020px) {
  .institution-wall {
    grid-template-columns: 1fr;
  }

  .institution-wall-copy p:not(.eyebrow) {
    max-width: 720px;
  }

  .institution-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .institution-wall {
    border-radius: 20px;
    padding: 18px;
  }

  .institution-logo-grid {
    grid-template-columns: 1fr;
  }

  .institution-tile,
  .institution-tile.priority,
  .institution-wall:hover .institution-tile,
  .institution-wall:focus-within .institution-tile,
  .institution-wall:hover .institution-tile.priority,
  .institution-wall:focus-within .institution-tile.priority {
    min-height: 88px;
  }

  .institution-tile.wide {
    grid-column: auto;
  }
}


/* v13 institution logo additions and bio copy update */
.institution-logo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.institution-tile.partner-tile {
  background: #ffffff;
  min-height: 92px;
}

.institution-tile.partner-tile img {
  max-height: 64px;
  max-width: 96%;
}

.institution-tile.partner-tile.wide img {
  max-height: 54px;
}

.institution-tile[href*="creativehub"] img {
  max-height: 78px;
}

.institution-tile[href*="visionsinternships"] img {
  max-height: 46px;
}

.institution-wall:hover .institution-tile[href*="creativehub"] img,
.institution-wall:focus-within .institution-tile[href*="creativehub"] img {
  max-height: 88px;
}

.institution-wall:hover .institution-tile[href*="visionsinternships"] img,
.institution-wall:focus-within .institution-tile[href*="visionsinternships"] img {
  max-height: 58px;
}

.bio-copy p {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.56;
}

@media (max-width: 1180px) {
  .institution-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .institution-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .institution-logo-grid {
    grid-template-columns: 1fr;
  }
}

/* v14 bio copy and carousel cleanup */


/* v15: social thumbnail and simplified homepage sections. */
