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

body.home {
  overflow-x: clip;
  background: var(--gk-prototype-ink);
}

body.home .wp-site-blocks {
  padding: 0;
}

.gk-prototype {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.gk-prototype > * {
  margin-block-start: 0 !important;
}

.gk-cinematic-hero,
.gk-capability-scene {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
  color: var(--gk-prototype-ivory);
  background: var(--gk-prototype-green);
}

.gk-cinematic-hero__media,
.gk-capability-scene__media {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.gk-cinematic-hero__media {
  background-image: url("../images/hero-poster.jpg");
}

.gk-capability-scene__media {
  background-image: url("../images/capabilities-poster.jpg");
}

.gk-cinematic-hero video,
.gk-capability-scene video {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transform: scale(calc(1.04 + var(--gk-scroll-progress, 0) * 0.035))
    translate3d(var(--gk-pointer-x, 0), var(--gk-pointer-y, 0), 0);
  transition: opacity 1.4s ease;
}

.gk-cinematic-hero video.is-video-ready,
.gk-capability-scene video.is-video-ready {
  opacity: 1;
}

.gk-cinematic-hero__shade {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 70% 47%, transparent 0 16%, rgb(2 12 9 / 20%) 42%, rgb(2 10 8 / 70%) 92%),
    linear-gradient(90deg, rgb(3 15 12 / 95%) 0%, rgb(3 17 13 / 76%) 39%, rgb(3 13 10 / 24%) 72%, rgb(2 10 8 / 54%) 100%),
    linear-gradient(0deg, rgb(2 10 8 / 78%) 0%, transparent 31%, rgb(2 10 8 / 30%) 100%);
  mix-blend-mode: multiply;
}

.gk-cinematic-hero__grain {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
}

.gk-cinematic-hero::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: clamp(1rem, 7vw, 7rem);
  width: 1px;
  content: "";
  background: linear-gradient(transparent 12%, var(--gk-prototype-line) 26%, var(--gk-prototype-line) 82%, transparent);
}

.gk-cinematic-hero__content {
  display: flex;
  min-height: 100svh;
  width: min(100%, 95rem);
  margin: 0 auto;
  padding: clamp(8.5rem, 17vh, 12rem) clamp(1.5rem, 7vw, 7rem) clamp(8rem, 14vh, 10rem);
  flex-direction: column;
  justify-content: center;
  opacity: var(--gk-hero-content-opacity, 1);
  transform: translate3d(0, var(--gk-hero-content-y, 0), 0);
  will-change: transform, opacity;
}

.gk-cinematic-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 clamp(1.5rem, 4vh, 3rem);
  color: var(--gk-prototype-gold);
  font-size: clamp(0.62rem, 0.8vw, 0.72rem);
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gk-cinematic-hero__eyebrow span + span {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.gk-cinematic-hero__eyebrow span + span::before {
  width: 2.5rem;
  height: 1px;
  content: "";
  background: currentcolor;
}

.gk-cinematic-hero h1 {
  max-width: none;
  margin: 0;
  color: var(--gk-prototype-ivory);
  font-family: Gloock, Georgia, serif;
  font-size: clamp(3.35rem, 7.2vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.93;
  text-wrap: balance;
}

.gk-cinematic-hero h1 > span {
  display: block;
}

.gk-cinematic-hero h1 > span:first-child {
  white-space: nowrap;
}

.gk-cinematic-hero h1 > span:last-child {
  margin-left: clamp(0rem, 5.5vw, 5.5rem);
  color: var(--gk-prototype-gold);
  font-style: italic;
}

.gk-cinematic-hero__intro {
  max-width: 47ch;
  margin: clamp(1.75rem, 4vh, 3rem) 0 0 clamp(0rem, 5.5vw, 5.5rem);
  color: rgb(245 241 232 / 78%);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.gk-cinematic-hero__actions {
  display: flex;
  margin: clamp(1.5rem, 3.5vh, 2.5rem) 0 0 clamp(0rem, 5.5vw, 5.5rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gk-prototype-button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.9rem 1.15rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.8rem;
  border: 1px solid var(--gk-prototype-line);
  color: var(--gk-prototype-ivory);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 300ms ease,
    background 300ms ease,
    color 300ms ease,
    transform 300ms var(--gk-prototype-ease);
}

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

.gk-prototype-button--ghost {
  background: rgb(6 27 21 / 32%);
  backdrop-filter: blur(0.7rem);
}

.gk-prototype-button:hover {
  border-color: var(--gk-prototype-ivory);
  background: var(--gk-prototype-ivory);
  color: var(--gk-prototype-green);
  transform: translateY(-3px);
}

.gk-cinematic-hero__foot {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(1.4rem, 3vw, 2.8rem);
  display: flex;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.gk-cinematic-hero__foot p {
  display: grid;
  margin: 0;
  color: rgb(245 241 232 / 58%);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.gk-cinematic-hero__foot span {
  margin-bottom: 0.22rem;
  color: var(--gk-prototype-gold);
  font-family: Gloock, Georgia, serif;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.gk-scroll-cue {
  position: absolute;
  bottom: clamp(1.4rem, 3vw, 2.8rem);
  left: clamp(1.5rem, 7vw, 7rem);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgb(245 241 232 / 64%);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.gk-scroll-cue i {
  position: relative;
  display: block;
  width: 3.2rem;
  height: 1px;
  overflow: hidden;
  background: rgb(245 241 232 / 24%);
}

.gk-scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--gk-prototype-gold);
  animation: gk-line-travel 2.2s var(--gk-prototype-ease) infinite;
}

@keyframes gk-line-travel {
  0% { transform: translateX(-105%); }
  45%, 100% { transform: translateX(105%); }
}

.gk-capability-scene {
  display: grid;
  min-height: 100svh;
  padding: clamp(7.5rem, 15vh, 10rem) clamp(1.5rem, 6vw, 6rem) clamp(3rem, 7vh, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(30rem, 0.95fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}

.gk-capability-scene__media video {
  filter: saturate(0.62) contrast(1.08) brightness(0.74);
  transform: scale(1.05);
}

.gk-capability-scene__wash {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(4 18 14 / 88%) 0%, rgb(4 18 14 / 54%) 43%, rgb(3 12 9 / 68%) 100%),
    linear-gradient(0deg, rgb(3 12 9 / 92%) 0%, transparent 56%, rgb(3 12 9 / 48%) 100%);
}

.gk-capability-scene__frame {
  position: absolute;
  z-index: -1;
  inset: clamp(1rem, 2vw, 2rem);
  border: 1px solid rgb(210 179 107 / 22%);
  pointer-events: none;
}

.gk-capability-scene__frame::before,
.gk-capability-scene__frame::after {
  position: absolute;
  width: 4rem;
  height: 4rem;
  content: "";
}

.gk-capability-scene__frame::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid var(--gk-prototype-gold);
  border-left: 1px solid var(--gk-prototype-gold);
}

.gk-capability-scene__frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid var(--gk-prototype-gold);
  border-bottom: 1px solid var(--gk-prototype-gold);
}

.gk-capability-scene__heading {
  align-self: center;
}

.gk-scene-kicker {
  display: flex;
  max-width: 44rem;
  margin: 0 0 clamp(1.5rem, 4vh, 3rem);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gk-prototype-gold);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gk-scene-kicker::after {
  height: 1px;
  content: "";
  background: var(--gk-prototype-line);
  flex: 1;
  order: 1;
}

.gk-scene-kicker span:last-child {
  order: 2;
}

.gk-capability-scene h2 {
  max-width: 8ch;
  margin: 0;
  color: var(--gk-prototype-ivory);
  font-family: Gloock, Georgia, serif;
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.gk-capability-scene h2 em {
  color: var(--gk-prototype-gold);
  font-weight: 400;
}

.gk-capability-scene__interface {
  display: grid;
  align-self: end;
  gap: 1.1rem;
}

.gk-capability-scene__selector {
  border-top: 1px solid var(--gk-prototype-line);
}

.gk-capability-scene__selector button {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 4rem;
  padding: 1rem 0.2rem;
  overflow: hidden;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--gk-prototype-line);
  background: transparent;
  color: rgb(245 241 232 / 52%);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color 320ms ease, padding 420ms var(--gk-prototype-ease);
}

.gk-capability-scene__selector button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(210 179 107 / 14%), transparent 72%);
  transform: translateX(-102%);
  transition: transform 520ms var(--gk-prototype-ease);
}

.gk-capability-scene__selector button:hover,
.gk-capability-scene__selector button[aria-pressed="true"] {
  padding-left: 0.8rem;
  color: var(--gk-prototype-ivory);
}

.gk-capability-scene__selector button:hover::before,
.gk-capability-scene__selector button[aria-pressed="true"]::before {
  transform: translateX(0);
}

.gk-capability-scene__selector button span,
.gk-capability-scene__selector button strong {
  position: relative;
  z-index: 1;
}

.gk-capability-scene__selector button span {
  color: var(--gk-prototype-gold);
  font-family: Gloock, Georgia, serif;
  font-size: 0.78rem;
}

.gk-capability-scene__selector button strong {
  font-size: clamp(0.86rem, 1.1vw, 1rem);
  font-weight: 550;
  letter-spacing: 0.04em;
}

.gk-capability-story {
  position: relative;
  display: grid;
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  grid-template-columns: 3rem 1fr;
  grid-template-rows: 1fr auto;
  gap: 1rem;
  border: 1px solid rgb(245 241 232 / 18%);
  background:
    linear-gradient(135deg, rgb(245 241 232 / 10%), transparent 42%),
    rgb(4 20 15 / 66%);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 24%);
  backdrop-filter: blur(1.25rem) saturate(120%);
}

.gk-capability-story::before {
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, rgb(210 179 107 / 48%), transparent 34%, rgb(245 241 232 / 12%)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.gk-capability-story__index {
  margin: 0;
  color: var(--gk-prototype-gold);
  font-family: Gloock, Georgia, serif;
  font-size: 1rem;
}

.gk-capability-story h3 {
  margin: 0 0 0.85rem;
  color: var(--gk-prototype-ivory);
  font-family: Gloock, Georgia, serif;
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.gk-capability-story div > p {
  max-width: 50ch;
  margin: 0;
  color: rgb(245 241 232 / 68%);
  font-size: 0.92rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.gk-capability-story > a {
  display: flex;
  padding-top: 1rem;
  grid-column: 2;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--gk-prototype-line);
  color: var(--gk-prototype-ivory);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.gk-capability-story.is-changing > * {
  animation: gk-story-change 460ms var(--gk-prototype-ease);
}

@keyframes gk-story-change {
  0% { opacity: 0; filter: blur(0.55rem); transform: translateY(0.75rem); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.gk-cinematic-hero .gk-split-char {
  display: inline-block;
}

.gk-prototype-ready:not(.gk-reduced-motion)
  .gk-cinematic-hero
  .is-split-ready
  .gk-split-char {
  animation: gk-char-in 950ms var(--gk-prototype-ease) var(--gk-char-delay) both;
  will-change: transform, opacity, filter;
}

[data-gk-scene-title] [data-gk-phrase] {
  white-space: nowrap;
}

[data-gk-scene-title] .gk-split-char {
  display: inline-block;
}

.gk-prototype-ready:not(.gk-reduced-motion)
  .is-title-motion-ready:not(.is-title-motion-active):not(.has-title-played)
  [data-gk-scene-title]
  .gk-split-char {
  opacity: 0;
  filter: blur(0.5rem);
  transform: translate3d(0, 2rem, 0);
}

.gk-prototype-ready:not(.gk-reduced-motion)
  .is-title-motion-active
  [data-gk-scene-title]
  .gk-split-char {
  animation: gk-char-in 760ms var(--gk-prototype-ease) var(--gk-char-delay) both;
  will-change: transform, opacity, filter;
}

.gk-prototype-ready:not(.gk-reduced-motion)
  .is-title-motion-ready:not(.is-title-motion-active):not(.has-title-played)
  [data-gk-scene-detail] {
  opacity: 0;
  transform: translateY(1rem);
}

.gk-prototype-ready:not(.gk-reduced-motion)
  .is-title-motion-active
  [data-gk-scene-detail] {
  animation: gk-detail-in 720ms var(--gk-prototype-ease) 420ms both;
}

.gk-prototype-ready:not(.gk-reduced-motion) .gk-cinematic-hero [data-gk-hero-detail] {
  animation: gk-detail-in 900ms var(--gk-prototype-ease) 1180ms both;
}

@keyframes gk-char-in {
  0% {
    opacity: 0;
    filter: blur(0.5rem);
    transform: translate3d(0, 2rem, 0);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes gk-detail-in {
  0% { opacity: 0; filter: blur(0.45rem); transform: translateY(1.25rem); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}

@media (max-width: 1100px) {
  .gk-capability-scene {
    grid-template-columns: minmax(0, 0.9fr) minmax(25rem, 1.1fr);
  }

  .gk-cinematic-hero__foot p:last-child {
    display: none;
  }
}

@media (max-width: 767px) {
  .gk-cinematic-hero__content {
    min-height: 100svh;
    padding: 8rem 1.35rem 9rem;
    justify-content: flex-end;
  }

  .gk-prototype-ready:not(.gk-reduced-motion)
    .gk-cinematic-hero
    .is-split-ready
    .gk-split-char {
    animation-duration: 760ms;
    animation-delay: var(--gk-mobile-char-delay);
  }

  .gk-prototype-ready:not(.gk-reduced-motion)
    .is-title-motion-active
    [data-gk-scene-title]
    .gk-split-char {
    animation-duration: 680ms;
    animation-delay: var(--gk-mobile-char-delay);
  }

  .gk-cinematic-hero::before {
    left: 1.35rem;
  }

  .gk-cinematic-hero__eyebrow {
    margin-bottom: 1.5rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .gk-cinematic-hero__eyebrow span + span::before {
    width: 1.75rem;
  }

  .gk-cinematic-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.15rem, 15.5vw, 4.6rem);
    line-height: 0.94;
  }

  .gk-cinematic-hero h1 span:first-child {
    white-space: normal;
  }

  .gk-cinematic-hero h1 span:last-child,
  .gk-cinematic-hero__intro,
  .gk-cinematic-hero__actions {
    margin-left: 0;
  }

  .gk-cinematic-hero__intro {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .gk-cinematic-hero__actions {
    display: grid;
    width: 100%;
    margin-top: 1.5rem;
    grid-template-columns: 1fr;
  }

  .gk-prototype-button {
    width: 100%;
    min-height: 3.25rem;
  }

  .gk-cinematic-hero__foot {
    display: none;
  }

  .gk-scroll-cue {
    bottom: 1.25rem;
    left: 1.35rem;
  }

  .gk-capability-scene {
    min-height: 100svh;
    padding: 7.5rem 1.35rem 2.75rem;
    grid-template-columns: 1fr;
    align-content: end;
    gap: 2.25rem;
  }

  .gk-capability-scene__media video {
    display: none;
  }

  .gk-capability-scene__frame {
    inset: 0.75rem;
  }

  .gk-capability-scene__heading {
    align-self: end;
  }

  .gk-scene-kicker {
    margin-bottom: 1.2rem;
    font-size: 0.56rem;
  }

  .gk-capability-scene h2 {
    font-size: clamp(3.15rem, 15vw, 4.55rem);
  }

  .gk-capability-scene__selector button {
    min-height: 3.45rem;
  }

  .gk-capability-story {
    min-height: 13rem;
    padding: 1.2rem;
    grid-template-columns: 2.2rem 1fr;
    backdrop-filter: blur(0.8rem);
  }

  .gk-capability-story > a {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-cinematic-hero video,
  .gk-capability-scene video {
    display: none;
  }

  .gk-scroll-cue i::after,
  .gk-split-char,
  [data-gk-scene-detail],
  .gk-prototype-ready .gk-cinematic-hero [data-gk-phrase],
  .gk-prototype-ready .gk-cinematic-hero [data-gk-hero-detail],
  .gk-capability-story.is-changing > * {
    animation: none !important;
  }

  .gk-capability-scene__selector button,
  .gk-capability-scene__selector button::before,
  .gk-prototype-button {
    transition-duration: 0.01ms !important;
  }
}

/* Homepage scene 03: stone visualizer */
.gk-stone-visualizer {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
  container-type: inline-size;
  background: #17130f;
  color: var(--gk-prototype-ivory);
}

.gk-stone-visualizer__picture {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0;
  filter: blur(0.35rem);
  transform: scale(1.015);
  transition: opacity 500ms ease, filter 500ms ease, transform 700ms var(--gk-prototype-ease);
}

.gk-stone-visualizer__picture.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.gk-stone-visualizer__picture,
.gk-stone-visualizer__picture img {
  width: 100%;
  height: 100%;
}

.gk-stone-visualizer__picture img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.gk-stone-visualizer__heading {
  position: absolute;
  z-index: 1;
  color: var(--gk-prototype-ivory);
  text-shadow: 0 0.15rem 1rem rgb(0 0 0 / 38%);
}

.gk-stone-visualizer__heading h2 {
  max-width: 8ch;
  margin: 0;
  color: inherit;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(3.6rem, 6.2cqw, 6rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.gk-stone-visualizer__heading h2 em {
  color: var(--gk-prototype-gold);
  font-weight: 400;
}

.gk-stone-visualizer__card {
  box-sizing: border-box;
  color: var(--gk-prototype-ivory);
  text-shadow: 0 1px 3px rgb(0 0 0 / 66%);
}

.gk-stone-visualizer__card h3 {
  margin: 0 0 0.75rem;
  color: inherit;
  font-family: Gloock, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.gk-stone-visualizer__card > p {
  margin: 0.75rem 0;
  color: rgb(245 241 232 / 78%);
  font-size: 0.72rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.gk-stone-visualizer__controls [data-gk-stone] {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  justify-items: center;
  align-content: start;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  color: rgb(245 241 232 / 82%);
  cursor: pointer;
  font: inherit;
  font-size: 0.58rem;
  line-height: 1.2;
  text-align: center;
  transition: color 240ms ease, transform 320ms var(--gk-prototype-ease);
}

.gk-stone-visualizer__controls [data-gk-stone]:hover,
.gk-stone-visualizer__controls [data-gk-stone][aria-pressed="true"] {
  color: var(--gk-prototype-ivory);
}

.gk-stone-visualizer__controls [data-gk-stone]:hover {
  transform: translateY(-2px);
}

.gk-stone-visualizer__controls [data-gk-stone]:focus-visible {
  outline: 2px solid var(--gk-prototype-gold);
  outline-offset: 4px;
}

.gk-stone-visualizer__swatch {
  display: block;
  width: 3.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 50%;
}

.gk-stone-visualizer__swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.85);
}

[data-gk-stone][aria-pressed="true"] .gk-stone-visualizer__swatch {
  outline: 3px solid var(--gk-prototype-gold);
  outline-offset: 3px;
}

.gk-stone-visualizer__request {
  display: flex;
  min-height: 40px;
  padding: 0.6rem 0 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgb(255 255 255 / 28%);
  color: var(--gk-prototype-ivory);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 240ms ease, color 240ms ease, transform 320ms var(--gk-prototype-ease);
}

.gk-stone-visualizer__request:hover {
  border-color: var(--gk-prototype-gold);
  color: var(--gk-prototype-gold);
  transform: translateY(-2px);
}

html:not(.gk-prototype-ready)
  .gk-stone-visualizer__picture:not([data-gk-visualizer-active]) {
  display: none;
}

@media (min-width: 768px) {
  .gk-stone-visualizer__heading {
    top: clamp(5.5rem, 10vh, 8rem);
    right: clamp(2rem, 7vw, 8rem);
    width: min(50cqw, 43rem);
  }

  .gk-stone-visualizer__card {
    position: absolute;
    z-index: 2;
    top: 6rem;
    left: 3.5rem;
    width: 20rem;
    min-width: 0;
    max-height: calc(100svh - 7rem);
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgb(255 255 255 / 28%);
    border-radius: 1.25rem;
    background: rgb(255 255 255 / 5%);
    box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 14%);
    backdrop-filter: blur(2px) saturate(108%);
  }

  .gk-stone-visualizer__controls {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem 0.35rem;
  }
}

@media (min-width: 768px) and (max-width: 879px) {
  .gk-stone-visualizer__heading {
    right: 1.25rem;
    width: calc(100cqw - 26rem);
  }
}

@media (max-width: 767px) {
  .gk-stone-visualizer {
    display: none;
  }

  .gk-stone-visualizer__heading {
    top: clamp(1.5rem, 6svh, 3.25rem);
    left: 1.25rem;
    width: min(88vw, 24rem);
    padding: 0.75rem 2rem 1rem 0;
    background: linear-gradient(90deg, rgb(0 0 0 / 42%), transparent);
  }

  .gk-stone-visualizer__heading .gk-scene-kicker {
    margin-bottom: 1rem;
  }

  .gk-stone-visualizer__heading h2 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .gk-stone-visualizer__card {
    position: absolute;
    z-index: 2;
    inset: auto 0 0;
    width: 100%;
    min-width: 0;
    padding: 1rem 1.25rem max(1rem, env(safe-area-inset-bottom));
    border: 1px solid rgb(255 255 255 / 24%);
    border-bottom: 0;
    border-radius: 1.5rem 1.5rem 0 0;
    background: rgb(6 27 21 / 78%);
    backdrop-filter: blur(0.75rem) saturate(108%);
  }

  .gk-stone-visualizer__card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
  }

  .gk-stone-visualizer__card > p {
    display: none;
  }

  .gk-stone-visualizer__controls {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.5rem 0.75rem;
    gap: 0.75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0.5rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gk-stone-visualizer__controls::-webkit-scrollbar {
    display: none;
  }

  .gk-stone-visualizer__controls [data-gk-stone] {
    min-height: 5rem;
    flex: 0 0 5rem;
    font-size: 0.62rem;
    scroll-snap-align: start;
  }

  .gk-stone-visualizer__swatch {
    width: 3.35rem;
  }

  .gk-stone-visualizer__request {
    padding-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-stone-visualizer__picture,
  .gk-stone-visualizer [data-gk-stone],
  .gk-stone-visualizer__request {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Homepage scene 04: verified company strength */
.gk-strength-scene {
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  grid-template-columns: minmax(0, 3fr) minmax(28rem, 2fr);
  background: #f1ecdf;
  color: #12382f;
}

.gk-strength-scene__media {
  min-height: 100svh;
  overflow: hidden;
}

.gk-strength-scene__media picture,
.gk-strength-scene__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.gk-strength-scene__media img {
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1.2s var(--gk-prototype-ease);
}

.gk-strength-scene.has-counted .gk-strength-scene__media img {
  transform: scale(1);
}

.gk-strength-scene__content {
  display: flex;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 5vw, 5.5rem);
  flex-direction: column;
  justify-content: space-between;
}

.gk-strength-scene .gk-scene-kicker {
  color: #80602d;
}

.gk-strength-scene .gk-scene-kicker::after {
  background: rgb(18 56 47 / 24%);
}

.gk-strength-scene h2 {
  max-width: 8ch;
  margin: clamp(3rem, 8vh, 7rem) 0 4rem;
  color: #12382f;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(3.5rem, 5.7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-wrap: balance;
}

.gk-strength-scene h2 em {
  color: #8a682f;
  font-weight: 400;
}

.gk-strength-metrics {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gk-strength-metrics > div {
  min-width: 0;
  padding: 1.3rem 1rem 1.5rem 0;
  border-top: 1px solid rgb(18 56 47 / 25%);
}

.gk-strength-metrics dt {
  color: #8a682f;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(2.8rem, 4.2vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.gk-strength-metrics dd {
  margin: 0.75rem 0 0;
  color: #244d43;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

/* Homepage scene 05: interactive natural-stone library */
.gk-materials-scene {
  display: grid;
  min-height: 100svh;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.5rem, 4vw, 5rem);
  overflow: hidden;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.55fr) minmax(10rem, 0.45fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  background: #0b2d26;
  color: #f4efe3;
}

.gk-materials-scene__intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.gk-materials-scene h2 {
  max-width: 8ch;
  margin: auto 0 2rem;
  color: #f4efe3;
  font-family: Gloock, Georgia, serif;
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.86;
  text-wrap: balance;
}

.gk-materials-scene h2 em {
  color: #c49a58;
  font-weight: 400;
}

.gk-materials-scene__intro > p:not(.gk-scene-kicker) {
  max-width: 32ch;
  margin: 0 0 2rem;
  color: rgb(244 239 227 / 76%);
  line-height: 1.7;
  text-wrap: pretty;
}

.gk-materials-scene__all,
.gk-materials-scene__caption a {
  color: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration-color: rgb(196 154 88 / 65%);
  text-underline-offset: 0.35rem;
}

.gk-materials-scene__visual {
  position: relative;
  min-height: min(72vh, 58rem);
  align-self: center;
  overflow: hidden;
  background: #173b32;
}

.gk-materials-scene__picture {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  transform: scale(1.035);
  transition:
    opacity 0.6s ease,
    transform 0.65s var(--gk-prototype-ease),
    clip-path 0.65s var(--gk-prototype-ease);
}

.gk-materials-scene__picture.is-active {
  z-index: 1;
  opacity: 1;
  clip-path: inset(0);
  transform: scale(1);
}

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

.gk-materials-scene__caption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  padding: 4rem 1.25rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(transparent, rgb(4 20 17 / 82%));
}

.gk-materials-scene__caption > span {
  color: #c49a58;
  font-family: Gloock, Georgia, serif;
  font-size: 1.35rem;
}

.gk-materials-scene__controls {
  display: grid;
  align-self: center;
}

.gk-materials-scene__controls [data-gk-material] {
  position: relative;
  display: grid;
  min-height: 4.25rem;
  padding: 0;
  grid-template-columns: 2rem 1fr;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid rgb(244 239 227 / 16%);
  color: rgb(244 239 227 / 62%);
  font-size: 0.9rem;
  text-align: left;
  text-decoration: none;
  transition: color 0.25s ease;
}

.gk-materials-scene__controls [data-gk-material]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: #c49a58;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--gk-prototype-ease);
}

.gk-materials-scene__controls [data-gk-material] > span {
  color: rgb(196 154 88 / 72%);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
}

.gk-materials-scene__controls [data-gk-material]:hover,
.gk-materials-scene__controls [data-gk-material].is-active {
  color: #c49a58;
}

.gk-materials-scene__controls [data-gk-material]:hover::after,
.gk-materials-scene__controls [data-gk-material].is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.gk-materials-scene__controls [data-gk-material]:focus-visible {
  outline: 2px solid #c49a58;
  outline-offset: 4px;
}

html:not(.gk-prototype-ready) .gk-materials-scene__picture:not([data-gk-material-image="marble"]) {
  display: none;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .gk-strength-scene {
    grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 0.9fr);
  }

  .gk-strength-scene__content {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .gk-materials-scene {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  }

  .gk-materials-scene__controls {
    grid-column: 1 / -1;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .gk-materials-scene__controls [data-gk-material] {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .gk-strength-scene {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .gk-strength-scene__media {
    min-height: 54svh;
  }

  .gk-strength-scene__content {
    padding: 4.5rem 1.25rem 5rem;
  }

  .gk-strength-scene h2 {
    margin: 3rem 0;
    font-size: clamp(3.25rem, 15vw, 4.6rem);
  }

  .gk-strength-metrics dt {
    font-size: clamp(2.15rem, 10.5vw, 3.1rem);
  }

  .gk-strength-metrics dd {
    max-width: 15ch;
    font-size: 0.66rem;
  }

  .gk-materials-scene {
    min-height: auto;
    padding: 4.5rem 1.25rem 5rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .gk-materials-scene h2 {
    margin: 3rem 0 1.5rem;
    font-size: clamp(3.8rem, 18vw, 5.4rem);
  }

  .gk-materials-scene__visual {
    min-height: 62svh;
  }

  .gk-materials-scene__controls {
    display: flex;
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gk-materials-scene__controls::-webkit-scrollbar {
    display: none;
  }

  .gk-materials-scene__controls [data-gk-material] {
    min-width: 8.5rem;
    min-height: 44px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gk-strength-scene__media img,
  .gk-materials-scene__picture,
  .gk-materials-scene__controls [data-gk-material],
  .gk-materials-scene__controls [data-gk-material]::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
