/* STEK Hungary contact and gallery pages. Same palette and type as the home page (home.css). */

.stek-site {
  --stek-red: #b3121c;
  --stek-red-bright: #e1252f;
  --stek-carbon: #08090b;
  --stek-steel: #5c626b;
  --stek-silver: #d7dadf;
  --stek-paper: #f3f4f6;
  --stek-wide: "Archivo", "Maven Pro", Arial, sans-serif;
  --stek-ease: cubic-bezier(.2, .7, .1, 1);
  --stek-gutter: clamp(22px, 6vw, 104px);
}

.stek-contact,
.stek-gallery {
  position: relative;
  left: 50%;
  width: var(--stek-viewport-width, 100vw);
  transform: translateX(-50%);
  font-family: "Maven Pro", Arial, sans-serif;
  color: var(--stek-carbon);
}

.stek-site :is(.stek-contact, .stek-gallery) ul { margin: 0; padding: 0; list-style: none; }
.stek-site :is(.stek-contact, .stek-gallery) ul > li { padding-left: 0; }
.stek-site :is(.stek-contact, .stek-gallery) ul > li::before { content: none; }

.stek-site :is(.stek-contact, .stek-gallery) .stek-mark {
  display: block;
  width: 56px;
  height: 3px;
  margin-bottom: 24px;
  background: var(--stek-red);
}

.stek-site :is(.stek-contact, .stek-gallery) .stek-eyebrow {
  margin: 0 0 12px;
  color: var(--stek-red-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.stek-site :is(.stek-contact, .stek-gallery) h1 {
  margin: 0;
  font-family: var(--stek-wide);
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.stek-site .stek-page-lede {
  max-width: 34em;
  margin: 20px 0 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.6;
}

.stek-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, transform .35s var(--stek-ease);
}

.stek-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stek-btn:active { transform: scale(.98); }
.stek-site .stek-btn--red { background: var(--stek-red); color: #fff; }
.stek-site .stek-btn--red:hover, .stek-site .stek-btn--red:focus-visible { background: var(--stek-red-bright); color: #fff; }
.stek-site .stek-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.stek-site .stek-btn--ghost:hover, .stek-site .stek-btn--ghost:focus-visible { border-color: #fff; background: #fff; color: var(--stek-carbon); }
.stek-site .stek-btn--dark { background: var(--stek-carbon); color: #fff; }
.stek-site .stek-btn--dark:hover, .stek-site .stek-btn--dark:focus-visible { background: var(--stek-red); color: #fff; }

.stek-site .stek-btn--dark::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .35s var(--stek-ease);
}

.stek-site .stek-btn--dark:hover::after { width: 30px; }

/* ---------- Contact ---------- */

.stek-page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 56vh, 620px);
  padding: clamp(110px, 14vw, 180px) var(--stek-gutter) clamp(140px, 13vw, 200px);
  overflow: hidden;
  background: var(--stek-carbon);
  color: #fff;
}

.stek-site .stek-page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 45%;
  animation: stek-hero-push 14s var(--stek-ease) both;
}

@keyframes stek-hero-push {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

.stek-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, .88) 0%, rgba(8, 9, 11, .55) 45%, rgba(8, 9, 11, .15) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, .55), rgba(8, 9, 11, 0) 45%);
}

.stek-page-hero-copy { max-width: 760px; }
.stek-site .stek-page-hero h1 { color: #fff; }
.stek-site .stek-page-hero .stek-page-lede { color: rgba(255, 255, 255, .82); }

.stek-contact-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  max-width: 1360px;
  margin: calc(clamp(90px, 9vw, 140px) * -1) auto 0;
  padding: 0 var(--stek-gutter);
  box-sizing: content-box;
}

.stek-contact-card {
  padding: clamp(30px, 3.4vw, 52px);
  border-radius: 22px 0 0 22px;
  background: var(--stek-carbon);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(8, 9, 11, .6);
}

.stek-site .stek-contact-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--stek-wide);
  font-stretch: 115%;
  font-variation-settings: "wdth" 115;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.05;
}

.stek-site .stek-contact-company {
  margin: 8px 0 0;
  color: var(--stek-silver);
  font-size: 16px;
}

.stek-contact-list {
  display: grid;
  gap: 4px;
  margin: 30px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.stek-site .stek-contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.stek-contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: var(--stek-red-bright);
}

.stek-contact-icon svg,
.stek-contact-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stek-site .stek-contact-list small {
  display: block;
  margin-bottom: 2px;
  color: var(--stek-silver);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stek-site .stek-contact-list a {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  background-image: linear-gradient(var(--stek-red-bright), var(--stek-red-bright));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .45s var(--stek-ease);
}

.stek-site .stek-contact-list a:hover,
.stek-site .stek-contact-list a:focus-visible { background-size: 100% 1px; color: #fff; opacity: 1; }

.stek-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stek-contact-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  color: var(--stek-silver);
  font-size: 14px;
}

.stek-contact-social span { margin-right: 6px; }

.stek-site .stek-contact-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  transition: background-color .3s ease, border-color .3s ease;
}

.stek-site .stek-contact-social a:hover,
.stek-site .stek-contact-social a:focus-visible { background: var(--stek-red); border-color: var(--stek-red); color: #fff; }

.stek-contact-map {
  min-height: 460px;
  overflow: hidden;
  border-radius: 0 22px 22px 0;
  background: #e6e8ec;
  box-shadow: 0 40px 80px -40px rgba(8, 9, 11, .45);
}

.stek-site .stek-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  filter: grayscale(.35) contrast(1.05);
}

.stek-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: 1360px;
  margin: clamp(48px, 6vw, 90px) auto clamp(64px, 8vw, 120px);
  padding: 0 var(--stek-gutter);
  box-sizing: content-box;
}

.stek-site .stek-contact-cta h2 {
  margin: 0;
  font-family: var(--stek-wide);
  font-stretch: 112%;
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
}

.stek-site .stek-contact-cta p {
  max-width: 36em;
  margin: 8px 0 0;
  color: var(--stek-steel);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .stek-contact-body { grid-template-columns: 1fr; }
  .stek-contact-card { border-radius: 22px 22px 0 0; }
  .stek-contact-map { min-height: 340px; border-radius: 0 0 22px 22px; }
  .stek-site .stek-contact-map iframe { min-height: 340px; }
  .stek-contact-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .stek-contact-actions .stek-btn { flex: 1 1 100%; }
}

/* ---------- Gallery ---------- */

.stek-gallery {
  padding: clamp(56px, 7vw, 110px) var(--stek-gutter) clamp(64px, 8vw, 120px);
  background: var(--stek-paper);
}

.stek-gallery-head {
  max-width: 1360px;
  margin: 0 auto clamp(32px, 4vw, 56px);
}

.stek-site .stek-gallery .stek-page-lede { color: var(--stek-steel); }

.stek-gallery-grid {
  max-width: 1360px;
  margin: 0 auto;
  columns: 3 300px;
  column-gap: 14px;
}

.stek-site .stek-gallery-item {
  position: relative;
  display: block;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 16px;
  background: #dfe2e6;
  break-inside: avoid;
}

.stek-site .stek-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--stek-ease), filter .6s ease;
}

.stek-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0) 50%, rgba(8, 9, 11, .55));
  opacity: 0;
  transition: opacity .5s ease;
}

.stek-gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--stek-red);
  color: #fff;
  opacity: 0;
  transform: translateY(8px) scale(.9);
  transition: opacity .4s ease, transform .5s var(--stek-ease);
}

.stek-gallery-zoom svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stek-site .stek-gallery-item:hover img,
.stek-site .stek-gallery-item:focus-visible img { transform: scale(1.05); }
.stek-gallery-item:hover::after,
.stek-gallery-item:focus-visible::after { opacity: 1; }
.stek-gallery-item:hover .stek-gallery-zoom,
.stek-gallery-item:focus-visible .stek-gallery-zoom { opacity: 1; transform: none; }
.stek-site .stek-gallery-item:focus-visible { outline: 3px solid var(--stek-red); outline-offset: 3px; }

@media (max-width: 640px) {
  .stek-gallery-grid { columns: 2; column-gap: 8px; }
  .stek-site .stek-gallery-item { margin-bottom: 8px; border-radius: 10px; }
}

/* ---------- Lightbox ---------- */

.stek-site .stek-gallery-dialog {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(56px, 7vh, 80px) clamp(12px, 6vw, 96px);
  background: transparent;
  overflow: hidden;
}

.stek-site .stek-gallery-dialog[open] {
  display: grid;
  place-items: center;
  animation: stek-fade .35s ease both;
}

.stek-site .stek-gallery-dialog::backdrop {
  background: rgba(8, 9, 11, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.stek-site .stek-gallery-dialog img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.stek-site .stek-gallery-dialog button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color .3s ease, border-color .3s ease;
}

.stek-site .stek-gallery-dialog button:hover,
.stek-site .stek-gallery-dialog button:focus-visible { background: var(--stek-red); border-color: var(--stek-red); }
.stek-site .stek-gallery-dialog [data-gallery-action="close"] { top: 16px; right: 16px; }
.stek-site .stek-gallery-dialog [data-gallery-action="prev"] { left: 16px; }
.stek-site .stek-gallery-dialog [data-gallery-action="next"] { right: 16px; }

.stek-site .stek-gallery-count {
  position: absolute;
  top: 28px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font: 500 14px/1 "Maven Pro", Arial, sans-serif;
  letter-spacing: .12em;
}

@keyframes stek-fade { from { opacity: 0; } }

@media (max-width: 640px) {
  .stek-site .stek-gallery-dialog [data-gallery-action="prev"],
  .stek-site .stek-gallery-dialog [data-gallery-action="next"] { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stek-site .stek-page-hero img,
  .stek-site .stek-gallery-dialog[open] { animation: none; }
}

/* The theme pads the content area and underlines links inside lists; these pages set their own spacing. */
.stek-site .content-wrapper:has(.stek-contact, .stek-gallery) { padding-top: 0; padding-bottom: 0; }
.stek-site .stek-contact-list a { border-bottom: 0; }

/* ---------- Forceshield Airforce product page ---------- */

.stek-airforce {
  position: relative;
  left: 50%;
  width: var(--stek-viewport-width, 100vw);
  transform: translateX(-50%);
  font-family: "Maven Pro", Arial, sans-serif;
  color: var(--stek-carbon);
  background: #fff;
}

.stek-site .stek-airforce ul,
.stek-site .stek-airforce ol { margin: 0; padding: 0; list-style: none; }
.stek-site .stek-airforce :is(ul, ol) > li { padding-left: 0; }
.stek-site .stek-airforce :is(ul, ol) > li::before { content: none; }
.stek-site .content-wrapper:has(.stek-airforce) { padding-top: 0; padding-bottom: 0; }

.stek-site .stek-airforce .stek-mark { display: block; width: 56px; height: 3px; margin-bottom: 24px; background: var(--stek-red); }
.stek-site .stek-airforce .stek-eyebrow { margin: 0 0 12px; color: var(--stek-red-bright); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.stek-site .stek-airforce h1 {
  margin: 0;
  color: var(--stek-carbon);
  font-family: var(--stek-wide);
  font-stretch: 118%;
  font-variation-settings: "wdth" 118;
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: .95;
  letter-spacing: -.025em;
}
/* Slider banner: the home page hero (home.css), a little shorter here. */
.stek-af-slider.stek-hero { height: clamp(520px, calc(90svh - var(--stek-header-height, 100px)), 920px); }
.stek-site .stek-af-slider .stek-hero-progress { grid-template-columns: repeat(7, minmax(0, 1fr)); max-width: 980px; }
.stek-af-slider .stek-hero-progress button { font-size: 12px; }
@media (max-width: 767px) {
  .stek-af-slider.stek-hero { height: clamp(480px, calc(80svh - var(--stek-header-height, 72px)), 720px); }
  .stek-af-slider .stek-hero-label { display: none; }
}
.stek-site .stek-af-hero-kicker {
  margin: 0 0 10px;
  color: var(--stek-red-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.stek-af-intro {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: end;
}

.stek-site .stek-af-lede {
  margin: 0;
  color: var(--stek-steel);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.65;
}

@media (max-width: 991px) {
  .stek-af-intro { grid-template-columns: 1fr; }
}

.stek-af-block {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 110px) var(--stek-gutter) 0;
  box-sizing: content-box;
}

.stek-site .stek-af-block h2 {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--stek-wide);
  font-stretch: 115%;
  font-variation-settings: "wdth" 115;
  font-weight: 800;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  letter-spacing: -.015em;
}

.stek-af-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stek-site .stek-af-features li {
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: 20px;
  background: var(--stek-paper);
  transition: transform .5s var(--stek-ease), background-color .4s ease;
}

.stek-site .stek-af-features li:hover { transform: translateY(-4px); background: #eceef1; }

.stek-af-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--stek-carbon);
  color: #fff;
}

.stek-af-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.stek-site .stek-af-features h3 {
  margin: 0 0 8px;
  font-family: var(--stek-wide);
  font-stretch: 110%;
  font-variation-settings: "wdth" 110;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.stek-site .stek-af-features p { margin: 0; color: var(--stek-steel); font-size: 16px; line-height: 1.6; }

.stek-af-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.stek-af-layers { counter-reset: none; border-top: 1px solid #e1e4e8; }

.stek-site .stek-af-layers li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e1e4e8;
  font-size: 16px;
  line-height: 1.55;
  color: var(--stek-steel);
}

.stek-af-layer-no {
  flex: none;
  width: 34px;
  color: var(--stek-red);
  font-family: var(--stek-wide);
  font-weight: 800;
  font-size: 18px;
}

.stek-site .stek-af-layers strong { display: block; color: var(--stek-carbon); font-size: 17px; }

.stek-af-video video {
  display: block;
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 20px;
  background: var(--stek-carbon);
}

.stek-site .stek-af-sub { margin: -20px 0 28px; color: var(--stek-steel); font-size: 16px; }

.stek-af-colours {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stek-site .stek-af-colour {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--stek-paper);
  color: var(--stek-carbon);
  text-decoration: none;
  border-bottom: 0;
}

.stek-af-car {
  display: grid;
  place-items: center;
  aspect-ratio: 940 / 788;
  overflow: hidden;
  background: #e6e8ec;
  color: var(--stek-steel);
  font-size: 14px;
}

.stek-site .stek-af-car img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--stek-ease);
}

.stek-site .stek-af-colour:hover .stek-af-car img,
.stek-site .stek-af-colour:focus-visible .stek-af-car img { transform: scale(1.05); }
.stek-site .stek-af-colour:focus-visible { outline: 3px solid var(--stek-red); outline-offset: 3px; }

.stek-af-name {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-family: var(--stek-wide);
  font-stretch: 108%;
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: 17px;
}

.stek-site .stek-af-swatch {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px #d7dadf;
  background: #d7dadf;
}

.stek-site .stek-af-note {
  max-width: 760px;
  margin: 28px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--stek-red);
  background: var(--stek-paper);
  color: var(--stek-steel);
  font-size: 15px;
  line-height: 1.6;
}

.stek-site .stek-af-note strong { color: var(--stek-carbon); }

@media (max-width: 991px) {
  .stek-af-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stek-af-split { grid-template-columns: 1fr; }
  .stek-af-video { max-width: 420px; }
  .stek-af-colours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .stek-af-features,
  .stek-af-colours { grid-template-columns: 1fr; }
}

/* Cards, layers and colours rise one after another when their block scrolls in (site.jsx marks the blocks). */
.stek-pending :is(.stek-af-features > li, .stek-af-layers > li, .stek-af-colours > li, .stek-af-video) {
  opacity: 0;
  translate: 0 28px;
}

.stek-in :is(.stek-af-features > li, .stek-af-layers > li, .stek-af-colours > li, .stek-af-video) {
  transition: opacity .8s ease, translate 1s var(--stek-ease);
}

.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(2) { transition-delay: 90ms; }
.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(3) { transition-delay: 180ms; }
.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(4) { transition-delay: 270ms; }
.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(5) { transition-delay: 360ms; }
.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(6) { transition-delay: 450ms; }
.stek-in :is(.stek-af-features, .stek-af-layers, .stek-af-colours) > li:nth-child(n+7) { transition-delay: 540ms; }
.stek-in .stek-af-video { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .stek-pending :is(.stek-af-features > li, .stek-af-layers > li, .stek-af-colours > li, .stek-af-video) { opacity: 1; translate: none; }
}

/* The supplied renders are 940 × 788 px, so the slider shows them at their own size, framed on the right,
   instead of stretching them across the screen. */
.stek-af-slider.stek-hero { background: radial-gradient(90% 120% at 80% 50%, #1d2026 0%, var(--stek-carbon) 70%); }
.stek-site .stek-af-slider .stek-hero-media img {
  inset: auto;
  top: 50%;
  right: var(--stek-gutter);
  left: auto;
  width: auto;
  height: min(78%, 788px);
  max-width: min(940px, 60%);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9);
  transform: translate3d(calc(var(--stek-drag) * .35), -50%, 0) scale(1.04);
  transition: transform 6s cubic-bezier(.15, .6, .2, 1);
}
.stek-site .stek-af-slider .stek-hero-slide.is-active .stek-hero-media img {
  transform: translate3d(calc(var(--stek-drag) * .35), -50%, 0) scale(1);
}
.stek-af-slider .stek-hero-media::after {
  background: linear-gradient(90deg, rgba(8, 9, 11, .55) 0%, rgba(8, 9, 11, 0) 45%);
}
.stek-af-slider .stek-hero-copy { max-width: min(560px, 36%); bottom: auto; top: 50%; transform: translate3d(calc(var(--stek-drag) * .6), -50%, 0); }

@media (max-width: 991px) {
  .stek-site .stek-af-slider .stek-hero-media img {
    top: 24px;
    right: 50%;
    height: auto;
    width: min(92%, 640px);
    max-width: none;
    transform: translate3d(50%, 0, 0) scale(1.03);
  }
  .stek-site .stek-af-slider .stek-hero-slide.is-active .stek-hero-media img { transform: translate3d(50%, 0, 0) scale(1); }
  .stek-af-slider .stek-hero-copy { max-width: none; top: auto; bottom: 90px; transform: none; }
  .stek-af-slider .stek-hero-media::after { background: linear-gradient(0deg, rgba(8, 9, 11, .95) 0%, rgba(8, 9, 11, 0) 50%); }
}

/* Feature cards: room to breathe, and they lift and grow under the pointer like the home page's cards. */
.stek-site .stek-airforce .stek-af-features > li {
  position: relative;
  padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.4vw, 36px) clamp(30px, 2.8vw, 42px);
  border: 1px solid transparent;
  transition: transform .6s var(--stek-ease), background-color .5s ease, border-color .5s ease, box-shadow .6s var(--stek-ease);
}
.stek-site .stek-airforce .stek-af-features h3 { margin: 0 0 12px; }
.stek-site .stek-airforce .stek-af-features p { font-size: 15px; line-height: 1.65; }
.stek-af-icon { margin-bottom: 28px; transition: background-color .4s ease, transform .6s var(--stek-ease); }
@media (hover: hover) and (pointer: fine) {
  .stek-site .stek-airforce .stek-af-features:hover > li { opacity: .6; }
  .stek-site .stek-airforce .stek-af-features > li:hover {
    opacity: 1;
    transform: translateY(-8px) scale(1.04);
    background: #fff;
    border-color: #e6e8ec;
    box-shadow: 0 36px 70px -34px rgba(8, 9, 11, .4);
  }
  .stek-site .stek-af-features > li:hover .stek-af-icon { background: var(--stek-red); transform: scale(1.12); }
  .stek-site .stek-airforce .stek-af-features > li { transition: transform .6s var(--stek-ease), background-color .5s ease, border-color .5s ease, box-shadow .6s var(--stek-ease), opacity .4s ease; }
}

/* Keep the closing call to action inside the page's white area, as a panel, right above the footer. */
.stek-airforce,
.stek-contact { display: flow-root; }
.stek-site .main-content:has(.stek-airforce, .stek-contact) { padding-bottom: 0; }
.stek-site .stek-airforce .stek-contact-cta {
  box-sizing: border-box;
  width: min(1360px, calc(100% - 2 * var(--stek-gutter)));
  max-width: none;
  margin: clamp(64px, 8vw, 120px) auto;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px);
  border-radius: 24px;
  background: var(--stek-carbon);
  color: #fff;
}
.stek-site .stek-airforce .stek-contact-cta h2 { color: #fff; }
.stek-site .stek-airforce .stek-contact-cta p { color: var(--stek-silver); }
.stek-site .stek-airforce .stek-contact-cta .stek-btn--dark { background: var(--stek-red); }
.stek-site .stek-airforce .stek-contact-cta .stek-btn--dark:hover { background: #fff; color: var(--stek-carbon); }



/* ---------- Layer structure: an exploded 3D stack beside the list ---------- */

.stek-af-layers-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}

.stek-af-stack {
  position: relative;
  height: clamp(340px, 34vw, 480px);
  perspective: 1600px;
}

.stek-af-stack-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: stek-af-float 7s ease-in-out infinite;
}

@keyframes stek-af-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.stek-af-slab {
  --gap: clamp(34px, 3.6vw, 50px);
  --lift: 0px;
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 3 / 2;
  translate: -50% -50%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  transform: rotateX(58deg) rotateZ(-38deg) translateZ(calc((3.5 - var(--n)) * var(--gap) + var(--lift)));
  transition: transform .9s var(--stek-ease), opacity .45s ease, box-shadow .45s ease, filter .45s ease;
  box-shadow: 0 28px 50px -28px rgba(8, 9, 11, .55);
}

.stek-af-slab b {
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: rgba(8, 9, 11, .55);
  font-family: var(--stek-wide);
  font-size: 22px;
  font-weight: 800;
}

/* Cap sheet: thin protective film. */
.stek-af-slab--1 { --n: 1; background: linear-gradient(135deg, rgba(255, 255, 255, .75), rgba(230, 234, 240, .45)); }
/* Top coat: glossy clear layer. */
.stek-af-slab--2 { --n: 2; background: linear-gradient(120deg, rgba(210, 230, 255, .55) 0%, rgba(255, 255, 255, .9) 45%, rgba(190, 215, 245, .5) 60%, rgba(210, 230, 255, .45) 100%); }
/* Base film: clear TPU. */
.stek-af-slab--3 { --n: 3; background: linear-gradient(135deg, rgba(170, 195, 220, .55), rgba(140, 170, 205, .4)); }
/* Colour layer: cycles through the Airforce colours. */
.stek-af-slab--4 {
  --n: 4;
  border-color: rgba(255, 255, 255, .35);
  background: linear-gradient(115deg, #b3121c, #5b2a86 25%, #1f8f6b 45%, #57d22a 60%, #d8c9a3 78%, #b3121c);
  background-size: 300% 300%;
  animation: stek-af-colour 9s ease-in-out infinite alternate;
}
.stek-af-slab--4 b { color: rgba(255, 255, 255, .8); }
@keyframes stek-af-colour { to { background-position: 100% 50%; } }
/* Adhesive layer. */
.stek-af-slab--5 { --n: 5; background: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.6px) 0 0 / 10px 10px, linear-gradient(135deg, rgba(246, 206, 120, .75), rgba(232, 178, 80, .55)); }
/* Liner with air channels. */
.stek-af-slab--6 { --n: 6; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 16px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 16px), linear-gradient(135deg, #b9bec6, #9aa0a9); }

/* Collapsed until the block scrolls in, then the layers spread apart. */
.stek-pending .stek-af-slab { --gap: 6px; opacity: 0; }
.stek-in .stek-af-slab { transition-duration: 1.4s, .8s, .45s, .45s; }




@media (prefers-reduced-motion: reduce) {
  .stek-af-stack-inner, .stek-af-slab--4 { animation: none; }
}

/* ---------- Layer diagram v3: names always on show, description on hover ---------- */

.stek-af-stack {
  position: relative;
  height: clamp(440px, 42vw, 600px);
  perspective: 1600px;
  -webkit-tap-highlight-color: transparent;
}

.stek-af-stack-inner { left: 34%; animation: none; }

.stek-af-slab {
  --gap: clamp(48px, 5vw, 70px);
  width: clamp(240px, 26vw, 360px);
  cursor: pointer;
}

.stek-af-stack.has-active .stek-af-slab { opacity: .32; filter: saturate(.35); }
.stek-af-stack[data-active="1"] .stek-af-slab--1,
.stek-af-stack[data-active="2"] .stek-af-slab--2,
.stek-af-stack[data-active="3"] .stek-af-slab--3,
.stek-af-stack[data-active="4"] .stek-af-slab--4,
.stek-af-stack[data-active="5"] .stek-af-slab--5,
.stek-af-stack[data-active="6"] .stek-af-slab--6 {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 2px var(--stek-red), 0 40px 70px -30px rgba(179, 18, 28, .55);
}

.stek-af-callouts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s ease;
}

.stek-af-stack.is-placed .stek-af-callouts { opacity: 1; }
.stek-pending .stek-af-callouts { opacity: 0 !important; }

.stek-af-callout {
  position: absolute;
  left: 0;
  top: var(--y, 0);
  width: var(--end, 0);
  height: 0;
  transition: opacity .3s ease;
}

.stek-af-stack.has-active .stek-af-callout:not(.is-hot) { opacity: .4; }

/* Grey hairline that always joins the name to its layer; a red stripe grows over it on hover. */
.stek-af-callout-line {
  position: absolute;
  left: calc(var(--label) + 14px);
  right: 0;
  top: 0;
  height: 2px;
  margin-top: -1px;
  background: repeating-linear-gradient(90deg, #c9cdd3 0 4px, transparent 4px 8px);
}

.stek-af-callout-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--stek-red), var(--stek-red-bright));
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}

.stek-af-callout-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5bac2;
  transform: translate(50%, -50%);
  transition: background-color .25s ease, box-shadow .25s ease;
}

.stek-af-callout.is-hot .stek-af-callout-line::before { transform: scaleX(1); }
.stek-af-callout.is-hot .stek-af-callout-line::after {
  background: var(--stek-red);
  box-shadow: 0 0 0 5px rgba(179, 18, 28, .18);
}

.stek-af-callout-text {
  position: absolute;
  left: 0;
  top: -12px;
  width: var(--label);
  text-align: right;
  pointer-events: auto;
  cursor: pointer;
}

.stek-af-callout-text strong {
  display: block;
  color: var(--stek-carbon);
  font-family: var(--stek-wide);
  font-stretch: 108%;
  font-variation-settings: "wdth" 108;
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 24px;
  white-space: nowrap;
  transition: color .2s ease;
}

.stek-af-callout-text em {
  margin-right: 8px;
  color: var(--stek-red);
  font-style: normal;
}

/* Description: sits on the red line itself, in the gap between the name and the layer,
   so the other names stay readable. */
.stek-af-callout-text > span {
  position: absolute;
  z-index: 3;
  left: calc(100% + 30px);
  top: 22px;
  display: block;
  width: min(300px, calc(var(--end) - var(--label) - 60px));
  padding: 8px 12px;
  border-left: 3px solid var(--stek-red);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 40px -18px rgba(8, 9, 11, .35);
  color: var(--stek-steel);
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s;
}

.stek-af-callout.is-hot { z-index: 2; }
.stek-af-callout.is-hot .stek-af-callout-text strong { color: var(--stek-red); }
.stek-af-callout.is-hot .stek-af-callout-text > span {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .18s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.stek-site .stek-af-hint { margin: 4px 0 0; color: var(--stek-steel); font-size: 14px; text-align: center; }

@media (max-width: 991px) {
  .stek-af-stack { height: 420px; }
  .stek-af-stack-inner { left: 40%; }
  .stek-af-slab { width: 170px; --gap: 46px; }
  .stek-af-slab b { font-size: 16px; right: 10px; bottom: 6px; }
  .stek-af-callout-text strong { font-size: 13px; }
  .stek-af-callout-text em { margin-right: 5px; }
  .stek-af-callout-text > span { font-size: 12px; padding: 8px 10px; }
}

/* Narrow screens: no room beside the line, so the description shows under the diagram. */
@media (max-width: 767px) {
  .stek-af-callout-text > span {
    position: absolute;
    left: 0;
    top: calc(var(--stack-h) - var(--y) + 4px);
    width: calc(var(--stack-w) - 8px);
    font-size: 14px;
  }
  .stek-af-layers-block .stek-af-hint { margin-top: 64px; }
}

/* ---------- Colours: equal tiles, the video in the third column across two rows ---------- */

.stek-af-colours { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stek-af-colours > .stek-af-colour-video { grid-column: 3; grid-row: 1 / span 2; }
.stek-af-colour-video .stek-af-video { position: relative; height: 100%; max-width: none; }
.stek-site .stek-af-colour-video video {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
}
.stek-af-video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 11, .7);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 991px) {
  .stek-af-colours { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stek-af-colours > .stek-af-colour-video { grid-column: 2; grid-row: 1 / span 2; }
}

@media (max-width: 560px) {
  .stek-af-colours { grid-template-columns: 1fr; }
  .stek-af-colours > .stek-af-colour-video { grid-column: auto; grid-row: auto; }
  .stek-site .stek-af-colour-video video { aspect-ratio: 9 / 16; height: auto; }
}
