/* ==========================================================================
   JP Bouwconsult — Cinematic layer
   Loaded after the Next.js styles on every page. Works together with
   /cinema/cinema.js, which only sets data-attributes and CSS variables.
   ========================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("/cinema/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/cinema/fonts/inter-tight-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/cinema/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/cinema/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --cine-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --cine-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --cine-night: #071417;
  --cine-deep: #0b2126;
  --cine-ink: #102e34;
  --cine-paper: #f6f3ec;
  --cine-sand: #ece6da;
  --cine-champ: #cdb58e;
  --cine-champ-hi: #efe3c9;
  --cine-champ-lo: #a8854f;
  --cine-line: rgba(16, 46, 52, .14);
  --cine-line-dark: rgba(255, 255, 255, .12);
  --cine-ease: cubic-bezier(.16, 1, .3, 1);
  --cine-ease-io: cubic-bezier(.77, 0, .18, 1);
  --cine-head-h: 92px;
  --cine-gutter: clamp(20px, 6vw, 112px);
  --hp: 0;
}

/* --------------------------------------------------------------------------
   1. Typography
   -------------------------------------------------------------------------- */
html body {
  font-family: var(--cine-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--cine-paper);
}
html body :is(h1, h2, h3, h4, button, input, select, textarea) { font-family: var(--cine-sans); }

html body main :is(h1, h2) {
  font-weight: 500;
  letter-spacing: -.042em;
  line-height: .98;
  text-wrap: balance;
}
html body main h3 { font-weight: 500; letter-spacing: -.022em; }
html body main p { text-wrap: pretty; }

/* Second line of a heading becomes an editorial serif accent */
html body main :is(h1, h2) > span {
  font-family: var(--cine-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  font-size: 1.07em;
  line-height: .95;
}

html body .eyebrow {
  font-family: var(--cine-sans);
  font-weight: 600;
  letter-spacing: .22em;
}

/* --------------------------------------------------------------------------
   2. Buttons & links
   -------------------------------------------------------------------------- */
html body .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-weight: 500;
  letter-spacing: .005em;
  border-radius: 999px;
  min-height: 54px;
  padding-inline: 28px;
  transition: background-color .5s var(--cine-ease), color .5s var(--cine-ease), border-color .5s var(--cine-ease), translate .5s var(--cine-ease), box-shadow .5s var(--cine-ease);
}
html body .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .28) 45%, transparent 70%);
  translate: -120% 0;
  transition: translate .9s var(--cine-ease);
}
html body .btn:hover::after { translate: 120% 0; }
html body .btn:hover { translate: 0 -2px; box-shadow: 0 18px 40px -18px rgba(7, 20, 23, .55); }
html body .btn svg { transition: translate .5s var(--cine-ease); }
html body .btn:hover svg { translate: 3px -3px; }

html body .btn.gold,
html body .site-header .header-cta {
  background: linear-gradient(135deg, var(--cine-champ-hi), var(--cine-champ) 55%, #bf9f6c);
  color: var(--cine-night);
}
html body .btn.gold:hover { background: linear-gradient(135deg, #f6ecd6, #d6bf97 55%, #c6a774); }
html body .btn.light { background: var(--cine-paper); color: var(--cine-night); }
html body .btn.outline { background: transparent; }

html body main .text-link {
  position: relative;
  border-bottom: 0 !important;
  padding-bottom: 10px;
}
html body main .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .35;
  transform-origin: right;
  transition: transform .8s var(--cine-ease), opacity .4s;
}
html body main .text-link:hover::after { animation: cine-underline .9s var(--cine-ease); opacity: .9; }
@keyframes cine-underline {
  0% { transform: scaleX(1); transform-origin: right; }
  49% { transform: scaleX(0); transform-origin: right; }
  50% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

/* --------------------------------------------------------------------------
   3. Header — glass, adapts to dark heroes, hides while reading
   -------------------------------------------------------------------------- */
html body .topline {
  background: var(--cine-night);
  color: rgba(236, 230, 218, .72);
  letter-spacing: .04em;
  position: relative;
  z-index: 41;
}
html body .topline a { color: var(--cine-champ-hi); }

html body .site-header {
  background: rgba(246, 243, 236, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color .6s var(--cine-ease), color .6s var(--cine-ease), translate .7s var(--cine-ease), border-color .6s, box-shadow .6s;
}
html[data-cine-scrolled] body .site-header {
  border-bottom-color: var(--cine-line);
  box-shadow: 0 10px 40px -30px rgba(7, 20, 23, .5);
}
html[data-cine-hide] body .site-header { translate: 0 -105%; }
html body .site-header .desktop-nav .nav-trigger,
html body .site-header .desktop-nav > a { letter-spacing: -.005em; font-weight: 500; }

/* Over a dark hero: transparent, light type */
html[data-cine-head="over"] body .site-header,
html:not([data-cine]) body:has(.cinema-hero) .site-header,
html:not([data-cine]) body:has(.cine-check) .site-header,
html[data-cine-head="dark"] body .site-header {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: none;
}
html[data-cine-head="over"] body .site-header,
html:not([data-cine]) body:has(.cinema-hero) .site-header {
  background: linear-gradient(180deg, rgba(7, 20, 23, .55), rgba(7, 20, 23, 0));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
html[data-cine-head="dark"] body .site-header {
  background: var(--cine-head-bg, var(--cine-ink));
}
:is(html[data-cine-head="over"], html[data-cine-head="dark"], html:not([data-cine]) body:has(.cinema-hero)) .site-header :is(.brand, .brand span, .brand small, .nav-trigger, .desktop-nav > a, .header-bag, .mobile-menu) {
  color: #fff;
}
:is(html[data-cine-head="over"], html[data-cine-head="dark"], html:not([data-cine]) body:has(.cinema-hero)) .site-header .brand small { color: rgba(255, 255, 255, .62); }
:is(html[data-cine-head="over"], html[data-cine-head="dark"], html:not([data-cine]) body:has(.cinema-hero)) .site-header .header-bag b {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
:is(html[data-cine-head="over"], html[data-cine-head="dark"], html:not([data-cine]) body:has(.cinema-hero)) .site-header .brand-symbol {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}
html body .site-header .header-cta {
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 600;
  transition: translate .5s var(--cine-ease), box-shadow .5s var(--cine-ease);
}
html body .site-header .header-cta:hover { translate: 0 -1px; box-shadow: 0 14px 30px -14px rgba(168, 133, 79, .8); }

/* Dropdown menus */
html body .nav-dropdown {
  border-radius: 18px !important;
  border: 1px solid rgba(16, 46, 52, .08) !important;
  background: rgba(250, 248, 243, .9) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 40px 80px -30px rgba(7, 20, 23, .45), 0 2px 6px rgba(7, 20, 23, .06) !important;
  padding: 10px !important;
  min-width: 290px !important;
}
html body .nav-dropdown a {
  border-radius: 10px !important;
  font-weight: 450;
  letter-spacing: -.01em;
  transition: background-color .3s, padding-left .45s var(--cine-ease);
}
html body .nav-dropdown a[data-highlighted],
html body .nav-dropdown a:hover { background: rgba(205, 181, 142, .2) !important; padding-left: 20px !important; }

/* --------------------------------------------------------------------------
   4. Home — opening scene
   -------------------------------------------------------------------------- */
html body main.cinematic-home { background: var(--cine-paper); }

html body .cinematic-home .cinema-hero {
  margin-top: calc(var(--cine-head-h) * -1);
  height: calc(100svh - var(--cine-topline-h, 27px));
  min-height: 640px;
  max-height: none;
  background: var(--cine-night);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
html body .cinematic-home .cinema-hero[class] .cinema-image {
  object-position: 60% 45%;
  filter: brightness(.78) contrast(1.08) saturate(.82);
  animation: cine-hero-settle 20s cubic-bezier(.1, .75, .2, 1) .05s both;
  translate: 0 calc(var(--hp) * 16%);
  will-change: transform, translate;
}
html body .cinematic-home .cinema-hero.is-paused[class] .cinema-image { animation-play-state: paused; }
@keyframes cine-hero-settle {
  from { scale: 1.24; transform: translateX(0); }
  to { scale: 1; transform: translateX(-1.2%); }
}
/* Aperture: two night bars open like a film gate */
html body .cinematic-home .cinema-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--cine-night), var(--cine-night)) top / 100% 50% no-repeat,
    linear-gradient(var(--cine-night), var(--cine-night)) bottom / 100% 50% no-repeat;
  animation: cine-gate 1.8s var(--cine-ease-io) .05s both;
}
@keyframes cine-gate {
  0% { background-size: 100% 47.5%, 100% 47.5%; }
  100% { background-size: 100% 0%, 100% 0%; }
}
html body .cinematic-home .cinema-hero > :is(.cinema-copy, .cinema-project-card, .cinema-bottom) { z-index: 2; }
@keyframes cine-open {
  from { clip-path: inset(46% 0 46% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes cine-settle {
  from { scale: 1.22; }
  to { scale: 1; }
}
html body .cinematic-home .cinema-shade {
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(7, 20, 23, .55) 100%),
    linear-gradient(90deg, rgba(7, 20, 23, .82) 0%, rgba(7, 20, 23, .45) 42%, rgba(7, 20, 23, 0) 75%),
    linear-gradient(0deg, rgba(7, 20, 23, .92) 0%, rgba(7, 20, 23, 0) 48%),
    linear-gradient(180deg, rgba(7, 20, 23, .5) 0%, rgba(7, 20, 23, 0) 22%);
  opacity: calc(1 + var(--hp) * .4);
  animation: cine-fade 2s var(--cine-ease) .2s both;
}
html body .cinematic-home .cinema-architectural-line { display: none; }

html body .cinematic-home .cinema-copy {
  padding: 0 var(--cine-gutter) clamp(120px, 17vh, 190px);
  max-width: 1280px;
  translate: 0 calc(var(--hp) * -90px);
  opacity: calc(1 - var(--hp) * 1.5);
}
html body .cinematic-home .cinema-copy .eyebrow {
  color: var(--cine-champ-hi);
  font-size: .7rem;
  letter-spacing: .32em;
  margin-bottom: clamp(22px, 3.4vh, 38px);
  display: inline-flex;
  align-items: center;
  gap: 18px;
  animation: cine-rise 1.2s var(--cine-ease) .55s both;
}
html body .cinematic-home .cinema-copy .eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
html body .cinematic-home .cinema-copy h1 {
  font-size: clamp(3.3rem, 8.4vw, 10.5rem);
  line-height: .9;
  letter-spacing: -.055em;
  font-weight: 500;
  color: #fff;
  animation: cine-rise-lg 1.5s var(--cine-ease) .7s both;
}
html body .cinematic-home .cinema-copy h1 span {
  display: inline-block;
  margin-top: .04em;
  padding-right: .08em;
  font-family: var(--cine-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  font-size: 1.04em;
  color: transparent;
  background: linear-gradient(100deg, #f6ecd8 0%, #d9c29a 45%, #b9955f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  animation: cine-rise-lg 1.5s var(--cine-ease) .95s both;
}
html body .cinematic-home .cinema-introduction { animation: cine-rise 1.3s var(--cine-ease) 1.25s both; }
html body .cinematic-home .cinema-copy p {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .76);
  max-width: 470px;
  margin-top: clamp(22px, 3.6vh, 40px);
}
html body .cinematic-home .cinema-copy .actions { margin-top: clamp(24px, 4vh, 44px); gap: 34px; align-items: center; }
html body .cinematic-home .cinema-secondary { color: #fff; }

html body .cinematic-home .cinema-project-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 28, 32, .38) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  animation: cine-slide-in 1.4s var(--cine-ease) 1.6s both;
  transition: translate .7s var(--cine-ease), border-color .5s;
  translate: 0 calc(var(--hp) * -60px);
}
html body .cinematic-home .cinema-project-card:hover { border-color: rgba(239, 227, 201, .5); }
html body .cinematic-home .cinema-project-card img { transition: scale 1.2s var(--cine-ease); }
html body .cinematic-home .cinema-project-card:hover img { scale: 1.06; }
html body .cinematic-home .cinema-project-card > div { background: transparent !important; color: #fff; }
html body .cinematic-home .cinema-project-card span { color: var(--cine-champ-hi); }
html body .cinematic-home .cinema-project-card p { color: #fff; }

html body .cinematic-home .cinema-bottom {
  left: var(--cine-gutter);
  right: var(--cine-gutter);
  bottom: 34px;
  animation: cine-fade 1.6s var(--cine-ease) 2s both;
  opacity: calc(1 - var(--hp) * 2);
}
html body .cinematic-home .cinema-bottom button {
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html body .cinematic-home .cinema-scroll-line { position: relative; overflow: hidden; }
html body .cinematic-home .cinema-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cine-champ-hi);
  animation: cine-scan 2.6s var(--cine-ease-io) 2.4s infinite;
  translate: -101% 0;
}
@keyframes cine-scan {
  0% { translate: -101% 0; }
  45%, 55% { translate: 0 0; }
  100% { translate: 101% 0; }
}

@keyframes cine-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cine-rise {
  from { opacity: 0; translate: 0 26px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes cine-rise-lg {
  from { opacity: 0; translate: 0 .32em; filter: blur(14px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}
@keyframes cine-slide-in {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: none; }
}

/* Trust strip continues the night of the hero */
html body .cinematic-home .trust-strip {
  background: var(--cine-night);
  color: rgba(236, 230, 218, .78);
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding-block: 26px;
  letter-spacing: .02em;
  font-size: .8rem;
}
html body .cinematic-home .trust-strip svg { color: var(--cine-champ); }

/* --------------------------------------------------------------------------
   5. Home — chapters
   -------------------------------------------------------------------------- */
html body .cinematic-home > .section { padding-block: clamp(110px, 13vw, 210px); }
html body .cinematic-home h2 { font-size: clamp(2.9rem, 6vw, 6.8rem); line-height: .96; letter-spacing: -.05em; }
html body .cinematic-home h2 span { color: #6f8682; }
html body .cinematic-home .eyebrow {
  font-size: .68rem;
  letter-spacing: .28em;
  color: var(--cine-champ-lo);
}

/* Intro — statement + full-bleed window */
html body .cinematic-home .home-intro .lead {
  display: inline;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  line-height: 1.32;
  letter-spacing: -.022em;
  font-weight: 450;
  color: transparent;
  background-image: linear-gradient(90deg, var(--cine-ink) 0 var(--fill, 100%), rgba(16, 46, 52, .16) var(--fill, 100%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html body .cinematic-home .home-intro .lead + p { margin-top: 38px; }
html body .cinematic-home .home-intro .mini-spec b { font-weight: 500; }

html body .cinematic-home .home-interior-frame {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(80px, 9vw, 150px);
  height: min(100vh, 62vw);
  border: 0;
  overflow: hidden;
  background: var(--cine-night);
  clip-path: inset(var(--ex-y, 0px) var(--ex-x, 0px) var(--ex-y, 0px) var(--ex-x, 0px) round var(--ex-r, 0px));
  will-change: clip-path;
}
html body .cinematic-home .home-interior-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: var(--ex-s, 1);
  filter: saturate(.85) contrast(1.06);
}
html body .cinematic-home .home-interior-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 20, 23, .78) 0%, rgba(7, 20, 23, 0) 38%), radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(7, 20, 23, .4));
}
html body .cinematic-home .home-interior-frame figcaption {
  position: absolute;
  left: var(--cine-gutter);
  right: var(--cine-gutter);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 2;
  background: transparent !important;
  color: #fff;
  padding: 0 !important;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
html body .cinematic-home .home-interior-frame figcaption span { color: var(--cine-champ-hi); letter-spacing: .28em; font-size: .68rem; }
html body .cinematic-home .home-interior-frame figcaption a {
  font-family: var(--cine-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: -.01em;
  color: #fff;
}

/* Finance — night chapter */
html body .cinematic-home .home-finance {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 75% at 88% 12%, rgba(205, 181, 142, .14), transparent 62%),
    radial-gradient(40% 60% at 6% 100%, rgba(52, 104, 108, .28), transparent 70%),
    var(--cine-deep);
  padding-block: clamp(120px, 13vw, 210px);
}
html body .cinematic-home .home-finance h2 { color: #fff; }
html body .cinematic-home .home-finance h2 span {
  color: transparent;
  background: linear-gradient(100deg, #f6ecd8, #c9a874);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: .08em;
}
html body .cinematic-home .home-finance p { color: rgba(236, 230, 218, .72); }
html body .cinematic-home .home-finance .eyebrow { color: var(--cine-champ); }
html body .cinematic-home .finance-rows > div {
  border-color: var(--cine-line-dark) !important;
  transition: padding-left .7s var(--cine-ease), background-color .7s;
}
html body .cinematic-home .finance-rows > div:hover { padding-left: 14px; }
html body .cinematic-home .finance-rows h3 { color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.4rem); }
html body .cinematic-home .finance-rows > div > span { color: var(--cine-champ); }

/* Products — cinematic bento */
html body .cinematic-home .home-products .home-offerings {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: clamp(640px, 92vh, 980px);
}
html body .cinematic-home .home-product-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: var(--cine-night);
  min-height: 0;
  height: auto;
  margin: 0 !important;
  isolation: isolate;
}
html body .cinematic-home .home-product-windows { grid-column: 1; grid-row: 1; }
html body .cinematic-home .home-product-sliding { grid-column: 1; grid-row: 2; }
html body .cinematic-home .home-product-door { grid-column: 2; grid-row: 1 / 3; }
html body .cinematic-home .home-product-visual { position: absolute !important; inset: 0; height: 100% !important; min-height: 0 !important; aspect-ratio: auto !important; }
html body .cinematic-home .home-product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.86) contrast(1.06) brightness(.92);
  transition: scale 1.8s var(--cine-ease), filter 1.2s var(--cine-ease);
}
html body .cinematic-home .home-product-card:hover .home-product-visual img { scale: 1.06; filter: saturate(.95) contrast(1.06) brightness(1); }
html body .cinematic-home .home-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 20, 23, .86) 0%, rgba(7, 20, 23, .2) 45%, rgba(7, 20, 23, 0) 70%);
}
html body .cinematic-home .home-product-caption {
  position: absolute !important;
  left: clamp(22px, 2.6vw, 40px);
  right: clamp(22px, 2.6vw, 40px);
  bottom: clamp(22px, 2.6vw, 40px);
  z-index: 2;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #fff;
}
html body .cinematic-home .home-product-caption small { color: var(--cine-champ-hi); letter-spacing: .24em; font-size: .62rem; }
html body .cinematic-home .home-product-caption h3 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin: 12px 0 10px;
}
html body .cinematic-home .home-product-door .home-product-caption h3 { font-size: clamp(2.8rem, 5.6vw, 6.2rem); }
html body .cinematic-home .home-product-caption > span { color: rgba(255, 255, 255, .62); font-size: .78rem; }
html body .cinematic-home .home-product-caption svg { color: #fff; }

/* Advice */
html body .cinematic-home .home-advice { background: var(--cine-sand); }
html body .cinematic-home .advice-list > div {
  border-color: var(--cine-line) !important;
  transition: padding-left .7s var(--cine-ease);
}
html body .cinematic-home .advice-list > div:hover { padding-left: 12px; }
html body .cinematic-home .advice-list span { font-size: clamp(1.05rem, 1.4vw, 1.35rem); letter-spacing: -.015em; }

/* Services — typographic index */
html body .cinematic-home .service-links { grid-template-columns: 1fr !important; border-bottom: 1px solid var(--cine-line); }
html body .cinematic-home .service-links > a {
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 32%) !important;
  align-items: baseline;
  padding: clamp(26px, 3.2vw, 44px) 60px clamp(26px, 3.2vw, 44px) 0 !important;
  border-top: 1px solid var(--cine-line) !important;
  transition: padding-left .8s var(--cine-ease), color .5s;
}
html body .cinematic-home .service-links > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(205, 181, 142, .16), rgba(205, 181, 142, 0));
  opacity: 0;
  transition: opacity .6s var(--cine-ease);
}
html body .cinematic-home .service-links > a:hover { padding-left: 22px !important; }
html body .cinematic-home .service-links > a:hover::before { opacity: 1; }
html body .cinematic-home .service-links .service-number { grid-row: auto !important; padding-top: 0 !important; letter-spacing: .2em; }
html body .cinematic-home .service-links h3 { font-size: clamp(2rem, 4.6vw, 5rem) !important; letter-spacing: -.05em; line-height: 1 !important; }
html body .cinematic-home .service-links p { grid-column: auto !important; margin: 0 !important; color: #5d7072; font-size: .95rem !important; }
html body .cinematic-home .service-links > a > svg { top: 50% !important; translate: 0 -50%; width: 26px !important; height: 26px !important; }

/* Check banner — dark split scene */
html body .cinematic-home .home-check {
  background: var(--cine-night);
  color: #fff;
  overflow: hidden;
}
html body .cinematic-home .home-check h2 { color: #fff; }
html body .cinematic-home .home-check p { color: rgba(236, 230, 218, .74); }
html body .cinematic-home .home-check small { color: rgba(236, 230, 218, .5); }
html body .cinematic-home .home-check .eyebrow { color: var(--cine-champ); }
html body .cinematic-home .home-check-image { overflow: hidden; }
html body .cinematic-home .home-check-image img {
  filter: saturate(.82) contrast(1.06) brightness(.9);
  translate: 0 calc(var(--py, 0) * 1px);
  scale: 1.12;
}

/* Process — sticky craft frame */
html body .cinematic-home .home-craft-frame { border-radius: 22px; overflow: hidden; }
html body .cinematic-home .home-craft-frame img { filter: saturate(.86) contrast(1.06); translate: 0 calc(var(--py, 0) * 1px); scale: 1.14; }
@media (min-width: 1000px) {
  html body .cinematic-home .home-craft-frame { position: sticky; top: calc(var(--cine-head-h) + 28px); align-self: start; }
}
html body .cinematic-home .home-steps > div { border-color: var(--cine-line) !important; }
html body .cinematic-home .home-steps h3 { font-size: clamp(1.5rem, 2.2vw, 2.3rem); }

/* Stories — horizontal film strip (desktop pin, mobile swipe) */
html body .cinematic-home .home-stories { overflow-x: clip; padding-bottom: 0; }
html body .cinematic-home .story-intro-note { color: #5d7072; }
html body .story-card-photo { border-radius: 18px; }
html body .story-card .case-card-photo,
html body .story-card .story-image { filter: saturate(.86) contrast(1.05); }
html body .story-card .story-number {
  font-family: var(--cine-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
html body .story-card .example-badge {
  border-radius: 999px;
  background: rgba(7, 20, 23, .45) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  letter-spacing: .2em;
}
html body .story-card h3 { letter-spacing: -.035em; }

/* Door projects (tall portrait photos): show the whole door and frame in the overview */
html body .story-grid-archive .story-card-photo:has(img[src$="nijverdal/foto-2-recht.webp"]),
html body .story-grid-archive .story-card-photo:has(img[src$="aalderinkshoek-drie-dagen/foto-1-recht.webp"]) {
  aspect-ratio: 4 / 5;
}
html body .story-card-photo img:is([src$="nijverdal/foto-2-recht.webp"], [src$="aalderinkshoek-drie-dagen/foto-1-recht.webp"]) { object-position: 50% 50%; }
html body .story-card-photo img[src$="schelfhorst-hergebruik/hero-tuinzijde-recht-v2.webp"] { object-position: 50% 50%; }

@media (min-width: 1000px) {
  html[data-cine-pin] body .cinematic-home .story-grid-home {
    position: relative;
    height: var(--pin-h, auto);
    padding: 0 !important;
    margin: 0;
    max-width: none;
  }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-grid {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex !important;
    align-items: center;
    gap: clamp(22px, 2.4vw, 40px);
    width: max-content;
    padding: calc(var(--cine-head-h) * .5) var(--cine-gutter) 0 calc(var(--cine-gutter) - 7vw + 7vw);
    transform: translate3d(var(--pin-x, 0px), 0, 0);
    will-change: transform;
  }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card {
    flex: none;
    width: clamp(330px, 46vh, 520px);
    grid-column: auto !important;
    grid-row: auto !important;
  }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card { margin-top: 0 !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured { display: block !important; background: none !important; color: inherit !important; width: clamp(420px, 62vh, 700px); }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured .story-card-copy { padding: 22px 0 0 !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured .story-card-copy :is(.eyebrow, p, .story-read) { color: inherit !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured .story-card-copy .eyebrow { color: #96764b !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured .story-card-copy p { margin-top: 10px !important; font-size: inherit !important; line-height: inherit !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-featured .story-card-copy h3 { max-width: none !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-photo { height: 50vh; min-height: 0 !important; aspect-ratio: auto !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-photo :is(img, .story-image) { height: 100% !important; width: 100%; object-fit: cover; aspect-ratio: auto !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-copy { padding-top: 22px; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-copy p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-copy h3 { font-size: clamp(1.4rem, 2vw, 2rem) !important; }
  html[data-cine-pin] body .cinematic-home .story-grid-home .story-card-copy .eyebrow { margin-bottom: 10px; }
}
@media (max-width: 999px) {
  html body .cinematic-home .story-grid-home .story-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    margin-inline: -24px;
    padding: 0 24px 30px;
    scrollbar-width: none;
  }
  html body .cinematic-home .story-grid-home .story-grid::-webkit-scrollbar { display: none; }
  html body .cinematic-home .story-grid-home .story-card { flex: none; width: 82vw; scroll-snap-align: center; }
}

/* Film progress for the strip */
html body .cine-strip-meter {
  position: absolute;
  left: var(--cine-gutter);
  right: var(--cine-gutter);
  bottom: 5vh;
  height: 1px;
  background: var(--cine-line);
  pointer-events: none;
}
html body .cine-strip-meter i {
  position: absolute;
  inset: 0;
  background: var(--cine-ink);
  transform-origin: left;
  transform: scaleX(var(--pin-p, 0));
}

/* Careers */
html body .cinematic-home .home-careers {
  background:
    radial-gradient(50% 120% at 100% 0%, rgba(205, 181, 142, .12), transparent 60%),
    var(--cine-deep);
  padding-block: clamp(110px, 12vw, 190px);
}
html body .cinematic-home .home-careers h2 { color: #fff; font-size: clamp(2.8rem, 6vw, 6.6rem); }
html body .cinematic-home .home-careers p { color: rgba(236, 230, 218, .72); }
html body .careers-teaser .btn.outline { border-color: rgba(255, 255, 255, .35); color: #fff; }
html body .careers-teaser .btn.outline:hover { background: #fff; color: var(--cine-night); }

/* FAQ */
html body .faq-wrap .faq-question {
  font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important;
  letter-spacing: -.015em;
  font-weight: 450 !important;
  padding-block: 24px !important;
}
html body .faq-wrap .faq-question:hover { text-decoration: none !important; color: var(--cine-champ-lo); }
html body .faq-wrap > div > div { border-color: var(--cine-line) !important; }

/* --------------------------------------------------------------------------
   6. Shared closing scene + footer
   -------------------------------------------------------------------------- */
html body .final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 90% at 80% 110%, rgba(205, 181, 142, .2), transparent 60%),
    radial-gradient(50% 80% at 0% 0%, rgba(52, 104, 108, .3), transparent 65%),
    var(--cine-night);
  color: #fff;
  padding-block: clamp(120px, 14vw, 230px) !important;
}
html body .final-cta::before { border-color: rgba(255, 255, 255, .07) !important; }
html body .final-cta h2 {
  color: #fff;
  font-size: clamp(2.8rem, 6.4vw, 7.2rem) !important;
  line-height: .96 !important;
  letter-spacing: -.052em !important;
  font-weight: 500;
}
html body .final-cta h2 span { color: var(--cine-champ-hi); }
html body .final-cta .eyebrow { color: var(--cine-champ); letter-spacing: .3em; }
html body .final-cta .btn {
  background: linear-gradient(135deg, var(--cine-champ-hi), var(--cine-champ) 55%, #bf9f6c);
  color: var(--cine-night);
}

html body .site-footer {
  position: relative;
  overflow: hidden;
  background: var(--cine-night);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
html body .site-footer::after {
  content: "JP Bouwconsult";
  display: block;
  font-family: var(--cine-serif);
  font-style: italic;
  font-size: clamp(4rem, 14.6vw, 16rem);
  line-height: .78;
  letter-spacing: -.035em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgba(239, 227, 201, .16), rgba(239, 227, 201, .02) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  padding: 40px 0 0;
  margin-bottom: -.12em;
  pointer-events: none;
  user-select: none;
}
html body .site-footer a { transition: color .4s; }
html body .site-footer .footer-top a:hover { color: var(--cine-champ-hi); }

/* WhatsApp — calmer, still recognisable */
html body .whatsapp-button {
  border-radius: 999px;
  box-shadow: 0 18px 40px -16px rgba(7, 20, 23, .6);
  transition: translate .5s var(--cine-ease), box-shadow .5s;
}
html body .whatsapp-button:hover { translate: 0 -2px; }

/* --------------------------------------------------------------------------
   7. Inner pages — heroes and media
   -------------------------------------------------------------------------- */
html body .page-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 74vh, 860px);
  display: flex;
  align-items: flex-end;
}
html body .page-hero.compact { min-height: clamp(420px, 56vh, 640px); }
html body .page-hero > div:first-child { position: relative; z-index: 1; }
html body .page-hero h1 {
  font-size: clamp(3rem, 7.4vw, 8.6rem) !important;
  line-height: .93 !important;
  letter-spacing: -.055em !important;
  font-weight: 500;
  animation: cine-rise-lg 1.4s var(--cine-ease) .15s both;
}
html body .page-hero :is(.eyebrow, p, .btn, .actions, a) { animation: cine-rise 1.2s var(--cine-ease) .45s both; }
html body .page-hero p { font-size: clamp(1.05rem, 1.3vw, 1.3rem); }
html body .page-hero:not(.dark):not(.with-image) {
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(205, 181, 142, .22), transparent 60%),
    linear-gradient(180deg, var(--cine-sand), var(--cine-paper));
}
html body .page-hero.dark {
  background:
    radial-gradient(55% 85% at 92% 0%, rgba(205, 181, 142, .16), transparent 60%),
    radial-gradient(45% 70% at 0% 100%, rgba(52, 104, 108, .3), transparent 70%),
    var(--cine-deep) !important;
}
html body .page-hero.with-image figure { overflow: hidden; border-radius: 22px; }
html body .page-hero.with-image figure img { animation: cine-settle 2.6s var(--cine-ease) both; filter: saturate(.88) contrast(1.05); }

/* Project stories */
html body .case-hero .case-hero-media,
html body .story-hero figure { overflow: hidden; }
html body .case-hero .case-hero-media img,
html body .story-hero figure img {
  animation: cine-open-side 1.6s var(--cine-ease-io) .05s both, cine-settle 3s var(--cine-ease) .05s both;
  filter: saturate(.9) contrast(1.05);
}
@keyframes cine-open-side {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}
html body .story-hero-copy h1 {
  font-size: clamp(2.8rem, 5.4vw, 6.4rem) !important;
  line-height: .95 !important;
  animation: cine-rise-lg 1.4s var(--cine-ease) .35s both;
}
html body .story-hero-copy > :not(h1) { animation: cine-rise 1.2s var(--cine-ease) .65s both; }

/* Product heroes */
html body .windows-hero h1,
html body .hero-copy h1 { font-size: clamp(3rem, 6.6vw, 7.6rem) !important; line-height: .93 !important; animation: cine-rise-lg 1.4s var(--cine-ease) .15s both; }
html body .windows-hero-photo { overflow: hidden; border-radius: 22px 0 0 22px; }
html body .windows-hero-photo img { animation: cine-open-side 1.6s var(--cine-ease-io) .05s both, cine-settle 3s var(--cine-ease) .05s both; }

/* Generic media polish */
html body main :is(.editorial article, .timeline article) { border-color: var(--cine-line) !important; }
html body main figure img[data-cine-par] { scale: 1.12; translate: 0 calc(var(--py, 0) * 1px); }

/* --------------------------------------------------------------------------
   8. Scroll reveals (set by cinema.js)
   -------------------------------------------------------------------------- */
[data-cine-r] {
  transition:
    opacity 1.1s var(--cine-ease) var(--cine-d, 0s),
    translate 1.4s var(--cine-ease) var(--cine-d, 0s),
    filter 1.2s var(--cine-ease) var(--cine-d, 0s),
    clip-path 1.6s var(--cine-ease-io) var(--cine-d, 0s);
}
[data-cine-r="0"] { opacity: 0; translate: 0 48px; }
[data-cine-r="0"][data-cine-k="h"] { filter: blur(10px); translate: 0 .35em; }
[data-cine-r="0"][data-cine-k="fig"] { opacity: 1; translate: none; }
[data-cine-r][data-cine-k="fig"] img { clip-path: inset(0 0 0 0); transition: scale 2.2s var(--cine-ease) var(--cine-d, 0s), clip-path 1.6s var(--cine-ease-io) var(--cine-d, 0s); }
[data-cine-r="0"][data-cine-k="fig"] img { clip-path: inset(100% 0 0 0); scale: 1.2; }

/* Page enter after client-side navigation */
html[data-cine-enter] body main { animation: cine-page-in .9s var(--cine-ease) both; }
@keyframes cine-page-in {
  from { opacity: 0; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}

/* Cursor label over stories and products */
.cine-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(246, 243, 236, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cine-night);
  font: 600 .64rem/1 var(--cine-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  pointer-events: none;
  scale: 0;
  transition: scale .45s var(--cine-ease);
  will-change: transform;
}
.cine-cursor.is-on { scale: 1; }

/* Film grain */
html::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 2147483000;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: cine-grain 1.2s steps(6) infinite;
}
@keyframes cine-grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* --------------------------------------------------------------------------
   9. Small screens
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
  html body .cinematic-home .cinema-hero { min-height: 600px; }
  html body .cinematic-home .cinema-copy { padding: 0 22px 120px; }
  html body .cinematic-home .cinema-copy h1 { font-size: clamp(2.6rem, 12.4vw, 4.4rem); line-height: .94; white-space: normal; max-width: 100%; }
  html body .cinematic-home .cinema-copy .eyebrow { letter-spacing: .22em; font-size: .6rem; }
  html body .cinematic-home .cinema-copy .eyebrow::before { width: 24px; }
  html body .cinematic-home .cinema-project-card { display: none; }
  html body .cinematic-home h2 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  html body .cinematic-home .home-intro .lead { font-size: 1.35rem; }
  html body .cinematic-home .home-interior-frame { height: 78vh; }
  html body .cinematic-home .home-products .home-offerings { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  html body .cinematic-home .home-product-card { height: 72vh !important; }
  html body .cinematic-home :is(.home-product-windows, .home-product-sliding, .home-product-door) { grid-column: 1; grid-row: auto; }
  html body .cinematic-home .service-links > a { grid-template-columns: 40px minmax(0, 1fr) !important; padding-right: 44px !important; }
  html body .cinematic-home .service-links p { grid-column: 2 !important; margin-top: 8px !important; }
  html body .page-hero { min-height: 70svh; }
  html body .final-cta h2 { font-size: clamp(2.5rem, 11vw, 3.6rem) !important; }
  html::after { display: none; }
  .cine-cursor { display: none; }
}

/* --------------------------------------------------------------------------
   10. Respect reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html body *, html body *::before, html body *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }
  [data-cine-r] { opacity: 1 !important; translate: none !important; filter: none !important; clip-path: none !important; }
  html::after { display: none; }
  html body .cinematic-home .home-intro .lead { --fill: 100% !important; }
}
@media print {
  html::after, .cine-cursor { display: none !important; }
}

/* --------------------------------------------------------------------------
   11. Gratis subsidiecheck (funnel on /verduurzamingscheck/) — see check.js
   -------------------------------------------------------------------------- */
/* Hide the original tool while the funnel loads; fall back to it if the script never runs */
html:not([data-cine-plan]) body main.check-page { visibility: hidden; animation: cine-unhide 0s linear 3s forwards; }
@keyframes cine-unhide { to { visibility: visible; } }
html[data-cine-check] body main.check-page,
html[data-cine-check] body .final-cta { display: none !important; }

.cine-check {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(var(--cine-head-h) * -1);
  padding: calc(var(--cine-head-h) + clamp(48px, 8vh, 96px)) var(--cine-gutter) clamp(48px, 7vh, 80px);
  min-height: calc(100svh - var(--cine-topline-h, 27px));
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(205, 181, 142, .16), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(52, 104, 108, .32), transparent 70%),
    var(--cine-night);
  color: #fff;
  font-family: var(--cine-sans);
}
.cine-check .cc-bg { position: absolute; inset: 0; z-index: -1; }
.cine-check .cc-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  opacity: .22; filter: saturate(.6) contrast(1.05);
  animation: cine-settle 6s var(--cine-ease) both;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 85%);
}
.cine-check .cc-wrap {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(36px, 6vw, 110px); align-items: center;
}
.cine-check .cc-eyebrow, .cine-teaser .ct-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--cine-champ-hi);
}
.cine-check .cc-eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .7; }
.cine-check h1 {
  margin: 26px 0 0; font-size: clamp(2.8rem, 5.6vw, 6rem); line-height: .95; letter-spacing: -.05em; font-weight: 500; color: #fff;
  animation: cine-rise-lg 1.3s var(--cine-ease) .1s both;
}
.cine-check h1 span {
  display: block; margin-top: .08em; font-family: var(--cine-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; font-size: 1.02em;
  color: transparent; background: linear-gradient(100deg, #f6ecd8, #d9c29a 45%, #b9955f); -webkit-background-clip: text; background-clip: text;
  padding-right: .08em;
}
.cine-check .cc-lead { margin: 28px 0 0; max-width: 520px; font-size: clamp(1.02rem, 1.2vw, 1.18rem); line-height: 1.65; color: rgba(236, 230, 218, .78); animation: cine-rise 1.2s var(--cine-ease) .35s both; }
.cine-check .cc-points { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; max-width: 520px; animation: cine-rise 1.2s var(--cine-ease) .5s both; }
.cine-check .cc-points li { position: relative; padding-left: 34px; display: grid; gap: 4px; }
.cine-check .cc-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle, var(--cine-champ) 0 3.5px, transparent 4px), rgba(205, 181, 142, .14);
  box-shadow: inset 0 0 0 1px rgba(205, 181, 142, .45);
}
.cine-check .cc-points b { font-weight: 600; font-size: 1rem; letter-spacing: -.01em; }
.cine-check .cc-points span { color: rgba(236, 230, 218, .62); font-size: .92rem; line-height: 1.55; }

.cine-check .cc-card {
  position: relative; border-radius: 26px; padding: clamp(26px, 3vw, 44px);
  background: rgba(246, 243, 236, .97); color: var(--cine-ink);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .5) inset;
  animation: cine-rise 1.3s var(--cine-ease) .45s both;
  min-height: 460px;
}
.cine-check .cc-progress { height: 3px; border-radius: 3px; background: rgba(16, 46, 52, .1); overflow: hidden; }
.cine-check .cc-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--cine-champ-lo), var(--cine-champ)); transform-origin: left; transform: scaleX(.25); transition: transform .8s var(--cine-ease); }
.cine-check .cc-steplabel { margin-top: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cine-champ-lo); }
.cine-check .cc-body { margin-top: 22px; }
.cine-check .cc-body.is-in { animation: cine-step-in .7s var(--cine-ease) both; }
@keyframes cine-step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cine-check .cc-body h2 { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; color: var(--cine-ink); }
.cine-check .cc-sub { margin: 10px 0 0; color: #5d7072; font-size: .98rem; line-height: 1.55; }
.cine-check .cc-sub b { color: var(--cine-ink); }
.cine-check .cc-fine { margin: 16px 0 0; font-size: .78rem; line-height: 1.5; color: #7a8a8b; }
.cine-check .cc-fine a { color: inherit; text-decoration: underline; }

.cine-check .cc-addr { margin-top: 26px; display: grid; grid-template-columns: 1.4fr .8fr .7fr; gap: 12px; }
.cine-check .cc-field { display: grid; gap: 7px; min-width: 0; }
.cine-check .cc-field input { width: 100%; min-width: 0; box-sizing: border-box; }
.cine-check .cc-field > span { font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: #40585b; }
.cine-check .cc-field em { font-style: normal; font-weight: 400; color: #8a999a; }
.cine-check .cc-field input {
  height: 58px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(16, 46, 52, .16); background: #fff;
  font: 500 1.15rem/1 var(--cine-sans); letter-spacing: .01em; color: var(--cine-ink); text-transform: uppercase;
  transition: border-color .3s, box-shadow .3s;
}
.cine-check .cc-name input { text-transform: none; font-size: 1.05rem; }
.cine-check .cc-field input::placeholder { color: #b3bcbc; text-transform: none; }
.cine-check .cc-field input:focus { outline: none; border-color: var(--cine-champ-lo); box-shadow: 0 0 0 4px rgba(205, 181, 142, .3); }
.cine-check .cc-addr .cc-btn { grid-column: 1 / -1; margin-top: 6px; }
.cine-check .cc-error { grid-column: 1 / -1; margin: 4px 0 0; min-height: 1.2em; color: #a3402f; font-size: .88rem; }
.cine-check .cc-error:empty { display: none; }

.cine-check .cc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 600 1rem/1 var(--cine-sans); letter-spacing: -.005em; cursor: pointer;
  transition: transform .5s var(--cine-ease), box-shadow .5s var(--cine-ease), background-color .4s;
}
.cine-check .cc-btn:hover { transform: translateY(-2px); }
.cine-check .cc-btn:focus-visible, .cine-check .cc-chip:focus-visible, .cine-check .cc-link:focus-visible, .cine-check .cc-drop:focus-visible { outline: 3px solid var(--cine-champ); outline-offset: 3px; }
.cine-check .cc-primary { background: var(--cine-night); color: #fff; box-shadow: 0 20px 40px -22px rgba(7, 20, 23, .9); }
.cine-check .cc-primary:hover { background: var(--cine-ink); }
.cine-check .cc-link { background: none; border: 0; padding: 8px 2px; font: 500 .92rem var(--cine-sans); color: #4b6264; cursor: pointer; text-decoration: none; }
.cine-check .cc-link:hover { color: var(--cine-ink); text-decoration: underline; text-underline-offset: 4px; }
.cine-check .cc-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.cine-check .cc-skipaddr { grid-column: 1 / -1; justify-self: start; }

.cine-check .cc-scan { position: relative; margin-top: 26px; height: 120px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: repeating-linear-gradient(90deg, rgba(16, 46, 52, .05) 0 1px, transparent 1px 26px), repeating-linear-gradient(0deg, rgba(16, 46, 52, .05) 0 1px, transparent 1px 26px), #fff; border: 1px solid rgba(16, 46, 52, .1); }
.cine-check .cc-scan[hidden] { display: none; }
.cine-check .cc-scan span { position: relative; font-weight: 500; color: var(--cine-ink); }
.cine-check .cc-scanline { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(205, 181, 142, .45), transparent); animation: cine-scanline 1.3s var(--cine-ease-io) infinite; }
@keyframes cine-scanline { from { left: -40%; } to { left: 100%; } }
.cine-check form[hidden] { display: none; }

.cine-check .cc-found { display: flex; gap: 16px; align-items: flex-start; }
.cine-check .cc-found small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #3f7a5a; margin-bottom: 6px; }
.cine-check .cc-ok { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #e2efe5; color: #2f6b49; }
.cine-check .cc-ok-lg { width: 56px; height: 56px; margin-bottom: 18px; }
.cine-check .cc-facts { margin: 22px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-radius: 16px; overflow: hidden; background: rgba(16, 46, 52, .1); border: 1px solid rgba(16, 46, 52, .1); }
.cine-check .cc-facts div { background: #fff; padding: 14px 16px; }
.cine-check .cc-facts dt { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a999a; }
.cine-check .cc-facts dd { margin: 5px 0 0; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em; }
.cine-check .cc-note { margin: 18px 0 0; font-size: .95rem; line-height: 1.55; color: #40585b; }
.cine-check .cc-hint { margin: 12px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(205, 181, 142, .16); font-size: .9rem; line-height: 1.55; color: #5a4a2c; }

.cine-check .cc-chips { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cine-check .cc-chip {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 16px; border-radius: 14px; text-align: left;
  border: 1px solid rgba(16, 46, 52, .14); background: #fff; color: var(--cine-ink); cursor: pointer;
  font: 500 .98rem/1.2 var(--cine-sans); letter-spacing: -.01em;
  transition: border-color .3s, background-color .3s, transform .4s var(--cine-ease), box-shadow .4s;
}
.cine-check .cc-chip svg { flex: none; width: 26px; height: 26px; color: var(--cine-champ-lo); transition: color .3s; }
.cine-check .cc-chip:hover { border-color: rgba(16, 46, 52, .35); transform: translateY(-1px); }
.cine-check .cc-chip.is-on { background: var(--cine-night); border-color: var(--cine-night); color: #fff; box-shadow: 0 14px 30px -18px rgba(7, 20, 23, .9); }
.cine-check .cc-chip.is-on svg { color: var(--cine-champ); }

.cine-check .cc-drop {
  margin-top: 24px; display: grid; justify-items: center; gap: 6px; padding: 30px 20px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 1.5px dashed rgba(16, 46, 52, .25); background: #fff; color: var(--cine-ink); transition: border-color .3s, background-color .3s;
}
.cine-check .cc-drop svg { color: var(--cine-champ-lo); margin-bottom: 4px; }
.cine-check .cc-drop b { font-weight: 600; }
.cine-check .cc-drop span { font-size: .84rem; color: #7a8a8b; }
.cine-check .cc-drop:hover, .cine-check .cc-drop.is-over { border-color: var(--cine-champ-lo); background: #fbf8f1; }
.cine-check .cc-files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.cine-check .cc-files:empty { display: none; }
.cine-check .cc-files li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid rgba(16, 46, 52, .1); }
.cine-check .cc-files img, .cine-check .cc-pdf { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.cine-check .cc-pdf { display: grid; place-items: center; background: #f1e9da; color: var(--cine-champ-lo); font-size: .7rem; font-weight: 700; }
.cine-check .cc-fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; }
.cine-check .cc-files button { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(16, 46, 52, .06); color: var(--cine-ink); font-size: 1.2rem; cursor: pointer; }

.cine-check .cc-name { margin-top: 24px; }
.cine-check .cc-send { margin-top: 18px; display: grid; gap: 10px; }
.cine-check .cc-send .cc-btn { width: 100%; justify-content: flex-start; padding: 0 24px; font-size: 1.04rem; }
.cine-check .cc-wa { background: #1f8a4c; color: #fff; box-shadow: 0 20px 40px -22px rgba(31, 138, 76, .9); }
.cine-check .cc-wa:hover { background: #1a7a43; }
.cine-check .cc-mail { background: #fff; color: var(--cine-ink); box-shadow: inset 0 0 0 1px rgba(16, 46, 52, .2); }

.cine-check .cc-next { list-style: none; counter-reset: cc; margin: 26px 0 0; padding: 0; display: grid; border-top: 1px solid rgba(16, 46, 52, .12); }
.cine-check .cc-next li { counter-increment: cc; position: relative; padding: 16px 0 16px 46px; border-bottom: 1px solid rgba(16, 46, 52, .12); display: grid; gap: 4px; }
.cine-check .cc-next li::before { content: "0" counter(cc); position: absolute; left: 0; top: 15px; font-family: var(--cine-serif); font-style: italic; font-size: 1.4rem; color: var(--cine-champ-lo); }
.cine-check .cc-next b { font-weight: 600; }
.cine-check .cc-next span { color: #5d7072; font-size: .92rem; line-height: 1.5; }

.cine-check .cc-trust {
  max-width: 1320px; margin: clamp(40px, 6vh, 70px) auto 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 10px 34px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(236, 230, 218, .55);
}
.cine-check .cc-trust span::before { content: "\2713"; margin-right: 10px; color: var(--cine-champ); }

@media (max-width: 960px) {
  .cine-check .cc-wrap { grid-template-columns: 1fr; }
  .cine-check .cc-points { display: none; }
  .cine-check .cc-lead { margin-top: 18px; }
  .cine-check .cc-card { min-height: 0; }
}
@media (max-width: 560px) {
  .cine-check { padding-inline: 14px; }
  .cine-check h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .cine-check .cc-card { padding: 22px 18px; border-radius: 22px; }
  .cine-check .cc-addr { grid-template-columns: 1fr 1fr; }
  .cine-check .cc-addr .cc-pc { grid-column: 1 / -1; }
  .cine-check .cc-chips { gap: 8px; }
  .cine-check .cc-chip { min-height: 56px; padding: 10px 12px; font-size: .9rem; gap: 10px; }
  .cine-check .cc-chip svg { width: 22px; height: 22px; }
  .cine-check .cc-trust { gap: 8px 18px; font-size: .64rem; }
}

/* Teaser on the other pages */
.cine-teaser {
  position: fixed; left: 24px; bottom: 24px; z-index: 34; width: min(380px, calc(100vw - 32px));
  padding: 24px 24px 22px; border-radius: 22px;
  background: rgba(7, 20, 23, .92); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  color: #fff; font-family: var(--cine-sans);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  opacity: 0; transform: translateY(24px); transition: opacity .7s var(--cine-ease), transform .9s var(--cine-ease);
}
.cine-teaser.is-in { opacity: 1; transform: none; }
.cine-teaser .ct-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cine-teaser .ct-close:hover { background: rgba(255, 255, 255, .16); }
.cine-teaser .ct-title { margin: 12px 0 0; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.03em; font-weight: 500; padding-right: 20px; }
.cine-teaser .ct-title em { font-family: var(--cine-serif); font-style: italic; font-weight: 400; color: var(--cine-champ-hi); font-size: 1.08em; }
.cine-teaser .ct-text { margin: 10px 0 0; font-size: .88rem; line-height: 1.55; color: rgba(236, 230, 218, .7); }
.cine-teaser .ct-form { margin-top: 16px; display: grid; grid-template-columns: 1fr 74px 50px; gap: 8px; }
.cine-teaser input { height: 48px; min-width: 0; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: 500 .98rem var(--cine-sans); text-transform: uppercase; }
.cine-teaser input::placeholder { color: rgba(255, 255, 255, .45); text-transform: none; }
.cine-teaser input:focus { outline: none; border-color: var(--cine-champ); }
.cine-teaser .ct-form button { height: 48px; border: 0; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--cine-night); background: linear-gradient(135deg, var(--cine-champ-hi), var(--cine-champ) 55%, #bf9f6c); }
@media (max-width: 760px) {
  .cine-teaser { left: 16px; right: 16px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 20px 18px 18px; }
  .cine-teaser .ct-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cine-teaser { transition: none; }
  .cine-check .cc-scanline { animation: none; }
}

.cine-check .cc-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.cine-teaser .ct-title { color: #fff; }
@media (max-width: 560px) {
  .cine-check { padding-top: calc(var(--cine-head-h) + 36px); }
  .cine-check .cc-lead { display: none; }
  .cine-check .cc-wrap { gap: 26px; }
}
