.playfair{
             font-family: "Playfair", serif;
             font-optical-sizing: auto;
             font-weight: 500;
             font-style: normal;
             font-variation-settings:
                     "wdth" 100;
           }

.montserrat {
                 font-family: "Montserrat", sans-serif;
                 font-optical-sizing: auto;
                 font-weight: 500;
                 font-style: normal;
             }

.montbold {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.track {
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 100%;
    overflow: visible;
    will-change: transform;
}

.card {
    position: absolute;
    top: 50%;
    margin-top: -210px;
    width: 290px;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    will-change: transform, filter;
}

.card .card-bg {
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.card .card-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    z-index: 10;
    padding: 1rem;
}

.stage::before, .stage::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 160px;
    z-index: 30;
    pointer-events: none;
}

.grid-bg {
    background-image:
            linear-gradient(rgba(200,184,154,0.04) 1px, transparent 1px),
            linear-gradient(90deg, rgba(200,184,154,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.card-hover-fill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #2e2b26;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.card-hover-fill:hover::before { transform: translateY(0); }
.card-hover-fill > * { position: relative; z-index: 1; }

.arrow-link { transition: gap 0.3s ease; }
.card-hover-fill:hover .arrow-link { gap: 16px; }
.arrow-link svg { transition: transform 0.3s ease; }
.card-hover-fill:hover .arrow-link svg { transform: translateX(4px); }

.card-icon { transition: opacity 0.3s ease, transform 0.4s ease; opacity: 0.7; }
.card-hover-fill:hover .card-icon { opacity: 1; transform: scale(1.05); }

.corner-bracket { transition: border-color 0.3s ease, transform 0.3s ease; }
.card-hover-fill:hover .corner-bracket {
    border-color: rgba(200,184,154,0.6);
    transform: scale(1.2);
}

.label-bar::after {
    content: '';
    display: inline-block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, #b89b6a, transparent);
    vertical-align: middle;
    margin-left: 14px;
}

/* ===== Animations ===== */

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes lineGrow {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}


/* ===== Utility classes (Tailwind-like) ===== */

.animate-fade-up {
    animation: fadeUp 0.9s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-line-grow {
    animation: lineGrow 1.2s ease forwards;
}


body { cursor: none; } 

#cursor {
    position: fixed;
    width: 7px; height: 7px;
    background: #1e1e1c;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

#cursor-ring {
    position: fixed;
    width: 32px; height: 32px;
    border: 1px solid rgba(30,30,28,0.25);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.hover-expand:hover ~ #cursor-ring,
.hover-cursor #cursor-ring {
    width: 52px; height: 52px;
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
/*.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }*/

/* Reveal animation delays */
.reveal.delay-1   { transition-delay: 0.1s; }
.reveal.delay-2   { transition-delay: 0.2s; }
.reveal.delay-3   { transition-delay: 0.3s; }
.reveal.delay-4   { transition-delay: 0.4s; }
.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

/* Hero text animation */
.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

/* Architectural grid lines */
.arch-line {
    position: absolute;
    background: rgba(30,30,28,0.06);
    pointer-events: none;
}

/* Plan drawing effect */
.plan-svg line, .plan-svg rect, .plan-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Nav link hover */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: #1e1e1c;
    transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Skill bar */
/*.skill-bar-fill {
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}*/

/* Image placeholder architectural */
.arch-img {
    background: linear-gradient(135deg, #f0ede6 0%, #e8e4db 40%, #ddd9cf 100%);
    position: relative;
    overflow: hidden;
}
.arch-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to right, rgba(178,177,168,0.08) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(178,177,168,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Timeline dot pulse */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.8); opacity: 0; }
}
.pulse-ring {
    animation: pulse-ring 2s ease-out infinite;
}

/* Award badge hover */
.award-item {
    transition: background 0.3s, padding-left 0.3s;
}
.award-item:hover {
    background: rgba(178,177,168,0.1);
    padding-left: 20px;
}

/*for project page*/

/* Filter tabs */
.filter-btn {
    position: relative;
    transition: color 0.3s;
}
.filter-btn::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: #1e1e1c;
    transition: width 0.35s ease;
}
.filter-btn.active { color: #1e1e1c; }
.filter-btn.active::after { width: 100%; }

/* Project card */
.project-card {
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover { transform: translateY(-4px); }

.project-card .card-img {
    overflow: hidden;
}
.project-card .card-img img,
.project-card .card-img .img-placeholder {
    transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.project-card:hover .card-img img,
.project-card:hover .card-img .img-placeholder {
    transform: scale(1.04);
}

/* Overlay on hover */
.card-overlay {
    position: absolute; inset: 0;
    background: rgba(30,30,28,0);
    transition: background 0.4s;
    display: flex; align-items: flex-end; padding: 20px;
}
.project-card:hover .card-overlay {
    background: rgba(30,30,28,0.18);
}
.card-overlay-link {
    opacity: 0; transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
    font-family: 'DM Mono', monospace;
    font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; color: #faf9f6;
}
.project-card:hover .card-overlay-link {
    opacity: 1; transform: translateY(0);
}

/* Placeholder image blocks */
.img-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ede9e1 0%, #e0dbd0 50%, #d4cfc4 100%);
    position: relative; overflow: hidden;
}
.img-placeholder::after {
    content: '';
    position: absolute; inset: 0;
    background:
            linear-gradient(to right, rgba(178,177,168,0.07) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(178,177,168,0.07) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Ongoing pulse dot */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.pulse-dot { animation: pulse 2s ease-in-out infinite; }



/* Count-up */
.count-num { font-variant-numeric: tabular-nums; }

/* Arch decorative lines */
.arch-bg-line {
    position: fixed; background: rgba(30,30,28,0.045);
    pointer-events: none; top: 0; bottom: 0; width: 1px;
}


/*Services*/


/* Decorative bg lines */
.arch-bg-line {
    position: fixed; background: rgba(30,30,28,0.045);
    pointer-events: none; top: 0; bottom: 0; width: 1px;
}

/* Service accordion card */
.service-card {
    border-top: 1px solid rgba(30,30,28,0.08);
    transition: background 0.4s;
    cursor: pointer;
}
.service-card:last-child { border-bottom: 1px solid rgba(30,30,28,0.08); }
.service-card:hover { background: rgba(178,177,168,0.06); }
.service-card.open { background: #f8f7f3; }

.service-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
    opacity: 0;
}
.service-card.open .service-body { max-height: 600px; opacity: 1; }

.service-arrow {
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    display: inline-block;
}
.service-card.open .service-arrow { transform: rotate(45deg); }

/* Process step line */
.process-line {
    position: absolute; left: 9px; top: 24px; bottom: -40px;
    width: 1px; background: rgba(30,30,28,0.1);
}
.process-step:last-child .process-line { display: none; }

/* SVG illustration placeholder */
.svc-illustration {
    background: linear-gradient(135deg, #ede8df 0%, #e2dbd0 50%, #d8d0c3 100%);
    position: relative; overflow: hidden;
}
.svc-illustration::after {
    content: '';
    position: absolute; inset: 0;
    background:
            linear-gradient(to right, rgba(178,177,168,0.07) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(178,177,168,0.07) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Step number hover */
.step-num {
    transition: background 0.3s, color 0.3s;
}
.process-step:hover .step-num {
    background: #1e1e1c; color: #faf9f6;
}

/* Package card hover */
.pkg-card {
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s;
    border: 1px solid rgba(30,30,28,0.08);
}
.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30,30,28,0.07);
}
.pkg-card.featured {
    background: #1e1e1c; color: #faf9f6;
    border-color: #1e1e1c;
}

/* Checklist */
.check-item::before {
    content: '–';
    color: #c4a882;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    margin-right: 10px;
}


.arch-bg-line {
    position: fixed; background: rgba(30,30,28,0.045);
    pointer-events: none; top: 0; bottom: 0; width: 1px;
}

/* Form inputs */
.form-field {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(30,30,28,0.15);
    padding: 14px 0;
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    color: #1e1e1c;
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}
.form-field::placeholder {
    color: rgba(30,30,28,0.3);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.form-field:focus {
    border-bottom-color: #c4a882;
}

.form-group { position: relative; }
.form-label {
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(30,30,28,0.35);
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s;
}
.form-group:focus-within .form-label { color: #c4a882; }

/* Focus line animation */
.form-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: #c4a882;
    transition: width 0.4s cubic-bezier(0.22,1,0.36,1);
}
.form-group:focus-within .form-line { width: 100%; }

/* Submit button */
.submit-btn {
    position: relative; overflow: hidden;
    border: 1px solid #1e1e1c;
    background: transparent;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1e1e1c;
    padding: 16px 48px;
    cursor: none;
    transition: color 0.4s;
}
.submit-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: #1e1e1c;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.submit-btn:hover::before { transform: translateX(0); }
.submit-btn:hover { color: #faf9f6; }
.submit-btn span { position: relative; z-index: 1; }

/* Contact info hover */
.contact-row {
    transition: padding-left 0.3s ease;
}
.contact-row:hover { padding-left: 8px; }

/* Map placeholder */
.map-placeholder {
    background: linear-gradient(135deg, #ede8df 0%, #e2dbd0 50%, #d8d0c3 100%);
    position: relative; overflow: hidden;
}
.map-placeholder::after {
    content: '';
    position: absolute; inset: 0;
    background:
            linear-gradient(to right, rgba(178,177,168,0.08) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(178,177,168,0.08) 1px, transparent 1px);
    background-size: 36px 36px;
}

/* Success message */
#successMsg {
    display: none;
    animation: fadeUp 0.6s ease forwards;
}

/* Office hours indicator */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.pulse-dot { animation: pulse 2.5s ease-in-out infinite; }

/* Hide custom cursor on touch/mobile devices */
@media (hover: none) and (pointer: coarse) {
    #cursor,
    #cursor-ring {
        display: none !important;
    }
}






