/* Homepage redesign rules, scoped by loading this file only on index.html. */
/* Home hero: full-bleed Madrid image with the navigation layered over it. */
.page-home .site-header--hero {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom-color: rgb(255 255 255 / 18%);
  color: var(--color-white);
  background: linear-gradient(180deg, rgb(5 22 31 / 72%), rgb(5 22 31 / 0%));
  box-shadow: none;
  backdrop-filter: none;
}

.site-header--hero .header-shell {
  min-height: 6.25rem;
}

.site-header--hero .brand-logo {
  height: clamp(3.7rem, 6vw, 4.8rem);
}

.site-header--hero .navigation-list a {
  position: relative;
  padding-block: 0.75rem;
  color: rgb(255 255 255 / 88%);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.site-header--hero .navigation-list a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-header--hero .navigation-list a:hover,
.site-header--hero .navigation-list a[aria-current="page"] {
  color: var(--color-white);
}

.site-header--hero .navigation-list a:hover::after,
.site-header--hero .navigation-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header--hero .navigation-cta,
.page-home .home-hero .button-primary {
  border-color: var(--color-gold-500);
  color: var(--color-navy-950);
  background: var(--color-gold-500);
}

.site-header--hero .navigation-cta:hover,
.page-home .home-hero .button-primary:hover {
  border-color: #d0aa62;
  color: var(--color-navy-950);
  background: #d0aa62;
}

.site-header--hero .site-navigation {
  border-color: rgb(255 255 255 / 16%);
  background: rgb(7 29 39 / 96%);
  box-shadow: 0 1rem 2rem rgb(0 0 0 / 24%);
  backdrop-filter: blur(1rem);
}

.site-header--hero .menu-toggle {
  border-color: rgb(255 255 255 / 42%);
  color: var(--color-white);
  background: rgb(7 29 39 / 45%);
}

.site-header--hero .navigation-list a {
  color: rgb(255 255 255 / 88%);
}

.home-hero {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 0;
  background: #071923;
}

.home-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(5 18 25 / 28%) 0%, rgb(5 18 25 / 10%) 48%, rgb(5 18 25 / 10%) 100%),
    linear-gradient(0deg, rgb(5 18 25 / 18%), transparent 55%, rgb(5 18 25 / 8%));
}

.home-hero::after {
  inset: auto 0 0;
  z-index: 0;
  height: 7rem;
  background: linear-gradient(180deg, transparent, rgb(5 18 25 / 34%));
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - (var(--gutter) * 2), 112rem);
  min-height: 100vh;
  min-height: 100svh;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(8rem, 12vh, 10rem) clamp(3.5rem, 7vh, 6rem);
}

.home-hero-copy {
  max-width: 58rem;
  min-width: 0;
}

.home-hero-media {
  min-width: 0;
  width: 100%;
  max-width: 48.5rem;
  justify-self: end;
  margin: 0;
  transform: translateY(-2.5rem);
}

.home-hero-media figcaption {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .9rem;
  color: #d7aa59;
  font-size: clamp(.75rem, 1vw, .95rem);
  font-weight: 750;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.home-hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 3px solid #d7aa59;
  border-radius: .75rem;
  background: #0f1e31;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 25%);
  object-fit: contain;
}

.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  color: #d7aa59;
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  letter-spacing: 0.16em;
}

.home-hero-eyebrow i {
  font-size: 1rem;
  font-style: normal;
}

.home-hero h1 {
  max-width: none;
  margin-bottom: clamp(1.5rem, 3vw, 2.3rem);
  color: var(--color-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 5.65vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.home-hero h1 span {
  display: block;
}

.home-hero-lead {
  max-width: 40rem;
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.62;
}

.page-home .home-hero .hero-actions {
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.page-home .home-hero .hero-actions .button {
  min-height: 3.5rem;
}

.page-home .home-hero .button-secondary {
  gap: 0.65rem;
  padding-inline: 0;
  border-color: transparent;
  color: var(--color-white);
  background: transparent;
}

.page-home .home-hero .button-secondary:hover {
  color: #e3ba70;
}

@media (min-width: 56rem) {
  .site-header--hero .site-navigation {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

@media (max-width: 70rem) {
  .home-hero h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.6rem);
  }
}

@media (max-width: 47.99rem) {
  .site-header--hero .header-shell {
    min-height: 5.5rem;
  }

  .site-header--hero .brand-logo {
    height: 4.1rem;
  }

  .site-header--hero .site-navigation {
    top: calc(100% + 0.25rem);
    padding: 0.75rem 1rem 1rem;
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: var(--radius-medium);
  }

  .home-hero-backdrop {
    object-position: 64% center;
  }

  .home-hero::before {
    background:
      linear-gradient(180deg, rgb(5 18 25 / 26%) 0%, rgb(5 18 25 / 70%) 37%, rgb(5 18 25 / 94%) 100%),
      linear-gradient(90deg, rgb(5 18 25 / 48%), rgb(5 18 25 / 14%));
  }

  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2.5rem;
    padding-block: 8rem 3rem;
  }

  .home-hero-media {
    transform: none;
  }

  .home-hero h1 {
    max-width: 11ch;
    font-size: clamp(3.2rem, 13vw, 4.5rem);
  }

  .home-hero-eyebrow {
    margin-bottom: 1.25rem;
  }

  .page-home .home-hero .hero-actions,
  .page-home .home-hero .hero-actions .button {
    width: 100%;
  }

  .page-home .home-hero .hero-actions {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .page-home .home-hero .button-secondary {
    justify-content: flex-start;
  }

}

/* Full-bleed liquid-glass treatment for the MF Market Access process. */
.market-access-section {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(52rem, 100vh);
  min-height: max(52rem, 100svh);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(3rem, 5vw, 5rem);
  color: var(--color-white);
  background:
    radial-gradient(ellipse at 72% 45%, rgb(36 83 101 / 24%), transparent 46%),
    radial-gradient(ellipse at 15% 70%, rgb(18 59 75 / 35%), transparent 44%),
    var(--color-navy-950);
}

.market-access-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: url("../img/market-access-liquid.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.market-access-section > .container {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), 112rem);
}

.market-access-panel {
  display: grid;
  grid-template-columns: minmax(28rem, 0.68fr) minmax(0, 1.22fr);
  align-items: center;
  min-height: clamp(42rem, 52vw, 50rem);
  margin-left: clamp(8rem, 16.2vw, 17rem);
  overflow: visible;
  color: rgb(255 255 255 / 82%);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.market-access-panel::before {
  display: none;
}

.market-access-content {
  position: relative;
  z-index: 2;
  max-width: 29rem;
  padding: 0;
}

.market-access-content .eyebrow {
  margin-bottom: 1.35rem;
  color: rgb(255 255 255 / 91%);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
}

.market-access-content h2 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  font-size: clamp(2.7rem, 3.25vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 0.99;
  text-wrap: pretty;
}

.market-access-content > p:not(.eyebrow) {
  max-width: 29rem;
  margin-bottom: 1.75rem;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.market-access-content .button-gold,
.market-access-content .button-gold:hover {
  min-height: 3.5rem;
  padding: 0.9rem 1.8rem;
  border: 1px solid var(--color-gold-500);
  border-radius: 999px;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-950));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), 0 0.5rem 1.4rem rgb(0 0 0 / 18%);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.market-access-content .button-gold:hover {
  border-color: #e1bd70;
  background: linear-gradient(135deg, var(--color-navy-700), var(--color-navy-900));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 0.65rem 1.7rem rgb(0 0 0 / 22%);
}

.market-access-content .button-gold:focus-visible {
  outline: 3px solid #e1bd70;
  outline-offset: 4px;
}

.market-access-visual {
  --stage-inset: clamp(1.5rem, 2.8vw, 3rem);

  position: relative;
  display: flex;
  min-height: clamp(34rem, 36vw, 36rem);
  align-items: center;
  overflow: visible;
  padding: 0 0 0 var(--stage-inset);
  border: 0;
  background: transparent;
}

.access-stages {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(1rem, 4.2vw, 4rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.access-stages li {
  --stage-offset: 0rem;

  position: relative;
  display: flex;
  width: 100%;
  max-width: 18rem;
  min-height: clamp(17rem, 19vw, 19rem);
  flex-direction: column;
  align-items: flex-start;
  justify-self: center;
  gap: 0;
  padding: clamp(1.25rem, 2vw, 1.8rem);
  overflow: hidden;
  border: 1px solid rgb(229 193 108 / 92%);
  border-radius: 0.8rem;
  color: var(--color-white);
  background:
    linear-gradient(138deg, transparent 0 34%, rgb(54 125 150 / 30%) 34.2%, rgb(13 52 68 / 12%) 63%, transparent 63.3%),
    radial-gradient(ellipse at 22% 12%, rgb(255 255 255 / 21%), transparent 41%),
    linear-gradient(145deg, rgb(36 83 101 / 86%), rgb(18 59 75 / 87%) 52%, rgb(11 39 49 / 89%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 74%),
    inset 0.45rem 0.25rem 1.5rem rgb(255 255 255 / 12%),
    inset -0.4rem -0.8rem 1.2rem rgb(3 24 33 / 38%),
    0 1.2rem 2rem rgb(0 0 0 / 23%),
    0 0 1.2rem rgb(181 147 75 / 16%);
  backdrop-filter: blur(0.8rem) saturate(1.22);
  transform: translateY(var(--stage-offset));
}

.access-stages li::before {
  position: absolute;
  inset: 0.28rem;
  content: "";
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 0.58rem;
  background: linear-gradient(132deg, rgb(255 255 255 / 14%), transparent 27% 70%, rgb(255 255 255 / 5%));
  pointer-events: none;
}

.access-stages li:nth-child(1) {
  --stage-offset: clamp(2rem, 5vw, 5.5rem);
}

.access-stages li:nth-child(2) {
  --stage-offset: 0rem;
}

.access-stages li:nth-child(3) {
  --stage-offset: clamp(-5.5rem, -5vw, -2rem);
}

.access-stages li {
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
}

.access-stages li::before {
  pointer-events: none;
}

.market-access-track {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 var(--stage-inset);
  display: block;
  background: url("../img/market-access-track.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.market-access-track span {
  display: none;
}

@media (min-width: 84.01rem) and (max-width: 96rem) {
  .market-access-panel {
    grid-template-columns: minmax(24rem, 0.72fr) minmax(0, 1.3fr);
    margin-left: clamp(5rem, 6vw, 6rem);
  }

  .market-access-visual {
    --stage-inset: 1.5rem;
  }

  .access-stages {
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

@media (max-width: 84rem) {
  .market-access-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    min-height: 0;
    margin-left: 0;
  }

  .market-access-content {
    max-width: 44rem;
    padding-inline: 0;
  }

  .market-access-content h2 {
    max-width: 18ch;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
  }

  .market-access-visual {
    min-height: clamp(34rem, 48vw, 38rem);
    padding-left: 0;
  }

  .access-stages {
    gap: clamp(1rem, 3vw, 2.5rem);
  }

  .access-stages li {
    max-width: 18rem;
    --stage-offset: 0rem;
  }

  .access-stages li:nth-child(1) {
    --stage-offset: clamp(1.5rem, 4vw, 4rem);
  }

  .access-stages li:nth-child(3) {
    --stage-offset: clamp(-4rem, -4vw, -1.5rem);
  }

  .access-stages li:not(:last-child)::after {
    display: none;
  }

  .market-access-track {
    display: none;
  }
}

@media (max-width: 47.99rem) {
  .market-access-section {
    min-height: 0;
    padding-block: 4rem 5rem;
  }

  .market-access-content .eyebrow {
    margin-bottom: 1rem;
  }

  .market-access-content h2 {
    max-width: 16ch;
    font-size: clamp(2.55rem, 10vw, 3.3rem);
  }

  .market-access-content > p:not(.eyebrow) {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .market-access-content .button-gold,
  .market-access-content .button-gold:hover {
    max-width: 100%;
    padding-inline: 1.25rem;
    text-align: center;
  }

  .market-access-panel {
    gap: 1.75rem;
  }

  .market-access-visual {
    min-height: 0;
    --stage-inset: 0rem;
    padding-block: 0.5rem;
  }

  .access-stages {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .access-stages li {
    width: min(100%, 16rem);
    min-height: 17rem;
    --stage-offset: 0rem;
  }

  .access-stages li:nth-child(1),
  .access-stages li:nth-child(2),
  .access-stages li:nth-child(3) {
    --stage-offset: 0rem;
  }

  .access-stages li:not(:last-child)::after {
    display: none;
  }

  .market-access-track {
    inset: 0 auto;
    left: 50%;
    display: block;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgb(181 147 75 / 78%) 7%, rgb(181 147 75 / 78%) 93%, transparent);
  }

  .market-access-track span {
    position: absolute;
    left: 50%;
    display: block;
    width: 0.62rem;
    height: 0.62rem;
    border: 1px solid #f4d68c;
    background: #d4a63f;
    box-shadow: 0 0 0.5rem rgb(231 193 107 / 84%);
    transform: translateX(-50%);
  }

  .market-access-track span:nth-child(1) {
    top: 32%;
  }

  .market-access-track span:nth-child(2) {
    top: 68%;
  }

  .market-access-track span:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .market-access-content .button-gold,
  .market-access-content .button-gold:hover {
    transition: none;
  }
}

/* Editable glass capsule cards for the Market Access process. */
.access-stages li.access-stage {
  --stage-offset: 0rem;

  width: min(100%, 17rem);
  min-height: clamp(29rem, 31vw, 34rem);
  align-items: center;
  justify-self: center;
  gap: 0;
  padding: 0.8rem 1.15rem 1.8rem;
  border-radius: 999px;
  text-align: center;
  background:
    linear-gradient(138deg, transparent 0 25%, rgb(74 148 169 / 17%) 25.2%, rgb(18 59 75 / 8%) 47%, transparent 47.2%),
    radial-gradient(ellipse at 22% 9%, rgb(255 255 255 / 22%), transparent 38%),
    radial-gradient(ellipse at 84% 89%, rgb(28 144 173 / 19%), transparent 44%),
    linear-gradient(150deg, rgb(36 83 101 / 78%), rgb(18 59 75 / 88%) 50%, rgb(8 35 46 / 94%));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 80%),
    inset 0.35rem 0.1rem 1.25rem rgb(255 255 255 / 13%),
    inset -0.45rem -0.8rem 1.2rem rgb(3 24 33 / 42%),
    0 1.2rem 2rem rgb(0 0 0 / 24%),
    0 0 1.15rem rgb(181 147 75 / 21%);
}

.access-stages li.access-stage::before {
  inset: 0.32rem;
  border-color: rgb(255 255 255 / 19%);
  border-radius: 999px;
  background: linear-gradient(135deg, rgb(255 255 255 / 9%), transparent 25% 76%, rgb(255 255 255 / 5%));
}

.access-stages li.access-stage:nth-child(1) {
  --stage-offset: clamp(2rem, 4.4vw, 4.8rem);
}

.access-stages li.access-stage:nth-child(2) {
  --stage-offset: 0rem;
}

.access-stages li.access-stage:nth-child(3) {
  --stage-offset: clamp(-4.8rem, -4.4vw, -2rem);
}

.access-stage-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 14.5rem);
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  margin: 0.3rem auto 1.1rem;
  border: 1px solid rgb(229 193 108 / 96%);
  border-radius: 50%;
  color: #e1b953;
  background:
    linear-gradient(138deg, transparent 0 34%, rgb(77 151 177 / 22%) 34.2%, transparent 66%),
    radial-gradient(circle at 30% 19%, rgb(255 255 255 / 19%), transparent 39%),
    radial-gradient(ellipse at 50% 92%, rgb(11 39 49 / 82%), rgb(6 32 43 / 92%) 70%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 78%),
    inset 0 0 1.4rem rgb(255 255 255 / 11%),
    0 0 0 0.32rem rgb(181 147 75 / 13%),
    0 0.55rem 1.15rem rgb(0 0 0 / 23%),
    0 0 1.2rem rgb(229 176 66 / 28%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.4rem, 6.3vw, 6.4rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  text-shadow: 0 1px 0 #fff0bf, 0 0.25rem 1.15rem rgb(181 147 75 / 35%);
}

.access-stage-number::before {
  position: absolute;
  inset: 0.42rem;
  content: "";
  border: 1px solid rgb(236 195 91 / 52%);
  border-radius: inherit;
  box-shadow: inset 0 0 1rem rgb(255 255 255 / 9%);
  pointer-events: none;
}

.access-stage-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 18ch;
  color: var(--color-white);
}

.access-stage-divider {
  display: block;
  width: 4.2rem;
  height: 1px;
  margin: 0 auto 0.9rem;
  background: linear-gradient(90deg, #f3d584, #b5934b 72%, rgb(181 147 75 / 16%));
  box-shadow: 0 0 0.65rem rgb(229 176 66 / 50%);
}

.access-stage-title {
  margin: 0 0 0.65rem;
  color: var(--color-white);
  font-size: clamp(1.1rem, 1.35vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.access-stage-description {
  margin: 0;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(0.9rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 84rem) {
  .access-stages li.access-stage {
    width: min(100%, 16.5rem);
    min-height: clamp(27rem, 39vw, 31rem);
    padding-inline: 0.85rem;
  }

  .access-stages li.access-stage:nth-child(1) {
    --stage-offset: clamp(1.5rem, 3.3vw, 3.4rem);
  }

  .access-stages li.access-stage:nth-child(3) {
    --stage-offset: clamp(-3.4rem, -3.3vw, -1.5rem);
  }

  .access-stage-number {
    width: min(100%, 12.4rem);
    font-size: clamp(4rem, 8vw, 5.3rem);
  }
}

@media (max-width: 47.99rem) {
  .access-stages li.access-stage,
  .access-stages li.access-stage:nth-child(1),
  .access-stages li.access-stage:nth-child(2),
  .access-stages li.access-stage:nth-child(3) {
    width: min(100%, 18rem);
    min-height: 29rem;
    justify-self: center;
    padding: 0.85rem 1rem 1.6rem;
    --stage-offset: 0rem;
  }

  .access-stage-number {
    width: min(100%, 13rem);
    margin-bottom: 1rem;
    font-size: clamp(4.6rem, 20vw, 5.6rem);
  }

  .access-stage-content {
    max-width: 19ch;
  }

  .access-stage-title {
    font-size: 1.25rem;
  }

  .access-stage-description {
    font-size: 0.98rem;
  }
}

/* Scale the Market Access section down while preserving its glass treatment. */
.market-access-section {
  min-height: max(44rem, 88vh);
  min-height: max(44rem, 88svh);
  padding-block: clamp(2.25rem, 3.5vw, 3.5rem);
}

.market-access-section > .container {
  width: min(100% - (var(--gutter) * 2), 100rem);
}

.market-access-panel {
  grid-template-columns: minmax(22rem, 0.68fr) minmax(0, 1.22fr);
  min-height: clamp(35rem, 42vw, 43rem);
  margin-left: clamp(4rem, 8vw, 8rem);
}

.market-access-content {
  max-width: 26rem;
}

.market-access-content .eyebrow {
  margin-bottom: 1rem;
}

.market-access-content h2 {
  max-width: 16ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.45rem, 2.85vw, 3.05rem);
}

.market-access-content > p:not(.eyebrow) {
  max-width: 26rem;
  margin-bottom: 1.35rem;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
}

.market-access-content .button-gold,
.market-access-content .button-gold:hover {
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
}

.market-access-visual {
  min-height: clamp(28rem, 31vw, 32rem);
}

.access-stages {
  gap: clamp(0.85rem, 2.25vw, 2.25rem);
}

.access-stages li.access-stage {
  width: min(100%, 14.5rem);
  min-height: clamp(23rem, 25vw, 26rem);
  padding: 0.65rem 0.85rem 1.25rem;
}

.access-stages li.access-stage:nth-child(1) {
  --stage-offset: clamp(1.25rem, 3vw, 3rem);
}

.access-stages li.access-stage:nth-child(3) {
  --stage-offset: clamp(-3rem, -3vw, -1.25rem);
}

.access-stage-number {
  width: min(100%, 11.5rem);
  margin: 0.25rem auto 0.8rem;
  font-size: clamp(3.8rem, 5vw, 5.1rem);
}

.access-stage-divider {
  width: 3.5rem;
  margin-bottom: 0.7rem;
}

.access-stage-title {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
}

@media (max-width: 84rem) {
  .market-access-section {
    min-height: 0;
    padding-block: 3.5rem;
  }

  .market-access-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    min-height: 0;
    margin-left: 0;
  }

  .market-access-content h2 {
    font-size: clamp(2.5rem, 4.2vw, 3.5rem);
  }

  .market-access-visual {
    min-height: clamp(26rem, 38vw, 31rem);
  }

  .access-stages {
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }

  .access-stages li.access-stage {
    width: min(100%, 15rem);
    min-height: clamp(24rem, 28vw, 26rem);
  }

  .access-stages li.access-stage:nth-child(1) {
    --stage-offset: clamp(1rem, 2vw, 2rem);
  }

  .access-stages li.access-stage:nth-child(3) {
    --stage-offset: clamp(-2rem, -2vw, -1rem);
  }

  .access-stage-number {
    width: min(100%, 11rem);
    font-size: clamp(3.7rem, 6vw, 4.6rem);
  }
}

@media (max-width: 47.99rem) {
  .market-access-section {
    padding-block: 3rem 3.75rem;
  }

  .market-access-content h2 {
    font-size: clamp(2.2rem, 8.5vw, 2.75rem);
  }

  .market-access-panel {
    gap: 1.25rem;
  }

  .access-stages li.access-stage,
  .access-stages li.access-stage:nth-child(1),
  .access-stages li.access-stage:nth-child(2),
  .access-stages li.access-stage:nth-child(3) {
    width: min(100%, 15.5rem);
    min-height: 24rem;
    padding: 0.65rem 0.85rem 1.2rem;
    --stage-offset: 0rem;
  }

  .access-stage-number {
    width: min(100%, 11.5rem);
    margin-bottom: 0.8rem;
    font-size: clamp(4rem, 17vw, 4.8rem);
  }

  .access-stage-title {
    font-size: 1.1rem;
  }

  .access-stage-description {
    font-size: 0.92rem;
  }
}

/* Match the published MF page's section spacing and content width; keep the hero unchanged. */
.page-home .page-main > section:not(.home-hero) {
  min-height: 0;
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.page-home .page-main > section:not(.home-hero) .container {
  max-width: 72.5rem;
}

.page-home .page-main > section:not(.home-hero) h2 {
  font-size: clamp(2rem, 3.15vw, 3.4rem);
  line-height: 1.08;
}

.page-home .page-main > .market-access-section {
  min-height: 0;
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.page-home .market-access-section > .container {
  width: min(100% - (var(--gutter) * 2), 92rem);
}

.page-home .market-access-panel {
  min-height: clamp(30rem, 35vw, 36rem);
  margin-left: clamp(2.5rem, 6vw, 6rem);
  gap: clamp(2rem, 4vw, 4rem);
}

.page-home .market-access-content {
  max-width: 24rem;
}

.page-home .market-access-content h2 {
  font-size: clamp(2.2rem, 2.65vw, 2.8rem);
}

.page-home .market-access-content > p:not(.eyebrow) {
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-home .market-access-visual {
  min-height: 24rem;
}

.page-home .access-stages {
  gap: clamp(0.75rem, 1.75vw, 1.6rem);
}

.page-home .access-stages li.access-stage {
  width: min(100%, 13.5rem);
  min-height: 22.5rem;
}

.page-home .access-stages li.access-stage:nth-child(1) {
  --stage-offset: clamp(0.75rem, 1.5vw, 1.5rem);
}

.page-home .access-stages li.access-stage:nth-child(3) {
  --stage-offset: clamp(-1.5rem, -1.5vw, -0.75rem);
}

.page-home .access-stage-number {
  width: min(100%, 9.5rem);
  font-size: clamp(3.35rem, 4vw, 4rem);
}

.page-home .access-stage-title {
  font-size: 1rem;
}

.page-home .access-stage-description {
  font-size: 0.88rem;
}

.page-home .services-section .service-card-icon {
  width: 6.25rem;
}

.page-home .page-main > .services-section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.page-home .page-main > .services-section .container {
  max-width: 72.5rem;
}

.page-home .services-section .service-card h3 {
  min-height: 2em;
  font-size: clamp(1.35rem, 1.55vw, 1.6rem);
}

.page-home .services-section .service-card p {
  margin-bottom: 0.65rem;
  font-size: 0.93rem;
}

.page-home .services-section .service-result {
  padding-top: 0.7rem;
}

.page-home .services-section .card-link {
  margin-top: 1rem;
}

.page-home .home-trust .trust-intro {
  gap: 1.5rem;
}

.page-home .home-trust .team-preview-grid {
  gap: 0.85rem;
  margin-top: 2rem;
}

.page-home .home-trust .team-preview-card {
  padding: 1rem;
}

.page-home .home-trust .team-placeholder {
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.9rem;
}

.page-home .page-main > .home-closing {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.page-home .home-closing .closing-content {
  max-width: 50rem;
}

@media (max-width: 84rem) {
  .page-home .market-access-panel {
    min-height: 0;
    margin-left: 0;
  }

  .page-home .market-access-visual {
    min-height: 22rem;
  }

  .page-home .access-stages li.access-stage {
    width: min(100%, 13.5rem);
    min-height: 22rem;
  }
}

@media (max-width: 69.99rem) {
  .page-home .page-main > section:not(.home-hero) {
    padding-block: clamp(4rem, 8vw, 7.5rem);
  }

  .page-home .market-access-visual {
    min-height: 21rem;
  }

  .page-home .services-grid {
    gap: 2rem clamp(2rem, 5vw, 4rem);
  }
}

@media (max-width: 47.99rem) {
  .page-home .page-main > section:not(.home-hero) {
    padding-block: clamp(4rem, 8vw, 7.5rem);
  }

  .page-home .page-main > section:not(.home-hero) h2 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .page-home .market-access-panel {
    gap: 1.2rem;
  }

  .page-home .market-access-visual {
    min-height: 0;
  }

  .page-home .access-stages li.access-stage,
  .page-home .access-stages li.access-stage:nth-child(1),
  .page-home .access-stages li.access-stage:nth-child(2),
  .page-home .access-stages li.access-stage:nth-child(3) {
    --stage-offset: 0rem;
    width: min(100%, 14rem);
    min-height: 21rem;
  }

  .page-home .access-stage-number {
    width: min(100%, 9rem);
  }

  .page-home .services-section .service-card-icon {
    width: 5.5rem;
  }

  .page-home .page-main > .services-section {
    padding-block: clamp(4rem, 8vw, 7.5rem);
  }

  .page-home .home-trust .trust-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .page-home .home-trust .team-preview-grid {
    margin-top: 1.5rem;
  }
}

.page-home .services-section .service-card-icon {
  width: 8rem;
}

.page-home .services-section .service-card-icon img {
  padding: 0.35rem;
}

.page-home .services-section .section-heading h2 {
  font-size: clamp(2.45rem, 3.65vw, 3.8rem);
}

.page-home .services-section .section-heading > p:last-child {
  font-size: clamp(1.03rem, 1.15vw, 1.12rem);
}

.page-home .services-section .service-card h3 {
  font-size: clamp(1.55rem, 1.72vw, 1.75rem);
}

.page-home .services-section .service-card p {
  font-size: 1.03rem;
  line-height: 1.6;
}

.page-home .services-section .service-card .service-situation {
  font-size: 1.04rem;
}

.page-home .services-section .service-card .card-link {
  font-size: 1.02rem;
}

.page-home .access-stage-number {
  width: min(100%, 7.8rem);
  margin: 0.2rem auto 0.65rem;
  font-size: clamp(2.8rem, 3.25vw, 3.35rem);
}

.page-home .access-stage-number::before {
  inset: 0.32rem;
}

@media (max-width: 84rem) {
  .page-home .access-stage-number {
    width: min(100%, 7.6rem);
    font-size: clamp(2.7rem, 4vw, 3.1rem);
  }
}

@media (max-width: 47.99rem) {
  .page-home .services-section .service-card-icon {
    width: 7rem;
  }

  .page-home .services-section .section-heading h2 {
    font-size: clamp(2.15rem, 8vw, 2.8rem);
  }

  .page-home .services-section .service-card h3 {
    font-size: 1.55rem;
  }

  .page-home .services-section .service-card p {
    font-size: 1rem;
  }

  .page-home .access-stage-number {
    width: min(100%, 7.2rem);
    font-size: 2.7rem;
  }
}

/* Madrid: editorial copy and the supplied gold map, kept at its natural ratio. */
.page-home .page-main > section.home-madrid {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.page-home .page-main > section.home-madrid .madrid-grid {
  width: min(100% - (var(--gutter) * 2), 72.5rem);
  max-width: 72.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5.5vw, 6rem);
}

.home-madrid .madrid-copy .eyebrow {
  margin-bottom: 1.6rem;
  color: var(--color-gold-700);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.page-home .page-main > .home-madrid .madrid-copy h2 {
  margin: 0 0 1.6rem;
  color: #082b3b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.7vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.madrid-copy h2 span {
  display: block;
}

.home-madrid .madrid-copy > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0 0 1.7rem;
  color: #58758a;
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.home-madrid .madrid-address {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
  color: #245365;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
}

.home-madrid .madrid-copy .button {
  min-height: 3.2rem;
  padding: 0.7rem 2.15rem;
  color: #123b4b;
  font-size: 1.05rem;
  font-weight: 600;
}

.madrid-map {
  width: min(100%, 35rem);
  margin: 0;
  justify-self: center;
}

.madrid-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 736 / 904;
  object-fit: contain;
}


@media (max-width: 47.99rem) {
  .page-home .page-main > section.home-madrid .madrid-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .home-madrid .madrid-copy .eyebrow {
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
  }

  .page-home .page-main > .home-madrid .madrid-copy h2 {
    font-size: clamp(2.75rem, 9.5vw, 3.65rem);
  }

  .home-madrid .madrid-address {
    padding-left: 1.15rem;
  }

  .madrid-map {
    max-width: 25rem;
  }
}

/* Response section recreated from the supplied four-step reference. */
.page-home .page-main > section.home-response {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  padding: clamp(4rem, 8vw, 7.5rem) var(--gutter);
  color: #f2f0ed;
  background: #101e31;
}

.page-home .page-main > section.home-response .response-container {
  width: min(100%, 72.5rem);
  max-width: 72.5rem;
  padding: 0;
}

.response-heading {
  margin: 0 auto;
  text-align: center;
}

.page-home .page-main > section.home-response .response-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 0 0 0.8rem;
  color: #b5934b;
  font-size: clamp(0.72rem, 0.85vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.2;
  text-transform: uppercase;
}

.response-eyebrow::before,
.response-eyebrow::after {
  width: clamp(1.8rem, 2vw, 2.4rem);
  height: 1px;
  content: "";
  background: #b5934b;
}

.page-home .page-main > section.home-response .response-heading h2 {
  max-width: none;
  margin: 0;
  color: #f2f0ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.response-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: clamp(2.5rem, 3.5vw, 3.4rem) 0 0;
  list-style: none;
}

.response-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 20.5rem;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(1rem, 2.3vw, 2.6rem);
  text-align: center;
}

.response-item + .response-item::before {
  position: absolute;
  top: 1.5rem;
  bottom: 0;
  left: 0;
  width: 1px;
  content: "";
  background: rgb(181 147 75 / 28%);
}

.response-item img {
  display: block;
  width: clamp(5.5rem, 6vw, 7.5rem);
  height: clamp(5.5rem, 6vw, 7.5rem);
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(66%) sepia(31%) saturate(661%) hue-rotate(5deg) brightness(91%) contrast(88%);
}

.page-home .page-main > section.home-response .response-number {
  display: block;
  margin: 0 0 0.7rem;
  color: #b5934b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.page-home .page-main > section.home-response .response-item h3 {
  margin: 0 0 0.9rem;
  color: #f2f0ed;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.page-home .page-main > section.home-response .response-item p {
  max-width: 24ch;
  margin: 0;
  color: rgb(242 240 237 / 91%);
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  line-height: 1.5;
  text-wrap: pretty;
}

@media (max-width: 64rem) {
  .response-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
  }

  .response-item {
    min-height: 18.5rem;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
  }

  .response-item:nth-child(odd)::before {
    display: none;
  }

  .response-item:nth-child(n + 3) {
    padding-top: 2.25rem;
    border-top: 1px solid rgb(181 147 75 / 24%);
  }

  .response-item:nth-child(n + 3)::before {
    top: 3.75rem;
    bottom: 2.25rem;
  }
}

@media (max-width: 40rem) {
  .page-home .page-main > section.home-response {
    padding-block: clamp(4rem, 8vw, 7.5rem);
  }

  .page-home .page-main > section.home-response .response-heading h2 {
    max-width: 20ch;
    margin-inline: auto;
    font-size: clamp(1.75rem, 7.2vw, 2.25rem);
    line-height: 1.1;
  }

  .response-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2rem;
  }

  .response-item {
    min-height: 0;
    padding: 1.5rem 0 1.75rem;
  }

  .response-item:first-child {
    padding-top: 0;
  }

  .response-item + .response-item {
    border-top: 1px solid rgb(181 147 75 / 24%);
  }

  .response-item + .response-item::before {
    display: none;
  }

  .response-item:nth-child(n + 3) {
    padding-top: 1.5rem;
    border-top: 1px solid rgb(181 147 75 / 24%);
  }

  .response-item img {
    width: 5.5rem;
    height: 5.5rem;
  }
}

/* Market Access process rebuilt to match the supplied photo-led reference. */
.page-home .page-main > section.home-process {
  position: relative;
  overflow: visible;
  background: var(--color-white);
}

.page-home .home-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2.25rem, 4.5vw, 4rem);
}

.page-home .process-copy {
  max-width: 34rem;
}

.page-home .process-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: #a77c2d;
  font-size: 0.8rem;
  letter-spacing: 0.19em;
}

.page-home .process-copy .eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: var(--color-gold-500);
  content: "";
}

.page-home .page-main > .home-process .process-copy h2 {
  max-width: 26ch;
  margin: 0 0 1.35rem;
  color: #102a42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 2.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.page-home .process-description {
  max-width: 35rem;
  margin-bottom: 1.7rem;
  color: #5d7188;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
}

.page-home .process-button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  gap: 0.9rem;
  padding-inline: 1.6rem;
  border-radius: 0.25rem;
  font-size: 1rem;
}

.page-home .process-button span {
  font-size: 1.35em;
  line-height: 1;
}

.page-home .process-visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1.38;
  margin: 0;
}

.page-home .process-visual::before,
.page-home .process-visual::after {
  position: absolute;
  z-index: -1;
  width: 38%;
  height: 39%;
  border-color: var(--color-gold-500);
  border-style: solid;
  border-width: 1px 0 0 1px;
  content: "";
  pointer-events: none;
}

.page-home .process-visual::before {
  top: -1.15rem;
  left: -1.15rem;
  border-top-left-radius: 100% 90%;
}

.page-home .process-visual::after {
  right: -1.1rem;
  bottom: -1rem;
  border-width: 0 1px 1px 0;
  border-bottom-right-radius: 100% 90%;
}

.page-home .process-visual > img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(181 147 75 / 24%);
  border-radius: 36% 23% 1.1rem 1.1rem / 46% 25% 1.1rem 1.1rem;
  object-fit: cover;
  object-position: center 52%;
  box-shadow: 0 1.25rem 2.75rem rgb(11 39 49 / 12%);
}

.page-home .process-badge {
  position: absolute;
  z-index: 2;
  right: -0.5rem;
  bottom: -0.5rem;
  display: grid;
  width: 10.5rem;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.25rem;
  color: var(--color-white);
  background: #10243d;
  box-shadow: 0 0.8rem 1.8rem rgb(11 39 49 / 18%);
}

.page-home .process-badge-rule {
  width: 2.4rem;
  height: 1px;
  background: var(--color-gold-500);
}

.page-home .process-badge > span:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

@media (max-width: 63.99rem) {
  .page-home .home-process-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .page-home .process-copy {
    max-width: 42rem;
  }

  .page-home .page-main > .home-process .process-copy h2 {
    max-width: 22ch;
  }

  .page-home .process-visual {
    width: min(100%, 48rem);
    justify-self: center;
    aspect-ratio: 1.38;
  }
}

@media (max-width: 40rem) {
  .page-home .home-process-layout {
    gap: 2rem;
  }

  .page-home .process-copy .eyebrow {
    margin-bottom: 1.15rem;
  }

  .page-home .page-main > .home-process .process-copy h2 {
    max-width: 18ch;
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.08;
  }

  .page-home .process-description {
    font-size: 1rem;
  }

  .page-home .process-visual {
    width: calc(100% - 0.5rem);
    aspect-ratio: 1.1;
  }

  .page-home .process-visual > img {
    border-radius: 34% 23% 0.9rem 0.9rem / 37% 24% 0.9rem 0.9rem;
  }

  .page-home .process-badge {
    right: 0;
    bottom: -0.4rem;
    width: 9rem;
    padding: 0.95rem 1rem 1rem;
  }

  .page-home .process-badge > span:last-child {
    font-size: 1.05rem;
  }
}

/* Services redesigned to follow the supplied editorial, three-column reference. */
.page-home .page-main > .services-section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  background: #f4f0e5;
}

.page-home .services-section .services-container {
  width: min(100% - (var(--gutter) * 2), 72.5rem);
  max-width: 72.5rem;
}

.page-home .services-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.page-home .services-heading .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  color: #a77c2d;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
}

.page-home .services-heading .eyebrow::before {
  width: 3rem;
  height: 1px;
  background: var(--color-gold-500);
  content: "";
}

.page-home .page-main > .services-section .services-heading h2 {
  max-width: 25ch;
  margin: 0;
  color: #142a43;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.page-home .services-intro {
  max-width: 35rem;
  padding-left: clamp(1.25rem, 2.4vw, 2rem);
  margin: 0;
  border-left: 1px solid var(--color-gold-500);
  color: #5d7188;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.page-home .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(1.25rem, 2.1vw, 2rem);
  margin-top: 0;
}

.page-home .services-grid .service-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 1.25rem 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.page-home .services-grid .service-card:hover {
  transform: none;
}

.page-home .services-grid .service-card-featured {
  padding: 1.25rem clamp(1.25rem, 1.8vw, 1.75rem) 1.5rem;
  border-top: 0.4rem solid #10243d;
  background: #fff;
  box-shadow: 0 0.8rem 2rem rgb(11 39 49 / 8%);
}

.page-home .service-card-top {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(0.7rem, 1.2vw, 1.1rem);
  margin-bottom: 1.2rem;
}

.page-home .services-grid .service-card-number {
  flex: 0 0 auto;
  margin: 0;
  color: #eee7dc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.page-home .services-grid .service-card-icon {
  display: grid;
  width: clamp(3.8rem, 5.2vw, 4.6rem);
  flex: 0 0 auto;
  aspect-ratio: 1;
  place-items: center;
  padding: 0.9rem;
  margin: 0;
  border: 1px solid var(--color-gold-500);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.page-home .service-card-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: var(--color-gold-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.page-home .service-card-line {
  height: 1px;
  flex: 1 1 auto;
  background: rgb(181 147 75 / 75%);
}

.page-home .services-grid .service-card h3 {
  min-height: 0;
  margin: 0 0 0.8rem;
  color: #10243d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.65vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-home .services-grid .service-card p {
  margin: 0;
  color: #5d7188;
  font-size: 0.98rem;
  line-height: 1.6;
}

.page-home .services-grid .service-card .service-situation {
  min-height: 0;
  margin-bottom: 1rem !important;
  color: #64758d !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  font-style: italic;
  line-height: 1.45;
}

.page-home .service-situation::before {
  content: "«";
}

.page-home .service-situation::after {
  content: "»";
}

.page-home .service-result {
  padding: 0;
  margin: 1.65rem 0 1.4rem;
  border: 0;
}

.page-home .service-result-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.6rem;
}

.page-home .service-result-label > span {
  width: 2.4rem;
  height: 1px;
  background: var(--color-gold-500);
}

.page-home .service-result-label strong {
  color: #a77c2d;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.page-home .services-grid .service-card .service-result p {
  color: #243a51;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  line-height: 1.55;
}

.page-home .service-action {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  margin-top: auto;
  color: var(--color-white);
  background: #10243d;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 160ms ease;
}

.page-home .service-action:hover {
  color: var(--color-white);
  background: #193b58;
}

.page-home .service-action-arrow {
  flex: 0 0 auto;
  color: #c49b4c;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 63.99rem) {
  .page-home .services-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .page-home .services-intro {
    max-width: 42rem;
  }

  .page-home .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.75rem;
  }

  .page-home .services-grid .service-card:last-child {
    width: min(100%, 32rem);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 40rem) {
  .page-home .services-heading {
    margin-bottom: 2rem;
  }

  .page-home .page-main > .services-section .services-heading h2 {
    font-size: clamp(2rem, 8.2vw, 2.6rem);
  }

  .page-home .services-intro {
    padding-left: 1rem;
    font-size: 1rem;
  }

  .page-home .services-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .page-home .services-grid .service-card,
  .page-home .services-grid .service-card-featured,
  .page-home .services-grid .service-card:last-child {
    width: 100%;
    grid-column: auto;
    padding: 1rem 0 0;
    justify-self: stretch;
  }

  .page-home .services-grid .service-card-featured {
    padding: 1rem 1rem 1.25rem;
  }

  .page-home .services-grid .service-card-number {
    font-size: 3.8rem;
  }

  .page-home .service-card-top {
    gap: 0.85rem;
  }

  .page-home .services-grid .service-card h3 {
    font-size: 1.45rem;
  }
}

/* El reto: editorial copy, a fading Cuzco photograph and architectural linework. */
.page-home .page-main > section.home-challenge:not(.home-hero) {
  position: relative;
  isolation: isolate;
  min-height: clamp(33rem, 38vw, 48rem);
  overflow: hidden;
  padding: clamp(5rem, 7.3vw, 9.5rem) 6vw clamp(6rem, 9.5vw, 12rem);
  background: #fff;
}
.challenge-city {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 46%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 45%);
}
.challenge-city img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 62%;
  transform: scale(1.4) translate(24%, -9%);
  filter: saturate(.75) brightness(1.12);
}
.challenge-architecture {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.challenge-editorial {
  width: 65%;
}
.challenge-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0 0 2rem;
  color: #9d792f;
  font-size: clamp(.8rem, 1vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.challenge-eyebrow::before {
  width: 3.5em;
  height: 1px;
  content: '';
  background: #ae8334;
}
.page-home .page-main > .home-challenge .challenge-editorial h2 {
  max-width: none;
  margin: 0 0 2.4rem;
  color: #082746;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 3.35vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.08;
}
.challenge-editorial h2 span { display: block; }
.challenge-editorial .challenge-description {
  max-width: 82%;
  margin: 0;
  color: #405771;
  font-size: clamp(1.05rem, 1.5vw, 1.85rem);
  line-height: 1.55;
}

/* Madrid: information row and four landscape photographs, as in the reference. */
.page-home .page-main > section.home-madrid {
  padding: 0 0 clamp(2.5rem, 3vw, 3.5rem);
  background: #fff;
}
.page-home .page-main > section.home-madrid .madrid-overview {
  display: grid;
  width: 92%;
  max-width: 112rem;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.1fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(1.5rem, 2.6vw, 3.25rem);
  padding: clamp(3rem, 4.5vw, 5.25rem) 0 clamp(2.5rem, 3vw, 3.5rem) 8.5vw;
}
.page-home .madrid-title-block .eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.5rem;
  color: #a77c2d;
  font-size: clamp(.75rem, .8vw, .95rem);
  letter-spacing: .19em;
}
.page-home .madrid-title-block .eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: #b5934b;
  content: '';
}
.page-home .page-main > .home-madrid .madrid-title-block h2 {
  max-width: none;
  margin: 0;
  color: #0e2439;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.5rem, 4.05vw, 5rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.page-home .madrid-title-block h2 span { display: block; }
.page-home .home-madrid .madrid-copy > p:not(.eyebrow) {
  max-width: none;
  margin: 0 0 1.4rem;
  color: #4d6583;
  font-size: clamp(1rem, 1.06vw, 1.3rem);
  line-height: 1.5;
}
.page-home .home-madrid .madrid-copy .madrid-cta {
  display: inline-flex;
  min-height: 2.9rem;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .65rem 1.35rem;
  border: 1px solid #53677f;
  border-radius: 0;
  color: #142a43;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
}
.page-home .madrid-cta span {
  color: #142a43;
  font-size: 1.25rem;
  line-height: 1;
}
.page-home .madrid-location {
  display: grid;
  min-height: 11rem;
  gap: .35rem;
  align-content: center;
  padding: .5rem 0 .5rem clamp(1.25rem, 2.1vw, 2.5rem);
  margin: 0;
  border-left: 1px solid #b5934b;
  color: #4d6583;
  font-size: clamp(.85rem, .87vw, 1.05rem);
  font-style: normal;
  line-height: 1.5;
}
.page-home .madrid-location strong {
  margin-bottom: .2rem;
  color: #142a43;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.2rem, 1.4vw, 1.65rem);
  font-weight: 500;
}
.page-home .madrid-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
}
.page-home .madrid-gallery::before {
  width: 92%;
  max-width: 112rem;
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 2.25rem;
  border-top: 1px solid #d9dedf;
  content: '';
}
.page-home .madrid-gallery img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: .2rem;
}

/* Confianza: display the supplied team artwork without cropping. */
.page-home .page-main > section.home-trust {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 0;
  height: clamp(34rem, 34vw, 40rem);
  padding: 0;
  background: #fff;
}
.trust-reference-image {
  display: block;
  width: min(92%, 92rem);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 63.99rem) {
  .page-home .page-main > section.home-challenge:not(.home-hero) { padding-block: 5rem 7rem; }
  .challenge-editorial { width: 72%; }
  .challenge-city { width: 45%; opacity: .6; }
  .page-home .page-main > section.home-madrid .madrid-overview {
    width: 90%;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    padding-left: 0;
    row-gap: 1.75rem;
  }
  .page-home .madrid-location {
    grid-column: 1 / -1;
    min-height: 0;
    padding: 1rem 0 0;
    border-top: 1px solid #b5934b;
    border-left: 0;
  }
  .page-home .madrid-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .page-home .page-main > section.home-challenge:not(.home-hero) { min-height: 0; padding: 3.5rem 5% 15rem; }
  .challenge-editorial { width: 100%; }
  .challenge-eyebrow { margin-bottom: 1.5rem; }
  .page-home .page-main > .home-challenge .challenge-editorial h2 { font-size: clamp(2rem, 7.5vw, 2.8rem); }
  .challenge-editorial h2 span { display: inline; }
  .challenge-editorial .challenge-description { max-width: 100%; font-size: 1rem; }
  .challenge-city { top: auto; width: 70%; height: 17rem; opacity: .9; }
  .challenge-architecture { opacity: .5; }
  .page-home .page-main > section.home-madrid .madrid-overview { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 3rem 2rem; }
  .page-home .page-main > .home-madrid .madrid-title-block h2 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .page-home .madrid-location { grid-column: auto; }
  .page-home .madrid-gallery::before { margin-bottom: 1.25rem; }
  .page-home .madrid-gallery img { aspect-ratio: 5 / 4; }
  .page-home .page-main > section.home-trust { height: auto; min-height: 0; }
  .trust-reference-image { width: 100%; max-height: none; }
}

/* Closing CTA: reference artwork spans the section; copy remains live HTML. */
.page-home .page-main > section.home-closing {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: 0;
  aspect-ratio: 3 / 1;
  padding: 0;
  color: #fff;
  background: radial-gradient(ellipse at 48% 55%, #062b43 0, #021c30 65%, #02192b 100%);
}
.page-home .home-closing::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: url("../img/closing-reference.png") center / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 41.7%, #000 46.5%);
  mask-image: linear-gradient(90deg, transparent 0 41.7%, #000 46.5%);
  pointer-events: none;
}
.page-home .home-closing::after {
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 4%;
  width: 1px;
  content: '';
  background: rgb(182 145 60 / 45%);
  pointer-events: none;
}
.page-home .page-main > section.home-closing .closing-content {
  display: block;
  width: 86%;
  max-width: none;
  padding: 0;
  margin-inline: auto;
  text-align: left;
}
.page-home .home-closing .closing-copy {
  position: relative;
  width: 42%;
  font-family: Arial, sans-serif;
}
.page-home .home-closing .closing-copy .eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1vw;
  margin: 0 0 1.25vw;
  color: #c79b47;
  font-family: Arial, sans-serif;
  font-size: clamp(.65rem, .75vw, 1rem);
  font-weight: 700;
  letter-spacing: .14em;
}
.page-home .home-closing .closing-copy .eyebrow::before {
  position: absolute;
  left: -3vw;
  width: .6vw;
  height: .6vw;
  content: '';
  background: #b89851;
}
.page-home .home-closing .closing-copy .eyebrow::after {
  flex: 1;
  height: 1px;
  content: '';
  background: linear-gradient(90deg, #967934, transparent);
}
.page-home .page-main > section.home-closing .closing-copy h2 {
  max-width: none;
  margin: 0 0 1.25vw;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 3.65vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  text-align: left;
  text-wrap: initial;
}
.page-home .home-closing .closing-copy h2 span { display: block; white-space: nowrap; }
.page-home .home-closing .closing-copy > p:not(.eyebrow) {
  max-width: none;
  margin: 0 0 1.85vw;
  color: #c3cdd5;
  font-family: Arial, sans-serif;
  font-size: clamp(.8rem, 1vw, 1.375rem);
  font-weight: 400;
  line-height: 1.65;
}
.page-home .home-closing .closing-copy .button-gold {
  min-height: 3.15vw;
  gap: 1.2vw;
  padding: .75vw 1.65vw;
  border: 1px solid #b69240;
  border-radius: 999px;
  color: #0c2434;
  background: linear-gradient(105deg, #c2a04f, #b68f3c);
  font-family: Arial, sans-serif;
  font-size: clamp(.8rem, 1vw, 1.25rem);
  font-weight: 600;
}
.page-home .home-closing .closing-copy .button-gold span { font-size: 1.4em; font-weight: 400; line-height: 1; }
@media (max-width: 44rem) {
  .page-home .page-main > section.home-closing { aspect-ratio: auto; padding: 3.25rem 0 22rem; }
  .page-home .page-main > section.home-closing .closing-content { width: 86%; }
  .page-home .home-closing .closing-copy { width: 100%; }
  .page-home .home-closing .closing-copy .eyebrow { gap: 1rem; margin-bottom: 1.25rem; font-size: .7rem; }
  .page-home .home-closing .closing-copy .eyebrow::before { left: -3vw; width: .3rem; height: .3rem; }
  .page-home .page-main > section.home-closing .closing-copy h2 { margin-bottom: 1.2rem; font-size: clamp(1.7rem, 6.8vw, 3rem); }
  .page-home .home-closing .closing-copy > p:not(.eyebrow) { margin-bottom: 1.5rem; font-size: 1rem; }
  .page-home .home-closing .closing-copy .button-gold { min-height: 3rem; gap: 1rem; padding: .8rem 1.2rem; font-size: .9rem; }
  .page-home .home-closing::before {
    inset: auto 0 0;
    height: 22rem;
    background-size: auto 100%;
    background-position: 72% bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%);
    mask-image: linear-gradient(180deg, transparent, #000 12%);
  }
  .team-member { grid-template-rows: auto 7rem; }
  .team-member-photo, .team-member-pascual .team-member-photo, .team-member-luis .team-member-photo, .team-member-aaron .team-member-photo { aspect-ratio: 3 / 4; }
}
