/* Community member demos — directory, profiles and individual mini LPs. */

.page-community-members {
  --member-navy: #0b1a2a;
  --member-blue: #17364a;
  --member-sage: #819a8d;
  --member-coral: #d96f45;
  --member-sand: #eee5d6;
  --member-paper: #fffdf8;
}

.demo-notice {
  margin-top: var(--header-height);
  color: var(--paper);
  background: #b44725;
}

.page-community-members .breadcrumb {
  padding-top: 25px;
}

.demo-notice__inner {
  display: flex;
  min-height: 52px;
  padding: 10px 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.demo-notice strong {
  flex: 0 0 auto;
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.demo-notice p {
  color: #d5dae1;
  font-size: 0.68rem;
  line-height: 1.65;
}

.member-image-note {
  display: flex;
  min-height: 36px;
  padding: 7px 12px;
  align-items: center;
  justify-content: center;
  color: #d5dae1;
  background: var(--member-navy);
  font-family: var(--label);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Directory */
.members-hub-hero {
  position: relative;
  padding: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 22%, rgba(129, 154, 141, 0.2), transparent 28%),
    linear-gradient(135deg, #07121e, #132d41 72%, #173a47);
  overflow: hidden;
}

.members-hub-hero::before {
  position: absolute;
  inset: var(--header-height) 0 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.members-hub-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 730px;
  padding: clamp(70px, 8vw, 118px) 0 90px;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 0.92fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.members-hub-hero h1 {
  margin-top: 24px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.2vw, 6rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.068em;
}

.members-hub-hero h1 em {
  color: #ef936c;
  font-style: normal;
}

.members-hub-hero__lead {
  max-width: 660px;
  margin-top: 30px;
  color: #d5dae1;
  font-size: 0.98rem;
  line-height: 2.05;
}

.members-hub-hero__actions {
  display: flex;
  margin-top: 35px;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.members-hub-hero__collage {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.members-hub-hero__collage figure {
  position: relative;
  overflow: hidden;
  background: #d7d1c8;
}

.members-hub-hero__collage figure:first-child {
  grid-row: 1 / -1;
}

.members-hub-hero__collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.members-hub-hero__collage figure:first-child img {
  object-position: 54% center;
}

.members-hub-hero__collage figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 14px;
  color: var(--paper);
  background: linear-gradient(transparent, rgba(7, 18, 30, 0.92));
  font-family: var(--label);
  font-size: 0.52rem;
  letter-spacing: 0.06em;
}

.members-intro {
  display: grid;
  padding: clamp(105px, 12vw, 175px) 0;
  grid-template-columns: minmax(390px, 0.72fr) minmax(440px, 0.9fr);
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}

.members-intro__copy {
  padding-top: 15px;
}

.members-intro__copy p + p {
  margin-top: 24px;
}

.members-intro__copy strong {
  color: var(--coral);
}

.members-intro__diagram {
  display: grid;
  padding: clamp(34px, 5vw, 62px);
  gap: 18px;
  color: var(--paper);
  background: var(--member-navy);
}

.members-intro__diagram article {
  display: grid;
  min-height: 140px;
  padding: 25px;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.members-intro__diagram article + article {
  border-color: rgba(217, 111, 69, 0.55);
}

.members-intro__diagram span {
  color: var(--gold);
  font-family: var(--english);
  font-size: 2.6rem;
  font-style: italic;
}

.members-intro__diagram h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.members-intro__diagram p {
  margin-top: 8px;
  color: #d5dae1;
  font-size: 0.7rem;
}

.member-directory {
  padding: clamp(105px, 12vw, 180px) 0;
  background: var(--member-paper);
}

.member-directory__grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.member-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 70px rgba(9, 20, 33, 0.08);
}

.member-card__image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--member-sand);
}

.member-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.member-card__image:hover img {
  transform: scale(1.025);
}

.member-card__index {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--paper);
  background: rgba(9, 20, 33, 0.9);
  font-family: var(--english);
  font-size: 1.1rem;
  font-style: italic;
}

.member-card__body {
  display: flex;
  padding: clamp(28px, 3vw, 40px);
  flex: 1;
  flex-direction: column;
}

.member-card__role {
  color: var(--coral);
  font-family: var(--label);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.member-card h3 {
  margin-top: 13px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2rem);
  font-weight: 600;
}

.member-card__kana {
  margin-top: 4px;
  color: #475263;
  font-size: 0.63rem;
}

.member-card blockquote {
  margin-top: 25px;
  padding-left: 18px;
  border-left: 2px solid var(--member-sage);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
}

.member-card__body > p:not(.member-card__kana) {
  margin-top: 20px;
  color: #475263;
  font-size: 0.74rem;
}

.member-card__links {
  display: grid;
  margin-top: auto;
  padding-top: 28px;
  gap: 9px;
}

.member-card__links a {
  display: flex;
  min-height: 52px;
  padding: 0 15px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
}

.member-card__links a:last-child {
  color: var(--paper);
  background: var(--ink);
}

.members-page-pair {
  padding: clamp(105px, 12vw, 180px) 0;
  color: var(--paper);
  background: linear-gradient(145deg, var(--member-navy), #163547);
}

.members-page-pair h2 {
  color: var(--paper);
}

.members-page-pair .hub-section-heading > p:last-child {
  color: #d5dae1;
}

.members-page-pair__grid {
  display: grid;
  margin-top: 70px;
  grid-template-columns: 1fr 110px 1fr;
  align-items: center;
  gap: 30px;
}

.members-page-pair__grid article {
  min-height: 330px;
  padding: clamp(35px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.members-page-pair__grid small {
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
}

.members-page-pair__grid h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.5;
}

.members-page-pair__grid p {
  margin-top: 22px;
  color: #d5dae1;
}

.members-page-pair__arrow {
  color: var(--member-coral);
  font-family: var(--english);
  font-size: 2.2rem;
  text-align: center;
}

/* Profile pages */
.member-profile-hero {
  position: relative;
  padding: 0;
  color: var(--paper);
  background: linear-gradient(140deg, #08131f, #17384b);
  overflow: hidden;
}

.member-profile-hero::after {
  position: absolute;
  top: 15%;
  right: -9vw;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(217, 111, 69, 0.35);
  border-radius: 49% 51% 38% 62% / 54% 36% 64% 46%;
  content: "";
  transform: rotate(13deg);
}

.member-profile-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 760px;
  padding: clamp(65px, 8vw, 110px) 0 85px;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 0.66fr);
  align-items: center;
  gap: clamp(55px, 8vw, 125px);
}

.member-profile-hero__label {
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.member-profile-hero h1 {
  margin-top: 21px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.7vw, 6.25rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.068em;
}

.member-profile-hero__role {
  display: block;
  margin-top: 15px;
  color: #ef936c;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
}

.member-profile-hero blockquote {
  max-width: 690px;
  margin-top: 32px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.55rem);
  font-weight: 600;
  line-height: 1.65;
}

.member-profile-hero__lead {
  max-width: 690px;
  margin-top: 28px;
  color: #d5dae1;
  font-size: 0.88rem;
}

.member-profile-hero__photo {
  position: relative;
}

.member-profile-hero__photo::before {
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  content: "";
}

.member-profile-hero__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.33);
}

.member-profile-section {
  padding: clamp(105px, 12vw, 180px) 0;
}

.member-profile-section:nth-of-type(even) {
  background: var(--member-paper);
}

.member-profile-section__inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.58fr) minmax(520px, 1fr);
  align-items: start;
  gap: clamp(55px, 9vw, 145px);
}

.member-profile-section__number {
  color: var(--coral);
  font-family: var(--english);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-style: italic;
  line-height: 0.82;
}

.member-profile-section h2 {
  margin-top: 26px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.15rem, 4.3vw, 4.35rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.052em;
}

.member-profile-section__body > p + p {
  margin-top: 25px;
}

.member-profile-section__body > p {
  color: #475263;
}

.profile-service-map {
  display: grid;
  margin-top: 45px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.profile-service-map li {
  min-height: 130px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-weight: 600;
}

.profile-service-map span {
  display: block;
  margin-bottom: 12px;
  color: var(--member-sage);
  font-family: var(--label);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
}

.profile-storyline {
  display: grid;
  margin-top: 45px;
  gap: 0;
  border-top: 1px solid var(--line);
}

.profile-storyline li {
  display: grid;
  min-height: 110px;
  padding: 25px 0;
  grid-template-columns: 115px 1fr;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.profile-storyline span {
  color: var(--coral);
  font-family: var(--label);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
}

.profile-storyline strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.93rem;
}

.profile-fit {
  display: grid;
  margin-top: 45px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.profile-fit li {
  min-height: 160px;
  padding: 25px;
  list-style: none;
  color: var(--paper);
  background: var(--member-navy);
  font-size: 0.74rem;
}

.profile-fit li::before {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  content: "IDEAL FOR";
  font-family: var(--label);
  font-size: 0.51rem;
  letter-spacing: 0.12em;
}

.member-profile-cta {
  padding: clamp(90px, 11vw, 155px) 0;
  color: var(--paper);
  background: linear-gradient(135deg, var(--member-navy), #194052);
}

.member-profile-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}

.member-profile-cta h2,
.member-profile-cta h3 {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 4.25rem);
  font-weight: 600;
  line-height: 1.5;
}

.member-profile-cta p {
  max-width: 690px;
  margin-top: 23px;
  color: #d5dae1;
}

/* Mini LP pages */
.member-lp-hero {
  position: relative;
  padding: 0;
  background: var(--member-paper);
  overflow: hidden;
}

.member-lp-hero::before {
  position: absolute;
  top: calc(var(--header-height) + 60px);
  right: -10vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(129, 154, 141, 0.28);
  border-radius: 50%;
  content: "";
}

.member-lp-hero__inner {
  position: relative;
  display: grid;
  min-height: 760px;
  padding: clamp(65px, 8vw, 115px) 0 95px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.68fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);
}

.member-lp-hero__kicker {
  color: var(--coral);
  font-family: var(--label);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.member-lp-hero h1 {
  margin-top: 25px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.07em;
}

.member-lp-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.member-lp-hero__lead {
  max-width: 680px;
  margin-top: 28px;
  color: #475263;
  font-size: 0.94rem;
  line-height: 2;
}

.member-lp-hero__meta {
  display: flex;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 9px;
}

.member-lp-hero__meta span {
  display: inline-flex;
  min-height: 36px;
  padding: 7px 13px;
  align-items: center;
  border: 1px solid var(--line);
  color: #475263;
  background: #fff;
  font-size: 0.62rem;
}

.member-lp-hero__photo {
  position: relative;
  padding: 18px 18px 0 0;
}

.member-lp-hero__photo::before {
  position: absolute;
  inset: 0 0 18px 18px;
  background: var(--member-sage);
  content: "";
}

.member-lp-hero__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.member-lp-problems {
  padding: clamp(95px, 11vw, 155px) 0;
  color: var(--paper);
  background: var(--member-navy);
}

.member-lp-problems h2,
.member-lp-problems .hub-section-heading h2 {
  color: var(--paper);
}

.member-lp-problems__grid {
  display: grid;
  margin-top: 65px;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.member-lp-problems__grid li {
  min-height: 220px;
  padding: clamp(30px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  list-style: none;
  color: #d5dae1;
  font-family: var(--serif);
  font-size: 1rem;
}

.member-lp-problems__grid li::before {
  display: block;
  margin-bottom: 25px;
  color: var(--member-coral);
  content: "●";
  font-size: 0.6rem;
}

.member-lp-section {
  padding: clamp(105px, 12vw, 175px) 0;
}

.member-lp-section--paper {
  background: var(--member-paper);
}

.member-lp-section__split {
  display: grid;
  grid-template-columns: minmax(350px, 0.62fr) minmax(500px, 1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 145px);
}

.member-lp-section h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.052em;
}

.member-lp-section__body > p + p {
  margin-top: 25px;
}

.member-lp-section__body > p {
  color: #475263;
}

.member-offer-list {
  display: grid;
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.member-offer-list li {
  display: grid;
  min-height: 105px;
  padding: 23px 0;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.member-offer-list span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--member-sage);
  font-family: var(--label);
  font-size: 0.56rem;
}

.member-offer-list strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.member-process {
  display: grid;
  margin-top: 65px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.member-process li {
  min-height: 250px;
  padding: clamp(28px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.member-process span {
  color: var(--coral);
  font-family: var(--english);
  font-size: 2.4rem;
  font-style: italic;
}

.member-process h3 {
  margin-top: 25px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.member-process p {
  margin-top: 14px;
  color: #475263;
  font-size: 0.7rem;
}

.member-lp-fit {
  display: grid;
  margin-top: 65px;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.member-lp-fit article {
  padding: clamp(35px, 5vw, 60px);
  border: 1px solid var(--line);
  background: #fff;
}

.member-lp-fit article:last-child {
  color: var(--paper);
  background: var(--member-navy);
}

.member-lp-fit small {
  color: var(--coral);
  font-family: var(--label);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
}

.member-lp-fit h3 {
  margin-top: 15px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.member-lp-fit article:last-child h3 {
  color: var(--paper);
}

.member-lp-fit ul {
  display: grid;
  margin-top: 26px;
  gap: 12px;
  list-style: none;
  color: #475263;
  font-size: 0.73rem;
}

.member-lp-fit article:last-child ul {
  color: #d5dae1;
}

.member-lp-fit li {
  position: relative;
  padding-left: 18px;
}

.member-lp-fit li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--coral);
  content: "";
}

.member-lp-faq {
  max-width: 980px;
  margin: 60px auto 0;
  border-top: 1px solid var(--line);
}

.member-lp-faq details {
  border-bottom: 1px solid var(--line);
}

.member-lp-faq summary {
  display: flex;
  min-height: 86px;
  padding: 22px 8px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
}

.member-lp-faq summary::after {
  content: "+";
  color: var(--coral);
  font-family: var(--label);
}

.member-lp-faq details[open] summary::after {
  content: "−";
}

.member-lp-faq p {
  padding: 0 8px 28px;
  color: #475263;
  font-size: 0.75rem;
}

.demo-application {
  padding: clamp(95px, 11vw, 155px) 0;
  color: var(--paper);
  background: linear-gradient(135deg, #091421, #173c4b);
}

.demo-application__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.55fr);
  align-items: center;
  gap: clamp(55px, 9vw, 130px);
}

.demo-application h2 {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.48;
}

.demo-application p {
  max-width: 720px;
  margin-top: 24px;
  color: #d5dae1;
}

.demo-application__mock {
  padding: 34px;
  border: 1px solid rgba(201, 154, 74, 0.48);
  text-align: center;
}

.demo-application__mock small {
  color: var(--gold);
  font-family: var(--label);
  font-size: 0.56rem;
  letter-spacing: 0.13em;
}

.demo-application__mock strong {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.demo-application__mock span {
  display: flex;
  min-height: 58px;
  margin-top: 25px;
  align-items: center;
  justify-content: center;
  color: #d5dae1;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.member-site-cta {
  padding: clamp(100px, 12vw, 165px) 0;
  text-align: center;
  background: var(--member-sand);
}

.member-site-cta h2 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.8vw, 4.7rem);
  font-weight: 600;
  line-height: 1.5;
}

.member-site-cta p {
  max-width: 720px;
  margin: 26px auto 0;
  color: #475263;
}

.member-site-cta .site-button {
  margin-top: 36px;
}

@media (max-width: 1080px) {
  .members-hub-hero__inner,
  .member-profile-hero__inner,
  .member-lp-hero__inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(330px, 0.66fr);
    gap: 50px;
  }

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

  .member-directory__grid .member-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 12px));
    justify-self: center;
  }

  .member-profile-section__inner,
  .member-lp-section__split {
    grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
    gap: 55px;
  }

  .member-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .demo-notice__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    text-align: left;
  }

  .members-hub-hero__inner,
  .members-intro,
  .member-profile-hero__inner,
  .member-profile-section__inner,
  .member-profile-cta__inner,
  .member-lp-hero__inner,
  .member-lp-section__split,
  .demo-application__inner {
    grid-template-columns: 1fr;
  }

  .members-hub-hero__inner,
  .member-profile-hero__inner,
  .member-lp-hero__inner {
    padding-top: 60px;
  }

  .members-hub-hero__collage {
    min-height: 600px;
  }

  .member-profile-hero__photo,
  .member-lp-hero__photo {
    width: min(100%, 540px);
    justify-self: center;
  }

  .members-page-pair__grid {
    grid-template-columns: 1fr;
  }

  .members-page-pair__arrow {
    transform: rotate(90deg);
  }

  .member-profile-cta__inner {
    gap: 35px;
  }

  .member-lp-problems__grid,
  .profile-fit {
    grid-template-columns: 1fr;
  }

  .member-lp-problems__grid li {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .members-hub-hero h1,
  .member-profile-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .member-lp-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.42;
  }

  .members-hub-hero__collage {
    min-height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .members-hub-hero__collage figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .members-hub-hero__collage figure:not(:first-child) {
    aspect-ratio: 4 / 5;
  }

  .members-hub-hero__collage figure:first-child img {
    object-position: center 28%;
  }

  .member-directory__grid {
    grid-template-columns: 1fr;
  }

  .member-directory__grid .member-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .members-intro__diagram article,
  .profile-storyline li {
    grid-template-columns: 1fr;
  }

  .members-intro__diagram article {
    gap: 10px;
  }

  .profile-service-map,
  .member-lp-fit,
  .member-process {
    grid-template-columns: 1fr;
  }

  .member-profile-section h2,
  .member-lp-section h2,
  .member-profile-cta h2,
  .member-profile-cta h3,
  .demo-application h2,
  .member-site-cta h2 {
    font-size: clamp(2rem, 10.5vw, 3.3rem);
  }

  .member-profile-hero blockquote {
    font-size: 1.4rem;
  }

  .member-profile-section__number {
    font-size: 3.7rem;
  }

  .member-process li {
    min-height: 0;
  }
}
