/* ===========================================================================
   Yash Gandhi — "Edit bay" hero (v10)
   The hero is a working edit bay: the monitor and phone play real preview
   cuts, and the timeline underneath is the actual scrubber for them.
   Everything is scoped under .bay.
=========================================================================== */
.bay{
    --bay-o: #FF471C;
    --bay-o-soft: rgba(255,71,28,.16);
    --bay-ink: #ffffff;
    --bay-dim: rgba(255,255,255,.62);
    --bay-faint: rgba(255,255,255,.38);
    --bay-line: rgba(255,255,255,.11);
    --bay-line-hi: rgba(255,255,255,.22);
    --bay-ease: cubic-bezier(.22,1,.36,1);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(112px, 15vh, 150px) clamp(16px, 4vw, 64px) clamp(28px, 4vh, 48px);
    color: var(--bay-ink);
}
/* quiet backdrop: one soft light behind the monitor, nothing animated */
.bay::before{
    content: "";
    position: absolute;
    z-index: -1;
    right: -10%; top: 4%;
    width: min(980px, 80vw); aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(255,71,28,.20), rgba(255,71,28,0));
    pointer-events: none;
}

.bay-wrap{ max-width: 1360px; margin: 0 auto; }
.bay-grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}

/* ---------------- copy ---------------- */
.bay-hi{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 26px;
    font-size: 15.5px;
    line-height: 1.45;
    color: var(--bay-dim);
}
.bay-hi img{
    width: 44px; height: 44px;
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid var(--bay-line-hi);
}
.bay-hi b{ color: #fff; font-weight: 600; }

.bay-title{
    margin: 0;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-size: clamp(2.5rem, 4.3vw, 4.6rem);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -0.04em;
    color: #fff;
    text-wrap: balance;
}
.bay-title .ln{ display: block; overflow: hidden; padding-bottom: .06em; }
@media (min-width: 992px){ .bay-title .ln{ white-space: nowrap; } }
.bay-title .ln > span{
    display: inline-block;
    transform: translateY(105%);
    animation: bayLine .9s var(--bay-ease) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes bayLine{ to{ transform: none; } }

.bay-sub{
    margin: 26px 0 0;
    max-width: 30em;
    font-size: clamp(16px, 1.25vw, 18px);
    line-height: 1.65;
    color: var(--bay-dim);
}
.bay-sub b{ color: #fff; font-weight: 600; }

.bay-actions{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 32px;
}
.bay-cta{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--bay-o);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background .25s ease, transform .25s var(--bay-ease);
}
.bay-cta:hover{ background: #fff; color: #111; transform: translateY(-2px); }
.bay-cta i{ font-size: 12px; }
.bay-link{
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--bay-line-hi);
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    transition: text-decoration-color .25s ease, color .25s ease;
}
.bay-link:hover{ color: #fff; text-decoration-color: var(--bay-o); }
.bay-reply{
    margin: 22px 0 0;
    font-size: 13.5px;
    color: var(--bay-faint);
}
.bay-reply a{ color: var(--bay-dim); text-decoration: underline; text-underline-offset: 3px; }
.bay-reply a:hover{ color: #fff; }
.bay-reply i{ color: #25D366; margin-right: 6px; }

/* entrance for the copy beneath the title: one sequence, then still */
.bay-in{ opacity: 0; transform: translateY(14px); animation: bayIn .8s var(--bay-ease) forwards; animation-delay: var(--d, 0s); }
@keyframes bayIn{ to{ opacity: 1; transform: none; } }

/* ---------------- stage: monitor + phone ---------------- */
.bay-stage{
    position: relative;
    padding: 0 0 8% 9%;
    opacity: 0;
    animation: bayPower 1.1s var(--bay-ease) .35s forwards;
}
@keyframes bayPower{
    0%{ opacity: 0; transform: scale(.97); filter: brightness(2.2) saturate(0); }
    40%{ opacity: 1; }
    100%{ opacity: 1; transform: none; filter: none; }
}
.bay-mon, .bay-phone{
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}
.bay-mon{
    border-radius: 14px;
    box-shadow: 0 0 0 1px var(--bay-line-hi), 0 50px 100px -40px rgba(0,0,0,.95);
}
.bay-mon-bar{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    background: #141414;
    border-bottom: 1px solid var(--bay-line);
    font-size: 12.5px;
    color: var(--bay-dim);
    font-variant-numeric: tabular-nums;
}
.bay-mon-bar .live{ width: 8px; height: 8px; border-radius: 50%; background: var(--bay-o); }
.bay-mon-bar .tc{ color: #fff; font-weight: 600; letter-spacing: .02em; }
.bay-mon-bar .fmt{ margin-left: auto; }
.bay-screen{ position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.bay-screen video, .bay-phone video{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.bay-play{
    position: absolute;
    right: 14px; bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 13.5px;
    font-weight: 600;
    transition: background .25s ease;
}
.bay-play i{
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--bay-o);
    font-size: 11px;
}
.bay-mon:hover .bay-play, .bay-phone:hover .bay-play{ background: var(--bay-o); }
.bay-mon:hover .bay-play i, .bay-phone:hover .bay-play i{ background: #000; }

.bay-phone{
    position: absolute;
    left: 0; bottom: 0;
    width: 23%;
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    border: 6px solid #1c1c1c;
    box-shadow: 0 0 0 1px var(--bay-line-hi), 0 40px 70px -30px rgba(0,0,0,1);
    transition: transform .4s var(--bay-ease);
}
.bay-phone:hover{ transform: translateY(-6px); }
.bay-phone .bay-play{ right: 50%; transform: translateX(50%); bottom: 12px; padding: 7px 13px 7px 7px; font-size: 12.5px; white-space: nowrap; }
.bay-phone .bay-play i{ width: 26px; height: 26px; }
.bay-notch{
    position: absolute; z-index: 2;
    top: 7px; left: 50%;
    width: 32%; height: 12px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
}
.bay-mon:focus-visible, .bay-phone:focus-visible,
.bay-cta:focus-visible, .bay-link:focus-visible{ outline: 2px solid #fff; outline-offset: 4px; }

/* ---------------- timeline (real scrubber) ---------------- */
.bay-tl{
    margin-top: clamp(30px, 5vh, 56px);
    border: 1px solid var(--bay-line);
    border-radius: 14px;
    background: #121212;
    overflow: hidden;
    opacity: 0;
    animation: bayIn .9s var(--bay-ease) .9s forwards;
}
.bay-tl-bar{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--bay-line);
    font-size: 12.5px;
    color: var(--bay-dim);
}
.bay-tl-bar b{ color: #fff; font-weight: 600; }
.bay-tl-bar .hint{ margin-left: auto; color: var(--bay-faint); }
.bay-tl-body{ position: relative; padding: 0 0 10px; }
.bay-ruler, .bay-track{
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
}
.bay-ruler .lane{
    display: flex;
    justify-content: space-between;
    padding: 6px 10px 4px 0;
    font-size: 11px;
    color: var(--bay-faint);
    font-variant-numeric: tabular-nums;
}
.bay-head{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--bay-faint);
    border-right: 1px solid var(--bay-line);
}
.bay-track{ margin-top: 6px; }
.bay-track .lane{ display: flex; gap: 4px; padding-right: 10px; min-height: 40px; }
.bay-lanes-wrap{ cursor: pointer; touch-action: pan-y; }
.bay-clip{
    position: relative;
    flex: var(--w, 1) 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 0;
    border-radius: 6px;
    background: #222;
    border: 1px solid var(--bay-line);
    overflow: hidden;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
    transition: border-color .25s ease, background .25s ease, color .25s ease;
}
.bay-clip img{ height: 100%; width: 64px; object-fit: cover; flex: none; opacity: .75; }
.bay-clip span{ overflow: hidden; text-overflow: ellipsis; }
.bay-v2 .bay-clip{ padding-left: 10px; background: rgba(255,71,28,.08); border-color: rgba(255,71,28,.22); min-height: 28px; }
.bay-v2 .lane{ min-height: 28px; }
.bay-clip.is-on{ border-color: var(--bay-o); color: #fff; background: #2a1a14; }
.bay-clip.is-on img{ opacity: 1; }
.bay-a1 .lane{ min-height: 30px; align-items: center; }
.bay-wave{
    width: 100%; height: 26px;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 2px, transparent 2px 5px);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13 L4 9 L8 16 L12 5 L16 18 L20 8 L24 14 L28 3 L32 20 L36 10 L40 15 L44 6 L48 19 L52 11 L56 13 L60 4 L64 21 L68 9 L72 16 L76 7 L80 18 L84 12 L88 5 L92 20 L96 10 L100 14 L104 3 L108 22 L112 8 L116 16 L120 6 L124 19 L128 11 L132 14 L136 4 L140 21 L144 9 L148 15 L152 7 L156 18 L160 12 L164 5 L168 20 L172 10 L176 15 L180 6 L184 19 L188 9 L192 14 L196 8 L200 13 L200 26 L0 26Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 13 L4 9 L8 16 L12 5 L16 18 L20 8 L24 14 L28 3 L32 20 L36 10 L40 15 L44 6 L48 19 L52 11 L56 13 L60 4 L64 21 L68 9 L72 16 L76 7 L80 18 L84 12 L88 5 L92 20 L96 10 L100 14 L104 3 L108 22 L112 8 L116 16 L120 6 L124 19 L128 11 L132 14 L136 4 L140 21 L144 9 L148 15 L152 7 L156 18 L160 12 L164 5 L168 20 L172 10 L176 15 L180 6 L184 19 L188 9 L192 14 L196 8 L200 13 L200 26 L0 26Z' fill='%23000'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.bay-wave i{ display: block; height: 100%; width: var(--p, 0%); background: repeating-linear-gradient(90deg, var(--bay-o) 0 2px, transparent 2px 5px); }

/* playhead spans the lanes column only */
.bay-ph{
    position: absolute;
    top: 0; bottom: 0;
    left: calc(56px + (100% - 66px) * var(--p, 0));
    width: 2px;
    margin-left: -1px;
    background: var(--bay-o);
    pointer-events: none;
    z-index: 3;
    will-change: left;
}
.bay-ph::before{
    content: "";
    position: absolute;
    top: 0; left: 50%;
    width: 12px; height: 12px;
    transform: translate(-50%, 0) rotate(45deg);
    border-radius: 2px;
    background: var(--bay-o);
}

.bay-tl-foot{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding: 10px 16px;
    border-top: 1px solid var(--bay-line);
    font-size: 13px;
    color: var(--bay-faint);
}
.bay-tl-foot nav{ margin-left: auto; display: flex; gap: 18px; }
.bay-tl-foot a{ color: var(--bay-dim); }
.bay-tl-foot a:hover{ color: #fff; }

/* ---------------- responsive ---------------- */
@media (max-width: 1199px) and (min-width: 992px){
    .bay-title{ font-size: 3.9vw; }
}
@media (max-width: 991px){
    .bay-grid{ grid-template-columns: 1fr; }
    .bay-copy{ max-width: 640px; }
    .bay-stage{ padding: 0 0 8% 14%; }
}
/* phones: the vertical reel is the hero video, the 16:9 monitor goes away */
@media (max-width: 767px), (orientation: portrait) and (max-width: 900px){
    .bay{ padding-top: 104px; }
    .bay-hi{ margin-bottom: 18px; font-size: 14.5px; }
    .bay-hi img{ width: 38px; height: 38px; }
    .bay-stage{ padding: 0; display: flex; justify-content: center; }
    .bay-mon{ display: none; }
    .bay-phone{ position: relative; width: min(64vw, 300px); border-radius: 30px; }
    .bay-actions{ gap: 18px; }
    .bay-tl-bar .hint, .bay-v2{ display: none; }
    .bay-clip img{ width: 40px; }
    .bay-clip{ font-size: 11px; }
    .bay-ruler, .bay-track{ grid-template-columns: 40px minmax(0, 1fr); }
    .bay-ph{ left: calc(40px + (100% - 50px) * var(--p, 0)); }
    .bay-tl-foot nav{ margin-left: 0; }
}
@media (max-width: 420px){
    .bay-clip span{ display: none; }
    .bay-clip{ justify-content: center; padding: 0; }
    .bay-clip img{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
    .bay-title .ln > span, .bay-in, .bay-stage, .bay-tl{ animation: none; opacity: 1; transform: none; filter: none; }
}

/* ===========================================================================
   "Edited with" software strip
=========================================================================== */
.ed-with{
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
}
.ed-with-in{
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 64px);
}
.ed-with-lbl{
    flex: none;
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,.5);
}
.ed-marq{
    flex: 1;
    min-width: 0;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ed-track{ display: flex; width: max-content; animation: edScroll 48s linear infinite; }
.ed-with:hover .ed-track{ animation-play-state: paused; }
.ed-set{ display: flex; gap: 34px; padding-right: 34px; }
.ed-tool{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,.82);
}
.ed-tool i{
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    font-style: normal;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, #141414);
    border: 1px solid color-mix(in srgb, var(--c) 35%, transparent);
}
@keyframes edScroll{ to{ transform: translateX(-50%); } }
@media (max-width: 575px){
    .ed-with-lbl{ display: none; }
    .ed-tool{ font-size: 14.5px; }
}

/* ===========================================================================
   How AI fits into my edit
=========================================================================== */
.aiflow-grid{
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}
.aiflow-intro h2{
    margin: 0 0 18px;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(2.2rem, 4.4vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #fff;
}
.aiflow-intro > p{
    max-width: 34em;
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,.62);
}

/* Remotion demo: code on top, the frame it renders below */
.rm-demo{
    margin: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    overflow: hidden;
    background: #111;
}
.rm-code{
    padding: 16px 18px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre;
    overflow-x: auto;
    color: rgba(255,255,255,.75);
    background: #0d0d0f;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.rm-code .c{ color: rgba(255,255,255,.35); }
.rm-code .k{ color: #7FB2FF; }
.rm-code .a{ color: #E6C07B; }
.rm-code .s{ color: #9BDB8C; }
.rm-frame{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .28em;
    height: 190px;
    background:
        radial-gradient(120% 90% at 50% 120%, rgba(255,71,28,.35), transparent 60%),
        #050505;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
}
.rm-w{ display: inline-block; opacity: 0; transform: translateY(40%) scale(.9); }
.rm-w + .rm-w{ color: #FF471C; }
.rm-demo.is-playing .rm-w{ animation: rmPop 3.2s cubic-bezier(.22,1,.36,1) infinite; }
.rm-demo.is-playing .rm-w + .rm-w{ animation-delay: .22s; }
@keyframes rmPop{
    0%{ opacity: 0; transform: translateY(40%) scale(.9); }
    14%, 78%{ opacity: 1; transform: none; }
    92%, 100%{ opacity: 0; transform: translateY(-20%); }
}
.rm-meta{
    position: absolute;
    right: 12px; bottom: 10px;
    font-family: "Manrope", sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
    color: rgba(255,255,255,.45);
}
.rm-demo figcaption{
    padding: 12px 18px;
    font-size: 13.5px;
    color: rgba(255,255,255,.55);
}

/* steps: a real sequence, so numbered. The rail fills as you read. */
.ai-steps{
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ai-rail{
    position: absolute;
    left: 21px; top: 22px; bottom: 22px;
    width: 2px;
    background: rgba(255,255,255,.1);
}
.ai-rail i{
    position: absolute; left: 0; top: 0;
    width: 100%;
    height: var(--fill, 0%);
    background: #FF471C;
    transition: height .6s cubic-bezier(.22,1,.36,1);
}
.ai-step{
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 38px;
}
.ai-step:last-child{ padding-bottom: 0; }
.ai-n{
    position: relative;
    z-index: 1;
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #151515;
    border: 2px solid rgba(255,255,255,.18);
    font-weight: 700;
    font-size: 15px;
    color: rgba(255,255,255,.6);
    transition: background .4s ease, border-color .4s ease, color .4s ease;
}
.ai-step.is-lit .ai-n{ background: #FF471C; border-color: #FF471C; color: #fff; }
.ai-step h3{
    margin: 8px 0 8px;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}
.ai-step p{
    margin: 0 0 14px;
    max-width: 36em;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255,255,255,.62);
}
.ai-chips{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips li{
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12.5px;
    color: rgba(255,255,255,.78);
}
@media (max-width: 991px){
    .aiflow-grid{ grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce){
    .ed-track{ animation: none; }
    .rm-w{ opacity: 1; transform: none; }
    .rm-demo.is-playing .rm-w{ animation: none; }
}

/* ===========================================================================
   Testimonials: auto-sliding cards
=========================================================================== */
.tq{ overflow: hidden; }
.tq-head{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 40px;
    margin-bottom: 40px;
}
.tq-head h2{
    margin: 0;
    font-family: "Bricolage Grotesque", "Manrope", sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -0.04em;
    color: #fff;
}
.tq-ctrl{ display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tq-ctrl p{ margin: 0; max-width: 22em; font-size: 15.5px; color: rgba(255,255,255,.6); }
.tq-ctrl p a{ color: #fff; text-decoration: underline; text-decoration-color: rgba(255,71,28,.7); text-underline-offset: 4px; }
.tq-arrows{ display: flex; gap: 10px; }
.tq-arrows button{
    display: grid; place-items: center;
    width: 48px; height: 48px;
    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, transform .25s ease;
}
.tq-arrows button:hover{ background: #FF471C; border-color: #FF471C; transform: scale(1.05); }
.tq-arrows button:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }

.tq-slider{
    padding: 0 max(16px, calc((100vw - 1320px) / 2 + 12px));
    overflow: visible;
}
.tq-slider .swiper-slide{ height: auto; width: min(520px, 84vw); }
.tq-card{
    position: relative;
    height: 100%;
    margin: 0;
    padding: 34px 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(160deg, #1a1a1a, #111 70%);
    transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .4s ease, opacity .4s ease;
    opacity: .55;
}
.tq-slider .swiper-slide-active .tq-card,
.tq-slider .swiper-slide-next .tq-card{ opacity: 1; }
.tq-slider .swiper-slide-active .tq-card{ border-color: rgba(255,71,28,.45); }
.tq-card:hover{ transform: translateY(-4px); }
.tq-mark{ width: 34px; height: 26px; fill: #FF471C; }
.tq-card blockquote{
    margin: 0;
    flex: 1;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #fff;
}
.tq-card figcaption{ display: flex; align-items: center; gap: 14px; }
.tq-card figcaption b{ display: block; font-size: 16px; color: #fff; }
.tq-card figcaption small{ display: block; margin-top: 3px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.tq-av{
    flex: none;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #FF471C, #ff8a5c);
    font-weight: 800;
    font-size: 15px;
    color: #fff;
}
.tq-av.is-logo{ background: #0a58b5; }
.tq-av img{ width: 100%; height: 100%; object-fit: cover; }
.tq-progress{
    max-width: 1320px;
    margin: 28px auto 0;
    padding: 0 12px;
}
.tq-progress::before{ content: ""; display: block; height: 2px; background: rgba(255,255,255,.1); }
.tq-progress i{
    display: block;
    height: 2px;
    margin-top: -2px;
    width: 0;
    background: #FF471C;
}
.tq-progress.run i{ animation: tqBar var(--tq-delay, 4s) linear forwards; }
@keyframes tqBar{ to{ width: 100%; } }

/* LinkedIn network: continuous strip */
.ln-net{ margin-top: clamp(56px, 8vw, 96px); }
.ln-lbl{
    display: inline-flex; align-items: center; gap: 10px;
    margin: 0 0 20px;
    font-size: 15px;
    color: rgba(255,255,255,.6);
}
.ln-lbl i{ color: #0A66C2; font-size: 20px; }
.ln-marq{
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ln-track{ display: flex; width: max-content; animation: edScroll 38s linear infinite; }
.ln-marq:hover .ln-track, .ln-marq:focus-within .ln-track{ animation-play-state: paused; }
.ln-set{ display: flex; gap: 14px; padding-right: 14px; }
.ln-chip{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px 10px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: #141414;
    color: #fff;
    white-space: nowrap;
    transition: border-color .25s ease, background .25s ease;
}
.ln-chip:hover{ border-color: #0A66C2; background: #0f1a26; color: #fff; }
.ln-chip:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
.ln-av{
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, hsl(var(--h) 75% 52%), hsl(calc(var(--h) + 40) 70% 38%));
}
.ln-txt b{ display: block; font-size: 15px; font-weight: 700; }
.ln-txt small{ display: block; font-size: 12.5px; color: rgba(255,255,255,.55); }
.ln-chip > i{ margin-left: 6px; font-size: 18px; color: #0A66C2; }
@media (max-width: 575px){
    .tq-card{ padding: 26px 22px; }
    .tq-arrows button{ width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce){
    .ln-track{ animation: none; flex-wrap: wrap; }
    .tq-progress.run i{ animation: none; }
}

/* ===========================================================================
   Testimonial wall: two rows that never stop (top right-to-left,
   bottom left-to-right). Hover pauses a row so a quote can be read.
=========================================================================== */
.tq-head p{ margin: 0; max-width: 26em; font-size: 15.5px; color: rgba(255,255,255,.6); }
.tq-head p a{ color: #fff; text-decoration: underline; text-decoration-color: rgba(255,71,28,.7); text-underline-offset: 4px; }
.tq-wall{ display: grid; gap: 20px; }
.tq-row{
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tq-track{ display: flex; width: max-content; will-change: transform; }
.tq-rtl .tq-track{ animation: tqRtl 70s linear infinite; }
.tq-ltr .tq-track{ animation: tqLtr 78s linear infinite; }
.tq-row:hover .tq-track{ animation-play-state: paused; }
@keyframes tqRtl{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@keyframes tqLtr{ from{ transform: translateX(-50%); } to{ transform: translateX(0); } }
.tq-set{ display: flex; gap: 20px; padding-right: 20px; }
.tq-set .tq-card{ width: min(440px, 82vw); opacity: 1; flex: none; }
.tq-set .tq-card:hover{ border-color: rgba(255,71,28,.5); transform: translateY(-3px); }
.tq-set .tq-card blockquote{ font-size: clamp(16.5px, 1.35vw, 19px); }
.tq-av.is-logo{ background: #fff; padding: 0; }
.tq-av.is-person{
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--h) 75% 52%), hsl(calc(var(--h) + 40) 70% 38%));
}
@media (prefers-reduced-motion: reduce){
    .tq-rtl .tq-track, .tq-ltr .tq-track{ animation: none; }
    .tq-row{ overflow-x: auto; }
}

/* real software logos */
.ed-tool img{ width: 30px; height: 30px; border-radius: 7px; object-fit: contain; flex: none; }
.ed-tool img.is-mono{ background: #000; padding: 5px; border: 1px solid rgba(255,255,255,.15); }
.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); }
.tq-av.is-photo{ background: #222; border: 2px solid rgba(255,255,255,.18); }
.tq-av.is-photo img{ border-radius: 50%; }

/* ===========================================================================
   Brand river — two rows glide in opposite directions forever; every tile
   rides a slow sine wave (staggered by --i) so the rows ripple like water.
   Hover lifts a tile, lights its ring and slows nothing else.
=========================================================================== */
.br-river{
    display: grid;
    gap: 26px;
    margin-top: 44px;
    padding: 18px 0;
}
.br-row{
    overflow: hidden;
    padding: 14px 0;
    -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.br-track{ display: flex; width: max-content; }
.br-rtl .br-track{ animation: tqRtl 46s linear infinite; }
.br-ltr .br-track{ animation: tqLtr 52s linear infinite; }
.br-set{ display: flex; gap: 16px; padding-right: 16px; }

.br-tile{
    --lift: 0px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.1);
    background: linear-gradient(150deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    color: #fff;
    white-space: nowrap;
    animation: brWave 5.2s ease-in-out infinite;
    animation-delay: calc(var(--i) * -0.55s);
    transition: border-color .35s ease, background .35s ease, box-shadow .35s ease;
}
@keyframes brWave{
    0%, 100%{ transform: translateY(calc(-7px + var(--lift))); }
    50%{ transform: translateY(calc(7px + var(--lift))); }
}
.br-tile::after{
    content: "";
    position: absolute; inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--a, 0deg), transparent 0 70%, hsl(var(--h) 90% 60%) 85%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity .35s ease;
    animation: brSpin 3s linear infinite;
    pointer-events: none;
}
@property --a{ syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes brSpin{ to{ --a: 360deg; } }
.br-tile:hover{ --lift: -8px; border-color: transparent; background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); box-shadow: 0 18px 40px -18px hsl(var(--h) 90% 50% / .55); color: #fff; }
.br-tile:hover::after{ opacity: 1; }
.br-row:hover .br-track{ animation-play-state: paused; }
.br-tile:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }

.br-logo{
    flex: none;
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    overflow: hidden;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, hsl(var(--h) 80% 55%), hsl(calc(var(--h) + 35) 75% 35%));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.br-logo.is-img{ background: #fff; padding: 0; }
.br-logo img{ width: 100%; height: 100%; object-fit: cover; }
.br-txt b{ display: block; font-size: 16px; font-weight: 700; line-height: 1.2; }
.br-txt small{ display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.br-tile > i{ margin-left: 8px; font-size: 16px; color: rgba(255,255,255,.35); transition: color .3s ease; }
.br-tile:hover > i{ color: #fff; }

.br-count{
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.br-count li{
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 13.5px;
    color: rgba(255,255,255,.7);
}
.br-count li b{ color: #FF471C; margin-right: 4px; }
@media (max-width: 575px){
    .br-tile{ padding: 10px 16px 10px 10px; }
    .br-logo{ width: 40px; height: 40px; border-radius: 12px; }
    .br-txt b{ font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce){
    .br-rtl .br-track, .br-ltr .br-track, .br-tile, .br-tile::after{ animation: none; }
    .br-row{ overflow-x: auto; }
}

/* Trusted-by section: deep black stage instead of the flat grey card */
.br-section{
    position: relative;
    isolation: isolate;
    margin: 0 20px 80px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(60% 70% at 85% 0%, rgba(255,71,28,.18), transparent 60%),
        radial-gradient(50% 60% at 0% 100%, rgba(255,71,28,.10), transparent 60%),
        #0a0a0a;
    overflow: hidden;
}
.br-section::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;
}
.br-section .br-tile{ background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.br-count li:nth-child(-n+4){ border-color: rgba(255,71,28,.45); color: #fff; }
@media (max-width: 575px){ .br-section{ margin: 0 10px 60px; border-radius: 18px; } }

/* ===========================================================================
   Brand river, calm version: three rows, no bounce, no glow ring.
   Slow linear glide, quiet pills, logos muted until hover.
=========================================================================== */
.br-river.is-calm{ gap: 14px; margin-top: 48px; padding: 0; }
.is-calm .br-row{ padding: 0; }
.is-calm .br-rtl .br-track{ animation: tqRtl 90s linear infinite; }
.is-calm .br-ltr .br-track{ animation: tqLtr 100s linear infinite; }
.is-calm .br-slow .br-track{ animation-duration: 120s; }
.is-calm .br-set{ gap: 12px; padding-right: 12px; }
.is-calm .br-tile{
    animation: none;
    transform: none;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: border-color .4s ease, background .4s ease;
}
.is-calm .br-tile::after{ display: none; }
.is-calm .br-logo{
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 12px;
    background: #1c1c1c;
    color: rgba(255,255,255,.7);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    filter: grayscale(1);
    opacity: .8;
    transition: filter .4s ease, opacity .4s ease, background .4s ease;
}
.is-calm .br-logo.is-img{ background: #fff; }
.is-calm .br-txt b{ font-size: 15px; font-weight: 600; color: rgba(255,255,255,.78); transition: color .4s ease; }
.is-calm .br-txt small{ display: none; }
.is-calm .br-tile:hover{ border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); box-shadow: none; }
.is-calm .br-tile:hover .br-logo{ filter: none; opacity: 1; background: linear-gradient(135deg, hsl(var(--h) 70% 50%), hsl(calc(var(--h) + 35) 65% 34%)); color: #fff; }
.is-calm .br-tile:hover .br-logo.is-img{ background: #fff; }
.is-calm .br-tile:hover .br-txt b{ color: #fff; }
.is-calm .br-row:hover .br-track{ animation-play-state: paused; }
@media (max-width: 575px){
    .is-calm .br-tile{ padding: 6px 14px 6px 6px; }
    .is-calm .br-logo{ width: 30px; height: 30px; }
    .is-calm .br-txt b{ font-size: 13.5px; }
}

/* ===========================================================================
   Homepage work wall: vertical reels drift right-to-left, widescreen films
   left-to-right. Hover pauses a row and brings the card forward.
=========================================================================== */
.wk-wall{ display: grid; gap: 18px; margin-top: 40px; }
.wk-row{
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.wk-track{ display: flex; width: max-content; }
.wk-rtl .wk-track{ animation: tqRtl 95s linear infinite; }
.wk-ltr .wk-track{ animation: tqLtr 80s linear infinite; }
.wk-row:hover .wk-track, .wk-row:focus-within .wk-track{ animation-play-state: paused; }
.wk-set{ display: flex; gap: 16px; padding-right: 16px; }
.wk-card{
    position: relative;
    flex: none;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .5s cubic-bezier(.22,1,.36,1), border-color .4s ease;
}
.wk-card.is-reel{ width: clamp(150px, 15vw, 210px); aspect-ratio: 9 / 16; }
.wk-card.is-wide{ width: clamp(280px, 30vw, 440px); aspect-ratio: 16 / 9; }
.wk-card img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease; filter: saturate(.9) brightness(.85); }
.wk-card::after{
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.85));
    pointer-events: none;
}
.wk-meta{
    position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
    color: #fff;
}
.wk-meta b{ display: block; margin-top: 6px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.wk-tag{
    display: inline-block; padding: 3px 10px; border-radius: 999px;
    background: rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
}
.wk-meta > i{
    flex: none; display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.16); font-size: 11px;
    transition: background .3s ease, transform .3s ease;
}
.wk-card:hover{ transform: translateY(-6px); border-color: rgba(255,71,28,.5); }
.wk-card:hover img{ transform: scale(1.05); filter: none; }
.wk-card:hover .wk-meta > i{ background: #FF471C; transform: scale(1.08); }
.wk-card:focus-visible{ outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 575px){
    .wk-card.is-reel{ width: 132px; border-radius: 14px; }
    .wk-card.is-wide{ width: 250px; border-radius: 14px; }
    .wk-meta b{ font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce){
    .wk-rtl .wk-track, .wk-ltr .wk-track{ animation: none; }
    .wk-row{ overflow-x: auto; }
}
