/* Home 04-inspired AGCN homepage — black, white and deliberately editorial. */

:root {
  --n4-black: #070707;
  --n4-ink: #101010;
  --n4-paper: #f4f4f1;
  --n4-line: rgba(16, 16, 16, .16);
  --n4-light-line: rgba(255, 255, 255, .22);
  --n4-ease: cubic-bezier(.22, .8, .22, 1);
}

[hidden] {
  display: none !important;
}

.home-page {
  --header-height: 92px;
  background: var(--n4-paper);
}

.home-page .container {
  width: min(1320px, calc(100% - 72px));
}

/* Reference-style floating header */
.home-page .site-header {
  height: var(--header-height);
  border: 0;
  background: transparent;
}

.home-page .site-header::before {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease;
}

.home-page .site-header.is-scrolled::before {
  background: rgba(7, 7, 7, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-page .site-header.is-scrolled {
  color: #fff;
  background: transparent;
  border: 0;
}

.home-page .header-inner {
  position: relative;
  height: 100%;
  gap: 24px;
}

.home-page .brand img,
.home-page .site-header.is-scrolled .brand img,
.home-page .site-header:not(.is-scrolled) .brand img {
  width: clamp(142px, 12vw, 186px);
  height: auto;
  filter: invert(1) grayscale(1) brightness(2);
}

.home-page .desktop-nav {
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.home-page .nimo-nav ul {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-page .nimo-nav a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: 0;
  transition: color .25s ease, background .25s ease;
}

.home-page .nimo-nav a::after {
  display: none;
}

.home-page .nimo-nav a:hover,
.home-page .nimo-nav a.is-active {
  color: #070707;
  background: #fff;
}

.home-page .header-cta {
  margin-left: auto;
  min-height: 44px;
  gap: 18px;
  padding-inline: 21px;
  border-color: #fff;
  color: #070707;
  background: #fff;
}

.home-page .header-cta:hover {
  color: #fff;
  background: transparent;
}

.home-page .site-header .menu-toggle span,
.home-page .site-header:not(.is-scrolled) .menu-toggle span {
  background: #fff;
}

/* Shared labels and capsule buttons */
.n4-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0 0;
  color: #222;
  font-size: .72rem;
  font-weight: 680;
  white-space: nowrap;
}

.n4-section-label i {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  opacity: .6;
}

.n4-section-label i::after {
  position: absolute;
  inset: 2px -4px -4px 2px;
  border: 1px solid currentColor;
  content: "";
  opacity: .45;
}

.n4-section-label--light {
  color: #fff;
}

.n4-pill-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 12px;
  padding: 5px 18px 5px 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #070707;
  background: #fff;
  font-size: .76rem;
  font-weight: 680;
  white-space: nowrap;
  transition: transform .3s var(--n4-ease), color .3s ease, background .3s ease, border-color .3s ease;
}

.n4-pill-button:hover {
  transform: translateY(-3px);
}

.n4-pill-button__icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: #070707;
  font-size: 1rem;
  transition: transform .35s var(--n4-ease);
}

.n4-pill-button:hover .n4-pill-button__icon {
  transform: rotate(-35deg);
}

.n4-pill-button[href^="#"]:hover .n4-pill-button__icon {
  transform: translateY(3px);
}

.n4-pill-button--dark {
  border-color: #070707;
  color: #fff;
  background: #070707;
}

.n4-pill-button--dark .n4-pill-button__icon {
  color: #070707;
  background: #fff;
}

.n4-pill-button--muted {
  color: #fff;
  background: #2c2c2c;
}

.n4-pill-button--muted .n4-pill-button__icon {
  color: #070707;
  background: #fff;
}

.n4-pill-button--outline {
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  background: transparent;
}

.n4-pill-button--outline .n4-pill-button__icon {
  color: #070707;
  background: #fff;
}

.n4-pill-button--light {
  color: #070707;
  background: #fff;
}

.n4-pill-button--light .n4-pill-button__icon {
  color: #fff;
  background: #070707;
}

/* Hero — composition follows the reference: copy left, oversized title low, image emerging behind it. */
.n4-hero {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, #242424 0, #111 35%, #070707 75%);
  isolation: isolate;
}

.n4-hero__line {
  position: absolute;
  z-index: -1;
  right: -2%;
  bottom: -105px;
  width: 104%;
  opacity: .65;
}

.n4-hero__line path {
  fill: none;
  stroke: rgba(255, 255, 255, .07);
  stroke-width: 106;
  stroke-dasharray: 6000;
  stroke-dashoffset: 6000;
  animation: n4-draw 4.8s .35s forwards;
}

@keyframes n4-draw {
  to { stroke-dashoffset: 0; }
}

.n4-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 980px;
}

.n4-hero__intro {
  position: absolute;
  z-index: 4;
  top: 265px;
  left: 0;
  width: min(390px, 31vw);
}

.n4-hero__intro > p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
}

.n4-hero__portrait {
  position: absolute;
  z-index: 1;
  right: 7%;
  bottom: 0;
  width: min(700px, 53vw);
  height: 720px;
  overflow: hidden;
  border-radius: 48% 48% 0 0;
  background: url("../images/Lagos Founders Summit_ Tech on Stage-1.png") 58% center / cover no-repeat;
  filter: none;
  opacity: 1;
  pointer-events: none;
}

.n4-hero__portrait::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20%;
  content: "";
  background: linear-gradient(to top, #070707 5%, transparent);
}

.n4-hero__portrait img {
  opacity: 0;
}

.n4-hero__titles {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 24px;
  left: 0;
  text-align: right;
  pointer-events: none;
}

.n4-hero__titles > span,
.n4-hero__titles > strong {
  display: block;
  color: #fff;
  font-size: clamp(7rem, 10.2vw, 10.5rem);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: .92;
}

.n4-hero__titles > strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: clamp(5.3rem, 8.15vw, 8.4rem);
}

.n4-hero__titles > strong > i {
  width: clamp(85px, 10vw, 145px);
  height: 16px;
  background: #fff;
}

.n4-hero__titles em {
  opacity: .48;
  font-style: italic;
  font-weight: 540;
}

/* About */
.n4-about {
  padding: 136px 0 122px;
  background: var(--n4-paper);
}

.n4-heading-row {
  display: grid;
  grid-template-columns: minmax(170px, .28fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
  margin-bottom: 80px;
}

.n4-heading-row h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.8rem, 4.35vw, 4.55rem);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: 1.08;
}

.n4-mirror-heading {
  overflow: hidden;
  perspective: 900px;
}

.n4-mirror-heading > span {
  display: block;
  transform: translate3d(var(--mirror-x, 0), 0, 0) rotateY(var(--mirror-rotate, 0deg));
  transform-origin: center;
  filter: blur(var(--mirror-blur, 0));
  opacity: var(--mirror-opacity, 1);
  will-change: transform, filter, opacity;
}

.n4-about__grid {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: 65px;
}

.n4-about__left {
  position: relative;
  padding-right: 55px;
  border-right: 1px solid var(--n4-line);
}

.n4-principles {
  border-bottom: 1px solid var(--n4-line);
}

.n4-principle {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  min-height: 132px;
  border-top: 1px solid var(--n4-line);
}

.n4-principle__icon {
  display: grid;
  place-content: center;
  border-right: 1px solid var(--n4-line);
  color: #9a9a96;
  font-size: 3.1rem;
  font-weight: 300;
  transition: color .35s ease, transform .35s var(--n4-ease);
}

.n4-principle > div {
  position: relative;
  padding: 26px 0 24px 32px;
  overflow: hidden;
}

.n4-principle > div::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: #e9e9e5;
  transform: translateX(-102%);
  transition: transform .45s var(--n4-ease);
}

.n4-principle:hover > div::before {
  transform: translateX(0);
}

.n4-principle:hover .n4-principle__icon {
  color: #070707;
  transform: scale(1.08);
}

.n4-principle h3 {
  margin: 0 0 7px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}

.n4-principle p {
  max-width: 470px;
  margin: 0;
  color: #62625e;
  font-size: .9rem;
  line-height: 1.58;
}

.n4-about__mini {
  display: grid;
  grid-template-columns: minmax(190px, 292px) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding-top: 55px;
}

.n4-about__mini figure {
  height: 184px;
  margin: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 12px;
}

.n4-about__mini-media {
  background: #d8d4ce url("../images/Lagos Founders Summit_ Tech on Stage-1.png") center / cover no-repeat;
}

.n4-about__mini figure img,
.n4-about__mini figure video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: transform .6s var(--n4-ease);
  background: transparent;
}

.n4-about__mini figure:hover img,
.n4-about__mini figure:hover video {
  transform: scale(1.04);
}

.n4-about__mini strong {
  display: block;
  margin-bottom: 8px;
  font-size: 4.2rem;
  font-weight: 520;
  letter-spacing: -.06em;
  line-height: 1;
}

.n4-about__mini p {
  max-width: 250px;
  margin: 0 0 22px;
  color: #64645f;
  font-size: .86rem;
}

.n4-about__image {
  height: 740px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.n4-about__image img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: filter .5s ease, transform .8s var(--n4-ease);
}

.n4-about__image:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.025);
}

/* Partner logo rail */
.n4-partners {
  padding: 0 0 126px;
  background: var(--n4-paper);
}

.n4-partners__label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 32px;
  color: #41413e;
  font-size: 1.08rem;
  text-align: center;
}

.n4-partners__label span {
  width: 100%;
  height: 1px;
  background: var(--n4-line);
}

.n4-partners__window {
  overflow: hidden;
}

.n4-partners__track {
  display: flex;
  width: max-content;
  animation: n4-logos 26s linear infinite;
}

.n4-partners__window:hover .n4-partners__track {
  animation-play-state: paused;
}

.n4-partners__set {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.n4-partners__set > div {
  display: grid;
  flex: 0 0 204px;
  width: 204px;
  height: 84px;
  place-content: center;
  padding: 15px;
  border: 1px solid rgba(16, 16, 16, .07);
  border-radius: 6px;
  background: #fff;
}

.n4-partners__set img {
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(1);
  transition: transform .45s var(--n4-ease);
}

.n4-partners__set > div:hover img {
  transform: rotateX(360deg);
}

@keyframes n4-logos {
  to { transform: translateX(-50%); }
}

/* Ecosystem — compact reference-style expanding rows */
.n4-services {
  margin: 0 14px;
  padding: 122px 0 112px;
  overflow: hidden;
  border-radius: 26px;
  color: #fff;
  background: var(--n4-black);
}

.n4-services__heading {
  display: grid;
  grid-template-columns: minmax(170px, .32fr) minmax(430px, 1fr) auto;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  margin-bottom: 72px;
}

.n4-services__heading h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(3rem, 4.8vw, 5.25rem);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: .98;
}

.n4-services__heading > a {
  align-self: center;
}

.n4-service {
  overflow: hidden;
  border-top: 1px solid var(--n4-light-line);
  transition: background .35s ease;
}

.n4-service:last-child {
  border-bottom: 1px solid var(--n4-light-line);
}

.n4-service__summary {
  display: grid;
  width: 100%;
  grid-template-columns: 150px 1fr 1.1fr;
  align-items: center;
  min-height: 66px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.n4-service__number {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding-right: 24px;
  border-right: 1px solid var(--n4-light-line);
  color: rgba(255, 255, 255, .6);
  font-size: .72rem;
}

.n4-service__ghost,
.n4-service__title {
  padding-left: 62px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 560;
  letter-spacing: -.03em;
  transition: opacity .35s ease, transform .4s var(--n4-ease);
}

.n4-service__ghost {
  color: rgba(255, 255, 255, .42);
}

.n4-service__title {
  padding-left: 0;
  color: rgba(255, 255, 255, .82);
}

.n4-service.is-active .n4-service__ghost {
  opacity: 0;
  transform: translateY(10px);
}

.n4-service.is-active .n4-service__title {
  color: #fff;
}

.n4-service__body {
  display: grid;
  grid-template-columns: 150px 1fr 1.1fr;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s var(--n4-ease), opacity .35s ease, padding .6s var(--n4-ease);
}

.n4-service.is-active .n4-service__body {
  max-height: 530px;
  padding: 18px 0 60px;
  opacity: 1;
}

.n4-service__copy {
  grid-column: 2;
  padding: 0 62px;
}

.n4-service__copy h3 {
  max-width: 500px;
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  font-weight: 540;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.n4-service__copy > p {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: .96rem;
  line-height: 1.65;
}

.n4-service__copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.n4-service__copy li {
  color: rgba(255, 255, 255, .84);
  font-size: .92rem;
}

.n4-service__copy li span {
  display: inline-block;
  width: 20px;
  color: rgba(255, 255, 255, .48);
}

.n4-service__image {
  grid-column: 3;
  height: 400px;
  margin: 0;
  overflow: hidden;
  background: #151515;
}

.n4-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  filter: none;
  transform: scale(1.08);
  transition: transform .9s var(--n4-ease);
}

.n4-service.is-active .n4-service__image img {
  transform: scale(1);
}

.n4-service__image--contain {
  padding: 22px;
  background: #ecece8;
}

.n4-service__image--contain img {
  object-fit: contain;
  filter: none;
}

/* Advisory */
.n4-advisory {
  padding: 112px 0 104px;
  background: var(--n4-paper);
}

.n4-heading-row--advisory {
  margin-bottom: 48px;
}

.n4-advisory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.n4-advisory__grid article {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 40px 42px;
  border: 1px solid var(--n4-line);
  background: #fff;
}

.n4-advisory__grid article:first-child {
  color: #fff;
  background: #070707;
}

.n4-advisory__grid article > span {
  display: block;
  margin-bottom: 42px;
  color: #777772;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.n4-advisory__grid article:first-child > span {
  color: rgba(255, 255, 255, .46);
}

.n4-advisory__grid h3 {
  max-width: 520px;
  margin: 0 0 18px;
  font-size: clamp(2rem, 2.7vw, 3.15rem);
  font-weight: 540;
  letter-spacing: -.055em;
  line-height: 1;
}

.n4-advisory__grid p {
  max-width: 520px;
  margin: 0;
  color: #62625e;
  font-size: .92rem;
  line-height: 1.65;
}

.n4-advisory__grid article:first-child p {
  color: rgba(255, 255, 255, .66);
}

.n4-advisory__grid ul {
  display: grid;
  gap: 0;
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--n4-line);
}

.n4-advisory__grid article:first-child ul {
  border-color: var(--n4-light-line);
}

.n4-advisory__grid li {
  padding: 10px 0;
  border-bottom: 1px solid var(--n4-line);
  font-size: .85rem;
}

.n4-advisory__grid article:first-child li {
  border-color: var(--n4-light-line);
}

.n4-advisory__grid a {
  display: inline-flex;
  width: fit-content;
  gap: 24px;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.n4-advisory__grid a span {
  transition: transform .25s ease;
}

.n4-advisory__grid a:hover span {
  transform: translate(4px, -4px);
}

.n4-advisory__grid a[href^="#"]:hover span {
  transform: translateY(4px);
}

.n4-advisory__note {
  max-width: 860px;
  margin: 28px 0 0;
  color: #777772;
  font-size: .72rem;
  line-height: 1.65;
}

/* Oversized editorial CTA */
.n4-cta {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  color: #fff;
  background: #070707;
}

.n4-cta__marquee {
  position: absolute;
  inset: 22px 0 auto;
  overflow: hidden;
  white-space: nowrap;
  opacity: .1;
}

.n4-cta__marquee span {
  display: inline-block;
  min-width: max-content;
  color: transparent;
  font-size: clamp(6rem, 10vw, 11rem);
  font-weight: 650;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px #fff;
  animation: n4-cta-scroll 24s linear infinite;
}

@keyframes n4-cta-scroll {
  to { transform: translateX(-45%); }
}

.n4-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 500px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 72px;
}

.n4-cta__inner h2 {
  max-width: 880px;
  margin: 22px 0 0;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
  font-weight: 560;
  letter-spacing: -.065em;
  line-height: .9;
}

/* Contact */
.n4-contact {
  padding: 132px 0;
  background: var(--n4-paper);
}

.n4-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 145px);
}

.n4-contact__intro h2 {
  max-width: 580px;
  margin: 30px 0 26px;
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: .94;
}

.n4-contact__intro > p:not(.n4-section-label) {
  max-width: 520px;
  color: #62625e;
  line-height: 1.7;
}

.n4-contact__locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 55px;
}

.n4-contact__locations div {
  padding: 20px;
  border: 1px solid var(--n4-line);
  background: #fff;
}

.n4-contact__locations span,
.n4-contact__locations strong {
  display: block;
}

.n4-contact__locations span {
  margin-bottom: 8px;
  color: #777772;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.n4-contact__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  padding: 48px;
  border: 1px solid var(--n4-line);
  background: #fff;
}

.n4-contact__form > div {
  display: grid;
  gap: 9px;
}

.n4-contact__form label {
  color: #555550;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.n4-contact__form input,
.n4-contact__form select,
.n4-contact__form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(16, 16, 16, .28);
  border-radius: 0;
  outline: none;
  color: #070707;
  background: transparent;
  transition: border-color .25s ease;
}

.n4-contact__form input,
.n4-contact__form select {
  min-height: 54px;
}

.n4-contact__form textarea {
  min-height: 140px;
  padding-top: 14px;
  resize: vertical;
}

.n4-contact__form input:focus,
.n4-contact__form select:focus,
.n4-contact__form textarea:focus {
  border-color: #070707;
}

.n4-contact__full,
.n4-contact__footer {
  grid-column: 1 / -1;
}

.n4-contact__footer {
  display: flex !important;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 8px;
}

.n4-contact__footer p {
  margin: 0;
  color: #62625e;
  font-size: .76rem;
}

.n4-contact__footer button {
  border: 0;
  cursor: pointer;
}

.n4-contact__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

/* Tablet */
@media (max-width: 1120px) {
  .home-page .desktop-nav {
    display: none;
  }

  .home-page .menu-toggle {
    display: flex;
  }

  .home-page .header-cta {
    margin-left: auto;
  }

  .n4-hero,
  .n4-hero__inner {
    min-height: 840px;
  }

  .n4-hero__intro {
    top: 210px;
  }

  .n4-hero__titles > span {
    font-size: clamp(5.5rem, 11vw, 8rem);
  }

  .n4-hero__titles > strong {
    font-size: clamp(4rem, 8vw, 6rem);
  }

  .n4-about__grid {
    gap: 40px;
  }

  .n4-about__left {
    padding-right: 38px;
  }

  .n4-about__mini {
    grid-template-columns: 1fr;
  }

  .n4-services__heading {
    grid-template-columns: 170px 1fr;
  }

  .n4-services__heading > a {
    grid-column: 2;
    justify-self: start;
  }

  .n4-service__summary,
  .n4-service__body {
    grid-template-columns: 128px 1fr 1.05fr;
  }

  .n4-service__copy {
    padding: 0 35px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .home-page {
    --header-height: 78px;
  }

  .home-page .container {
    width: min(100% - 36px, 1320px);
  }

  .home-page .brand img,
  .home-page .site-header.is-scrolled .brand img,
  .home-page .site-header:not(.is-scrolled) .brand img {
    width: 138px;
  }

  .home-page .header-cta {
    display: none;
  }

  .home-page .mobile-menu {
    top: var(--header-height);
  }

  .n4-hero,
  .n4-hero__inner {
    min-height: 760px;
  }

  .n4-hero__intro {
    top: 150px;
    width: min(310px, 82vw);
  }

  .n4-hero__intro > p {
    font-size: .9rem;
  }

  .n4-hero__portrait {
    right: -24%;
    bottom: 82px;
    width: 125%;
    height: 510px;
    opacity: 1;
  }

  .n4-hero__titles {
    bottom: 42px;
    text-align: left;
  }

  .n4-hero__titles > span {
    font-size: clamp(3.8rem, 16vw, 5.7rem);
    line-height: .88;
  }

  .n4-hero__titles > strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(2.8rem, 11.5vw, 4.1rem);
    line-height: .94;
  }

  .n4-hero__titles > strong > i {
    display: none;
  }

  .n4-about,
  .n4-advisory,
  .n4-contact {
    padding-block: 88px;
  }

  .n4-heading-row,
  .n4-heading-row--advisory {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 52px;
  }

  .n4-heading-row h2 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .n4-about__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .n4-about__left {
    padding-right: 0;
    border-right: 0;
  }

  .n4-principle {
    grid-template-columns: 72px 1fr;
  }

  .n4-principle__icon {
    font-size: 2.25rem;
  }

  .n4-principle > div {
    padding-left: 22px;
  }

  .n4-about__mini {
    grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr);
    gap: 20px;
  }

  .n4-about__mini figure {
    height: 150px;
  }

  .n4-about__mini strong {
    font-size: 3.4rem;
  }

  .n4-about__image {
    height: 480px;
  }

  .n4-partners {
    padding-bottom: 88px;
  }

  .n4-partners__label {
    font-size: .78rem;
  }

  .n4-partners__set > div {
    flex-basis: 170px;
    width: 170px;
  }

  .n4-services {
    margin-inline: 7px;
    padding-block: 86px;
    border-radius: 20px;
  }

  .n4-services__heading {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 52px;
  }

  .n4-services__heading h2 {
    min-width: 0;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .n4-services__heading > a {
    grid-column: auto;
  }

  .n4-service {
    padding: 0;
  }

  .n4-service__summary {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 82px;
  }

  .n4-service__number {
    grid-column: 1 / -1;
    min-height: 0;
    align-self: end;
    padding: 14px 0 0;
    border: 0;
    font-size: .61rem;
  }

  .n4-service__ghost {
    display: none;
  }

  .n4-service__title {
    padding: 0 0 14px;
    font-size: 1.45rem;
  }

  .n4-service__title::after {
    content: "+";
    float: right;
    color: rgba(255, 255, 255, .45);
  }

  .n4-service.is-active .n4-service__title::after {
    content: "−";
  }

  .n4-service__body {
    display: block;
  }

  .n4-service.is-active .n4-service__body {
    max-height: 980px;
    padding: 8px 0 38px;
  }

  .n4-service__copy {
    padding: 0 0 30px;
  }

  .n4-service__image {
    height: 300px;
  }

  .n4-advisory__grid {
    grid-template-columns: 1fr;
  }

  .n4-advisory__grid article {
    min-height: 0;
    padding: 34px 28px;
  }

  .n4-advisory__grid article > span {
    margin-bottom: 34px;
  }

  .n4-cta,
  .n4-cta__inner {
    min-height: 440px;
  }

  .n4-cta__inner {
    align-items: flex-end;
    flex-direction: column;
    justify-content: flex-end;
  }

  .n4-cta__inner h2 {
    font-size: clamp(3.6rem, 15vw, 5.4rem);
  }

  .n4-contact__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .n4-contact__form {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .n4-contact__full,
  .n4-contact__footer {
    grid-column: auto;
  }

  .n4-contact__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .n4-about__mini {
    grid-template-columns: 1fr;
  }

  .n4-about__mini figure {
    height: 180px;
  }

  .n4-contact__locations {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .n4-hero__line path,
  .n4-hero__portrait,
  .n4-partners__track,
  .n4-cta__marquee span {
    animation: none;
  }

  .n4-hero__line path {
    stroke-dashoffset: 0;
  }

  .n4-pill-button,
  .n4-mirror-heading > span,
  .n4-service__body,
  .n4-principle > div::before,
  .n4-service__image img {
    transition: none;
  }

  .n4-mirror-heading > span {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
