/* =========================================================
   Yash Gandhi — V2 layer
   Loaders · Header · About · Marquee→Timeline · Projects · Platforms
   Loaded last, so it wins over main.css / custom.css.
========================================================= */

:root{
    --yg-o: #FF471C;
    --yg-ink: #0b0b0b;
    --yg-line: rgba(255,255,255,.12);
    --yg-line-2: rgba(255,255,255,.22);
    --yg-dim: rgba(255,255,255,.55);
    --yg-ease: cubic-bezier(.22,1,.36,1);
}

/* =========================================================
   1) TWO LOADERS
   - .yg-boot-first  → big number counter (first ever visit)
   - .yg-boot-repeat → compact wordmark loader (every other load)
   The <html> class is set by an inline script in <head>, so the
   right loader is on screen before first paint (no flash).
========================================================= */

html.yg-boot-repeat #preloader{ display: none !important; }
html.yg-boot-first  #ygMini{ display: none !important; }

/* ---------- 1a. First-visit number loader (polish pass) ---------- */
#preloader{
    background:
        radial-gradient(120% 90% at 85% 100%, rgba(255,71,28,.16) 0%, rgba(255,71,28,0) 55%),
        #090909;
}
#preloader::after{
    content: "";
    position: absolute;
    left: 44px;
    right: 44px;
    bottom: 26px;
    height: 2px;
    background: rgba(255,255,255,.10);
    border-radius: 2px;
    overflow: hidden;
}
#preloader .pl-bar{
    position: absolute;
    left: 44px;
    bottom: 26px;
    height: 2px;
    width: 0%;
    background: var(--yg-o);
    border-radius: 2px;
    z-index: 2;
    box-shadow: 0 0 18px rgba(255,71,28,.75);
    transition: width .12s linear;
}
.pl-brand{
    font-size: 15px !important;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: .92;
}
.pl-meta{ font-size: 12px !important; letter-spacing: .06em; }
.pl-percent{
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    color: #fff !important;
    text-shadow: 0 0 60px rgba(255,71,28,.35);
}
.pl-percent #pct{ color: var(--yg-o); }
@media (max-width: 575px){
    #preloader::after, #preloader .pl-bar{ left: 22px; bottom: 20px; }
    #preloader::after{ right: 22px; }
}

/* ---------- 1b. Repeat-visit wordmark loader ---------- */
#ygMini{
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #090909;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 22px;
    transition: opacity .55s var(--yg-ease), visibility .55s var(--yg-ease);
}
#ygMini.hide{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.ygm-word{
    display: flex;
    align-items: baseline;
    gap: .22em;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 7vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    overflow: hidden;
    padding-bottom: .08em;   /* stops descenders clipping */
}
.ygm-word .ygm-part{
    display: flex;
    overflow: hidden;
}
.ygm-word .ygm-c{
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: ygmRise .72s var(--yg-ease) forwards;
    animation-delay: calc(var(--i) * 45ms);
}
.ygm-word .ygm-part--last .ygm-c{ color: var(--yg-o); }
@keyframes ygmRise{
    to{ transform: translateY(0); opacity: 1; }
}
.ygm-track{
    position: relative;
    width: min(260px, 52vw);
    height: 2px;
    background: rgba(255,255,255,.12);
    border-radius: 2px;
    overflow: hidden;
}
.ygm-track i{
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: var(--yg-o);
    box-shadow: 0 0 16px rgba(255,71,28,.7);
    transition: width .15s linear;
}
.ygm-label{
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255,255,255,.42);
}
@media (prefers-reduced-motion: reduce){
    .ygm-word .ygm-c{ animation: none; transform: none; opacity: 1; }
}

/* =========================================================
   2) HEADER — slimmer, tighter, glassy on scroll
========================================================= */
.header-1{
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 48px;
    padding-right: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
/* NOTE: backdrop-filter is intentionally scoped to >=1200px (below).
   A backdrop-filter on .header-1 itself creates a new containing block
   for any fixed-position descendant — including the mobile nav's
   .mobile-menu-main / .mobile-menu-overlay panels, which live inside
   this header. That silently collapsed the mobile menu to 0 height on
   phones/tablets. Desktop has no mobile menu, so the blur is safe there. */
@media (min-width: 1200px){
    .header-1{ backdrop-filter: blur(6px); }
}
@media (max-width: 1399px){
    .header-1{ padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 1199px){
    .header-1{ padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 575px){
    .header-1{ padding-left: 16px; padding-right: 16px; }
}

/* sticky state: compact pill-ish bar */
.sticky-menu.header-1{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: rgba(12,12,12,.82);
    box-shadow: 0 10px 30px -16px rgba(0,0,0,.9);
    border-bottom: 1px solid rgba(255,255,255,.10);
}
@media (min-width: 1200px){
    .sticky-menu.header-1{ backdrop-filter: blur(16px) saturate(140%); }
}

/* wordmark */
.navbar-brand .brand-wordmark{
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.navbar-brand .brand-wordmark::after{
    content: ".";
    color: var(--yg-o);
}

/* nav links: smaller, lighter, animated underline */
.header-main .navbar .navbar-nav .nav-item{
    margin-inline-end: 4px;
}
.header-main .navbar .navbar-nav .nav-item .nav-link{
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .01em;
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255,255,255,.72);
    position: relative;
    transition: color .25s ease, background-color .25s ease;
}
.header-main .navbar .navbar-nav .nav-item .nav-link:hover,
.header-main .navbar .navbar-nav .nav-item .nav-link.active{
    color: #fff;
    background-color: rgba(255,255,255,.07);
}
.header-main .navbar .navbar-nav .nav-item .nav-link.active::before{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--yg-o);
    transform: translateX(-50%);
}
.header-main .navbar .navbar-nav .nav-item .nav-link i{
    font-size: 8px;
    opacity: .6;
}

/* submenu */
.header-main .navbar .navbar-nav .nav-item > .sub-menu{
    min-width: 210px;
    background-color: rgba(18,16,16,.97);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    overflow: hidden;
    padding: 6px;
    backdrop-filter: blur(14px);
}
.header-main .navbar .navbar-nav .nav-item > .sub-menu li a{
    font-size: 14px;
    border-radius: 9px;
    padding: 9px 12px;
}

/* right side: smaller CTA + tidy burger */
.header-1 .menu-right-info{ gap: 16px; }
.header-1 .menu-right-info .theme-btn-main{
    transform: scale(.88);
    transform-origin: right center;
}
.header-1 .menu-right-info .theme-btn-main .theme-btn{
    font-size: 13px;
    letter-spacing: .04em;
}
.header-1 .menu-right-info .theme-btn-main:hover{
    transform: scale(.88) translateY(-2px);
}
.sidebar__toggle.offcanvas-btn{
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}
.sidebar__toggle.offcanvas-btn:hover{
    border-color: rgba(255,71,28,.6);
    background-color: rgba(255,71,28,.09);
}
.sidebar__toggle.offcanvas-btn span{
    display: block;
    width: 16px;
    height: 1.5px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s var(--yg-ease), width .3s var(--yg-ease);
}
.sidebar__toggle.offcanvas-btn span:nth-child(2){ width: 11px; }
.sidebar__toggle.offcanvas-btn:hover span:nth-child(2){ width: 16px; }

/* mobile top bar */
.mobile-menu-area .mobile-topbar{ padding: 12px 0; }
@media (max-width: 1199px){
    .navbar-brand .brand-wordmark{ font-size: 16px; }
}

/* =========================================================
   3) MARQUEE (band) → flows straight into the TIMELINE
========================================================= */
.marque-section{
    position: relative;
    margin-bottom: 0;
}
.marque-section .marquee .text{
    font-weight: 700;
    letter-spacing: -0.01em;
}
.yg-band-lead{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 26px 0 0;
    color: rgba(255,255,255,.4);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
}
.yg-band-lead::after{
    content: "";
    width: 1px;
    height: 46px;
    background: linear-gradient(to bottom, var(--yg-o), rgba(255,71,28,0));
}
.yg-tl-section{ padding-top: 40px !important; }

/* =========================================================
   4) TIMELINE section — cleaner chrome + live playhead
========================================================= */
.yg-tl{
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--yg-line);
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
    box-shadow: 0 40px 80px -50px rgba(0,0,0,.95);
}
.yg-tl-bar{
    font-size: 11px;
    letter-spacing: .18em;
}
.yg-tl-scrub{
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--yg-line);
    background: rgba(255,255,255,.02);
}
.yg-tl-play{
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--yg-o);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s var(--yg-ease), box-shadow .25s ease;
}
.yg-tl-play:hover{
    transform: scale(1.08);
    box-shadow: 0 10px 24px -8px rgba(255,71,28,.8);
}
.yg-tl-scrub input[type="range"]{
    flex: 1 1 auto;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,.14);
    outline: none;
    cursor: pointer;
}
.yg-tl-scrub input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--yg-o);
    cursor: grab;
}
.yg-tl-scrub input[type="range"]::-moz-range-thumb{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--yg-o);
    cursor: grab;
}
.yg-tl-stage{
    flex: 0 0 auto;
    min-width: 160px;
    text-align: right;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}
.yg-tl-stage b{ color: var(--yg-o); font-weight: 700; }
@media (max-width: 767px){
    .yg-tl-stage{ display: none; }
}
/* clip currently under the playhead */
.yg-clip.is-live{
    outline: 1px solid rgba(255,255,255,.65);
    outline-offset: 1px;
    filter: brightness(1.18);
}

/* =========================================================
   5) ABOUT section — no more overlap / clipped text
========================================================= */
.about-section .about-wrapper{ overflow: visible; }
.about-section .about-content{
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 10px;
}
@media (max-width: 991px){
    .about-section .about-content{ padding-left: 0; }
}
.about-section .about-content .text{
    margin: 0;
    max-width: 620px;
    font-size: 17px;
    line-height: 1.75;
}
.about-section .about-content .theme-btn-main{ align-self: flex-start; }

/* the counter + small image become a real 2-up card, not overlapping absolutes */
.about-section .about-counter-items{
    position: static !important;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    margin-top: 6px;
    padding: 24px;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,71,28,.07), rgba(255,255,255,.02));
}
.about-section .about-counter-items .content{
    position: static !important;
    margin: 0;
}
.about-section .about-counter-items .content h2{
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: clamp(3rem, 6vw, 4.4rem);
    line-height: .9;
    margin: 0 0 10px;
    color: #fff;
}
.about-section .about-counter-items .content h2 .plus{ color: var(--yg-o); }
.about-section .about-counter-items .content p{
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--yg-dim);
    max-width: 320px;
}
.about-section .about-counter-items .content p br{ display: none !important; }
.about-section .about-counter-items .about-small{
    position: static !important;
    width: 148px;
    height: 148px;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--yg-line-2);
}
.about-section .about-counter-items .about-small img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 575px){
    .about-section .about-counter-items{
        grid-template-columns: 1fr;
        justify-items: start;
    }
    .about-section .about-counter-items .about-small{ width: 120px; height: 120px; }
}

/* mini fact row under the about copy */
.yg-about-facts{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.yg-about-facts span{
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    border: 1px solid var(--yg-line);
    border-radius: 999px;
    padding: 7px 14px;
    background: rgba(255,255,255,.02);
    transition: border-color .25s ease, color .25s ease, transform .25s var(--yg-ease);
}
.yg-about-facts span:hover{
    border-color: rgba(255,71,28,.55);
    color: #fff;
    transform: translateY(-2px);
}

/* portrait gets a frame + slow float instead of sitting flat */
.about-section .about-image{
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.about-section .about-image > img{
    border-radius: 20px;
    transition: transform .9s var(--yg-ease);
}
.about-section .about-image:hover > img{ transform: scale(1.03); }

/* =========================================================
   6) PROJECT CARDS — the "[ YouTube ]" tag no longer collides
========================================================= */
.project-box-items-5 .thumb{
    border-radius: 16px;
    background: #121212;
}
.project-box-items-5 .thumb img{ border-radius: 16px; }

/* platform badge now floats on the thumbnail */
.project-box-items-5 .content-items .year-text{
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 6;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,.6);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
}
.project-box-items-5{ position: relative; }

/* content block becomes a clean stack */
.project-box-items-5 .content-items{
    display: block !important;
    margin-top: 18px;
}
.project-box-items-5 .content-items .content .title{
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    margin: 0;
    display: block;
}
.project-box-items-5 .content-items .content .title a{
    background-image: linear-gradient(var(--yg-o), var(--yg-o));
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .45s var(--yg-ease), color .3s ease;
    padding-bottom: 2px;
}
.project-box-items-5:hover .content-items .content .title a{
    background-size: 100% 2px;
    color: #fff;
}
.project-box-items-5 .content-items .content .tag-items{
    margin-top: 12px !important;
    flex-wrap: wrap;
    gap: 8px;
}
.project-box-items-5 .content-items .content .tag-items span{
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255,255,255,.72);
    border: 1px solid var(--yg-line);
    border-radius: 999px;
    padding: 4px 11px;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.project-box-items-5:hover .content-items .content .tag-items span{
    border-color: rgba(255,71,28,.45);
    color: #fff;
}

/* play affordance + lift */
.project-box-items-5 .thumb::after{
    content: "\f04b";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", sans-serif;
    font-weight: 900;
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #fff;
    background: rgba(255,71,28,.92);
    transform: scale(.75);
    opacity: 0;
    transition: transform .4s var(--yg-ease), opacity .3s ease;
    pointer-events: none;
}
.project-box-items-5:hover .thumb::after{ transform: scale(1); opacity: 1; }
.project-box-items-5{
    transition: transform .5s var(--yg-ease), box-shadow .5s ease;
}
.project-box-items-5:hover{ transform: translateY(-6px); }
.project-box-items-5 .thumb .arrow-icon{
    width: 64px !important;
    height: 64px !important;
    line-height: 64px !important;
    font-size: 16px !important;
}

/* homepage showcase header */
.project-section .text-items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--yg-line);
}
.project-section .text-items p{ max-width: 620px; margin: 0; }
.yg-work-btn{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid var(--yg-line-2);
    border-radius: 999px;
    padding: 13px 24px;
    transition: background-color .3s ease, border-color .3s ease, transform .3s var(--yg-ease);
}
.yg-work-btn:hover{
    background: var(--yg-o);
    border-color: var(--yg-o);
    color: #fff;
    transform: translateY(-3px);
}

/* =========================================================
   7) PROJECT PAGE — filter bar, group headers, reveal anim
========================================================= */
.yg-project-group-title{
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 820px;
    margin: 100px 0 34px;
    padding-top: 26px;
    border-top: 1px solid var(--yg-line);
}
.yg-project-group-title:first-child{ border-top: none; padding-top: 0; }
.yg-project-group-title h2{
    font-size: clamp(1.9rem, 3.6vw, 2.8rem) !important;
    letter-spacing: -0.02em;
}
.yg-project-group-title .yg-group-desc{ max-width: 640px; font-size: 16px; }

.yg-filter-wrap{
    position: sticky;
    top: 74px;
    z-index: 50;
    margin: 0 0 46px;
    padding: 12px 0;
    background: rgba(9,9,9,.9);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--yg-line);
    border-bottom: 1px solid var(--yg-line);
}
.yg-filter{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.yg-filter-label{
    font-size: 11px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
    margin-right: 6px;
}
.yg-filter button{
    border: 1px solid var(--yg-line);
    background: rgba(255,255,255,.02);
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
    transition: all .28s var(--yg-ease);
}
.yg-filter button:hover{
    color: #fff;
    border-color: var(--yg-line-2);
    transform: translateY(-2px);
}
.yg-filter button.is-active{
    background: var(--yg-o);
    border-color: var(--yg-o);
    color: #fff;
}
.yg-filter button .n{
    font-size: 11px;
    opacity: .6;
    margin-left: 6px;
}
@media (max-width: 767px){
    .yg-filter-wrap{ position: static; }
    .yg-filter-label{ display: none; }
}

/* hide/show groups when filtering */
.yg-pgroup.is-hidden{ display: none !important; }

/* scroll reveal for cards */
.yg-reveal{
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--yg-ease), transform .7s var(--yg-ease);
    transition-delay: calc(var(--d, 0) * 70ms);
    will-change: transform, opacity;
}
.yg-reveal.is-in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
    .yg-reveal{ opacity: 1; transform: none; transition: none; }
}

/* count-up strip at the top of the work page */
.yg-work-stats{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--yg-line);
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
}
.yg-work-stats div{
    background: #0b0b0b;
    padding: 26px 20px;
    text-align: center;
}
.yg-work-stats b{
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.yg-work-stats span{
    display: block;
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
@media (max-width: 767px){
    .yg-work-stats{ grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   8) NEW — "Where I Work" platforms section
========================================================= */
.yg-plat-section{
    position: relative;
    overflow: hidden;
}
.yg-plat-section::before{
    content: "";
    position: absolute;
    inset: auto 0 0 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, 45%);
    background: radial-gradient(circle, rgba(255,71,28,.13) 0%, rgba(255,71,28,0) 62%);
    pointer-events: none;
}
.yg-plat-head{
    max-width: 780px;
    margin: 0 0 46px;
}
.yg-plat-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--yg-o);
    margin-bottom: 16px;
}
.yg-plat-eyebrow i{
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yg-o);
    box-shadow: 0 0 0 4px rgba(255,71,28,.18);
}
.yg-plat-head h2{
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 16px;
}
.yg-plat-head h2 em{
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    color: var(--yg-o);
}
.yg-plat-head p{
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: var(--yg-dim);
    max-width: 640px;
}

.yg-plat-grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 1199px){ .yg-plat-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px){ .yg-plat-grid{ grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.yg-plat-card{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px 22px 22px;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    background: rgba(255,255,255,.022);
    overflow: hidden;
    isolation: isolate;
    transition: border-color .35s ease, transform .45s var(--yg-ease);
}
.yg-plat-card::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(120% 90% at 20% 0%, var(--pc, rgba(255,71,28,.35)) 0%, rgba(0,0,0,0) 70%);
    transition: opacity .45s ease;
}
.yg-plat-card:hover{
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.26);
}
.yg-plat-card:hover::before{ opacity: 1; }

.yg-plat-ico{
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--pf, #fff);
    background: var(--pc, #222);
    box-shadow: 0 10px 24px -12px var(--pc, rgba(0,0,0,.6));
    transition: transform .45s var(--yg-ease);
}
.yg-plat-card:hover .yg-plat-ico{ transform: scale(1.08) rotate(-5deg); }

.yg-plat-name{
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.yg-plat-desc{
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.52);
    margin: 0;
    flex: 1 1 auto;
}
.yg-plat-meta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}
.yg-plat-meta b{
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 12px;
}
.yg-plat-card > a.yg-plat-link{
    position: absolute;
    inset: 0;
    z-index: 3;
}
.yg-plat-card .yg-plat-go{
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 12px;
    color: rgba(255,255,255,.35);
    transform: translate(-4px, 4px);
    opacity: 0;
    transition: all .35s var(--yg-ease);
}
.yg-plat-card:hover .yg-plat-go{
    opacity: 1;
    transform: none;
    color: #fff;
}

/* platform ticker under the grid */
.yg-plat-ticker{
    margin-top: 34px;
    border-top: 1px solid var(--yg-line);
    border-bottom: 1px solid var(--yg-line);
    overflow: hidden;
    padding: 16px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.yg-plat-ticker .tk{
    display: flex;
    width: max-content;
    gap: 44px;
    animation: ygTick 32s linear infinite;
}
.yg-plat-ticker:hover .tk{ animation-play-state: paused; }
.yg-plat-ticker .tk span{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255,255,255,.34);
    white-space: nowrap;
    transition: color .3s ease;
}
.yg-plat-ticker .tk span:hover{ color: #fff; }
.yg-plat-ticker .tk span i{ color: var(--yg-o); font-size: 15px; }
@keyframes ygTick{
    from{ transform: translateX(0); }
    to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
    .yg-plat-ticker .tk{ animation: none; }
}

/* =========================================================
   9) TYPE — Manrope everywhere, Bricolage for big display
   headings, Instrument Serif kept for the italic accents.
========================================================= */
body,
input, textarea, select, button{
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    letter-spacing: -0.005em;
}
h1, h2, h3, h4, h5, h6,
.hero-content h1,
.section-title h2,
.yg-plat-head h2,
.breadcrumb-sub-title h1{
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-optical-sizing: auto;
}
.style-font,
.font-style,
.yg-plat-head h2 em,
.yg-clap-main h2 em{
    font-family: "Instrument Serif", Georgia, serif !important;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
}
p, .text, li{ letter-spacing: 0; }
b, strong, .theme-btn{ font-weight: 700; }

/* =========================================================
   10) STOP SECTIONS CLIPPING MID-ANIMATION
   `.fix` sets overflow:hidden, which chopped elements while
   they were still translating up from below.
========================================================= */
.work-process-section-3.fix,
.yg-clap-section,
.about-section,
.project-section.fix,
.service-section,
.yg-plat-section,
.testimonial-section,
.news-section{
    overflow-x: clip;
    overflow-y: visible;
}
.work-process-wrapper-3{ overflow: visible; }
.wow{ animation-fill-mode: both; }

/* =========================================================
   11) HOMEPAGE — "What I actually do" SaaS-style explainer
========================================================= */
.yg-saas{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(80% 60% at 50% -10%, rgba(255,71,28,.14) 0%, rgba(255,71,28,0) 60%),
        #0a0a0a;
    border-top: 1px solid var(--yg-line);
    border-bottom: 1px solid var(--yg-line);
}
.yg-saas-head{
    max-width: 860px;
    margin: 0 auto 54px;
    text-align: center;
}
.yg-saas-kicker{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--yg-o);
    border: 1px solid rgba(255,71,28,.35);
    background: rgba(255,71,28,.08);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 22px;
}
.yg-saas-kicker i{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yg-o);
    animation: ygPulse 1.8s ease-in-out infinite;
}
@keyframes ygPulse{
    0%,100%{ opacity: 1; transform: scale(1); }
    50%{ opacity: .35; transform: scale(.7); }
}
.yg-saas-head h2{
    font-size: clamp(2.2rem, 5.4vw, 4.1rem);
    line-height: 1.05;
    color: #fff;
    margin: 0 0 18px;
}
.yg-saas-head h2 em{
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    color: var(--yg-o);
}
.yg-saas-head p{
    font-size: 18px;
    line-height: 1.7;
    color: var(--yg-dim);
    max-width: 620px;
    margin: 0 auto;
}

/* the three-step pipeline */
.yg-pipe{
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
    margin-bottom: 44px;
}
@media (max-width: 991px){
    .yg-pipe{ grid-template-columns: 1fr; gap: 14px; }
}
.yg-pipe-step{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px 26px;
    border: 1px solid var(--yg-line);
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    transition: border-color .4s ease, transform .5s var(--yg-ease), background-color .4s ease;
}
.yg-pipe-step.is-on{
    border-color: rgba(255,71,28,.55);
    background: rgba(255,71,28,.06);
    transform: translateY(-6px);
}
.yg-pipe-num{
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em;
    color: rgba(255,255,255,.35);
}
.yg-pipe-step.is-on .yg-pipe-num{ color: var(--yg-o); }
.yg-pipe-step h3{
    font-size: 21px;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.yg-pipe-step p{
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.55);
}
.yg-pipe-arrow{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    color: rgba(255,255,255,.22);
    font-size: 14px;
}
@media (max-width: 991px){
    .yg-pipe-arrow{ width: auto; height: 26px; transform: rotate(90deg); }
}

/* the animated "player" mock */
.yg-saas-stage{
    position: relative;
    border: 1px solid var(--yg-line);
    border-radius: 20px;
    overflow: hidden;
    background: #0d0d0d;
    box-shadow: 0 50px 90px -60px rgba(0,0,0,1);
}
.yg-saas-bar{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--yg-line);
    background: rgba(255,255,255,.03);
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
.yg-saas-bar u{
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: inline-block;
    text-decoration: none;
}
.yg-saas-bar u:first-of-type{ background: #ff5f57; }
.yg-saas-bar u:nth-of-type(2){ background: #febc2e; }
.yg-saas-bar u:nth-of-type(3){ background: #28c840; }
.yg-saas-bar span{ margin-left: auto; color: var(--yg-o); font-weight: 700; }

.yg-saas-body{
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    min-height: 330px;
}
@media (max-width: 767px){
    .yg-saas-body{ grid-template-columns: 1fr; }
}
.yg-saas-canvas{
    position: relative;
    padding: 30px;
    border-right: 1px solid var(--yg-line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.yg-saas-slide{
    position: absolute;
    inset: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    opacity: 0;
    transform: scale(.96) translateY(12px);
    transition: opacity .6s var(--yg-ease), transform .6s var(--yg-ease);
}
.yg-saas-slide.is-on{ opacity: 1; transform: none; }
.yg-saas-slide .big{
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}
.yg-saas-slide .sub{
    font-size: 14px;
    color: rgba(255,255,255,.5);
    max-width: 320px;
    line-height: 1.6;
}
.yg-saas-slide .chip{
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--yg-o);
    border: 1px solid rgba(255,71,28,.4);
    border-radius: 999px;
    padding: 6px 14px;
}
.yg-saas-side{
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.yg-saas-row{
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 14px;
    color: rgba(255,255,255,.55);
    opacity: .35;
    transition: opacity .45s ease, color .45s ease;
}
.yg-saas-row.is-on{ opacity: 1; color: #fff; }
.yg-saas-row i{
    width: 30px; height: 30px;
    flex: 0 0 auto;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.6);
}
.yg-saas-row.is-on i{ background: var(--yg-o); color: #fff; }
.yg-saas-prog{
    height: 3px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 6px;
}
.yg-saas-prog b{
    display: block;
    height: 100%;
    width: 0%;
    background: var(--yg-o);
    border-radius: 3px;
}
.yg-saas-foot{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.yg-saas-foot .note{
    font-size: 13px;
    color: rgba(255,255,255,.4);
}

/* =========================================================
   12) ABOUT PAGE — tools grid, stat band, showreel
========================================================= */
.yg-tools-section{ position: relative; }
.yg-tools-wrap{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-top: 12px;
}
@media (max-width: 1199px){ .yg-tools-wrap{ grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575px){ .yg-tools-wrap{ grid-template-columns: repeat(2, 1fr); } }
.yg-tool{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px 20px;
    border: 1px solid var(--yg-line);
    border-radius: 16px;
    background: rgba(255,255,255,.022);
    text-align: center;
    transition: border-color .35s ease, transform .45s var(--yg-ease), background-color .35s ease;
}
.yg-tool:hover{
    border-color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.05);
    transform: translateY(-5px);
}
.yg-tool-badge{
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    color: var(--tf, #fff);
    background: var(--tb, #1c1c1c);
    border: 1px solid rgba(255,255,255,.12);
}
.yg-tool b{
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}
.yg-tool span{
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
}

/* stat band */
.yg-about-band{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--yg-line);
    border: 1px solid var(--yg-line);
    border-radius: 20px;
    overflow: hidden;
}
@media (max-width: 767px){ .yg-about-band{ grid-template-columns: repeat(2, 1fr); } }
.yg-about-band > div{
    background: #0b0b0b;
    padding: 34px 22px;
    text-align: center;
}
.yg-about-band b{
    display: block;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}
.yg-about-band b em{ color: var(--yg-o); font-style: normal; }
.yg-about-band span{
    display: block;
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.42);
}

/* showreel block */
.yg-showreel-block{
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 991px){ .yg-showreel-block{ grid-template-columns: 1fr; gap: 28px; } }
.yg-showreel-frame{
    position: relative;
    border: 1px solid var(--yg-line);
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9;
    box-shadow: 0 50px 90px -60px rgba(0,0,0,1);
}
.yg-showreel-frame iframe{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.yg-showreel-copy h2{
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.1;
}
.yg-showreel-copy h2 em{
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    color: var(--yg-o);
}
.yg-showreel-copy p{
    color: var(--yg-dim);
    font-size: 16.5px;
    line-height: 1.7;
    margin: 0 0 24px;
}

/* =========================================================
   13) "How I Work" — live-feeling process card
========================================================= */
[data-yg-process-photo]{ position: relative; overflow: hidden; }
.yg-live-pill{
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(10,10,10,.55);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 14px;
}
.yg-live-pill i{
    width: 7px; height: 7px; border-radius: 50%;
    background: #ff3b3b;
    box-shadow: 0 0 8px #ff3b3b;
    animation: yg-rec-blink 1.1s steps(2, jump-none) infinite;
}
@keyframes yg-rec-blink{ 0%{opacity:1} 100%{opacity:.2} }

.incrase-box{ position: absolute; }
.yg-turn-ring{
    position: absolute;
    top: 14px;
    right: 18px;
    width: 34px;
    height: 34px;
    opacity: .9;
}
.yg-turn-ring svg{ width: 100%; height: 100%; transform: rotate(-90deg); }
.yg-turn-ring .track{ fill: none; stroke: rgba(255,255,255,.28); stroke-width: 3; }
.yg-turn-ring .fill{
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 119.4;
    stroke-dashoffset: 119.4;
    animation: yg-ring-fill 3.4s ease-in-out infinite;
}
@keyframes yg-ring-fill{
    0%{ stroke-dashoffset: 119.4; }
    60%{ stroke-dashoffset: 20; }
    100%{ stroke-dashoffset: 119.4; }
}

/* progress rail running down the left of the accordion */
.yg-process-list{ position: relative; padding-left: 4px; }
.yg-process-rail{
    position: absolute;
    left: 30px;
    top: 4px;
    bottom: 30px;
    width: 2px;
    background: rgba(16,16,16,.1);
    z-index: 0;
}
@media (max-width: 767px){ .yg-process-rail{ left: 18px; } }
.yg-process-rail i{
    position: absolute;
    left: 0; top: 0;
    width: 100%;
    height: 0%;
    background: var(--yg-o);
    transition: height .6s var(--yg-ease);
}
.faq-content-1 .accordion-box .block{
    position: relative;
    z-index: 1;
    transition: opacity .3s ease;
}
.yg-step-ico{
    position: absolute;
    left: -66px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #fff;
    border: 1.5px solid rgba(16,16,16,.15);
    color: rgba(16,16,16,.4);
    transition: all .4s var(--yg-ease);
}
@media (max-width: 767px){ .yg-step-ico{ left: -40px; width: 28px; height: 28px; font-size: 11px; } }
.faq-content-1 .accordion-box .block .acc-btn.active ~ .yg-step-ico,
.faq-content-1 .accordion-box .block .acc-btn.active .yg-step-ico{ }
.acc-btn.active .yg-step-ico{
    background: var(--yg-o);
    border-color: var(--yg-o);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 0 5px rgba(255,71,28,.16);
}
.faq-content-1 .accordion-box .block .acc-btn{
    display: flex;
    align-items: center;
    gap: 4px;
}
.faq-content-1 .accordion-box .block .acc-btn .number{ margin-left: 0; }

/* subtle ambient glow behind the whole card so it doesn't read flat */
.faq-content-1{ position: relative; overflow: hidden; }
.faq-content-1::before{
    content: "";
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,71,28,.14), rgba(255,71,28,0) 70%);
    pointer-events: none;
}

/* =========================================================
   14) HERO — orbit visual (replaces the video + long caption)
========================================================= */
.yg-orbit-visual{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yg-orbit-rings{ position: absolute; inset: 0; }
.yg-orbit-rings .ring{
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.10);
}
.yg-orbit-rings .ring.r1{ inset: 0; }
.yg-orbit-rings .ring.r2{ inset: 13%; border-color: rgba(255,255,255,.14); }
.yg-orbit-rings .ring.r3{ inset: 27%; border-color: rgba(255,71,28,.35); }
.yg-orbit-rings .ring.r3::after{
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(255,71,28,0) 0%, rgba(255,71,28,.9) 8%, rgba(255,71,28,0) 20%);
    animation: ygOrbitSweep 3.2s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}
@keyframes ygOrbitSweep{ to{ transform: rotate(360deg); } }

.yg-orbit-spin{
    position: absolute;
    inset: 0;
    animation: ygOrbitSpin 22s linear infinite;
}
@keyframes ygOrbitSpin{ to{ transform: rotate(360deg); } }
.yg-orbit-node{
    position: absolute;
    top: 50%; left: 50%;
    width: 46px; height: 46px;
    margin: -23px 0 0 -23px;
    transform: rotate(var(--a)) translate(var(--r));
}
.yg-orbit-node i{
    display: flex;
    width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    color: #fff;
    background: rgba(20,20,20,.85);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.8);
    animation: ygOrbitSpinRev 22s linear infinite;
}
@keyframes ygOrbitSpinRev{ to{ transform: rotate(-360deg); } }
.yg-orbit-node.on i{ background: var(--yg-o); border-color: var(--yg-o); }

.yg-orbit-core{
    position: relative;
    z-index: 2;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px;
    background: radial-gradient(circle, rgba(255,71,28,.16), rgba(10,10,10,.02) 72%);
}
.yg-orbit-word{
    position: absolute;
    inset: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(1.15rem, 2.6vw, 1.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: scale(.9);
    transition: opacity .5s var(--yg-ease), transform .5s var(--yg-ease);
}
.yg-orbit-word em{
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    color: var(--yg-o);
    font-weight: 400;
    margin-left: .28em;
}
.yg-orbit-word.is-on{ opacity: 1; transform: none; }

.yg-orbit-pulse{
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,71,28,.4);
    animation: ygOrbitPulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes ygOrbitPulse{
    0%{ transform: scale(.86); opacity: .8; }
    100%{ transform: scale(1.06); opacity: 0; }
}

.yg-orbit-caption{
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}
.yg-orbit-caption i{
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yg-o);
    box-shadow: 0 0 8px rgba(255,71,28,.8);
}
@media (prefers-reduced-motion: reduce){
    .yg-orbit-spin, .yg-orbit-node i, .yg-orbit-rings .ring.r3::after, .yg-orbit-pulse{ animation: none; }
}

/* =========================================================
   15) HOMEPAGE HERO — single centred section
   (rotating dome + hover-reactive particle network removed;
   the orbit visual is now the hero's one big focal animation)
========================================================= */
.hero-section-1.yg-hero-centered{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}
.yg-hero-centered .hero-content{
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.yg-hero-centered .hero-content .split-title.title-p,
.yg-hero-centered .hero-content > p.split-title{
    font-size: 15px;
}
.yg-hero-centered .yg-hero-stats{
    justify-content: center;
    flex-wrap: wrap;
}
.yg-hero-centered .hero-button{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
}
.yg-hero-centered .hero-list{
    width: 100%;
    max-width: 980px;
    margin-top: 56px !important;
    padding-right: 0 !important;
}
@media (max-width: 767px){
    .yg-hero-centered .hero-list{
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-align: center;
    }
}

/* the big centred orbit sits between the copy and the hero-list */
.yg-orbit-visual--hero{
    max-width: 560px;
    margin: 46px auto 18px;
}
@media (max-width: 991px){
    .yg-orbit-visual--hero{ max-width: 420px; }
    .yg-orbit-visual--hero .yg-orbit-node{ --r: 165px !important; }
}
@media (max-width: 575px){
    .yg-orbit-visual--hero{ max-width: 320px; margin-top: 30px; }
    .yg-orbit-visual--hero .yg-orbit-node{ --r: 125px !important; width: 38px; height: 38px; margin: -19px 0 0 -19px; }
    .yg-orbit-visual--hero .yg-orbit-node i{ font-size: 13px; }
}
.yg-orbit-visual--hero .yg-orbit-node i{ width: 52px; height: 52px; font-size: 18px; }
.yg-orbit-visual--hero .yg-orbit-node{ width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.yg-orbit-visual--hero .yg-orbit-word{ font-size: clamp(1.3rem, 3vw, 1.9rem); }

/* keep the ambient glow but make it calmer without particles/aurora */
.hero-section-1.yg-hero-centered{ position: relative; overflow: hidden; }
.hero-section-1.yg-hero-centered::before{
    content: "";
    position: absolute;
    inset: -10% -10% auto -10%;
    height: 620px;
    background: radial-gradient(60% 60% at 50% 20%, rgba(255,71,28,.16) 0%, rgba(255,71,28,0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* =========================================================
   16) SERVICE-DETAILS — "What's included" checklist grid
========================================================= */
.yg-incl-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 12px;
}
@media (max-width: 1199px){ .yg-incl-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px){ .yg-incl-grid{ grid-template-columns: 1fr; } }
.yg-incl-card{
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 22px;
    border: 1px solid var(--yg-line);
    border-radius: 16px;
    background: rgba(255,255,255,.02);
    transition: border-color .35s ease, transform .45s var(--yg-ease), background-color .35s ease;
}
.yg-incl-card:hover{
    border-color: rgba(255,71,28,.4);
    background: rgba(255,71,28,.05);
    transform: translateY(-5px);
}
.yg-incl-ico{
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--yg-o);
    background: rgba(255,71,28,.12);
}
.yg-incl-card b{
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.yg-incl-card p{
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.5);
}

/* =========================================================
   TOOLKIT BADGES — real brand logos
   Logos come from cdn.simpleicons.org tinted to each tool's
   accent colour. If one fails to load, the badge falls back
   to the original two-letter monogram so the grid never
   shows an empty square.
========================================================= */
.yg-tool-logo{ position: relative; overflow: hidden; }
.yg-tool-logo img{
    width: 58%;
    height: 58%;
    object-fit: contain;
    display: block;
}
.yg-tool-logo em{ display: none; }
.yg-tool-logo.no-logo img{ display: none; }
.yg-tool-logo.no-logo em{
    display: block;
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -.02em;
    color: var(--tf, #fff);
}

/* =========================================================
   MOBILE FIX — restore intentional line breaks
   main.css hides every <br> below 991px, which runs
   sentences together in components that rely on the break
   (e.g. "Unsorted clips.No story yet."). Restore it where
   the break carries meaning.
========================================================= */
@media (max-width: 991px){
    .yg-saas-slide .big br,
    .yg-hero7 br{
        display: inline !important;
    }
}
