:root {
  --gk-material-gold: #d2b36b;
  --gk-material-ivory: #f5f1e8;
  --gk-material-green: #061b15;
  --gk-material-ink: #050706;
  --gk-material-line: rgb(210 179 107 / 34%);
  --gk-material-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body.post-type-archive-gk_material {
  overflow-x: clip;
  background: var(--gk-material-ink);
}

body.post-type-archive-gk_material .wp-site-blocks {
  padding: 0;
}

.gk-materials-overview {
  color: var(--gk-material-ivory);
  background: var(--gk-material-ink);
}

.gk-materials-overview,
.gk-materials-overview * {
  box-sizing: border-box;
}

.gk-materials-overview em {
  color: var(--gk-material-gold);
  font-weight: 400;
}

.gk-materials-hero,
.gk-material-explorer,
.gk-materials-quote {
  max-width: none !important;
  margin: 0 !important;
}

.gk-materials-hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--gk-material-green);
}

.gk-materials-hero__copy {
  display: flex;
  padding: clamp(9rem, 17vh, 12rem) clamp(1.5rem, 7vw, 7rem) clamp(5rem, 9vh, 7rem);
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--gk-material-line);
}

.gk-materials-kicker {
  display: flex;
  margin: 0 0 clamp(2.2rem, 5vh, 4rem);
  align-items: center;
  gap: 1rem;
  color: var(--gk-material-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gk-materials-kicker span + span {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gk-materials-kicker span + span::before {
  width: 2.8rem;
  height: 1px;
  content: "";
  background: currentColor;
}

.gk-materials-hero h1,
.gk-material-explorer__heading h2,
.gk-materials-quote h2 {
  max-width: 12ch;
  margin: 0;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(3.4rem, 7.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-wrap: balance;
}

.gk-materials-hero__copy > p:not(.gk-materials-kicker) {
  max-width: 44rem;
  margin: clamp(2rem, 4vh, 3rem) 0 0;
  color: rgb(245 241 232 / 76%);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.7;
}

.gk-materials-hero__actions {
  display: flex;
  margin-top: clamp(2rem, 5vh, 3.6rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gk-materials-button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.95rem 1.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgb(245 241 232 / 28%);
  color: var(--gk-material-ivory);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 280ms ease, background 280ms ease, transform 280ms var(--gk-material-ease);
}

.gk-materials-button:hover,
.gk-materials-button:focus-visible {
  background: var(--gk-material-ivory);
  color: var(--gk-material-green);
  transform: translateY(-2px);
}

.gk-materials-button--primary {
  border-color: var(--gk-material-gold);
  background: var(--gk-material-gold);
  color: var(--gk-material-green);
}

.gk-materials-hero__image {
  min-height: 100svh;
  overflow: hidden;
}

.gk-materials-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) saturate(0.78);
}

.gk-material-explorer {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 5rem);
}

.gk-material-explorer__heading {
  display: grid;
  max-width: 92rem;
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
}

.gk-material-explorer__heading .gk-materials-kicker {
  margin: 0;
}

.gk-material-explorer__heading h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.gk-material-explorer__stage {
  display: grid;
  max-width: 92rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.75fr);
  border-top: 1px solid var(--gk-material-line);
  border-bottom: 1px solid var(--gk-material-line);
}

.gk-material-explorer__visual {
  position: relative;
  min-height: min(72vw, 48rem);
  overflow: hidden;
  background: var(--gk-material-green);
}

.gk-material-explorer__picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 600ms ease, transform 650ms var(--gk-material-ease);
}

.gk-material-explorer__picture.is-active {
  opacity: 1;
  transform: scale(1);
}

.gk-material-explorer__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gk-material-explorer__visual::after {
  position: absolute;
  inset: 44% 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, rgb(3 10 8 / 88%));
}

.gk-material-explorer__detail {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.5rem, 4vw, 3.5rem);
  left: clamp(1.25rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.5rem;
}

.gk-material-explorer__detail > span {
  padding-top: 0.6rem;
  color: var(--gk-material-gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.gk-material-explorer__detail h3 {
  margin: 0;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gk-material-explorer__detail p {
  max-width: 44rem;
  margin: 1rem 0;
  color: rgb(245 241 232 / 78%);
  line-height: 1.65;
}

.gk-material-explorer__detail a {
  color: var(--gk-material-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.gk-material-explorer__nav {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--gk-material-line);
}

.gk-material-explorer__nav a {
  display: grid;
  min-height: 5.4rem;
  padding: 1rem 1.4rem;
  flex: 1 1 auto;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--gk-material-line);
  color: rgb(245 241 232 / 66%);
  text-decoration: none;
  transition: color 280ms ease, background 280ms ease;
}

.gk-material-explorer__nav a:last-child {
  border-bottom: 0;
}

.gk-material-explorer__nav a > span,
.gk-material-explorer__nav a > i {
  color: var(--gk-material-gold);
  font-size: 0.7rem;
  font-style: normal;
}

.gk-material-explorer__nav a > i {
  opacity: 0;
  transform: translate(-0.4rem, 0.4rem);
  transition: opacity 280ms ease, transform 280ms var(--gk-material-ease);
}

.gk-material-explorer__nav a strong {
  font-family: Gloock, Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
}

.gk-material-explorer__nav a[aria-current="true"],
.gk-material-explorer__nav a:hover,
.gk-material-explorer__nav a:focus-visible {
  background: var(--gk-material-green);
  color: var(--gk-material-ivory);
}

.gk-material-explorer__nav a[aria-current="true"] > i,
.gk-material-explorer__nav a:hover > i,
.gk-material-explorer__nav a:focus-visible > i {
  opacity: 1;
  transform: none;
}

.gk-material-explorer__nav a:focus-visible,
.gk-materials-button:focus-visible {
  outline: 2px solid var(--gk-material-gold);
  outline-offset: -4px;
}

.gk-materials-quote {
  display: flex;
  min-height: 70svh;
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 7vw, 7rem);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--gk-material-green);
}

.gk-materials-quote > p {
  margin: 0 0 2rem;
  color: var(--gk-material-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gk-materials-quote h2 {
  max-width: 15ch;
}

.gk-materials-quote .gk-materials-button {
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .gk-materials-hero {
    display: block;
  }

  .gk-materials-hero__copy {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    border-right: 0;
    background: linear-gradient(90deg, rgb(3 15 12 / 94%), rgb(3 15 12 / 30%));
  }

  .gk-materials-hero__image {
    position: absolute;
    inset: 0;
  }

  .gk-material-explorer__heading {
    display: block;
  }

  .gk-material-explorer__heading .gk-materials-kicker {
    margin-bottom: 2rem;
  }

  .gk-material-explorer__stage {
    display: flex;
    flex-direction: column;
  }

  .gk-material-explorer__visual {
    min-height: 72svh;
  }

  .gk-material-explorer__nav {
    overflow-x: auto;
    flex-direction: row;
    border-top: 1px solid var(--gk-material-line);
    border-left: 0;
    scrollbar-width: thin;
  }

  .gk-material-explorer__nav a {
    min-width: 12rem;
    min-height: 4.75rem;
    border-right: 1px solid var(--gk-material-line);
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .gk-materials-hero h1,
  .gk-material-explorer__heading h2,
  .gk-materials-quote h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .gk-materials-hero__copy {
    padding: 8rem 1.25rem 4rem;
  }

  .gk-materials-hero__actions {
    display: grid;
  }

  .gk-materials-button {
    width: 100%;
  }

  .gk-material-explorer {
    padding: 5rem 1rem;
  }

  .gk-material-explorer__visual {
    min-height: 39rem;
  }

  .gk-material-explorer__detail {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .gk-material-explorer__detail h3 {
    font-size: 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-material-explorer__picture {
    transition-duration: 0s;
  }

  .gk-materials-button,
  .gk-material-explorer__nav a,
  .gk-material-explorer__nav a > i {
    transition-duration: 0s;
  }
}
