/* -------------------------------------------------
   Base + Typography
-------------------------------------------------- */

/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
    line-height: 1.5;
}

:root {
    color-scheme: light dark;

    /* Fonts */
    --body-font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto,
        Helvetica, Arial, sans-serif;

    /* Font sizes */
    --fs-h1: clamp(2.4rem, 2vw + 1.4rem, 3.2rem);
    --fs-h2: clamp(2.0rem, 1.6vw + 1.2rem, 2.6rem);
    --fs-h3: 1.8rem;
    --fs-body: 1.4rem;
    --fs-small: 1.2rem;

    /* Font weights */
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    /* Base colors */
    --bg: #f9fbff;
    --surface: #ffffff;
    --card: #ffffff;
    --text: #0a0a0a;
    --muted-text: #555;
    --border: rgba(0, 0, 0, 0.12);
    --ink-soft: rgba(0, 0, 0, 0.04);

    /* Brand */
    --brand: #0b63f6;
    --brand-light: #3399ff;
    --brand-alt: #6a38c2;
    --brand-contrast: #ffffff;

    /* Links */
    --link: var(--brand);
    --link-hover: #004aad;
    --link-visited: #6a38c2;

    /* Pills / badges / notices */
    --pill-bg: rgba(64, 224, 208, 0.18);
    --badge-fg: #0b63f6;
    --badge-bg: rgba(11, 99, 246, 0.12);
    --badge-bg-hover: rgba(11, 99, 246, 0.2);

    --notice-info-bg: #eef5ff;
    --notice-info-border: #cfe1ff;
    --notice-warn-bg: #fff6e6;
    --notice-warn-border: #ffe0a6;
    --notice-ok-bg: #ecfbf0;
    --notice-ok-border: #c9f1d5;

    /* Layout helpers */
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);

    /* Shimmer controls */
    --shimmer-speed: 48s;
    --shimmer-speed-2: 72s;
    --shimmer-intensity: 0.12;
    --shimmer-intensity-dark: 0.18;

    /* Button color tokens */
        --btn-primary-fg: var(--brand-contrast);
        --btn-primary-bg: linear-gradient(145deg, var(--brand), var(--brand-alt));
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0d11;
        --surface: #121318;
        --card: #121212;
        --text: #f5f7fa;
        --muted-text: #b5b5b5;
        --border: rgba(255, 255, 255, 0.16);
        --ink-soft: rgba(255, 255, 255, 0.06);

        --badge-fg: #40e0d0;
        --badge-bg: rgba(64, 224, 208, 0.18);
        --badge-bg-hover: rgba(64, 224, 208, 0.28);
    }
}

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--body-font);
    font-size: var(--fs-body);
    line-height: 1.65;
    font-weight: var(--fw-normal);
    text-rendering: optimizeLegibility;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 20%, rgba(11, 99, 246, 0.12), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(106, 56, 194, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    transition: background 0.6s ease, color 0.6s ease;
}

/* -------------------------------------------------
   Shimmer background (optional aesthetic)
-------------------------------------------------- */

body::before,
body::after {
    content: "";
    position: fixed;
    inset: -10vmax;
    z-index: -1;
    pointer-events: none;
    will-change: transform, opacity;
    filter: blur(24px);
    opacity: var(--shimmer-intensity);
}

body::before {
    background: conic-gradient(from 120deg at 30% 40%,
            rgba(11, 99, 246, 0.25),
            rgba(0, 180, 255, 0.18),
            rgba(106, 56, 194, 0.22),
            rgba(11, 99, 246, 0.25));
    animation: bg-float var(--shimmer-speed) linear infinite;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1.1);
    mix-blend-mode: screen;
}

body::after {
    background:
        radial-gradient(40vmax 40vmax at 15% 20%, rgba(11, 99, 246, 0.25), transparent 65%),
        radial-gradient(35vmax 35vmax at 85% 75%, rgba(0, 180, 255, 0.2), transparent 70%),
        radial-gradient(30vmax 30vmax at 60% 10%, rgba(106, 56, 194, 0.22), transparent 70%);
    animation: bg-drift var(--shimmer-speed-2) ease-in-out infinite;
    transform: translate3d(0, 0, 0) scale(1.05);
}

@media (prefers-color-scheme: dark) {

    body::before,
    body::after {
        opacity: var(--shimmer-intensity-dark);
        mix-blend-mode: lighten;
    }
}

@media (prefers-reduced-motion: reduce) {

    body::before,
    body::after {
        animation: none !important;
    }
}

@keyframes bg-float {
    0% {
        transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1.1);
    }

    50% {
        transform: translate3d(2%, 1%, 0) rotate(180deg) scale(1.1);
    }

    100% {
        transform: translate3d(-2%, -1%, 0) rotate(360deg) scale(1.1);
    }
}

@keyframes bg-drift {
    0% {
        transform: translate3d(0%, 0%, 0) scale(1.05);
    }

    50% {
        transform: translate3d(2%, -1%, 0) scale(1.08);
    }

    100% {
        transform: translate3d(0%, 0%, 0) scale(1.05);
    }
}

/* -------------------------------------------------
   navigation
-------------------------------------------------- */
.nav {
    padding: 20px;
}

/* inner flex wrapper so we can control layout cleanly */
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: none;
    border-radius: 6px;
    box-shadow: #3633331a 0px 22px 18px;
    position: relative;
    /* so mobile dropdown can be positioned to this */
}

.nav-header {
    display: inline-flex;
    align-items: center;
    height: 94px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo {
    display: inline-block;
    vertical-align: middle;
}

.wordmark {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text);
}

/* hide checkbox */
.nav-toggle {
    display: none;
}

/* desktop nav links */
.nav-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-links a {
    display: inline-block;
    padding: 13px 10px;
    text-decoration: none;
    font-weight: 600;
    color: var(--muted-text) !important;
    border: none;
    border-radius: 6px;
    transition: 0.25s background-color ease, 0.25s color ease;
}

.nav-links a:hover {
    background-color: var(--ink-soft);
    color: var(--text);
}

/* hamburger button - hidden on desktop */
.nav-btn {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-btn span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* -------------------------------------------------
   Mobile nav
-------------------------------------------------- */
@media (max-width: 720px) {
    .nav-inner {
        padding: 0.75rem 1rem;
    }

    /* show hamburger, hide inline links */
    .nav-btn {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin-top: 0.6rem;
        background: var(--card);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: scaleY(0.95);
        transform-origin: top;
        transition:
            max-height 0.25s ease,
            opacity 0.2s ease,
            transform 0.2s ease;
    }

    .nav-links ul {
        flex-direction: column;
        padding: 0.5rem 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 0.75rem 1.25rem;
        border-radius: 0;
    }

    /* when checked -> open menu */
    .nav-toggle:checked~.nav-links {
        max-height: 260px;
        /* big enough to show all items */
        opacity: 1;
        transform: scaleY(1);
    }

    /* animate hamburger into an “X” when open (optional) */
    .nav-toggle:checked+.nav-btn span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-toggle:checked+.nav-btn span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked+.nav-btn span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* hide desktop-style inline links on small screens
       (safety in case of any flex quirks) */
    .nav-links ul {
        gap: 0;
    }
}

/* -------------------------------------------------
   Grid + Layout
-------------------------------------------------- */
.grid-full {
    display: grid;
    /* grid-template-columns: repeat(2, minmax(0, 1fr)); */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.grid-full > .grid-item {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* -------------------------------------------------
   Layout
-------------------------------------------------- */


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

.container-sm {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem;
}


.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.header h1 {
    margin-bottom: 0.5rem;
}

.header p {
    color: var(--muted-text);
    font-size: var(--fs-body);
}

.header-sub {
    color: var(--muted-text);
    font-size: var(--fs-small);
    margin-top: 0.4rem;
    display: block;
}


.pill {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--pill-bg);
    font-size: 0.85rem;
}

/* Sections / cards */

.section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
    background: var(--card);
    margin: 1.4rem 0;
    box-shadow: var(--shadow);
}

.section h2:first-child {
    margin-top: 0;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.note,
.muted-note {
    color: var(--muted-text);
    font-size: var(--fs-small);
}

/* Simple responsive grid */

.grid {
    display: grid;
    gap: 1.6rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(24rem, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
}

.brand:hover {
    text-decoration: none;
}

.brand .logo {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 8px;
    display: inline-block;
}

.brand .wordmark {
    font-weight: var(--fw-bold);
    font-size: 2.5rem;
    letter-spacing: 0.02em;
}


 /* Hero */
 .hero {
     margin-bottom: 50px;
 }

 .hero .container {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
}

 .hero-heading {
    
    font-size: clamp(22px, 4.4vw, 36px);
    line-height: 1.05;
    font-weight: 800;
    color: #fff;
 }

 .hero-content {
     max-width: 600px;
     padding-top: 20px;
 }

 .hero .hero-sub {
    width: 90%;
    margin-bottom: 24px;
 }

 /* Partner Hero */
.partners {
    padding: 1rem 0;
}

 .partners-title {
     text-align: center;
     margin-bottom: 2.4rem;
 }

 .partner-container {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 0;
 }

 .partner-hero .container {
    padding-top: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
 }

 .partner-hero-heading {

     font-size: clamp(22px, 4.4vw, 36px);
     line-height: 1.05;
     font-weight: 800;
     color: #fff;
 }

 .partner-hero-content {
     max-width: 600px;
     padding-top: 20px;
 }

 .partner-hero .hero-sub {
     width: 90%;
     margin-bottom: 24px;
 }

 /* Services section */
 .services {
     padding: 1rem 0;
 }

 .services-title {
     text-align: center;
     margin-bottom: 2.4rem;
 }

 /* Horizontal scroll “slider” */
 .services-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(26rem, 1fr);
    gap: 2rem;
    height: auto;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
 }

 .service-card {
     scroll-snap-align: center;
     background: var(--card);
     border-radius: var(--radius);
     border: 1px solid var(--border);
     box-shadow: var(--shadow);
     padding: 2.4rem 2rem;
     min-height: 18rem;
     transition: transform 0.2s ease, box-shadow 0.2s ease,
     border-color 0.2s ease;
 }

 .service-card h3 {
     margin-top: 0;
     margin-bottom: 0.8rem;
 }

 .service-card p {
     margin: 0;
     color: var(--muted-text);
     font-size: var(--fs-small);
 }

 .service-card:hover {
     transform: translateY(-4px);
     box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
     border-color: var(--brand);
 }

 /* visually emphasise the “center” card */
 .service-card--active {
     border-color: var(--brand);
 }

 /* Dots under the slider */
 .services-dots {
     display: flex;
     justify-content: center;
     gap: 0.6rem;
     margin-top: 1.6rem;
 }

 .services-dots .dot {
     width: 8px;
     height: 8px;
     border-radius: 999px;
     border: none;
     background: var(--border);
     padding: 0;
     cursor: default;
 }

 .services-dots .dot.is-active {
     width: 18px;
     background: var(--brand);
 }

/* -------------------------------------------------
   Design Approach
-------------------------------------------------- */
.design-approach {
    padding: 4rem 0;
}

.design-approach-title {
    text-align: center;
    margin-bottom: 3rem;
}

.design-approach-icons {
    display: flex;
    gap: 1rem;
}

/* Grid – clean, centered, symmetric on all screens */
.design-approach-grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    align-items: stretch;
    justify-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

/* Card */
.design-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2.4rem 2rem;
    min-height: 18rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.design-card h3 {
    margin: 0 0 1rem 0;
}

.design-card p {
    margin: 0;
    color: var(--muted-text);
    font-size: var(--fs-small);
    line-height: 1.55;
}

/* Hover effect */
.design-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--brand);
}

/* Optional: Emphasize a main card */
.design-card--active {
    border-color: var(--brand);
    box-shadow: 0 14px 36px rgba(11, 99, 246, 0.25);
}

 /* --- Testimonials ------------------------------------------------------- */
 .testimonials {
     padding: 5rem 0 4rem;
 }

 .testimonials-title {
     text-align: center;
     margin-bottom: 2.8rem;
 }

 .testimonials-main {
     position: relative;
     max-width: 64rem;
     margin: 0 auto 3rem;
     text-align: center;
     background: var(--card);
     border-radius: 2rem;
     padding: 2.4rem 2.8rem 2.8rem;
     box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
 }

 .testimonials-text {
     margin: 0 1.6rem 2.4rem;
     color: var(--muted-text);
     font-size: var(--fs-body);
 }

 .quote-icon {
     position: absolute;
     top: 1.4rem;
     font-size: 2.4rem;
     color: var(--brand-alt);
 }

 .quote-icon.left {
     left: 1.8rem;
 }

 .quote-icon.right {
     right: 1.8rem;
 }

 .testimonials-person {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 1.4rem;
 }

 .testimonials-avatar-large {
     width: 70px;
     height: 70px;
     border-radius: 50%;
     padding: 3px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
     box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.04);
     overflow: hidden;
     flex-shrink: 0;
 }

 .testimonials-avatar-large img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 50%;
 }

 .testimonials-name {
     font-weight: var(--fw-semibold);
 }

 .testimonials-role {
     font-size: var(--fs-small);
     color: var(--muted-text);
 }

 .testimonials-stars {
     margin-top: 0.3rem;
     color: #ffc94a;
     font-size: 1.1rem;
 }

 /* Thumbnails row */
 .testimonials-row {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 2rem;
 }

 .testimonial-thumb {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.6rem;
     font-size: var(--fs-small);
     color: var(--muted-text);
 }

 .testimonial-thumb img {
     width: 68px;
     height: 68px;
     border-radius: 50%;
     object-fit: cover;
     padding: 3px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
     box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.04);
 }

 .testimonial-thumb.is-active img {
     box-shadow: 0 0 0 12px rgba(123, 89, 246, 0.3);
 }

 .thumb-name {
     font-weight: var(--fw-medium);
     color: var(--text);
 }

 .thumb-role {
     color: var(--muted-text);
 }

 /* Mobile adjustments */
 @media (max-width: 640px) {
     .testimonials-main {
         padding: 2rem 1.6rem 2.2rem;
     }

     .testimonials-text {
         margin: 0 0 2rem;
     }

     .quote-icon.left,
     .quote-icon.right {
         display: none;
     }
 }

 /* -------------------------------------------------
   Recent Case studies
-------------------------------------------------- */

.recent-cases {
    padding: 3rem 0;
}
.recent-cases-title {
    text-align: center;
    margin-bottom: 2.4rem;
}

.recent-cases-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
}

/* -------------------------------------------------
   Tech Stack
-------------------------------------------------- */
.tech-stack {
    padding: 4rem 0 6rem;
}

.tech-stack-title {
    text-align: center;
    font-size: clamp(2.4rem, 2vw + 1.4rem, 3.2rem);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.tech-stack-title span {
    color: var(--brand);
}

/* Tabs */
.tech-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.tech-tab {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    padding-bottom: 4px;
    cursor: pointer;
    color: var(--muted-text);
    position: relative;
    transition: color 0.3s ease;
}

.tech-tab.is-active {
    color: var(--brand);
    font-weight: 600;
}

.tech-tab.is-active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand);
    border-radius: 3px;
}

/* Logo Grid */
.tech-grid {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2.4rem;
    justify-items: center;
    align-items: center;
    padding: 1rem 0;
}

.tech-grid.active {
    display: grid;
}

.tech-grid img {
    max-width: 110px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(10%);
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tech-grid img:hover {
    transform: scale(1.06);
    opacity: 1;
    filter: grayscale(0%);
}

/* -------------------------------------------------
   How development works
-------------------------------------------------- */
.process {
    padding: 4rem 0 5rem;
}

.process-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(2.2rem, 2vw + 1.4rem, 3rem);
}

.process-intro {
    max-width: 56rem;
    margin: 0 auto 3rem;
    text-align: center;
    color: var(--muted-text);
    font-size: var(--fs-small);
}

/* Grid of steps */
.process-grid {
    display: grid;
    gap: 2.4rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Card */
.process-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 2.2rem 2rem 2.4rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.process-card h3 {
    margin: 0 0 0.8rem 0;
}

.process-card p {
    margin: 0;
    color: var(--muted-text);
    font-size: var(--fs-small);
}

/* Step badge */
.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--brand-contrast, #fff);
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    margin-bottom: 1.2rem;
}

/* Hover state */
.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    border-color: var(--brand);
}

/* -------------------------------------------------
   CTA strip
-------------------------------------------------- */
.cta-strip {
    padding: 4rem 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.4rem 2.8rem;
    border-radius: 2.4rem;
    background: linear-gradient(135deg,
            color-mix(in srgb, var(--card) 85%, var(--brand-light) 15%),
            color-mix(in srgb, var(--card) 95%, var(--brand-alt) 5%));
    box-shadow: var(--shadow);

    /* CTA-specific button colours */
    --btn-primary-fg: #ffffff;
    /* text */
    /* optionally tweak bg just for this block */
    --btn-primary-bg: linear-gradient(135deg, #ffb347, #ff6f61);
}

.cta-text h2 {
    margin: 0 0 0.6rem 0;
    font-size: clamp(2rem, 2.2vw + 1.2rem, 2.6rem);
}

.cta-text p {
    margin: 0;
    color: var(--muted-text);
    font-size: var(--fs-small);
}

.cta-action {
    flex-shrink: 0;
}

.cta-btn {
    padding-inline: 2.4rem;
}

/* mobile stacking */
@media (max-width: 720px) {
    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.8rem;
    }

    .cta-action,
    .cta-btn {
        width: 100%;
    }

    .cta-btn {
        justify-content: center;
    }
}

/* -------------------------------------------------
   About page
-------------------------------------------------- */

.about-hero {
    padding: 4rem 0 3.2rem;
}

.about-hero-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-hero-header h1 {
    margin-top: 0.9rem;
    margin-bottom: 0.6rem;
}

.about-hero-sub {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.about-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    margin-top: 1.8rem;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.about-meta-label {
    display: block;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.about-meta-value {
    font-weight: var(--fw-medium);
}

/* Generic section wrapper used in about page */
.about-section {
    padding: 1rem 0 3rem;
}

/* Story grid */
.about-story-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* About lists */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.about-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.about-list i {
    color: var(--brand);
    margin-top: 0.2rem;
}

/* Shared heading for sections */
.about-section-header {
    max-width: 640px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.about-section-header p {
    margin: 0.4rem 0 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

/* Approach & values grids reuse existing card look */
.about-approach-grid,
.about-values-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* Value cards – slightly softer than main cards */
.about-value-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.6rem 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    font-size: var(--fs-small);
}

/* CTA banner */
.cta-banner {
    padding: 3rem 0 4rem;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(11, 99, 246, 0.08), rgba(106, 56, 194, 0.1));
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.9rem 2.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
}

.cta-inner h2 {
    margin: 0 0 0.4rem;
}

.cta-text {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

@media (max-width: 640px) {
    .about-hero {
        padding-top: 3rem;
    }

    .cta-inner {
        align-items: flex-start;
    }
}

 /* -------------------------------------------------
   Margins + Typography
-------------------------------------------------- */


/* -------------------------------------------------
   Typography
-------------------------------------------------- */

.text-xxl {
    font-size: 3.2rem;
    font-weight: var(--fw-bold);
    line-height: 1.2;
    margin: 1.5rem 0 0.75rem;
}

.text-lg {
    font-size: 2.4rem;
    font-weight: var(--fw-semibold);
    line-height: 1.3;
    margin: 1.25rem 0 0.6rem;
}

.text-md {
    font-size: 1.8rem;
    font-weight: var(--fw-medium);
    line-height: 1.4;
    margin: 1rem 0 0.5rem;
}

.text-sm {
    font-size: 1.2rem;
    line-height: 1.5;
    margin: 0.6rem 0;
}

.text-center {
    text-align: center;
}



h1,
h2,
h3 {
    line-height: 1.25;
    margin: 1.25rem 0 0.5rem;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-semibold);
}

h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-semibold);
}

h3 {
    font-size: var(--fs-h3);
    font-weight: var(--fw-medium);
}

p,
ul,
ol {
    margin: 0.8rem 0;
}

ul,
ol {
    padding-left: 1.6rem;
}

small,
.muted {
    color: var(--muted-text);
}

/* Pill label */

.pill {
    display: inline-block;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--pill-bg);
    font-size: var(--fs-small);
}

/* -------------------------------------------------
   Links
-------------------------------------------------- */

a {
    color: var(--link);
    text-decoration: none;
}

a:visited {
    color: var(--link-visited);
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* Badge (optional, used for small labels) */

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--badge-fg);
    background: var(--badge-bg);
    padding: 0.25rem 0.6rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: background 0.2s ease, color 0.2s ease;
}

.security-badge:hover {
    background: var(--badge-bg-hover);
}

.security-badge .lock-icon {
    width: 1.2rem;
    height: 1.2rem;
}

/* -------------------------------------------------
   Buttons
-------------------------------------------------- */

.btn {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--btn-primary-fg);
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition:
        transform 0.04s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-fg);
    /* <-- uses the token */
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(11, 99, 246, 0.25);
}

.btn-primary:hover {
    filter: brightness(1.07);
    box-shadow: 0 4px 10px rgba(11, 99, 246, 0.35);
}

.btn-ghost {
    background: transparent;
}

.btn-ghost:hover {
    background: var(--ink-soft);
}

/* Button row */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 1.5rem 0;
}

.actions-left {
    justify-content: flex-start;
}

@media (max-width: 420px) {
    .btn {
        width: 100%;
        min-width: 0;
    }
}

/* -------------------------------------------------
   Notices
-------------------------------------------------- */

.notice {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.8rem 0.9rem;
    margin: 1rem 0;
    background: color-mix(in oklab, var(--bg) 92%, var(--ink-soft));
}

.notice.info {
    background: var(--notice-info-bg);
    border-color: var(--notice-info-border);
}

.notice.warn {
    background: var(--notice-warn-bg);
    border-color: var(--notice-warn-border);
}

.notice.ok {
    background: var(--notice-ok-bg);
    border-color: var(--notice-ok-border);
}

/* -------------------------------------------------
   Timeline / badges (optional components)
-------------------------------------------------- */

.timeline {
    position: relative;
    padding-left: 1.6rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 2px;
    background: var(--border);
}

.t-item {
    position: relative;
    padding-left: 1rem;
    margin: 0.75rem 0;
}

.t-item::before {
    content: "";
    position: absolute;
    left: -0.1rem;
    top: 0.35rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 20%, transparent);
}

.k-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.k-badge {
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: var(--fs-small);
    background: var(--card);
}

.partner-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.7rem;
    border: 1px dashed var(--border);
    border-radius: 999px;
    background: var(--pill-bg);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
}

/* About grid (for “Who we are / studio”) */

.about-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-grid .about-item {
    background: var(--badge-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.about-grid .about-item h2 {
    margin-top: 0;
}

@media (max-width: 720px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------
   Contact page
-------------------------------------------------- */

.contact-page {
    padding: 4rem 0 5rem;
}

.contact-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.contact-header h1 {
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
}

.contact-header-sub {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

/* Layout: form + aside */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 2rem;
}

@media (max-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: color-mix(in oklab, var(--card) 90%, #050816);
    border-radius: 1.6rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 22px 30px rgba(15, 23, 42, 0.18);
    padding: 2.4rem 2.2rem;
}

/* Form card */
.contact-form-card h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.contact-intro {
    margin: 0 0 1.6rem;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 600px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.field label {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
}

.field input,
.field textarea {
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 0.7rem 0.9rem;
    font: inherit;
    background: rgba(15, 23, 42, 0.03);
    color: var(--text);
    resize: vertical;
    min-height: 2.6rem;
}

.field textarea {
    min-height: 7rem;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 75%, #000000);
}

/* Button + note row */
.field-inline-note {
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-submit {
    padding-inline: 1.8rem;
}

.contact-note {
    margin: 0;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

/* Aside card */
.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact-illustration img {
    width: 100%;
    border-radius: 1.2rem;
    display: block;
}

/* Text inside aside */
.contact-aside-content h2 {
    margin: 0 0 0.6rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.contact-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.contact-list i {
    margin-top: 0.1rem;
    color: var(--brand);
}

/* Meta info */
.contact-meta {
    display: grid;
    gap: 0.5rem;
    font-size: var(--fs-small);
}

.contact-meta-label {
    display: block;
    color: var(--muted-text);
}

.contact-meta-value {
    font-weight: var(--fw-medium);
}

/* Small screens: centre-align meta under form */
@media (max-width: 880px) {
    .contact-page {
        padding-top: 3rem;
    }
}

/* -------------------------------------------------
   Footer (dark, like reference screenshot)
-------------------------------------------------- */

.footer {
    padding: 4rem 0 2.4rem;
    background: #05060a;
    /* dark footer always */
    color: var(--muted-text);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.8rem;
    margin-bottom: 2.8rem;
}

/* Brand / intro */
.footer-brand-col {
    max-width: 320px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.6rem;
    font-weight: var(--fw-semibold);
    color: #f5f7fa;
    text-decoration: none;
    margin-bottom: 0.8rem;
}

.footer-text {
    font-size: var(--fs-small);
    color: var(--muted-text);
    margin: 0.6rem 0;
}

/* Badges */
.footer-badges {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.footer-badges img {
    height: 40px;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.3rem 0.6rem;
}

/* Headings */
.footer-heading {
    font-size: 1.5rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.8rem;
    color: #f5f7fa;
}

/* Links */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin: 0.4rem 0;
}

.footer-list a {
    text-decoration: none;
    font-size: var(--fs-small);
    color: var(--muted-text);
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #ffffff;
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 260px;
}

.footer-newsletter input[type="email"] {
    padding: 0.6rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f7fa;
    font-size: var(--fs-small);
}

.footer-newsletter input::placeholder {
    color: rgba(245, 247, 250, 0.6);
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand);
}

.footer-newsletter-btn {
    align-self: flex-start;
    padding-inline: 1.6rem;
    font-size: var(--fs-small);
}

/* Bottom row */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.2rem;
    font-size: var(--fs-small);
    color: var(--muted-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
}

/* Social icons */
.footer-social {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle, #ffffff 0%, #f7f7f7 40%, #e0e0e0 70%);
    box-shadow:
        0 0 0 6px rgba(255, 255, 255, 0.09),
        0 0 22px rgba(255, 255, 255, 0.18);
    color: #111;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-btn i {
    font-size: 1.4rem;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 8px rgba(255, 255, 255, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.45);
}

/* Mobile tweaks */
@media (max-width: 720px) {
    .footer-grid {
        gap: 2.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        align-self: center;
    }
}

/* -------------------------------------------------
   Utilities
-------------------------------------------------- */

.sr-only,
sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Spacing helpers */

.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 4rem !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

.mt-4 {
    margin-top: 0.75rem !important;
}

/* -------------------------------------------------
   Print
-------------------------------------------------- */

@media print {
    .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: underline;
    }

    .notice {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}