/* Team feedback refinement - 2026-07-29
 *
 * Keeps the approved narrative intact while improving first-scan clarity,
 * reducing unnecessary vertical drag, and giving the Team page a real
 * human presence.
 */

/* Homepage: make the intended audience unmistakable on the first scan. */
.page-main--home .hero .hero-audience {
  display: grid;
  gap: 0.32rem;
  margin-bottom: 1.1rem;
  color: var(--polish-ink);
}

.page-main--home .hero .hero-audience::before {
  display: none;
}

.hero-audience > span {
  color: var(--polish-ink);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.hero-audience > small {
  color: var(--polish-muted);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The page remains chaptered, but no longer spends the same large interval
 * between every thought. */
.page-main--home .problem-field {
  padding-top: clamp(5.75rem, 8vw, 8.5rem);
  padding-bottom: clamp(6.25rem, 9vw, 9.25rem);
}

.page-main--home .smb-focus,
.page-main--home .smb-starting-points {
  padding-top: clamp(6rem, 9vw, 9.5rem);
  padding-bottom: clamp(6rem, 9vw, 9.5rem);
}

.page-main--home .smb-focus + .band .section,
.page-main--home #featured-work .section,
.page-main--home #why-plumfind .section,
.page-main--home #faq {
  padding-top: clamp(5.75rem, 8vw, 8.75rem);
  padding-bottom: clamp(5.75rem, 8vw, 8.75rem);
}

.page-main--home #faq .section-heading {
  margin-bottom: clamp(2.75rem, 4vw, 4.25rem);
}

/* FAQ: the first useful answer is visible immediately, while labels let a
 * visitor find the type of reassurance they need without opening every row. */
.faq-item summary {
  align-items: flex-start;
}

.faq-item summary > span:first-child {
  display: grid;
  gap: 0.42rem;
}

.faq-category {
  color: var(--polish-plum);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.faq-question {
  color: var(--polish-ink);
}

.faq-item[open] {
  background: rgba(181, 82, 158, 0.035);
}

.faq-follow-up {
  margin: 2.2rem 0 0;
  color: var(--polish-muted);
  font-size: 0.94rem;
}

.faq-follow-up .text-link {
  margin-left: 0.25rem;
  color: var(--polish-ink);
  font-weight: 700;
}

/* Work: preserve the editorial alternation, with more projects visible in a
 * normal viewing session. */
.page-main--work .work-hero-inner {
  min-height: 570px;
  padding-top: 92px;
  padding-bottom: 78px;
}

.page-main--work .work-introduction {
  padding-top: clamp(5.75rem, 8vw, 7.75rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.page-main--work .work-featured {
  padding-bottom: clamp(6.5rem, 9vw, 9.5rem);
}

.page-main--work .work-featured-heading {
  margin-bottom: clamp(3.25rem, 5vw, 4.5rem);
}

.page-main--work .work-featured-list {
  gap: clamp(5.25rem, 8vw, 8.5rem);
}

.page-main--work .work-feature {
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.page-main--work .work-feature-media,
.page-main--work .work-feature-media img {
  min-height: 420px;
}

.page-main--work .work-feature-copy h3 {
  margin-bottom: 1.7rem;
}

.work-feature-copy h3 a {
  color: inherit;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.work-feature-copy h3 a:hover,
.work-feature-copy h3 a:focus-visible {
  color: var(--case-plum);
  text-decoration: underline;
}

.page-main--work .work-feature-copy dl {
  margin-bottom: 1.7rem;
}

/* Case studies: all the evidence remains, but each chapter is tuned for a
 * shorter, more legible consultation read. */
.case-study-hero-inner {
  min-height: min(600px, 70vh);
  padding-top: 84px;
  padding-bottom: 70px;
}

.case-media {
  margin-top: clamp(2.75rem, 5vw, 4.75rem);
}

.case-media img {
  height: min(46vw, 560px);
}

.case-pull,
.case-pull.theme-reading-room,
.case-pull.theme-lexa,
.case-pull.theme-fashion {
  min-height: 430px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.case-research-module {
  padding-top: clamp(5.25rem, 8vw, 7.5rem);
  padding-bottom: clamp(5.25rem, 8vw, 7.5rem);
}

.case-research-module.theme-video {
  padding-top: clamp(5.25rem, 8vw, 7.5rem);
  padding-bottom: clamp(5.25rem, 8vw, 7.5rem);
}

.case-research-module.theme-fashion,
.case-research-module.theme-tcbn {
  padding-top: clamp(4.75rem, 7vw, 6.75rem);
  padding-bottom: clamp(4.75rem, 7vw, 6.75rem);
}

.case-timeline-section {
  padding-top: clamp(5.25rem, 8vw, 7.5rem);
  padding-bottom: clamp(5.25rem, 8vw, 7.5rem);
}

.case-timeline-heading {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.case-timeline li {
  min-height: 200px;
}

.case-timeline li > span {
  margin-bottom: 2.5rem;
}

.case-overview {
  padding-top: clamp(5.75rem, 8vw, 7.75rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.case-challenge,
.case-challenge.theme-video {
  padding-top: clamp(5.75rem, 8vw, 7.75rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.case-solution,
.case-solution.theme-wallpaper,
.case-architecture,
.case-architecture.theme-video,
.case-implementation,
.case-implementation.theme-video {
  padding-top: clamp(6rem, 8vw, 8rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.case-solution-list li,
.case-implementation-stages article {
  min-height: 220px;
}

.case-solution-list h3,
.case-implementation-stages h3 {
  margin-top: 2.6rem;
}

.case-architecture-visual {
  min-height: 360px;
}

.architecture-flow {
  min-height: 298px;
  gap: 42px 34px;
}

.case-results-inner {
  padding-top: clamp(6rem, 8vw, 8rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.case-results-heading {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.case-lessons {
  margin-top: clamp(4rem, 6vw, 5.75rem);
}

.case-technologies,
.case-technologies.theme-video {
  padding-top: clamp(6rem, 8vw, 8rem);
  padding-bottom: clamp(6rem, 8vw, 8rem);
}

.case-related-inner {
  padding-top: clamp(5.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(5.5rem, 8vw, 7.5rem);
}

/* Team: use the supplied leadership photography as evidence of a real,
 * accessible team rather than decorative profile cards. */
.team-section {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(6.5rem, 10vw, 10rem) 0;
}

.team-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(260px, 0.52fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: end;
  margin-bottom: clamp(3.25rem, 5vw, 5.5rem);
}

.team-section-heading h2 {
  max-width: 680px;
  margin: 0;
  color: var(--polish-ink);
  font-size: clamp(3.15rem, 5vw, 5.25rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.92;
}

.team-section-heading h2 em {
  color: var(--polish-plum);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.team-section-heading > p:not(.section-label) {
  max-width: 390px;
  margin: 0;
  color: var(--polish-muted);
  font-size: 1rem;
  line-height: 1.56;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--polish-line);
}

.team-member {
  min-width: 0;
  padding: 1.25rem 1.15rem 0;
  border-bottom: 1px solid var(--polish-line);
}

.team-member + .team-member {
  border-left: 1px solid var(--polish-line);
}

.team-member figure {
  aspect-ratio: 0.78;
  margin: 0 0 1.2rem;
  overflow: hidden;
  background: #e8e6e1;
}

.team-member img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82) contrast(1.02);
  transition: filter 420ms ease, transform 600ms var(--polish-ease);
}

.team-member:hover img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.team-member > div {
  padding-bottom: 1.45rem;
}

.team-member p {
  margin: 0 0 0.48rem;
  color: var(--polish-plum);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.team-member h3 {
  margin: 0;
  color: var(--polish-ink);
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.06;
}

/* Conversion: keep the discovery path quiet and editorial, but make it real. */
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-panel input:focus-visible,
.form-panel select:focus-visible,
.form-panel textarea:focus-visible {
  outline: 2px solid var(--polish-plum);
  outline-offset: 3px;
}

.form-note {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: var(--polish-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-success {
  align-self: start;
  padding: clamp(2.25rem, 4vw, 4rem);
  border: 1px solid rgba(181, 82, 158, 0.3);
  background: rgba(181, 82, 158, 0.045);
}

.form-success[hidden] {
  display: none;
}

.form-success h3 {
  max-width: 30rem;
  margin: 1.25rem 0 1rem;
  color: var(--polish-ink);
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
}

.form-success > p:not(.section-label) {
  max-width: 34rem;
  margin: 0 0 1.5rem;
  color: var(--polish-muted);
}

.quebec-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(3rem, 8vw, 9rem);
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: clamp(6.5rem, 10vw, 10.5rem) 0;
  border-top: 1px solid var(--polish-line);
}

.quebec-contact-intro {
  align-self: start;
  position: sticky;
  top: 8rem;
}

.quebec-contact-intro h2 {
  max-width: 590px;
  margin: 1.15rem 0 1.5rem;
  color: var(--polish-ink);
  font-size: clamp(3.15rem, 5.2vw, 5.8rem);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 0.91;
}

.quebec-contact-intro h2 em {
  color: var(--polish-plum);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.quebec-contact-intro > p:not(.section-label) {
  max-width: 34rem;
  margin: 0;
  color: var(--polish-muted);
  font-size: 1.04rem;
  line-height: 1.58;
}

@media (max-width: 900px) {
  .team-section-heading {
    grid-template-columns: 1fr;
  }

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

  .team-member:nth-child(odd) {
    border-left: 0;
  }

  .team-member:nth-child(3) {
    border-left: 0;
  }

  .quebec-contact {
    grid-template-columns: 1fr;
  }

  .quebec-contact-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .page-main--home .problem-field,
  .page-main--home .smb-focus,
  .page-main--home .smb-starting-points,
  .page-main--home .smb-focus + .band .section,
  .page-main--home #featured-work .section,
  .page-main--home #why-plumfind .section,
  .page-main--home #faq {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .page-main--work .work-hero-inner {
    min-height: 0;
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .page-main--work .work-featured-list {
    gap: 4.75rem;
  }

  .page-main--work .work-feature-media,
  .page-main--work .work-feature-media img {
    min-height: 320px;
  }

  .case-study-hero-inner {
    min-height: 0;
    padding-top: 5.5rem;
    padding-bottom: 4.75rem;
  }

  .case-media img {
    height: 64vw;
  }

  .case-pull,
  .case-pull.theme-reading-room,
  .case-pull.theme-lexa,
  .case-pull.theme-fashion {
    min-height: 330px;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .case-research-module,
  .case-research-module.theme-video,
  .case-research-module.theme-fashion,
  .case-research-module.theme-tcbn,
  .case-timeline-section,
  .case-overview,
  .case-challenge,
  .case-challenge.theme-video,
  .case-solution,
  .case-solution.theme-wallpaper,
  .case-architecture,
  .case-architecture.theme-video,
  .case-implementation,
  .case-implementation.theme-video,
  .case-results-inner,
  .case-technologies,
  .case-technologies.theme-video,
  .case-related-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .team-section {
    width: min(calc(100% - 32px), 1180px);
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .team-section-heading {
    margin-bottom: 3rem;
  }

  .team-section-heading h2 {
    font-size: clamp(2.7rem, 11vw, 3.75rem);
  }

  .team-member {
    padding: 0.85rem 0.75rem 0;
  }

  .team-member h3 {
    font-size: 1.04rem;
  }

  .quebec-contact {
    width: min(calc(100% - 32px), 1180px);
    gap: 2.75rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .quebec-contact-intro h2 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-feature-copy h3 a,
  .team-member img {
    transition: none;
  }
}
