/* ╔═══════════════════════════════════════════════════════
   ║  KOGIS ARCHITECTURE — COMPLETE DESIGN SYSTEM v4.0
   ║  Premium Architecture Studio Website
   ╚═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    --dark:       #0A0A0A;
    --dark-2:     #141414;
    --dark-3:     #1A1A1A;
    --light:      #F0EDE8;
    --light-2:    #E8E4DF;
    --text-d:     #F0EDE8;
    --text-l:     #111111;
    --sub-d:      rgba(240,237,232,0.55);
    --sub-l:      rgba(17,17,17,0.5);
    --gold:       #C9A96E;
    --gold-dim:   rgba(201,169,110,0.15);
    --border-d:   rgba(240,237,232,0.1);
    --border-l:   rgba(17,17,17,0.12);

    --f-display:  'Cormorant Garamond', serif;
    --f-heading:  'Playfair Display', serif;
    --f-body:     'DM Sans', sans-serif;
    --f-label:    'Barlow Condensed', sans-serif;

    --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out:cubic-bezier(0.77, 0, 0.175, 1);
    --ease-expo:  cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body {
    font-family: var(--f-body);
    background: var(--dark);
    color: var(--text-d);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ── UTILITIES ──────────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.cormorant-italic { font-family: var(--f-display); font-style: italic; font-weight: 300; }
.barlow { font-family: var(--f-label); letter-spacing: 0.12em; text-transform: uppercase; }
.gold-text { color: var(--gold); }

/* ── PANELS ─────────────────────────────────────────────── */
.panel-dark  { background: var(--dark);  color: var(--text-d); }
.panel-light { background: var(--light); color: var(--text-l); }
.dark-text   { color: var(--text-l); }

/* ── SECTION NUMBER ─────────────────────────────────────── */
.section-num {
    position: absolute; top: 40px; right: 5%;
    font-family: var(--f-label); font-size: 11px;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(240,237,232,0.35);
    opacity: 0; transform: translateY(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-num.dark { color: rgba(17,17,17,0.35); }
.section-num.visible { opacity: 1; transform: translateY(0); }
section { position: relative; }

/* ── CUSTOM CURSOR ──────────────────────────────────────── */
.cursor {
    position: fixed; top: 0; left: 0;
    width: 10px; height: 10px;
    pointer-events: none; z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.08s linear;
}
.cursor-inner {
    width: 100%; height: 100%;
    background: #fff; border-radius: 50%;
    transition: transform 0.25s var(--ease-out);
}
.cursor.grow .cursor-inner { transform: scale(5); opacity: 0.6; }
.cursor.shrink .cursor-inner { transform: scale(0.5); }
@media (hover: none) { .cursor { display: none; } body { cursor: auto; } button { cursor: pointer; } }

/* ══════════════════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════════════════ */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: var(--dark);
    display: none !important;
    align-items: center; justify-content: center;
    flex-direction: column; gap: 12px;
}
.preloader-inner {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.preloader-svg {
    width: clamp(260px, 50vw, 480px); height: auto;
    overflow: visible;
}
.preloader-text {
    font-family: var(--f-display);
    font-size: 80px; font-weight: 300;
    fill: none;
    stroke: var(--text-d);
    stroke-width: 0.8;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: drawStroke 1.6s var(--ease-expo) forwards;
    letter-spacing: 0.12em;
}
@keyframes drawStroke {
    0%   { stroke-dashoffset: 1200; fill: transparent; }
    70%  { stroke-dashoffset: 0;    fill: transparent; }
    100% { stroke-dashoffset: 0;    fill: var(--text-d); }
}
.preloader-tagline {
    font-size: 0.85rem; letter-spacing: 0.5em;
    color: var(--gold);
    opacity: 0; animation: fadeIn 0.6s ease 1.2s forwards;
}
.preloader-wipe {
    position: absolute; inset: 0;
    background: var(--dark);
    transform-origin: left;
    transform: scaleX(0);
}
.preloader.exit .preloader-wipe {
    animation: wipeExit 0.8s var(--ease-in-out) forwards;
}
@keyframes wipeExit {
    0%   { transform: scaleX(0); transform-origin: left; }
    50%  { transform: scaleX(1); transform-origin: left; }
    50.1%{ transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}
body.loaded .preloader { pointer-events: none; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 28px 0;
    transition: padding 0.4s ease, background 0.4s ease;
}
.nav.scrolled {
    padding: 16px 0;
    background: rgba(10,10,10,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-d);
}
.nav.on-light.scrolled {
    background: rgba(240,237,232,0.9);
    border-bottom-color: var(--border-l);
}
.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1240px; margin: 0 auto; padding: 0 5%;
}
.nav-logo {
    font-family: var(--f-label); font-size: 0.95rem;
    letter-spacing: 0.25em; color: var(--text-d);
    transition: color 0.4s, letter-spacing 0.4s;
}
.nav-logo:hover { letter-spacing: 0.35em; }
.nav.on-light .nav-logo { color: var(--text-l); }
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-link {
    font-family: var(--f-label); font-size: 0.8rem;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sub-d); position: relative; padding: 4px 0;
    transition: color 0.3s;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--text-d); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav.on-light .nav-link { color: var(--sub-l); }
.nav.on-light .nav-link:hover { color: var(--text-l); }
.nav-cta {
    padding: 10px 24px;
    border: 1px solid rgba(201,169,110,0.5);
    color: var(--gold) !important;
    transition: background 0.3s, color 0.3s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--dark) !important; }
.nav-cta::after { display: none; }
.nav-hamburger { display: none; flex-direction: column; gap: 6px; padding: 4px; }
.nav-hamburger span { display: block; width: 26px; height: 1.5px; background: var(--text-d); transition: 0.3s; }
.nav.on-light .nav-hamburger span { background: var(--text-l); }

/* Mobile overlay */
.mobile-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: var(--dark);
    clip-path: circle(0% at 95% 5%);
    transition: clip-path 0.7s var(--ease-in-out);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 12px;
}
.mobile-overlay.open { clip-path: circle(150% at 95% 5%); }
.mobile-close {
    position: absolute; top: 28px; right: 5%;
    font-size: 1.4rem; color: var(--sub-d);
    background: none; border: none; cursor: none;
    opacity: 0; transition: opacity 0.3s 0.5s, color 0.3s;
}
.mobile-overlay.open .mobile-close { opacity: 1; }
.mobile-close:hover { color: var(--gold); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 20px; text-align: center; }
.mobile-menu-links a {
    font-family: var(--f-display); font-size: clamp(2.2rem, 7vw, 3.8rem);
    color: var(--text-d); opacity: 0; transform: translateY(30px);
    transition: opacity 0.4s, transform 0.4s, color 0.3s;
}
.mobile-overlay.open .mobile-menu-links a { opacity: 1; transform: translateY(0); }
.mobile-overlay.open .mobile-menu-links a:nth-child(1) { transition-delay: 0.15s; }
.mobile-overlay.open .mobile-menu-links a:nth-child(2) { transition-delay: 0.2s; }
.mobile-overlay.open .mobile-menu-links a:nth-child(3) { transition-delay: 0.25s; }
.mobile-overlay.open .mobile-menu-links a:nth-child(4) { transition-delay: 0.3s; }
.mobile-overlay.open .mobile-menu-links a:nth-child(5) { transition-delay: 0.35s; }
.mobile-overlay.open .mobile-menu-links a:nth-child(6) { transition-delay: 0.4s; }
.mobile-menu-links a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
    height: 100svh; min-height: 700px;
    display: flex; align-items: center;
    overflow: hidden; position: relative;
}
.hero-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 111%;
    object-fit: cover;
    filter: brightness(0.58) contrast(1.05);
    will-change: transform;
    contain: strict;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 50%, rgba(10,10,10,0.9) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 0 5%; max-width: 1240px; margin: 0 auto; width: 100%;
    will-change: transform, opacity;
}
.hero-label {
    font-size: 0.75rem; letter-spacing: 0.3em;
    color: var(--gold); margin-bottom: 28px;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.4s forwards;
}
.hero-heading {
    font-family: var(--f-display);
    font-size: clamp(4rem, 11vw, 9.5rem);
    font-weight: 300; line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}
.word-wrap {
    display: block; overflow: hidden;
    height: clamp(4.5rem, 12vw, 10.2rem);
    position: relative;
}
.word-row {
    display: flex; flex-direction: column;
    position: absolute; top: 0; left: 0;
    transition: transform 0.7s var(--ease-in-out);
}
.word-item {
    display: block;
    height: clamp(4.5rem, 12vw, 10.2rem);
    line-height: clamp(4.5rem, 12vw, 10.2rem);
    color: var(--text-d);
    opacity: 0; animation: fadeIn 0.3s ease forwards;
}
.word-item.active { opacity: 1; }
.hero-fixed-line {
    display: block; opacity: 0;
    animation: fadeUp 0.9s var(--ease-out) forwards;
}
.hero-fixed-line:nth-child(2) { animation-delay: 0.5s; }
.hero-fixed-line:nth-child(3) { animation-delay: 0.65s; color: var(--gold); }
.hero-sub {
    max-width: 520px; font-size: 1rem; line-height: 1.75;
    color: var(--sub-d); margin-top: 28px;
    opacity: 0; animation: fadeUp 1s var(--ease-out) 0.9s forwards;
}
.hero-ctas {
    display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 1s var(--ease-out) 1.1s forwards;
}
.btn-gold {
    display: inline-flex; align-items: center;
    padding: 14px 36px;
    background: var(--gold); color: var(--dark);
    font-family: var(--f-label); font-size: 0.8rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: none;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(201,169,110,0.35); }
.btn-ghost {
    display: inline-flex; align-items: center;
    padding: 13px 36px;
    border: 1px solid rgba(240,237,232,0.3);
    color: var(--text-d);
    font-family: var(--f-label); font-size: 0.8rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
    cursor: none;
}
.btn-ghost:hover { border-color: var(--text-d); background: var(--text-d); color: var(--dark); }

/* Circular rotating button */
.circle-btn {
    position: absolute; bottom: 60px; right: 6%;
    width: 96px; height: 96px; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; animation: fadeIn 1s ease 1.4s forwards;
}
.circle-text-svg {
    position: absolute; inset: 0;
    animation: spin 10s linear infinite;
    transform-origin: center;
}
.circle-text-path { fill: rgba(240,237,232,0.6); font-family: var(--f-label); font-size: 13px; letter-spacing: 0.12em; }
.circle-btn-arrow { font-size: 1.4rem; color: #fff; z-index: 1; transition: transform 0.3s; }
.circle-btn:hover .circle-btn-arrow { transform: scale(1.3); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 60px; left: 5%; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(240,237,232,0.5));
    animation: scrollLineAnim 2s ease-in-out infinite;
}
@keyframes scrollLineAnim {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-scroll-hint span { font-size: 9px; letter-spacing: 0.3em; color: var(--sub-d); writing-mode: vertical-rl; }

/* ══════════════════════════════════════════════════════════
   KEYFRAMES
══════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ══════════════════════════════════════════════════════════
   MARQUEE BAND
══════════════════════════════════════════════════════════ */
.marquee-band {
    overflow: hidden; padding: 18px 0;
    border-top: 1px solid var(--border-d);
    border-bottom: 1px solid var(--border-d);
}
.marquee-track { overflow: hidden; }
.marquee-inner {
    display: flex; white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
.marquee-inner span {
    font-family: var(--f-label); font-size: 0.8rem;
    letter-spacing: 0.18em; padding: 0 30px;
    color: var(--sub-d); text-transform: uppercase;
    transition: color 0.3s; flex-shrink: 0;
}
.marquee-inner span:hover { color: var(--text-d); }
.marquee-inner .dot { color: var(--gold); padding: 0 5px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL CLASSES
══════════════════════════════════════════════════════════ */
.line-wrap { overflow: hidden; }
.line-text {
    display: block;
    transform: translateY(105%);
    transition: transform 0.9s var(--ease-in-out);
}
.line-text.visible { transform: translateY(0); }
.split-heading {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 300; line-height: 1.05;
    margin: 20px 0 40px;
}
.split-heading .line-text { display: block; }
.reveal-up {
    opacity: 0; transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-up:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4) { transition-delay: 0.3s; }
.reveal-card {
    opacity: 0; transform: translateY(80px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-card.visible { opacity: 1; transform: translateY(0); }
.section-label { font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { padding: 130px 0; overflow: hidden; }
.about-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start;
}
.about-left { padding-top: 20px; }
.about-body p { font-size: 1.05rem; line-height: 1.8; color: var(--sub-l); margin-bottom: 20px; }
.about-gold-line {
    height: 1px; background: var(--gold); width: 80px;
    margin: 36px 0;
}
.about-meta { display: flex; gap: 32px; align-items: center; }
.about-est, .about-loc { font-size: 0.7rem; letter-spacing: 0.25em; color: var(--sub-l); }
.about-est { color: var(--gold); }

/* Float cards */
.about-right { position: relative; height: 620px; }
.float-cards { position: relative; height: 100%; }
.float-card {
    position: absolute;
    border-radius: 8px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.float-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) contrast(1.05); transition: transform 0.7s var(--ease-out), filter 0.5s; }
.float-card:hover img { transform: scale(1.04); filter: grayscale(0); }
.float-card--a { width: 68%; aspect-ratio: 4/5; top: 0; right: 0; }
.float-card--b { width: 48%; aspect-ratio: 1/1; bottom: 0; left: 0; animation: floatUp 7s ease-in-out infinite; }
.float-card--c { width: 38%; aspect-ratio: 4/5; top: 38%; right: 62%; animation: floatUp 9s ease-in-out infinite 1s; }
@keyframes floatUp { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-18px); } }
.about-vertical-label {
    position: absolute; right: -24px; top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 0.65rem; letter-spacing: 0.4em;
    color: rgba(17,17,17,0.2); white-space: nowrap;
    pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   SERVICES — 4-COLUMN CARD GRID
══════════════════════════════════════════════════════════ */
.services { padding: 130px 0; }
.services-top { margin-bottom: 70px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.service-card {
    position: relative;
    border: 1px solid var(--border-d);
    border-radius: 8px;
    overflow: hidden;
    min-height: 420px;
    cursor: none;
    transition: border-color 0.4s;
    transform-style: preserve-3d;
}
.service-card:hover { border-color: var(--gold); }
.service-card-bg {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 0.5s ease;
}
.service-card-bg img {
    filter: brightness(0.35) saturate(0.6);
    transition: transform 0.7s var(--ease-out);
}
.service-card:hover .service-card-bg { opacity: 1; }
.service-card:hover .service-card-bg img { transform: scale(1.06); }
.service-card-body {
    position: relative; z-index: 2;
    padding: 36px 28px 32px;
    height: 100%; display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-3) 100%);
    transition: background 0.5s ease;
}
.service-card:hover .service-card-body {
    background: linear-gradient(180deg, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.6) 100%);
}
.service-card-icon {
    color: var(--gold); margin-bottom: 28px;
    transition: transform 0.4s var(--ease-out);
}
.service-card:hover .service-card-icon { transform: translateY(-4px); }
.service-card-num {
    font-size: 0.65rem; letter-spacing: 0.3em;
    color: var(--sub-d); margin-bottom: 12px;
}
.service-card-title {
    font-family: var(--f-display);
    font-size: 1.7rem; font-weight: 300; line-height: 1.2;
    margin-bottom: 16px; flex: 1;
}
.service-card-desc {
    font-size: 0.88rem; line-height: 1.65;
    color: var(--sub-d);
    transition: color 0.3s;
}
.service-card:hover .service-card-desc { color: var(--text-d); }

/* ══════════════════════════════════════════════════════════
   FEATURED WORKS SLIDER
══════════════════════════════════════════════════════════ */
.works { padding: 120px 0; overflow: hidden; }
.works-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 60px;
}
.works-title { font-size: clamp(2rem, 4vw, 3.5rem); color: var(--text-d); }
.works-nav-btn {
    font-size: 0.8rem; color: var(--sub-d);
    transition: color 0.3s; padding: 8px 0;
}
.works-nav-btn:hover { color: var(--gold); }
.works-slider {
    display: flex; gap: 20px;
    padding: 0 5%; overflow: visible;
    transition: transform 0.75s var(--ease-in-out);
}
.work-card {
    flex: 0 0 calc(33.333% - 14px);
    transform: scale(0.97); opacity: 0.65;
    transition: transform 0.6s var(--ease-out), opacity 0.6s ease;
}
.work-card.active { transform: scale(1.02); opacity: 1; }
.work-card-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    /* Fallback for browsers with aspect-ratio issues */
    min-height: 360px;
}
.work-card-img > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
    filter: brightness(0.85) contrast(1.05);
}
.work-card:hover img { transform: scale(1.07); }
.work-card-overlay {
    position: absolute; inset: 0; padding: 28px;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.85) 100%);
    display: flex; flex-direction: column; justify-content: space-between;
    opacity: 0; transition: opacity 0.4s ease;
}
.work-card:hover .work-card-overlay { opacity: 1; }
.work-num { font-family: var(--f-label); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--sub-d); }
.work-info { transform: translateY(20px); transition: transform 0.4s var(--ease-out); }
.work-card:hover .work-info { transform: translateY(0); }
.work-loc { font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.15em; color: var(--gold); display: block; margin-bottom: 6px; }
.work-name { font-family: var(--f-display); font-size: 1.5rem; font-weight: 300; color: #fff; }
.work-link { font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.7); display: inline-block; margin-top: 10px; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.work-link:hover { color: var(--gold); border-color: var(--gold); }
.works-dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.dot-item { width: 24px; height: 2px; background: var(--border-d); transition: background 0.3s, width 0.3s; cursor: none; }
.dot-item.active { background: var(--gold); width: 48px; }

/* ══════════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════════ */
.process { padding: 130px 0; overflow: hidden; }
.process-top { margin-bottom: 80px; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
    display: flex; gap: 24px; padding: 32px 0;
    border-bottom: 1px solid var(--border-d);
}
.process-step:nth-child(2) { transition-delay: 0.08s; }
.process-step:nth-child(3) { transition-delay: 0.16s; }
.process-step:nth-child(4) { transition-delay: 0.24s; }
.process-step:nth-child(5) { transition-delay: 0.32s; }
.step-num { font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); min-width: 44px; padding-top: 6px; }
.step-title { font-family: var(--f-heading); font-size: 1.3rem; margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; line-height: 1.7; color: var(--sub-d); }
.process-float-imgs { position: relative; height: 580px; }
.float-card--proc-a { width: 82%; aspect-ratio: 4/5; top: 0; right: 0; transition-delay: 0.1s; }
.float-card--proc-b { width: 54%; aspect-ratio: 4/3; bottom: 0; left: 0; transition-delay: 0.25s; animation: floatUp 8s ease-in-out infinite 0.5s; }

/* ══════════════════════════════════════════════════════════
   MANIFESTO
══════════════════════════════════════════════════════════ */
.manifesto {
    position: relative; min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center;
}
.manifesto-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 130%; top: -15%;
    will-change: transform;
}
.manifesto-bg-img img { filter: brightness(0.45) saturate(0.7); }
.manifesto-veil { position: absolute; inset: 0; background: rgba(10,10,10,0.75); }
.manifesto-inner { position: relative; z-index: 2; }
.manifesto-q {
    font-family: var(--f-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300; line-height: 1.45;
    color: var(--text-d);
}
.manifesto-cite { display: block; margin-top: 30px; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   GALLERY — MASONRY-STYLE
══════════════════════════════════════════════════════════ */
.gallery-sec { padding: 120px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 12px; margin-top: 50px;
}
.g-item { overflow: hidden; border-radius: 4px; position: relative; }
.g-item img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.5s;
    filter: grayscale(0.2) brightness(0.9) contrast(1.05);
}
.g-item:hover img { transform: scale(1.06); filter: grayscale(0) brightness(1); }
.g-item.reveal-card { transition-delay: calc(var(--i, 0) * 0.07s); }
.gallery-more-wrap { text-align: center; margin-top: 60px; }
.gallery-more-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 40px;
    border: 1px solid var(--border-l);
    font-size: 0.8rem; letter-spacing: 0.2em;
    color: var(--text-l);
    background: none;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.gallery-more-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   COUNTERS / ACHIEVEMENTS
══════════════════════════════════════════════════════════ */
.counters { padding: 110px 0; border-top: 1px solid var(--border-d); }
.counters-inner {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: nowrap;
}
.counter-item {
    flex: 1; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    padding: 40px 24px;
}
.counter-num {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 300; line-height: 1;
    display: inline-block;
    will-change: transform;
}
.counter-plus {
    font-family: var(--f-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1; margin-left: 4px;
    vertical-align: top; padding-top: 8px;
    display: inline;
}
.counter-label {
    font-size: 0.72rem; letter-spacing: 0.22em;
    color: var(--sub-d); display: block;
}
.counters-divider {
    width: 1px; height: 80px;
    background: var(--border-d);
    flex-shrink: 0;
}
/* Stagger counter items */
.counter-item:nth-child(1) { transition-delay: 0s; }
.counter-item:nth-child(3) { transition-delay: 0.1s; }
.counter-item:nth-child(5) { transition-delay: 0.2s; }
.counter-item:nth-child(7) { transition-delay: 0.3s; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testimonials { padding: 120px 0 80px; }
.testi-header { margin-bottom: 60px; }
.testi-slider { position: relative; overflow: hidden; }
.testi-slide { display: none; grid-template-columns: 40% 60%; min-height: 520px; }
.testi-slide.active { display: grid; animation: testiIn 0.8s var(--ease-out); }
@keyframes testiIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.testi-left {
    padding: 60px 5% 60px 5%;
    background: var(--light-2);
    display: flex; flex-direction: column; gap: 24px;
}
.testi-client-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.testi-name { font-family: var(--f-heading); font-size: 1.4rem; color: var(--text-l); }
.testi-proj { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--gold); }
.testi-text { font-size: 1.05rem; line-height: 1.8; color: var(--sub-l); flex: 1; font-style: italic; }
.testi-right { overflow: hidden; }
.testi-right img { height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.05) brightness(0.95); }
.testi-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--border-l); margin-top: 40px; }
.testi-btn { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--sub-l); transition: color 0.3s; }
.testi-btn:hover { color: var(--text-l); }
.testi-count { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--sub-l); }

/* ══════════════════════════════════════════════════════════
   FOUNDER / TEAM
══════════════════════════════════════════════════════════ */
.team { padding: 120px 0; }
.founder-inner {
    display: grid; grid-template-columns: 45% 55%;
    gap: 80px; align-items: center; margin-bottom: 100px;
}
.founder-image-col { position: relative; }
.founder-img-frame {
    position: relative; border-radius: 8px; overflow: hidden;
    aspect-ratio: 4/5;
    transform-style: preserve-3d;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.founder-img-frame img {
    filter: grayscale(20%) contrast(1.1) brightness(0.95);
    transition: transform 0.6s var(--ease-out);
}
.founder-img-frame:hover img { transform: scale(1.04); }
.founder-img-border {
    position: absolute;
    inset: -14px -14px 14px 14px;
    border: 1px solid var(--gold);
    border-radius: 10px; z-index: -1;
    opacity: 0.55;
    pointer-events: none;
}
.founder-img-label {
    position: absolute; bottom: -24px; left: 0; right: 0;
    text-align: center; font-size: 0.65rem; letter-spacing: 0.35em;
    color: rgba(17,17,17,0.4);
}
.founder-text-col { padding-top: 10px; }
.founder-role { font-size: 0.7rem; letter-spacing: 0.2em; color: var(--sub-l); margin-bottom: 28px; display: block; }
.founder-bio p { font-size: 1rem; line-height: 1.8; color: var(--sub-l); margin-bottom: 16px; }
.founder-quote {
    font-family: var(--f-display);
    font-size: 1.25rem; font-weight: 300;
    line-height: 1.6; color: var(--text-l);
    border-left: 2px solid var(--gold);
    padding-left: 20px; margin: 28px 0;
    display: block;
}
.founder-social { display: flex; gap: 28px; margin-top: 28px; }
.social-link {
    font-size: 0.7rem; letter-spacing: 0.2em;
    color: var(--sub-l);
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}
.social-link:hover { color: var(--gold); border-color: var(--gold); }

/* Team List */
.team-divider { height: 1px; background: var(--border-l); margin-bottom: 50px; }
.team-heading-row { margin-bottom: 10px; }
.team-inner { position: relative; }
.team-photo-reveal {
    position: fixed; pointer-events: none; z-index: 500;
    width: 200px; height: 260px;
    border-radius: 6px; overflow: hidden;
    opacity: 0; transform: scale(0.92) rotate(-2deg);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.team-photo-reveal.visible { opacity: 1; transform: scale(1) rotate(0deg); }
.team-photo-reveal img { object-fit: cover; width: 100%; height: 100%; filter: grayscale(0.2); }
.team-list { border-top: 1px solid var(--border-l); }
.team-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 28px 0; border-bottom: 1px solid var(--border-l);
    cursor: none; transition: background 0.3s, padding 0.3s;
}
.team-row:hover { background: var(--light-2); padding-left: 16px; padding-right: 16px; margin: 0 -16px; }
.team-role { font-size: 0.72rem; letter-spacing: 0.18em; color: var(--sub-l); }
.team-name { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); color: var(--text-l); font-weight: 300; transition: color 0.3s; }
.team-row:hover .team-name { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact { padding: 130px 0; }
.contact-inner { display: grid; grid-template-columns: 45% 55%; gap: 80px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 28px; margin-top: 50px; }
.contact-label { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--gold); display: block; margin-bottom: 6px; }
.contact-item p { font-size: 1rem; line-height: 1.6; color: var(--sub-d); }
.contact-item a { color: var(--sub-d); transition: color 0.3s; }
.contact-item a:hover { color: var(--gold); }
.contact-map {
    margin-top: 36px; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border-d);
    filter: grayscale(0.8) invert(0.9) contrast(0.9);
    transition: filter 0.4s;
}
.contact-map:hover { filter: grayscale(0) invert(0) contrast(1); }
.contact-map iframe { display: block; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 0; padding-top: 80px; }
.field-group { border-bottom: 1px solid var(--border-d); margin-bottom: 0; padding: 16px 0; position: relative; }
.field-group:first-child { border-top: 1px solid var(--border-d); }
input, select, textarea {
    width: 100%; background: transparent; border: none; outline: none;
    color: var(--text-d); font-family: var(--f-body); font-size: 1rem;
    padding: 8px 0; display: block;
}
input::placeholder, textarea::placeholder { color: var(--sub-d); }
select option { background: var(--dark); color: var(--text-d); }
textarea { resize: none; }
.field-error { font-size: 0.72rem; color: #e05252; letter-spacing: 0.05em; margin-top: 4px; display: none; }
.field-error.show { display: block; }
.submit-btn {
    display: inline-flex; align-items: center; justify-content: space-between;
    padding: 20px 0; margin-top: 32px;
    font-size: 0.8rem; letter-spacing: 0.2em;
    color: var(--text-d); border-bottom: 1px solid var(--gold);
    transition: letter-spacing 0.4s, color 0.3s;
    background: none;
}
.submit-btn:hover { letter-spacing: 0.35em; color: var(--gold); }
.form-success {
    font-size: 0.85rem; color: var(--gold); letter-spacing: 0.08em;
    margin-top: 16px; display: none;
}
.form-success.show { display: block; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { padding: 90px 0 40px; position: relative; overflow: hidden; border-top: 1px solid var(--gold); }
.watermark {
    position: absolute; bottom: -2vw; left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-display); font-size: 20vw;
    font-weight: 700; letter-spacing: 0.1em;
    color: rgba(240,237,232,0.04); line-height: 1;
    white-space: nowrap; pointer-events: none;
    user-select: none; will-change: transform;
}
.footer-inner { position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { font-family: var(--f-label); font-size: 1.1rem; letter-spacing: 0.3em; margin-bottom: 8px; }
.footer-tagline { font-size: 0.65rem; letter-spacing: 0.3em; color: var(--sub-d); margin-bottom: 16px; }
.footer-about { font-size: 0.9rem; line-height: 1.7; color: var(--sub-d); max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 40px; }
.footer-col h5 { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 0.9rem; color: var(--sub-d); transition: color 0.3s, padding-left 0.3s; display: block; }
.footer-col a:hover { color: var(--text-d); padding-left: 6px; }
.footer-col p { font-size: 0.9rem; color: var(--sub-d); line-height: 1.8; margin-bottom: 8px; }
.footer-contact-link { font-size: 0.85rem; color: var(--gold); letter-spacing: 0.05em; transition: opacity 0.3s; }
.footer-contact-link:hover { opacity: 0.75; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-d); }
.footer-bottom p { font-size: 0.65rem; letter-spacing: 0.15em; color: rgba(240,237,232,0.3); }

/* Scroll to top */
.scroll-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 46px; height: 46px;
    background: var(--gold); color: var(--dark);
    border-radius: 50%; font-size: 1rem;
    display: none; align-items: center; justify-content: center;
    z-index: 999; cursor: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(201,169,110,0.4);
}
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(201,169,110,0.5); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .founder-inner { grid-template-columns: 40% 60%; gap: 60px; }
}

@media (max-width: 1024px) {
    .about-inner { grid-template-columns: 1fr; }
    .about-right { height: 450px; }
    .float-card--a { width: 55%; }
    .float-card--b { width: 40%; }
    .float-card--c { display: none; }
    .about-vertical-label { display: none; }
    .process-grid { grid-template-columns: 1fr; }
    .process-float-imgs { display: none; }
    .contact-inner { grid-template-columns: 1fr; gap: 50px; }
    .contact-form { padding-top: 0; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .work-card { flex: 0 0 calc(50% - 10px); }
    .founder-inner { grid-template-columns: 1fr; }
    .founder-image-col { max-width: 420px; margin: 0 auto 60px; }
    .counters-inner { flex-wrap: wrap; gap: 0; }
    .counter-item { min-width: 45%; }
    .counters-divider:nth-child(4) { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-heading { font-size: clamp(3rem, 10vw, 5rem); }
    .circle-btn { bottom: 30px; right: 4%; width: 76px; height: 76px; }
    .about-right { height: 340px; }
    .work-card { flex: 0 0 85%; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 320px; }
    .testi-slide { grid-template-columns: 1fr; }
    .testi-right { height: 280px; }
    .team-photo-reveal { display: none; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .section-num { font-size: 9px; top: 24px; }
    .counters-inner { flex-direction: column; align-items: stretch; }
    .counters-divider { width: 80px; height: 1px; margin: 0 auto; }
    .hero-ctas { flex-direction: column; }
    .btn-gold, .btn-ghost { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .g-item.g-tall { grid-row: span 1; }
    .contact-map iframe { height: 200px; }
}

/* ── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .float-card--b, .float-card--c, .float-card--proc-b { animation: none; }
    .preloader-text { stroke-dashoffset: 0; fill: var(--text-d); }
}
\n
/* ═══════════════════════════════════════════ */
/* LIGHTBOX                                    */
/* ═══════════════════════════════════════════ */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}
.lightbox.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}
.lightbox.active .lightbox-img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px; right: 40px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    background: none; border: none;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}
.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}
.g-item { cursor: pointer; overflow: hidden; }
.g-item img { transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.g-item:hover img { transform: scale(1.05); }
