/* ==============================
   VINIONA — Sanal mekan. Gerçek deneyim.
   ============================== */

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

:root {
    /* Surfaces */
    --bg:           #050508;
    --bg-2:         #0a0e18;
    --bg-3:         #0f1525;
    --line:         rgba(255,255,255,0.08);
    --line-strong:  rgba(255,255,255,0.18);

    /* Text */
    --text:         #ffffff;
    --text-muted:   rgba(255,255,255,0.62);
    --text-dim:     rgba(255,255,255,0.42);

    /* Brand gradient stops (extracted from brand wallpaper) */
    --brand-deep:   #082544;
    --brand-mid:    #0e5a7a;
    --brand-teal:   #1a9eb9;
    --brand-cyan:   #4ddfe6;
    --brand-glow:   rgba(77, 223, 230, 0.25);

    --gradient: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand-mid) 45%, var(--brand-teal) 75%, var(--brand-cyan) 100%);
    --gradient-soft: linear-gradient(120deg, rgba(8,37,68,0.6), rgba(26,158,185,0.35) 70%, rgba(77,223,230,0.25));

    /* Typography */
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Layout */
    --header-h: 76px;
    --container: 1240px;
    --pad-x: 32px;

    /* Motion */
    --ease:   cubic-bezier(0.22, 1, 0.36, 1);
    --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: auto; /* lenis controls scroll */
    background: var(--bg);
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100svh;
    overscroll-behavior-y: none;
    text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
input, textarea, select { font: inherit; color: inherit; }
.btn, .nav-cta { touch-action: manipulation; }

::selection { background: var(--brand-teal); color: var(--bg); }

/* Lenis */
html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--pad-x);
}

/* ——————————————————————————————
   TYPOGRAPHY UTILS
—————————————————————————————— */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.eyebrow__dot {
    width: 6px; height: 6px;
    background: var(--brand-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--brand-glow);
}

.grad {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradShift 14s var(--ease) infinite alternate;
}

@keyframes gradShift {
    from { background-position: 0% 50%; }
    to   { background-position: 100% 50%; }
}

/* ——————————————————————————————
   BUTTONS
—————————————————————————————— */

.btn {
    --btn-bg: transparent;
    --btn-color: var(--text);
    --btn-border: var(--line-strong);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--btn-color);
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--gradient);
    transform: translateY(101%);
    transition: transform 0.6s var(--ease);
}

.btn:hover { transform: translateY(-2px); border-color: transparent; }
.btn:hover::before { transform: translateY(0); }
.btn:focus-visible, .nav-cta:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 3px;
}
a:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 4px;
    border-radius: 4px;
}

.btn--primary {
    --btn-bg: var(--text);
    --btn-color: var(--bg);
    --btn-border: var(--text);
}
.btn--primary:hover { color: var(--text); }

.btn--ghost { --btn-bg: transparent; --btn-color: var(--text); }

.btn--full { width: 100%; }

.btn__arrow {
    display: inline-block;
    transition: transform 0.5s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ——————————————————————————————
   HEADER
—————————————————————————————— */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--header-h);
    padding-inline: var(--pad-x);
    background: transparent;
    transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
    border-bottom: 1px solid transparent;
}

.header.is-scrolled {
    background: rgba(5, 5, 8, 0.82);
    backdrop-filter: saturate(130%) blur(10px);
    -webkit-backdrop-filter: saturate(130%) blur(10px);
    border-bottom-color: var(--line);
}

.header__inner {
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand__mark {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: var(--brand-cyan);
    transition: transform 0.7s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(45deg); }

.brand__word { line-height: 1; }

.brand__logo {
    display: block;
    height: 38px;
    width: auto;
    transition: opacity 0.3s var(--ease);
}
.brand:hover .brand__logo { opacity: 0.85; }
.brand--footer .brand__logo { height: 36px; }

/* Primary nav */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.primary-nav a {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: color 0.3s var(--ease);
}
.primary-nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--brand-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--text);
    transition: border-color 0.3s var(--ease), background 0.4s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-cta:hover {
    background: linear-gradient(120deg, var(--brand-mid), var(--brand-teal));
    color: var(--text);
    border-color: var(--brand-cyan);
    box-shadow: 0 0 28px var(--brand-glow), 0 0 0 1px rgba(77, 223, 230, 0.35);
}
.nav-cta span {
    transition: transform 0.4s var(--ease);
}
.nav-cta:hover span { transform: translateX(3px); }

/* Language switch */
.lang-li { list-style: none; margin-left: 0.25rem; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
    cursor: pointer;
}
.lang-switch:hover {
    border-color: var(--line-strong);
    color: var(--text-muted);
}
.lang-switch__opt {
    color: var(--text-dim);
    transition: color 0.3s var(--ease);
    cursor: pointer;
}
.lang-switch__opt.is-active { color: var(--text); }
.lang-switch__opt:not(.is-active):hover { color: var(--text-muted); }
.lang-switch__sep {
    color: var(--text-dim);
    opacity: 0.45;
    pointer-events: none;
}

/* Menu toggle */
.menu-toggle {
    display: none;
    width: 36px; height: 36px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ——————————————————————————————
   HERO
—————————————————————————————— */

.hero {
    position: relative;
    min-height: 100svh;
    padding-top: var(--header-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg);
}

.mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.5;
    transform: translateZ(0);
    pointer-events: none;
}
.mesh--a {
    top: -10%; left: -8%;
    width: 48vmax; height: 48vmax;
    background: radial-gradient(circle, var(--brand-deep) 0%, transparent 60%);
    animation: meshFloatA 32s var(--ease) infinite alternate;
    will-change: transform;
}
.mesh--b {
    top: 20%; right: -15%;
    width: 42vmax; height: 42vmax;
    background: radial-gradient(circle, var(--brand-teal) 0%, transparent 60%);
    opacity: 0.36;
    animation: meshFloatB 38s var(--ease) infinite alternate;
    will-change: transform;
}
.mesh--c {
    bottom: -20%; left: 30%;
    width: 46vmax; height: 46vmax;
    background: radial-gradient(circle, var(--brand-mid) 0%, transparent 60%);
    opacity: 0.4;
    animation: meshFloatC 44s var(--ease) infinite alternate;
    will-change: transform;
}

@keyframes meshFloatA {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(8vw,5vh,0) scale(1.15); }
}
@keyframes meshFloatB {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(-6vw,-4vh,0) scale(1.1); }
}
@keyframes meshFloatC {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(-4vw,6vh,0) scale(1.2); }
}

.hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}

.hero__noise {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.18;
    pointer-events: none;
}

.hero__mark {
    position: absolute;
    top: 12%; right: 4%;
    width: clamp(280px, 36vw, 540px);
    height: clamp(280px, 36vw, 540px);
    color: var(--brand-cyan);
    opacity: 0.22;
    z-index: -1;
    will-change: transform;
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding-block: 6rem 8rem;
    max-width: 880px;
    /* Aligns left edge with header brand logo on wide viewports. */
    margin-left: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, var(--pad-x)));
    margin-right: auto;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 7vw, 6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 2.5rem;
}
.hero__title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}
.hero__title .line > span,
.hero__title .line { will-change: transform; }

.hero__lede {
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 2.5rem;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    z-index: 1;
}
.hero__scroll-line {
    position: relative;
    width: 1px;
    height: 50px;
    background: var(--line-strong);
    overflow: hidden;
}
.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--brand-cyan);
    animation: scrollDrop 2.4s var(--ease-2) infinite;
}
@keyframes scrollDrop {
    0%   { top: -50%; }
    60%  { top: 100%; }
    100% { top: 100%; }
}

/* ——————————————————————————————
   SECTIONS (general)
—————————————————————————————— */

.section {
    position: relative;
    padding-block: clamp(5rem, 11vw, 9rem);
    border-top: 1px solid var(--line);
}

.section--alt {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.section--alt::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(800px 400px at 80% 10%, rgba(26,158,185,0.10), transparent 60%),
        radial-gradient(600px 400px at 10% 90%, rgba(8,37,68,0.30), transparent 60%);
    pointer-events: none;
}
.section--alt > .container { position: relative; z-index: 1; }

.section__head {
    margin-bottom: 5rem;
    max-width: 760px;
}

.section__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.section__lede {
    font-size: clamp(0.98rem, 1.15vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
}

/* ——————————————————————————————
   CARDS (Çözüm)
—————————————————————————————— */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem 2.25rem;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
    border-radius: 24px;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(77,223,230,0.08), transparent 50%);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
    z-index: -1;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
@media (hover: none) {
    .card:hover { transform: none; border-color: var(--line); }
}

.card__glow {
    position: absolute;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--brand-glow), transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    transform: translate(-50%, -50%);
    left: var(--mx, 50%);
    top:  var(--my, 50%);
    z-index: -1;
    filter: blur(40px);
}
.card:hover .card__glow { opacity: 0.9; }

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}
.card__num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--text-dim);
}
.card__icon {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}
.card__icon svg { width: 22px; height: 22px; }

.card__title {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
    color: var(--text);
}
.card__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin-top: auto;
}
.card__tags li {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
}

/* ——————————————————————————————
   PROCESS (Süreç)
—————————————————————————————— */

.process {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.process__step {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.process__index {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.process__num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--brand-cyan);
}
.process__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--brand-cyan), transparent);
}

.process__body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 0.85rem;
}
.process__body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* ——————————————————————————————
   FEATURES (Neden Viniona)
—————————————————————————————— */

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature {
    padding: 2rem 0 0;
    border-top: 1px solid var(--line);
}

.feature__metric {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: var(--text);
}
.feature__num {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.feature__unit {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.feature p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ——————————————————————————————
   CONTACT (İletişim)
—————————————————————————————— */

.section--contact {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
    position: relative;
}
.section--contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 50%, transparent);
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: start;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact__item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line);
}
.contact__item:last-child { border-bottom: none; }

.contact__label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.contact__value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text);
    transition: color 0.3s var(--ease);
}
.contact__value:hover { color: var(--brand-cyan); }
.contact__value--small { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); }

/* Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.field {
    position: relative;
}

.field input,
.field textarea {
    width: 100%;
    padding: 22px 18px 14px;
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus {
    box-shadow: 0 0 0 3px rgba(77, 223, 230, 0.12);
}
.field textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.field label {
    position: absolute;
    top: 18px; left: 18px;
    font-family: var(--font-display);
    font-size: 0.86rem;
    color: var(--text-dim);
    pointer-events: none;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease), font-size 0.3s var(--ease);
    transform-origin: left top;
    background: transparent;
}

.field input:focus,
.field textarea:focus,
.field input:not(:placeholder-shown),
.field textarea:not(:placeholder-shown) {
    border-color: var(--brand-teal);
    background: rgba(26,158,185,0.04);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
    transform: translateY(-12px) scale(0.78);
    color: var(--brand-cyan);
}

.form__status {
    margin-top: 0.5rem;
    font-size: 0.88rem;
    min-height: 1.4em;
    color: var(--text-muted);
}
.form__status--success { color: #5eead4; }
.form__status--error   { color: #fda4af; }

/* ——————————————————————————————
   FOOTER
—————————————————————————————— */

.footer {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.2fr auto 1.2fr;
    gap: 3rem;
    align-items: start;
}

.footer__brand .brand { margin-bottom: 1rem; }

.brand--footer .brand__mark { color: var(--brand-cyan); }

.footer__tag {
    font-family: var(--font-display);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 280px;
}

.footer__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.75rem;
    align-self: center;
    justify-self: center;
}
.footer__nav a {
    font-family: var(--font-display);
    font-size: 0.86rem;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.3s var(--ease);
}
.footer__nav a:hover { color: var(--text); }

.footer__legal { text-align: right; }
.footer__copy {
    font-family: var(--font-display);
    font-size: 0.86rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.footer__sub {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* ——————————————————————————————
   PROJECTS PAGE
—————————————————————————————— */

.projects-hero {
    position: relative;
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: 4rem;
    overflow: hidden;
    isolation: isolate;
}
.projects-hero .hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--bg); }

.projects-hero__inner {
    max-width: 880px;
    margin-left: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, var(--pad-x)));
    margin-right: auto;
    padding-block: 2.5rem 2rem;
}

.projects-hero .breadcrumb {
    margin-left: calc(-1 * clamp(0px, (100vw - var(--container)) / 2, var(--pad-x)));
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-top: 1rem;
}
.breadcrumb a {
    color: var(--text-dim);
    transition: color 0.3s var(--ease);
}
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb__sep { opacity: 0.5; }
.breadcrumb__current { color: var(--text); }

.section--projects { border-top: 1px solid var(--line); }

.projects {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0;
    margin: 0;
}
.projects:has(.project:nth-child(1):last-child) {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
}

.project {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.project:hover { border-color: var(--line-strong); transform: translateY(-3px); }
@media (hover: none) {
    .project:hover { transform: none; border-color: var(--line); }
}

.project__cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    isolation: isolate;
    color: var(--brand-cyan);
    background: var(--bg-2);
}

.project__cover-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: transform 0.9s var(--ease), filter 0.5s var(--ease);
    will-change: transform;
}
.project__cover-bg::before,
.project__cover-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.7;
}
.project__cover-bg::before {
    width: 70%; height: 110%;
    top: -20%; left: -10%;
}
.project__cover-bg::after {
    width: 60%; height: 90%;
    bottom: -25%; right: -15%;
}

.project__cover-bg--auto::before { background: radial-gradient(circle, var(--brand-deep), transparent 70%); }
.project__cover-bg--auto::after  { background: radial-gradient(circle, var(--brand-teal), transparent 70%); }

.project__cover-bg--retail::before { background: radial-gradient(circle, var(--brand-mid), transparent 70%); }
.project__cover-bg--retail::after  { background: radial-gradient(circle, var(--brand-cyan), transparent 70%); opacity: 0.5; }

.project__cover-bg--realestate::before { background: radial-gradient(circle, #1a3658, transparent 70%); }
.project__cover-bg--realestate::after  { background: radial-gradient(circle, var(--brand-teal), transparent 70%); opacity: 0.55; }

/* Image cover variant */
.project__cover--image { background: var(--bg-3); }
.project__cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease), filter 0.6s var(--ease);
    will-change: transform;
}
.project__cover-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5,5,8,0) 55%, rgba(5,5,8,0.55) 100%),
        radial-gradient(120% 90% at 50% 0%, rgba(8,37,68,0.0), rgba(5,5,8,0.0) 70%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}
.project__cover--image:hover .project__cover-img { transform: scale(1.045); }

.project__cover-mark {
    position: absolute;
    top: 50%; left: 50%;
    width: 38%;
    height: auto;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.35);
    transition: transform 0.9s var(--ease), color 0.5s var(--ease);
}
.project__cover-mark svg { width: 100%; height: auto; display: block; }

.project__cover:hover .project__cover-bg { transform: scale(1.06); }
.project__cover:hover .project__cover-mark { transform: translate(-50%, -50%) rotate(45deg); color: rgba(255,255,255,0.55); }

.project__hover-cta {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(5, 5, 8, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
}
.project__cover:hover .project__hover-cta {
    opacity: 1;
    transform: translateY(0);
}

.project__body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.project__sector {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-cyan);
    border: 1px solid rgba(77, 223, 230, 0.28);
    border-radius: 999px;
    background: rgba(77, 223, 230, 0.05);
}
.project__sector--vistore {
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.74rem;
    color: var(--brand-cyan);
    border-color: rgba(77, 223, 230, 0.45);
    background: rgba(77, 223, 230, 0.08);
}
.project__brand {
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.04em;
}

.project__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 0.85rem;
    line-height: 1.2;
}

.project__desc {
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 12px 20px 12px 22px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--text);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    align-self: flex-start;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.project__cta:hover {
    background: linear-gradient(120deg, var(--brand-mid), var(--brand-teal));
    border-color: var(--brand-cyan);
    color: var(--text);
    transform: translateY(-2px);
    box-shadow: 0 0 24px var(--brand-glow);
}
.project__cta-arrow { transition: transform 0.4s var(--ease); }
.project__cta:hover .project__cta-arrow { transform: translateX(4px); }

/* Bottom strip */
.projects-cta {
    margin-top: 5rem;
    padding: 2.5rem 2.5rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(800px 400px at 100% 50%, rgba(26,158,185,0.10), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
}
.projects-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.projects-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.projects-cta__lede {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
}

/* ——————————————————————————————
   PROJECT FILTER CHIPS
—————————————————————————————— */

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.projects-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.projects-filter__chip:hover {
    color: var(--text);
    border-color: var(--line-strong);
    transform: translateY(-1px);
}
.projects-filter__chip.is-active {
    color: var(--bg);
    background: var(--text);
    border-color: var(--text);
}
.projects-filter__chip.is-active:hover { transform: translateY(-1px); }

/* Empty state */
.projects-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    border: 1px dashed var(--line);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
}
.projects-empty__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.projects-empty__desc {
    font-size: 0.96rem;
    color: var(--text-muted);
}

/* ——————————————————————————————
   PROJECT DETAIL PAGE
—————————————————————————————— */

.project-hero {
    position: relative;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
    overflow: hidden;
    isolation: isolate;
}
.project-hero .hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--bg); }

.project-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 920px;
    padding-block: 2.5rem 1rem;
}

.project-hero__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    max-width: 200px;
    max-height: 88px;
    margin-bottom: 1.75rem;
    overflow: hidden;
}
.project-hero__logo img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 88px;
    object-fit: contain;
    object-position: left center;
    display: block;
    filter: drop-shadow(0 8px 32px rgba(77, 223, 230, 0.18));
}

.project-hero__head {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.project-hero__sector {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--brand-cyan);
    border: 1px solid rgba(77, 223, 230, 0.45);
    background: rgba(77, 223, 230, 0.08);
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.project-hero__divider {
    width: 28px;
    height: 1px;
    background: var(--line-strong);
}
.project-hero__brand {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.04em;
}

.project-hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5.4vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text);
    margin-bottom: 1.5rem;
    max-width: 100%;
}
.project-hero__title .line {
    display: block;
    overflow: visible;
    padding-right: 0.12em;
}
.project-hero__title .line > span {
    display: inline-block;
    padding-right: 0.06em;
}

.project-hero__lede {
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 2.25rem;
}

.project-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.project-hero__brandcard {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--line);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    isolation: isolate;
    position: relative;
    overflow: hidden;
}
.project-hero__brandcard::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    background:
        radial-gradient(380px 220px at 100% 0%, rgba(77,223,230,0.10), transparent 70%),
        radial-gradient(380px 220px at 0% 100%, rgba(8,37,68,0.25), transparent 70%);
    pointer-events: none;
}
.project-hero__brandcard-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.25rem;
}
.project-hero__brandcard-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(77,223,230,0.12));
}
.project-hero__brandcard-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.project-hero__brandcard-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.project-hero__brandcard-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}
.project-hero__brandcard-sub {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Big cover image */
.project-cover { padding-block: 1.5rem 4rem; }
.project-cover__frame {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 8.5;
    background: var(--bg-2);
    position: relative;
    isolation: isolate;
}
.project-cover__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section heads (reusable for detail page) */
.section-head {
    max-width: 720px;
    margin-bottom: 3.5rem;
}
.section-head__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

/* Overview */
.section--project-overview { border-top: 1px solid var(--line); padding-block: clamp(4rem, 9vw, 7rem); }
.project-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4rem;
    align-items: start;
}
.project-overview__lead .eyebrow { margin-bottom: 1.5rem; }
.project-overview__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.018em;
    color: var(--text);
}
.project-overview__body {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.project-overview__body p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.project-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 5rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
}
.project-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.75rem 1.75rem;
    border-right: 1px solid var(--line);
}
.project-stat:last-child { border-right: 0; }
.project-stat__num {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.015em;
}
.project-stat__label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Highlights */
.section--project-highlights { padding-block: clamp(4rem, 9vw, 7rem); }
.project-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.project-highlight {
    position: relative;
    padding: 2.25rem 1.75rem 1.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.project-highlight:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.project-highlight__index {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--brand-cyan);
    margin-bottom: 1.5rem;
}
.project-highlight__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}
.project-highlight__desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Gallery */
.section--project-gallery { padding-block: clamp(4rem, 9vw, 7rem); }
.project-gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}
.project-gallery__item {
    grid-column: span 3;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    background: var(--bg-2);
}
.project-gallery__item--lg { grid-column: span 4; aspect-ratio: 16 / 10; }
.project-gallery__item--wide { grid-column: span 6; aspect-ratio: 16 / 7; }
.project-gallery__item:has(+ .project-gallery__item--lg) { grid-column: span 2; }
.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.project-gallery__item:hover img { transform: scale(1.04); }

/* Visit CTA */
.section--project-visit { padding-block: clamp(3rem, 7vw, 5rem); }
.project-visit {
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(900px 360px at 100% 50%, rgba(26,158,185,0.14), transparent 60%),
        radial-gradient(700px 300px at 0% 0%, rgba(8,37,68,0.35), transparent 60%),
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
    padding: 3rem 3rem;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.project-visit__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.project-visit__copy { max-width: 600px; }
.project-visit__copy .eyebrow { margin-bottom: 1.25rem; }
.project-visit__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 0.85rem;
}
.project-visit__lede {
    font-size: 1.02rem;
    color: var(--text-muted);
}
.btn--lg { padding: 20px 32px; font-size: 1rem; }

/* Back link */
.section--project-back { padding-block: 2rem 4rem; border-top: 0; }
.project-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.35s var(--ease), gap 0.35s var(--ease);
}
.project-back:hover { color: var(--text); gap: 14px; }
.project-back__arrow { transition: transform 0.35s var(--ease); }
.project-back:hover .project-back__arrow { transform: translateX(-3px); }

/* ——————————————————————————————
   REVEAL ANIMATIONS (no-JS fallback friendly)
—————————————————————————————— */

[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-in {
    opacity: 1;
    transform: none;
    will-change: auto;
}
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ——————————————————————————————
   RESPONSIVE — Tablet (≤1024px)
—————————————————————————————— */

@media (max-width: 1024px) {
    :root { --pad-x: 24px; }

    .hero__inner { padding-block: 5rem 7rem; }

    .cards { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr; gap: 3rem; }
    .features { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }

    .contact { grid-template-columns: 1fr; gap: 3rem; }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    .footer__nav {
        flex-wrap: wrap;
        gap: 1rem 1.75rem;
        justify-self: start;
    }
    .footer__legal { text-align: left; }
}

/* ——————————————————————————————
   RESPONSIVE — Mobile (≤768px)
—————————————————————————————— */

@media (max-width: 768px) {
    /* Heavy GPU effects off on mobile — major perf win */
    .mesh { animation: none !important; filter: blur(48px); opacity: 0.42; }
    .mesh--a { width: 70vw; height: 70vw; }
    .mesh--b { width: 60vw; height: 60vw; opacity: 0.3; }
    .mesh--c { width: 65vw; height: 65vw; opacity: 0.32; }
    .hero__noise { display: none; }
    .hero__grid { background-size: 56px 56px; opacity: 0.7; }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; --pad-x: 20px; }

    /* Mobile menu */
    .menu-toggle { display: flex; }

    .primary-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        background: rgba(5, 5, 8, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 3rem var(--pad-x);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s var(--ease);
        z-index: 99;
        overflow-y: auto;
    }
    .primary-nav.is-open {
        opacity: 1;
        pointer-events: auto;
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .primary-nav a {
        font-size: 1.6rem;
        color: var(--text);
        font-weight: 400;
        letter-spacing: -0.01em;
    }
    .primary-nav a:not(.nav-cta)::after { display: none; }
    .nav-cta {
        margin-top: 1rem;
        padding: 14px 24px;
        font-size: 1rem;
    }
    .lang-li { margin-top: 1.25rem; margin-left: 0; }
    .lang-switch {
        font-size: 0.92rem;
        padding: 12px 20px;
        gap: 10px;
        letter-spacing: 0.16em;
    }

    .brand__logo { height: 32px; }
    .brand--footer .brand__logo { height: 32px; }
    .header__inner { gap: 1rem; }

    /* Sections */
    .section { padding-block: clamp(3.75rem, 13vw, 5.5rem); }
    .section__head { margin-bottom: 2.75rem; }
    .section__title { font-size: clamp(2.1rem, 8.5vw, 3rem); }
    .section__lede { font-size: 1rem; }

    /* Hero — mobilde içerik üste yakın, dev boşluk olmasın */
    .hero {
        min-height: auto;
        align-items: flex-start;
        padding-top: calc(var(--header-h) + 0.5rem);
    }
    .hero__inner { padding-block: 1.25rem 4.5rem; max-width: 100%; }
    .hero__title { font-size: clamp(2.5rem, 12.5vw, 4.2rem); margin-bottom: 1.5rem; }
    .hero__lede { font-size: 1.05rem; margin-bottom: 1.75rem; line-height: 1.55; }
    .hero__cta { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .hero__cta .btn { width: 100%; }
    .hero__scroll { display: none; }
    .hero__mark {
        width: 78vw; height: 78vw;
        max-width: 480px; max-height: 480px;
        top: 32%; right: -18%; bottom: auto;
        opacity: 0.15;
    }
    .hero__grid { background-size: 60px 60px; }
    .eyebrow { margin-bottom: 1.25rem; }

    /* Cards */
    .cards { gap: 1rem; }
    .card { padding: 2rem 1.5rem 1.75rem; border-radius: 20px; }
    .card__head { margin-bottom: 2rem; }
    .card__title { font-size: 1.45rem; }
    .card__desc { font-size: 0.98rem; margin-bottom: 1.5rem; }

    /* Process */
    .process { gap: 2.5rem; }
    .process__body h3 { font-size: 1.45rem; }
    .process__body p { font-size: 0.98rem; }

    /* Features */
    .features { grid-template-columns: 1fr; gap: 1.75rem; }
    .feature { padding-top: 1.5rem; }
    .feature__metric { margin-bottom: 1rem; }

    /* Contact */
    .contact { gap: 2.5rem; }
    .contact__item { padding-bottom: 1.25rem; gap: 0.4rem; }
    .contact__info { gap: 1.75rem; }
    .contact__value { font-size: 1.02rem; }
    .contact__value--small { font-size: 0.92rem; }
    .field input, .field textarea { font-size: 16px; padding: 20px 16px 12px; }
    .field label { top: 16px; left: 16px; font-size: 0.92rem; }

    .footer { padding: 3rem 0 2rem; }
    .footer__nav { gap: 0.85rem 1.5rem; }

    /* Projects page — mobile */
    .projects-hero { padding-top: calc(var(--header-h) + 0.5rem); padding-bottom: 2rem; }
    .projects-hero__inner { padding-block: 1.5rem 1.5rem; }
    .projects { grid-template-columns: 1fr; gap: 1.25rem; }
    .projects:has(.project:nth-child(1):last-child) { grid-template-columns: 1fr; }
    .project__cover { aspect-ratio: 16 / 11; }
    .project__body { padding: 1.5rem 1.4rem 1.75rem; }
    .project__title { font-size: 1.35rem; }
    .project__desc { font-size: 0.96rem; }
    .projects-filter { margin-bottom: 1.75rem; gap: 0.5rem; }
    .projects-filter__chip { padding: 9px 15px; font-size: 0.8rem; }
    .projects-cta {
        margin-top: 3rem;
        padding: 2rem 1.5rem;
        border-radius: 22px;
    }
    .projects-cta__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .breadcrumb { font-size: 0.7rem; }

    /* Project detail — mobile */
    .project-hero { padding-top: calc(var(--header-h) + 0.5rem); padding-bottom: 1.5rem; }
    .project-hero__inner {
        padding-block: 1.25rem 0.5rem;
    }
    .project-hero__logo {
        max-width: 150px;
        max-height: 64px;
        margin-bottom: 1.25rem;
    }
    .project-hero__logo img { max-width: 150px; max-height: 64px; }
    .project-hero__title { font-size: clamp(2.1rem, 10.5vw, 3.4rem); margin-bottom: 1.25rem; }
    .project-hero__head { margin-bottom: 1rem; }
    .project-hero__lede { font-size: 1rem; margin-bottom: 1.75rem; }
    .project-hero__actions { flex-direction: column; align-items: stretch; gap: 0.7rem; width: 100%; }
    .project-hero__actions .btn { width: 100%; }

    .project-cover { padding-block: 1rem 2.5rem; }
    .project-cover__frame { border-radius: 18px; aspect-ratio: 16 / 11; }

    .section-head { margin-bottom: 2.25rem; }

    .project-overview { grid-template-columns: 1fr; gap: 2rem; }
    .project-stats { grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
    .project-stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.4rem 1.5rem; }
    .project-stat:nth-last-child(-n+2) { border-bottom: 0; }
    .project-stat:nth-child(odd) { border-right: 1px solid var(--line); }

    .project-highlights { grid-template-columns: 1fr; gap: 1rem; }
    .project-highlight { padding: 1.75rem 1.5rem 1.5rem; }

    .project-gallery { grid-template-columns: 1fr; gap: 1rem; }
    .project-gallery__item,
    .project-gallery__item--lg,
    .project-gallery__item--wide { grid-column: span 1; aspect-ratio: 16 / 11; }

    .project-visit { padding: 2rem 1.5rem; border-radius: 22px; }
    .project-visit__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .project-visit__inner .btn { width: 100%; }
    .btn--lg { padding: 16px 24px; font-size: 0.95rem; }

    .section--project-back { padding-block: 1.5rem 3rem; }
}

/* ——————————————————————————————
   RESPONSIVE — Small (≤480px)
—————————————————————————————— */

@media (max-width: 480px) {
    :root { --pad-x: 16px; }

    .header__inner { gap: 0.75rem; }
    .brand__logo { height: 28px; }
    .brand--footer .brand__logo { height: 28px; }

    .hero__inner { padding-block: 0.75rem 3.5rem; }
    .hero__title { font-size: clamp(2.2rem, 11.5vw, 3.2rem); letter-spacing: -0.025em; }
    .hero__lede { font-size: 1rem; }
    .hero__mark {
        width: 90vw; height: 90vw;
        max-width: 420px; max-height: 420px;
        top: 30%; right: -22%; bottom: auto;
        opacity: 0.13;
    }

    .section { padding-block: 3rem; }
    .section__head { margin-bottom: 2.25rem; }
    .section__title { font-size: clamp(1.95rem, 8vw, 2.5rem); }

    .card { padding: 1.75rem 1.35rem 1.5rem; border-radius: 18px; }
    .card__title { font-size: 1.2rem; }
    .card__desc { font-size: 0.9rem; }
    .card__head { margin-bottom: 1.75rem; }
    .card__icon { width: 40px; height: 40px; }
    .card__icon svg { width: 20px; height: 20px; }

    .process__body h3 { font-size: 1.2rem; }
    .process__body p { font-size: 0.92rem; }

    .feature__num { font-size: clamp(2rem, 11vw, 2.6rem); }
    .feature__unit { font-size: clamp(1.1rem, 5vw, 1.45rem); }
    .feature h3 { font-size: 1rem; }

    .contact { gap: 2rem; }
    .contact__value { font-size: 0.98rem; }

    .footer { padding: 2.5rem 0 1.75rem; }
    .footer__nav { gap: 0.75rem 1.25rem; font-size: 0.84rem; }

    .btn { padding: 13px 22px; font-size: 0.86rem; }
    .nav-cta { padding: 9px 16px; font-size: 0.82rem; }
}

/* ——————————————————————————————
   REDUCED MOTION
—————————————————————————————— */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .mesh, .hero__mark { animation: none !important; }
    .grad { animation: none !important; background-position: 0 0; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero__scroll-line::after { animation: none !important; display: none; }
}
