.hero {
  min-height: 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 105px;
  padding-bottom: 60px;
}

.hero-copy {
  max-width: 1040px;
}

.hero h1 {
  max-width: 1040px;
  font-size: clamp(4rem, 6.4vw, 6.6rem);
}

.hero-title-line {
  display: block;
}

.hero h1 em {
  display: inline;
}

.hero-lede {
  max-width: 760px;
}

.intro-section .approach-model {
  width: 100%;
  margin-top: 70px;
  padding: 30px;
}

.approach-model .model-core {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.approach-model .model-node {
  min-height: 150px;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}

.approach-model .model-node:not(:last-child)::after {
  content: none;
}

@media (max-width: 900px) {
  .approach-model .model-core {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 75px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 12vw, 5.5rem);
  }

  .hero-title-line {
    display: inline;
  }

  .intro-section .approach-model {
    margin-top: 44px;
    padding: 20px;
  }

  .approach-model .model-top {
    font-size: .75rem;
  }

  .approach-model .model-top span:last-child {
    white-space: nowrap;
  }

  .approach-model .model-core {
    grid-template-columns: 1fr;
  }

  .approach-model .model-node {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
}

/* Work, leadership and editorial detail pages */
.team-section{background:#f5f3f2}.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.team-card{display:block;text-decoration:none;background:#fff;border:1px solid #96A1B6;overflow:hidden;transition:transform .2s,border-color .2s}.team-card:hover{transform:translateY(-5px);border-color:var(--navy)}.team-card img{width:100%;aspect-ratio:1/1;object-fit:cover;background:#ddd}.team-card>div{padding:22px}.team-card>div>span{font-size:.73rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--navy)}.team-card h3{font:400 2rem/1.05 var(--serif);margin:12px 0}.team-card p{min-height:72px;color:#454545;font-size:.92rem}.team-card strong{font-size:.84rem;border-bottom:1px solid;padding-bottom:4px}.associate-note{display:grid;grid-template-columns:1fr 1.5fr;gap:7vw;align-items:center;border-top:1px solid #96A1B6;margin-top:68px;padding-top:34px}.associate-note h3{font:400 clamp(2rem,3vw,3rem)/1.1 var(--serif);margin:8px 0 0}.associate-note>p{max-width:720px;font-size:1.13rem;margin:0}
@media(max-width:1000px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-card p{min-height:0}}@media(max-width:620px){.team-grid{grid-template-columns:1fr}.team-card{display:grid;grid-template-columns:38% 62%}.team-card img{height:100%}.team-card>div{padding:18px}.team-card h3{font-size:1.65rem}.team-card p{font-size:.85rem}.associate-note{grid-template-columns:1fr;gap:18px;margin-top:48px}}

/* Align the approach label with its heading. */
.intro-grid > .eyebrow { margin-top: 8px; }
@media (max-width: 760px) { .intro-grid > .eyebrow { margin-top: 0; } }

/* Keep anchored section headings clear of the sticky navigation. */
html { scroll-padding-top: 76px; }
@media (max-width: 760px) { html { scroll-padding-top: 68px; } }

/* Keep service card titles aligned despite the smaller arrow symbol. */
.service-card .symbol-d { width: 69px; height: 69px; margin-left: 0; border: 0; transform: none; }
.service-card .symbol-d::before { content: ""; position: absolute; width: 55px; height: 55px; top: 7px; left: 0; border-top: 2px solid var(--coral); border-right: 2px solid var(--coral); transform: rotate(45deg); }

/* Give the tab heading a clear gap beneath the divider. */
.pathway-panel [role="tabpanel"] { padding-top: 24px; }
.pathway-panel h3 { margin-top: 0; }

/* Cogworx Design System 1.2.3: humans-in-the-loop approach feature. */
.human-loop-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 2.75fr);
  gap: 5vw;
  align-items: start;
  margin-top: 64px;
  padding: clamp(24px, 4vw, 56px);
  color: #FFFFFF;
  background: #000000;
}
.human-loop-feature img { width: 100%; height: auto; justify-self: start; }
.human-loop-copy { min-width: 0; max-width: 640px; font-family: Aptos, Arial, sans-serif; }
.human-loop-copy h3 {
  color: #FFFFFF;
  font: 400 clamp(2rem, 3vw, 3rem)/1.1 Georgia, serif;
  margin: 0 0 24px;
}
.human-loop-copy p { font-size: 1.125rem; line-height: 1.6; color: #FFFFFF; }
.human-loop-copy strong { color: #BDB6DF; }
.human-loop-copy p:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .human-loop-feature { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .human-loop-feature img { width: min(93.75%, 350px); }
}

/* Keep section introductions beneath their headings. */
#services .section-heading, #work .section-heading { display: block; }
.section-heading .section-introduction {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: 1.15rem;
  color: #000000;
}

/* Keep leadership and contact content on the left. */
#team .section-heading { display: block; }
.contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.contact-grid .contact-details { max-width: 640px; }
.contact-grid .contact-details > p { margin-top: 0; }

/* Align associate copy with its heading, below the eyebrow. */
.associate-note { align-items: start; }
.associate-note > div { display: contents; }
.associate-note > div > .eyebrow { grid-column: 1 / -1; margin: 0; }
.associate-note h3 { grid-column: 1; margin: 0; }
.associate-note > p { grid-column: 2; }
.associate-note { row-gap: 16px; }
@media (max-width: 620px) {
  .associate-note > p { grid-column: 1; }
}
