/* ===========================================================================
   Yash Gandhi — v9 layer
   1) Showreel player: Reel (9:16) / Full video (16:9) toggle — modal + inline
   2) Hero live preview: program monitor + phone, proof strip
   3) Client tools + roadmap section
   Loads last, everything is namespaced.
=========================================================================== */
:root{
    --v9-o: #FF471C;
    --v9-o-soft: rgba(255,71,28,.14);
    --v9-line: rgba(255,255,255,.12);
    --v9-line-hi: rgba(255,255,255,.22);
    --v9-dim: rgba(255,255,255,.6);
    --v9-panel: rgba(255,255,255,.035);
    --v9-ease: cubic-bezier(.22,1,.36,1);
}

/* ---------------------------------------------------------------------
   1) Format toggle (shared)
--------------------------------------------------------------------- */
.yg-cut-toggle{
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--v9-line);
    border-radius: 999px;
    background: rgba(10,10,10,.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-bottom: 14px;
}
.yg-cut-toggle button{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--v9-dim);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .3s var(--v9-ease), color .3s ease;
}
.yg-cut-toggle button em{
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    opacity: .7;
}
.yg-cut-toggle button:hover{ color: #fff; }
.yg-cut-toggle button.is-on{ background: var(--v9-o); color: #fff; }
.yg-cut-toggle button:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 420px){ .yg-cut-toggle button em{ display: none; } }

/* ---- modal: size follows the chosen cut ---- */
.yg-reel-dialog{ display: flex; flex-direction: column; align-items: center; }
.yg-reel-dialog .yg-reel-frame video{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: #000;
}
.yg-reel-dialog.is-reel{ width: auto; }
.yg-reel-dialog.is-reel .yg-reel-frame{
    aspect-ratio: 9 / 16;
    height: min(78vh, 820px);
    width: auto;
    max-width: calc(100vw - 32px);
}
.yg-reel-dialog.is-full{ width: min(1180px, 100%); }
.yg-reel-dialog .yg-reel-close{ top: 0; right: 0; }
.yg-reel-dialog .yg-cut-toggle{ margin-right: 52px; margin-left: 52px; }
@media (max-width: 575px){
    .yg-reel-dialog .yg-reel-close{ top: 0; }
    .yg-reel-dialog.is-reel .yg-reel-frame{ height: min(72vh, 680px); }
}

/* ---- inline player (About page) ---- */
.yg-showreel-frame.yg-showcase{
    aspect-ratio: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.yg-showcase-screen{
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--v9-line);
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 50px 90px -60px rgba(0,0,0,1), 0 0 0 1px rgba(255,71,28,.05);
    transition: aspect-ratio .4s var(--v9-ease);
}
.yg-showcase.is-reel .yg-showcase-screen{
    width: auto;
    height: min(72vh, 680px);
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    border: 8px solid #161616;
    outline: 1px solid var(--v9-line);
}
.yg-showcase-screen video{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: #000;
}

/* ---------------------------------------------------------------------
   2) Hero live preview
--------------------------------------------------------------------- */
.h7-kicker .h7-ai{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,71,28,.4);
    background: var(--v9-o-soft);
    color: #fff;
    font-weight: 600;
}
.h7-kicker .h7-ai i{ color: var(--v9-o); font-size: .9em; }

.h7-preview{
    width: 100%;
    max-width: 1180px;
    margin-top: clamp(26px, 4vh, 46px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(150px, 22%, 250px);
    gap: clamp(12px, 2vw, 26px);
    align-items: end;
    text-align: left;
}
.h7-mon, .h7-phone{
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #050505;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--v9-ease), box-shadow .5s var(--v9-ease);
}
.h7-mon{
    border-radius: 18px;
    outline: 1px solid var(--v9-line-hi);
    box-shadow: 0 40px 120px -50px rgba(255,71,28,.45), 0 30px 60px -30px rgba(0,0,0,.9);
}
.h7-mon-bar{
    position: absolute; top: 0; left: 0; right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: .04em;
    color: rgba(255,255,255,.85);
    background: linear-gradient(180deg, rgba(0,0,0,.7), rgba(0,0,0,0));
}
.h7-mon-bar .rec{
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--v9-o);
    box-shadow: 0 0 0 4px rgba(255,71,28,.25);
    animation: v9Blink 1.4s ease-in-out infinite;
}
.h7-mon-bar em{
    margin-left: auto;
    font-style: normal;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--v9-line-hi);
    font-size: 11px;
}
.h7-mon video, .h7-phone video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.h7-mon video{ aspect-ratio: 16 / 9; }
.h7-phone{
    aspect-ratio: 9 / 16;
    border-radius: 30px;
    border: 7px solid #1a1a1a;
    outline: 1px solid var(--v9-line-hi);
    box-shadow: 0 40px 90px -40px rgba(0,0,0,1), 0 0 60px -20px rgba(255,71,28,.35);
    transform: translateY(-6%) rotate(2deg);
}
.h7-phone-notch{
    position: absolute; top: 8px; left: 50%;
    z-index: 2;
    width: 34%; height: 14px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
}
.h7-watch{
    position: absolute;
    left: 50%; bottom: 14px;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    padding: 9px 16px 9px 9px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    border: 1px solid var(--v9-line-hi);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 600;
    transition: background .3s ease;
}
.h7-watch i{
    display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--v9-o);
    font-size: 11px;
}
.h7-phone .h7-watch{ bottom: 12px; padding: 7px 12px 7px 7px; font-size: 12px; }
.h7-phone .h7-watch i{ width: 24px; height: 24px; }
.h7-mon:hover, .h7-mon:focus-visible{ transform: translateY(-4px); }
.h7-phone:hover, .h7-phone:focus-visible{ transform: translateY(-9%) rotate(0deg); }
.h7-mon:hover .h7-watch, .h7-phone:hover .h7-watch{ background: var(--v9-o); }
.h7-mon:focus-visible, .h7-phone:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }

.h7-proof{
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--v9-line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    overflow: hidden;
}
.h7-proof > div{
    padding: 14px 16px;
    border-left: 1px solid var(--v9-line);
}
.h7-proof > div:first-child{ border-left: 0; }
.h7-proof b{
    display: block;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    line-height: 1.1;
    color: #fff;
    font-weight: 700;
}
.h7-proof b sup{ color: var(--v9-o); font-size: .6em; top: -.6em; }
.h7-proof span{ display: block; margin-top: 4px; font-size: 12.5px; color: var(--v9-dim); }

@media (max-width: 767px){
    .h7-preview{ grid-template-columns: minmax(0, 1fr) 30%; }
    .h7-phone{ border-width: 5px; border-radius: 20px; transform: none; }
    .h7-phone:hover{ transform: none; }
    .h7-mon-bar{ padding: 8px 10px; font-size: 10.5px; }
    .h7-watch{ font-size: 11.5px; bottom: 10px; padding: 6px 11px 6px 6px; }
    .h7-watch i{ width: 22px; height: 22px; font-size: 9px; }
    .h7-phone .h7-watch span{ display: none; }
    .h7-phone .h7-watch{ padding: 6px; }
    .h7-proof{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .h7-proof > div{ border-left: 0; border-top: 1px solid var(--v9-line); }
    .h7-proof > div:nth-child(-n+2){ border-top: 0; }
    .h7-proof > div:nth-child(even){ border-left: 1px solid var(--v9-line); }
    .h7-proof > div:last-child{ grid-column: 1 / -1; border-left: 0; }
}
@keyframes v9Blink{ 50%{ opacity: .35; } }

/* ---------------------------------------------------------------------
   3) Client tools + roadmap
--------------------------------------------------------------------- */
.yg-ctools{ position: relative; }
.yg-ctools-head{ max-width: 780px; margin: 0 0 44px; }
.yg-ctools-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
@media (max-width: 1199px){ .yg-ctools-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px){ .yg-ctools-grid{ grid-template-columns: 1fr; } }

.yg-ctool{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--v9-line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
    overflow: hidden;
    transition: border-color .4s ease, transform .5s var(--v9-ease);
}
.yg-ctool::after{
    content: "";
    position: absolute;
    right: -60px; top: -60px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,71,28,.22), rgba(255,71,28,0) 65%);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.yg-ctool:hover{ border-color: rgba(255,71,28,.45); transform: translateY(-4px); }
.yg-ctool:hover::after{ opacity: 1; }
.yg-ctool-top{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yg-ctool-ico{
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--v9-o-soft);
    border: 1px solid rgba(255,71,28,.35);
    color: var(--v9-o);
    font-size: 19px;
}
.yg-ctool-status{
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid var(--v9-line-hi);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255,255,255,.85);
}
.yg-ctool-status i{ width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; }
.yg-ctool-status.is-beta i{ background: #ffc23d; }
.yg-ctool-status.is-soon i{ background: rgba(255,255,255,.4); }
.yg-ctool h3{ margin: 4px 0 0; font-size: 21px; color: #fff; font-weight: 700; }
.yg-ctool p{ margin: 0; color: var(--v9-dim); font-size: 15px; line-height: 1.65; }
.yg-ctool ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.yg-ctool li{
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    font-size: 12.5px;
    color: rgba(255,255,255,.75);
}
.yg-ctool-cta{
    margin-top: auto;
    padding-top: 6px;
    display: inline-flex; align-items: center; gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
}
.yg-ctool-cta i{ color: var(--v9-o); transition: transform .3s var(--v9-ease); }
.yg-ctool-cta:hover{ color: var(--v9-o); }
.yg-ctool-cta:hover i{ transform: translate(3px, -3px); }

.yg-ctool--wide{
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    background: linear-gradient(110deg, rgba(255,71,28,.16), rgba(255,255,255,.02) 55%);
    border-color: rgba(255,71,28,.35);
}
.yg-ctool--wide .yg-ctool-body{ flex: 1; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1199px){ .yg-ctool--wide{ grid-column: span 2; } }
@media (max-width: 640px){ .yg-ctool--wide{ grid-column: auto; flex-direction: column; align-items: flex-start; } }

/* roadmap */
.yg-roadmap{
    margin-top: 64px;
    padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--v9-line);
    border-radius: 24px;
    background: rgba(255,255,255,.02);
}
.yg-roadmap-head{
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 14px;
    margin-bottom: 30px;
}
.yg-roadmap-head h3{ margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; }
.yg-roadmap-head h3 em{ font-family: "Instrument Serif", Georgia, serif; font-style: italic; color: var(--v9-o); font-weight: 400; }
.yg-roadmap-head p{ margin: 0; color: var(--v9-dim); font-size: 15px; max-width: 420px; }
.yg-roadmap-track{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.yg-roadmap-track::before{
    content: "";
    position: absolute;
    left: 0; right: 0; top: 11px;
    height: 2px;
    background: linear-gradient(90deg, var(--v9-o) 0%, var(--v9-o) 22%, rgba(255,255,255,.14) 22%);
}
.yg-rm-step{ position: relative; padding-top: 36px; }
.yg-rm-step::before{
    content: "";
    position: absolute; top: 3px; left: 0;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #0c0c0c;
    border: 2px solid rgba(255,255,255,.3);
}
.yg-rm-step.is-now::before{ background: var(--v9-o); border-color: var(--v9-o); box-shadow: 0 0 0 6px rgba(255,71,28,.2); }
.yg-rm-step small{
    display: block;
    font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--v9-o);
    margin-bottom: 6px;
}
.yg-rm-step h4{ margin: 0 0 8px; font-size: 18px; color: #fff; }
.yg-rm-step p{ margin: 0; font-size: 14px; line-height: 1.6; color: var(--v9-dim); }
@media (max-width: 991px){
    .yg-roadmap-track{ grid-template-columns: 1fr 1fr; row-gap: 28px; }
    .yg-roadmap-track::before{ display: none; }
}
@media (max-width: 540px){ .yg-roadmap-track{ grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce){
    .h7-mon-bar .rec{ animation: none; }
    .h7-phone{ transform: none; }
}

/* ---------------------------------------------------------------------
   About numbers band — the label rule was also hitting the number span,
   shrinking it and pushing the "+" onto its own line.
--------------------------------------------------------------------- */
.yg-about-band > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(28px, 4vw, 44px) 18px;
    transition: background .3s ease;
}
.yg-about-band > div:hover{ background: #121212; }
.yg-about-band b{
    display: inline-flex;
    align-items: flex-start;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    line-height: .9;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.yg-about-band b span{
    display: inline;
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: #fff;
}
.yg-about-band b em{
    font-size: .55em;
    line-height: 1;
    margin: .08em 0 0 .06em;
    color: var(--v9-o);
}
.yg-about-band > div > span{
    margin: 0;
    max-width: 14em;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    color: rgba(255,255,255,.6);
}
@media (max-width: 767px){
    .yg-about-band > div > span{ font-size: 13.5px; }
}

/* real software logos in the About toolkit */
.yg-tool-badge.yg-tool-real{ display: grid; place-items: center; background: transparent; border: 0; overflow: visible; }
.yg-tool-badge.yg-tool-real img{ width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.yg-tool-badge.yg-tool-real.is-mono img{ background: #000; padding: 18%; border: 1px solid rgba(255,255,255,.15); }

/* toolkit: 7 per row on desktop (14 tools = 2 full rows); any short last row is centred */
.yg-tools-wrap{ display: flex; flex-wrap: wrap; justify-content: center; }
.yg-tools-wrap > .yg-tool{ flex: 0 0 calc((100% - 6 * 14px) / 7); min-width: 0; }
@media (max-width: 1199px){ .yg-tools-wrap > .yg-tool{ flex-basis: calc((100% - 3 * 14px) / 4); } }
@media (max-width: 575px){ .yg-tools-wrap > .yg-tool{ flex-basis: calc((100% - 14px) / 2); } }

/* ===========================================================================
   Site-wide backdrop (from the "Trusted by" section): deep black, a warm
   orange glow top-right, a fainter one bottom-left, and a fine grid that
   fades out toward the edges. Fixed behind every page; sections let it
   show through, and the old grey panels become dark glass panels.
=========================================================================== */
:root{ --body: #0a0a0a; --bg: #0a0a0a; }
html{ background: #0a0a0a; }
body{ background: transparent !important; }
body::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 60% at 92% 0%, rgba(255,71,28,.16), transparent 62%),
        radial-gradient(45% 55% at 0% 100%, rgba(255,71,28,.08), transparent 60%),
        #0a0a0a;
    pointer-events: none;
}
body::after{
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask: radial-gradient(75% 65% at 55% 45%, #000, transparent);
            mask: radial-gradient(75% 65% at 55% 45%, #000, transparent);
    pointer-events: none;
}
.page-wrapper, #page, #smooth-wrapper, #smooth-content{ background: transparent !important; }

/* sections let the backdrop through (background images on sections are kept) */
#smooth-content > section:not(.section-bg):not(.br-section):not(.bay),
#smooth-content > div:not(.section-bg),
#smooth-content > footer,
.footer-section{ background-color: transparent !important; }

/* the old flat grey panels -> dark glass panels like "Trusted by" */
.section-bg{
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(60% 70% at 85% 0%, rgba(255,71,28,.14), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(255,71,28,.08), transparent 60%),
        rgba(8,8,8,.85) !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;
    overflow: hidden;
}
.section-bg::before{
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask: radial-gradient(70% 60% at 50% 55%, #000, transparent);
            mask: radial-gradient(70% 60% at 50% 55%, #000, transparent);
    pointer-events: none;
}
/* the homepage brand panel keeps its own (slightly stronger) version */
.br-section{ background-color: rgba(8,8,8,.85) !important; }

/* ===========================================================================
   Inner-page headers: the showreel plays behind the title, blurred and dim
   (replaces the grey diagonal-line image). Phones get the vertical reel.
=========================================================================== */
.breadcrumb-wrapper.bc-video{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #050505 !important;
}
.bc-video .bc-bg{
    position: absolute;
    inset: -6%;
    width: 112%;
    height: 112%;
    object-fit: cover;
    z-index: -2;
    opacity: .34;
    filter: blur(14px) saturate(1.15);
    pointer-events: none;
}
.bc-video .bc-shade{
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(70% 80% at 50% 45%, rgba(10,10,10,.15), rgba(10,10,10,.75) 75%),
        linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 65%, #0a0a0a 100%);
    pointer-events: none;
}
.bc-video .light-bg{ display: none; }
@media (prefers-reduced-motion: reduce){ .bc-video .bc-bg{ display: none; } }

/* ---- header image trail ---- */
.breadcrumb-wrapper.bc-trail{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent !important;
    cursor: crosshair;
}
.bc-trail .light-bg{ display: none; }
.bc-trail > .container{ position: relative; z-index: 3; pointer-events: none; }
.bc-trail > .container a, .bc-trail > .container button{ pointer-events: auto; }
.trail-layer{ position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trail-item{
    position: absolute;
    left: 0; top: 0;
    width: clamp(150px, 15vw, 220px);
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 24px 50px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.12);
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(.6) rotate(var(--r));
    opacity: 0;
    will-change: transform, opacity;
}
.trail-item img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.trail-item.is-icon{
    width: clamp(64px, 6vw, 88px);
    aspect-ratio: 1;
    border-radius: 20px;
    padding: 12px;
    background: rgba(18,18,18,.9);
}
.trail-item.is-icon img{ object-fit: contain; border-radius: 10px; }
.trail-item.on{ animation: trailPop 1.15s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes trailPop{
    0%   { opacity: 0;   transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(.55) rotate(var(--r)); }
    18%  { opacity: 1;   transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(1) rotate(var(--r)); }
    65%  { opacity: .9;  transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) + 6px)) scale(.98) rotate(var(--r)); }
    100% { opacity: 0;   transform: translate(-50%, -50%) translate(var(--x), calc(var(--y) + 24px)) scale(.86) rotate(var(--r)); filter: blur(4px); }
}
@media (max-width: 767px){
    .trail-item{ width: 132px; }
    .trail-item.is-icon{ width: 58px; border-radius: 16px; padding: 9px; }
    .bc-trail{ cursor: auto; }
}
@media (hover: none){ .bc-trail{ cursor: auto; } }

/* Work page numbers band: same treatment as the About band */
.yg-work-stats > div{
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    padding: clamp(28px, 4vw, 44px) 16px;
    transition: background .3s ease;
}
.yg-work-stats > div:hover{ background: #121212; }
.yg-work-stats b{
    display: inline-flex; align-items: flex-start;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -0.045em;
    font-variant-numeric: tabular-nums;
}
.yg-work-stats b span{
    display: inline; margin: 0; font: inherit; letter-spacing: inherit; text-transform: none; color: #fff;
}
.yg-work-stats b em{ font-style: normal; font-size: .55em; line-height: 1; margin: .08em 0 0 .06em; color: var(--v9-o); }
.yg-work-stats > div > span{
    margin: 0; max-width: 14em;
    font-size: 14.5px; font-weight: 500; line-height: 1.4;
    letter-spacing: 0; text-transform: none;
    color: rgba(255,255,255,.6);
}
@media (max-width: 767px){ .yg-work-stats > div > span{ font-size: 13.5px; } }

/* phone menu: action block under the links (fills the empty space) */
.mm-cta{ padding: 22px 36px 28px; display: grid; gap: 14px; }
.mm-btn{
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 20px; border-radius: 999px;
    background: var(--v9-o); color: #fff !important;
    font-weight: 700; font-size: 16px;
}
.mm-btn:hover{ background: #fff; color: #111 !important; }
.mm-line{ display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75) !important; }
.mm-line i{ width: 18px; text-align: center; color: var(--v9-o); }
.mm-line .fa-whatsapp{ color: #25D366; }
.mm-social{ display: flex; gap: 10px; margin-top: 4px; }
.mm-social a{
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15); color: #fff !important;
    transition: background .25s ease, border-color .25s ease;
}
.mm-social a:hover{ background: var(--v9-o); border-color: var(--v9-o); }

/* Work page: reels as a swipeable row instead of one very long column */
.pc-nav{ display: flex; justify-content: flex-end; gap: 10px; margin: -6px 0 16px; }
.pc-nav button{
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}
.pc-nav button:hover{ background: var(--v9-o); border-color: var(--v9-o); }
.pc-nav button:disabled{ opacity: .35; cursor: default; background: transparent; border-color: rgba(255,255,255,.2); }
.row.pc-scroll{
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0; padding-bottom: 6px;
    cursor: grab;
}
.row.pc-scroll::-webkit-scrollbar{ display: none; }
.row.pc-scroll.is-drag{ cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.row.pc-scroll > [class*="col-"]{
    flex: 0 0 auto;
    width: clamp(220px, 24vw, 300px);
    scroll-snap-align: start;
}
.row.pc-scroll .thumb img{ aspect-ratio: 9 / 16; object-fit: cover; }
@media (max-width: 575px){ .row.pc-scroll > [class*="col-"]{ width: 72vw; } }

/* Services page: link to the editing-process page (replaces the old menu item) */
.svc-process-cta{ padding: 10px 0 40px; }
.svc-process-link{
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 26px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(110deg, rgba(255,71,28,.14), rgba(255,255,255,.02) 60%);
    color: #fff !important;
    transition: border-color .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
.svc-process-link:hover{ border-color: rgba(255,71,28,.55); transform: translateY(-3px); }
.svc-process-txt small{ display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.svc-process-txt b{ display: block; font-family: "Bricolage Grotesque", "Manrope", sans-serif; font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.svc-process-ico{
    flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--v9-o); color: #fff; font-size: 18px;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.svc-process-link:hover .svc-process-ico{ transform: translateX(4px); }
@media (max-width: 575px){
    .svc-process-link{ padding: 20px; border-radius: 16px; }
    .svc-process-ico{ width: 46px; height: 46px; font-size: 15px; }
}

/* Work page: job-work series titles + disclaimer */
.yg-series-title{
    display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px;
    margin: 34px 0 18px;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    font-weight: 700; letter-spacing: -0.02em; color: #fff;
}
.yg-series-title small{ font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.55); }
.yg-job-note{
    display: flex; gap: 12px; align-items: flex-start;
    margin: 30px 0 0;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.03);
    font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.65);
}
.yg-job-note i{ margin-top: 4px; color: var(--v9-o); }
.yg-job-note b{ color: #fff; font-weight: 600; }

/* Work page rhythm: clear breathing room between project groups */
.yg-pgroup + .yg-pgroup{ margin-top: clamp(72px, 9vw, 124px); }
.yg-pgroup .yg-project-group-title{ margin-bottom: 28px; }
.yg-pgroup .yg-project-group-title h2{ letter-spacing: -0.03em; }
.yg-pgroup .yg-group-desc{ max-width: 34em; color: rgba(255,255,255,.62); }
