.photo-gallery-page .site-header {
  position: absolute;
  background: rgba(255, 255, 255, 0.77);
}

.photo-gallery-page .site-header.is-scrolled {
  position: fixed;
  background: #fff;
}

.photo-gallery-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  contain: paint;
  background: #082033;
  color: #fff;
  animation: tirrenaCompanyPageFadeIn 1000ms ease both;
}

.photo-gallery-hero::after {
  position: absolute;
  right: max(30px, calc(50% - 600px));
  bottom: clamp(34px, 6vw, 78px);
  z-index: 0;
  width: clamp(170px, 24vw, 340px);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 42%, var(--tirrena-teal));
  content: "";
  opacity: 0.72;
}

.photo-gallery-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

.photo-gallery-hero__ghost {
  width: 790px;
  max-width: 100%;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: clamp(80px, 8.5vw, 128px);
  font-weight: 700;
  line-height: 0.86;
  opacity: 0;
  transform: translateX(-90px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 600ms forwards;
  will-change: opacity, transform;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.photo-gallery-hero h1 {
  width: 790px;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 700;
  line-height: 0.98;
  opacity: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transform: translateX(-70px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 1100ms forwards;
  will-change: opacity, transform;
}

.photo-gallery-hero__lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
  opacity: 0;
  transform: translateX(-46px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 1450ms forwards;
  will-change: opacity, transform;
}

.photo-gallery-eyebrow {
  margin: 0 0 14px;
  color: var(--tirrena-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.photo-gallery-intro {
  overflow: hidden;
  padding: 88px 0 74px;
  background:
    linear-gradient(180deg, #fff 0%, rgba(242, 247, 245, 0.86) 100%);
}

.photo-gallery-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 5.4vw, 78px);
  align-items: center;
}

.photo-gallery-intro h2,
.photo-gallery-video h2,
.photo-gallery-wall__heading h2 {
  margin: 0;
  color: var(--tirrena-heading);
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.06;
}

.photo-gallery-intro h2 span,
.photo-gallery-video h2 span,
.photo-gallery-wall__heading h2 span {
  color: var(--tirrena-teal);
}

.photo-gallery-intro__copy > p:not(.photo-gallery-eyebrow),
.photo-gallery-video__copy > p:not(.photo-gallery-eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--tirrena-text);
  font-size: 18px;
  line-height: 1.72;
}

.photo-gallery-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-top: 5px solid rgba(0, 118, 154, 0.86);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(45, 51, 99, 0.1);
}

.photo-gallery-stat {
  min-width: 0;
  padding: 26px 20px;
  border: 1px solid rgba(45, 51, 99, 0.12);
  border-top: 0;
}

.photo-gallery-stat + .photo-gallery-stat {
  border-left: 0;
}

.photo-gallery-stat dt {
  margin: 0;
  color: var(--tirrena-blue);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1;
}

.photo-gallery-stat dd {
  margin: 10px 0 0;
  color: var(--tirrena-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.photo-gallery-video {
  overflow: hidden;
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(0, 118, 154, 0.2), rgba(36, 41, 79, 0) 42%),
    #24294f;
  color: #fff;
}

.photo-gallery-video__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.52fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.photo-gallery-video .photo-gallery-eyebrow {
  color: #62d3e7;
}

.photo-gallery-video h2 {
  color: #fff;
}

.photo-gallery-video__copy > p:not(.photo-gallery-eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.photo-gallery-video__frame {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--tirrena-teal);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.photo-gallery-video__player {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #d8e5ec;
}

.photo-gallery-wall {
  overflow: hidden;
  padding: 92px 0 86px;
  background:
    linear-gradient(180deg, rgba(224, 239, 238, 0.68), rgba(255, 255, 255, 0) 260px),
    #fff;
}

.photo-gallery-wall__heading {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.36fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.photo-gallery-wall__heading .photo-gallery-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

@media (prefers-reduced-motion: reduce) {
  .photo-gallery-hero,
  .photo-gallery-hero__ghost,
  .photo-gallery-hero h1,
  .photo-gallery-hero__lead {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 960px) {
  .photo-gallery-hero {
    min-height: 430px;
  }

  .photo-gallery-hero__inner {
    padding-top: 60px;
  }

  .photo-gallery-hero__ghost {
    margin-bottom: -28px;
    font-size: 74px;
    line-height: 66px;
  }

  .photo-gallery-hero h1 {
    font-size: 42px;
    line-height: 54px;
  }

  .photo-gallery-intro {
    padding: 70px 0 64px;
  }

  .photo-gallery-intro__inner,
  .photo-gallery-video__layout {
    grid-template-columns: 1fr;
  }

  .photo-gallery-video {
    padding: 70px 0;
  }

  .photo-gallery-wall {
    padding: 70px 0 64px;
  }

  .photo-gallery-wall__heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .photo-gallery-wall__heading .photo-gallery-eyebrow {
    margin-bottom: 0;
  }

}

@media (max-width: 560px) {
  .photo-gallery-hero {
    min-height: 430px;
  }

  .photo-gallery-hero__ghost {
    margin-bottom: -18px;
    font-size: 54px;
    line-height: 50px;
  }

  .photo-gallery-hero h1 {
    font-size: 36px;
    line-height: 42px;
  }

  .photo-gallery-hero__lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .photo-gallery-intro,
  .photo-gallery-video,
  .photo-gallery-wall {
    padding: 54px 0;
  }

  .photo-gallery-intro h2,
  .photo-gallery-video h2,
  .photo-gallery-wall__heading h2 {
    font-size: 30px;
    line-height: 35px;
  }

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

  .photo-gallery-stat + .photo-gallery-stat {
    border-top: 0;
    border-left: 1px solid rgba(45, 51, 99, 0.12);
  }

  .photo-gallery-video__frame {
    padding: 6px;
  }

}

.download-page .site-header {
  position: absolute;
  background: rgba(255, 255, 255, 0.77);
}

.download-page .site-header.is-scrolled {
  position: fixed;
  background: #fff;
}

.download-hero {
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  contain: paint;
  background: #082033;
  color: #fff;
  animation: tirrenaCompanyPageFadeIn 1000ms ease both;
}

.download-hero__inner {
  position: relative;
  z-index: 1;
}

.download-hero__ghost {
  width: 790px;
  max-width: 100%;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 102px;
  opacity: 0;
  transform: translateX(-90px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 600ms forwards;
  will-change: opacity, transform;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
  text-stroke: 1px rgba(255, 255, 255, 0.76);
}

.download-hero h1 {
  width: 790px;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 82.5px;
  opacity: 0;
  transform: translateX(-70px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 1100ms forwards;
  will-change: opacity, transform;
}

.download-content {
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    linear-gradient(180deg, rgba(0, 118, 154, 0.08), rgba(255, 255, 255, 0) 280px),
    #fff;
}

.download-content .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.45fr);
  gap: 26px;
  align-items: stretch;
}

.download-section {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(45, 51, 99, 0.14);
  border-top: 5px solid rgba(0, 118, 154, 0.86);
  background: linear-gradient(135deg, rgba(242, 247, 245, 0.96), #fff 58%);
  box-shadow: 0 18px 42px rgba(45, 51, 99, 0.08);
  color: var(--tirrena-text);
}

.download-section::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 118px;
  height: 118px;
  border-bottom-left-radius: 118px;
  background: rgba(0, 118, 154, 0.07);
  content: "";
  pointer-events: none;
}

.download-section--sectors {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.download-section h2 {
  position: relative;
  margin: 0;
  color: var(--tirrena-heading);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.08;
}

.download-section h2 span {
  color: var(--tirrena-teal);
}

.download-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download-card-item {
  margin: 0;
}

.download-card {
  display: grid;
  min-height: 72px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(45, 51, 99, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(45, 51, 99, 0.06);
  color: var(--tirrena-blue);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: rgba(0, 118, 154, 0.52);
  box-shadow: 0 14px 28px rgba(0, 118, 154, 0.12);
  transform: translateY(-2px);
}

.download-card__mark,
.download-sector__mark {
  display: inline-grid;
  width: 54px;
  height: 46px;
  place-items: center;
  background: var(--tirrena-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.download-card__title {
  color: var(--tirrena-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.download-card:hover .download-card__title,
.download-card:focus-visible .download-card__title {
  color: var(--tirrena-teal);
}

.download-sector-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.download-sector {
  padding: 20px;
  border: 1px solid rgba(45, 51, 99, 0.13);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(45, 51, 99, 0.06);
}

.download-sector__heading {
  display: grid;
  min-height: 70px;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.download-sector__mark {
  width: 46px;
  height: 40px;
  background: var(--tirrena-teal);
  font-size: 11px;
}

.download-sector h3 {
  margin: 0;
  color: var(--tirrena-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.download-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.download-flags a {
  display: flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(45, 51, 99, 0.12);
  background: rgba(242, 247, 245, 0.74);
  color: var(--tirrena-blue);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.download-flags a:hover,
.download-flags a:focus-visible {
  border-color: rgba(0, 118, 154, 0.46);
  background: #fff;
  transform: translateY(-1px);
}

.download-flags img {
  display: block;
  width: 34px;
  height: 20px;
  flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(45, 51, 99, 0.12);
  object-fit: cover;
}

.download-flag-code {
  color: var(--tirrena-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

@media (prefers-reduced-motion: reduce) {
  .download-hero,
  .download-hero__ghost,
  .download-hero h1 {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 960px) {
  .download-hero {
    min-height: 430px;
  }

  .download-hero__ghost {
    margin-bottom: -28px;
    font-size: 74px;
    line-height: 66px;
  }

  .download-hero h1 {
    font-size: 42px;
    line-height: 54px;
  }

  .download-content {
    padding: 64px 0;
  }

  .download-content .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .download-section {
    padding: 24px;
  }

  .download-section--sectors {
    grid-column: auto;
    grid-row: auto;
  }

  .download-section h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .download-sector-list {
    grid-template-columns: 1fr;
  }

  .download-sector__heading {
    min-height: 0;
  }

}

@media (max-width: 560px) {
  .download-content {
    padding: 52px 0;
  }

  .download-section {
    padding: 18px;
  }

  .download-section h2 {
    font-size: 29px;
    line-height: 34px;
  }

  .download-card {
    min-height: 64px;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }

  .download-card__mark {
    width: 46px;
    height: 40px;
    font-size: 11px;
  }

  .download-sector {
    padding: 16px;
  }

  .download-flags {
    gap: 8px;
  }
}
