.realisations-page {
  --realisation-ink: #071d2e;
  --realisation-muted: #64727e;
  --realisation-line: rgba(1, 40, 71, .14);
  background: #f5f6f4;
  overflow: hidden;
}

.realisations-hero {
  padding: 30px 0 78px;
}

.realisations-hero__inner {
  display: grid;
  grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr);
  min-height: 650px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 70px rgba(1, 40, 71, .18);
}

.realisations-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 92px);
  color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(254, 189, 43, .18), transparent 30%),
    var(--navy);
}

.realisations-hero__content::after {
  content: '';
  position: absolute;
  right: -52px;
  bottom: -86px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
}

.realisations-eyebrow,
.section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.realisations-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 26px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
}

.realisations-hero h1 {
  max-width: 620px;
  margin: 0 0 26px;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.065em;
}

.realisations-hero h1 span {
  color: var(--gold);
}

.realisations-hero__content p {
  max-width: 530px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.75;
}

.realisations-scroll-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.realisations-scroll-link span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  transition: transform .2s ease, background .2s ease;
}

.realisations-scroll-link:hover {
  color: #fff;
  text-decoration: none;
}

.realisations-scroll-link:hover span {
  transform: translateY(3px);
  background: rgba(255, 255, 255, .1);
}

.realisations-hero__visual {
  position: relative;
  min-width: 0;
}

.realisations-hero__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 40, 71, .25), transparent 32%);
  pointer-events: none;
}

.realisations-hero__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisations-hero__caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  display: flex;
  min-width: 225px;
  flex-direction: column;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 14px;
  color: #fff;
  background: rgba(1, 40, 71, .82);
  backdrop-filter: blur(10px);
}

.realisations-hero__caption span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.realisations-intro {
  padding: 18px 0 82px;
}

.realisations-intro__grid,
.realisations-cta__inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 80px;
  align-items: end;
}

.section-kicker {
  margin-bottom: 16px;
  color: #a47100;
}

.realisations-intro h2,
.realisations-cta h2 {
  margin: 0;
  color: var(--realisation-ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.realisations-intro__grid > p {
  margin: 0;
  color: var(--realisation-muted);
  font-size: 16px;
  line-height: 1.8;
}

.project-jump {
  display: flex;
  gap: 10px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--realisation-line);
}

.project-jump a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--realisation-line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, .66);
  transition: transform .2s ease, background .2s ease;
}

.project-jump a span {
  color: #9a6b00;
  font-size: 10px;
  letter-spacing: .08em;
}

.project-jump a:hover {
  transform: translateY(-2px);
  color: var(--navy);
  text-decoration: none;
  background: #fff;
}

.projects-list {
  padding-bottom: 30px;
}

.project {
  padding: 76px 0;
  border-top: 1px solid var(--realisation-line);
  scroll-margin-top: 96px;
}

.project__header {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 34px;
  align-items: start;
  margin-bottom: 36px;
}

.project__number {
  color: rgba(1, 40, 71, .24);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .08em;
}

.project__location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #7a8790;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project__location span {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.project__heading h2 {
  margin: 0;
  color: var(--realisation-ink);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.project__summary {
  padding-left: 26px;
  border-left: 2px solid var(--gold);
}

.project__type {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project__summary p {
  margin: 0;
  color: var(--realisation-muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-gallery {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.project-gallery__item {
  position: relative;
  grid-column: span 4;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: #dfe3e4;
}

.project-gallery__item--featured {
  grid-column: span 8;
  grid-row: span 2;
}

.project-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .3s ease;
}

.project-gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(1, 25, 42, .28));
  opacity: 0;
  transition: opacity .25s ease;
}

.project-gallery__zoom {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  font-size: 24px;
  font-weight: 400;
  background: rgba(255, 255, 255, .92);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.project-gallery__item:hover img,
.project-gallery__item:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.project-gallery__item:hover::after,
.project-gallery__item:focus-visible::after,
.project-gallery__item:hover .project-gallery__zoom,
.project-gallery__item:focus-visible .project-gallery__zoom {
  opacity: 1;
}

.project-gallery__item:hover .project-gallery__zoom,
.project-gallery__item:focus-visible .project-gallery__zoom {
  transform: translateY(0);
}

.project-gallery--portrait .project-gallery__item {
  grid-column: span 6;
  aspect-ratio: 3 / 4;
  max-height: 690px;
}

.project-gallery--portrait .project-gallery__item--featured {
  grid-row: auto;
}

.realisations-cta {
  padding: 88px 0;
  color: #fff;
  background: var(--navy);
}

.realisations-cta .section-kicker,
.realisations-cta h2 {
  color: #fff;
}

.realisations-cta .section-kicker {
  opacity: .62;
}

.realisations-cta__action {
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}

.realisations-cta__action p {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

.gallery-dialog {
  width: min(94vw, 1400px);
  max-width: none;
  height: min(92vh, 920px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #071825;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}

.gallery-dialog::backdrop {
  background: rgba(0, 16, 28, .88);
  backdrop-filter: blur(6px);
}

.gallery-dialog img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-dialog__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0 0 4px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  background: rgba(1, 40, 71, .82);
  cursor: pointer;
}

@media (max-width: 991px) {
  .realisations-hero__inner {
    grid-template-columns: 1fr;
  }

  .realisations-hero__visual {
    min-height: 440px;
  }

  .realisations-intro__grid,
  .realisations-cta__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project__header {
    grid-template-columns: 60px 1fr;
  }

  .project__summary {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .realisations-hero {
    padding: 16px 0 54px;
  }

  .realisations-hero__inner {
    min-height: 0;
    border-radius: 18px;
  }

  .realisations-hero__content {
    padding: 44px 26px 48px;
  }

  .realisations-hero h1 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .realisations-hero__visual {
    min-height: 330px;
  }

  .realisations-hero__caption {
    right: 16px;
    bottom: 16px;
    min-width: 0;
  }

  .realisations-intro {
    padding-bottom: 50px;
  }

  .project-jump {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .project-jump a {
    flex: 0 0 auto;
  }

  .project {
    padding: 54px 0;
  }

  .project__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .project__number {
    font-size: 14px;
  }

  .project__summary {
    grid-column: auto;
    padding-left: 18px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery__item,
  .project-gallery__item--featured,
  .project-gallery--portrait .project-gallery__item {
    grid-column: auto;
    grid-row: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .project-gallery--portrait .project-gallery__item {
    aspect-ratio: 3 / 4;
  }

  .project-gallery__zoom {
    opacity: 1;
    transform: none;
  }

  .realisations-cta {
    padding: 66px 0;
  }

  .realisations-cta__action {
    padding-left: 18px;
  }

  .gallery-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-gallery__item img,
  .project-jump a,
  .realisations-scroll-link span {
    transition: none;
  }
}
