/*
 * Source-fidelity layer for the three legacy Okna funnels.
 *
 * This file must be loaded after elinek.css and video-gallery.css. Every rule
 * is anchored to the immutable funnel key so the redesigned hubs and other
 * Elinek products keep the shared presentation system.
 */

:where(
  body.elinek-site[data-funnel-key="windows_new"],
  body.elinek-site[data-funnel-key="windows_service"],
  body.elinek-site[data-funnel-key="aluminium_structures"]
) {
  --ink: #212529;
  --ink-soft: #343a40;
  --muted: #606761;
  --paper: #fff;
  --paper-deep: #f2f2f2;
  --surface: #fff;
  --line: rgba(33, 37, 41, .14);
  --deep: #222;
  --deep-2: #303532;
  --accent: #95bc4e;
  --accent-strong: #3b765e;
  --accent-soft: #eef4e2;
  --accent-rgb: 149, 188, 78;
  --display: var(--sans);
  --shadow-sm: 0 8px 24px rgba(25, 31, 27, .09);
  --shadow-lg: 0 18px 48px rgba(25, 31, 27, .13);
  --radius: 8px;
  --shell: 1140px;
  --header-height: 66px;
  background: var(--surface);
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.55;
}

body.elinek-site[data-funnel-key="windows_service"] {
  --paper: #fffdf8;
  --paper-deep: #f4f4ef;
  --accent: #9eb747;
  --accent-strong: #5c7c38;
  --accent-soft: #f0f4e5;
  --accent-rgb: 158, 183, 71;
  --deep: #161617;
  --deep-2: #292d25;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(h1, h2, h3) {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.018em;
  text-wrap: balance;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .eyebrow {
  display: block;
  margin-bottom: .75rem;
  color: var(--accent-strong);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .eyebrow::before {
  display: none;
}

/* Compact shared navigation over a campaign-style first screen. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .site-header:not(.is-scrolled):not(.is-open) {
  background: rgba(25, 29, 27, .72);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body[data-funnel-key="windows_service"] .site-header:not(.is-scrolled):not(.is-open) {
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .site-header__inner {
  gap: 1.25rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.brand__name, .site-nav__links a, .nav-phone strong) {
  font-size: .78rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .brand__mark {
  width: 27px;
  height: 27px;
}

/* The originals used a compact, centered campaign hero rather than a 94vh masthead. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero {
  min-height: clamp(460px, 58svh, 590px);
  align-items: center;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__inner {
  padding-block: calc(var(--header-height) + 2.75rem) 3rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__copy {
  width: min(100%, 960px);
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero .eyebrow {
  margin-bottom: 1rem;
  font-size: clamp(.78rem, 1.25vw, 1rem);
  letter-spacing: .01em;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .hero .eyebrow {
  color: #ff3131;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero h1 {
  max-width: 24ch;
  margin: 0 auto 1rem;
  font-size: clamp(2.15rem, 4.2vw, 3.65rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.025em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .24);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__summary {
  max-width: 790px;
  margin: 0 auto 1.55rem;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(.98rem, 1.45vw, 1.22rem);
  line-height: 1.45;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__actions {
  justify-content: center;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__actions .button--ghost {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__actions .button--primary {
  min-height: 52px;
  min-width: min(100%, 290px);
  padding-inline: 1.8rem;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .17);
  font-size: .88rem;
  letter-spacing: .01em;
}

body[data-funnel-key="windows_new"] .hero__actions .button--primary {
  border-radius: 999px;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .hero__actions .button--primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.hero__caption, .hero__scroll) {
  display: none;
}

body[data-funnel-key="windows_new"] .hero__shade {
  background: rgba(47, 54, 58, .92);
}

body[data-funnel-key="aluminium_structures"] .hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, .7), rgba(7, 9, 8, .44)),
    linear-gradient(0deg, rgba(7, 9, 8, .38), transparent 62%);
}

body[data-funnel-key="aluminium_structures"] .hero__media img {
  object-position: center 58%;
}

body[data-funnel-key="windows_service"] .hero {
  color: #161617;
  background: #f6f6f2;
}

body[data-funnel-key="windows_service"] .hero__media img {
  filter: saturate(.74) brightness(1.07);
  object-position: center;
}

body[data-funnel-key="windows_service"] .hero__shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .62)),
    rgba(255, 255, 255, .16);
}

body[data-funnel-key="windows_service"] .hero h1 {
  color: #161617;
  text-shadow: none;
}

body[data-funnel-key="windows_service"] .hero__summary {
  color: #252925;
}

body[data-funnel-key="windows_service"] .hero .eyebrow {
  color: #b51d16;
}

/* The source pages use a shallow proof strip directly below the hero. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-strip {
  background: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-point {
  min-height: 104px;
  grid-template-columns: 1fr;
  gap: .25rem;
  padding: 1.2rem clamp(1rem, 2.5vw, 2rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-point:first-child {
  padding-left: 0;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-point__number {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-point h2 {
  margin: 0 0 .25rem;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.25;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .trust-point p {
  font-size: .75rem;
}

/* Dense white/soft-grey long-form sections mirror the Konverzky funnels. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .section {
  padding-block: clamp(2.8rem, 5vw, 4.75rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .section-heading {
  margin-bottom: clamp(1.6rem, 3.2vw, 2.8rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .section-heading--split {
  grid-template-columns: minmax(0, 1fr) minmax(250px, .58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.section h2, .cta-band h2) {
  font-size: clamp(1.85rem, 3.35vw, 2.85rem);
  line-height: 1.12;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.section-heading > p:not(.eyebrow), .prose) {
  font-size: clamp(.94rem, 1.15vw, 1.05rem);
  line-height: 1.58;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .page-sections > .story:nth-child(even) {
  background: #f5f5f3;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .page-sections > .gallery-section:nth-child(even) {
  background: #e9e9e9;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .card-section {
  background: #f2f2f2;
}

/* Alternating two-column content with compact, softly rounded source imagery. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story--text-only .story__grid {
  grid-template-columns: minmax(0, 850px);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__copy h2 {
  margin-bottom: 1.15rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .13);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__media::before {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__media img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__media img[src$=".png"] {
  padding: 1rem;
  background: #fff;
  object-fit: contain;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.story__media:hover img, .story__media-index) {
  transform: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .story__media-index {
  display: none;
}

/* Benefits and testimonials are compact bordered tiles, not editorial cards. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .card-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card {
  min-height: 178px;
  padding: 1.35rem;
  border: 1px solid rgba(33, 37, 41, .11);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(25, 31, 27, .055);
  transform: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card--linked {
  padding: 0;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__link {
  min-height: 178px;
  padding: 1.35rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__top {
  margin-bottom: .8rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-color: var(--accent);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__icon::before {
  inset: 10px 14px;
  border-color: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__icon::after {
  inset: 14px 10px;
  border-color: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card__icon i {
  inset: 50% 8px auto;
  border-color: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card h3 {
  margin: .7rem 0 .55rem;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.2;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card p {
  color: #4e554f;
  font-size: .84rem;
  line-height: 1.5;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(25, 31, 27, .1);
  transform: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card:hover :is(p, .feature-card__index) {
  color: var(--muted);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .feature-card:hover .feature-card__icon {
  border-color: var(--accent);
  transform: none;
}

/* Equal, dense rows match the original realisation and proof grids. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card,
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card:first-child,
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card:nth-child(2) {
  grid-column: span 4;
  min-height: 245px;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .1);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-grid:has(> .gallery-card:last-child:nth-child(2)) > .gallery-card {
  grid-column: span 6;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card img {
  transition: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card img[src$=".png"] {
  background: #fff;
  object-fit: contain;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .gallery-card:hover img {
  filter: brightness(.95);
  transform: none;
}

/* Vertical source videos stay vertical; single social-proof video stays wide. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-section {
  background: #f2f2f2;
  color: var(--ink);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-section .section-heading > p,
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-section .section-heading--split > p {
  color: var(--muted);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-grid {
  width: min(100%, 850px);
  margin-inline: auto;
  gap: 1.25rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) :is(.video-card, .video-grid--2 .video-card) {
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 9px 26px rgba(0, 0, 0, .17);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-grid:has(> .video-card:only-child) {
  width: min(100%, 900px);
  grid-template-columns: 1fr;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-grid:has(> .video-card:only-child) .video-card {
  aspect-ratio: 16 / 9;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-card__facade {
  background:
    linear-gradient(145deg, rgba(var(--accent-rgb), .34), transparent 58%),
    #29302c;
  transition: background .2s ease;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-card__facade::after {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-card__facade strong {
  font-family: var(--sans);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-card__play {
  width: 58px;
  height: 58px;
  background: var(--accent);
  color: #fff;
}

/* One shared source heading covers the video and the immediately following gallery. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="aluminium_structures"]
) .video-section + .gallery-section .section-heading {
  display: none;
}

/* The original aluminium FAQ is a full-width, compact accordion. */
body[data-funnel-key="aluminium_structures"] .faq__grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

body[data-funnel-key="aluminium_structures"] .faq .section-heading {
  position: static;
  max-width: 900px;
  margin-bottom: 1rem;
}

body[data-funnel-key="aluminium_structures"] .faq summary {
  min-height: 70px;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
}

body[data-funnel-key="aluminium_structures"] .faq__answer {
  color: #4d544f;
  font-size: .94rem;
}

/* Compact campaign CTA bands with the original green action treatment. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .cta-band {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
  background: #272d2a;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .cta-band::after {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .cta-band__inner {
  gap: 2rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .cta-band .button--primary {
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
}

/* Source forms were compact white panels on a pale field. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier {
  background: #f1f2ee;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier::before {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier__layout {
  grid-template-columns: minmax(260px, .48fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier__intro {
  position: static;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier-panel {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid rgba(33, 37, 41, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(25, 31, 27, .1);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .form-group {
  margin-bottom: 1.55rem;
  padding-bottom: 1.5rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .form-group legend {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-size: 1.08rem;
  font-weight: 700;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(
  .form-field input:not([type="checkbox"]):not([type="radio"]),
  .form-field select,
  .form-field textarea
) {
  border-color: rgba(33, 37, 41, .2);
  border-radius: 4px;
  background: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier .button--dark {
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .qualifier .button--dark:hover {
  background: var(--accent-strong);
  color: #fff;
}

/* Keep the common footer useful but visually as terse as the source footers. */
:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .site-footer {
  padding: 3rem 0 1rem;
  background: #111614;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .site-footer__grid {
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) :is(.site-footer__brand > p, .site-footer__cta) {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .site-footer__bottom {
  margin-top: 2rem;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .site-footer__bottom small + small {
  display: none;
}

:where(
  body[data-funnel-key="windows_new"],
  body[data-funnel-key="windows_service"],
  body[data-funnel-key="aluminium_structures"]
) .button > span[aria-hidden="true"] {
  display: none;
}

@media (max-width: 900px) {
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .section-heading--split {
    grid-template-columns: 1fr;
    gap: .8rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .story__grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .story__copy {
    order: -1;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .story__media {
    width: min(100%, 680px);
  }
}

@media (max-width: 760px) {
  :where(
    body.elinek-site[data-funnel-key="windows_new"],
    body.elinek-site[data-funnel-key="windows_service"],
    body.elinek-site[data-funnel-key="aluminium_structures"]
  ) {
    --header-height: 62px;
    font-size: .94rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .hero {
    min-height: 520px;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .hero__inner {
    padding-block: calc(var(--header-height) + 2rem) 2.75rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .hero h1 {
    max-width: 22ch;
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .hero__summary {
    font-size: .94rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .trust-point {
    min-height: 0;
    padding: 1rem 0;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .section {
    padding-block: 2.75rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .card-grid {
    grid-template-columns: 1fr;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .feature-card {
    min-height: 0;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .gallery-card,
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .gallery-card:first-child,
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .gallery-card:nth-child(2) {
    grid-column: auto;
    min-width: 0;
    min-height: 265px;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="aluminium_structures"]
  ) .video-grid,
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="aluminium_structures"]
  ) .video-grid--3 {
    width: min(100%, 390px);
    grid-template-columns: 1fr;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="aluminium_structures"]
  ) :is(.video-card, .video-grid--2 .video-card) {
    aspect-ratio: 9 / 14;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="aluminium_structures"]
  ) .video-grid:has(> .video-card:only-child) .video-card {
    aspect-ratio: 16 / 9;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .qualifier__layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .hero__actions .button--primary {
    width: 100%;
    min-width: 0;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .story__media {
    aspect-ratio: 1 / 1;
  }

  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) :is(
    .hero__media img,
    .story__media img,
    .gallery-card img,
    .video-card__facade,
    .video-card__play,
    .feature-card,
    .button
  ) {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  :where(
    body[data-funnel-key="windows_new"],
    body[data-funnel-key="windows_service"],
    body[data-funnel-key="aluminium_structures"]
  ) :is(.feature-card, .gallery-card, .video-card, .qualifier-panel) {
    border: 1px solid CanvasText;
  }
}
