/* ============================================================
   Ryetec — Video Editing (top section)
   Full-width, continuous iOS-style video wall.
   3 rows, alternating direction (right / left / right).
   ============================================================ */

/* ---------- Hanken Grotesk (locally bundled) ---------- */
@font-face { font-family:"Hanken Grotesk"; src:url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight:400; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight:500; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight:600; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight:700; font-display:swap; }
@font-face { font-family:"Hanken Grotesk"; src:url("fonts/hanken-grotesk-latin-800-normal.woff2") format("woff2"); font-weight:800; font-display:swap; }

:root {
  --accent: #FEC300;
  --bg-dark: #0d0d0d;
  --bg-panel: #171717;
  --text-light: #f4f4f4;
  --text-muted: #9a9a9a;
  --text-faint: #6d6d6d;
  --line-dark: rgba(255,255,255,0.09);
  --gap: clamp(12px, 1.4vw, 18px);  

  --card-w: clamp(210px, 22vw, 300px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
   
  --radius: 12px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
--dur: 9.89s;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: #0c0c0c;
}
img { display: block; max-width: 100%; }

/* ---------- Section wrapper ---------- */
.vwall {
  padding: clamp(70px, 11vw, 130px) 0 clamp(46px, 8vw, 90px);
  overflow: hidden;                
  background: #0c0c0c;
    color: #fff;
}


/* heading stays in a normal centered container */
.media-walls {
	--bs-gutter-x: 100px;
}
.media-tall img {
	height:840px;
	border-radius:10px;
}
.vwall__head {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.vwall__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
}
.vwall__title {
  font-weight: 400;
  font-size: 80px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.vwall__sub {
  font-size: 24px;
  color: #AFAFAF;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
.video-edit-detail {
  max-width: 1058px ;
  margin: 0 auto;
  padding: 200px 0px 70px;
}
.video-edit-detail h3 {
font-size: 46px;
font-style: normal;
font-weight: 400;
margin-bottom: 30px;
}
.video-edit-detail p {
font-family: Roboto;
font-weight: 400;
font-style: Regular;
font-size: 32px;
leading-trim: NONE;
line-height: 120%;
letter-spacing: 0%;
vertical-align: middle;
}

/* ---------- The moving wall (full-bleed) ---------- */
.vwall__rows {
  display: grid;
  gap: var(--gap);
  width: 100%;
}
.vwall__row {
  width: 100%;
  overflow: hidden;
}
.vwall__track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  will-change: transform;
  animation: vwall-scroll var(--dur, 40s) linear infinite;
}
.vwall__track {
    gap: 109px;
}
/* rows that travel to the RIGHT run the same keyframes in reverse */
.vwall__row--reverse .vwall__track { animation-direction: reverse; }

@keyframes vwall-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }   /* one duplicated set */
}

.vwall__card {
  flex: 0 0 auto;
  width: var(--card-w);
 
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.vwall__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 68px;
}
.vwall__card::after {
  content: "";
  position: absolute; inset: 0;
  /* background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%); */
  pointer-events: none;
}



/* ---------- Section ---------- */

/* --old-- */
.lg-container {
    max-width: 1380px;
    margin: 0 auto;
}
.eyebrow-underline {
    font-size: 16px;
    font-weight: 400;
    /* border-bottom: 2px solid var(--yellow); */
    padding-bottom: 6px;
    margin-bottom: 1rem;
    display: inline-block;
    font-family: var(--font-display);
}
.single-sub_service .eyebrow-underline-dark {
	background: linear-gradient(180deg, #000000 -22.18%, #000000 100%);
    color: #000;
	-webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
p.eyebrow-underline:after {
    content: '';
    height: 2px;
    width: 30px;
    display: block;
    background-color: #FEC300;
}




.engine {
  padding: clamp(60px, 10vw, 120px) 0;
  overflow: hidden;
  background-color: #0c0c0c;
  color: #fff;
}
.engine__title {
  font-weight: 400;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(28px, 6vw, 60px);
  max-width: 900px;
}
.engine__title em {
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-light);
}

/* ---------- Slider viewport (click anywhere to advance) ---------- */
.engine__viewport {
  position: relative;
  min-height: clamp(420px, 48vw, 520px);
  cursor: pointer;
  user-select: none;
}
.engine__viewport:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 8px;
}

.engine__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items:flex-start;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease), visibility 0s linear 0.8s;
  pointer-events: none;
}
.engine__slide.is-active {
  opacity: 1;
  visibility: visible;
  /* fade IN quickly so the camera is visible WHILE it slides down;
     the outgoing slide still fades out slowly (0.8s) for a smooth cross. */
  transition: opacity 0.4s var(--ease), visibility 0s;
  pointer-events: auto;
}

/* ---------- Text column ---------- */
.engine__text { padding-bottom: clamp(6px, 2vw, 22px); }

/* number wipes up out of a mask on slide entry */
.engine__num-wrap {
  overflow: hidden;
  width: 100%;
  display: inline-block;
  vertical-align: bottom;
  line-height: 0.82;
  font-size: 322px;
  height: 0.685em;
}
.engine__num {
  display: block;
  font-weight: 800;
  font-size: 322px;
  line-height: 0.82;
  letter-spacing: -0.05em;
  margin: 0;
  font-style: italic;
  background: linear-gradient(180deg, #e8e8e8 0%, #8f8f8f 62%, #565656 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(30%);
}
.engine__slide.is-active .engine__num {
  transform: translateY(0);
  transition: transform 0.7s var(--ease) 0.06s;
}




.engine__num-wrap {
  overflow: hidden;
  width: 100%;
  display: inline-block;
  vertical-align: bottom;
  font-size: 322px;                 /* NEW — wrap ka apna font-size, taake em height sahi calculate ho */
  height: 0.685em;                  /* NEW (line-height:0.82 hata kar) — number ka bottom ~10% crop karta hai, rule line ke sath flush */
}
.engine__num {
  display: block;
  font-weight: 800;
  font-size: 322px;
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0;
  /* font-style: italic;  <-- REMOVE kiya, browser ka fake/synthetic italic clipping ka asal culprit tha */
  background: linear-gradient(180deg, #e8e8e8 0%, #8f8f8f 62%, #565656 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(30%) skewX(-8deg);   /* skewX(-8deg) NEW — italic look ab transform se aata hai */
}
.engine__slide.is-active .engine__num {
  transform: translateY(0) skewX(-3deg);     /* skewX(-8deg) NEW */
  transition: transform 0.7s var(--ease) 0.06s;
	font-family: Sora;
}



/* Slides 1-3 reuse the same image (cam-3.png). Instead of dropping/rotating in,
   the image slides into view — each slide reveals a bit more of it:
   slide 1 = 10%, slide 2 = 30%, slide 3 = full. */
/* Slides 1-3 reuse the same image (cam-3.png). Instead of dropping/rotating in,
   the image slides into view — each slide reveals a bit more of it:
   slide 1 = 10%, slide 2 = 30%, slide 3 = full. */
.engine__media--rot1,
.engine__media--rot2,
.engine__media--rot3 {
  position: relative;
  opacity: 1 !important;
   transition: transform 0.9s var(--ease);
}
.engine__media--rot1 { transform: rotate(-16deg) !important; }
.engine__media--rot2 { transform: rotate(-16deg) !important; }
.engine__slide.is-active .engine__media--rot1 { transform: rotate(-16deg) !important; }
.engine__slide.is-active .engine__media--rot2 { transform: rotate(-16deg) !important; }

.engine__media--rot3 {
    /* transform: rotate(-16deg); */
    /* transition: transform 2.8s ease; */
    will-change: transform;
}

.engine__media.engine__media--rot3{
    transform: translateY(-56px) rotate(-16deg);
    transition: transform 1.2s ease, opacity .5s ease;
}

.engine__slide.is-active .engine__media.engine__media--rot3{
    transform: translateY(0) rotate(0deg);
}
/* .engine__slide.is-active .engine__media--rot3 { transform: rotate(0deg) !important; } */

.engine__slide .engine__media--rot1 img,
.engine__slide .engine__media--rot2 img,
.engine__slide .engine__media--rot3 img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center ;
  clip-path: inset(100% 0 0 0);
  transform: translateY(-120px);       /* start well above -> long, visible DOWNWARD glide */
  transition: clip-path 0.9s var(--ease), transform 0.2s var(--ease);
}

.engine__slide.is-active .engine__media--rot1 img { clip-path: inset(80% 0 0 0); transform: translateY(-55%); }
.engine__slide.is-active .engine__media--rot2 img { clip-path: inset(60% 0 0 0); transform: translateY(-55%); }
.engine__slide.is-active .engine__media--rot3 img { clip-path: inset(0%  0 0 0); transform: translateY(0); }
.engine__media--flash { position: relative; }
.engine__flash {
  	position: absolute;
    top: 13% !important;
    left: 40% !important;
    width: 99% !important;
    height: 58% !important;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    pointer-events: none;
    border-radius: inherit;
}
.engine__slide.is-active  .engine__flash {
  animation: engineCamFlash 1.4s ease-out 0.35s 1 !important;
}
@keyframes engineCamFlash {
  0%   { opacity: 0; }
  20%  { opacity: 0.95; }
  100% { opacity: 0; }
}
.engine__flash {
    display: none !important;
}
.engine__flash_04 {
    display: block !important;
	opacity: 0;
}






/* the rule (border) under the number — draws in from the left */
.engine__rule {
  display: block;
  width: 467px;
  height: 1px;
  margin: 0px 0 20px;
  background: rgba(255, 255, 255, 0.62);
  transform: scaleX(0);
  transform-origin: left center;
}
.engine__slide.is-active .engine__rule {
  transform: scaleX(1);
  transition: transform 0.6s var(--ease) 0.26s;
}

.engine__step-title {
  font-weight: 400;
  font-size: 70px;
  margin: 0 0 16px;
  color: var(--text-light);
  transform: translateY(14px);
  opacity: 0;
}
.engine__desc {
  color: var(--text-muted);
  font-size: 20px;
  line-height: 28px;
  max-width: 460px;
  margin: 0;
  transform: translateY(14px);
  opacity: 0;
}
.engine__slide.is-active .engine__step-title {
  transform: translateY(0); opacity: 1;
  transition: transform 0.6s var(--ease) 0.30s, opacity 0.5s ease 0.30s;
}
.engine__slide.is-active .engine__desc {
  transform: translateY(0); opacity: 1;
  transition: transform 0.6s var(--ease) 0.40s, opacity 0.5s ease 0.40s;
}

/* ---------- Camera: drops in from the top ---------- */
.engine__media {
  align-self: start;
  width: 100%;
  max-width: 460px;
  object-fit: cover;
  height: 100%;
  /* aspect-ratio: 16 / 12; */
  margin-left: auto;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transform: translateY(-56px); */
  opacity: 0;
  /* transition: transform 0.7s var(--ease), opacity 0.5s ease; */
}
.engine__slide.is-active .engine__media {
  /* transform: translateY(0); */
  opacity: 1;
}
.engine__media img { width: 100%; height: 100%; object-fit: contain; }
  .logo-badge{
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #bfe9c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    border: 3px solid #111;
    margin-bottom: 22px;
  }

  .wwd-section .headline{
    font-size: 80px;
    line-height: 67px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
	 color:#000000;
  }
.content-row {
  padding-bottom: 100px;
}
  .stat-title{
	 display: flex;
    gap: 5px;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
	 color: #000;
	 align-items: center;
  }

  .stat-text{
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    padding-right: 80px;
  }

  .stat-row{
    margin-bottom: 34px;
  }

  .media-frame{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .media-tall{
    overflow: hidden;
  }

  .media-wide{
    overflow: hidden;
    margin-top: 80px;
	  border-radius:10px;
  }
.wwd-section .headline {
	padding-right:20px;
}
.sub-service .container-fluid {
  padding: 100px 100px;
}
.wwd-section {
  background-color: #C9C9C9;
}



/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.vwall__track {
    gap: 40px;
}
  .engine__viewport { min-height: 0; }
  .engine__slide {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: stretch;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .engine__slide.is-active { height: auto; overflow: visible; }
  .engine__media {
    order: 1;
    max-width: 100%;
    margin-left: 0;
    aspect-ratio: 16 / 11;
  }
  .engine__text { padding-bottom: 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .engine__slide,
  .engine__num,
  .engine__rule,
  .engine__step-title,
  .engine__desc,
  .engine__media {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
  .engine__num { transform: none !important; }
  .engine__rule { transform: scaleX(1) !important; }
}

/* Respect reduced-motion: hold still */
@media (prefers-reduced-motion: reduce) {
  .vwall__track { animation: none !important; transform: none !important; }
}
@media (max-width:1200px){
	.vwall__track {
    gap: 55px;
}
	.engine__title {
    font-weight: 400;
    font-size: 40px;
}
	.video-edit-detail {
    max-width: 1058px;
    margin: 0 auto;
    padding: 90px 20px 0px;
}
	.stat-title {
    display: flex;
    gap: 5px;
    font-size: 20px;
    line-height: 25px;
}
.sub-service .container-fluid {
    padding: 75px 40px;
}
.stat-text {
    font-size: 18px;
    line-height: 23px;
    padding-right: 23px;
}
.wwd-section .headline {
    font-size: 40px;
    line-height: 44px;
}
	.media-walls {
    --bs-gutter-x: 20px;
}
	.media-wide {
    margin-top: 20px;
}
	.engine__num {
    display: block;
    font-size: 242px;
		line-height: 1.38;}
	.engine__step-title {
		font-size: 40px;}
.content-row {
    padding-bottom: 34px;
}
	.video-edit-detail h3 {
    font-size: 25px;
    line-height: 39px;
}
}

@media (max-width:767px) {
	.engine__flash {
    top: 60% !important;
    left: 40% !important;
    width: 43% !important;
    height: 18% !important;
}
	.engine__title {
        font-weight: 400;
        font-size: 24px;
    }
	.vwall__head {
		margin-top:75px;
	}
  .engine__num-wrap {
     height: 95px;
    font-size: 147px;
   
}

 img.media-frame {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.media-walls .col-custom {
  width: 50%;
}
.media-wide {
    overflow: hidden;
    margin-top: 6px;
}
  .stat-title {
    font-size: 20px;
    line-height: 24px;
}
    .wwd-section .headline {
        font-size: 24px;
        line-height: 31px;
    }
    .vwall__title {
    font-size: 30px;
}
.video-edit-detail h3 {
    font-size: 20px;
    line-height: 27px;
}
.video-edit-detail p {
  font-size: 16px;
  }
  .video-edit-detail {
    max-width: 1058px;
    margin: 0 auto;
    padding: 60px 20px 10px;
}
    .sub-service .container-fluid {
        padding: 60px 20px;
    }
    .stat-text {
        font-size: 14px;
        line-height: 20px;
        padding-right: 0px;
    }
    .engine__num {
    display: block;
    font-weight: 800;
    font-size: 147px;
    line-height: 0.82;}
    .engine__num {
    font-size: 147px;
  }
  .engine__step-title {
    font-weight: 400;
    font-size: 32px;
    margin: 0 0 16px;
}
.engine__desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 21px;
    max-width: 342px;
    width:100%
  }
  .engine__rule {
    max-width: 325px;}
}