/* Homepage 2026 — breakpoints follow the Figma frames: 1920+, 1200, 768, 360 */

@font-face {
  font-family: "ABCMonumentGrotesk";
  src: url("../fonts/ABCMonumentGrotesk/ABCMonumentGrotesk-Regular.woff2") format("woff2"),
    url("../fonts/ABCMonumentGrotesk/ABCMonumentGrotesk-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ABCMonumentGroteskMono";
  src: url("../fonts/ABCMonumentGroteskMono/ABCMonumentGroteskMono-Medium.woff2") format("woff2"),
    url("../fonts/ABCMonumentGroteskMono/ABCMonumentGroteskMono-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "TiemposHeadline";
  src: url("../fonts/TiemposHeadline/TiemposHeadline-Regular.woff2") format("woff2"),
    url("../fonts/TiemposHeadline/TiemposHeadline-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

.hp26 {
  --hp26-heading: "ABCMonumentGrotesk", Tahoma, sans-serif;
  --hp26-body: "TiemposHeadline", Georgia, serif;
  --hp26-mono: "ABCMonumentGroteskMono", monospace;
  --hp26-dark: #000;
  --hp26-lead-dark: #333;
  --hp26-ink: #000;
  --hp26-pad: 50px;
  --hp26-heading-pad: 20px;
  --hp26-heading-gap: 35px;
  --hp26-gap: 50px;
  --hp26-row-gap: 100px;
  --hp26-title-gap: 10px;
  --hp26-label-size: 18px;
  --hp26-label-lh: 25px;
  --hp26-title-size: 40px;
  --hp26-title-lh: 40px;
  --hp26-title-ls: -0.5px;
  --hp26-subtitle-size: 26px;
  --hp26-subtitle-lh: 36px;
  --hp26-heading-size: 50px;
  --hp26-heading-lh: 60px;
  --hp26-lead-title-size: 90px;
  --hp26-lead-title-lh: 90px;
  --hp26-lead-title-ls: -0.5px;
  --hp26-lead-subtitle-size: 50px;
  --hp26-lead-subtitle-lh: 50px;
  --hp26-lead-subtitle-ls: -0.5px;
}

@media (max-width: 1919px) {
  .hp26 {
    --hp26-title-size: 30px;
    --hp26-title-lh: 30px;
  }
}

@media (max-width: 1599px) {
  .hp26 {
    --hp26-subtitle-size: 22px;
    --hp26-subtitle-lh: 32px;
    --hp26-lead-title-size: 80px;
    --hp26-lead-title-lh: 80px;
    --hp26-lead-subtitle-size: 30px;
    --hp26-lead-subtitle-lh: 30px;
  }
}

@media (max-width: 1199px) {
  .hp26 {
    --hp26-row-gap: 50px;
    --hp26-title-gap: 5px;
    --hp26-title-size: 25px;
    --hp26-title-lh: 25px;
    --hp26-subtitle-size: 18px;
    --hp26-subtitle-lh: 25px;
    --hp26-lead-title-size: 70px;
    --hp26-lead-title-lh: 70px;
    --hp26-lead-subtitle-size: 30px;
    --hp26-lead-subtitle-lh: 40px;
  }
}

@media (max-width: 599px) {
  .hp26 {
    --hp26-pad: 25px;
    --hp26-heading-pad: 15px;
    --hp26-heading-gap: 25px;
    --hp26-heading-size: 40px;
    --hp26-heading-lh: 50px;
    --hp26-lead-title-size: 50px;
    --hp26-lead-title-lh: 50px;
  }
}

.hp26 a:not(.btn) {
  color: inherit;
  text-decoration: none;
	
}

.hp26 .button-cta a.btn-primary:hover {
  color: #000;
}

.hp26 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shared type */

.hp26-label {
  margin: 0;
  font-family: var(--hp26-mono);
  font-weight: 500;
  font-size: var(--hp26-label-size);
  line-height: var(--hp26-label-lh);
  color: var(--hp26-ink);
  text-transform: uppercase;
}

.hp26-title {
  margin: 0;
  font-family: var(--hp26-heading);
  font-weight: 400;
  font-size: var(--hp26-title-size);
  line-height: var(--hp26-title-lh);
  letter-spacing: var(--hp26-title-ls);
  color: #000;
}

.hp26-subtitle {
  margin: 0;
  font-family: var(--hp26-body);
  font-weight: 300;
  font-size: var(--hp26-subtitle-size);
  line-height: var(--hp26-subtitle-lh);
  color: var(--hp26-ink);
}

.hp26-title a:hover,
.hp26-spotlight__title a:hover,
.hp26-section__heading a:hover {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: .09375rem;
}

/* One link per card: the title link stretches over the whole card, image included */
.hp26-card {
  position: relative;
}

.hp26-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Label and subtitle sit above the link so their text stays selectable */
.hp26-card .hp26-label,
.hp26-card .hp26-subtitle {
  position: relative;
  z-index: 1;
}

/* Spotlight: only the image and title are linked; hovering the image underlines the title */
.hp26-spotlight__inner:has(.hp26-spotlight__image:hover) .hp26-spotlight__title a {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: .09375rem;
}

/* Cards */

.hp26-card {
  --hp26-card-gap: 15px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Margins rather than gap, so an empty label row in a subgrid adds no space */
.hp26-card .hp26-label {
  margin-bottom: var(--hp26-card-gap);
}

.hp26-card__image + .hp26-card__text {
  margin-top: var(--hp26-card-gap);
}

.hp26-card__text {
  display: flex;
  flex-direction: column;
  gap: var(--hp26-title-gap);
}

.hp26-card__image {
  display: block;
  aspect-ratio: 340 / 211;
  overflow: hidden;
}

.hp26-card--large .hp26-card__image {
  aspect-ratio: 1191 / 750;
}

/* Sections */

.hp26-section {
  padding: var(--hp26-pad);
}

.hp26-section--dark {
  --text-primary: #fff;
  background: var(--hp26-dark);
}

.hp26-section--dark :is(.hp26-label, .hp26-title, .hp26-subtitle, .hp26-section__heading) {
  color: #fff;
}

.hp26-section__heading {
  margin: 0 0 var(--hp26-heading-gap);
  padding-bottom: var(--hp26-heading-pad);
  border-bottom: 1px solid #9E9E9E;
  font-family: var(--hp26-body);
  font-weight: 300;
  font-size: var(--hp26-heading-size);
  line-height: var(--hp26-heading-lh);
  color: #000;
}

.hp26-section__stories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  --hp26-stories-gap: var(--hp26-row-gap);
  gap: var(--hp26-stories-gap) var(--hp26-gap);
}

/*
  Cards share rows so a wrapped label keeps the images in a row aligned.
  The grid's row gap would also land between each card's own rows, so cards are spaced with margins instead.
*/
.hp26-section__stories:not(:has(.hp26-card--large)),
.hp26-section--feature .hp26-section__stories {
  row-gap: 0;
  margin-top: calc(-1 * var(--hp26-stories-gap));
}

.hp26-section__stories:not(:has(.hp26-card--large)) .hp26-card,
.hp26-section--feature .hp26-card {
  margin-top: var(--hp26-stories-gap);
}

.hp26-section__stories:not(:has(.hp26-card--large)) .hp26-card,
.hp26-section--feature .hp26-card--standard {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
}

.hp26-card .hp26-card__image {
  grid-row: 2;
}

.hp26-card .hp26-card__text {
  grid-row: 3;
}

/* With a large story the grid becomes two columns, 30/70, centred against each other */
.hp26-section--grid .hp26-section__stories:has(.hp26-card--large) {
  grid-template-columns: 3fr 7fr;
  column-gap: 40px;
  align-items: center;
}

.hp26-section--grid .hp26-section__stories:has(.hp26-card--large:first-child) {
  grid-template-columns: 7fr 3fr;
}

.hp26-section--grid .hp26-section__stories:has(.hp26-card--large) .hp26-card--standard .hp26-card__image {
  aspect-ratio: 589 / 506;
}

/* Feature: first story large on the left, the rest two-by-two on the right */
.hp26-section--feature .hp26-section__stories {
  grid-template-columns: 3fr 1fr 1fr;
  /* Two rows of cards; the last text track absorbs the large story's extra height */
  grid-template-rows: repeat(5, auto) 1fr;
  --hp26-stories-gap: var(--hp26-gap);
  column-gap: var(--hp26-gap);
}

.hp26-section--feature .hp26-card--large {
  grid-column: 1;
  grid-row: span 6;
}

.hp26-section--feature .hp26-card--large .hp26-card__image {
  aspect-ratio: 1064 / 800;
}

.hp26-section--feature .hp26-card--standard .hp26-card__image {
  aspect-ratio: 328 / 273;
}

@media (max-width: 1599px) {
  .hp26-section--feature .hp26-card--large .hp26-card__image {
    aspect-ratio: 1;
  }
}

@media (max-width: 1199px) {
  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large),
  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large:first-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large) {
    row-gap: 0;
    margin-top: calc(-1 * var(--hp26-stories-gap));
  }

  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large) .hp26-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: 0;
    align-content: start;
    margin-top: var(--hp26-stories-gap);
  }

  .hp26-section--feature .hp26-section__stories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .hp26-section--feature .hp26-card--large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hp26-section--feature .hp26-card--large .hp26-card__image {
    aspect-ratio: 668 / 690;
  }

  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large) .hp26-card__image {
    aspect-ratio: 589 / 506;
  }
}

@media (max-width: 599px) {
  .hp26-section__stories,
  .hp26-section--feature .hp26-section__stories,
  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large),
  .hp26-section--grid .hp26-section__stories:has(.hp26-card--large:first-child) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Spotlight */

.hp26-spotlight {
  --text-primary: #fff;
  padding: var(--hp26-pad) var(--hp26-pad) 0;
  background: var(--hp26-dark);
  color: var(--text-primary);
}

.hp26-spotlight .hp26-label {
  margin-bottom: 10px;
  color: var(--text-primary);
}

.hp26-spotlight__inner {
  display: flex;
  align-items: center;
  gap: var(--hp26-gap);
}

.hp26-spotlight__image {
  display: block;
  flex: 0 0 40%;
  aspect-ratio: 768 / 700;
  overflow: hidden;
}

.hp26-spotlight__text {
  display: flex;
  flex-direction: column;
  gap: var(--hp26-title-gap);
  flex: 1;
  min-width: 0;
}

.hp26-spotlight__title {
  margin: 0;
  font-family: var(--hp26-heading);
  font-weight: 400;
  font-size: var(--hp26-lead-title-size);
  line-height: var(--hp26-lead-title-lh);
  letter-spacing: var(--hp26-lead-title-ls)
}

.hp26-spotlight__subtitle {
  margin: 0;
  font-family: var(--hp26-body);
  font-weight: 300;
  font-size: var(--hp26-lead-subtitle-size);
  line-height: var(--hp26-lead-subtitle-lh);
  letter-spacing: var(--hp26-lead-subtitle-ls);
}

/* Lead: solid band 70vh tall on desktop and tablet, natural height on mobile, image and copy centred in it */
.hp26-spotlight--lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 70vh;
  padding-bottom: var(--hp26-pad);
  background: var(--hp26-lead-dark);
}

.hp26-spotlight--lead .hp26-spotlight__inner {
  justify-content: center;
}

.hp26-spotlight--lead .hp26-spotlight__text {
  max-width: 700px;
}

@media (min-width: 1200px) {
  .hp26-spotlight--lead {
    height: 70vh;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hp26-spotlight--lead .hp26-spotlight__inner {
    flex: 1;
    min-height: 0;
  }

  .hp26-spotlight--lead .hp26-spotlight__image {
    flex: 0 1 auto;
    height: 100%;
  }

  .hp26-spotlight--lead .hp26-spotlight__text {
    flex: 1 1 0;
  }
}

/* Scene: large image, smaller text at the top */
.hp26-spotlight--scene {
  padding-bottom: var(--hp26-pad);
}

.hp26-spotlight--scene .hp26-spotlight__inner {
  align-items: center;
}

.hp26-spotlight--scene .hp26-spotlight__image {
  flex-basis: 65%;
  aspect-ratio: 1253 / 731;
}

.hp26-spotlight--scene .hp26-spotlight__title {
  /*font-size: var(--hp26-title-size);
  /*line-height: var(--hp26-title-lh);*/
  text-align: left;
}

.hp26-spotlight--scene .hp26-spotlight__subtitle {
  font-size: var(--hp26-subtitle-size);
  line-height: var(--hp26-subtitle-lh);
  letter-spacing: 0px;
}

@media (max-width: 1199px) {
  .hp26-spotlight {
    padding-bottom: var(--hp26-pad);
  }
	
	.hp26-spotlight--lead .hp26-spotlight__text {
  max-width: none;
}
	
	.hp26-spotlight__title {
		text-align: center;
	}

  .hp26-spotlight__inner,
  .hp26-spotlight--scene .hp26-spotlight__inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--hp26-pad);
  }

  .hp26-spotlight--scene .hp26-spotlight__inner {
    gap: 100px;
  }

  .hp26-spotlight__image,
  .hp26-spotlight--scene .hp26-spotlight__image {
    flex-basis: auto;
  }

  .hp26-spotlight--scene .hp26-spotlight__image {
    aspect-ratio: 668 / 600;
  }
}

/* Tablet: cap the stacked lead image by viewport height so content below peeks in */
@media (min-width: 600px) and (max-width: 1199px) {
  .hp26-spotlight--lead .hp26-spotlight__image {
    align-self: center;
    height: 45vh;
    max-width: 100%;
  }
}

@media (max-width: 599px) {
  .hp26-spotlight--lead {
    min-height: 0;
  }
	.hp26-spotlight__title {
		text-align: left;
	}
  .hp26-spotlight--scene .hp26-spotlight__inner {
    gap: var(--hp26-pad);
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
