/* Additional page layouts only. Homepage styles remain in style.css. */
.reimagined-page {
  --page-gutter: 20px;
  --gallery-gap: 20px;
  --page-section-space: 120px;
}

/* Same fixed header, dark ink over the white title band at the top. */
.reimagined-page .header {
  color: var(--ink);
  height: 124px;
}
.reimagined-page .header-logo img {
  filter: invert(1);
}
.page-heading {
  height: 278px;
  padding-top: 102px;
}
.page-heading-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 341px 1fr;
  align-items: center;
  padding-bottom: 18px;
}
.page-heading h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 5px;
  white-space: nowrap;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
  color: #777;
  font-size: 20px;
  font-weight: 400;
  min-height: 44px;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 300ms ease-out, text-decoration-color 300ms ease-out;
}
.back-home span {
  width: 9px;
  height: 9px;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(0) rotate(45deg);
  transition: transform 300ms ease-out;
}
.back-home:is(:hover, :focus-visible) {
  color: #333;
  text-decoration-color: currentColor;
}
.back-home:is(:hover, :focus-visible) span {
  transform: translateX(-5px) rotate(45deg);
}
.page-film {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 780;
  background: #101111;
  overflow: hidden;
}
.page-film .hero-video {
  inset: 0;
}
.page-film video:not([src]):not(:has(source)) {
  visibility: hidden;
}

/* Shared introduction and two-column editorial galleries. */
.page-content {
  padding: 60px 0 var(--page-section-space);
}
.page-intro {
  max-width: 1040px;
  width: calc(100% - 80px);
  text-align: center;
  margin: 0 auto 60px;
}
.page-intro h2 {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
}
.page-intro p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}
.page-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gallery-gap);
}
.page-image {
  overflow: hidden;
  aspect-ratio: 1880 / 1064;
}
.page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .page-image:hover img {
    transform: scale(1.025);
  }
}
.page-gallery figcaption {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 13px;
}
.future-page .page-gallery {
  row-gap: 20px;
}

/* Life: a centred thumbnail rail with the full, uncropped artwork below. */
.life-content {
  padding-top: 48px;
}
.life-content .page-intro {
  margin-bottom: 50px;
}
.life-gallery {
  overflow: hidden;
}
.life-thumbnails {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(800px, 100%);
  height: 180px;
  margin: 0 auto 50px;
  overflow: hidden;
}
.life-thumbnails::before,
.life-thumbnails::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 65px;
  pointer-events: none;
  z-index: 3;
}
.life-thumbnails::before {
  left: 0;
  background: linear-gradient(90deg, white, #fff0);
}
.life-thumbnails::after {
  right: 0;
  background: linear-gradient(270deg, white, #fff0);
}
.life-thumb {
  position: absolute;
  width: 180px;
  height: 180px;
  padding: 0;
  flex: none;
  transform: translateX(var(--thumb-x, 0px)) scale(0.78);
  clip-path: inset(14.3% 0);
  transition:
    transform 0.7s var(--ease),
    clip-path 0.7s var(--ease),
    opacity 0.7s ease;
  opacity: 0.85;
}
.life-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.life-thumb.is-active {
  transform: translateX(0) scale(1);
  clip-path: inset(0);
  opacity: 1;
  z-index: 2;
}
.life-thumb:focus-visible {
  outline-offset: -3px;
}
.life-gallery .life-thumb.is-repositioning {
  transition: none;
}
.life-gallery .life-thumb.is-wrapping {
  opacity: 0;
}
.life-stage {
  width: min(900px, calc(100% - 80px));
  aspect-ratio: 2000 / 1311;
  position: relative;
  margin-inline: auto;
  touch-action: pan-y;
}
.life-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.7s ease,
    visibility 0.7s;
}
.life-panel.is-active {
  opacity: 1;
  visibility: visible;
}
.life-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Same footer content, with the reference's brand-first mobile arrangement. */
.reimagined-page .footer {
  min-height: 600px;
  padding-bottom: 36px;
}
.reimagined-page .footer-links h2 {
  text-transform: none;
}

@media (max-width: 1100px) {
  .page-heading-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .page-heading h1 {
    font-size: 23px;
    letter-spacing: 4px;
  }
  .wide-break {
    display: none;
  }
  .page-intro {
    max-width: 800px;
  }
}

@media (max-width: 800px) {
  .reimagined-page .header {
    height: 76px;
  }
  .page-heading {
    height: 237px;
    padding-top: 76px;
  }
  .page-heading-inner {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 0 0;
  }
  .back-home {
    font-size: 16px;
    gap: 16px;
    align-self: start;
  }
  .back-home span {
    width: 7px;
    height: 7px;
  }
  .page-heading h1 {
    text-align: center;
    margin-top: 35px;
    font-size: 18px;
    letter-spacing: 4px;
  }
  .page-film {
    aspect-ratio: auto;
    height: 720px;
  }
  .page-film .hero-video {
    object-position: 50% 50%;
  }
  .page-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .page-intro {
    width: calc(100% - 60px);
    margin-bottom: 60px;
  }
  .page-intro h2,
  .page-intro p {
    font-size: 14px;
    line-height: 21px;
  }
  .page-intro h2 {
    margin-bottom: 20px;
  }
  .page-gallery {
    width: calc(100% - 40px);
  }
  .page-gallery figcaption {
    font-size: 14px;
    line-height: 21px;
  }
  .life-content {
    padding-top: 88px;
  }
  .life-content .page-intro {
    margin-bottom: 46px;
  }
  .life-thumbnails {
    width: 100%;
    height: 130px;
    margin-bottom: 46px;
  }
  .life-thumb {
    width: 130px;
    height: 130px;
  }
  .life-thumbnails::before,
  .life-thumbnails::after {
    display: none;
  }
  .life-stage {
    width: 100%;
  }
  .reimagined-page .footer {
    padding: 50px 20px 28px;
    min-height: 734px;
  }
  .reimagined-page .footer-top {
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
    row-gap: 34px;
  }
  .reimagined-page .footer-brand {
    grid-area: 1 / 1 / 2 / 3;
    justify-self: start;
    margin: 0;
  }
  .reimagined-page .brand-lockup {
    gap: 40px;
  }
  .reimagined-page .brand-lockup img {
    width: 94px;
  }
  .reimagined-page .brand-lockup span {
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 300;
  }
  .reimagined-page .brand-lockup span::before {
    left: -20px;
    top: -4px;
    bottom: -4px;
  }
  .reimagined-page .social-links {
    justify-content: start;
    margin-top: 24px;
  }
  .reimagined-page .footer-links {
    gap: 14px;
    font-size: 10px;
  }
  .reimagined-page .footer-links h2 {
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 18px;
  }
  .reimagined-page .footer-projects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
    row-gap: 28px;
    margin-top: 50px;
    font-size: 9px;
  }
  .reimagined-page .footer-projects a {
    border: 0;
    padding: 0;
    font-size: inherit;
    line-height: 16px;
    font-weight: 400;
    gap: 18px;
  }
  .reimagined-page .footer-projects span {
    flex: none;
  }
  .reimagined-page .footer-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 55px;
    font-size: 6px;
    line-height: 12px;
  }
  .reimagined-page .footer-copyright {
    margin: 0;
    width: auto;
    text-align: right;
  }
}

@media (max-width: 540px) {
  .reimagined-page .header {
    padding-inline: 20px;
    height: 100px;
  }
  .reimagined-page .header-logo img {
    width: 66px;
  }
  .reimagined-page .header-logo,
  .reimagined-page .menu-toggle {
    transform: translateY(18px);
  }
  .life-page .header-logo,
  .life-page .menu-toggle {
    transform: translateY(21px);
  }
  .reimagined-page .header nav {
    top: 100px;
  }
  .reimagined-page .menu-toggle {
    color: #aaa;
  }
  .reimagined-page .menu-toggle span {
    width: 16px;
  }
  .page-heading {
    padding-top: 100px;
  }
  .page-heading-inner {
    padding-top: 0;
  }
  .page-heading h1 {
    margin-top: 28px;
  }
  .life-page .page-heading h1 {
    margin-top: 31px;
  }
  .life-page .page-heading {
    height: 234px;
  }
  .page-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-image {
    aspect-ratio: 350 / 219;
  }
  .future-page .page-gallery {
    row-gap: 39px;
  }
  .page-gallery figcaption {
    margin-top: 12px;
  }
  .design-page .page-gallery figure:last-child {
    margin-top: -10px;
  }
  .page-intro {
    width: calc(100% - 60px);
  }
  .page-intro h2 {
    margin-bottom: 20px;
  }
  .design-page .page-intro {
    margin-bottom: 40px;
  }
  .future-page .page-intro {
    margin-bottom: 40px;
  }
  .life-content .page-intro h2 {
    margin-bottom: 20px;
  }
  .life-content .page-intro {
    width: calc(100% - 50px);
    margin-bottom: 46px;
  }
  .life-stage {
    aspect-ratio: 390 / 245;
  }
  .life-panel img {
    object-fit: cover;
  }
  .reimagined-page .footer-links {
    letter-spacing: 0.8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .life-thumb,
  .life-panel,
  .back-home,
  .back-home span,
  .page-image img {
    transition: none;
  }
  .back-home:is(:hover, :focus-visible) span {
    transform: translateX(0) rotate(45deg);
  }
}
