/* ==========================================================================
   Concept 12 — "Cinematic"
   Signature: full-viewport scroll-snap stages (one idea per screen), a fixed
   vertical dot-nav, and a horizontal-scroll portfolio reel. Quiet, dark,
   confident. Oswald for display type, Inter for body (loaded via base.css).
   scroll-snap lives on the ROOT document (html), not a nested container, so
   the shared sticky bar / back pill (position:fixed) still work normally.
   ========================================================================== */

:root{
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --scrim-soft: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.72) 55%, rgba(10,10,10,.88) 100%);
  --scrim-strong: linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.92) 100%);
}

/* ---------- document-level scroll-snap ---------- */
html{
  scroll-snap-type: y mandatory;
  background: var(--js-black);
}
body{
  background: var(--js-black);
  color: #fff;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-snap-type: none; }
}

/* ---------- fixed top bar ---------- */
.cine-topbar{
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(10,10,10,.82), rgba(10,10,10,0));
  padding: 10px clamp(16px,4vw,32px) 24px;
}
.cine-topbar-in{
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: clamp(12px,3vw,28px);
}
.cine-brand{ display: inline-flex; flex: none; }
.cine-brand img{ width: clamp(90px,14vw,140px); height: auto; }
.cine-lic{
  flex: 1 1 auto; font-size: .78rem; color: var(--js-gray-light);
  letter-spacing: .02em; display: none;
}
@media (min-width: 560px){ .cine-lic{ display: inline; } }
.cine-call{
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  background: var(--js-green-logo); color: #fff; font-weight: 700;
  font-size: .85rem; padding: 9px 16px; border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease);
}
.cine-call:hover{ background: var(--js-green-deep); }
.cine-call svg{ width: 16px; height: 16px; }
.cine-call span:last-child{ display: none; }
@media (min-width: 420px){ .cine-call span:last-child{ display: inline; } }

/* ---------- side dot nav ---------- */
.dotnav{
  position: fixed; right: clamp(10px,2.5vw,26px); top: 50%; transform: translateY(-50%);
  z-index: 140; display: flex;
}
.dotnav ul{ display: flex; flex-direction: column; gap: 14px; }
.dotnav .dot{
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.dotnav .dot span{
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.38);
  display: block; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.dotnav .dot:hover span{ background: rgba(255,255,255,.75); }
.dotnav .dot.is-active span{
  background: var(--js-green-glow); transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(34,179,58,.22);
}
.dotnav .dot:focus-visible{ outline: 3px solid var(--js-green-logo); outline-offset: 3px; border-radius: 50%; }
@media (max-width: 640px){
  .dotnav{ right: 8px; }
  .dotnav ul{ gap: 10px; }
  .dotnav .dot{ width: 22px; height: 22px; }
}

/* ---------- stages (full-viewport) ---------- */
.stage{
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  scroll-snap-align: start;
  overflow: hidden;
  padding-block: clamp(96px, 14vh, 150px) clamp(64px, 8vh, 110px);
}
@media (prefers-reduced-motion: reduce){
  .stage{ scroll-snap-align: none; }
}
.stage-bg{ position: absolute; inset: 0; z-index: 0; }
.stage-bg .ph-photo{ position: absolute; inset: 0; min-height: 100%; height: 100%; width: 100%; }
.stage-bg::after{
  content: ""; position: absolute; inset: 0; background: var(--scrim-soft); pointer-events: none;
}
.stage-hero .stage-bg::after,
.stage-estimate .stage-bg::after{ background: var(--scrim-strong); }

.stage-content{
  position: relative; z-index: 1; width: 100%; max-width: var(--container);
  padding-inline: clamp(20px, 6vw, 72px);
  text-align: center;
}
.stage-content > *{ max-width: 760px; margin-inline: auto; }
.stage-content .svc-list,
.stage-content .process-seq,
.stage-content .area-cols,
.stage-content .reel-wrap{ max-width: none; }

/* reveal-on-entry (disabled under reduced motion) */
[data-reveal]{ opacity: 1; transform: none; }
html:not(.reduced-motion) [data-reveal]{
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html:not(.reduced-motion) [data-reveal].in-view{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- display type ---------- */
.eyebrow{ font-family: var(--font-display); color: var(--js-green-glow); margin-bottom: var(--sp-4); }
.stage h1, .stage h2{
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; line-height: var(--lh-tight); color: #fff;
}
.stage h1{ font-size: var(--fs-display); margin-bottom: var(--sp-5); }
.stage h2{ font-size: var(--fs-h1); margin-bottom: var(--sp-5); }
.stage-lead, .stage-sub{
  font-size: var(--fs-lg); color: var(--js-gray-light); margin-bottom: var(--sp-6);
}
.hero-cta{ display: flex; justify-content: center; }
.scroll-cue{
  position: absolute; bottom: clamp(18px,4vh,36px); left: 50%; transform: translateX(-50%);
  color: var(--js-gray-light); z-index: 1;
}
.scroll-cue svg{ width: 26px; height: 26px; }
html:not(.reduced-motion) .scroll-cue{ animation: cue-bob 2.2s ease-in-out infinite; }
@keyframes cue-bob{ 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(8px); } }

/* ---------- services list ---------- */
.svc-list{ display: grid; gap: var(--sp-4); margin-top: var(--sp-6); text-align: left; }
@media (min-width: 760px){ .svc-list{ grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
.svc-row{
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  background: rgba(255,255,255,.03);
}
.svc-num{ font-family: var(--font-display); font-size: 1.3rem; color: var(--js-green-glow); flex: none; }
.svc-ico{ flex: none; width: 26px; height: 26px; color: var(--js-green-glow); margin-top: 2px; }
.svc-ico svg{ width: 100%; height: 100%; }
.svc-text strong{ font-weight: 600; display: block; margin-bottom: 4px; }
.svc-text{ color: var(--js-gray-light); font-size: .97rem; }

/* ---------- portfolio reel ---------- */
.reel-stage-content{ max-width: var(--container-wide); }
.reel-wrap{ position: relative; margin-top: var(--sp-6); }
.reel{
  overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--js-green-logo) rgba(255,255,255,.1);
  border-radius: var(--r-lg); cursor: grab;
}
.reel:active{ cursor: grabbing; }
.reel:focus-visible{ outline: 3px solid var(--js-green-logo); outline-offset: 4px; }
.reel-track{
  display: flex; gap: var(--sp-4); padding: 4px 4px var(--sp-3);
  width: max-content;
}
.reel-card{ flex: 0 0 clamp(230px, 32vw, 340px); scroll-snap-align: start; }
.reel-card .ph-photo{ min-height: 240px; border-radius: var(--r-lg); height: 100%; }
.reel-controls{ display: flex; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-4); }
.reel-btn{
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease);
}
.reel-btn:hover{ background: var(--js-green-logo); }
.reel-btn svg{ width: 18px; height: 18px; }
.reel-prev svg{ transform: rotate(90deg); }
.reel-next svg{ transform: rotate(-90deg); }

/* ---------- process sequence ---------- */
.process-seq{
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-5);
  margin-top: var(--sp-7); counter-reset: none;
}
.process-step{
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: clamp(130px, 18vw, 180px); text-align: center; position: relative;
}
.process-step:not(:last-child)::after{
  content: ""; position: absolute; top: 20px; left: 100%; width: var(--sp-5);
  height: 2px; background: rgba(255,255,255,.18);
}
@media (max-width: 760px){ .process-step:not(:last-child)::after{ display: none; } }
.proc-num{
  font-family: var(--font-display); font-size: 1.1rem; color: var(--js-black);
  background: var(--js-green-glow); width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.proc-text{ font-weight: 600; color: #fff; }

/* ---------- reviews carousel ---------- */
.reviews-content h2 .ph{ color: inherit; }
.quote-carousel{ position: relative; min-height: 9rem; margin-top: var(--sp-6); }
.quote-slide{
  display: none; max-width: 640px; margin-inline: auto;
}
.quote-slide.is-active{ display: block; }
.quote-slide p{ font-size: var(--fs-h3); line-height: var(--lh-tight); color: #fff; font-family: var(--font-display); font-weight: 300; }
.quote-slide footer{ margin-top: var(--sp-4); color: var(--js-gray-light); font-size: .9rem; }
.quote-controls{ display: flex; align-items: center; justify-content: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.quote-btn{
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2); color: #fff; display: flex; align-items: center; justify-content: center;
}
.quote-btn:hover{ background: var(--js-green-logo); }
.quote-btn svg{ width: 16px; height: 16px; }
.quote-prev svg{ transform: rotate(90deg); }
.quote-next svg{ transform: rotate(-90deg); }
.quote-dots{ display: flex; gap: 10px; }
.quote-dot{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.quote-dot.is-active{ background: var(--js-green-glow); }

/* ---------- about ---------- */
.about-content{ display: grid; gap: var(--sp-7); max-width: var(--container); text-align: left; }
@media (min-width: 760px){ .about-content{ grid-template-columns: .9fr 1.1fr; align-items: center; } }
.about-content > *{ max-width: none; }
.about-photo{ min-height: 300px; border-radius: var(--r-lg); }
.about-copy p{ color: var(--js-gray-light); margin-bottom: var(--sp-4); font-size: 1.02rem; }
.about-lic{ color: var(--js-gray-light); font-size: .9rem; }
.about-lic strong{ color: #fff; }

/* ---------- service area ---------- */
.area-cols{
  display: grid; gap: var(--sp-6); margin-top: var(--sp-7); text-align: left;
}
@media (min-width: 700px){ .area-cols{ grid-template-columns: repeat(3,1fr); } }
.area-cols strong{
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  color: var(--js-green-glow); font-size: 1rem; display: block; margin-bottom: var(--sp-2);
}
.area-cols p{ color: var(--js-gray-light); }

/* ---------- estimate stage ---------- */
.estimate-content{ max-width: var(--container-narrow); text-align: center; }
.estimate-contact{
  display: flex; justify-content: center; gap: var(--sp-6); flex-wrap: wrap;
  margin-bottom: var(--sp-7); color: var(--js-gray-light); font-weight: 600;
}
.estimate-contact li{ display: flex; align-items: center; gap: 8px; }
.estimate-contact svg{ width: 18px; height: 18px; color: var(--js-green-glow); }
.estimate-contact a{ color: #fff; }
.estimate-contact a:hover{ color: var(--js-green-glow); }
.estimate-form-wrap{
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: clamp(20px,4vw,40px); text-align: left;
}
.estimate-form-wrap .jsform-field label{ color: #fff; }
.estimate-form-wrap .jsform-hint{ color: var(--js-gray-light); }

/* ---------- footer (outside the snap flow) ---------- */
.site-footer{ background: var(--js-ink); padding-block: var(--sp-8); color: var(--js-gray-light); }
.footer-in{ display: grid; gap: var(--sp-6); }
@media (min-width: 760px){ .footer-in{ grid-template-columns: 1fr 1fr 1fr; } }
.footer-brand img{ margin-bottom: var(--sp-3); }
.footer-brand p{ font-size: .9rem; }
.footer-meta p, .footer-legal p{ margin-bottom: 6px; font-size: .92rem; }
.footer-meta a{ color: var(--js-green-glow); }
.footer-legal a{ color: var(--js-gray-light); text-decoration: underline; }

/* ---------- no horizontal overflow, ever ---------- */
body{ overflow-x: hidden; }
.reel-wrap, .reel{ max-width: 100%; }
