/* Real Time 3D page — extra sections on top of service.css + film-direction.css (timeline) */

/* Big section labels */
.rt-sec{ padding-top:110px; }
.rt-label{ font-size:clamp(26px,3.2vw,40px); letter-spacing:.06em; line-height:1; }

/* Text beside a photo */
.rt-split{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:clamp(28px,4.5vw,64px); align-items:center; }
.rt-split.rev .rt-shot{ order:-1; }
.rt-txt{ display:flex; flex-direction:column; gap:18px; min-width:0; }
.rt-txt h2{ font-size:clamp(24px,2.6vw,32px); line-height:1.05; }
.rt-txt h2.rt-big{ font-size:clamp(40px,5.6vw,72px); line-height:.95; }
.rt-def{ font-size:clamp(18px,1.7vw,21px); line-height:1.6; color:var(--text); max-width:58ch; }
.rt-def em{ font-style:normal; color:var(--red2); }
.rt-lede{ color:var(--dim); font-size:16px; line-height:1.65; max-width:46ch; }
.rt-shot{ margin:0; aspect-ratio:4/3; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--panel); }
.rt-shot img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Why cards */
.rt-why{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin-top:56px; }
.rt-why article{ border:1px solid var(--line); border-radius:8px; padding:26px 22px; background:linear-gradient(180deg,rgba(255,255,255,.02),transparent); }
.rt-why article::before{ content:""; display:block; width:28px; height:2px; background:var(--red); margin-bottom:18px; }
.rt-why h3{ font-size:24px; line-height:1; margin-bottom:10px; }
.rt-why p{ color:var(--dim); font-size:15px; line-height:1.6; }

/* Four ways: intro beside photo, then the film-direction timeline */
.rt-ways-intro{ margin-bottom:16px; }
.rt-cols{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; margin-bottom:22px; }
.rt-cols .k{ font-family:'Barlow Condensed',sans-serif; font-weight:600; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--red2); margin-bottom:10px; }
.rt-cols .fdp-list{ margin-bottom:0; }
.rt-cols .fdp-list li{ font-size:14.5px; }
.fdp-out.rt-best{ border-color:var(--red); color:var(--red2); background:rgba(210,54,56,.14); }

/* How it's made */
.rt-pipe{ list-style:none; margin:36px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.rt-pipe > li{ position:relative; padding:30px 26px 28px; display:flex; flex-direction:column; gap:12px; min-width:0; }
.rt-pipe > li + li{ border-left:1px solid var(--line); }
.rt-pipe > li + li::before{ content:""; position:absolute; left:-9px; top:46px; width:16px; height:16px; background:var(--bg); border-top:1px solid var(--red); border-right:1px solid var(--red); transform:rotate(45deg); }
.rt-pipe > li:last-child{ background:linear-gradient(180deg,rgba(210,54,56,.14),transparent 75%); }
.rt-pipe .rt-tool{ align-self:flex-start; font-size:12px; letter-spacing:.06em; padding:6px 10px; border:1px solid var(--line); border-radius:999px; color:var(--dim); }
.rt-pipe h3{ font-size:clamp(38px,4vw,52px); line-height:.9; }
.rt-pipe .rt-step-lead{ font-weight:500; }
.rt-pipe .fdp-list{ margin-bottom:6px; }
.rt-pipe .fdp-meta{ margin-top:auto; }

@media (max-width:1000px){
  .rt-why{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rt-pipe{ grid-template-columns:1fr; }
  .rt-pipe > li + li{ border-left:0; border-top:1px solid var(--line); }
  .rt-pipe > li + li::before{ left:34px; top:-9px; transform:rotate(135deg); }
}
@media (max-width:900px){
  .rt-split{ grid-template-columns:1fr; }
  .rt-split.rev .rt-shot{ order:0; }
}
@media (max-width:700px){
  .rt-sec{ padding-top:80px; }
  .rt-why, .rt-cols{ grid-template-columns:1fr; }
}

/* Arabic */
html[dir="rtl"] .rt-pipe > li + li{ border-left:0; border-right:1px solid var(--line); }
html[dir="rtl"] .rt-pipe > li + li::before{ left:auto; right:-9px; transform:rotate(-135deg); }
@media (max-width:1000px){
  html[dir="rtl"] .rt-pipe > li + li{ border-right:0; border-top:1px solid var(--line); }
  html[dir="rtl"] .rt-pipe > li + li::before{ right:34px; top:-9px; transform:rotate(135deg); }
}
html[dir="rtl"] .fdp-line{ left:auto; right:21px; }
