/* ==========================================================================
   TTPA — Services styles used by the About page template (ported from ttpa/css/home.css)
   Requires css/base.css to be loaded first.
   ========================================================================== */

/* HERO */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;flex-direction:column;justify-content:center;
  padding-top:120px;padding-bottom:80px;
  overflow:hidden;
}
h1.hero-title{
  font-size:clamp(46px, 7vw, 104px);
  font-weight:600;
  max-width:16ch;
  position:relative;
  z-index:2;
}
h1.hero-title em{
  font-style:normal;color:var(--blue);
  position:relative;
}
h1.hero-title .accent-orange{color:var(--orange);}
.hero-sub{
  margin-top:28px;
  font-size:18px;line-height:1.6;color:var(--ink-soft);
  max-width:44ch;
}
.hero-actions{margin-top:40px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;}
.hero-meta{
  margin-top:70px;
  display:flex;gap:48px;flex-wrap:wrap;
  padding-top:28px;border-top:1px solid var(--line);
}
.hero-meta .item .num{font-family:var(--wp--preset--font-family--inter);font-weight:600;font-size:26px;}
.hero-meta .item .lbl{font-size:13px;color:var(--ink-soft);margin-top:4px;}

/* 3D wireframe scene rendered behind the hero — the studio's own medium,
   used as the visual centrepiece instead of a static image */
.hero-3d{
  position:absolute;inset:0;
  z-index:1;
  pointer-events:none;
}
.hero-3d canvas{display:block;width:100%;height:100%;}
@media (max-width:900px){ .hero-3d{opacity:0.6;} }

/* MARQUEE */
.marquee-strip{
  background:var(--ink);color:var(--white);
  padding:16px 0;overflow:hidden;white-space:nowrap;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.marquee-track{
  display:inline-flex;gap:0;animation:marquee 28s linear infinite;
}
.marquee-track span{
  font-family:var(--wp--preset--font-family--inter);font-size:16px;font-weight:500;
  padding:0 28px;display:inline-flex;align-items:center;gap:28px;
  color:var(--white);
}
.marquee-track span::after{content:'●';color:var(--orange);font-size:8px;}
@keyframes marquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ABOUT / CREDIBILITY teaser */
.about{
  background:var(--white);
  border-top:0px solid var(--line);
  border-bottom:0px solid var(--line);
  overflow:hidden;position:relative;}
.about-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:80px;align-items:start;position:relative;z-index:1;}
.about-text p{font-size:19px;line-height:1.65;color:var(--ink-soft);margin-bottom:20px;}
.about-text p strong{color:var(--ink);font-weight:600;}
.badges{display:flex;flex-direction:column;gap:16px;}
.badge-card{
  border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 24px;background:var(--paper);
  display:flex;align-items:center;gap:16px;
  transition:transform .25s ease, border-color .25s ease;
}
.badge-card:hover{transform:translateX(4px);border-color:var(--blue);}
.badge-icon{
  width:44px;height:44px;border-radius:50%;
  background:var(--blue);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--wp--preset--font-family--inter);font-weight:700;font-size:16px;
  flex-shrink:0;
}
.badge-card:nth-child(2) .badge-icon{background:var(--orange);}
.badge-card:nth-child(3) .badge-icon{background:var(--ink);}
.badge-title{font-weight:600;font-size:15px;}
.badge-sub{font-size:13px;color:var(--ink-soft);margin-top:2px;}
@media (max-width:900px){ .about-grid{grid-template-columns:1fr;gap:48px;} }

/* scroll-driven 3D wireframe cube — rotation is tied to scroll position
   of the Studio section, built with real CSS 3D transforms (no canvas) */
.cube-scene{
  position:absolute;top:50%;right:-40px;
  width:220px;height:220px;
  perspective:900px;
  transform:translateY(-50%);
  pointer-events:none;
  opacity:0.5;
  z-index:0;
}
.cube{
  position:relative;width:100%;height:100%;
  transform-style:preserve-3d;
  transform:rotateX(-20deg) rotateY(30deg);
}
.cube-face{
  position:absolute;width:220px;height:220px;
  border:1px solid var(--blue);
  background:rgba(42,76,255,0.03);
}
.cube-face.front{transform:translateZ(110px);}
.cube-face.back{transform:translateZ(-110px) rotateY(180deg);}
.cube-face.right{transform:rotateY(90deg) translateZ(110px);border-color:var(--orange);background:rgba(255,106,52,0.03);}
.cube-face.left{transform:rotateY(-90deg) translateZ(110px);border-color:var(--orange);background:rgba(255,106,52,0.03);}
.cube-face.top{transform:rotateX(90deg) translateZ(110px);}
.cube-face.bottom{transform:rotateX(-90deg) translateZ(110px);}
@media (max-width:1100px){ .cube-scene{display:none;} }

/* SERVICES */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.service-card{
  border:1px solid #ebebeb;border-radius:var(--radius);
  padding:36px 28px;background:var(--white);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position:relative;overflow:hidden;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 48px rgba(14,14,18,0.08);
  /*border-color:transparent;*/
}
.service-num{
  font-family:var(--wp--preset--font-family--inter);font-size:13px;color:var(--ink-soft);
  margin-bottom:32px;display:block;
}
.service-card h3{font-size:24px;font-weight:600;margin-bottom:14px;}
.service-card p{font-size:16px;color:var(--ink-soft);line-height:1.6;margin-bottom:20px;}
.service-list{list-style:none;display:flex;flex-direction:column;gap:8px;}
.service-list li{
  font-size:15px;color:var(--ink-soft);padding-left:16px;position:relative;
}
.service-list li::before{
  content:'';position:absolute;left:0;top:7px;width:6px;height:6px;border-radius:50%;
  background:var(--orange);
}
@media (max-width:900px){ .services-grid{grid-template-columns:1fr;} }
