/* =========================================================
   SuperPixel theme — main stylesheet
   Figma node 22:830, canvas 1280 × ~4687.
   Every section's pixel values are matched 1:1 to Figma.
   ========================================================= */

:root {
    --color-primary: #eb4700;
    --color-accent: #1566e0;
    --color-text: #000000;
    --color-muted: #535353;
    --color-muted-2: #969696;
    --color-border: #1e1e1e;
    --color-bg: #ffffff;
    --font-sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --canvas-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #ffffff;
    line-height: 1.5;
    font-size: 14px;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Force Figtree everywhere — UA stylesheets default form controls and
   headings to system fonts, which would break the Figma typography. */
h1, h2, h3, h4, h5, h6,
button, input, select, textarea, optgroup {
    font-family: var(--font-sans);
}

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 10px; background:#000; color:#fff; padding: 8px 12px; }
.skip-link:focus { left: 10px; z-index: 1000; }

/* Pin the design to the 1280 canvas and centre on larger viewports. */
.site-main, .site-footer { max-width: var(--canvas-width); margin-left: auto; margin-right: auto; width: 100%; }

/* Body offsets the fixed header so the hero starts below the navbar. */
body { padding-top: 76px; }

/* =======================================================
   GLOBAL TRANSITIONS
   ======================================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"].is-visible { transition-delay: .08s; }
[data-reveal-delay="2"].is-visible { transition-delay: .16s; }
[data-reveal-delay="3"].is-visible { transition-delay: .24s; }
[data-reveal-delay="4"].is-visible { transition-delay: .32s; }
[data-reveal-delay="5"].is-visible { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
    .testimonials__track { animation: none !important; }
    * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

a, button, .testimonial, .portfolio__card, .cta__portrait, .site-footer__social-icon {
    transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .25s ease, color .25s ease, background .25s ease, filter .35s ease;
}

/* =======================================================
   BUTTONS
   ======================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
    width: 132px;
    height: 30.667px;
    font-size: 10.67px;
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
/* Figma 62:1153 / 62:1139 — orange button lifts up + soft orange glow on hover. */
.btn--primary:hover {
    background: #c83b00;
    box-shadow: 0 12px 24px rgba(235, 71, 0, 0.45);
    transform: translateY(-4px);
}

.btn--lg { width: 153.333px; height: 41.333px; font-size: 13.78px; }

.btn--quote {
    background: transparent;
    border: 0.843px solid var(--color-primary);
    color: var(--color-primary);
    width: 100px;
    height: 30.667px;
    font-size: 8.99px;
    transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}
/* Figma 62:1146 — outline → filled orange + lift + glow on hover. */
.btn--quote:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(235, 71, 0, 0.35);
    transform: translateY(-4px);
}

/* Navbar CTA cluster — Get a Quote + tagline */
.navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 35px;
}
.navbar__cta-tag {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.btn--outline-dark {
    background: transparent;
    border: 1.6px solid var(--color-border);
    color: var(--color-border);
    height: 36px;
    padding: 0 24px;
    font-size: 12.8px;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Figma 62:1169 VIEW ALL WORK — fills with orange (not black) + glow on hover. */
.btn--outline-dark:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(235, 71, 0, 0.40);
}

.btn--start {
    width: 173.898px;
    height: 37.492px;
    border-width: 1.595px;
    font-size: 12.76px;
    color: #000;
    border-color: #000;
}
/* Figma 62:1238 START A PROJECT — outline becomes orange filled + glow on hover. */
.btn--start:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(235, 71, 0, 0.40);
}

/* =======================================================
   HEADER — sticky/frozen, Figma node 22:1133
   76px tall, white-translucent w/ blur, full-width
   ======================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 76px;
    background: rgba(255, 255, 255, 0.37);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.navbar {
    position: relative;
    max-width: var(--canvas-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 46px 0 38px;
}
.navbar__logo img { height: 19px; width: auto; }
.navbar__menu { display: flex; align-items: center; gap: 34.413px; }
.navbar__links { list-style: none; display: flex; gap: 34.413px; margin: 0; padding: 0; }
.navbar__links a {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1;
    transition: color .2s ease;
}
.navbar__links a:hover { color: var(--color-text); }

/* =======================================================
   HERO — Figma node 22:1124
   ======================================================= */
.hero {
    position: relative;
    padding: 42.67px 0 0;       /* 118.67 (Figma) − 76 (sticky-header offset already on body) */
}
.hero__copy {
    width: 998.67px;
    max-width: calc(100% - 80px);
    margin-left: 39.33px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13.333px;
}
.hero__eyebrow {
    font-size: 13.333px;
    font-weight: 500;
    text-transform: capitalize;
    color: #000;
    margin: 0;
    line-height: 1;
}
.hero__country {
    color: inherit;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color .25s ease;
}
.hero__country::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.hero__country:hover { color: var(--color-primary); }
.hero__country:hover::after { transform: scaleX(1); }

.hero__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.01em;
    width: 858px;
    max-width: 100%;
}
.hero__title-light { font-weight: 500; }
.hero__title-italic { display: block; font-style: italic; font-weight: 600; }

.hero__actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 41.333px;
}
.hero__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 10.67px;
    text-transform: uppercase;
    color: #000;
    height: 24.416px;
    padding: 0 12px;
    position: relative;
}
/* Figma 62:1245 OUR WORKS — bottom underline reveals on hover. */
.hero__link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.hero__link:hover::after { transform: scaleX(1); }
/* Use a Unicode "→" instead of the buggy Figma SVG so the chevron
   always renders cleanly across browsers. Slides right on hover with
   an elastic ease for a tactile "go forward" feel. */
.hero__link-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    font-size: 14px;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.hero__link:hover .hero__link-arrow { transform: translateX(4px); }

.hero__banner {
    width: 1200.667px;
    max-width: calc(100% - 80px);
    aspect-ratio: 1920 / 1080;
    margin: 30px 0 0 39.33px;
    overflow: hidden;
}
.hero__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Free Quote vertical tab — fixed to viewport right, always visible (Figma 22:1123) */
.floating-quote {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 70.102px;
    height: 72.667px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    box-shadow: -2px 4px 14px rgba(0, 0, 0, 0.18);
    transition: background-color .25s ease, box-shadow .25s ease;
}
/* Hover (Figma 62:1160): a slim black bar slides out from the left edge,
   making the tab read as "extended". No transform shift — the bar grows
   from width 0, so the orange square stays put and only the black piece
   appears on its left side. */
.floating-quote::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 0;
    background: #000;
    transition: width .3s cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}
.floating-quote:hover::before { width: 6px; }
.floating-quote:hover {
    background: #d63f00;
    box-shadow: -4px 6px 18px rgba(235, 71, 0, 0.40);
}
.floating-quote__text {
    writing-mode: vertical-rl;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    color: #fff;
    text-align: center;
}

/* =======================================================
   PORTFOLIO — Figma node 22:1004
   ======================================================= */
.portfolio {
    width: 1200px;
    max-width: 100%;
    margin: 80px auto 0;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 38px;
}
.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    min-height: 20.8px;
    position: relative;
    /* Lift the entire filter row above the portfolio grid below it so the
       Others dropdown panel (a descendant) paints on top of the cards
       — without this the grid (later in DOM) wins the paint order. */
    z-index: 10;
}
.portfolio__filter,
.portfolio__filter-other {
    background: none;
    border: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-border);
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: color .2s ease;
}
.portfolio__filter:hover,
.portfolio__filter-other:hover { color: var(--color-accent); }
.portfolio__filter.is-active { color: var(--color-accent); font-weight: 600; }

/* "Others" filter — plain text + small caret (matches Figma).
   Caret is CSS-drawn (right + bottom border square rotated 45°) so it
   inherits the current text colour and never hits the SVG aspect-ratio
   stretching bug. */
.portfolio__filter-others-wrap {
    position: relative;
    display: inline-block;
}
.portfolio__filter-other {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.portfolio__filter-caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.portfolio__filter-other:hover .portfolio__filter-caret {
    transform: rotate(45deg) translateY(1px);
}
/* Active state (panel open): flip caret to point up + tint blue. */
.portfolio__filter-other.is-active { color: var(--color-accent); font-weight: 600; }
.portfolio__filter-other.is-active .portfolio__filter-caret,
.portfolio__filter-other.is-active:hover .portfolio__filter-caret {
    transform: rotate(-135deg) translateY(-1px);
}

/* Others dropdown panel (Figma node 62:1270). Sits below the trigger.
   The parent .portfolio__filters carries z-index:10 so this whole
   subtree paints above the grid; nothing extra is needed here. */
.portfolio__filter-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 280px;
    background: #f3f3f3;
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.22),
                0 6px 14px -4px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    display: flex;
    flex-direction: column;
}
.portfolio__filter-panel[hidden] { display: none; }
.portfolio__filter-panel-item {
    background: none;
    border: 0;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-border);
    text-align: left;
    cursor: pointer;
    line-height: 1.4;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.portfolio__filter-panel-item:hover {
    background-color: rgba(21, 102, 224, 0.06);
    color: var(--color-accent);
}
.portfolio__filter-panel-item.is-active {
    color: var(--color-accent);
    font-weight: 600;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 376.667px);
    column-gap: 35px;
    row-gap: 60px;
    justify-content: space-between;
    align-items: start;
}

.portfolio__card { display: flex; flex-direction: column; transition: opacity .35s ease, transform .35s ease; }
/* Filter: drop the card from the grid entirely so visible cards reflow
   into the staggered position-based heights below. */
.portfolio__card.is-hidden { display: none; }

.portfolio__thumb {
    display: block;
    overflow: hidden;
    width: 376.667px;
    background: #eee;
    position: relative;
}

/* Staggered Figma heights bound to GRID POSITION (not to a specific item),
   counting only visible cards. Result: whatever the filter shows, col 1
   is medium, col 2 is tall, col 3 is short — same rhythm every time. */
.portfolio__card:nth-child(3n+1 of .portfolio__card:not(.is-hidden)) .portfolio__thumb { height: 340px; }
.portfolio__card:nth-child(3n+2 of .portfolio__card:not(.is-hidden)) .portfolio__thumb { height: 396.667px; }
.portfolio__card:nth-child(3n+3 of .portfolio__card:not(.is-hidden)) .portfolio__thumb { height: 280px; }
.portfolio__thumb-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity .35s ease, transform .5s ease;
}
.portfolio__thumb-img--rest  { opacity: 1; }
.portfolio__thumb-img--hover { opacity: 0; }
.portfolio__thumb:hover .portfolio__thumb-img--hover { opacity: 1; }
.portfolio__thumb:hover .portfolio__thumb-img--rest  { opacity: 0; }
.portfolio__thumb:hover .portfolio__thumb-img        { transform: scale(1.04); }

.portfolio__info { padding-top: 18px; }
.portfolio__title {
    font-weight: 500;
    font-size: 18.667px;
    color: #000;
    display: block;
    margin-bottom: 8px;
    line-height: 1.3;
}
.portfolio__title:hover { color: var(--color-accent); }

.portfolio__sub {
    font-size: 12px;
    color: rgba(35, 31, 32, 0.65);
    margin: 0 0 16px;
    font-weight: 500;
    line-height: 1.4;
}

.portfolio__tags {
    list-style: none;
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 500;
    flex-wrap: wrap;
}
.portfolio__tag-sep {
    width: 2.63px;
    height: 2.63px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

.portfolio__view-all {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* =======================================================
   ABOUT — Figma node 22:982
   ======================================================= */
.about {
    position: relative;
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}
/* Pastel multi-blob wash — Figma node 39:270. Each radial uses a fixed
   radius and fades to transparent inside the section, so the gradient
   can never reach the section edge (no crop, nothing to clip). */
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Each blob uses `closest-side` sizing so the radial automatically
       shrinks to fit the nearest section edge — physically impossible to
       crop. Color stops fade fully to transparent inside that radius. */
    background:
        radial-gradient(circle closest-side at 80% 32%, rgba(74, 222, 128, 0.55), transparent 100%),
        radial-gradient(circle closest-side at 82% 70%, rgba(96, 165, 250, 0.60), transparent 100%),
        radial-gradient(circle closest-side at 55% 50%, rgba(167, 139, 250, 0.28), transparent 100%),
        radial-gradient(circle closest-side at 18% 75%, rgba(236, 72, 153, 0.30), transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.about > * { position: relative; z-index: 1; }
.about__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 546.423px 545.625px;
    gap: 50px;
    width: 1228px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    align-items: start;
}
.about__title {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 30px;
    letter-spacing: -0.01em;
    width: 546.423px;
    max-width: 100%;
}
.about__title em {
    color: var(--color-accent);
    font-weight: 600;
    font-style: italic;
}

/* Headline reveal — three phrases stagger up word-block by word-block,
   matching the testimonials / FAQ reveal language. */
.about__title-line {
    display: inline-block;
    line-height: inherit;
}
.about__title-line + .about__title-line { margin-left: 0.28em; }
.about__body {
    width: 474.667px;
    max-width: 100%;
    margin-bottom: 24px;
}
.about__body p {
    font-size: 14.667px;
    line-height: 1.5;
    margin: 0 0 14px;
}
.about__body strong { font-weight: 600; }

/* Photo grid — 2x2 of 262x262 squares; images cover (matches Figma masks) */
.about__gallery {
    position: relative;
    display: grid;
    grid-template-columns: 262px 262px;
    grid-template-rows: 262px 262px;
    column-gap: 20.13px;
    row-gap: 20px;
    width: 545.625px;
    max-width: 100%;
}
.about__photo {
    position: relative;
    width: 262px;
    height: 262px;
    overflow: hidden;
    background: #eee;
}
.about__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.about__slider {
    grid-column: 2;
    margin-top: 12px;
    width: 64.579px;
    height: 4.225px;
    justify-self: end;
}
.about__slider img { width: 100%; height: 100%; }

/* =======================================================
   FAQ — Figma node 22:930
   ======================================================= */
.faq {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 58.67px;
    background: #ffffff;
}
.faq__eyebrow {
    font-size: 14.659px;
    font-weight: 500;
    margin: 0;
    line-height: 1;
}
.faq__title {
    font-size: 44px;
    font-weight: 500;
    margin: 5.32px 0 76px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.faq__grid {
    display: grid;
    grid-template-columns: 508px 508px;
    column-gap: 66.66px;
}
.faq__col {
    display: flex;
    flex-direction: column;
    gap: 13.942px;
    align-items: start;
}
.faq__item { width: 508px; max-width: 100%; }
.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    color: #000;
    font-family: inherit;
    line-height: 1;
    min-height: 16.377px;
    transition: color .25s ease;
}
.faq__item:hover .faq__q,
.faq__item.is-open .faq__q { color: #1566e0; }
.faq__q:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
.faq__q-text { flex: 1; }

.faq__icon {
    position: relative;
    width: 12.57px;
    height: 12.57px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.faq__icon::before, .faq__icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 1px;
}
.faq__icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after  { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq__item:hover .faq__icon,
.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1);
    overflow: hidden;
}
.faq__panel > .faq__a {
    min-height: 0;
    margin: 0;
    padding-top: 0;
    opacity: 0;
    transition: opacity .25s ease, padding-top .4s cubic-bezier(.2,.7,.2,1);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.72);
    width: 460px;
    max-width: 100%;
}
.faq__a p { margin: 0 0 0.8em; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a ol { margin: 0.4em 0 0.8em; padding-left: 20px; }
.faq__a ol li { margin-bottom: 0.35em; }
.faq__item:hover .faq__panel,
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__item:hover .faq__panel > .faq__a,
.faq__item.is-open .faq__panel > .faq__a {
    opacity: 1;
    padding-top: 14px;
    transition-delay: .1s;
}
.faq__divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 13.4px 0 0;
    border: 0;
    background: #d9d9d9;
    pointer-events: none;
}

/* =======================================================
   TESTIMONIALS — Figma node 22:834
   ======================================================= */
.testimonials {
    position: relative;
    height: 670.667px;
    margin-top: 80px;
    /* Top edge fades from white (FAQ above) into the grey wash so the
       boundary between sections reads as a soft transition, not a line. */
    background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 90px);
    overflow: hidden;
    padding: 20.67px 0 0;
}
/* Soft blue glow — Figma node 39:411. Centered ellipse sized to exactly
   match the section dims (50% radius from a 50% center = touches edges
   at 100% transparent). Spreads wide but fades to nothing at every
   border, so there's no hard cut into FAQ above or CTA below. */
.testimonials::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(99, 154, 255, 0.55), transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.testimonials > * { position: relative; z-index: 1; }
.testimonials__head { position: relative; z-index: 2; }
.testimonials__eyebrow {
    text-align: center;
    font-size: 14.659px;
    font-weight: 500;
    margin: 0 0 12px;
    line-height: 1;
}
.testimonials__title {
    text-align: center;
    font-size: 44px;
    font-weight: 400;
    margin: 0 0 50px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.testimonials__title em { color: var(--color-accent); font-style: italic; font-weight: 600; }

.testimonials__viewport {
    position: relative;
    width: 100%;
    /* clip horizontally so the marquee doesn't bleed past the section,
       but let the vertical axis stay visible so a hover-lifted card's
       shadow isn't cut off at the bottom edge. */
    overflow-x: clip;
    overflow-y: visible;
    padding: 0 0 50px;
    z-index: 1;
}
.testimonials__track {
    display: flex;
    gap: 26.667px;
    padding: 0 0 0 40px;
    width: max-content;
    animation: testimonials-loop 70s linear infinite;
    will-change: transform;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.testimonials__track:active { cursor: grabbing; }
.testimonials__track:hover { animation-play-state: paused; }
.testimonials.is-paused .testimonials__track { animation-play-state: paused; }

@keyframes testimonials-loop {
    from { transform: translateX(0); }
    to   { transform: translateX(-2072.004px); }
}

/* Card frame fixed at exact Figma size — Swiper-style lift on hover */
.testimonial {
    position: relative;
    flex: 0 0 318.667px;
    width: 318.667px;
    height: 350.667px;
    background: #fff;
    scroll-snap-align: start;
    box-shadow: 0 4px 14px rgba(20, 30, 60, 0.06);
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                box-shadow .35s cubic-bezier(.2,.7,.2,1);
    z-index: 1;
}
.testimonial:hover {
    transform: translateY(-8px) scale(1.035);
    box-shadow: 0 22px 44px -12px rgba(21, 102, 224, 0.28),
                0 10px 22px -6px rgba(0, 0, 0, 0.18);
    z-index: 3;
}
/* Suppress lift while the user is mid-drag — reads cleaner when scrubbing. */
.testimonials.is-paused .testimonial:hover {
    transform: none;
    box-shadow: 0 4px 14px rgba(20, 30, 60, 0.06);
}
.testimonial__mark {
    position: absolute;
    top: 31.33px;
    left: 36px;
    width: 24.667px;
    height: 55.333px;
    color: var(--color-accent);
    font-size: 73.333px;
    line-height: 1;
    margin: 0;
    font-weight: 400;
}
.testimonial__quote {
    position: absolute;
    top: 62px;
    left: 38.67px;
    width: 223.333px;
    height: 145.333px;
    font-size: 12px;
    line-height: 1.8;
    color: #000;
    margin: 0;
    font-weight: 400;
}
.testimonial__rate {
    position: absolute;
    top: 303.32px;
    left: 220px;
    display: flex;
    align-items: center;
    gap: 4.42px;
}
.testimonial__rate img {
    width: 8.538px;
    height: 8.538px;
    object-fit: contain;
    display: block;
}
.testimonial__logo {
    position: absolute;
    left: 36px;
    overflow: hidden;
    display: block;
}
.testimonial__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =======================================================
   CTA — Figma node 22:1076
   Shares the soft grey wash with testimonials so they read as
   one continuous backdrop (Figma BG node 22:831, 1312.667px tall).
   ======================================================= */
.cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(384px, 1fr) 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 12.5% 100px;
    background: #eeeeee;
    overflow: hidden;
    z-index: 0;
}
.cta > * { position: relative; z-index: 1; }

.cta__portraits {
    display: grid;
    grid-template-columns: repeat(2, 180px);
    grid-template-rows: repeat(2, 219.333px);
    gap: 16px;
    justify-content: start;
    align-content: center;
}
.cta__portrait {
    position: relative;
    overflow: hidden;
    background: #000;
    width: 180px;
    height: 219.333px;
}
.cta__portrait img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: filter .35s ease;
}
.cta__portrait:hover img { filter: none; -webkit-filter: none; }

/* Syafiq's source is much taller than the frame — pulling the crop
   down ~25% pushes his face higher in the visible window so the
   bright bokeh lights drop below the bottom edge instead of sitting
   under the white name overlay. */
.cta__portrait:nth-child(3) img { object-position: center 25%; }

/* Soft black scrim under every portrait — guarantees the white name +
   country labels stay readable regardless of what's behind them. */
.cta__portrait::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 1;
}

.cta__portrait-name {
    position: absolute;
    left: 16px;
    bottom: 14px;
    color: #fff;
    line-height: 1.3;
    z-index: 2;
}
.cta__portrait-name strong {
    display: block;
    font-size: 9.333px;
    font-weight: 500;
    text-transform: capitalize;
}
.cta__portrait-name span {
    display: block;
    font-size: 6.667px;
    color: var(--color-muted-2);
    text-transform: capitalize;
    margin-top: 2px;
}

.cta__content { max-width: 471.333px; }
.cta__title {
    font-size: 44px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}
.cta__title em {
    color: var(--color-accent);
    font-weight: 600;
    font-style: italic;
    display: block;
}
.cta__body {
    font-size: 16.667px;
    line-height: 1.5;
    margin: 0 0 24px;
    width: 372.667px;
    max-width: 100%;
}
/* Get a Quote + tagline sit on one row, 35px apart — same pattern as
   the navbar CTA cluster. */
.cta__cta-row {
    display: inline-flex;
    align-items: center;
    gap: 35px;
}
.cta__note {
    font-size: 12px;
    color: var(--color-muted-2);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

/* =======================================================
   FOOTER — Figma node 22:1098 (1280 × 460.667)
   Absolute Figma layout 1:1; own white base + subtle vector
   + top-right rainbow blur so it doesn't merge with grey CTA.
   ======================================================= */
.site-footer {
    position: relative;
    z-index: 5;
    background: #ffffff;
    height: 460.667px;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.site-footer__bg {
    position: absolute;
    inset: 0;
    height: 557.333px;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.site-footer__vector {
    position: absolute;
    top: 0; left: 0; right: 0;
    bottom: 96.67px;
    width: 100%;
    height: calc(100% - 96.67px);
    object-fit: fill;
}
.site-footer__rainbow {
    position: absolute;
    width: 1196.981px;
    height: 689.114px;
    top: -50px;
    left: calc(50% + 383.16px);
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(53.282px);
    opacity: 0.4;
}

.site-footer__nav,
.site-footer__social,
.site-footer__addresses,
.site-footer__brand,
.site-footer__copy,
.site-footer__legal { position: absolute; z-index: 1; }

.site-footer__nav { left: 140px; top: 55.33px; }
.site-footer__nav ul {
    list-style: none;
    padding: 0; margin: 0;
    font-size: 13.333px;
    line-height: 2.5;
    color: #000;
}
.site-footer__nav a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
    display: inline-block;
}
.site-footer__nav a:hover { color: var(--color-primary); transform: translateX(3px); }

.site-footer__social { left: 140px; top: 283.33px; width: 200px; height: 32px; }

/* Default state: dimmed at 70% opacity for a refined, understated look.
   Hover: soft circular backdrop expands behind the icon, the icon
   itself scales up with an elastic ease, and a brand-coloured drop
   shadow blooms underneath. Each platform gets its own brand colour. */
.site-footer__social-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transform-origin: center;
    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        opacity .25s ease,
        filter .35s ease;
}
.site-footer__social-icon::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    transform: scale(.5);
    opacity: 0;
    transition:
        transform .45s cubic-bezier(.34, 1.56, .64, 1),
        opacity .25s ease;
    z-index: -1;
}
.site-footer__social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}
.site-footer__social-icon:hover {
    opacity: 1;
    transform: scale(1.18) translateY(-2px);
}
.site-footer__social-icon:hover::before {
    transform: scale(1);
    opacity: 1;
}
.site-footer__social-icon:focus-visible {
    outline: none;
    opacity: 1;
}
.site-footer__social-icon:focus-visible::before {
    transform: scale(1);
    opacity: 1;
    background: rgba(21, 102, 224, 0.15);
}

/* Per-platform brand-colour glow on hover */
.site-footer__social-icon--instagram:hover { filter: drop-shadow(0 6px 14px rgba(225, 48, 108, 0.45)); }
.site-footer__social-icon--linkedin:hover  { filter: drop-shadow(0 6px 14px rgba(0, 119, 181, 0.45)); }
.site-footer__social-icon--youtube:hover   { filter: drop-shadow(0 6px 14px rgba(255, 0, 0, 0.40));  }
.site-footer__social-icon--tiktok:hover    { filter: drop-shadow(0 6px 14px rgba(37, 244, 238, 0.45)); }

.site-footer__social-icon--instagram { left: 0;     top: 4.67px;  width: 22px;     height: 21.333px; }
.site-footer__social-icon--linkedin  { left: 52px;  top: 5.34px;  width: 20.667px; height: 19.333px; }
.site-footer__social-icon--youtube   { left: 96px;  top: 8px;     width: 26px;     height: 16.667px; }
.site-footer__social-icon--tiktok    { left: 132px; top: 0;       width: 31.333px; height: 30.667px; }

.site-footer__addresses { left: 715.33px; top: 64px; width: 460px; height: 220px; }
.site-footer__office { position: absolute; color: #000; }
.site-footer__office h3 {
    margin: 0 0 6px;
    font-size: 11.093px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}
.site-footer__office p {
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
}
.site-footer__office--sg { left: 0;       top: 0;     width: 140px; }
.site-footer__office--mb { left: 256.67px;top: 0;     width: 140px; }
.site-footer__office--vc { left: 0;       top: 120px; width: 158px; }
.site-footer__office--jk { left: 256.67px;top: 120px; width: 184px; }

/* Country-title hotspot */
.site-footer__office-link {
    color: inherit;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color .25s ease;
}
.site-footer__office-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.site-footer__office-link:hover { color: var(--color-primary); }
.site-footer__office-link:hover::after { transform: scaleX(1); }

.site-footer__office p a { color: inherit; transition: color .25s ease; }
.site-footer__office p a:hover { color: var(--color-primary); }

.site-footer__brand { bottom: 23.33px; right: 921.33px; width: 218.667px; height: 42px; }
.site-footer__brand img { width: 100%; height: 100%; object-fit: contain; display: block; }

.site-footer__copy,
.site-footer__legal {
    bottom: 32px;
    margin: 0;
    font-size: 11.093px;
    line-height: 1.4;
    color: #000;
    white-space: nowrap;
}
.site-footer__copy  { left: 639.33px; }
.site-footer__legal { left: 952.67px; }

/* =======================================================
   RESPONSIVE
   ======================================================= */
@media (max-width: 1280px) {
    .site-main, .site-footer { max-width: 100%; }
}

@media (max-width: 600px) {
    .floating-quote { width: 56px; height: 58px; }
    .floating-quote__text { font-size: 11px; }
}

@media (max-width: 1024px) {
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio__card .portfolio__thumb {
        width: 100%;
        height: auto !important;
        aspect-ratio: 565/420;
    }
    .portfolio__filters { gap: 24px; }
    /* Tablet: keep the dropdown anchored to the trigger but cap width so
       it doesn't overflow when sitting near the right edge. */
    .portfolio__filter-panel { max-width: calc(100vw - 80px); }
    .about__inner { grid-template-columns: 1fr; gap: 40px; }
    .about__title { font-size: 42px; }
    .about__gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        width: 100%;
    }
    .about__photo { width: 100%; height: auto; aspect-ratio: 1; }
    .faq__grid { grid-template-columns: 1fr; gap: 24px; }
    .cta { grid-template-columns: 1fr; padding: 60px 40px; }
    .cta__portraits { justify-content: center; }

    /* Footer collapses out of the absolute Figma layout into a stack */
    .site-footer {
        height: auto;
        padding: 50px 40px 30px;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
    .site-footer__nav,
    .site-footer__social,
    .site-footer__addresses,
    .site-footer__brand,
    .site-footer__copy,
    .site-footer__legal { position: static; }
    .site-footer__nav    { order: 1; }
    .site-footer__social { order: 2; width: auto; height: auto; display: flex; gap: 22px; }
    .site-footer__social-icon { position: static; transform: none !important; }
    .site-footer__addresses {
        order: 3;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .site-footer__office { position: static; width: 100%; }
    .site-footer__brand  { order: 4; margin: 0 auto; }
    .site-footer__copy,
    .site-footer__legal  { order: 5; text-align: center; }
}

@media (max-width: 720px) {
    body { padding-top: 64px; }
    .site-header { height: 64px; }
    .navbar { padding: 0 20px; }
    .navbar__links { display: none; }
    /* Tagline gets cramped beside the button on phone widths — hide it. */
    .navbar__cta { gap: 0; }
    .navbar__cta-tag { display: none; }
    .hero__title { font-size: 32px; width: 100%; }
    .hero__copy { width: 100%; padding: 0 24px; margin: 0 auto; }
    .hero__banner { width: calc(100% - 48px); margin: 30px auto 0; }
    .portfolio { padding: 0 24px; }
    .portfolio__filters { gap: 16px; }
    .portfolio__filter,
    .portfolio__filter-other { font-size: 14px; }
    .portfolio__filter-panel-item { font-size: 14px; padding: 10px 18px; }
    /* On narrow screens the trigger sits far right; align the panel to its
       right edge so it can't push past the viewport. */
    .portfolio__filter-panel {
        right: 0;
        left: auto;
        min-width: 240px;
        max-width: calc(100vw - 48px);
    }
    .portfolio__grid { grid-template-columns: 1fr; }
    .portfolio__thumb { width: 100%; }
    .about { padding: 60px 0; }
    .about__title { font-size: 32px; }
    .about__body p { font-size: 16px; }
    .faq { padding: 30px 24px; }
    .faq__title { font-size: 32px; }
    .testimonials { height: auto; padding-bottom: 30px; }
    .testimonial { flex: 0 0 85vw; }
    .cta__title { font-size: 32px; }
    .cta__body { font-size: 14px; }
    .cta__portraits {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 200px;
        gap: 12px;
    }
    .cta__portrait { width: 100%; height: 100%; }
    .site-footer__addresses { grid-template-columns: 1fr; }
}
