/* ==========================================================================
   ASTP — site stylesheet
   1. Tokens & reset      5. Hero            9. About
   2. Typography          6. Services/process 10. Contact
   3. Layout & buttons    7. Projects        11. Footer & CTA
   4. Header              8. Project detail  12. Motion & responsive
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
    /* Neutrals */
    --ink: #0d1526;
    --ink-soft: #4b5671;
    --ink-muted: #78829a;
    --line: #e4e8f1;
    --line-soft: #eef1f7;
    --bg: #f7f8fc;
    --surface: #ffffff;

    /* Brand */
    --navy-950: #060b18;
    --navy-900: #0b1224;
    --navy-800: #111b33;
    --indigo: #4f46e5;
    --indigo-dark: #4338ca;
    --cyan: #22d3ee;
    --gradient: linear-gradient(120deg, #6366f1 0%, #4f46e5 45%, #0891b2 100%);

    /* Shape & depth */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(13, 21, 38, .06), 0 6px 18px -10px rgba(13, 21, 38, .2);
    --shadow: 0 2px 4px rgba(13, 21, 38, .04), 0 18px 40px -24px rgba(13, 21, 38, .28);
    --shadow-lg: 0 30px 70px -30px rgba(13, 21, 38, .45);

    --container: 1180px;
    --header-h: 76px;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-body);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(99, 102, 241, .22); }

:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .55);
    outline-offset: 3px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 999;
    padding: .75rem 1.25rem;
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-sm);
    transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* 2. Typography ----------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 .6em;
    font-weight: 800;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 62ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--indigo);
    margin: 0 0 1rem;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}
.eyebrow-light { color: var(--cyan); }

/* 3. Layout & buttons ----------------------------------------------------- */
.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.section--surface { background: var(--surface); border-block: 1px solid var(--line-soft); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    flex-wrap: wrap;
}
.section-head > div { max-width: 660px; }
.section-head h2 { margin-bottom: .5rem; }
.section-head p { color: var(--ink-soft); margin: 0; }

.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    --btn-bg: var(--indigo);
    box-shadow: 0 10px 24px -12px rgba(79, 70, 229, .9);
}
.btn-primary:hover { --btn-bg: var(--indigo-dark); }

.btn-sm { padding: .6rem 1.1rem; font-size: .875rem; }

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: #fff; }

.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }

.btn-outline-light {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* 4. Header --------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 8px 24px -20px rgba(13, 21, 38, .6);
    background: rgba(255, 255, 255, .92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 6px 12px rgba(79, 70, 229, .35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.brand-text small {
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 500;
}

.site-nav { display: flex; align-items: center; gap: .35rem; }
.site-nav > a:not(.btn) {
    position: relative;
    padding: .5rem .85rem;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .18s ease, background-color .18s ease;
}
.site-nav > a:not(.btn):hover { color: var(--ink); background: rgba(13, 21, 38, .045); }
.site-nav > a:not(.btn).is-active { color: var(--ink); font-weight: 600; }
.site-nav > a:not(.btn).is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--indigo);
    transform: translateX(-50%);
}
.nav-cta { margin-left: .6rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. Hero ----------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 520px at 82% -10%, rgba(99, 102, 241, .35), transparent 60%),
        radial-gradient(900px 480px at 8% 110%, rgba(34, 211, 238, .18), transparent 62%),
        linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, #0d1730 100%);
    color: #fff;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 35%, transparent 78%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero h1 .grad {
    background: linear-gradient(100deg, #a5b4fc, #67e8f9 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p.lede { color: rgba(226, 232, 240, .82); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .85rem;
    color: rgba(203, 213, 225, .85);
}
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges svg { color: var(--cyan); flex: none; }

.hero-visual { position: relative; min-height: 340px; }
.hero-shot {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.hero-shot img { width: 100%; }
.hero-shot--main {
    inset: 6% 0 auto auto;
    width: 88%;
    transform: rotate(-2deg);
    animation: float-in 1s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-shot--sub {
    left: 0;
    bottom: 0;
    width: 56%;
    transform: rotate(2.5deg);
    animation: float-in 1s .15s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-glow {
    position: absolute;
    inset: auto 10% -14% 30%;
    height: 55%;
    background: radial-gradient(closest-side, rgba(99, 102, 241, .55), transparent);
    filter: blur(36px);
    z-index: -1;
}

@keyframes float-in {
    from { opacity: 0; transform: translateY(26px) scale(.97) rotate(0deg); }
}

/* 6. Stats, services, process -------------------------------------------- */
.stats-band {
    background: var(--navy-900);
    color: #fff;
    padding: clamp(2rem, 3.5vw, 2.6rem) 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; gap: .15rem; }
.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    background: linear-gradient(100deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { font-size: .82rem; color: rgba(203, 213, 225, .75); letter-spacing: .02em; }

.card-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.service-card {
    position: relative;
    padding: 1.9rem 1.7rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    overflow: hidden;
}
.service-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -60% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(79, 70, 229, .12), transparent);
    opacity: 0;
    transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d3daf0; }
.service-card:hover::after { opacity: 1; }

.service-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 12px 24px -14px rgba(79, 70, 229, .9);
}
.service-card h3 { margin-bottom: .45rem; }
.service-card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}
.process-step {
    position: relative;
    padding: 1.6rem 1.5rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.process-step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--indigo);
    margin-bottom: .9rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.process-step p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

/* 7. Projects ------------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d3daf0; }

.project-card-media {
    display: block;
    position: relative;
    background: #eef1f8;
    aspect-ratio: 1200 / 720;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}
.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.project-card:hover .project-card-media img { transform: scale(1.04); }

.project-card-body {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    padding: 1.35rem 1.4rem 1.5rem;
    flex: 1;
}
.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--pill, var(--indigo));
    background: color-mix(in srgb, var(--pill, #4f46e5) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--pill, #4f46e5) 22%, transparent);
}
.project-value {
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink-soft);
    white-space: nowrap;
}
.project-card h3 { margin: 0; font-size: 1.14rem; }
.project-card h3 a { transition: color .18s ease; }
.project-card h3 a:hover { color: var(--indigo); }
.project-card p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    padding-top: .4rem;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 600;
    color: var(--indigo);
}
.project-card-link svg { transition: transform .2s ease; }
.project-card:hover .project-card-link svg { transform: translateX(4px); }

/* Filters */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 2rem;
}
.filter-btn {
    padding: .5rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-size: .87rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
}
.filter-btn:hover { border-color: #c9d1e6; color: var(--ink); }
.filter-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.filter-empty {
    display: none;
    padding: 3rem;
    text-align: center;
    color: var(--ink-muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
}
.filter-empty.is-visible { display: block; }

/* 8. Project detail ------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(2rem, 4vw, 3rem);
    background:
        radial-gradient(900px 400px at 85% 0%, rgba(99, 102, 241, .16), transparent 60%),
        linear-gradient(180deg, #eef1fb, var(--bg));
    border-bottom: 1px solid var(--line-soft);
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--ink-muted);
    margin-bottom: 1.4rem;
}
.breadcrumb a { color: var(--ink-soft); font-weight: 500; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb .sep { opacity: .5; }

.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: .4rem; }

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1px;
    margin-top: 2rem;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.project-meta div {
    background: rgba(255, 255, 255, .85);
    padding: 1.05rem 1.25rem;
}
.project-meta dt {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: .25rem;
}
.project-meta dd {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
}

.project-shot {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.project-shot img { width: 100%; }
.project-shot figcaption {
    padding: .85rem 1.25rem;
    font-size: .82rem;
    color: var(--ink-muted);
    border-top: 1px solid var(--line-soft);
    background: #fbfcfe;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.prose p { color: var(--ink-soft); font-size: 1.02rem; }
.prose > p:first-child { color: var(--ink); font-size: 1.12rem; }

.side-card {
    padding: 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 1.25rem; }
.side-card h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.check-list li {
    position: relative;
    padding-left: 1.9rem;
    font-size: .95rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: rgba(79, 70, 229, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .7rem no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
    padding: .35rem .75rem;
    border-radius: 8px;
    background: #f1f3fa;
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 500;
    color: var(--ink-soft);
}

.outcome-box {
    margin-top: 2rem;
    padding: 1.5rem 1.6rem;
    border-radius: var(--radius);
    border: 1px solid rgba(79, 70, 229, .2);
    background: linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(34, 211, 238, .07));
}
.outcome-box strong {
    display: block;
    font-family: var(--font-display);
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: .4rem;
}
.outcome-box p { margin: 0; font-size: .98rem; color: var(--ink); }

.project-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 4rem);
}
.project-nav a {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1.4rem 1.6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.project-nav a:hover { border-color: #c9d1e6; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.project-nav span {
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 700;
}
.project-nav strong { font-family: var(--font-display); font-size: 1rem; }
.project-nav a:last-child { text-align: right; }

/* 9. About ---------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-visual img { width: 100%; }

.value-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.value-item { display: flex; gap: 1rem; }
.value-item .service-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin: 0;
    flex: none;
    box-shadow: none;
}
.value-item h3 { font-size: 1rem; margin-bottom: .2rem; }
.value-item p { font-size: .93rem; color: var(--ink-soft); margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.timeline li {
    position: relative;
    padding-left: 2.1rem;
}
.timeline li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45rem;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--indigo);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .14);
}
.timeline li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1.3rem;
    bottom: -1.6rem;
    width: 1px;
    background: var(--line);
}
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.timeline span { font-size: .9rem; color: var(--ink-soft); }

/* 10. Contact ------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.contact-list { display: grid; gap: 1rem; margin-top: 1.75rem; }
.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s ease, transform .2s ease;
}
a.contact-card:hover { border-color: #c9d1e6; transform: translateY(-2px); }
.contact-card .service-icon { width: 42px; height: 42px; border-radius: 12px; margin: 0; flex: none; }
.contact-card h3 { font-size: .95rem; margin-bottom: .15rem; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--ink-soft); margin: 0; word-break: break-word; }

.form-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
    display: block;
    font-family: var(--font-display);
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .4rem;
}
.field label .req { color: #dc2626; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8rem .95rem;
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fbfcfe;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    background: #fff;
    border-color: #a5b4fc;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .14);
}
.field .hint { font-size: .8rem; color: var(--ink-muted); margin-top: .35rem; }
.field.has-error input,
.field.has-error textarea { border-color: #fca5a5; background: #fef7f7; }
.field .error { display: none; font-size: .8rem; color: #dc2626; margin-top: .35rem; }
.field.has-error .error { display: block; }

.form-errors {
    margin-bottom: 1.25rem;
    padding: .9rem 1.1rem;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: .9rem;
}

.form-success {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.form-success .success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, .12);
    color: #059669;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* 11. Footer & CTA -------------------------------------------------------- */
.cta-band {
    background:
        radial-gradient(800px 300px at 15% 0%, rgba(34, 211, 238, .22), transparent 65%),
        radial-gradient(700px 320px at 85% 100%, rgba(99, 102, 241, .3), transparent 65%),
        linear-gradient(140deg, var(--navy-900), #101a35);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.cta-copy { max-width: 620px; }
.cta-copy h2 { color: #fff; margin-bottom: .5rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-copy p { color: rgba(226, 232, 240, .78); margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer {
    background: var(--navy-950);
    color: rgba(203, 213, 225, .78);
    padding: clamp(3rem, 5vw, 4rem) 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-brand p { font-size: .91rem; margin-top: 1rem; max-width: 34ch; }
.brand-footer .brand-text strong { color: #fff; }
.brand-footer .brand-text small { color: rgba(148, 163, 184, .8); }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h3 {
    font-size: .76rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .5rem;
}
.footer-col a, .footer-col span { font-size: .9rem; transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .82rem;
    color: rgba(148, 163, 184, .8);
}
.footer-bottom p { margin: 0; }

/* 12. Motion & responsive ------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 0; margin-top: 1rem; }
    .hero-shot { position: relative; inset: auto; width: 100% !important; transform: none !important; }
    .hero-shot--sub { display: none; }
    .detail-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

@media (max-width: 840px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: calc(100% + .5rem);
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        padding: .75rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav > a:not(.btn) { padding: .75rem .9rem; border-radius: var(--radius-sm); }
    .site-nav > a:not(.btn).is-active { background: rgba(79, 70, 229, .07); }
    .site-nav > a:not(.btn).is-active::after { display: none; }
    .nav-cta { margin: .4rem 0 0; justify-content: center; }
    .split { grid-template-columns: 1fr; }
    .project-nav { grid-template-columns: 1fr; }
    .project-nav a:last-child { text-align: left; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 1.75rem, var(--container)); }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1; }
    .hero-actions .btn { flex: 1 1 auto; }
    .project-nav { gap: .75rem; }
    .brand-text small { display: none; }
}
